diff --git a/api_names_out.yaml b/api_names_out.yaml index afb896e23..ba21428e0 100644 --- a/api_names_out.yaml +++ b/api_names_out.yaml @@ -7271,6 +7271,7 @@ "/androidpublisher:v3/InAppProduct": in_app_product "/androidpublisher:v3/InAppProduct/defaultLanguage": default_language "/androidpublisher:v3/InAppProduct/defaultPrice": default_price +"/androidpublisher:v3/InAppProduct/gracePeriod": grace_period "/androidpublisher:v3/InAppProduct/listings": listings "/androidpublisher:v3/InAppProduct/listings/listing": listing "/androidpublisher:v3/InAppProduct/packageName": package_name @@ -37003,6 +37004,7 @@ "/dataproc:v1beta2/Cluster/statusHistory/status_history": status_history "/dataproc:v1beta2/ClusterConfig": cluster_config "/dataproc:v1beta2/ClusterConfig/configBucket": config_bucket +"/dataproc:v1beta2/ClusterConfig/encryptionConfig": encryption_config "/dataproc:v1beta2/ClusterConfig/gceClusterConfig": gce_cluster_config "/dataproc:v1beta2/ClusterConfig/initializationActions": initialization_actions "/dataproc:v1beta2/ClusterConfig/initializationActions/initialization_action": initialization_action @@ -37054,6 +37056,8 @@ "/dataproc:v1beta2/DiskConfig/bootDiskType": boot_disk_type "/dataproc:v1beta2/DiskConfig/numLocalSsds": num_local_ssds "/dataproc:v1beta2/Empty": empty +"/dataproc:v1beta2/EncryptionConfig": encryption_config +"/dataproc:v1beta2/EncryptionConfig/gcePdKmsKeyName": gce_pd_kms_key_name "/dataproc:v1beta2/GceClusterConfig": gce_cluster_config "/dataproc:v1beta2/GceClusterConfig/internalIpOnly": internal_ip_only "/dataproc:v1beta2/GceClusterConfig/metadata": metadata @@ -71022,6 +71026,7 @@ "/serviceusage:v1beta1/DocumentationRule/deprecationDescription": deprecation_description "/serviceusage:v1beta1/DocumentationRule/description": description "/serviceusage:v1beta1/DocumentationRule/selector": selector +"/serviceusage:v1beta1/Empty": empty "/serviceusage:v1beta1/EnableFailure": enable_failure "/serviceusage:v1beta1/EnableFailure/errorMessage": error_message "/serviceusage:v1beta1/EnableFailure/serviceId": service_id diff --git a/generated/google/apis/androidpublisher_v3.rb b/generated/google/apis/androidpublisher_v3.rb index 7025b9a42..576c069f1 100644 --- a/generated/google/apis/androidpublisher_v3.rb +++ b/generated/google/apis/androidpublisher_v3.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/android-publisher module AndroidpublisherV3 VERSION = 'V3' - REVISION = '20180528' + REVISION = '20180605' # View and manage your Google Play Developer account AUTH_ANDROIDPUBLISHER = 'https://www.googleapis.com/auth/androidpublisher' diff --git a/generated/google/apis/androidpublisher_v3/classes.rb b/generated/google/apis/androidpublisher_v3/classes.rb index 68c70c141..b15fb8773 100644 --- a/generated/google/apis/androidpublisher_v3/classes.rb +++ b/generated/google/apis/androidpublisher_v3/classes.rb @@ -718,6 +718,14 @@ module Google # @return [Google::Apis::AndroidpublisherV3::Price] attr_accessor :default_price + # Grace period of the subscription, specified in ISO 8601 format. It will allow + # developers to give their subscribers a grace period when the payment for the + # new recurrence period is declined. Acceptable values = "P3D" (three days) and " + # P7D" (seven days) + # Corresponds to the JSON property `gracePeriod` + # @return [String] + attr_accessor :grace_period + # List of localized title and description data. # Corresponds to the JSON property `listings` # @return [Hash] @@ -777,6 +785,7 @@ module Google def update!(**args) @default_language = args[:default_language] if args.key?(:default_language) @default_price = args[:default_price] if args.key?(:default_price) + @grace_period = args[:grace_period] if args.key?(:grace_period) @listings = args[:listings] if args.key?(:listings) @package_name = args[:package_name] if args.key?(:package_name) @prices = args[:prices] if args.key?(:prices) diff --git a/generated/google/apis/androidpublisher_v3/representations.rb b/generated/google/apis/androidpublisher_v3/representations.rb index 4f1d33d2f..b2238e8da 100644 --- a/generated/google/apis/androidpublisher_v3/representations.rb +++ b/generated/google/apis/androidpublisher_v3/representations.rb @@ -554,6 +554,7 @@ module Google property :default_language, as: 'defaultLanguage' property :default_price, as: 'defaultPrice', class: Google::Apis::AndroidpublisherV3::Price, decorator: Google::Apis::AndroidpublisherV3::Price::Representation + property :grace_period, as: 'gracePeriod' hash :listings, as: 'listings', class: Google::Apis::AndroidpublisherV3::InAppProductListing, decorator: Google::Apis::AndroidpublisherV3::InAppProductListing::Representation property :package_name, as: 'packageName' diff --git a/generated/google/apis/cloudtasks_v2beta2.rb b/generated/google/apis/cloudtasks_v2beta2.rb index 3773ec531..3edd35949 100644 --- a/generated/google/apis/cloudtasks_v2beta2.rb +++ b/generated/google/apis/cloudtasks_v2beta2.rb @@ -26,7 +26,7 @@ module Google # @see https://cloud.google.com/cloud-tasks/ module CloudtasksV2beta2 VERSION = 'V2beta2' - REVISION = '20180531' + REVISION = '20180606' # 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/dataproc_v1.rb b/generated/google/apis/dataproc_v1.rb index 25a2ec6d8..04695de78 100644 --- a/generated/google/apis/dataproc_v1.rb +++ b/generated/google/apis/dataproc_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://cloud.google.com/dataproc/ module DataprocV1 VERSION = 'V1' - REVISION = '20180502' + REVISION = '20180601' # 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/dataproc_v1beta2.rb b/generated/google/apis/dataproc_v1beta2.rb index f097fa762..e5c933478 100644 --- a/generated/google/apis/dataproc_v1beta2.rb +++ b/generated/google/apis/dataproc_v1beta2.rb @@ -25,7 +25,7 @@ module Google # @see https://cloud.google.com/dataproc/ module DataprocV1beta2 VERSION = 'V1beta2' - REVISION = '20180522' + REVISION = '20180601' # 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/dataproc_v1beta2/classes.rb b/generated/google/apis/dataproc_v1beta2/classes.rb index 3357ac277..5d4a71dd5 100644 --- a/generated/google/apis/dataproc_v1beta2/classes.rb +++ b/generated/google/apis/dataproc_v1beta2/classes.rb @@ -191,6 +191,11 @@ module Google # @return [String] attr_accessor :config_bucket + # Encryption settings for the cluster. + # Corresponds to the JSON property `encryptionConfig` + # @return [Google::Apis::DataprocV1beta2::EncryptionConfig] + attr_accessor :encryption_config + # Common config settings for resources of Compute Engine cluster instances, # applicable to all instances in the cluster. # Corresponds to the JSON property `gceClusterConfig` @@ -247,6 +252,7 @@ module Google # Update properties of this object def update!(**args) @config_bucket = args[:config_bucket] if args.key?(:config_bucket) + @encryption_config = args[:encryption_config] if args.key?(:encryption_config) @gce_cluster_config = args[:gce_cluster_config] if args.key?(:gce_cluster_config) @initialization_actions = args[:initialization_actions] if args.key?(:initialization_actions) @lifecycle_config = args[:lifecycle_config] if args.key?(:lifecycle_config) @@ -568,6 +574,26 @@ module Google end end + # Encryption settings for the cluster. + class EncryptionConfig + include Google::Apis::Core::Hashable + + # Optional. The Cloud KMS key name to use for PD disk encryption for all + # instances in the cluster. + # Corresponds to the JSON property `gcePdKmsKeyName` + # @return [String] + attr_accessor :gce_pd_kms_key_name + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @gce_pd_kms_key_name = args[:gce_pd_kms_key_name] if args.key?(:gce_pd_kms_key_name) + end + end + # Common config settings for resources of Compute Engine cluster instances, # applicable to all instances in the cluster. class GceClusterConfig diff --git a/generated/google/apis/dataproc_v1beta2/representations.rb b/generated/google/apis/dataproc_v1beta2/representations.rb index 450e82113..2072af72b 100644 --- a/generated/google/apis/dataproc_v1beta2/representations.rb +++ b/generated/google/apis/dataproc_v1beta2/representations.rb @@ -112,6 +112,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class EncryptionConfig + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GceClusterConfig class Representation < Google::Apis::Core::JsonRepresentation; end @@ -420,6 +426,8 @@ module Google # @private class Representation < Google::Apis::Core::JsonRepresentation property :config_bucket, as: 'configBucket' + property :encryption_config, as: 'encryptionConfig', class: Google::Apis::DataprocV1beta2::EncryptionConfig, decorator: Google::Apis::DataprocV1beta2::EncryptionConfig::Representation + property :gce_cluster_config, as: 'gceClusterConfig', class: Google::Apis::DataprocV1beta2::GceClusterConfig, decorator: Google::Apis::DataprocV1beta2::GceClusterConfig::Representation collection :initialization_actions, as: 'initializationActions', class: Google::Apis::DataprocV1beta2::NodeInitializationAction, decorator: Google::Apis::DataprocV1beta2::NodeInitializationAction::Representation @@ -526,6 +534,13 @@ module Google end end + class EncryptionConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :gce_pd_kms_key_name, as: 'gcePdKmsKeyName' + end + end + class GceClusterConfig # @private class Representation < Google::Apis::Core::JsonRepresentation diff --git a/generated/google/apis/dialogflow_v2.rb b/generated/google/apis/dialogflow_v2.rb index 3b3169799..df66edf68 100644 --- a/generated/google/apis/dialogflow_v2.rb +++ b/generated/google/apis/dialogflow_v2.rb @@ -26,7 +26,7 @@ module Google # @see https://cloud.google.com/dialogflow-enterprise/ module DialogflowV2 VERSION = 'V2' - REVISION = '20180508' + REVISION = '20180604' # 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/dialogflow_v2/classes.rb b/generated/google/apis/dialogflow_v2/classes.rb index 3841dbd22..a1a6246be 100644 --- a/generated/google/apis/dialogflow_v2/classes.rb +++ b/generated/google/apis/dialogflow_v2/classes.rb @@ -813,6 +813,7 @@ module Google # Represents an intent. # Intents convert a number of user expressions or patterns into an action. An # action is an extraction of a user command or sentence semantics. + # Next available field number: 22. class GoogleCloudDialogflowV2Intent include Google::Apis::Core::Hashable @@ -2024,6 +2025,7 @@ module Google # Represents an intent. # Intents convert a number of user expressions or patterns into an action. An # action is an extraction of a user command or sentence semantics. + # Next available field number: 22. # Corresponds to the JSON property `intent` # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Intent] attr_accessor :intent @@ -2618,6 +2620,7 @@ module Google # Represents an intent. # Intents convert a number of user expressions or patterns into an action. An # action is an extraction of a user command or sentence semantics. + # Next available field number: 22. class GoogleCloudDialogflowV2beta1Intent include Google::Apis::Core::Hashable @@ -3637,6 +3640,7 @@ module Google # Represents an intent. # Intents convert a number of user expressions or patterns into an action. An # action is an extraction of a user command or sentence semantics. + # Next available field number: 22. # Corresponds to the JSON property `intent` # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1Intent] attr_accessor :intent diff --git a/generated/google/apis/dlp_v2.rb b/generated/google/apis/dlp_v2.rb index 72ca7e5f6..d20e04aea 100644 --- a/generated/google/apis/dlp_v2.rb +++ b/generated/google/apis/dlp_v2.rb @@ -27,7 +27,7 @@ module Google # @see https://cloud.google.com/dlp/docs/ module DlpV2 VERSION = 'V2' - REVISION = '20180529' + REVISION = '20180605' # 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/dlp_v2/classes.rb b/generated/google/apis/dlp_v2/classes.rb index bf0bf4a1d..28ae370f7 100644 --- a/generated/google/apis/dlp_v2/classes.rb +++ b/generated/google/apis/dlp_v2/classes.rb @@ -49,7 +49,7 @@ module Google # If set, the detailed findings will be persisted to the specified # OutputStorageConfig. Only a single instance of this action can be # specified. - # Compatible with: Inspect + # Compatible with: Inspect, Risk # Corresponds to the JSON property `saveFindings` # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2SaveFindings] attr_accessor :save_findings @@ -2197,7 +2197,7 @@ module Google attr_accessor :info_type # If true, all text found in the image, regardless whether it matches an - # info_type, is redacted. + # info_type, is redacted. Only one should be provided. # Corresponds to the JSON property `redactAllText` # @return [Boolean] attr_accessor :redact_all_text @@ -2329,8 +2329,9 @@ module Google class GooglePrivacyDlpV2InfoTypeTransformation include Google::Apis::Core::Hashable - # InfoTypes to apply the transformation to. Empty list will match all - # available infoTypes for this transformation. + # InfoTypes to apply the transformation to. An empty list will cause + # this transformation to apply to all findings that correspond to + # infoTypes that were requested in `InspectConfig`. # Corresponds to the JSON property `infoTypes` # @return [Array] attr_accessor :info_types @@ -3468,10 +3469,11 @@ module Google class GooglePrivacyDlpV2OutputStorageConfig include Google::Apis::Core::Hashable - # Schema used for writing the findings. Columns are derived from the - # `Finding` object. If appending to an existing table, any columns from the - # predefined schema that are missing will be added. No columns in the - # existing table will be deleted. + # Schema used for writing the findings for Inspect jobs. This field is only + # used for Inspect and must be unspecified for Risk jobs. Columns are derived + # from the `Finding` object. If appending to an existing table, any columns + # from the predefined schema that are missing will be added. No columns in + # the existing table will be deleted. # If unspecified, then all available columns will be used for a new table, # and no changes will be made to an existing table. # Corresponds to the JSON property `outputSchema` @@ -4092,8 +4094,8 @@ module Google end end - # Request to search for potentially sensitive info in a list of items - # and replace it with a default or provided content. + # Request to search for potentially sensitive info in an image and redact it + # by covering it with a colored rectangle. class GooglePrivacyDlpV2RedactImageRequest include Google::Apis::Core::Hashable @@ -4406,7 +4408,7 @@ module Google # If set, the detailed findings will be persisted to the specified # OutputStorageConfig. Only a single instance of this action can be # specified. - # Compatible with: Inspect + # Compatible with: Inspect, Risk class GooglePrivacyDlpV2SaveFindings include Google::Apis::Core::Hashable diff --git a/generated/google/apis/firebasedynamiclinks_v1.rb b/generated/google/apis/firebasedynamiclinks_v1.rb index c7e12d54b..b60fbd0ca 100644 --- a/generated/google/apis/firebasedynamiclinks_v1.rb +++ b/generated/google/apis/firebasedynamiclinks_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://firebase.google.com/docs/dynamic-links/ module FirebasedynamiclinksV1 VERSION = 'V1' - REVISION = '20180521' + REVISION = '20180606' # View and administer all your Firebase data and settings AUTH_FIREBASE = 'https://www.googleapis.com/auth/firebase' diff --git a/generated/google/apis/ml_v1.rb b/generated/google/apis/ml_v1.rb index 70817ca87..283bbfbd3 100644 --- a/generated/google/apis/ml_v1.rb +++ b/generated/google/apis/ml_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://cloud.google.com/ml/ module MlV1 VERSION = 'V1' - REVISION = '20180521' + REVISION = '20180605' # 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/runtimeconfig_v1.rb b/generated/google/apis/runtimeconfig_v1.rb index 1ff9be848..2110ea4a9 100644 --- a/generated/google/apis/runtimeconfig_v1.rb +++ b/generated/google/apis/runtimeconfig_v1.rb @@ -28,7 +28,7 @@ module Google # @see https://cloud.google.com/deployment-manager/runtime-configurator/ module RuntimeconfigV1 VERSION = 'V1' - REVISION = '20180416' + REVISION = '20180604' # 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/runtimeconfig_v1beta1.rb b/generated/google/apis/runtimeconfig_v1beta1.rb index b15615b91..c69cef774 100644 --- a/generated/google/apis/runtimeconfig_v1beta1.rb +++ b/generated/google/apis/runtimeconfig_v1beta1.rb @@ -28,7 +28,7 @@ module Google # @see https://cloud.google.com/deployment-manager/runtime-configurator/ module RuntimeconfigV1beta1 VERSION = 'V1beta1' - REVISION = '20180515' + REVISION = '20180604' # 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/safebrowsing_v4.rb b/generated/google/apis/safebrowsing_v4.rb index 256dd15ab..1d0eb4ed9 100644 --- a/generated/google/apis/safebrowsing_v4.rb +++ b/generated/google/apis/safebrowsing_v4.rb @@ -26,7 +26,7 @@ module Google # @see https://developers.google.com/safe-browsing/ module SafebrowsingV4 VERSION = 'V4' - REVISION = '20180405' + REVISION = '20180605' end end end diff --git a/generated/google/apis/serviceconsumermanagement_v1.rb b/generated/google/apis/serviceconsumermanagement_v1.rb index 973bd2b9b..ed49462c9 100644 --- a/generated/google/apis/serviceconsumermanagement_v1.rb +++ b/generated/google/apis/serviceconsumermanagement_v1.rb @@ -26,7 +26,7 @@ module Google # @see https://cloud.google.com/service-consumer-management/docs/overview module ServiceconsumermanagementV1 VERSION = 'V1' - REVISION = '20180520' + REVISION = '20180605' # 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.rb b/generated/google/apis/serviceusage_v1beta1.rb index 8b8d2745c..1cc6997ca 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 = '20180520' + REVISION = '20180605' # 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 5013abe70..625326505 100644 --- a/generated/google/apis/serviceusage_v1beta1/classes.rb +++ b/generated/google/apis/serviceusage_v1beta1/classes.rb @@ -946,6 +946,25 @@ module Google end end + # A generic empty message that you can re-use to avoid defining duplicated + # empty messages in your APIs. A typical example is to use it as the request + # or the response type of an API method. For instance: + # service Foo ` + # rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); + # ` + # The JSON representation for `Empty` is empty JSON object ````. + class Empty + include Google::Apis::Core::Hashable + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + end + end + # class EnableFailure include Google::Apis::Core::Hashable diff --git a/generated/google/apis/serviceusage_v1beta1/representations.rb b/generated/google/apis/serviceusage_v1beta1/representations.rb index 4718c94f1..8ccddf918 100644 --- a/generated/google/apis/serviceusage_v1beta1/representations.rb +++ b/generated/google/apis/serviceusage_v1beta1/representations.rb @@ -160,6 +160,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class Empty + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class EnableFailure class Representation < Google::Apis::Core::JsonRepresentation; end @@ -653,6 +659,12 @@ module Google end end + class Empty + # @private + class Representation < Google::Apis::Core::JsonRepresentation + end + end + class EnableFailure # @private class Representation < Google::Apis::Core::JsonRepresentation diff --git a/generated/google/apis/videointelligence_v1.rb b/generated/google/apis/videointelligence_v1.rb index 0da499fc4..a816dcf66 100644 --- a/generated/google/apis/videointelligence_v1.rb +++ b/generated/google/apis/videointelligence_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://cloud.google.com/video-intelligence/docs/ module VideointelligenceV1 VERSION = 'V1' - REVISION = '20180530' + REVISION = '20180604' # 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/videointelligence_v1beta2.rb b/generated/google/apis/videointelligence_v1beta2.rb index abd7b6f11..9fe5d0768 100644 --- a/generated/google/apis/videointelligence_v1beta2.rb +++ b/generated/google/apis/videointelligence_v1beta2.rb @@ -25,7 +25,7 @@ module Google # @see https://cloud.google.com/video-intelligence/docs/ module VideointelligenceV1beta2 VERSION = 'V1beta2' - REVISION = '20180530' + REVISION = '20180604' # 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/youtube_partner_v1.rb b/generated/google/apis/youtube_partner_v1.rb index ed1aa0f30..9f81aab66 100644 --- a/generated/google/apis/youtube_partner_v1.rb +++ b/generated/google/apis/youtube_partner_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/youtube/partner/ module YoutubePartnerV1 VERSION = 'V1' - REVISION = '' + REVISION = '20180604' # View and manage your assets and associated content on YouTube AUTH_YOUTUBEPARTNER = 'https://www.googleapis.com/auth/youtubepartner'