Autogenerated update (2018-04-26)

Update:
- chat_v1
- dataproc_v1beta2
- dialogflow_v2
- dialogflow_v2beta1
- dlp_v2
- drive_v2
- ml_v1
- servicemanagement_v1
- storagetransfer_v1
- texttospeech_v1beta1
- vault_v1
This commit is contained in:
Google APIs 2018-04-26 00:36:26 +00:00
parent 7dda305d16
commit 3671bb2979
26 changed files with 170 additions and 28 deletions

View File

@ -11989,6 +11989,7 @@
"/chat:v1/Message/actionResponse": action_response
"/chat:v1/Message/annotations": annotations
"/chat:v1/Message/annotations/annotation": annotation
"/chat:v1/Message/argumentText": argument_text
"/chat:v1/Message/cards": cards
"/chat:v1/Message/cards/card": card
"/chat:v1/Message/createTime": create_time
@ -35357,6 +35358,7 @@
"/dataproc:v1beta2/GceClusterConfig/tags": tags
"/dataproc:v1beta2/GceClusterConfig/tags/tag": tag
"/dataproc:v1beta2/GceClusterConfig/zoneUri": zone_uri
"/dataproc:v1beta2/GetIamPolicyRequest": get_iam_policy_request
"/dataproc:v1beta2/HadoopJob": hadoop_job
"/dataproc:v1beta2/HadoopJob/archiveUris": archive_uris
"/dataproc:v1beta2/HadoopJob/archiveUris/archive_uri": archive_uri
@ -47300,6 +47302,7 @@
"/discovery:v1/userIp": user_ip
"/dlp:v2/GooglePrivacyDlpV2Action": google_privacy_dlp_v2_action
"/dlp:v2/GooglePrivacyDlpV2Action/pubSub": pub_sub
"/dlp:v2/GooglePrivacyDlpV2Action/publishSummaryToCscc": publish_summary_to_cscc
"/dlp:v2/GooglePrivacyDlpV2Action/saveFindings": save_findings
"/dlp:v2/GooglePrivacyDlpV2AnalyzeDataSourceRiskDetails": google_privacy_dlp_v2_analyze_data_source_risk_details
"/dlp:v2/GooglePrivacyDlpV2AnalyzeDataSourceRiskDetails/categoricalStatsResult": categorical_stats_result
@ -47368,6 +47371,8 @@
"/dlp:v2/GooglePrivacyDlpV2CloudStorageOptions/fileSet": file_set
"/dlp:v2/GooglePrivacyDlpV2CloudStorageOptions/fileTypes": file_types
"/dlp:v2/GooglePrivacyDlpV2CloudStorageOptions/fileTypes/file_type": file_type
"/dlp:v2/GooglePrivacyDlpV2CloudStoragePath": google_privacy_dlp_v2_cloud_storage_path
"/dlp:v2/GooglePrivacyDlpV2CloudStoragePath/path": path
"/dlp:v2/GooglePrivacyDlpV2Color": google_privacy_dlp_v2_color
"/dlp:v2/GooglePrivacyDlpV2Color/blue": blue
"/dlp:v2/GooglePrivacyDlpV2Color/green": green
@ -47461,6 +47466,7 @@
"/dlp:v2/GooglePrivacyDlpV2DetectionRule": google_privacy_dlp_v2_detection_rule
"/dlp:v2/GooglePrivacyDlpV2DetectionRule/hotwordRule": hotword_rule
"/dlp:v2/GooglePrivacyDlpV2Dictionary": google_privacy_dlp_v2_dictionary
"/dlp:v2/GooglePrivacyDlpV2Dictionary/cloudStoragePath": cloud_storage_path
"/dlp:v2/GooglePrivacyDlpV2Dictionary/wordList": word_list
"/dlp:v2/GooglePrivacyDlpV2DlpJob": google_privacy_dlp_v2_dlp_job
"/dlp:v2/GooglePrivacyDlpV2DlpJob/createTime": create_time
@ -47721,6 +47727,7 @@
"/dlp:v2/GooglePrivacyDlpV2Proximity": google_privacy_dlp_v2_proximity
"/dlp:v2/GooglePrivacyDlpV2Proximity/windowAfter": window_after
"/dlp:v2/GooglePrivacyDlpV2Proximity/windowBefore": window_before
"/dlp:v2/GooglePrivacyDlpV2PublishSummaryToCscc": google_privacy_dlp_v2_publish_summary_to_cscc
"/dlp:v2/GooglePrivacyDlpV2PublishToPubSub": google_privacy_dlp_v2_publish_to_pub_sub
"/dlp:v2/GooglePrivacyDlpV2PublishToPubSub/topic": topic
"/dlp:v2/GooglePrivacyDlpV2QuasiIdField": google_privacy_dlp_v2_quasi_id_field

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/hangouts/chat
module ChatV1
VERSION = 'V1'
REVISION = '20180326'
REVISION = '20180424'
end
end
end

View File

@ -550,6 +550,11 @@ module Google
# @return [Array<Google::Apis::ChatV1::Annotation>]
attr_accessor :annotations
# Plain-text body of the message with all bot mentions stripped out.
# Corresponds to the JSON property `argumentText`
# @return [String]
attr_accessor :argument_text
# Rich, formatted and interactive cards that can be used to display UI
# elements such as: formatted texts, buttons, clickable images. Cards are
# normally displayed below the plain-text body of the message.
@ -610,6 +615,7 @@ module Google
def update!(**args)
@action_response = args[:action_response] if args.key?(:action_response)
@annotations = args[:annotations] if args.key?(:annotations)
@argument_text = args[:argument_text] if args.key?(:argument_text)
@cards = args[:cards] if args.key?(:cards)
@create_time = args[:create_time] if args.key?(:create_time)
@fallback_text = args[:fallback_text] if args.key?(:fallback_text)

View File

@ -335,6 +335,7 @@ module Google
collection :annotations, as: 'annotations', class: Google::Apis::ChatV1::Annotation, decorator: Google::Apis::ChatV1::Annotation::Representation
property :argument_text, as: 'argumentText'
collection :cards, as: 'cards', class: Google::Apis::ChatV1::Card, decorator: Google::Apis::ChatV1::Card::Representation
property :create_time, as: 'createTime'

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/dataproc/
module DataprocV1beta2
VERSION = 'V1beta2'
REVISION = '20180416'
REVISION = '20180424'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -66,7 +66,7 @@ module Google
# allAuthenticatedUsers: A special identifier that represents anyone who is
# authenticated with a Google account or a service account.
# user:`emailid`: An email address that represents a specific Google account.
# For example, alice@gmail.com or joe@example.com.
# For example, alice@gmail.com .
# serviceAccount:`emailid`: An email address that represents a service account.
# For example, my-other-app@appspot.gserviceaccount.com.
# group:`emailid`: An email address that represents a Google group. For example,
@ -674,6 +674,19 @@ module Google
end
end
# Request message for GetIamPolicy method.
class GetIamPolicyRequest
include Google::Apis::Core::Hashable
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
end
end
# A Cloud Dataproc job for running Apache Hadoop MapReduce (https://hadoop.
# apache.org/docs/current/hadoop-mapreduce-client/hadoop-mapreduce-client-core/
# MapReduceTutorial.html) jobs on Apache Hadoop YARN (https://hadoop.apache.org/

View File

@ -118,6 +118,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class GetIamPolicyRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class HadoopJob
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -510,6 +516,12 @@ module Google
end
end
class GetIamPolicyRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
end
end
class HadoopJob
# @private
class Representation < Google::Apis::Core::JsonRepresentation

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/dialogflow-enterprise/
module DialogflowV2
VERSION = 'V2'
REVISION = '20180414'
REVISION = '20180422'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -777,15 +777,20 @@ module Google
# Optional. The collection of phrase hints which are used to boost accuracy
# of speech recognition.
# Refer to [Cloud Speech API documentation](/speech/docs/basics#phrase-hints)
# Refer to
# [Cloud Speech API
# documentation](https://cloud.google.com/speech-to-text/docs/basics#phrase-
# hints)
# for more details.
# Corresponds to the JSON property `phraseHints`
# @return [Array<String>]
attr_accessor :phrase_hints
# Required. Sample rate (in Hertz) of the audio content sent in the query.
# Refer to [Cloud Speech API documentation](/speech/docs/basics) for more
# details.
# Refer to
# [Cloud Speech API
# documentation](https://cloud.google.com/speech-to-text/docs/basics) for
# more details.
# Corresponds to the JSON property `sampleRateHertz`
# @return [Fixnum]
attr_accessor :sample_rate_hertz

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/dialogflow-enterprise/
module DialogflowV2beta1
VERSION = 'V2beta1'
REVISION = '20180414'
REVISION = '20180422'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -2209,15 +2209,20 @@ module Google
# Optional. The collection of phrase hints which are used to boost accuracy
# of speech recognition.
# Refer to [Cloud Speech API documentation](/speech/docs/basics#phrase-hints)
# Refer to
# [Cloud Speech API
# documentation](https://cloud.google.com/speech-to-text/docs/basics#phrase-
# hints)
# for more details.
# Corresponds to the JSON property `phraseHints`
# @return [Array<String>]
attr_accessor :phrase_hints
# Required. Sample rate (in Hertz) of the audio content sent in the query.
# Refer to [Cloud Speech API documentation](/speech/docs/basics) for more
# details.
# Refer to
# [Cloud Speech API
# documentation](https://cloud.google.com/speech-to-text/docs/basics) for
# more details.
# Corresponds to the JSON property `sampleRateHertz`
# @return [Fixnum]
attr_accessor :sample_rate_hertz

View File

@ -27,7 +27,7 @@ module Google
# @see https://cloud.google.com/dlp/docs/
module DlpV2
VERSION = 'V2'
REVISION = '20180417'
REVISION = '20180424'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -32,6 +32,20 @@ module Google
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2PublishToPubSub]
attr_accessor :pub_sub
# Publish the result summary of a DlpJob to the Cloud Security
# Command Center (CSCC Alpha).
# This action is only available for projects which are parts of
# an organization and whitelisted for the alpha Cloud Security Command
# Center.
# The action will publish count of finding instances and their info types.
# The summary of findings will be persisted in CSCC and are governed by CSCC
# service-specific policy, see https://cloud.google.com/terms/service-terms
# Only a single instance of this action can be specified.
# Compatible with: Inspect
# Corresponds to the JSON property `publishSummaryToCscc`
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2PublishSummaryToCscc]
attr_accessor :publish_summary_to_cscc
# If set, the detailed findings will be persisted to the specified
# OutputStorageConfig. Only a single instance of this action can be
# specified.
@ -47,6 +61,7 @@ module Google
# Update properties of this object
def update!(**args)
@pub_sub = args[:pub_sub] if args.key?(:pub_sub)
@publish_summary_to_cscc = args[:publish_summary_to_cscc] if args.key?(:publish_summary_to_cscc)
@save_findings = args[:save_findings] if args.key?(:save_findings)
end
end
@ -601,6 +616,26 @@ module Google
end
end
# Message representing a path in Cloud Storage.
class GooglePrivacyDlpV2CloudStoragePath
include Google::Apis::Core::Hashable
# A url representing a file or path (no wildcards) in Cloud Storage.
# Example: gs://[BUCKET_NAME]/dictionary.txt
# Corresponds to the JSON property `path`
# @return [String]
attr_accessor :path
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@path = args[:path] if args.key?(:path)
end
end
# Represents a color in the RGB color space.
class GooglePrivacyDlpV2Color
include Google::Apis::Core::Hashable
@ -1470,6 +1505,11 @@ module Google
class GooglePrivacyDlpV2Dictionary
include Google::Apis::Core::Hashable
# Message representing a path in Cloud Storage.
# Corresponds to the JSON property `cloudStoragePath`
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2CloudStoragePath]
attr_accessor :cloud_storage_path
# Message defining a list of words or phrases to search for in the data.
# Corresponds to the JSON property `wordList`
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2WordList]
@ -1481,6 +1521,7 @@ module Google
# Update properties of this object
def update!(**args)
@cloud_storage_path = args[:cloud_storage_path] if args.key?(:cloud_storage_path)
@word_list = args[:word_list] if args.key?(:word_list)
end
end
@ -3501,6 +3542,28 @@ module Google
end
end
# Publish the result summary of a DlpJob to the Cloud Security
# Command Center (CSCC Alpha).
# This action is only available for projects which are parts of
# an organization and whitelisted for the alpha Cloud Security Command
# Center.
# The action will publish count of finding instances and their info types.
# The summary of findings will be persisted in CSCC and are governed by CSCC
# service-specific policy, see https://cloud.google.com/terms/service-terms
# Only a single instance of this action can be specified.
# Compatible with: Inspect
class GooglePrivacyDlpV2PublishSummaryToCscc
include Google::Apis::Core::Hashable
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
end
end
# Publish the results of a DlpJob to a pub sub channel.
# Compatible with: Inspect, Risk
class GooglePrivacyDlpV2PublishToPubSub

View File

@ -124,6 +124,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class GooglePrivacyDlpV2CloudStoragePath
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GooglePrivacyDlpV2Color
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -604,6 +610,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class GooglePrivacyDlpV2PublishSummaryToCscc
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GooglePrivacyDlpV2PublishToPubSub
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -1185,6 +1197,8 @@ module Google
class Representation < Google::Apis::Core::JsonRepresentation
property :pub_sub, as: 'pubSub', class: Google::Apis::DlpV2::GooglePrivacyDlpV2PublishToPubSub, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2PublishToPubSub::Representation
property :publish_summary_to_cscc, as: 'publishSummaryToCscc', class: Google::Apis::DlpV2::GooglePrivacyDlpV2PublishSummaryToCscc, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2PublishSummaryToCscc::Representation
property :save_findings, as: 'saveFindings', class: Google::Apis::DlpV2::GooglePrivacyDlpV2SaveFindings, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2SaveFindings::Representation
end
@ -1352,6 +1366,13 @@ module Google
end
end
class GooglePrivacyDlpV2CloudStoragePath
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :path, as: 'path'
end
end
class GooglePrivacyDlpV2Color
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -1597,6 +1618,8 @@ module Google
class GooglePrivacyDlpV2Dictionary
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :cloud_storage_path, as: 'cloudStoragePath', class: Google::Apis::DlpV2::GooglePrivacyDlpV2CloudStoragePath, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2CloudStoragePath::Representation
property :word_list, as: 'wordList', class: Google::Apis::DlpV2::GooglePrivacyDlpV2WordList, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2WordList::Representation
end
@ -2196,6 +2219,12 @@ module Google
end
end
class GooglePrivacyDlpV2PublishSummaryToCscc
# @private
class Representation < Google::Apis::Core::JsonRepresentation
end
end
class GooglePrivacyDlpV2PublishToPubSub
# @private
class Representation < Google::Apis::Core::JsonRepresentation

View File

@ -26,7 +26,7 @@ module Google
# @see https://developers.google.com/drive/
module DriveV2
VERSION = 'V2'
REVISION = '20180330'
REVISION = '20180413'
# View and manage the files in your Google Drive
AUTH_DRIVE = 'https://www.googleapis.com/auth/drive'

View File

@ -2303,7 +2303,7 @@ module Google
execute_or_queue_command(command, &block)
end
# Updates a property. This method supports patch semantics.
# Updates a property.
# @param [String] file_id
# The ID of the file.
# @param [String] property_key

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/ml/
module MlV1
VERSION = 'V1'
REVISION = '20180413'
REVISION = '20180420'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -1137,7 +1137,8 @@ module Google
attr_accessor :region
# Optional. The Google Cloud ML runtime version to use for training. If not
# set, Google Cloud ML will choose the latest stable version.
# set, Google Cloud ML will choose a stable version, which is defined in the
# documentation of runtime version list.
# Corresponds to the JSON property `runtimeVersion`
# @return [String]
attr_accessor :runtime_version
@ -1476,7 +1477,7 @@ module Google
# * `allAuthenticatedUsers`: A special identifier that represents anyone
# who is authenticated with a Google account or a service account.
# * `user:`emailid``: An email address that represents a specific Google
# account. For example, `alice@gmail.com` or `joe@example.com`.
# account. For example, `alice@gmail.com` .
# * `serviceAccount:`emailid``: An email address that represents a service
# account. For example, `my-other-app@appspot.gserviceaccount.com`.
# * `group:`emailid``: An email address that represents a Google group.

View File

@ -27,7 +27,7 @@ module Google
# @see https://cloud.google.com/service-management/
module ServicemanagementV1
VERSION = 'V1'
REVISION = '20180416'
REVISION = '20180420'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -622,7 +622,7 @@ module Google
# * `allAuthenticatedUsers`: A special identifier that represents anyone
# who is authenticated with a Google account or a service account.
# * `user:`emailid``: An email address that represents a specific Google
# account. For example, `alice@gmail.com` or `joe@example.com`.
# account. For example, `alice@gmail.com` .
# * `serviceAccount:`emailid``: An email address that represents a service
# account. For example, `my-other-app@appspot.gserviceaccount.com`.
# * `group:`emailid``: An email address that represents a Google group.

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/storage/transfer
module StoragetransferV1
VERSION = 'V1'
REVISION = '20180405'
REVISION = '20180423'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -208,8 +208,8 @@ module Google
include Google::Apis::Core::Hashable
# Google Cloud Storage bucket name (see
# [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#
# requirements)).
# [Bucket Name
# Requirements](https://cloud.google.com/storage/docs/naming#requirements)).
# Required.
# Corresponds to the JSON property `bucketName`
# @return [String]

View File

@ -22,10 +22,10 @@ module Google
#
# Synthesizes natural-sounding speech by applying powerful neural network models.
#
# @see http://cloud.google.com/speech/text-to-speech/
# @see http://cloud.google.com/text-to-speech/
module TexttospeechV1beta1
VERSION = 'V1beta1'
REVISION = '20180330'
REVISION = '20180425'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -30,7 +30,7 @@ module Google
# Texttospeech = Google::Apis::TexttospeechV1beta1 # Alias the module
# service = Texttospeech::TexttospeechService.new
#
# @see http://cloud.google.com/speech/text-to-speech/
# @see http://cloud.google.com/text-to-speech/
class TexttospeechService < Google::Apis::Core::BaseService
# @return [String]
# API key. Your API key identifies your project and provides you with API access,

View File

@ -18,14 +18,14 @@ require 'google/apis/vault_v1/representations.rb'
module Google
module Apis
# Google Vault API
# G Suite Vault API
#
# Archiving and eDiscovery for G Suite.
#
# @see https://developers.google.com/vault
module VaultV1
VERSION = 'V1'
REVISION = '20180303'
REVISION = '20180403'
# Manage your eDiscovery data
AUTH_EDISCOVERY = 'https://www.googleapis.com/auth/ediscovery'

View File

@ -20,7 +20,7 @@ require 'google/apis/errors'
module Google
module Apis
module VaultV1
# Google Vault API
# G Suite Vault API
#
# Archiving and eDiscovery for G Suite.
#