From ca79486a04fafa533cf490d843649a1874296ca5 Mon Sep 17 00:00:00 2001 From: Google APIs Date: Sat, 30 Mar 2019 00:37:30 +0000 Subject: [PATCH] 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 --- api_names_out.yaml | 31 ++++ .../google/apis/adexchangebuyer2_v2beta1.rb | 2 +- .../apis/adexchangebuyer2_v2beta1/classes.rb | 1 - generated/google/apis/cloudasset_v1.rb | 4 +- .../google/apis/cloudasset_v1/service.rb | 2 +- generated/google/apis/cloudasset_v1beta1.rb | 4 +- .../google/apis/cloudasset_v1beta1/service.rb | 2 +- .../google/apis/cloudscheduler_v1beta1.rb | 2 +- .../apis/cloudscheduler_v1beta1/classes.rb | 100 +++++++++++ .../cloudscheduler_v1beta1/representations.rb | 33 ++++ generated/google/apis/cloudtasks_v2beta2.rb | 2 +- generated/google/apis/cloudtasks_v2beta3.rb | 2 +- generated/google/apis/composer_v1beta1.rb | 2 +- .../google/apis/composer_v1beta1/classes.rb | 45 ++--- generated/google/apis/container_v1beta1.rb | 2 +- .../google/apis/container_v1beta1/classes.rb | 70 ++++++++ .../apis/container_v1beta1/representations.rb | 32 ++++ generated/google/apis/dataflow_v1b3.rb | 2 +- .../google/apis/dataflow_v1b3/classes.rb | 29 +-- .../apis/dataflow_v1b3/representations.rb | 1 + generated/google/apis/dns_v1beta2.rb | 2 +- generated/google/apis/dns_v1beta2/classes.rb | 71 ++++++++ .../apis/dns_v1beta2/representations.rb | 33 ++++ .../apis/serviceconsumermanagement_v1.rb | 2 +- .../serviceconsumermanagement_v1/classes.rb | 127 ++++++++++++- .../representations.rb | 26 +++ .../serviceconsumermanagement_v1/service.rb | 83 +++++++++ generated/google/apis/servicenetworking_v1.rb | 2 +- .../apis/servicenetworking_v1/classes.rb | 88 ++++++++- .../google/apis/servicenetworking_v1beta.rb | 2 +- .../apis/servicenetworking_v1beta/classes.rb | 88 ++++++++- generated/google/apis/serviceusage_v1.rb | 2 +- .../google/apis/serviceusage_v1/classes.rb | 129 ++++++++++++- generated/google/apis/serviceusage_v1beta1.rb | 2 +- .../apis/serviceusage_v1beta1/classes.rb | 170 +++++++++++++++++- 35 files changed, 1116 insertions(+), 79 deletions(-) diff --git a/api_names_out.yaml b/api_names_out.yaml index 4d2abb79a..72d070361 100644 --- a/api_names_out.yaml +++ b/api_names_out.yaml @@ -18194,9 +18194,12 @@ "/cloudscheduler:v1beta1/HttpTarget/headers": headers "/cloudscheduler:v1beta1/HttpTarget/headers/header": header "/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/Job": job "/cloudscheduler:v1beta1/Job/appEngineHttpTarget": app_engine_http_target +"/cloudscheduler:v1beta1/Job/attemptDeadline": attempt_deadline "/cloudscheduler:v1beta1/Job/description": description "/cloudscheduler:v1beta1/Job/httpTarget": http_target "/cloudscheduler:v1beta1/Job/lastAttemptTime": last_attempt_time @@ -18225,6 +18228,12 @@ "/cloudscheduler:v1beta1/Location/metadata": metadata "/cloudscheduler:v1beta1/Location/metadata/metadatum": metadatum "/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/PubsubMessage": pubsub_message "/cloudscheduler:v1beta1/PubsubMessage/attributes": attributes @@ -40453,6 +40462,7 @@ "/container:v1beta1/ClusterUpdate/desiredClusterAutoscaling": desired_cluster_autoscaling "/container:v1beta1/ClusterUpdate/desiredDatabaseEncryption": desired_database_encryption "/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_location": desired_location "/container:v1beta1/ClusterUpdate/desiredLoggingService": desired_logging_service @@ -40540,6 +40550,8 @@ "/container:v1beta1/IPAllocationPolicy/subnetworkName": subnetwork_name "/container:v1beta1/IPAllocationPolicy/tpuIpv4CidrBlock": tpu_ipv4_cidr_block "/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/auth": auth "/container:v1beta1/IstioConfig/disabled": disabled @@ -40605,6 +40617,7 @@ "/container:v1beta1/Metric/name": name "/container:v1beta1/Metric/stringValue": string_value "/container:v1beta1/NetworkConfig": network_config +"/container:v1beta1/NetworkConfig/enableIntraNodeVisibility": enable_intra_node_visibility "/container:v1beta1/NetworkConfig/network": network "/container:v1beta1/NetworkConfig/subnetwork": subnetwork "/container:v1beta1/NetworkPolicy": network_policy @@ -46616,6 +46629,7 @@ "/dataflow:v1b3/Environment/sdkPipelineOptions": sdk_pipeline_options "/dataflow:v1b3/Environment/sdkPipelineOptions/sdk_pipeline_option": sdk_pipeline_option "/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/userAgent": user_agent "/dataflow:v1b3/Environment/userAgent/user_agent": user_agent @@ -71132,6 +71146,7 @@ "/dns:v1beta2/ManagedZone/nameServerSet": name_server_set "/dns:v1beta2/ManagedZone/nameServers": name_servers "/dns:v1beta2/ManagedZone/nameServers/name_server": name_server +"/dns:v1beta2/ManagedZone/peeringConfig": peering_config "/dns:v1beta2/ManagedZone/privateVisibilityConfig": private_visibility_config "/dns:v1beta2/ManagedZone/visibility": visibility "/dns:v1beta2/ManagedZoneDnsSecConfig": managed_zone_dns_sec_config @@ -71153,6 +71168,13 @@ "/dns:v1beta2/ManagedZoneOperationsListResponse/nextPageToken": next_page_token "/dns:v1beta2/ManagedZoneOperationsListResponse/operations": operations "/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/kind": kind "/dns:v1beta2/ManagedZonePrivateVisibilityConfig/networks": networks @@ -71199,6 +71221,7 @@ "/dns:v1beta2/Policy/alternativeNameServerConfig": alternative_name_server_config "/dns:v1beta2/Policy/description": description "/dns:v1beta2/Policy/enableInboundForwarding": enable_inbound_forwarding +"/dns:v1beta2/Policy/enableLogging": enable_logging "/dns:v1beta2/Policy/id": id "/dns:v1beta2/Policy/kind": kind "/dns:v1beta2/Policy/name": name @@ -92156,6 +92179,8 @@ "/serviceconsumermanagement:v1/CustomHttpPattern": custom_http_pattern "/serviceconsumermanagement:v1/CustomHttpPattern/kind": kind "/serviceconsumermanagement:v1/CustomHttpPattern/path": path +"/serviceconsumermanagement:v1/DeleteTenantProjectRequest": delete_tenant_project_request +"/serviceconsumermanagement:v1/DeleteTenantProjectRequest/tag": tag "/serviceconsumermanagement:v1/Documentation": documentation "/serviceconsumermanagement:v1/Documentation/documentationRootUrl": documentation_root_url "/serviceconsumermanagement:v1/Documentation/overview": overview @@ -92461,6 +92486,8 @@ "/serviceconsumermanagement:v1/Type/options/option": option "/serviceconsumermanagement:v1/Type/sourceContext": source_context "/serviceconsumermanagement:v1/Type/syntax": syntax +"/serviceconsumermanagement:v1/UndeleteTenantProjectRequest": undelete_tenant_project_request +"/serviceconsumermanagement:v1/UndeleteTenantProjectRequest/tag": tag "/serviceconsumermanagement:v1/Usage": usage "/serviceconsumermanagement:v1/Usage/producerNotificationChannel": producer_notification_channel "/serviceconsumermanagement:v1/Usage/requirements": requirements @@ -92506,6 +92533,8 @@ "/serviceconsumermanagement:v1/serviceconsumermanagement.services.tenancyUnits.create/parent": parent "/serviceconsumermanagement:v1/serviceconsumermanagement.services.tenancyUnits.delete": delete_service_tenancy_unit "/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/filter": filter "/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.removeProject": remove_service_tenancy_unit_project "/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/unusedArguments": unused_arguments "/servicecontrol:v1/AllocateInfo/unusedArguments/unused_argument": unused_argument diff --git a/generated/google/apis/adexchangebuyer2_v2beta1.rb b/generated/google/apis/adexchangebuyer2_v2beta1.rb index de906ee99..e655407f3 100644 --- a/generated/google/apis/adexchangebuyer2_v2beta1.rb +++ b/generated/google/apis/adexchangebuyer2_v2beta1.rb @@ -27,7 +27,7 @@ module Google # @see https://developers.google.com/authorized-buyers/apis/reference/rest/ module Adexchangebuyer2V2beta1 VERSION = 'V2beta1' - REVISION = '20190315' + REVISION = '20190328' # Manage your Ad Exchange buyer account configuration AUTH_ADEXCHANGE_BUYER = 'https://www.googleapis.com/auth/adexchange.buyer' diff --git a/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb b/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb index a481d8640..706d03c00 100644 --- a/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +++ b/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb @@ -621,7 +621,6 @@ module Google end # A creative and its classification data. - # Next ID: 42 class Creative include Google::Apis::Core::Hashable diff --git a/generated/google/apis/cloudasset_v1.rb b/generated/google/apis/cloudasset_v1.rb index 35d4592cc..56f362fb2 100644 --- a/generated/google/apis/cloudasset_v1.rb +++ b/generated/google/apis/cloudasset_v1.rb @@ -22,10 +22,10 @@ module Google # # 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 VERSION = 'V1' - REVISION = '20190321' + REVISION = '20190327' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/cloudasset_v1/service.rb b/generated/google/apis/cloudasset_v1/service.rb index d84b0ae34..62a8830da 100644 --- a/generated/google/apis/cloudasset_v1/service.rb +++ b/generated/google/apis/cloudasset_v1/service.rb @@ -30,7 +30,7 @@ module Google # Cloudasset = Google::Apis::CloudassetV1 # Alias the module # 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 # @return [String] # API key. Your API key identifies your project and provides you with API access, diff --git a/generated/google/apis/cloudasset_v1beta1.rb b/generated/google/apis/cloudasset_v1beta1.rb index 978faa113..c1b7d09a0 100644 --- a/generated/google/apis/cloudasset_v1beta1.rb +++ b/generated/google/apis/cloudasset_v1beta1.rb @@ -22,10 +22,10 @@ module Google # # 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 VERSION = 'V1beta1' - REVISION = '20190321' + REVISION = '20190327' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/cloudasset_v1beta1/service.rb b/generated/google/apis/cloudasset_v1beta1/service.rb index 011234686..8685f8a06 100644 --- a/generated/google/apis/cloudasset_v1beta1/service.rb +++ b/generated/google/apis/cloudasset_v1beta1/service.rb @@ -30,7 +30,7 @@ module Google # Cloudasset = Google::Apis::CloudassetV1beta1 # Alias the module # 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 # @return [String] # API key. Your API key identifies your project and provides you with API access, diff --git a/generated/google/apis/cloudscheduler_v1beta1.rb b/generated/google/apis/cloudscheduler_v1beta1.rb index b9287050b..23994bebc 100644 --- a/generated/google/apis/cloudscheduler_v1beta1.rb +++ b/generated/google/apis/cloudscheduler_v1beta1.rb @@ -25,7 +25,7 @@ module Google # @see https://cloud.google.com/scheduler/ module CloudschedulerV1beta1 VERSION = 'V1beta1' - REVISION = '20190315' + REVISION = '20190326' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/cloudscheduler_v1beta1/classes.rb b/generated/google/apis/cloudscheduler_v1beta1/classes.rb index 819173944..3a5cac0d0 100644 --- a/generated/google/apis/cloudscheduler_v1beta1/classes.rb +++ b/generated/google/apis/cloudscheduler_v1beta1/classes.rb @@ -285,6 +285,23 @@ module Google # @return [String] 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. # The full URI path that the request will be sent to. This string # must begin with either "http://" or "https://". Some examples of @@ -305,6 +322,8 @@ module Google @body = args[:body] if args.key?(:body) @headers = args[:headers] if args.key?(:headers) @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) end end @@ -327,6 +346,20 @@ module Google # @return [Google::Apis::CloudschedulerV1beta1::AppEngineHttpTarget] 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 # UpdateJob. # A human-readable description for the job. This string must not contain @@ -486,6 +519,7 @@ module Google # Update properties of this object def update!(**args) @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) @http_target = args[:http_target] if args.key?(:http_target) @last_attempt_time = args[:last_attempt_time] if args.key?(:last_attempt_time) @@ -603,6 +637,72 @@ module Google 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. class PauseJobRequest include Google::Apis::Core::Hashable diff --git a/generated/google/apis/cloudscheduler_v1beta1/representations.rb b/generated/google/apis/cloudscheduler_v1beta1/representations.rb index c12e98d3a..e1be4498f 100644 --- a/generated/google/apis/cloudscheduler_v1beta1/representations.rb +++ b/generated/google/apis/cloudscheduler_v1beta1/representations.rb @@ -70,6 +70,18 @@ module Google include Google::Apis::Core::JsonObjectSupport 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 Representation < Google::Apis::Core::JsonRepresentation; end @@ -146,6 +158,10 @@ module Google property :body, :base64 => true, as: 'body' hash :headers, as: 'headers' 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' end end @@ -155,6 +171,7 @@ module Google 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 :attempt_deadline, as: 'attemptDeadline' property :description, as: 'description' property :http_target, as: 'httpTarget', class: Google::Apis::CloudschedulerV1beta1::HttpTarget, decorator: Google::Apis::CloudschedulerV1beta1::HttpTarget::Representation @@ -203,6 +220,22 @@ module Google 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 # @private class Representation < Google::Apis::Core::JsonRepresentation diff --git a/generated/google/apis/cloudtasks_v2beta2.rb b/generated/google/apis/cloudtasks_v2beta2.rb index 01d2a7fd0..5ba7dc00d 100644 --- a/generated/google/apis/cloudtasks_v2beta2.rb +++ b/generated/google/apis/cloudtasks_v2beta2.rb @@ -25,7 +25,7 @@ module Google # @see https://cloud.google.com/tasks/ module CloudtasksV2beta2 VERSION = 'V2beta2' - REVISION = '20190314' + REVISION = '20190326' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/cloudtasks_v2beta3.rb b/generated/google/apis/cloudtasks_v2beta3.rb index 9a25d7b0b..b0b3a86e1 100644 --- a/generated/google/apis/cloudtasks_v2beta3.rb +++ b/generated/google/apis/cloudtasks_v2beta3.rb @@ -25,7 +25,7 @@ module Google # @see https://cloud.google.com/tasks/ module CloudtasksV2beta3 VERSION = 'V2beta3' - REVISION = '20190314' + REVISION = '20190326' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/composer_v1beta1.rb b/generated/google/apis/composer_v1beta1.rb index 267e635be..9c34bb4fd 100644 --- a/generated/google/apis/composer_v1beta1.rb +++ b/generated/google/apis/composer_v1beta1.rb @@ -25,7 +25,7 @@ module Google # @see https://cloud.google.com/composer/ module ComposerV1beta1 VERSION = 'V1beta1' - REVISION = '20190311' + REVISION = '20190323' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/composer_v1beta1/classes.rb b/generated/google/apis/composer_v1beta1/classes.rb index 817d7e7e4..282f97a4a 100644 --- a/generated/google/apis/composer_v1beta1/classes.rb +++ b/generated/google/apis/composer_v1beta1/classes.rb @@ -146,7 +146,8 @@ module Google # @return [Fixnum] 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` # @return [Google::Apis::ComposerV1beta1::PrivateEnvironmentConfig] attr_accessor :private_environment_config @@ -197,6 +198,7 @@ module Google # Optional. The name of the cluster's secondary range used to allocate # IP addresses to pods. Specify either `cluster_secondary_range_name` # 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` # @return [String] attr_accessor :cluster_secondary_range_name @@ -221,12 +223,13 @@ module Google # Optional. The name of the services' secondary range used to allocate # IP addresses to the cluster. Specify either `services_secondary_range_name` # 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` # @return [String] attr_accessor :services_secondary_range_name # 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` # @return [Boolean] attr_accessor :use_ip_aliases @@ -422,9 +425,8 @@ module Google attr_accessor :network # Optional. The set of Google API scopes to be made available on all - # node VMs. Defaults to - # ["https://www.googleapis.com/auth/cloud-platform"] and must be included in - # the list of specified scopes. Cannot be updated. + # node VMs. If `oauth_scopes` is empty, defaults to + # ["https://www.googleapis.com/auth/cloud-platform"]. Cannot be updated. # Corresponds to the JSON property `oauthScopes` # @return [Array] attr_accessor :oauth_scopes @@ -442,10 +444,8 @@ module Google # For example: # "projects/`projectId`/regions/`regionId`/subnetworks/`subnetworkId`" # If a subnetwork is provided, `nodeConfig.network` must also be provided, - # and the subnetwork must belong to the same project as the network. - # For Shared VPC, you must configure the subnetwork with secondary ranges - # named composer-pods and - # composer-services to support Alias IPs. + # and the subnetwork must belong to the enclosing environment's project and + # location. # Corresponds to the JSON property `subnetwork` # @return [String] attr_accessor :subnetwork @@ -630,24 +630,24 @@ module Google end end - # Configuration options for private cluster of Composer environment. + # Configuration options for the private GKE cluster in a Cloud Composer + # environment. class PrivateClusterConfig include Google::Apis::Core::Hashable - # Optional. If true, access to public endpoint of gke cluster will be denied. - # `IPAllocationPolicy.use_ip_aliases` must be true if this field is - # set to true. Default value is false. + # Optional. If `true`, access to the public endpoint of the GKE cluster is + # denied. # Corresponds to the JSON property `enablePrivateEndpoint` # @return [Boolean] attr_accessor :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 - # range will be used for assigning internal IP addresses to the cluster - # master or set of masters, as well as the ILB VIP (Internal Load Balance - # Virtual IP).This range must not overlap with any other ranges in use - # within the cluster's network. If left blank, default value of - # '172.16.0.0/28' will be used. + # range is used for assigning internal IP addresses to the cluster + # master or set of masters and to the internal load balancer virtual IP. + # This range must not overlap with any other ranges in use + # within the cluster's network. If left blank, the default value of + # '172.16.0.0/28' is used. # Corresponds to the JSON property `masterIpv4CidrBlock` # @return [String] attr_accessor :master_ipv4_cidr_block @@ -663,17 +663,20 @@ module Google end end - # The configuration information for configuring a private Composer environment. + # The configuration information for configuring a Private IP Cloud Composer + # environment. class PrivateEnvironmentConfig 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` # @return [Boolean] attr_accessor :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` # @return [Google::Apis::ComposerV1beta1::PrivateClusterConfig] attr_accessor :private_cluster_config diff --git a/generated/google/apis/container_v1beta1.rb b/generated/google/apis/container_v1beta1.rb index f0d9dad2e..75c927fb6 100644 --- a/generated/google/apis/container_v1beta1.rb +++ b/generated/google/apis/container_v1beta1.rb @@ -26,7 +26,7 @@ module Google # @see https://cloud.google.com/container-engine/ module ContainerV1beta1 VERSION = 'V1beta1' - REVISION = '20190227' + REVISION = '20190316' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/container_v1beta1/classes.rb b/generated/google/apis/container_v1beta1/classes.rb index 2cf5635e5..68c25157b 100644 --- a/generated/google/apis/container_v1beta1/classes.rb +++ b/generated/google/apis/container_v1beta1/classes.rb @@ -103,6 +103,34 @@ module Google 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 # the Auto Upgrades will proceed. class AutoUpgradeOptions @@ -290,6 +318,11 @@ module Google # @return [Google::Apis::ContainerV1beta1::AddonsConfig] 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 # required by Cluster Autoscaler to automatically adjust # the size of the cluster and create/delete @@ -641,6 +674,7 @@ module Google # Update properties of this object def update!(**args) @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) @binary_authorization = args[:binary_authorization] if args.key?(:binary_authorization) @cluster_ipv4_cidr = args[:cluster_ipv4_cidr] if args.key?(:cluster_ipv4_cidr) @@ -759,6 +793,12 @@ module Google # @return [String] 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 # [zones](/compute/docs/zones#available) in which the cluster's nodes # 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_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_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_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) @@ -1373,6 +1414,27 @@ module Google 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. class IstioConfig include Google::Apis::Core::Hashable @@ -1865,6 +1927,13 @@ module Google class NetworkConfig 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 # network(/compute/docs/networks-and-firewalls#networks) to which # the cluster is connected. @@ -1886,6 +1955,7 @@ module Google # Update properties of this object 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) @subnetwork = args[:subnetwork] if args.key?(:subnetwork) end diff --git a/generated/google/apis/container_v1beta1/representations.rb b/generated/google/apis/container_v1beta1/representations.rb index 2e550b915..3f2ae2192 100644 --- a/generated/google/apis/container_v1beta1/representations.rb +++ b/generated/google/apis/container_v1beta1/representations.rb @@ -34,6 +34,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class AuthenticatorGroupsConfig + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class AutoUpgradeOptions class Representation < Google::Apis::Core::JsonRepresentation; end @@ -160,6 +166,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class IntraNodeVisibilityConfig + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class IstioConfig class Representation < Google::Apis::Core::JsonRepresentation; end @@ -504,6 +516,14 @@ module Google end end + class AuthenticatorGroupsConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :enabled, as: 'enabled' + property :security_group, as: 'securityGroup' + end + end + class AutoUpgradeOptions # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -563,6 +583,8 @@ module Google class Representation < Google::Apis::Core::JsonRepresentation 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 :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_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' 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 @@ -782,6 +806,13 @@ module Google end end + class IntraNodeVisibilityConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :enabled, as: 'enabled' + end + end + class IstioConfig # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -930,6 +961,7 @@ module Google class NetworkConfig # @private class Representation < Google::Apis::Core::JsonRepresentation + property :enable_intra_node_visibility, as: 'enableIntraNodeVisibility' property :network, as: 'network' property :subnetwork, as: 'subnetwork' end diff --git a/generated/google/apis/dataflow_v1b3.rb b/generated/google/apis/dataflow_v1b3.rb index 1de6f6a64..165b6bb00 100644 --- a/generated/google/apis/dataflow_v1b3.rb +++ b/generated/google/apis/dataflow_v1b3.rb @@ -25,7 +25,7 @@ module Google # @see https://cloud.google.com/dataflow module DataflowV1b3 VERSION = 'V1b3' - REVISION = '20190131' + REVISION = '20190322' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/dataflow_v1b3/classes.rb b/generated/google/apis/dataflow_v1b3/classes.rb index a23a6aaec..824232bd5 100644 --- a/generated/google/apis/dataflow_v1b3/classes.rb +++ b/generated/google/apis/dataflow_v1b3/classes.rb @@ -1146,6 +1146,14 @@ module Google # @return [String] 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 # storage. The system will append the suffix "/temp-`JOBNAME` to # 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) @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_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) @user_agent = args[:user_agent] if args.key?(:user_agent) @version = args[:version] if args.key?(:version) @@ -1454,14 +1463,14 @@ module Google # @return [Google::Apis::DataflowV1b3::TemplateMetadata] attr_accessor :metadata - # The `Status` type defines a logical error model that is suitable for different - # programming environments, including REST APIs and RPC APIs. It is used by - # [gRPC](https://github.com/grpc). The error model is designed to be: + # The `Status` type defines a logical error model that is suitable for + # different programming environments, including REST APIs and RPC APIs. It is + # used by [gRPC](https://github.com/grpc). The error model is designed to be: # - Simple to use and understand for most users # - Flexible enough to meet unexpected needs # # Overview - # The `Status` message contains three pieces of data: error code, error message, - # and error details. The error code should be an enum value of + # The `Status` message contains three pieces of data: error code, error + # 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 # error message should be a developer-facing English message that helps # developers *understand* and *resolve* the error. If a localized user-facing @@ -4234,14 +4243,14 @@ module Google end end - # The `Status` type defines a logical error model that is suitable for different - # programming environments, including REST APIs and RPC APIs. It is used by - # [gRPC](https://github.com/grpc). The error model is designed to be: + # The `Status` type defines a logical error model that is suitable for + # different programming environments, including REST APIs and RPC APIs. It is + # used by [gRPC](https://github.com/grpc). The error model is designed to be: # - Simple to use and understand for most users # - Flexible enough to meet unexpected needs # # Overview - # The `Status` message contains three pieces of data: error code, error message, - # and error details. The error code should be an enum value of + # The `Status` message contains three pieces of data: error code, error + # 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 # error message should be a developer-facing English message that helps # developers *understand* and *resolve* the error. If a localized user-facing diff --git a/generated/google/apis/dataflow_v1b3/representations.rb b/generated/google/apis/dataflow_v1b3/representations.rb index 9fa7b981a..7be07ebe9 100644 --- a/generated/google/apis/dataflow_v1b3/representations.rb +++ b/generated/google/apis/dataflow_v1b3/representations.rb @@ -1150,6 +1150,7 @@ module Google hash :internal_experiments, as: 'internalExperiments' hash :sdk_pipeline_options, as: 'sdkPipelineOptions' property :service_account_email, as: 'serviceAccountEmail' + property :service_kms_key_name, as: 'serviceKmsKeyName' property :temp_storage_prefix, as: 'tempStoragePrefix' hash :user_agent, as: 'userAgent' hash :version, as: 'version' diff --git a/generated/google/apis/dns_v1beta2.rb b/generated/google/apis/dns_v1beta2.rb index b34afe154..344a45542 100644 --- a/generated/google/apis/dns_v1beta2.rb +++ b/generated/google/apis/dns_v1beta2.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/cloud-dns module DnsV1beta2 VERSION = 'V1beta2' - REVISION = '20190213' + REVISION = '20190328' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/dns_v1beta2/classes.rb b/generated/google/apis/dns_v1beta2/classes.rb index 74d9d7e1e..ea02fce7a 100644 --- a/generated/google/apis/dns_v1beta2/classes.rb +++ b/generated/google/apis/dns_v1beta2/classes.rb @@ -355,6 +355,11 @@ module Google # @return [Array] 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` # @return [Google::Apis::DnsV1beta2::ManagedZonePrivateVisibilityConfig] @@ -382,6 +387,7 @@ module Google @name = args[:name] if args.key?(:name) @name_server_set = args[:name_server_set] if args.key?(:name_server_set) @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) @visibility = args[:visibility] if args.key?(:visibility) end @@ -514,6 +520,64 @@ module Google 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 include Google::Apis::Core::Hashable @@ -822,6 +886,12 @@ module Google attr_accessor :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` # @return [Fixnum] @@ -851,6 +921,7 @@ module Google @alternative_name_server_config = args[:alternative_name_server_config] if args.key?(:alternative_name_server_config) @description = args[:description] if args.key?(:description) @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) @kind = args[:kind] if args.key?(:kind) @name = args[:name] if args.key?(:name) diff --git a/generated/google/apis/dns_v1beta2/representations.rb b/generated/google/apis/dns_v1beta2/representations.rb index b6db7d675..4272a10e3 100644 --- a/generated/google/apis/dns_v1beta2/representations.rb +++ b/generated/google/apis/dns_v1beta2/representations.rb @@ -88,6 +88,18 @@ module Google include Google::Apis::Core::JsonObjectSupport 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 Representation < Google::Apis::Core::JsonRepresentation; end @@ -287,6 +299,8 @@ module Google property :name, as: 'name' property :name_server_set, as: 'nameServerSet' 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 :visibility, as: 'visibility' @@ -333,6 +347,24 @@ module Google 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 # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -437,6 +469,7 @@ module Google property :description, as: 'description' property :enable_inbound_forwarding, as: 'enableInboundForwarding' + property :enable_logging, as: 'enableLogging' property :id, :numeric_string => true, as: 'id' property :kind, as: 'kind' property :name, as: 'name' diff --git a/generated/google/apis/serviceconsumermanagement_v1.rb b/generated/google/apis/serviceconsumermanagement_v1.rb index 2bff839a1..056efe00d 100644 --- a/generated/google/apis/serviceconsumermanagement_v1.rb +++ b/generated/google/apis/serviceconsumermanagement_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://cloud.google.com/service-consumer-management/docs/overview module ServiceconsumermanagementV1 VERSION = 'V1' - REVISION = '20190323' + REVISION = '20190328' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/serviceconsumermanagement_v1/classes.rb b/generated/google/apis/serviceconsumermanagement_v1/classes.rb index dd732d88a..3c75faf87 100644 --- a/generated/google/apis/serviceconsumermanagement_v1/classes.rb +++ b/generated/google/apis/serviceconsumermanagement_v1/classes.rb @@ -843,6 +843,25 @@ module Google 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. # Example: #
documentation:
@@ -967,9 +986,9 @@ module Google
         # 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.
         # 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
-        # specify a default for all applicable elements, the whole pattern "*"
-        # is used.
+        # qualified name, i.e. "foo.*" is ok, but not "foo.b*" or "foo.*.bar". A
+        # wildcard will match one or more components. To specify a default for all
+        # applicable elements, the whole pattern "*" is used.
         # Corresponds to the JSON property `selector`
         # @return [String]
         attr_accessor :selector
@@ -2553,7 +2572,46 @@ module Google
         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
         include Google::Apis::Core::Hashable
       
@@ -3065,7 +3123,46 @@ module Google
         # @return [String]
         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`
         # @return [Google::Apis::ServiceconsumermanagementV1::Quota]
         attr_accessor :quota
@@ -3620,6 +3717,26 @@ module Google
         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.
       class Usage
         include Google::Apis::Core::Hashable
diff --git a/generated/google/apis/serviceconsumermanagement_v1/representations.rb b/generated/google/apis/serviceconsumermanagement_v1/representations.rb
index 832bf4d85..e04d16cea 100644
--- a/generated/google/apis/serviceconsumermanagement_v1/representations.rb
+++ b/generated/google/apis/serviceconsumermanagement_v1/representations.rb
@@ -154,6 +154,12 @@ module Google
         include Google::Apis::Core::JsonObjectSupport
       end
       
+      class DeleteTenantProjectRequest
+        class Representation < Google::Apis::Core::JsonRepresentation; end
+      
+        include Google::Apis::Core::JsonObjectSupport
+      end
+      
       class Documentation
         class Representation < Google::Apis::Core::JsonRepresentation; end
       
@@ -430,6 +436,12 @@ module Google
         include Google::Apis::Core::JsonObjectSupport
       end
       
+      class UndeleteTenantProjectRequest
+        class Representation < Google::Apis::Core::JsonRepresentation; end
+      
+        include Google::Apis::Core::JsonObjectSupport
+      end
+      
       class Usage
         class Representation < Google::Apis::Core::JsonRepresentation; end
       
@@ -642,6 +654,13 @@ module Google
         end
       end
       
+      class DeleteTenantProjectRequest
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+          property :tag, as: 'tag'
+        end
+      end
+      
       class Documentation
         # @private
         class Representation < Google::Apis::Core::JsonRepresentation
@@ -1159,6 +1178,13 @@ module Google
         end
       end
       
+      class UndeleteTenantProjectRequest
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+          property :tag, as: 'tag'
+        end
+      end
+      
       class Usage
         # @private
         class Representation < Google::Apis::Core::JsonRepresentation
diff --git a/generated/google/apis/serviceconsumermanagement_v1/service.rb b/generated/google/apis/serviceconsumermanagement_v1/service.rb
index 71085451a..5c0d4191a 100644
--- a/generated/google/apis/serviceconsumermanagement_v1/service.rb
+++ b/generated/google/apis/serviceconsumermanagement_v1/service.rb
@@ -458,6 +458,49 @@ module Google
           execute_or_queue_command(command, &block)
         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.
+        # @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.
         # 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
@@ -548,6 +591,46 @@ module Google
           command.query['quotaUser'] = quota_user unless quota_user.nil?
           execute_or_queue_command(command, &block)
         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.
+        # @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
 
diff --git a/generated/google/apis/servicenetworking_v1.rb b/generated/google/apis/servicenetworking_v1.rb
index 84ade6754..69cecef1a 100644
--- a/generated/google/apis/servicenetworking_v1.rb
+++ b/generated/google/apis/servicenetworking_v1.rb
@@ -26,7 +26,7 @@ module Google
     # @see https://cloud.google.com/service-infrastructure/docs/service-networking/getting-started
     module ServicenetworkingV1
       VERSION = 'V1'
-      REVISION = '20190313'
+      REVISION = '20190327'
 
       # View and manage your data across Google Cloud Platform services
       AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
diff --git a/generated/google/apis/servicenetworking_v1/classes.rb b/generated/google/apis/servicenetworking_v1/classes.rb
index dcdaa16af..7be8175c9 100644
--- a/generated/google/apis/servicenetworking_v1/classes.rb
+++ b/generated/google/apis/servicenetworking_v1/classes.rb
@@ -963,9 +963,9 @@ module Google
         # 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.
         # 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
-        # specify a default for all applicable elements, the whole pattern "*"
-        # is used.
+        # qualified name, i.e. "foo.*" is ok, but not "foo.b*" or "foo.*.bar". A
+        # wildcard will match one or more components. To specify a default for all
+        # applicable elements, the whole pattern "*" is used.
         # Corresponds to the JSON property `selector`
         # @return [String]
         attr_accessor :selector
@@ -2559,7 +2559,46 @@ module Google
         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
         include Google::Apis::Core::Hashable
       
@@ -3089,7 +3128,46 @@ module Google
         # @return [String]
         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`
         # @return [Google::Apis::ServicenetworkingV1::Quota]
         attr_accessor :quota
diff --git a/generated/google/apis/servicenetworking_v1beta.rb b/generated/google/apis/servicenetworking_v1beta.rb
index 5694addfa..f5ffa1a81 100644
--- a/generated/google/apis/servicenetworking_v1beta.rb
+++ b/generated/google/apis/servicenetworking_v1beta.rb
@@ -26,7 +26,7 @@ module Google
     # @see https://cloud.google.com/service-infrastructure/docs/service-networking/getting-started
     module ServicenetworkingV1beta
       VERSION = 'V1beta'
-      REVISION = '20190306'
+      REVISION = '20190327'
 
       # View and manage your data across Google Cloud Platform services
       AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
diff --git a/generated/google/apis/servicenetworking_v1beta/classes.rb b/generated/google/apis/servicenetworking_v1beta/classes.rb
index a9445c05f..abc11d8c4 100644
--- a/generated/google/apis/servicenetworking_v1beta/classes.rb
+++ b/generated/google/apis/servicenetworking_v1beta/classes.rb
@@ -947,9 +947,9 @@ module Google
         # 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.
         # 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
-        # specify a default for all applicable elements, the whole pattern "*"
-        # is used.
+        # qualified name, i.e. "foo.*" is ok, but not "foo.b*" or "foo.*.bar". A
+        # wildcard will match one or more components. To specify a default for all
+        # applicable elements, the whole pattern "*" is used.
         # Corresponds to the JSON property `selector`
         # @return [String]
         attr_accessor :selector
@@ -2499,7 +2499,46 @@ module Google
         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
         include Google::Apis::Core::Hashable
       
@@ -3029,7 +3068,46 @@ module Google
         # @return [String]
         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`
         # @return [Google::Apis::ServicenetworkingV1beta::Quota]
         attr_accessor :quota
diff --git a/generated/google/apis/serviceusage_v1.rb b/generated/google/apis/serviceusage_v1.rb
index 542f420d9..f994954f8 100644
--- a/generated/google/apis/serviceusage_v1.rb
+++ b/generated/google/apis/serviceusage_v1.rb
@@ -27,7 +27,7 @@ module Google
     # @see https://cloud.google.com/service-usage/
     module ServiceusageV1
       VERSION = 'V1'
-      REVISION = '20190306'
+      REVISION = '20190327'
 
       # View and manage your data across Google Cloud Platform services
       AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
diff --git a/generated/google/apis/serviceusage_v1/classes.rb b/generated/google/apis/serviceusage_v1/classes.rb
index d266ff55d..1e665f6ea 100644
--- a/generated/google/apis/serviceusage_v1/classes.rb
+++ b/generated/google/apis/serviceusage_v1/classes.rb
@@ -928,9 +928,9 @@ module Google
         # 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.
         # 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
-        # specify a default for all applicable elements, the whole pattern "*"
-        # is used.
+        # qualified name, i.e. "foo.*" is ok, but not "foo.b*" or "foo.*.bar". A
+        # wildcard will match one or more components. To specify a default for all
+        # applicable elements, the whole pattern "*" is used.
         # Corresponds to the JSON property `selector`
         # @return [String]
         attr_accessor :selector
@@ -1597,7 +1597,46 @@ module Google
         # @return [String]
         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`
         # @return [Google::Apis::ServiceusageV1::Quota]
         attr_accessor :quota
@@ -1837,7 +1876,46 @@ module Google
         # @return [String]
         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`
         # @return [Google::Apis::ServiceusageV1::Quota]
         attr_accessor :quota
@@ -3164,7 +3242,46 @@ module Google
         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
         include Google::Apis::Core::Hashable
       
diff --git a/generated/google/apis/serviceusage_v1beta1.rb b/generated/google/apis/serviceusage_v1beta1.rb
index c55a673e3..37a5f443d 100644
--- a/generated/google/apis/serviceusage_v1beta1.rb
+++ b/generated/google/apis/serviceusage_v1beta1.rb
@@ -27,7 +27,7 @@ module Google
     # @see https://cloud.google.com/service-usage/
     module ServiceusageV1beta1
       VERSION = 'V1beta1'
-      REVISION = '20190306'
+      REVISION = '20190327'
 
       # View and manage your data across Google Cloud Platform services
       AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
diff --git a/generated/google/apis/serviceusage_v1beta1/classes.rb b/generated/google/apis/serviceusage_v1beta1/classes.rb
index 09888c6ef..dc53c0b36 100644
--- a/generated/google/apis/serviceusage_v1beta1/classes.rb
+++ b/generated/google/apis/serviceusage_v1beta1/classes.rb
@@ -904,9 +904,9 @@ module Google
         # 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.
         # 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
-        # specify a default for all applicable elements, the whole pattern "*"
-        # is used.
+        # qualified name, i.e. "foo.*" is ok, but not "foo.b*" or "foo.*.bar". A
+        # wildcard will match one or more components. To specify a default for all
+        # applicable elements, the whole pattern "*" is used.
         # Corresponds to the JSON property `selector`
         # @return [String]
         attr_accessor :selector
@@ -1573,7 +1573,46 @@ module Google
         # @return [String]
         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`
         # @return [Google::Apis::ServiceusageV1beta1::Quota]
         attr_accessor :quota
@@ -1813,7 +1852,46 @@ module Google
         # @return [String]
         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`
         # @return [Google::Apis::ServiceusageV1beta1::Quota]
         attr_accessor :quota
@@ -3140,7 +3218,46 @@ module Google
         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
         include Google::Apis::Core::Hashable
       
@@ -3416,7 +3533,46 @@ module Google
         # @return [String]
         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`
         # @return [Google::Apis::ServiceusageV1beta1::Quota]
         attr_accessor :quota