Autogenerated update (2018-06-07)

Update:
- androidpublisher_v3
- cloudtasks_v2beta2
- dataproc_v1
- dataproc_v1beta2
- dialogflow_v2
- dlp_v2
- firebasedynamiclinks_v1
- ml_v1
- runtimeconfig_v1
- runtimeconfig_v1beta1
- safebrowsing_v4
- serviceconsumermanagement_v1
- serviceusage_v1beta1
- videointelligence_v1
- videointelligence_v1beta2
- youtube_partner_v1
This commit is contained in:
Google APIs committed 2018-06-07 00:36:17 +00:00
1 parent 5da7f785ee
commit e588859e17
25 files changed
+120 -27

No files matched your search

+1 -1
View File
@@ -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'
@@ -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<String,Google::Apis::AndroidpublisherV3::InAppProductListing>]
@@ -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)
@@ -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'
+1 -1
View File
@@ -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'
+1 -1
View File
@@ -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'
+1 -1
View File
@@ -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'
@@ -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
@@ -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
+1 -1
View File
@@ -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'
@@ -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
+1 -1
View File
@@ -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'
+13 -11
View File
@@ -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<Google::Apis::DlpV2::GooglePrivacyDlpV2InfoType>]
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
@@ -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'
+1 -1
View File
@@ -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'
+1 -1
View File
@@ -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'
@@ -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'
+1 -1
View File
@@ -26,7 +26,7 @@ module Google
# @see https://developers.google.com/safe-browsing/
module SafebrowsingV4
VERSION = 'V4'
REVISION = '20180405'
REVISION = '20180605'
end
end
end
@@ -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'
@@ -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'
@@ -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
@@ -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
@@ -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'
@@ -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'
+1 -1
View File
@@ -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'