Autogenerated update (2019-03-30)
Update: - adexchangebuyer2_v2beta1 - cloudasset_v1 - cloudasset_v1beta1 - cloudscheduler_v1beta1 - cloudtasks_v2beta2 - cloudtasks_v2beta3 - composer_v1beta1 - container_v1beta1 - dataflow_v1b3 - dns_v1beta2 - serviceconsumermanagement_v1 - servicenetworking_v1 - servicenetworking_v1beta - serviceusage_v1 - serviceusage_v1beta1
This commit is contained in:
parent
c82f20e74d
commit
ca79486a04
|
@ -18194,9 +18194,12 @@
|
||||||
"/cloudscheduler:v1beta1/HttpTarget/headers": headers
|
"/cloudscheduler:v1beta1/HttpTarget/headers": headers
|
||||||
"/cloudscheduler:v1beta1/HttpTarget/headers/header": header
|
"/cloudscheduler:v1beta1/HttpTarget/headers/header": header
|
||||||
"/cloudscheduler:v1beta1/HttpTarget/httpMethod": http_method
|
"/cloudscheduler:v1beta1/HttpTarget/httpMethod": http_method
|
||||||
|
"/cloudscheduler:v1beta1/HttpTarget/oauthToken": oauth_token
|
||||||
|
"/cloudscheduler:v1beta1/HttpTarget/oidcToken": oidc_token
|
||||||
"/cloudscheduler:v1beta1/HttpTarget/uri": uri
|
"/cloudscheduler:v1beta1/HttpTarget/uri": uri
|
||||||
"/cloudscheduler:v1beta1/Job": job
|
"/cloudscheduler:v1beta1/Job": job
|
||||||
"/cloudscheduler:v1beta1/Job/appEngineHttpTarget": app_engine_http_target
|
"/cloudscheduler:v1beta1/Job/appEngineHttpTarget": app_engine_http_target
|
||||||
|
"/cloudscheduler:v1beta1/Job/attemptDeadline": attempt_deadline
|
||||||
"/cloudscheduler:v1beta1/Job/description": description
|
"/cloudscheduler:v1beta1/Job/description": description
|
||||||
"/cloudscheduler:v1beta1/Job/httpTarget": http_target
|
"/cloudscheduler:v1beta1/Job/httpTarget": http_target
|
||||||
"/cloudscheduler:v1beta1/Job/lastAttemptTime": last_attempt_time
|
"/cloudscheduler:v1beta1/Job/lastAttemptTime": last_attempt_time
|
||||||
|
@ -18225,6 +18228,12 @@
|
||||||
"/cloudscheduler:v1beta1/Location/metadata": metadata
|
"/cloudscheduler:v1beta1/Location/metadata": metadata
|
||||||
"/cloudscheduler:v1beta1/Location/metadata/metadatum": metadatum
|
"/cloudscheduler:v1beta1/Location/metadata/metadatum": metadatum
|
||||||
"/cloudscheduler:v1beta1/Location/name": name
|
"/cloudscheduler:v1beta1/Location/name": name
|
||||||
|
"/cloudscheduler:v1beta1/OAuthToken": o_auth_token
|
||||||
|
"/cloudscheduler:v1beta1/OAuthToken/scope": scope
|
||||||
|
"/cloudscheduler:v1beta1/OAuthToken/serviceAccountEmail": service_account_email
|
||||||
|
"/cloudscheduler:v1beta1/OidcToken": oidc_token
|
||||||
|
"/cloudscheduler:v1beta1/OidcToken/audience": audience
|
||||||
|
"/cloudscheduler:v1beta1/OidcToken/serviceAccountEmail": service_account_email
|
||||||
"/cloudscheduler:v1beta1/PauseJobRequest": pause_job_request
|
"/cloudscheduler:v1beta1/PauseJobRequest": pause_job_request
|
||||||
"/cloudscheduler:v1beta1/PubsubMessage": pubsub_message
|
"/cloudscheduler:v1beta1/PubsubMessage": pubsub_message
|
||||||
"/cloudscheduler:v1beta1/PubsubMessage/attributes": attributes
|
"/cloudscheduler:v1beta1/PubsubMessage/attributes": attributes
|
||||||
|
@ -40453,6 +40462,7 @@
|
||||||
"/container:v1beta1/ClusterUpdate/desiredClusterAutoscaling": desired_cluster_autoscaling
|
"/container:v1beta1/ClusterUpdate/desiredClusterAutoscaling": desired_cluster_autoscaling
|
||||||
"/container:v1beta1/ClusterUpdate/desiredDatabaseEncryption": desired_database_encryption
|
"/container:v1beta1/ClusterUpdate/desiredDatabaseEncryption": desired_database_encryption
|
||||||
"/container:v1beta1/ClusterUpdate/desiredImageType": desired_image_type
|
"/container:v1beta1/ClusterUpdate/desiredImageType": desired_image_type
|
||||||
|
"/container:v1beta1/ClusterUpdate/desiredIntraNodeVisibilityConfig": desired_intra_node_visibility_config
|
||||||
"/container:v1beta1/ClusterUpdate/desiredLocations": desired_locations
|
"/container:v1beta1/ClusterUpdate/desiredLocations": desired_locations
|
||||||
"/container:v1beta1/ClusterUpdate/desiredLocations/desired_location": desired_location
|
"/container:v1beta1/ClusterUpdate/desiredLocations/desired_location": desired_location
|
||||||
"/container:v1beta1/ClusterUpdate/desiredLoggingService": desired_logging_service
|
"/container:v1beta1/ClusterUpdate/desiredLoggingService": desired_logging_service
|
||||||
|
@ -40540,6 +40550,8 @@
|
||||||
"/container:v1beta1/IPAllocationPolicy/subnetworkName": subnetwork_name
|
"/container:v1beta1/IPAllocationPolicy/subnetworkName": subnetwork_name
|
||||||
"/container:v1beta1/IPAllocationPolicy/tpuIpv4CidrBlock": tpu_ipv4_cidr_block
|
"/container:v1beta1/IPAllocationPolicy/tpuIpv4CidrBlock": tpu_ipv4_cidr_block
|
||||||
"/container:v1beta1/IPAllocationPolicy/useIpAliases": use_ip_aliases
|
"/container:v1beta1/IPAllocationPolicy/useIpAliases": use_ip_aliases
|
||||||
|
"/container:v1beta1/IntraNodeVisibilityConfig": intra_node_visibility_config
|
||||||
|
"/container:v1beta1/IntraNodeVisibilityConfig/enabled": enabled
|
||||||
"/container:v1beta1/IstioConfig": istio_config
|
"/container:v1beta1/IstioConfig": istio_config
|
||||||
"/container:v1beta1/IstioConfig/auth": auth
|
"/container:v1beta1/IstioConfig/auth": auth
|
||||||
"/container:v1beta1/IstioConfig/disabled": disabled
|
"/container:v1beta1/IstioConfig/disabled": disabled
|
||||||
|
@ -40605,6 +40617,7 @@
|
||||||
"/container:v1beta1/Metric/name": name
|
"/container:v1beta1/Metric/name": name
|
||||||
"/container:v1beta1/Metric/stringValue": string_value
|
"/container:v1beta1/Metric/stringValue": string_value
|
||||||
"/container:v1beta1/NetworkConfig": network_config
|
"/container:v1beta1/NetworkConfig": network_config
|
||||||
|
"/container:v1beta1/NetworkConfig/enableIntraNodeVisibility": enable_intra_node_visibility
|
||||||
"/container:v1beta1/NetworkConfig/network": network
|
"/container:v1beta1/NetworkConfig/network": network
|
||||||
"/container:v1beta1/NetworkConfig/subnetwork": subnetwork
|
"/container:v1beta1/NetworkConfig/subnetwork": subnetwork
|
||||||
"/container:v1beta1/NetworkPolicy": network_policy
|
"/container:v1beta1/NetworkPolicy": network_policy
|
||||||
|
@ -46616,6 +46629,7 @@
|
||||||
"/dataflow:v1b3/Environment/sdkPipelineOptions": sdk_pipeline_options
|
"/dataflow:v1b3/Environment/sdkPipelineOptions": sdk_pipeline_options
|
||||||
"/dataflow:v1b3/Environment/sdkPipelineOptions/sdk_pipeline_option": sdk_pipeline_option
|
"/dataflow:v1b3/Environment/sdkPipelineOptions/sdk_pipeline_option": sdk_pipeline_option
|
||||||
"/dataflow:v1b3/Environment/serviceAccountEmail": service_account_email
|
"/dataflow:v1b3/Environment/serviceAccountEmail": service_account_email
|
||||||
|
"/dataflow:v1b3/Environment/serviceKmsKeyName": service_kms_key_name
|
||||||
"/dataflow:v1b3/Environment/tempStoragePrefix": temp_storage_prefix
|
"/dataflow:v1b3/Environment/tempStoragePrefix": temp_storage_prefix
|
||||||
"/dataflow:v1b3/Environment/userAgent": user_agent
|
"/dataflow:v1b3/Environment/userAgent": user_agent
|
||||||
"/dataflow:v1b3/Environment/userAgent/user_agent": user_agent
|
"/dataflow:v1b3/Environment/userAgent/user_agent": user_agent
|
||||||
|
@ -71132,6 +71146,7 @@
|
||||||
"/dns:v1beta2/ManagedZone/nameServerSet": name_server_set
|
"/dns:v1beta2/ManagedZone/nameServerSet": name_server_set
|
||||||
"/dns:v1beta2/ManagedZone/nameServers": name_servers
|
"/dns:v1beta2/ManagedZone/nameServers": name_servers
|
||||||
"/dns:v1beta2/ManagedZone/nameServers/name_server": name_server
|
"/dns:v1beta2/ManagedZone/nameServers/name_server": name_server
|
||||||
|
"/dns:v1beta2/ManagedZone/peeringConfig": peering_config
|
||||||
"/dns:v1beta2/ManagedZone/privateVisibilityConfig": private_visibility_config
|
"/dns:v1beta2/ManagedZone/privateVisibilityConfig": private_visibility_config
|
||||||
"/dns:v1beta2/ManagedZone/visibility": visibility
|
"/dns:v1beta2/ManagedZone/visibility": visibility
|
||||||
"/dns:v1beta2/ManagedZoneDnsSecConfig": managed_zone_dns_sec_config
|
"/dns:v1beta2/ManagedZoneDnsSecConfig": managed_zone_dns_sec_config
|
||||||
|
@ -71153,6 +71168,13 @@
|
||||||
"/dns:v1beta2/ManagedZoneOperationsListResponse/nextPageToken": next_page_token
|
"/dns:v1beta2/ManagedZoneOperationsListResponse/nextPageToken": next_page_token
|
||||||
"/dns:v1beta2/ManagedZoneOperationsListResponse/operations": operations
|
"/dns:v1beta2/ManagedZoneOperationsListResponse/operations": operations
|
||||||
"/dns:v1beta2/ManagedZoneOperationsListResponse/operations/operation": operation
|
"/dns:v1beta2/ManagedZoneOperationsListResponse/operations/operation": operation
|
||||||
|
"/dns:v1beta2/ManagedZonePeeringConfig": managed_zone_peering_config
|
||||||
|
"/dns:v1beta2/ManagedZonePeeringConfig/kind": kind
|
||||||
|
"/dns:v1beta2/ManagedZonePeeringConfig/targetNetwork": target_network
|
||||||
|
"/dns:v1beta2/ManagedZonePeeringConfigTargetNetwork": managed_zone_peering_config_target_network
|
||||||
|
"/dns:v1beta2/ManagedZonePeeringConfigTargetNetwork/deactivateTime": deactivate_time
|
||||||
|
"/dns:v1beta2/ManagedZonePeeringConfigTargetNetwork/kind": kind
|
||||||
|
"/dns:v1beta2/ManagedZonePeeringConfigTargetNetwork/networkUrl": network_url
|
||||||
"/dns:v1beta2/ManagedZonePrivateVisibilityConfig": managed_zone_private_visibility_config
|
"/dns:v1beta2/ManagedZonePrivateVisibilityConfig": managed_zone_private_visibility_config
|
||||||
"/dns:v1beta2/ManagedZonePrivateVisibilityConfig/kind": kind
|
"/dns:v1beta2/ManagedZonePrivateVisibilityConfig/kind": kind
|
||||||
"/dns:v1beta2/ManagedZonePrivateVisibilityConfig/networks": networks
|
"/dns:v1beta2/ManagedZonePrivateVisibilityConfig/networks": networks
|
||||||
|
@ -71199,6 +71221,7 @@
|
||||||
"/dns:v1beta2/Policy/alternativeNameServerConfig": alternative_name_server_config
|
"/dns:v1beta2/Policy/alternativeNameServerConfig": alternative_name_server_config
|
||||||
"/dns:v1beta2/Policy/description": description
|
"/dns:v1beta2/Policy/description": description
|
||||||
"/dns:v1beta2/Policy/enableInboundForwarding": enable_inbound_forwarding
|
"/dns:v1beta2/Policy/enableInboundForwarding": enable_inbound_forwarding
|
||||||
|
"/dns:v1beta2/Policy/enableLogging": enable_logging
|
||||||
"/dns:v1beta2/Policy/id": id
|
"/dns:v1beta2/Policy/id": id
|
||||||
"/dns:v1beta2/Policy/kind": kind
|
"/dns:v1beta2/Policy/kind": kind
|
||||||
"/dns:v1beta2/Policy/name": name
|
"/dns:v1beta2/Policy/name": name
|
||||||
|
@ -92156,6 +92179,8 @@
|
||||||
"/serviceconsumermanagement:v1/CustomHttpPattern": custom_http_pattern
|
"/serviceconsumermanagement:v1/CustomHttpPattern": custom_http_pattern
|
||||||
"/serviceconsumermanagement:v1/CustomHttpPattern/kind": kind
|
"/serviceconsumermanagement:v1/CustomHttpPattern/kind": kind
|
||||||
"/serviceconsumermanagement:v1/CustomHttpPattern/path": path
|
"/serviceconsumermanagement:v1/CustomHttpPattern/path": path
|
||||||
|
"/serviceconsumermanagement:v1/DeleteTenantProjectRequest": delete_tenant_project_request
|
||||||
|
"/serviceconsumermanagement:v1/DeleteTenantProjectRequest/tag": tag
|
||||||
"/serviceconsumermanagement:v1/Documentation": documentation
|
"/serviceconsumermanagement:v1/Documentation": documentation
|
||||||
"/serviceconsumermanagement:v1/Documentation/documentationRootUrl": documentation_root_url
|
"/serviceconsumermanagement:v1/Documentation/documentationRootUrl": documentation_root_url
|
||||||
"/serviceconsumermanagement:v1/Documentation/overview": overview
|
"/serviceconsumermanagement:v1/Documentation/overview": overview
|
||||||
|
@ -92461,6 +92486,8 @@
|
||||||
"/serviceconsumermanagement:v1/Type/options/option": option
|
"/serviceconsumermanagement:v1/Type/options/option": option
|
||||||
"/serviceconsumermanagement:v1/Type/sourceContext": source_context
|
"/serviceconsumermanagement:v1/Type/sourceContext": source_context
|
||||||
"/serviceconsumermanagement:v1/Type/syntax": syntax
|
"/serviceconsumermanagement:v1/Type/syntax": syntax
|
||||||
|
"/serviceconsumermanagement:v1/UndeleteTenantProjectRequest": undelete_tenant_project_request
|
||||||
|
"/serviceconsumermanagement:v1/UndeleteTenantProjectRequest/tag": tag
|
||||||
"/serviceconsumermanagement:v1/Usage": usage
|
"/serviceconsumermanagement:v1/Usage": usage
|
||||||
"/serviceconsumermanagement:v1/Usage/producerNotificationChannel": producer_notification_channel
|
"/serviceconsumermanagement:v1/Usage/producerNotificationChannel": producer_notification_channel
|
||||||
"/serviceconsumermanagement:v1/Usage/requirements": requirements
|
"/serviceconsumermanagement:v1/Usage/requirements": requirements
|
||||||
|
@ -92506,6 +92533,8 @@
|
||||||
"/serviceconsumermanagement:v1/serviceconsumermanagement.services.tenancyUnits.create/parent": parent
|
"/serviceconsumermanagement:v1/serviceconsumermanagement.services.tenancyUnits.create/parent": parent
|
||||||
"/serviceconsumermanagement:v1/serviceconsumermanagement.services.tenancyUnits.delete": delete_service_tenancy_unit
|
"/serviceconsumermanagement:v1/serviceconsumermanagement.services.tenancyUnits.delete": delete_service_tenancy_unit
|
||||||
"/serviceconsumermanagement:v1/serviceconsumermanagement.services.tenancyUnits.delete/name": name
|
"/serviceconsumermanagement:v1/serviceconsumermanagement.services.tenancyUnits.delete/name": name
|
||||||
|
"/serviceconsumermanagement:v1/serviceconsumermanagement.services.tenancyUnits.deleteProject": delete_service_tenancy_unit_project
|
||||||
|
"/serviceconsumermanagement:v1/serviceconsumermanagement.services.tenancyUnits.deleteProject/name": name
|
||||||
"/serviceconsumermanagement:v1/serviceconsumermanagement.services.tenancyUnits.list": list_service_tenancy_units
|
"/serviceconsumermanagement:v1/serviceconsumermanagement.services.tenancyUnits.list": list_service_tenancy_units
|
||||||
"/serviceconsumermanagement:v1/serviceconsumermanagement.services.tenancyUnits.list/filter": filter
|
"/serviceconsumermanagement:v1/serviceconsumermanagement.services.tenancyUnits.list/filter": filter
|
||||||
"/serviceconsumermanagement:v1/serviceconsumermanagement.services.tenancyUnits.list/pageSize": page_size
|
"/serviceconsumermanagement:v1/serviceconsumermanagement.services.tenancyUnits.list/pageSize": page_size
|
||||||
|
@ -92513,6 +92542,8 @@
|
||||||
"/serviceconsumermanagement:v1/serviceconsumermanagement.services.tenancyUnits.list/parent": parent
|
"/serviceconsumermanagement:v1/serviceconsumermanagement.services.tenancyUnits.list/parent": parent
|
||||||
"/serviceconsumermanagement:v1/serviceconsumermanagement.services.tenancyUnits.removeProject": remove_service_tenancy_unit_project
|
"/serviceconsumermanagement:v1/serviceconsumermanagement.services.tenancyUnits.removeProject": remove_service_tenancy_unit_project
|
||||||
"/serviceconsumermanagement:v1/serviceconsumermanagement.services.tenancyUnits.removeProject/name": name
|
"/serviceconsumermanagement:v1/serviceconsumermanagement.services.tenancyUnits.removeProject/name": name
|
||||||
|
"/serviceconsumermanagement:v1/serviceconsumermanagement.services.tenancyUnits.undeleteProject": undelete_service_tenancy_unit_project
|
||||||
|
"/serviceconsumermanagement:v1/serviceconsumermanagement.services.tenancyUnits.undeleteProject/name": name
|
||||||
"/servicecontrol:v1/AllocateInfo": allocate_info
|
"/servicecontrol:v1/AllocateInfo": allocate_info
|
||||||
"/servicecontrol:v1/AllocateInfo/unusedArguments": unused_arguments
|
"/servicecontrol:v1/AllocateInfo/unusedArguments": unused_arguments
|
||||||
"/servicecontrol:v1/AllocateInfo/unusedArguments/unused_argument": unused_argument
|
"/servicecontrol:v1/AllocateInfo/unusedArguments/unused_argument": unused_argument
|
||||||
|
|
|
@ -27,7 +27,7 @@ module Google
|
||||||
# @see https://developers.google.com/authorized-buyers/apis/reference/rest/
|
# @see https://developers.google.com/authorized-buyers/apis/reference/rest/
|
||||||
module Adexchangebuyer2V2beta1
|
module Adexchangebuyer2V2beta1
|
||||||
VERSION = 'V2beta1'
|
VERSION = 'V2beta1'
|
||||||
REVISION = '20190315'
|
REVISION = '20190328'
|
||||||
|
|
||||||
# Manage your Ad Exchange buyer account configuration
|
# Manage your Ad Exchange buyer account configuration
|
||||||
AUTH_ADEXCHANGE_BUYER = 'https://www.googleapis.com/auth/adexchange.buyer'
|
AUTH_ADEXCHANGE_BUYER = 'https://www.googleapis.com/auth/adexchange.buyer'
|
||||||
|
|
|
@ -621,7 +621,6 @@ module Google
|
||||||
end
|
end
|
||||||
|
|
||||||
# A creative and its classification data.
|
# A creative and its classification data.
|
||||||
# Next ID: 42
|
|
||||||
class Creative
|
class Creative
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
|
|
@ -22,10 +22,10 @@ module Google
|
||||||
#
|
#
|
||||||
# The cloud asset API manages the history and inventory of cloud resources.
|
# The cloud asset API manages the history and inventory of cloud resources.
|
||||||
#
|
#
|
||||||
# @see https://console.cloud.google.com/apis/api/cloudasset.googleapis.com/overview
|
# @see https://cloud.google.com/resource-manager/docs/cloud-asset-inventory/quickstart-cloud-asset-inventory
|
||||||
module CloudassetV1
|
module CloudassetV1
|
||||||
VERSION = 'V1'
|
VERSION = 'V1'
|
||||||
REVISION = '20190321'
|
REVISION = '20190327'
|
||||||
|
|
||||||
# View and manage your data across Google Cloud Platform services
|
# View and manage your data across Google Cloud Platform services
|
||||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||||
|
|
|
@ -30,7 +30,7 @@ module Google
|
||||||
# Cloudasset = Google::Apis::CloudassetV1 # Alias the module
|
# Cloudasset = Google::Apis::CloudassetV1 # Alias the module
|
||||||
# service = Cloudasset::CloudAssetService.new
|
# service = Cloudasset::CloudAssetService.new
|
||||||
#
|
#
|
||||||
# @see https://console.cloud.google.com/apis/api/cloudasset.googleapis.com/overview
|
# @see https://cloud.google.com/resource-manager/docs/cloud-asset-inventory/quickstart-cloud-asset-inventory
|
||||||
class CloudAssetService < Google::Apis::Core::BaseService
|
class CloudAssetService < Google::Apis::Core::BaseService
|
||||||
# @return [String]
|
# @return [String]
|
||||||
# API key. Your API key identifies your project and provides you with API access,
|
# API key. Your API key identifies your project and provides you with API access,
|
||||||
|
|
|
@ -22,10 +22,10 @@ module Google
|
||||||
#
|
#
|
||||||
# The cloud asset API manages the history and inventory of cloud resources.
|
# The cloud asset API manages the history and inventory of cloud resources.
|
||||||
#
|
#
|
||||||
# @see https://console.cloud.google.com/apis/api/cloudasset.googleapis.com/overview
|
# @see https://cloud.google.com/resource-manager/docs/cloud-asset-inventory/quickstart-cloud-asset-inventory
|
||||||
module CloudassetV1beta1
|
module CloudassetV1beta1
|
||||||
VERSION = 'V1beta1'
|
VERSION = 'V1beta1'
|
||||||
REVISION = '20190321'
|
REVISION = '20190327'
|
||||||
|
|
||||||
# View and manage your data across Google Cloud Platform services
|
# View and manage your data across Google Cloud Platform services
|
||||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||||
|
|
|
@ -30,7 +30,7 @@ module Google
|
||||||
# Cloudasset = Google::Apis::CloudassetV1beta1 # Alias the module
|
# Cloudasset = Google::Apis::CloudassetV1beta1 # Alias the module
|
||||||
# service = Cloudasset::CloudAssetService.new
|
# service = Cloudasset::CloudAssetService.new
|
||||||
#
|
#
|
||||||
# @see https://console.cloud.google.com/apis/api/cloudasset.googleapis.com/overview
|
# @see https://cloud.google.com/resource-manager/docs/cloud-asset-inventory/quickstart-cloud-asset-inventory
|
||||||
class CloudAssetService < Google::Apis::Core::BaseService
|
class CloudAssetService < Google::Apis::Core::BaseService
|
||||||
# @return [String]
|
# @return [String]
|
||||||
# API key. Your API key identifies your project and provides you with API access,
|
# API key. Your API key identifies your project and provides you with API access,
|
||||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
||||||
# @see https://cloud.google.com/scheduler/
|
# @see https://cloud.google.com/scheduler/
|
||||||
module CloudschedulerV1beta1
|
module CloudschedulerV1beta1
|
||||||
VERSION = 'V1beta1'
|
VERSION = 'V1beta1'
|
||||||
REVISION = '20190315'
|
REVISION = '20190326'
|
||||||
|
|
||||||
# View and manage your data across Google Cloud Platform services
|
# View and manage your data across Google Cloud Platform services
|
||||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||||
|
|
|
@ -285,6 +285,23 @@ module Google
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :http_method
|
attr_accessor :http_method
|
||||||
|
|
||||||
|
# Contains information needed for generating an
|
||||||
|
# [OAuth token](https://developers.google.com/identity/protocols/OAuth2).
|
||||||
|
# This type of authorization should be used when sending requests to a GCP
|
||||||
|
# endpoint.
|
||||||
|
# Corresponds to the JSON property `oauthToken`
|
||||||
|
# @return [Google::Apis::CloudschedulerV1beta1::OAuthToken]
|
||||||
|
attr_accessor :oauth_token
|
||||||
|
|
||||||
|
# Contains information needed for generating an
|
||||||
|
# [OpenID Connect
|
||||||
|
# token](https://developers.google.com/identity/protocols/OpenIDConnect). This
|
||||||
|
# type of authorization should be used when sending requests to third party
|
||||||
|
# endpoints.
|
||||||
|
# Corresponds to the JSON property `oidcToken`
|
||||||
|
# @return [Google::Apis::CloudschedulerV1beta1::OidcToken]
|
||||||
|
attr_accessor :oidc_token
|
||||||
|
|
||||||
# Required.
|
# Required.
|
||||||
# The full URI path that the request will be sent to. This string
|
# The full URI path that the request will be sent to. This string
|
||||||
# must begin with either "http://" or "https://". Some examples of
|
# must begin with either "http://" or "https://". Some examples of
|
||||||
|
@ -305,6 +322,8 @@ module Google
|
||||||
@body = args[:body] if args.key?(:body)
|
@body = args[:body] if args.key?(:body)
|
||||||
@headers = args[:headers] if args.key?(:headers)
|
@headers = args[:headers] if args.key?(:headers)
|
||||||
@http_method = args[:http_method] if args.key?(:http_method)
|
@http_method = args[:http_method] if args.key?(:http_method)
|
||||||
|
@oauth_token = args[:oauth_token] if args.key?(:oauth_token)
|
||||||
|
@oidc_token = args[:oidc_token] if args.key?(:oidc_token)
|
||||||
@uri = args[:uri] if args.key?(:uri)
|
@uri = args[:uri] if args.key?(:uri)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
@ -327,6 +346,20 @@ module Google
|
||||||
# @return [Google::Apis::CloudschedulerV1beta1::AppEngineHttpTarget]
|
# @return [Google::Apis::CloudschedulerV1beta1::AppEngineHttpTarget]
|
||||||
attr_accessor :app_engine_http_target
|
attr_accessor :app_engine_http_target
|
||||||
|
|
||||||
|
# The deadline for job attempts. If the request handler does not respond by
|
||||||
|
# this deadline then the request is cancelled and the attempt is marked as a
|
||||||
|
# `DEADLINE_EXCEEDED` failure. The failed attempt can be viewed in
|
||||||
|
# execution logs. Cloud Scheduler will retry the job according
|
||||||
|
# to the RetryConfig.
|
||||||
|
# The allowed duration for this deadline is:
|
||||||
|
# * For HTTP targets, between 15 seconds and 30 minutes.
|
||||||
|
# * For App Engine HTTP targets, between 15
|
||||||
|
# seconds and 24 hours.
|
||||||
|
# * For PubSub targets, this field is ignored.
|
||||||
|
# Corresponds to the JSON property `attemptDeadline`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :attempt_deadline
|
||||||
|
|
||||||
# Optionally caller-specified in CreateJob or
|
# Optionally caller-specified in CreateJob or
|
||||||
# UpdateJob.
|
# UpdateJob.
|
||||||
# A human-readable description for the job. This string must not contain
|
# A human-readable description for the job. This string must not contain
|
||||||
|
@ -486,6 +519,7 @@ module Google
|
||||||
# Update properties of this object
|
# Update properties of this object
|
||||||
def update!(**args)
|
def update!(**args)
|
||||||
@app_engine_http_target = args[:app_engine_http_target] if args.key?(:app_engine_http_target)
|
@app_engine_http_target = args[:app_engine_http_target] if args.key?(:app_engine_http_target)
|
||||||
|
@attempt_deadline = args[:attempt_deadline] if args.key?(:attempt_deadline)
|
||||||
@description = args[:description] if args.key?(:description)
|
@description = args[:description] if args.key?(:description)
|
||||||
@http_target = args[:http_target] if args.key?(:http_target)
|
@http_target = args[:http_target] if args.key?(:http_target)
|
||||||
@last_attempt_time = args[:last_attempt_time] if args.key?(:last_attempt_time)
|
@last_attempt_time = args[:last_attempt_time] if args.key?(:last_attempt_time)
|
||||||
|
@ -603,6 +637,72 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# Contains information needed for generating an
|
||||||
|
# [OAuth token](https://developers.google.com/identity/protocols/OAuth2).
|
||||||
|
# This type of authorization should be used when sending requests to a GCP
|
||||||
|
# endpoint.
|
||||||
|
class OAuthToken
|
||||||
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
# OAuth scope to be used for generating OAuth access token.
|
||||||
|
# If not specified, "https://www.googleapis.com/auth/cloud-platform"
|
||||||
|
# will be used.
|
||||||
|
# Corresponds to the JSON property `scope`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :scope
|
||||||
|
|
||||||
|
# [Service account email](https://cloud.google.com/iam/docs/service-accounts)
|
||||||
|
# to be used for generating OAuth token.
|
||||||
|
# The service account must be within the same project as the job. The caller
|
||||||
|
# must have iam.serviceAccounts.actAs permission for the service account.
|
||||||
|
# Corresponds to the JSON property `serviceAccountEmail`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :service_account_email
|
||||||
|
|
||||||
|
def initialize(**args)
|
||||||
|
update!(**args)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Update properties of this object
|
||||||
|
def update!(**args)
|
||||||
|
@scope = args[:scope] if args.key?(:scope)
|
||||||
|
@service_account_email = args[:service_account_email] if args.key?(:service_account_email)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
# Contains information needed for generating an
|
||||||
|
# [OpenID Connect
|
||||||
|
# token](https://developers.google.com/identity/protocols/OpenIDConnect). This
|
||||||
|
# type of authorization should be used when sending requests to third party
|
||||||
|
# endpoints.
|
||||||
|
class OidcToken
|
||||||
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
# Audience to be used when generating OIDC token. If not specified, the URI
|
||||||
|
# specified in target will be used.
|
||||||
|
# Corresponds to the JSON property `audience`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :audience
|
||||||
|
|
||||||
|
# [Service account email](https://cloud.google.com/iam/docs/service-accounts)
|
||||||
|
# to be used for generating OIDC token.
|
||||||
|
# The service account must be within the same project as the job. The caller
|
||||||
|
# must have iam.serviceAccounts.actAs permission for the service account.
|
||||||
|
# Corresponds to the JSON property `serviceAccountEmail`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :service_account_email
|
||||||
|
|
||||||
|
def initialize(**args)
|
||||||
|
update!(**args)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Update properties of this object
|
||||||
|
def update!(**args)
|
||||||
|
@audience = args[:audience] if args.key?(:audience)
|
||||||
|
@service_account_email = args[:service_account_email] if args.key?(:service_account_email)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
# Request message for PauseJob.
|
# Request message for PauseJob.
|
||||||
class PauseJobRequest
|
class PauseJobRequest
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
|
@ -70,6 +70,18 @@ module Google
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class OAuthToken
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
|
class OidcToken
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
class PauseJobRequest
|
class PauseJobRequest
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
@ -146,6 +158,10 @@ module Google
|
||||||
property :body, :base64 => true, as: 'body'
|
property :body, :base64 => true, as: 'body'
|
||||||
hash :headers, as: 'headers'
|
hash :headers, as: 'headers'
|
||||||
property :http_method, as: 'httpMethod'
|
property :http_method, as: 'httpMethod'
|
||||||
|
property :oauth_token, as: 'oauthToken', class: Google::Apis::CloudschedulerV1beta1::OAuthToken, decorator: Google::Apis::CloudschedulerV1beta1::OAuthToken::Representation
|
||||||
|
|
||||||
|
property :oidc_token, as: 'oidcToken', class: Google::Apis::CloudschedulerV1beta1::OidcToken, decorator: Google::Apis::CloudschedulerV1beta1::OidcToken::Representation
|
||||||
|
|
||||||
property :uri, as: 'uri'
|
property :uri, as: 'uri'
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
@ -155,6 +171,7 @@ module Google
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
property :app_engine_http_target, as: 'appEngineHttpTarget', class: Google::Apis::CloudschedulerV1beta1::AppEngineHttpTarget, decorator: Google::Apis::CloudschedulerV1beta1::AppEngineHttpTarget::Representation
|
property :app_engine_http_target, as: 'appEngineHttpTarget', class: Google::Apis::CloudschedulerV1beta1::AppEngineHttpTarget, decorator: Google::Apis::CloudschedulerV1beta1::AppEngineHttpTarget::Representation
|
||||||
|
|
||||||
|
property :attempt_deadline, as: 'attemptDeadline'
|
||||||
property :description, as: 'description'
|
property :description, as: 'description'
|
||||||
property :http_target, as: 'httpTarget', class: Google::Apis::CloudschedulerV1beta1::HttpTarget, decorator: Google::Apis::CloudschedulerV1beta1::HttpTarget::Representation
|
property :http_target, as: 'httpTarget', class: Google::Apis::CloudschedulerV1beta1::HttpTarget, decorator: Google::Apis::CloudschedulerV1beta1::HttpTarget::Representation
|
||||||
|
|
||||||
|
@ -203,6 +220,22 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class OAuthToken
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :scope, as: 'scope'
|
||||||
|
property :service_account_email, as: 'serviceAccountEmail'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
class OidcToken
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :audience, as: 'audience'
|
||||||
|
property :service_account_email, as: 'serviceAccountEmail'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
class PauseJobRequest
|
class PauseJobRequest
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
||||||
# @see https://cloud.google.com/tasks/
|
# @see https://cloud.google.com/tasks/
|
||||||
module CloudtasksV2beta2
|
module CloudtasksV2beta2
|
||||||
VERSION = 'V2beta2'
|
VERSION = 'V2beta2'
|
||||||
REVISION = '20190314'
|
REVISION = '20190326'
|
||||||
|
|
||||||
# View and manage your data across Google Cloud Platform services
|
# View and manage your data across Google Cloud Platform services
|
||||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
||||||
# @see https://cloud.google.com/tasks/
|
# @see https://cloud.google.com/tasks/
|
||||||
module CloudtasksV2beta3
|
module CloudtasksV2beta3
|
||||||
VERSION = 'V2beta3'
|
VERSION = 'V2beta3'
|
||||||
REVISION = '20190314'
|
REVISION = '20190326'
|
||||||
|
|
||||||
# View and manage your data across Google Cloud Platform services
|
# View and manage your data across Google Cloud Platform services
|
||||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
||||||
# @see https://cloud.google.com/composer/
|
# @see https://cloud.google.com/composer/
|
||||||
module ComposerV1beta1
|
module ComposerV1beta1
|
||||||
VERSION = 'V1beta1'
|
VERSION = 'V1beta1'
|
||||||
REVISION = '20190311'
|
REVISION = '20190323'
|
||||||
|
|
||||||
# View and manage your data across Google Cloud Platform services
|
# View and manage your data across Google Cloud Platform services
|
||||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||||
|
|
|
@ -146,7 +146,8 @@ module Google
|
||||||
# @return [Fixnum]
|
# @return [Fixnum]
|
||||||
attr_accessor :node_count
|
attr_accessor :node_count
|
||||||
|
|
||||||
# The configuration information for configuring a private Composer environment.
|
# The configuration information for configuring a Private IP Cloud Composer
|
||||||
|
# environment.
|
||||||
# Corresponds to the JSON property `privateEnvironmentConfig`
|
# Corresponds to the JSON property `privateEnvironmentConfig`
|
||||||
# @return [Google::Apis::ComposerV1beta1::PrivateEnvironmentConfig]
|
# @return [Google::Apis::ComposerV1beta1::PrivateEnvironmentConfig]
|
||||||
attr_accessor :private_environment_config
|
attr_accessor :private_environment_config
|
||||||
|
@ -197,6 +198,7 @@ module Google
|
||||||
# Optional. The name of the cluster's secondary range used to allocate
|
# Optional. The name of the cluster's secondary range used to allocate
|
||||||
# IP addresses to pods. Specify either `cluster_secondary_range_name`
|
# IP addresses to pods. Specify either `cluster_secondary_range_name`
|
||||||
# or `cluster_ipv4_cidr_block` but not both.
|
# or `cluster_ipv4_cidr_block` but not both.
|
||||||
|
# This field is applicable only when `use_ip_aliases` is true.
|
||||||
# Corresponds to the JSON property `clusterSecondaryRangeName`
|
# Corresponds to the JSON property `clusterSecondaryRangeName`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :cluster_secondary_range_name
|
attr_accessor :cluster_secondary_range_name
|
||||||
|
@ -221,12 +223,13 @@ module Google
|
||||||
# Optional. The name of the services' secondary range used to allocate
|
# Optional. The name of the services' secondary range used to allocate
|
||||||
# IP addresses to the cluster. Specify either `services_secondary_range_name`
|
# IP addresses to the cluster. Specify either `services_secondary_range_name`
|
||||||
# or `services_ipv4_cidr_block` but not both.
|
# or `services_ipv4_cidr_block` but not both.
|
||||||
|
# This field is applicable only when `use_ip_aliases` is true.
|
||||||
# Corresponds to the JSON property `servicesSecondaryRangeName`
|
# Corresponds to the JSON property `servicesSecondaryRangeName`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :services_secondary_range_name
|
attr_accessor :services_secondary_range_name
|
||||||
|
|
||||||
# Optional. Whether or not to enable Alias IPs in the GKE cluster.
|
# Optional. Whether or not to enable Alias IPs in the GKE cluster.
|
||||||
# If true or if left blank, a VPC-native cluster is created.
|
# If `true`, a VPC-native cluster is created.
|
||||||
# Corresponds to the JSON property `useIpAliases`
|
# Corresponds to the JSON property `useIpAliases`
|
||||||
# @return [Boolean]
|
# @return [Boolean]
|
||||||
attr_accessor :use_ip_aliases
|
attr_accessor :use_ip_aliases
|
||||||
|
@ -422,9 +425,8 @@ module Google
|
||||||
attr_accessor :network
|
attr_accessor :network
|
||||||
|
|
||||||
# Optional. The set of Google API scopes to be made available on all
|
# Optional. The set of Google API scopes to be made available on all
|
||||||
# node VMs. Defaults to
|
# node VMs. If `oauth_scopes` is empty, defaults to
|
||||||
# ["https://www.googleapis.com/auth/cloud-platform"] and must be included in
|
# ["https://www.googleapis.com/auth/cloud-platform"]. Cannot be updated.
|
||||||
# the list of specified scopes. Cannot be updated.
|
|
||||||
# Corresponds to the JSON property `oauthScopes`
|
# Corresponds to the JSON property `oauthScopes`
|
||||||
# @return [Array<String>]
|
# @return [Array<String>]
|
||||||
attr_accessor :oauth_scopes
|
attr_accessor :oauth_scopes
|
||||||
|
@ -442,10 +444,8 @@ module Google
|
||||||
# For example:
|
# For example:
|
||||||
# "projects/`projectId`/regions/`regionId`/subnetworks/`subnetworkId`"
|
# "projects/`projectId`/regions/`regionId`/subnetworks/`subnetworkId`"
|
||||||
# If a subnetwork is provided, `nodeConfig.network` must also be provided,
|
# If a subnetwork is provided, `nodeConfig.network` must also be provided,
|
||||||
# and the subnetwork must belong to the same project as the network.
|
# and the subnetwork must belong to the enclosing environment's project and
|
||||||
# For Shared VPC, you must configure the subnetwork with secondary ranges
|
# location.
|
||||||
# named <strong>composer-pods</strong> and
|
|
||||||
# <strong>composer-services</strong> to support Alias IPs.
|
|
||||||
# Corresponds to the JSON property `subnetwork`
|
# Corresponds to the JSON property `subnetwork`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :subnetwork
|
attr_accessor :subnetwork
|
||||||
|
@ -630,24 +630,24 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
# Configuration options for private cluster of Composer environment.
|
# Configuration options for the private GKE cluster in a Cloud Composer
|
||||||
|
# environment.
|
||||||
class PrivateClusterConfig
|
class PrivateClusterConfig
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
# Optional. If true, access to public endpoint of gke cluster will be denied.
|
# Optional. If `true`, access to the public endpoint of the GKE cluster is
|
||||||
# `IPAllocationPolicy.use_ip_aliases` must be true if this field is
|
# denied.
|
||||||
# set to true. Default value is false.
|
|
||||||
# Corresponds to the JSON property `enablePrivateEndpoint`
|
# Corresponds to the JSON property `enablePrivateEndpoint`
|
||||||
# @return [Boolean]
|
# @return [Boolean]
|
||||||
attr_accessor :enable_private_endpoint
|
attr_accessor :enable_private_endpoint
|
||||||
alias_method :enable_private_endpoint?, :enable_private_endpoint
|
alias_method :enable_private_endpoint?, :enable_private_endpoint
|
||||||
|
|
||||||
# The IP range in CIDR notation to use for the hosted master network. This
|
# The IP range in CIDR notation to use for the hosted master network. This
|
||||||
# range will be used for assigning internal IP addresses to the cluster
|
# range is used for assigning internal IP addresses to the cluster
|
||||||
# master or set of masters, as well as the ILB VIP (Internal Load Balance
|
# master or set of masters and to the internal load balancer virtual IP.
|
||||||
# Virtual IP).This range must not overlap with any other ranges in use
|
# This range must not overlap with any other ranges in use
|
||||||
# within the cluster's network. If left blank, default value of
|
# within the cluster's network. If left blank, the default value of
|
||||||
# '172.16.0.0/28' will be used.
|
# '172.16.0.0/28' is used.
|
||||||
# Corresponds to the JSON property `masterIpv4CidrBlock`
|
# Corresponds to the JSON property `masterIpv4CidrBlock`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :master_ipv4_cidr_block
|
attr_accessor :master_ipv4_cidr_block
|
||||||
|
@ -663,17 +663,20 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
# The configuration information for configuring a private Composer environment.
|
# The configuration information for configuring a Private IP Cloud Composer
|
||||||
|
# environment.
|
||||||
class PrivateEnvironmentConfig
|
class PrivateEnvironmentConfig
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
# Optional. If `true`, a private Composer environment is created.
|
# Optional. If `true`, a Private IP Cloud Composer environment is created.
|
||||||
|
# If this field is true, `use_ip_aliases` must be true.
|
||||||
# Corresponds to the JSON property `enablePrivateEnvironment`
|
# Corresponds to the JSON property `enablePrivateEnvironment`
|
||||||
# @return [Boolean]
|
# @return [Boolean]
|
||||||
attr_accessor :enable_private_environment
|
attr_accessor :enable_private_environment
|
||||||
alias_method :enable_private_environment?, :enable_private_environment
|
alias_method :enable_private_environment?, :enable_private_environment
|
||||||
|
|
||||||
# Configuration options for private cluster of Composer environment.
|
# Configuration options for the private GKE cluster in a Cloud Composer
|
||||||
|
# environment.
|
||||||
# Corresponds to the JSON property `privateClusterConfig`
|
# Corresponds to the JSON property `privateClusterConfig`
|
||||||
# @return [Google::Apis::ComposerV1beta1::PrivateClusterConfig]
|
# @return [Google::Apis::ComposerV1beta1::PrivateClusterConfig]
|
||||||
attr_accessor :private_cluster_config
|
attr_accessor :private_cluster_config
|
||||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
||||||
# @see https://cloud.google.com/container-engine/
|
# @see https://cloud.google.com/container-engine/
|
||||||
module ContainerV1beta1
|
module ContainerV1beta1
|
||||||
VERSION = 'V1beta1'
|
VERSION = 'V1beta1'
|
||||||
REVISION = '20190227'
|
REVISION = '20190316'
|
||||||
|
|
||||||
# View and manage your data across Google Cloud Platform services
|
# View and manage your data across Google Cloud Platform services
|
||||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||||
|
|
|
@ -103,6 +103,34 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# Configuration for returning group information from authenticators.
|
||||||
|
class AuthenticatorGroupsConfig
|
||||||
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
# Whether this cluster should return group membership lookups
|
||||||
|
# during authentication using a group of security groups.
|
||||||
|
# Corresponds to the JSON property `enabled`
|
||||||
|
# @return [Boolean]
|
||||||
|
attr_accessor :enabled
|
||||||
|
alias_method :enabled?, :enabled
|
||||||
|
|
||||||
|
# The name of the security group-of-groups to be used. Only relevant
|
||||||
|
# if enabled = true.
|
||||||
|
# Corresponds to the JSON property `securityGroup`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :security_group
|
||||||
|
|
||||||
|
def initialize(**args)
|
||||||
|
update!(**args)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Update properties of this object
|
||||||
|
def update!(**args)
|
||||||
|
@enabled = args[:enabled] if args.key?(:enabled)
|
||||||
|
@security_group = args[:security_group] if args.key?(:security_group)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
# AutoUpgradeOptions defines the set of options for the user to control how
|
# AutoUpgradeOptions defines the set of options for the user to control how
|
||||||
# the Auto Upgrades will proceed.
|
# the Auto Upgrades will proceed.
|
||||||
class AutoUpgradeOptions
|
class AutoUpgradeOptions
|
||||||
|
@ -290,6 +318,11 @@ module Google
|
||||||
# @return [Google::Apis::ContainerV1beta1::AddonsConfig]
|
# @return [Google::Apis::ContainerV1beta1::AddonsConfig]
|
||||||
attr_accessor :addons_config
|
attr_accessor :addons_config
|
||||||
|
|
||||||
|
# Configuration for returning group information from authenticators.
|
||||||
|
# Corresponds to the JSON property `authenticatorGroupsConfig`
|
||||||
|
# @return [Google::Apis::ContainerV1beta1::AuthenticatorGroupsConfig]
|
||||||
|
attr_accessor :authenticator_groups_config
|
||||||
|
|
||||||
# ClusterAutoscaling contains global, per-cluster information
|
# ClusterAutoscaling contains global, per-cluster information
|
||||||
# required by Cluster Autoscaler to automatically adjust
|
# required by Cluster Autoscaler to automatically adjust
|
||||||
# the size of the cluster and create/delete
|
# the size of the cluster and create/delete
|
||||||
|
@ -641,6 +674,7 @@ module Google
|
||||||
# Update properties of this object
|
# Update properties of this object
|
||||||
def update!(**args)
|
def update!(**args)
|
||||||
@addons_config = args[:addons_config] if args.key?(:addons_config)
|
@addons_config = args[:addons_config] if args.key?(:addons_config)
|
||||||
|
@authenticator_groups_config = args[:authenticator_groups_config] if args.key?(:authenticator_groups_config)
|
||||||
@autoscaling = args[:autoscaling] if args.key?(:autoscaling)
|
@autoscaling = args[:autoscaling] if args.key?(:autoscaling)
|
||||||
@binary_authorization = args[:binary_authorization] if args.key?(:binary_authorization)
|
@binary_authorization = args[:binary_authorization] if args.key?(:binary_authorization)
|
||||||
@cluster_ipv4_cidr = args[:cluster_ipv4_cidr] if args.key?(:cluster_ipv4_cidr)
|
@cluster_ipv4_cidr = args[:cluster_ipv4_cidr] if args.key?(:cluster_ipv4_cidr)
|
||||||
|
@ -759,6 +793,12 @@ module Google
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :desired_image_type
|
attr_accessor :desired_image_type
|
||||||
|
|
||||||
|
# IntraNodeVisibilityConfig contains the desired config of the intra-node
|
||||||
|
# visibility on this cluster.
|
||||||
|
# Corresponds to the JSON property `desiredIntraNodeVisibilityConfig`
|
||||||
|
# @return [Google::Apis::ContainerV1beta1::IntraNodeVisibilityConfig]
|
||||||
|
attr_accessor :desired_intra_node_visibility_config
|
||||||
|
|
||||||
# The desired list of Google Compute Engine
|
# The desired list of Google Compute Engine
|
||||||
# [zones](/compute/docs/zones#available) in which the cluster's nodes
|
# [zones](/compute/docs/zones#available) in which the cluster's nodes
|
||||||
# should be located. Changing the locations a cluster is in will result
|
# should be located. Changing the locations a cluster is in will result
|
||||||
|
@ -865,6 +905,7 @@ module Google
|
||||||
@desired_cluster_autoscaling = args[:desired_cluster_autoscaling] if args.key?(:desired_cluster_autoscaling)
|
@desired_cluster_autoscaling = args[:desired_cluster_autoscaling] if args.key?(:desired_cluster_autoscaling)
|
||||||
@desired_database_encryption = args[:desired_database_encryption] if args.key?(:desired_database_encryption)
|
@desired_database_encryption = args[:desired_database_encryption] if args.key?(:desired_database_encryption)
|
||||||
@desired_image_type = args[:desired_image_type] if args.key?(:desired_image_type)
|
@desired_image_type = args[:desired_image_type] if args.key?(:desired_image_type)
|
||||||
|
@desired_intra_node_visibility_config = args[:desired_intra_node_visibility_config] if args.key?(:desired_intra_node_visibility_config)
|
||||||
@desired_locations = args[:desired_locations] if args.key?(:desired_locations)
|
@desired_locations = args[:desired_locations] if args.key?(:desired_locations)
|
||||||
@desired_logging_service = args[:desired_logging_service] if args.key?(:desired_logging_service)
|
@desired_logging_service = args[:desired_logging_service] if args.key?(:desired_logging_service)
|
||||||
@desired_master_authorized_networks_config = args[:desired_master_authorized_networks_config] if args.key?(:desired_master_authorized_networks_config)
|
@desired_master_authorized_networks_config = args[:desired_master_authorized_networks_config] if args.key?(:desired_master_authorized_networks_config)
|
||||||
|
@ -1373,6 +1414,27 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# IntraNodeVisibilityConfig contains the desired config of the intra-node
|
||||||
|
# visibility on this cluster.
|
||||||
|
class IntraNodeVisibilityConfig
|
||||||
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
# Enables intra node visibility for this cluster.
|
||||||
|
# Corresponds to the JSON property `enabled`
|
||||||
|
# @return [Boolean]
|
||||||
|
attr_accessor :enabled
|
||||||
|
alias_method :enabled?, :enabled
|
||||||
|
|
||||||
|
def initialize(**args)
|
||||||
|
update!(**args)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Update properties of this object
|
||||||
|
def update!(**args)
|
||||||
|
@enabled = args[:enabled] if args.key?(:enabled)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
# Configuration options for Istio addon.
|
# Configuration options for Istio addon.
|
||||||
class IstioConfig
|
class IstioConfig
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
@ -1865,6 +1927,13 @@ module Google
|
||||||
class NetworkConfig
|
class NetworkConfig
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
# Whether Intra-node visibility is enabled for this cluster.
|
||||||
|
# This makes same node pod to pod traffic visible for VPC network.
|
||||||
|
# Corresponds to the JSON property `enableIntraNodeVisibility`
|
||||||
|
# @return [Boolean]
|
||||||
|
attr_accessor :enable_intra_node_visibility
|
||||||
|
alias_method :enable_intra_node_visibility?, :enable_intra_node_visibility
|
||||||
|
|
||||||
# Output only. The relative name of the Google Compute Engine
|
# Output only. The relative name of the Google Compute Engine
|
||||||
# network(/compute/docs/networks-and-firewalls#networks) to which
|
# network(/compute/docs/networks-and-firewalls#networks) to which
|
||||||
# the cluster is connected.
|
# the cluster is connected.
|
||||||
|
@ -1886,6 +1955,7 @@ module Google
|
||||||
|
|
||||||
# Update properties of this object
|
# Update properties of this object
|
||||||
def update!(**args)
|
def update!(**args)
|
||||||
|
@enable_intra_node_visibility = args[:enable_intra_node_visibility] if args.key?(:enable_intra_node_visibility)
|
||||||
@network = args[:network] if args.key?(:network)
|
@network = args[:network] if args.key?(:network)
|
||||||
@subnetwork = args[:subnetwork] if args.key?(:subnetwork)
|
@subnetwork = args[:subnetwork] if args.key?(:subnetwork)
|
||||||
end
|
end
|
||||||
|
|
|
@ -34,6 +34,12 @@ module Google
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class AuthenticatorGroupsConfig
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
class AutoUpgradeOptions
|
class AutoUpgradeOptions
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
@ -160,6 +166,12 @@ module Google
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class IntraNodeVisibilityConfig
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
class IstioConfig
|
class IstioConfig
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
@ -504,6 +516,14 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class AuthenticatorGroupsConfig
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :enabled, as: 'enabled'
|
||||||
|
property :security_group, as: 'securityGroup'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
class AutoUpgradeOptions
|
class AutoUpgradeOptions
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
@ -563,6 +583,8 @@ module Google
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
property :addons_config, as: 'addonsConfig', class: Google::Apis::ContainerV1beta1::AddonsConfig, decorator: Google::Apis::ContainerV1beta1::AddonsConfig::Representation
|
property :addons_config, as: 'addonsConfig', class: Google::Apis::ContainerV1beta1::AddonsConfig, decorator: Google::Apis::ContainerV1beta1::AddonsConfig::Representation
|
||||||
|
|
||||||
|
property :authenticator_groups_config, as: 'authenticatorGroupsConfig', class: Google::Apis::ContainerV1beta1::AuthenticatorGroupsConfig, decorator: Google::Apis::ContainerV1beta1::AuthenticatorGroupsConfig::Representation
|
||||||
|
|
||||||
property :autoscaling, as: 'autoscaling', class: Google::Apis::ContainerV1beta1::ClusterAutoscaling, decorator: Google::Apis::ContainerV1beta1::ClusterAutoscaling::Representation
|
property :autoscaling, as: 'autoscaling', class: Google::Apis::ContainerV1beta1::ClusterAutoscaling, decorator: Google::Apis::ContainerV1beta1::ClusterAutoscaling::Representation
|
||||||
|
|
||||||
property :binary_authorization, as: 'binaryAuthorization', class: Google::Apis::ContainerV1beta1::BinaryAuthorization, decorator: Google::Apis::ContainerV1beta1::BinaryAuthorization::Representation
|
property :binary_authorization, as: 'binaryAuthorization', class: Google::Apis::ContainerV1beta1::BinaryAuthorization, decorator: Google::Apis::ContainerV1beta1::BinaryAuthorization::Representation
|
||||||
|
@ -654,6 +676,8 @@ module Google
|
||||||
property :desired_database_encryption, as: 'desiredDatabaseEncryption', class: Google::Apis::ContainerV1beta1::DatabaseEncryption, decorator: Google::Apis::ContainerV1beta1::DatabaseEncryption::Representation
|
property :desired_database_encryption, as: 'desiredDatabaseEncryption', class: Google::Apis::ContainerV1beta1::DatabaseEncryption, decorator: Google::Apis::ContainerV1beta1::DatabaseEncryption::Representation
|
||||||
|
|
||||||
property :desired_image_type, as: 'desiredImageType'
|
property :desired_image_type, as: 'desiredImageType'
|
||||||
|
property :desired_intra_node_visibility_config, as: 'desiredIntraNodeVisibilityConfig', class: Google::Apis::ContainerV1beta1::IntraNodeVisibilityConfig, decorator: Google::Apis::ContainerV1beta1::IntraNodeVisibilityConfig::Representation
|
||||||
|
|
||||||
collection :desired_locations, as: 'desiredLocations'
|
collection :desired_locations, as: 'desiredLocations'
|
||||||
property :desired_logging_service, as: 'desiredLoggingService'
|
property :desired_logging_service, as: 'desiredLoggingService'
|
||||||
property :desired_master_authorized_networks_config, as: 'desiredMasterAuthorizedNetworksConfig', class: Google::Apis::ContainerV1beta1::MasterAuthorizedNetworksConfig, decorator: Google::Apis::ContainerV1beta1::MasterAuthorizedNetworksConfig::Representation
|
property :desired_master_authorized_networks_config, as: 'desiredMasterAuthorizedNetworksConfig', class: Google::Apis::ContainerV1beta1::MasterAuthorizedNetworksConfig, decorator: Google::Apis::ContainerV1beta1::MasterAuthorizedNetworksConfig::Representation
|
||||||
|
@ -782,6 +806,13 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class IntraNodeVisibilityConfig
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :enabled, as: 'enabled'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
class IstioConfig
|
class IstioConfig
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
@ -930,6 +961,7 @@ module Google
|
||||||
class NetworkConfig
|
class NetworkConfig
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :enable_intra_node_visibility, as: 'enableIntraNodeVisibility'
|
||||||
property :network, as: 'network'
|
property :network, as: 'network'
|
||||||
property :subnetwork, as: 'subnetwork'
|
property :subnetwork, as: 'subnetwork'
|
||||||
end
|
end
|
||||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
||||||
# @see https://cloud.google.com/dataflow
|
# @see https://cloud.google.com/dataflow
|
||||||
module DataflowV1b3
|
module DataflowV1b3
|
||||||
VERSION = 'V1b3'
|
VERSION = 'V1b3'
|
||||||
REVISION = '20190131'
|
REVISION = '20190322'
|
||||||
|
|
||||||
# View and manage your data across Google Cloud Platform services
|
# View and manage your data across Google Cloud Platform services
|
||||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||||
|
|
|
@ -1146,6 +1146,14 @@ module Google
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :service_account_email
|
attr_accessor :service_account_email
|
||||||
|
|
||||||
|
# If set, contains the Cloud KMS key identifier used to encrypt data
|
||||||
|
# at rest, AKA a Customer Managed Encryption Key (CMEK).
|
||||||
|
# Format:
|
||||||
|
# projects/PROJECT_ID/locations/LOCATION/keyRings/KEY_RING/cryptoKeys/KEY
|
||||||
|
# Corresponds to the JSON property `serviceKmsKeyName`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :service_kms_key_name
|
||||||
|
|
||||||
# The prefix of the resources the system should use for temporary
|
# The prefix of the resources the system should use for temporary
|
||||||
# storage. The system will append the suffix "/temp-`JOBNAME` to
|
# storage. The system will append the suffix "/temp-`JOBNAME` to
|
||||||
# this resource prefix, where `JOBNAME` is the value of the
|
# this resource prefix, where `JOBNAME` is the value of the
|
||||||
|
@ -1191,6 +1199,7 @@ module Google
|
||||||
@internal_experiments = args[:internal_experiments] if args.key?(:internal_experiments)
|
@internal_experiments = args[:internal_experiments] if args.key?(:internal_experiments)
|
||||||
@sdk_pipeline_options = args[:sdk_pipeline_options] if args.key?(:sdk_pipeline_options)
|
@sdk_pipeline_options = args[:sdk_pipeline_options] if args.key?(:sdk_pipeline_options)
|
||||||
@service_account_email = args[:service_account_email] if args.key?(:service_account_email)
|
@service_account_email = args[:service_account_email] if args.key?(:service_account_email)
|
||||||
|
@service_kms_key_name = args[:service_kms_key_name] if args.key?(:service_kms_key_name)
|
||||||
@temp_storage_prefix = args[:temp_storage_prefix] if args.key?(:temp_storage_prefix)
|
@temp_storage_prefix = args[:temp_storage_prefix] if args.key?(:temp_storage_prefix)
|
||||||
@user_agent = args[:user_agent] if args.key?(:user_agent)
|
@user_agent = args[:user_agent] if args.key?(:user_agent)
|
||||||
@version = args[:version] if args.key?(:version)
|
@version = args[:version] if args.key?(:version)
|
||||||
|
@ -1454,14 +1463,14 @@ module Google
|
||||||
# @return [Google::Apis::DataflowV1b3::TemplateMetadata]
|
# @return [Google::Apis::DataflowV1b3::TemplateMetadata]
|
||||||
attr_accessor :metadata
|
attr_accessor :metadata
|
||||||
|
|
||||||
# The `Status` type defines a logical error model that is suitable for different
|
# The `Status` type defines a logical error model that is suitable for
|
||||||
# programming environments, including REST APIs and RPC APIs. It is used by
|
# different programming environments, including REST APIs and RPC APIs. It is
|
||||||
# [gRPC](https://github.com/grpc). The error model is designed to be:
|
# used by [gRPC](https://github.com/grpc). The error model is designed to be:
|
||||||
# - Simple to use and understand for most users
|
# - Simple to use and understand for most users
|
||||||
# - Flexible enough to meet unexpected needs
|
# - Flexible enough to meet unexpected needs
|
||||||
# # Overview
|
# # Overview
|
||||||
# The `Status` message contains three pieces of data: error code, error message,
|
# The `Status` message contains three pieces of data: error code, error
|
||||||
# and error details. The error code should be an enum value of
|
# message, and error details. The error code should be an enum value of
|
||||||
# google.rpc.Code, but it may accept additional error codes if needed. The
|
# google.rpc.Code, but it may accept additional error codes if needed. The
|
||||||
# error message should be a developer-facing English message that helps
|
# error message should be a developer-facing English message that helps
|
||||||
# developers *understand* and *resolve* the error. If a localized user-facing
|
# developers *understand* and *resolve* the error. If a localized user-facing
|
||||||
|
@ -4234,14 +4243,14 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
# The `Status` type defines a logical error model that is suitable for different
|
# The `Status` type defines a logical error model that is suitable for
|
||||||
# programming environments, including REST APIs and RPC APIs. It is used by
|
# different programming environments, including REST APIs and RPC APIs. It is
|
||||||
# [gRPC](https://github.com/grpc). The error model is designed to be:
|
# used by [gRPC](https://github.com/grpc). The error model is designed to be:
|
||||||
# - Simple to use and understand for most users
|
# - Simple to use and understand for most users
|
||||||
# - Flexible enough to meet unexpected needs
|
# - Flexible enough to meet unexpected needs
|
||||||
# # Overview
|
# # Overview
|
||||||
# The `Status` message contains three pieces of data: error code, error message,
|
# The `Status` message contains three pieces of data: error code, error
|
||||||
# and error details. The error code should be an enum value of
|
# message, and error details. The error code should be an enum value of
|
||||||
# google.rpc.Code, but it may accept additional error codes if needed. The
|
# google.rpc.Code, but it may accept additional error codes if needed. The
|
||||||
# error message should be a developer-facing English message that helps
|
# error message should be a developer-facing English message that helps
|
||||||
# developers *understand* and *resolve* the error. If a localized user-facing
|
# developers *understand* and *resolve* the error. If a localized user-facing
|
||||||
|
|
|
@ -1150,6 +1150,7 @@ module Google
|
||||||
hash :internal_experiments, as: 'internalExperiments'
|
hash :internal_experiments, as: 'internalExperiments'
|
||||||
hash :sdk_pipeline_options, as: 'sdkPipelineOptions'
|
hash :sdk_pipeline_options, as: 'sdkPipelineOptions'
|
||||||
property :service_account_email, as: 'serviceAccountEmail'
|
property :service_account_email, as: 'serviceAccountEmail'
|
||||||
|
property :service_kms_key_name, as: 'serviceKmsKeyName'
|
||||||
property :temp_storage_prefix, as: 'tempStoragePrefix'
|
property :temp_storage_prefix, as: 'tempStoragePrefix'
|
||||||
hash :user_agent, as: 'userAgent'
|
hash :user_agent, as: 'userAgent'
|
||||||
hash :version, as: 'version'
|
hash :version, as: 'version'
|
||||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
||||||
# @see https://developers.google.com/cloud-dns
|
# @see https://developers.google.com/cloud-dns
|
||||||
module DnsV1beta2
|
module DnsV1beta2
|
||||||
VERSION = 'V1beta2'
|
VERSION = 'V1beta2'
|
||||||
REVISION = '20190213'
|
REVISION = '20190328'
|
||||||
|
|
||||||
# View and manage your data across Google Cloud Platform services
|
# View and manage your data across Google Cloud Platform services
|
||||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||||
|
|
|
@ -355,6 +355,11 @@ module Google
|
||||||
# @return [Array<String>]
|
# @return [Array<String>]
|
||||||
attr_accessor :name_servers
|
attr_accessor :name_servers
|
||||||
|
|
||||||
|
#
|
||||||
|
# Corresponds to the JSON property `peeringConfig`
|
||||||
|
# @return [Google::Apis::DnsV1beta2::ManagedZonePeeringConfig]
|
||||||
|
attr_accessor :peering_config
|
||||||
|
|
||||||
#
|
#
|
||||||
# Corresponds to the JSON property `privateVisibilityConfig`
|
# Corresponds to the JSON property `privateVisibilityConfig`
|
||||||
# @return [Google::Apis::DnsV1beta2::ManagedZonePrivateVisibilityConfig]
|
# @return [Google::Apis::DnsV1beta2::ManagedZonePrivateVisibilityConfig]
|
||||||
|
@ -382,6 +387,7 @@ module Google
|
||||||
@name = args[:name] if args.key?(:name)
|
@name = args[:name] if args.key?(:name)
|
||||||
@name_server_set = args[:name_server_set] if args.key?(:name_server_set)
|
@name_server_set = args[:name_server_set] if args.key?(:name_server_set)
|
||||||
@name_servers = args[:name_servers] if args.key?(:name_servers)
|
@name_servers = args[:name_servers] if args.key?(:name_servers)
|
||||||
|
@peering_config = args[:peering_config] if args.key?(:peering_config)
|
||||||
@private_visibility_config = args[:private_visibility_config] if args.key?(:private_visibility_config)
|
@private_visibility_config = args[:private_visibility_config] if args.key?(:private_visibility_config)
|
||||||
@visibility = args[:visibility] if args.key?(:visibility)
|
@visibility = args[:visibility] if args.key?(:visibility)
|
||||||
end
|
end
|
||||||
|
@ -514,6 +520,64 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
#
|
||||||
|
class ManagedZonePeeringConfig
|
||||||
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
# Identifies what kind of resource this is. Value: the fixed string "dns#
|
||||||
|
# managedZonePeeringConfig".
|
||||||
|
# Corresponds to the JSON property `kind`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :kind
|
||||||
|
|
||||||
|
#
|
||||||
|
# Corresponds to the JSON property `targetNetwork`
|
||||||
|
# @return [Google::Apis::DnsV1beta2::ManagedZonePeeringConfigTargetNetwork]
|
||||||
|
attr_accessor :target_network
|
||||||
|
|
||||||
|
def initialize(**args)
|
||||||
|
update!(**args)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Update properties of this object
|
||||||
|
def update!(**args)
|
||||||
|
@kind = args[:kind] if args.key?(:kind)
|
||||||
|
@target_network = args[:target_network] if args.key?(:target_network)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
#
|
||||||
|
class ManagedZonePeeringConfigTargetNetwork
|
||||||
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
#
|
||||||
|
# Corresponds to the JSON property `deactivateTime`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :deactivate_time
|
||||||
|
|
||||||
|
# Identifies what kind of resource this is. Value: the fixed string "dns#
|
||||||
|
# managedZonePeeringConfigTargetNetwork".
|
||||||
|
# Corresponds to the JSON property `kind`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :kind
|
||||||
|
|
||||||
|
#
|
||||||
|
# Corresponds to the JSON property `networkUrl`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :network_url
|
||||||
|
|
||||||
|
def initialize(**args)
|
||||||
|
update!(**args)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Update properties of this object
|
||||||
|
def update!(**args)
|
||||||
|
@deactivate_time = args[:deactivate_time] if args.key?(:deactivate_time)
|
||||||
|
@kind = args[:kind] if args.key?(:kind)
|
||||||
|
@network_url = args[:network_url] if args.key?(:network_url)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
#
|
#
|
||||||
class ManagedZonePrivateVisibilityConfig
|
class ManagedZonePrivateVisibilityConfig
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
@ -822,6 +886,12 @@ module Google
|
||||||
attr_accessor :enable_inbound_forwarding
|
attr_accessor :enable_inbound_forwarding
|
||||||
alias_method :enable_inbound_forwarding?, :enable_inbound_forwarding
|
alias_method :enable_inbound_forwarding?, :enable_inbound_forwarding
|
||||||
|
|
||||||
|
#
|
||||||
|
# Corresponds to the JSON property `enableLogging`
|
||||||
|
# @return [Boolean]
|
||||||
|
attr_accessor :enable_logging
|
||||||
|
alias_method :enable_logging?, :enable_logging
|
||||||
|
|
||||||
#
|
#
|
||||||
# Corresponds to the JSON property `id`
|
# Corresponds to the JSON property `id`
|
||||||
# @return [Fixnum]
|
# @return [Fixnum]
|
||||||
|
@ -851,6 +921,7 @@ module Google
|
||||||
@alternative_name_server_config = args[:alternative_name_server_config] if args.key?(:alternative_name_server_config)
|
@alternative_name_server_config = args[:alternative_name_server_config] if args.key?(:alternative_name_server_config)
|
||||||
@description = args[:description] if args.key?(:description)
|
@description = args[:description] if args.key?(:description)
|
||||||
@enable_inbound_forwarding = args[:enable_inbound_forwarding] if args.key?(:enable_inbound_forwarding)
|
@enable_inbound_forwarding = args[:enable_inbound_forwarding] if args.key?(:enable_inbound_forwarding)
|
||||||
|
@enable_logging = args[:enable_logging] if args.key?(:enable_logging)
|
||||||
@id = args[:id] if args.key?(:id)
|
@id = args[:id] if args.key?(:id)
|
||||||
@kind = args[:kind] if args.key?(:kind)
|
@kind = args[:kind] if args.key?(:kind)
|
||||||
@name = args[:name] if args.key?(:name)
|
@name = args[:name] if args.key?(:name)
|
||||||
|
|
|
@ -88,6 +88,18 @@ module Google
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class ManagedZonePeeringConfig
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
|
class ManagedZonePeeringConfigTargetNetwork
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
class ManagedZonePrivateVisibilityConfig
|
class ManagedZonePrivateVisibilityConfig
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
@ -287,6 +299,8 @@ module Google
|
||||||
property :name, as: 'name'
|
property :name, as: 'name'
|
||||||
property :name_server_set, as: 'nameServerSet'
|
property :name_server_set, as: 'nameServerSet'
|
||||||
collection :name_servers, as: 'nameServers'
|
collection :name_servers, as: 'nameServers'
|
||||||
|
property :peering_config, as: 'peeringConfig', class: Google::Apis::DnsV1beta2::ManagedZonePeeringConfig, decorator: Google::Apis::DnsV1beta2::ManagedZonePeeringConfig::Representation
|
||||||
|
|
||||||
property :private_visibility_config, as: 'privateVisibilityConfig', class: Google::Apis::DnsV1beta2::ManagedZonePrivateVisibilityConfig, decorator: Google::Apis::DnsV1beta2::ManagedZonePrivateVisibilityConfig::Representation
|
property :private_visibility_config, as: 'privateVisibilityConfig', class: Google::Apis::DnsV1beta2::ManagedZonePrivateVisibilityConfig, decorator: Google::Apis::DnsV1beta2::ManagedZonePrivateVisibilityConfig::Representation
|
||||||
|
|
||||||
property :visibility, as: 'visibility'
|
property :visibility, as: 'visibility'
|
||||||
|
@ -333,6 +347,24 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class ManagedZonePeeringConfig
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :kind, as: 'kind'
|
||||||
|
property :target_network, as: 'targetNetwork', class: Google::Apis::DnsV1beta2::ManagedZonePeeringConfigTargetNetwork, decorator: Google::Apis::DnsV1beta2::ManagedZonePeeringConfigTargetNetwork::Representation
|
||||||
|
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
class ManagedZonePeeringConfigTargetNetwork
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :deactivate_time, as: 'deactivateTime'
|
||||||
|
property :kind, as: 'kind'
|
||||||
|
property :network_url, as: 'networkUrl'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
class ManagedZonePrivateVisibilityConfig
|
class ManagedZonePrivateVisibilityConfig
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
@ -437,6 +469,7 @@ module Google
|
||||||
|
|
||||||
property :description, as: 'description'
|
property :description, as: 'description'
|
||||||
property :enable_inbound_forwarding, as: 'enableInboundForwarding'
|
property :enable_inbound_forwarding, as: 'enableInboundForwarding'
|
||||||
|
property :enable_logging, as: 'enableLogging'
|
||||||
property :id, :numeric_string => true, as: 'id'
|
property :id, :numeric_string => true, as: 'id'
|
||||||
property :kind, as: 'kind'
|
property :kind, as: 'kind'
|
||||||
property :name, as: 'name'
|
property :name, as: 'name'
|
||||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
||||||
# @see https://cloud.google.com/service-consumer-management/docs/overview
|
# @see https://cloud.google.com/service-consumer-management/docs/overview
|
||||||
module ServiceconsumermanagementV1
|
module ServiceconsumermanagementV1
|
||||||
VERSION = 'V1'
|
VERSION = 'V1'
|
||||||
REVISION = '20190323'
|
REVISION = '20190328'
|
||||||
|
|
||||||
# View and manage your data across Google Cloud Platform services
|
# View and manage your data across Google Cloud Platform services
|
||||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||||
|
|
|
@ -843,6 +843,25 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# Request message to delete tenant project resource from the tenancy unit.
|
||||||
|
class DeleteTenantProjectRequest
|
||||||
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
# Tag of the resource within the tenancy unit.
|
||||||
|
# Corresponds to the JSON property `tag`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :tag
|
||||||
|
|
||||||
|
def initialize(**args)
|
||||||
|
update!(**args)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Update properties of this object
|
||||||
|
def update!(**args)
|
||||||
|
@tag = args[:tag] if args.key?(:tag)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
# `Documentation` provides the information for describing a service.
|
# `Documentation` provides the information for describing a service.
|
||||||
# Example:
|
# Example:
|
||||||
# <pre><code>documentation:
|
# <pre><code>documentation:
|
||||||
|
@ -967,9 +986,9 @@ module Google
|
||||||
# The selector is a comma-separated list of patterns. Each pattern is a
|
# The selector is a comma-separated list of patterns. Each pattern is a
|
||||||
# qualified name of the element which may end in "*", indicating a wildcard.
|
# qualified name of the element which may end in "*", indicating a wildcard.
|
||||||
# Wildcards are only allowed at the end and for a whole component of the
|
# Wildcards are only allowed at the end and for a whole component of the
|
||||||
# qualified name, i.e. "foo.*" is ok, but not "foo.b*" or "foo.*.bar". To
|
# qualified name, i.e. "foo.*" is ok, but not "foo.b*" or "foo.*.bar". A
|
||||||
# specify a default for all applicable elements, the whole pattern "*"
|
# wildcard will match one or more components. To specify a default for all
|
||||||
# is used.
|
# applicable elements, the whole pattern "*" is used.
|
||||||
# Corresponds to the JSON property `selector`
|
# Corresponds to the JSON property `selector`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :selector
|
attr_accessor :selector
|
||||||
|
@ -2553,7 +2572,46 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
#
|
# Quota configuration helps to achieve fairness and budgeting in service
|
||||||
|
# usage.
|
||||||
|
# The metric based quota configuration works this way:
|
||||||
|
# - The service configuration defines a set of metrics.
|
||||||
|
# - For API calls, the quota.metric_rules maps methods to metrics with
|
||||||
|
# corresponding costs.
|
||||||
|
# - The quota.limits defines limits on the metrics, which will be used for
|
||||||
|
# quota checks at runtime.
|
||||||
|
# An example quota configuration in yaml format:
|
||||||
|
# quota:
|
||||||
|
# limits:
|
||||||
|
# - name: apiWriteQpsPerProject
|
||||||
|
# metric: library.googleapis.com/write_calls
|
||||||
|
# unit: "1/min/`project`" # rate limit for consumer projects
|
||||||
|
# values:
|
||||||
|
# STANDARD: 10000
|
||||||
|
# # The metric rules bind all methods to the read_calls metric,
|
||||||
|
# # except for the UpdateBook and DeleteBook methods. These two methods
|
||||||
|
# # are mapped to the write_calls metric, with the UpdateBook method
|
||||||
|
# # consuming at twice rate as the DeleteBook method.
|
||||||
|
# metric_rules:
|
||||||
|
# - selector: "*"
|
||||||
|
# metric_costs:
|
||||||
|
# library.googleapis.com/read_calls: 1
|
||||||
|
# - selector: google.example.library.v1.LibraryService.UpdateBook
|
||||||
|
# metric_costs:
|
||||||
|
# library.googleapis.com/write_calls: 2
|
||||||
|
# - selector: google.example.library.v1.LibraryService.DeleteBook
|
||||||
|
# metric_costs:
|
||||||
|
# library.googleapis.com/write_calls: 1
|
||||||
|
# Corresponding Metric definition:
|
||||||
|
# metrics:
|
||||||
|
# - name: library.googleapis.com/read_calls
|
||||||
|
# display_name: Read requests
|
||||||
|
# metric_kind: DELTA
|
||||||
|
# value_type: INT64
|
||||||
|
# - name: library.googleapis.com/write_calls
|
||||||
|
# display_name: Write requests
|
||||||
|
# metric_kind: DELTA
|
||||||
|
# value_type: INT64
|
||||||
class Quota
|
class Quota
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
@ -3065,7 +3123,46 @@ module Google
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :producer_project_id
|
attr_accessor :producer_project_id
|
||||||
|
|
||||||
# Quota configuration.
|
# Quota configuration helps to achieve fairness and budgeting in service
|
||||||
|
# usage.
|
||||||
|
# The metric based quota configuration works this way:
|
||||||
|
# - The service configuration defines a set of metrics.
|
||||||
|
# - For API calls, the quota.metric_rules maps methods to metrics with
|
||||||
|
# corresponding costs.
|
||||||
|
# - The quota.limits defines limits on the metrics, which will be used for
|
||||||
|
# quota checks at runtime.
|
||||||
|
# An example quota configuration in yaml format:
|
||||||
|
# quota:
|
||||||
|
# limits:
|
||||||
|
# - name: apiWriteQpsPerProject
|
||||||
|
# metric: library.googleapis.com/write_calls
|
||||||
|
# unit: "1/min/`project`" # rate limit for consumer projects
|
||||||
|
# values:
|
||||||
|
# STANDARD: 10000
|
||||||
|
# # The metric rules bind all methods to the read_calls metric,
|
||||||
|
# # except for the UpdateBook and DeleteBook methods. These two methods
|
||||||
|
# # are mapped to the write_calls metric, with the UpdateBook method
|
||||||
|
# # consuming at twice rate as the DeleteBook method.
|
||||||
|
# metric_rules:
|
||||||
|
# - selector: "*"
|
||||||
|
# metric_costs:
|
||||||
|
# library.googleapis.com/read_calls: 1
|
||||||
|
# - selector: google.example.library.v1.LibraryService.UpdateBook
|
||||||
|
# metric_costs:
|
||||||
|
# library.googleapis.com/write_calls: 2
|
||||||
|
# - selector: google.example.library.v1.LibraryService.DeleteBook
|
||||||
|
# metric_costs:
|
||||||
|
# library.googleapis.com/write_calls: 1
|
||||||
|
# Corresponding Metric definition:
|
||||||
|
# metrics:
|
||||||
|
# - name: library.googleapis.com/read_calls
|
||||||
|
# display_name: Read requests
|
||||||
|
# metric_kind: DELTA
|
||||||
|
# value_type: INT64
|
||||||
|
# - name: library.googleapis.com/write_calls
|
||||||
|
# display_name: Write requests
|
||||||
|
# metric_kind: DELTA
|
||||||
|
# value_type: INT64
|
||||||
# Corresponds to the JSON property `quota`
|
# Corresponds to the JSON property `quota`
|
||||||
# @return [Google::Apis::ServiceconsumermanagementV1::Quota]
|
# @return [Google::Apis::ServiceconsumermanagementV1::Quota]
|
||||||
attr_accessor :quota
|
attr_accessor :quota
|
||||||
|
@ -3620,6 +3717,26 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# Request message to undelete tenant project resource previously deleted from
|
||||||
|
# the tenancy unit.
|
||||||
|
class UndeleteTenantProjectRequest
|
||||||
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
# Tag of the resource within the tenancy unit.
|
||||||
|
# Corresponds to the JSON property `tag`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :tag
|
||||||
|
|
||||||
|
def initialize(**args)
|
||||||
|
update!(**args)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Update properties of this object
|
||||||
|
def update!(**args)
|
||||||
|
@tag = args[:tag] if args.key?(:tag)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
# Configuration controlling usage of a service.
|
# Configuration controlling usage of a service.
|
||||||
class Usage
|
class Usage
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
|
@ -154,6 +154,12 @@ module Google
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class DeleteTenantProjectRequest
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
class Documentation
|
class Documentation
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
@ -430,6 +436,12 @@ module Google
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class UndeleteTenantProjectRequest
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
class Usage
|
class Usage
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
@ -642,6 +654,13 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class DeleteTenantProjectRequest
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :tag, as: 'tag'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
class Documentation
|
class Documentation
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
@ -1159,6 +1178,13 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class UndeleteTenantProjectRequest
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :tag, as: 'tag'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
class Usage
|
class Usage
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
|
|
@ -458,6 +458,49 @@ module Google
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# Deletes the specified project resource identified by a tenant resource tag.
|
||||||
|
# The mothod removes a project lien with a 'TenantManager' origin if that was
|
||||||
|
# added. It will then attempt to delete the project. If that operation fails,
|
||||||
|
# this method also fails.
|
||||||
|
# After the project has been deleted, the tenant resource state is set to
|
||||||
|
# DELETED. To permanently remove resource metadata, call the
|
||||||
|
# `RemoveTenantProject` method.
|
||||||
|
# New resources with the same tag can't be added if there are existing
|
||||||
|
# resources in a DELETED state.
|
||||||
|
# Operation<response: Empty>.
|
||||||
|
# @param [String] name
|
||||||
|
# Name of the tenancy unit.
|
||||||
|
# Such as 'services/service.googleapis.com/projects/12345/tenancyUnits/abcd'.
|
||||||
|
# @param [Google::Apis::ServiceconsumermanagementV1::DeleteTenantProjectRequest] delete_tenant_project_request_object
|
||||||
|
# @param [String] fields
|
||||||
|
# Selector specifying which fields to include in a partial response.
|
||||||
|
# @param [String] quota_user
|
||||||
|
# Available to use for quota purposes for server-side applications. Can be any
|
||||||
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
||||||
|
# @param [Google::Apis::RequestOptions] options
|
||||||
|
# Request-specific options
|
||||||
|
#
|
||||||
|
# @yield [result, err] Result & error if block supplied
|
||||||
|
# @yieldparam result [Google::Apis::ServiceconsumermanagementV1::Operation] parsed result object
|
||||||
|
# @yieldparam err [StandardError] error object if request failed
|
||||||
|
#
|
||||||
|
# @return [Google::Apis::ServiceconsumermanagementV1::Operation]
|
||||||
|
#
|
||||||
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||||
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||||
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||||
|
def delete_service_tenancy_unit_project(name, delete_tenant_project_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||||
|
command = make_simple_command(:post, 'v1/{+name}:deleteProject', options)
|
||||||
|
command.request_representation = Google::Apis::ServiceconsumermanagementV1::DeleteTenantProjectRequest::Representation
|
||||||
|
command.request_object = delete_tenant_project_request_object
|
||||||
|
command.response_representation = Google::Apis::ServiceconsumermanagementV1::Operation::Representation
|
||||||
|
command.response_class = Google::Apis::ServiceconsumermanagementV1::Operation
|
||||||
|
command.params['name'] = name unless name.nil?
|
||||||
|
command.query['fields'] = fields unless fields.nil?
|
||||||
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||||
|
execute_or_queue_command(command, &block)
|
||||||
|
end
|
||||||
|
|
||||||
# Find the tenancy unit for a managed service and service consumer.
|
# Find the tenancy unit for a managed service and service consumer.
|
||||||
# This method shouldn't be used in a service producer's runtime path, for
|
# This method shouldn't be used in a service producer's runtime path, for
|
||||||
# example to find the tenant project number when creating VMs. Service
|
# example to find the tenant project number when creating VMs. Service
|
||||||
|
@ -548,6 +591,46 @@ module Google
|
||||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# Attempts to undelete a previously deleted tenant project. The project must
|
||||||
|
# be in a DELETED state.
|
||||||
|
# There are no guarantees that an undeleted project will be in
|
||||||
|
# a fully restored and functional state. Call the `ApplyTenantProjectConfig`
|
||||||
|
# method to update its configuration and then validate all managed service
|
||||||
|
# resources.
|
||||||
|
# Operation<response: Empty>.
|
||||||
|
# @param [String] name
|
||||||
|
# Name of the tenancy unit.
|
||||||
|
# Such as 'services/service.googleapis.com/projects/12345/tenancyUnits/abcd'.
|
||||||
|
# @param [Google::Apis::ServiceconsumermanagementV1::UndeleteTenantProjectRequest] undelete_tenant_project_request_object
|
||||||
|
# @param [String] fields
|
||||||
|
# Selector specifying which fields to include in a partial response.
|
||||||
|
# @param [String] quota_user
|
||||||
|
# Available to use for quota purposes for server-side applications. Can be any
|
||||||
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
||||||
|
# @param [Google::Apis::RequestOptions] options
|
||||||
|
# Request-specific options
|
||||||
|
#
|
||||||
|
# @yield [result, err] Result & error if block supplied
|
||||||
|
# @yieldparam result [Google::Apis::ServiceconsumermanagementV1::Operation] parsed result object
|
||||||
|
# @yieldparam err [StandardError] error object if request failed
|
||||||
|
#
|
||||||
|
# @return [Google::Apis::ServiceconsumermanagementV1::Operation]
|
||||||
|
#
|
||||||
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||||
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||||
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||||
|
def undelete_service_tenancy_unit_project(name, undelete_tenant_project_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||||
|
command = make_simple_command(:post, 'v1/{+name}:undeleteProject', options)
|
||||||
|
command.request_representation = Google::Apis::ServiceconsumermanagementV1::UndeleteTenantProjectRequest::Representation
|
||||||
|
command.request_object = undelete_tenant_project_request_object
|
||||||
|
command.response_representation = Google::Apis::ServiceconsumermanagementV1::Operation::Representation
|
||||||
|
command.response_class = Google::Apis::ServiceconsumermanagementV1::Operation
|
||||||
|
command.params['name'] = name unless name.nil?
|
||||||
|
command.query['fields'] = fields unless fields.nil?
|
||||||
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||||
|
execute_or_queue_command(command, &block)
|
||||||
|
end
|
||||||
|
|
||||||
protected
|
protected
|
||||||
|
|
||||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
||||||
# @see https://cloud.google.com/service-infrastructure/docs/service-networking/getting-started
|
# @see https://cloud.google.com/service-infrastructure/docs/service-networking/getting-started
|
||||||
module ServicenetworkingV1
|
module ServicenetworkingV1
|
||||||
VERSION = 'V1'
|
VERSION = 'V1'
|
||||||
REVISION = '20190313'
|
REVISION = '20190327'
|
||||||
|
|
||||||
# View and manage your data across Google Cloud Platform services
|
# View and manage your data across Google Cloud Platform services
|
||||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||||
|
|
|
@ -963,9 +963,9 @@ module Google
|
||||||
# The selector is a comma-separated list of patterns. Each pattern is a
|
# The selector is a comma-separated list of patterns. Each pattern is a
|
||||||
# qualified name of the element which may end in "*", indicating a wildcard.
|
# qualified name of the element which may end in "*", indicating a wildcard.
|
||||||
# Wildcards are only allowed at the end and for a whole component of the
|
# Wildcards are only allowed at the end and for a whole component of the
|
||||||
# qualified name, i.e. "foo.*" is ok, but not "foo.b*" or "foo.*.bar". To
|
# qualified name, i.e. "foo.*" is ok, but not "foo.b*" or "foo.*.bar". A
|
||||||
# specify a default for all applicable elements, the whole pattern "*"
|
# wildcard will match one or more components. To specify a default for all
|
||||||
# is used.
|
# applicable elements, the whole pattern "*" is used.
|
||||||
# Corresponds to the JSON property `selector`
|
# Corresponds to the JSON property `selector`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :selector
|
attr_accessor :selector
|
||||||
|
@ -2559,7 +2559,46 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
#
|
# Quota configuration helps to achieve fairness and budgeting in service
|
||||||
|
# usage.
|
||||||
|
# The metric based quota configuration works this way:
|
||||||
|
# - The service configuration defines a set of metrics.
|
||||||
|
# - For API calls, the quota.metric_rules maps methods to metrics with
|
||||||
|
# corresponding costs.
|
||||||
|
# - The quota.limits defines limits on the metrics, which will be used for
|
||||||
|
# quota checks at runtime.
|
||||||
|
# An example quota configuration in yaml format:
|
||||||
|
# quota:
|
||||||
|
# limits:
|
||||||
|
# - name: apiWriteQpsPerProject
|
||||||
|
# metric: library.googleapis.com/write_calls
|
||||||
|
# unit: "1/min/`project`" # rate limit for consumer projects
|
||||||
|
# values:
|
||||||
|
# STANDARD: 10000
|
||||||
|
# # The metric rules bind all methods to the read_calls metric,
|
||||||
|
# # except for the UpdateBook and DeleteBook methods. These two methods
|
||||||
|
# # are mapped to the write_calls metric, with the UpdateBook method
|
||||||
|
# # consuming at twice rate as the DeleteBook method.
|
||||||
|
# metric_rules:
|
||||||
|
# - selector: "*"
|
||||||
|
# metric_costs:
|
||||||
|
# library.googleapis.com/read_calls: 1
|
||||||
|
# - selector: google.example.library.v1.LibraryService.UpdateBook
|
||||||
|
# metric_costs:
|
||||||
|
# library.googleapis.com/write_calls: 2
|
||||||
|
# - selector: google.example.library.v1.LibraryService.DeleteBook
|
||||||
|
# metric_costs:
|
||||||
|
# library.googleapis.com/write_calls: 1
|
||||||
|
# Corresponding Metric definition:
|
||||||
|
# metrics:
|
||||||
|
# - name: library.googleapis.com/read_calls
|
||||||
|
# display_name: Read requests
|
||||||
|
# metric_kind: DELTA
|
||||||
|
# value_type: INT64
|
||||||
|
# - name: library.googleapis.com/write_calls
|
||||||
|
# display_name: Write requests
|
||||||
|
# metric_kind: DELTA
|
||||||
|
# value_type: INT64
|
||||||
class Quota
|
class Quota
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
@ -3089,7 +3128,46 @@ module Google
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :producer_project_id
|
attr_accessor :producer_project_id
|
||||||
|
|
||||||
# Quota configuration.
|
# Quota configuration helps to achieve fairness and budgeting in service
|
||||||
|
# usage.
|
||||||
|
# The metric based quota configuration works this way:
|
||||||
|
# - The service configuration defines a set of metrics.
|
||||||
|
# - For API calls, the quota.metric_rules maps methods to metrics with
|
||||||
|
# corresponding costs.
|
||||||
|
# - The quota.limits defines limits on the metrics, which will be used for
|
||||||
|
# quota checks at runtime.
|
||||||
|
# An example quota configuration in yaml format:
|
||||||
|
# quota:
|
||||||
|
# limits:
|
||||||
|
# - name: apiWriteQpsPerProject
|
||||||
|
# metric: library.googleapis.com/write_calls
|
||||||
|
# unit: "1/min/`project`" # rate limit for consumer projects
|
||||||
|
# values:
|
||||||
|
# STANDARD: 10000
|
||||||
|
# # The metric rules bind all methods to the read_calls metric,
|
||||||
|
# # except for the UpdateBook and DeleteBook methods. These two methods
|
||||||
|
# # are mapped to the write_calls metric, with the UpdateBook method
|
||||||
|
# # consuming at twice rate as the DeleteBook method.
|
||||||
|
# metric_rules:
|
||||||
|
# - selector: "*"
|
||||||
|
# metric_costs:
|
||||||
|
# library.googleapis.com/read_calls: 1
|
||||||
|
# - selector: google.example.library.v1.LibraryService.UpdateBook
|
||||||
|
# metric_costs:
|
||||||
|
# library.googleapis.com/write_calls: 2
|
||||||
|
# - selector: google.example.library.v1.LibraryService.DeleteBook
|
||||||
|
# metric_costs:
|
||||||
|
# library.googleapis.com/write_calls: 1
|
||||||
|
# Corresponding Metric definition:
|
||||||
|
# metrics:
|
||||||
|
# - name: library.googleapis.com/read_calls
|
||||||
|
# display_name: Read requests
|
||||||
|
# metric_kind: DELTA
|
||||||
|
# value_type: INT64
|
||||||
|
# - name: library.googleapis.com/write_calls
|
||||||
|
# display_name: Write requests
|
||||||
|
# metric_kind: DELTA
|
||||||
|
# value_type: INT64
|
||||||
# Corresponds to the JSON property `quota`
|
# Corresponds to the JSON property `quota`
|
||||||
# @return [Google::Apis::ServicenetworkingV1::Quota]
|
# @return [Google::Apis::ServicenetworkingV1::Quota]
|
||||||
attr_accessor :quota
|
attr_accessor :quota
|
||||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
||||||
# @see https://cloud.google.com/service-infrastructure/docs/service-networking/getting-started
|
# @see https://cloud.google.com/service-infrastructure/docs/service-networking/getting-started
|
||||||
module ServicenetworkingV1beta
|
module ServicenetworkingV1beta
|
||||||
VERSION = 'V1beta'
|
VERSION = 'V1beta'
|
||||||
REVISION = '20190306'
|
REVISION = '20190327'
|
||||||
|
|
||||||
# View and manage your data across Google Cloud Platform services
|
# View and manage your data across Google Cloud Platform services
|
||||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||||
|
|
|
@ -947,9 +947,9 @@ module Google
|
||||||
# The selector is a comma-separated list of patterns. Each pattern is a
|
# The selector is a comma-separated list of patterns. Each pattern is a
|
||||||
# qualified name of the element which may end in "*", indicating a wildcard.
|
# qualified name of the element which may end in "*", indicating a wildcard.
|
||||||
# Wildcards are only allowed at the end and for a whole component of the
|
# Wildcards are only allowed at the end and for a whole component of the
|
||||||
# qualified name, i.e. "foo.*" is ok, but not "foo.b*" or "foo.*.bar". To
|
# qualified name, i.e. "foo.*" is ok, but not "foo.b*" or "foo.*.bar". A
|
||||||
# specify a default for all applicable elements, the whole pattern "*"
|
# wildcard will match one or more components. To specify a default for all
|
||||||
# is used.
|
# applicable elements, the whole pattern "*" is used.
|
||||||
# Corresponds to the JSON property `selector`
|
# Corresponds to the JSON property `selector`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :selector
|
attr_accessor :selector
|
||||||
|
@ -2499,7 +2499,46 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
#
|
# Quota configuration helps to achieve fairness and budgeting in service
|
||||||
|
# usage.
|
||||||
|
# The metric based quota configuration works this way:
|
||||||
|
# - The service configuration defines a set of metrics.
|
||||||
|
# - For API calls, the quota.metric_rules maps methods to metrics with
|
||||||
|
# corresponding costs.
|
||||||
|
# - The quota.limits defines limits on the metrics, which will be used for
|
||||||
|
# quota checks at runtime.
|
||||||
|
# An example quota configuration in yaml format:
|
||||||
|
# quota:
|
||||||
|
# limits:
|
||||||
|
# - name: apiWriteQpsPerProject
|
||||||
|
# metric: library.googleapis.com/write_calls
|
||||||
|
# unit: "1/min/`project`" # rate limit for consumer projects
|
||||||
|
# values:
|
||||||
|
# STANDARD: 10000
|
||||||
|
# # The metric rules bind all methods to the read_calls metric,
|
||||||
|
# # except for the UpdateBook and DeleteBook methods. These two methods
|
||||||
|
# # are mapped to the write_calls metric, with the UpdateBook method
|
||||||
|
# # consuming at twice rate as the DeleteBook method.
|
||||||
|
# metric_rules:
|
||||||
|
# - selector: "*"
|
||||||
|
# metric_costs:
|
||||||
|
# library.googleapis.com/read_calls: 1
|
||||||
|
# - selector: google.example.library.v1.LibraryService.UpdateBook
|
||||||
|
# metric_costs:
|
||||||
|
# library.googleapis.com/write_calls: 2
|
||||||
|
# - selector: google.example.library.v1.LibraryService.DeleteBook
|
||||||
|
# metric_costs:
|
||||||
|
# library.googleapis.com/write_calls: 1
|
||||||
|
# Corresponding Metric definition:
|
||||||
|
# metrics:
|
||||||
|
# - name: library.googleapis.com/read_calls
|
||||||
|
# display_name: Read requests
|
||||||
|
# metric_kind: DELTA
|
||||||
|
# value_type: INT64
|
||||||
|
# - name: library.googleapis.com/write_calls
|
||||||
|
# display_name: Write requests
|
||||||
|
# metric_kind: DELTA
|
||||||
|
# value_type: INT64
|
||||||
class Quota
|
class Quota
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
@ -3029,7 +3068,46 @@ module Google
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :producer_project_id
|
attr_accessor :producer_project_id
|
||||||
|
|
||||||
# Quota configuration.
|
# Quota configuration helps to achieve fairness and budgeting in service
|
||||||
|
# usage.
|
||||||
|
# The metric based quota configuration works this way:
|
||||||
|
# - The service configuration defines a set of metrics.
|
||||||
|
# - For API calls, the quota.metric_rules maps methods to metrics with
|
||||||
|
# corresponding costs.
|
||||||
|
# - The quota.limits defines limits on the metrics, which will be used for
|
||||||
|
# quota checks at runtime.
|
||||||
|
# An example quota configuration in yaml format:
|
||||||
|
# quota:
|
||||||
|
# limits:
|
||||||
|
# - name: apiWriteQpsPerProject
|
||||||
|
# metric: library.googleapis.com/write_calls
|
||||||
|
# unit: "1/min/`project`" # rate limit for consumer projects
|
||||||
|
# values:
|
||||||
|
# STANDARD: 10000
|
||||||
|
# # The metric rules bind all methods to the read_calls metric,
|
||||||
|
# # except for the UpdateBook and DeleteBook methods. These two methods
|
||||||
|
# # are mapped to the write_calls metric, with the UpdateBook method
|
||||||
|
# # consuming at twice rate as the DeleteBook method.
|
||||||
|
# metric_rules:
|
||||||
|
# - selector: "*"
|
||||||
|
# metric_costs:
|
||||||
|
# library.googleapis.com/read_calls: 1
|
||||||
|
# - selector: google.example.library.v1.LibraryService.UpdateBook
|
||||||
|
# metric_costs:
|
||||||
|
# library.googleapis.com/write_calls: 2
|
||||||
|
# - selector: google.example.library.v1.LibraryService.DeleteBook
|
||||||
|
# metric_costs:
|
||||||
|
# library.googleapis.com/write_calls: 1
|
||||||
|
# Corresponding Metric definition:
|
||||||
|
# metrics:
|
||||||
|
# - name: library.googleapis.com/read_calls
|
||||||
|
# display_name: Read requests
|
||||||
|
# metric_kind: DELTA
|
||||||
|
# value_type: INT64
|
||||||
|
# - name: library.googleapis.com/write_calls
|
||||||
|
# display_name: Write requests
|
||||||
|
# metric_kind: DELTA
|
||||||
|
# value_type: INT64
|
||||||
# Corresponds to the JSON property `quota`
|
# Corresponds to the JSON property `quota`
|
||||||
# @return [Google::Apis::ServicenetworkingV1beta::Quota]
|
# @return [Google::Apis::ServicenetworkingV1beta::Quota]
|
||||||
attr_accessor :quota
|
attr_accessor :quota
|
||||||
|
|
|
@ -27,7 +27,7 @@ module Google
|
||||||
# @see https://cloud.google.com/service-usage/
|
# @see https://cloud.google.com/service-usage/
|
||||||
module ServiceusageV1
|
module ServiceusageV1
|
||||||
VERSION = 'V1'
|
VERSION = 'V1'
|
||||||
REVISION = '20190306'
|
REVISION = '20190327'
|
||||||
|
|
||||||
# View and manage your data across Google Cloud Platform services
|
# View and manage your data across Google Cloud Platform services
|
||||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||||
|
|
|
@ -928,9 +928,9 @@ module Google
|
||||||
# The selector is a comma-separated list of patterns. Each pattern is a
|
# The selector is a comma-separated list of patterns. Each pattern is a
|
||||||
# qualified name of the element which may end in "*", indicating a wildcard.
|
# qualified name of the element which may end in "*", indicating a wildcard.
|
||||||
# Wildcards are only allowed at the end and for a whole component of the
|
# Wildcards are only allowed at the end and for a whole component of the
|
||||||
# qualified name, i.e. "foo.*" is ok, but not "foo.b*" or "foo.*.bar". To
|
# qualified name, i.e. "foo.*" is ok, but not "foo.b*" or "foo.*.bar". A
|
||||||
# specify a default for all applicable elements, the whole pattern "*"
|
# wildcard will match one or more components. To specify a default for all
|
||||||
# is used.
|
# applicable elements, the whole pattern "*" is used.
|
||||||
# Corresponds to the JSON property `selector`
|
# Corresponds to the JSON property `selector`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :selector
|
attr_accessor :selector
|
||||||
|
@ -1597,7 +1597,46 @@ module Google
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :producer_project_id
|
attr_accessor :producer_project_id
|
||||||
|
|
||||||
# Quota configuration.
|
# Quota configuration helps to achieve fairness and budgeting in service
|
||||||
|
# usage.
|
||||||
|
# The metric based quota configuration works this way:
|
||||||
|
# - The service configuration defines a set of metrics.
|
||||||
|
# - For API calls, the quota.metric_rules maps methods to metrics with
|
||||||
|
# corresponding costs.
|
||||||
|
# - The quota.limits defines limits on the metrics, which will be used for
|
||||||
|
# quota checks at runtime.
|
||||||
|
# An example quota configuration in yaml format:
|
||||||
|
# quota:
|
||||||
|
# limits:
|
||||||
|
# - name: apiWriteQpsPerProject
|
||||||
|
# metric: library.googleapis.com/write_calls
|
||||||
|
# unit: "1/min/`project`" # rate limit for consumer projects
|
||||||
|
# values:
|
||||||
|
# STANDARD: 10000
|
||||||
|
# # The metric rules bind all methods to the read_calls metric,
|
||||||
|
# # except for the UpdateBook and DeleteBook methods. These two methods
|
||||||
|
# # are mapped to the write_calls metric, with the UpdateBook method
|
||||||
|
# # consuming at twice rate as the DeleteBook method.
|
||||||
|
# metric_rules:
|
||||||
|
# - selector: "*"
|
||||||
|
# metric_costs:
|
||||||
|
# library.googleapis.com/read_calls: 1
|
||||||
|
# - selector: google.example.library.v1.LibraryService.UpdateBook
|
||||||
|
# metric_costs:
|
||||||
|
# library.googleapis.com/write_calls: 2
|
||||||
|
# - selector: google.example.library.v1.LibraryService.DeleteBook
|
||||||
|
# metric_costs:
|
||||||
|
# library.googleapis.com/write_calls: 1
|
||||||
|
# Corresponding Metric definition:
|
||||||
|
# metrics:
|
||||||
|
# - name: library.googleapis.com/read_calls
|
||||||
|
# display_name: Read requests
|
||||||
|
# metric_kind: DELTA
|
||||||
|
# value_type: INT64
|
||||||
|
# - name: library.googleapis.com/write_calls
|
||||||
|
# display_name: Write requests
|
||||||
|
# metric_kind: DELTA
|
||||||
|
# value_type: INT64
|
||||||
# Corresponds to the JSON property `quota`
|
# Corresponds to the JSON property `quota`
|
||||||
# @return [Google::Apis::ServiceusageV1::Quota]
|
# @return [Google::Apis::ServiceusageV1::Quota]
|
||||||
attr_accessor :quota
|
attr_accessor :quota
|
||||||
|
@ -1837,7 +1876,46 @@ module Google
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :name
|
attr_accessor :name
|
||||||
|
|
||||||
# Quota configuration.
|
# Quota configuration helps to achieve fairness and budgeting in service
|
||||||
|
# usage.
|
||||||
|
# The metric based quota configuration works this way:
|
||||||
|
# - The service configuration defines a set of metrics.
|
||||||
|
# - For API calls, the quota.metric_rules maps methods to metrics with
|
||||||
|
# corresponding costs.
|
||||||
|
# - The quota.limits defines limits on the metrics, which will be used for
|
||||||
|
# quota checks at runtime.
|
||||||
|
# An example quota configuration in yaml format:
|
||||||
|
# quota:
|
||||||
|
# limits:
|
||||||
|
# - name: apiWriteQpsPerProject
|
||||||
|
# metric: library.googleapis.com/write_calls
|
||||||
|
# unit: "1/min/`project`" # rate limit for consumer projects
|
||||||
|
# values:
|
||||||
|
# STANDARD: 10000
|
||||||
|
# # The metric rules bind all methods to the read_calls metric,
|
||||||
|
# # except for the UpdateBook and DeleteBook methods. These two methods
|
||||||
|
# # are mapped to the write_calls metric, with the UpdateBook method
|
||||||
|
# # consuming at twice rate as the DeleteBook method.
|
||||||
|
# metric_rules:
|
||||||
|
# - selector: "*"
|
||||||
|
# metric_costs:
|
||||||
|
# library.googleapis.com/read_calls: 1
|
||||||
|
# - selector: google.example.library.v1.LibraryService.UpdateBook
|
||||||
|
# metric_costs:
|
||||||
|
# library.googleapis.com/write_calls: 2
|
||||||
|
# - selector: google.example.library.v1.LibraryService.DeleteBook
|
||||||
|
# metric_costs:
|
||||||
|
# library.googleapis.com/write_calls: 1
|
||||||
|
# Corresponding Metric definition:
|
||||||
|
# metrics:
|
||||||
|
# - name: library.googleapis.com/read_calls
|
||||||
|
# display_name: Read requests
|
||||||
|
# metric_kind: DELTA
|
||||||
|
# value_type: INT64
|
||||||
|
# - name: library.googleapis.com/write_calls
|
||||||
|
# display_name: Write requests
|
||||||
|
# metric_kind: DELTA
|
||||||
|
# value_type: INT64
|
||||||
# Corresponds to the JSON property `quota`
|
# Corresponds to the JSON property `quota`
|
||||||
# @return [Google::Apis::ServiceusageV1::Quota]
|
# @return [Google::Apis::ServiceusageV1::Quota]
|
||||||
attr_accessor :quota
|
attr_accessor :quota
|
||||||
|
@ -3164,7 +3242,46 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
#
|
# Quota configuration helps to achieve fairness and budgeting in service
|
||||||
|
# usage.
|
||||||
|
# The metric based quota configuration works this way:
|
||||||
|
# - The service configuration defines a set of metrics.
|
||||||
|
# - For API calls, the quota.metric_rules maps methods to metrics with
|
||||||
|
# corresponding costs.
|
||||||
|
# - The quota.limits defines limits on the metrics, which will be used for
|
||||||
|
# quota checks at runtime.
|
||||||
|
# An example quota configuration in yaml format:
|
||||||
|
# quota:
|
||||||
|
# limits:
|
||||||
|
# - name: apiWriteQpsPerProject
|
||||||
|
# metric: library.googleapis.com/write_calls
|
||||||
|
# unit: "1/min/`project`" # rate limit for consumer projects
|
||||||
|
# values:
|
||||||
|
# STANDARD: 10000
|
||||||
|
# # The metric rules bind all methods to the read_calls metric,
|
||||||
|
# # except for the UpdateBook and DeleteBook methods. These two methods
|
||||||
|
# # are mapped to the write_calls metric, with the UpdateBook method
|
||||||
|
# # consuming at twice rate as the DeleteBook method.
|
||||||
|
# metric_rules:
|
||||||
|
# - selector: "*"
|
||||||
|
# metric_costs:
|
||||||
|
# library.googleapis.com/read_calls: 1
|
||||||
|
# - selector: google.example.library.v1.LibraryService.UpdateBook
|
||||||
|
# metric_costs:
|
||||||
|
# library.googleapis.com/write_calls: 2
|
||||||
|
# - selector: google.example.library.v1.LibraryService.DeleteBook
|
||||||
|
# metric_costs:
|
||||||
|
# library.googleapis.com/write_calls: 1
|
||||||
|
# Corresponding Metric definition:
|
||||||
|
# metrics:
|
||||||
|
# - name: library.googleapis.com/read_calls
|
||||||
|
# display_name: Read requests
|
||||||
|
# metric_kind: DELTA
|
||||||
|
# value_type: INT64
|
||||||
|
# - name: library.googleapis.com/write_calls
|
||||||
|
# display_name: Write requests
|
||||||
|
# metric_kind: DELTA
|
||||||
|
# value_type: INT64
|
||||||
class Quota
|
class Quota
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
|
|
@ -27,7 +27,7 @@ module Google
|
||||||
# @see https://cloud.google.com/service-usage/
|
# @see https://cloud.google.com/service-usage/
|
||||||
module ServiceusageV1beta1
|
module ServiceusageV1beta1
|
||||||
VERSION = 'V1beta1'
|
VERSION = 'V1beta1'
|
||||||
REVISION = '20190306'
|
REVISION = '20190327'
|
||||||
|
|
||||||
# View and manage your data across Google Cloud Platform services
|
# View and manage your data across Google Cloud Platform services
|
||||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||||
|
|
|
@ -904,9 +904,9 @@ module Google
|
||||||
# The selector is a comma-separated list of patterns. Each pattern is a
|
# The selector is a comma-separated list of patterns. Each pattern is a
|
||||||
# qualified name of the element which may end in "*", indicating a wildcard.
|
# qualified name of the element which may end in "*", indicating a wildcard.
|
||||||
# Wildcards are only allowed at the end and for a whole component of the
|
# Wildcards are only allowed at the end and for a whole component of the
|
||||||
# qualified name, i.e. "foo.*" is ok, but not "foo.b*" or "foo.*.bar". To
|
# qualified name, i.e. "foo.*" is ok, but not "foo.b*" or "foo.*.bar". A
|
||||||
# specify a default for all applicable elements, the whole pattern "*"
|
# wildcard will match one or more components. To specify a default for all
|
||||||
# is used.
|
# applicable elements, the whole pattern "*" is used.
|
||||||
# Corresponds to the JSON property `selector`
|
# Corresponds to the JSON property `selector`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :selector
|
attr_accessor :selector
|
||||||
|
@ -1573,7 +1573,46 @@ module Google
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :producer_project_id
|
attr_accessor :producer_project_id
|
||||||
|
|
||||||
# Quota configuration.
|
# Quota configuration helps to achieve fairness and budgeting in service
|
||||||
|
# usage.
|
||||||
|
# The metric based quota configuration works this way:
|
||||||
|
# - The service configuration defines a set of metrics.
|
||||||
|
# - For API calls, the quota.metric_rules maps methods to metrics with
|
||||||
|
# corresponding costs.
|
||||||
|
# - The quota.limits defines limits on the metrics, which will be used for
|
||||||
|
# quota checks at runtime.
|
||||||
|
# An example quota configuration in yaml format:
|
||||||
|
# quota:
|
||||||
|
# limits:
|
||||||
|
# - name: apiWriteQpsPerProject
|
||||||
|
# metric: library.googleapis.com/write_calls
|
||||||
|
# unit: "1/min/`project`" # rate limit for consumer projects
|
||||||
|
# values:
|
||||||
|
# STANDARD: 10000
|
||||||
|
# # The metric rules bind all methods to the read_calls metric,
|
||||||
|
# # except for the UpdateBook and DeleteBook methods. These two methods
|
||||||
|
# # are mapped to the write_calls metric, with the UpdateBook method
|
||||||
|
# # consuming at twice rate as the DeleteBook method.
|
||||||
|
# metric_rules:
|
||||||
|
# - selector: "*"
|
||||||
|
# metric_costs:
|
||||||
|
# library.googleapis.com/read_calls: 1
|
||||||
|
# - selector: google.example.library.v1.LibraryService.UpdateBook
|
||||||
|
# metric_costs:
|
||||||
|
# library.googleapis.com/write_calls: 2
|
||||||
|
# - selector: google.example.library.v1.LibraryService.DeleteBook
|
||||||
|
# metric_costs:
|
||||||
|
# library.googleapis.com/write_calls: 1
|
||||||
|
# Corresponding Metric definition:
|
||||||
|
# metrics:
|
||||||
|
# - name: library.googleapis.com/read_calls
|
||||||
|
# display_name: Read requests
|
||||||
|
# metric_kind: DELTA
|
||||||
|
# value_type: INT64
|
||||||
|
# - name: library.googleapis.com/write_calls
|
||||||
|
# display_name: Write requests
|
||||||
|
# metric_kind: DELTA
|
||||||
|
# value_type: INT64
|
||||||
# Corresponds to the JSON property `quota`
|
# Corresponds to the JSON property `quota`
|
||||||
# @return [Google::Apis::ServiceusageV1beta1::Quota]
|
# @return [Google::Apis::ServiceusageV1beta1::Quota]
|
||||||
attr_accessor :quota
|
attr_accessor :quota
|
||||||
|
@ -1813,7 +1852,46 @@ module Google
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :name
|
attr_accessor :name
|
||||||
|
|
||||||
# Quota configuration.
|
# Quota configuration helps to achieve fairness and budgeting in service
|
||||||
|
# usage.
|
||||||
|
# The metric based quota configuration works this way:
|
||||||
|
# - The service configuration defines a set of metrics.
|
||||||
|
# - For API calls, the quota.metric_rules maps methods to metrics with
|
||||||
|
# corresponding costs.
|
||||||
|
# - The quota.limits defines limits on the metrics, which will be used for
|
||||||
|
# quota checks at runtime.
|
||||||
|
# An example quota configuration in yaml format:
|
||||||
|
# quota:
|
||||||
|
# limits:
|
||||||
|
# - name: apiWriteQpsPerProject
|
||||||
|
# metric: library.googleapis.com/write_calls
|
||||||
|
# unit: "1/min/`project`" # rate limit for consumer projects
|
||||||
|
# values:
|
||||||
|
# STANDARD: 10000
|
||||||
|
# # The metric rules bind all methods to the read_calls metric,
|
||||||
|
# # except for the UpdateBook and DeleteBook methods. These two methods
|
||||||
|
# # are mapped to the write_calls metric, with the UpdateBook method
|
||||||
|
# # consuming at twice rate as the DeleteBook method.
|
||||||
|
# metric_rules:
|
||||||
|
# - selector: "*"
|
||||||
|
# metric_costs:
|
||||||
|
# library.googleapis.com/read_calls: 1
|
||||||
|
# - selector: google.example.library.v1.LibraryService.UpdateBook
|
||||||
|
# metric_costs:
|
||||||
|
# library.googleapis.com/write_calls: 2
|
||||||
|
# - selector: google.example.library.v1.LibraryService.DeleteBook
|
||||||
|
# metric_costs:
|
||||||
|
# library.googleapis.com/write_calls: 1
|
||||||
|
# Corresponding Metric definition:
|
||||||
|
# metrics:
|
||||||
|
# - name: library.googleapis.com/read_calls
|
||||||
|
# display_name: Read requests
|
||||||
|
# metric_kind: DELTA
|
||||||
|
# value_type: INT64
|
||||||
|
# - name: library.googleapis.com/write_calls
|
||||||
|
# display_name: Write requests
|
||||||
|
# metric_kind: DELTA
|
||||||
|
# value_type: INT64
|
||||||
# Corresponds to the JSON property `quota`
|
# Corresponds to the JSON property `quota`
|
||||||
# @return [Google::Apis::ServiceusageV1beta1::Quota]
|
# @return [Google::Apis::ServiceusageV1beta1::Quota]
|
||||||
attr_accessor :quota
|
attr_accessor :quota
|
||||||
|
@ -3140,7 +3218,46 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
#
|
# Quota configuration helps to achieve fairness and budgeting in service
|
||||||
|
# usage.
|
||||||
|
# The metric based quota configuration works this way:
|
||||||
|
# - The service configuration defines a set of metrics.
|
||||||
|
# - For API calls, the quota.metric_rules maps methods to metrics with
|
||||||
|
# corresponding costs.
|
||||||
|
# - The quota.limits defines limits on the metrics, which will be used for
|
||||||
|
# quota checks at runtime.
|
||||||
|
# An example quota configuration in yaml format:
|
||||||
|
# quota:
|
||||||
|
# limits:
|
||||||
|
# - name: apiWriteQpsPerProject
|
||||||
|
# metric: library.googleapis.com/write_calls
|
||||||
|
# unit: "1/min/`project`" # rate limit for consumer projects
|
||||||
|
# values:
|
||||||
|
# STANDARD: 10000
|
||||||
|
# # The metric rules bind all methods to the read_calls metric,
|
||||||
|
# # except for the UpdateBook and DeleteBook methods. These two methods
|
||||||
|
# # are mapped to the write_calls metric, with the UpdateBook method
|
||||||
|
# # consuming at twice rate as the DeleteBook method.
|
||||||
|
# metric_rules:
|
||||||
|
# - selector: "*"
|
||||||
|
# metric_costs:
|
||||||
|
# library.googleapis.com/read_calls: 1
|
||||||
|
# - selector: google.example.library.v1.LibraryService.UpdateBook
|
||||||
|
# metric_costs:
|
||||||
|
# library.googleapis.com/write_calls: 2
|
||||||
|
# - selector: google.example.library.v1.LibraryService.DeleteBook
|
||||||
|
# metric_costs:
|
||||||
|
# library.googleapis.com/write_calls: 1
|
||||||
|
# Corresponding Metric definition:
|
||||||
|
# metrics:
|
||||||
|
# - name: library.googleapis.com/read_calls
|
||||||
|
# display_name: Read requests
|
||||||
|
# metric_kind: DELTA
|
||||||
|
# value_type: INT64
|
||||||
|
# - name: library.googleapis.com/write_calls
|
||||||
|
# display_name: Write requests
|
||||||
|
# metric_kind: DELTA
|
||||||
|
# value_type: INT64
|
||||||
class Quota
|
class Quota
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
@ -3416,7 +3533,46 @@ module Google
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :name
|
attr_accessor :name
|
||||||
|
|
||||||
# Quota configuration.
|
# Quota configuration helps to achieve fairness and budgeting in service
|
||||||
|
# usage.
|
||||||
|
# The metric based quota configuration works this way:
|
||||||
|
# - The service configuration defines a set of metrics.
|
||||||
|
# - For API calls, the quota.metric_rules maps methods to metrics with
|
||||||
|
# corresponding costs.
|
||||||
|
# - The quota.limits defines limits on the metrics, which will be used for
|
||||||
|
# quota checks at runtime.
|
||||||
|
# An example quota configuration in yaml format:
|
||||||
|
# quota:
|
||||||
|
# limits:
|
||||||
|
# - name: apiWriteQpsPerProject
|
||||||
|
# metric: library.googleapis.com/write_calls
|
||||||
|
# unit: "1/min/`project`" # rate limit for consumer projects
|
||||||
|
# values:
|
||||||
|
# STANDARD: 10000
|
||||||
|
# # The metric rules bind all methods to the read_calls metric,
|
||||||
|
# # except for the UpdateBook and DeleteBook methods. These two methods
|
||||||
|
# # are mapped to the write_calls metric, with the UpdateBook method
|
||||||
|
# # consuming at twice rate as the DeleteBook method.
|
||||||
|
# metric_rules:
|
||||||
|
# - selector: "*"
|
||||||
|
# metric_costs:
|
||||||
|
# library.googleapis.com/read_calls: 1
|
||||||
|
# - selector: google.example.library.v1.LibraryService.UpdateBook
|
||||||
|
# metric_costs:
|
||||||
|
# library.googleapis.com/write_calls: 2
|
||||||
|
# - selector: google.example.library.v1.LibraryService.DeleteBook
|
||||||
|
# metric_costs:
|
||||||
|
# library.googleapis.com/write_calls: 1
|
||||||
|
# Corresponding Metric definition:
|
||||||
|
# metrics:
|
||||||
|
# - name: library.googleapis.com/read_calls
|
||||||
|
# display_name: Read requests
|
||||||
|
# metric_kind: DELTA
|
||||||
|
# value_type: INT64
|
||||||
|
# - name: library.googleapis.com/write_calls
|
||||||
|
# display_name: Write requests
|
||||||
|
# metric_kind: DELTA
|
||||||
|
# value_type: INT64
|
||||||
# Corresponds to the JSON property `quota`
|
# Corresponds to the JSON property `quota`
|
||||||
# @return [Google::Apis::ServiceusageV1beta1::Quota]
|
# @return [Google::Apis::ServiceusageV1beta1::Quota]
|
||||||
attr_accessor :quota
|
attr_accessor :quota
|
||||||
|
|
Loading…
Reference in New Issue