Autogenerated update (2017-10-12)

Update:
- content_v2
- dlp_v2beta1
- speech_v1
This commit is contained in:
Google APIs 2017-10-12 00:35:17 +00:00
parent 1851ded54c
commit f4e89a556a
8 changed files with 149 additions and 15 deletions

View File

@ -38989,6 +38989,9 @@
"/dlp:v2beta1/GooglePrivacyDlpV2beta1CryptoReplaceRegexFpeConfig/context": context
"/dlp:v2beta1/GooglePrivacyDlpV2beta1CryptoReplaceRegexFpeConfig/cryptoKey": crypto_key
"/dlp:v2beta1/GooglePrivacyDlpV2beta1CryptoReplaceRegexFpeConfig/regex": regex
"/dlp:v2beta1/GooglePrivacyDlpV2beta1CustomInfoType": google_privacy_dlp_v2beta1_custom_info_type
"/dlp:v2beta1/GooglePrivacyDlpV2beta1CustomInfoType/dictionary": dictionary
"/dlp:v2beta1/GooglePrivacyDlpV2beta1CustomInfoType/infoType": info_type
"/dlp:v2beta1/GooglePrivacyDlpV2beta1DatastoreKey": google_privacy_dlp_v2beta1_datastore_key
"/dlp:v2beta1/GooglePrivacyDlpV2beta1DatastoreKey/entityKey": entity_key
"/dlp:v2beta1/GooglePrivacyDlpV2beta1DatastoreOptions": google_privacy_dlp_v2beta1_datastore_options
@ -39013,6 +39016,8 @@
"/dlp:v2beta1/GooglePrivacyDlpV2beta1DeidentifyContentResponse/items/item": item
"/dlp:v2beta1/GooglePrivacyDlpV2beta1DeidentifyContentResponse/summaries": summaries
"/dlp:v2beta1/GooglePrivacyDlpV2beta1DeidentifyContentResponse/summaries/summary": summary
"/dlp:v2beta1/GooglePrivacyDlpV2beta1Dictionary": google_privacy_dlp_v2beta1_dictionary
"/dlp:v2beta1/GooglePrivacyDlpV2beta1Dictionary/wordList": word_list
"/dlp:v2beta1/GooglePrivacyDlpV2beta1EntityId": google_privacy_dlp_v2beta1_entity_id
"/dlp:v2beta1/GooglePrivacyDlpV2beta1EntityId/field": field
"/dlp:v2beta1/GooglePrivacyDlpV2beta1Expressions": google_privacy_dlp_v2beta1_expressions
@ -39068,6 +39073,8 @@
"/dlp:v2beta1/GooglePrivacyDlpV2beta1InfoTypeTransformations/transformations": transformations
"/dlp:v2beta1/GooglePrivacyDlpV2beta1InfoTypeTransformations/transformations/transformation": transformation
"/dlp:v2beta1/GooglePrivacyDlpV2beta1InspectConfig": google_privacy_dlp_v2beta1_inspect_config
"/dlp:v2beta1/GooglePrivacyDlpV2beta1InspectConfig/customInfoTypes": custom_info_types
"/dlp:v2beta1/GooglePrivacyDlpV2beta1InspectConfig/customInfoTypes/custom_info_type": custom_info_type
"/dlp:v2beta1/GooglePrivacyDlpV2beta1InspectConfig/excludeTypes": exclude_types
"/dlp:v2beta1/GooglePrivacyDlpV2beta1InspectConfig/includeQuote": include_quote
"/dlp:v2beta1/GooglePrivacyDlpV2beta1InspectConfig/infoTypeLimits": info_type_limits
@ -39287,6 +39294,9 @@
"/dlp:v2beta1/GooglePrivacyDlpV2beta1ValueFrequency": google_privacy_dlp_v2beta1_value_frequency
"/dlp:v2beta1/GooglePrivacyDlpV2beta1ValueFrequency/count": count
"/dlp:v2beta1/GooglePrivacyDlpV2beta1ValueFrequency/value": value
"/dlp:v2beta1/GooglePrivacyDlpV2beta1WordList": google_privacy_dlp_v2beta1_word_list
"/dlp:v2beta1/GooglePrivacyDlpV2beta1WordList/words": words
"/dlp:v2beta1/GooglePrivacyDlpV2beta1WordList/words/word": word
"/dlp:v2beta1/GoogleProtobufEmpty": google_protobuf_empty
"/dlp:v2beta1/GoogleRpcStatus": google_rpc_status
"/dlp:v2beta1/GoogleRpcStatus/code": code

View File

@ -26,7 +26,7 @@ module Google
# @see https://developers.google.com/shopping-content
module ContentV2
VERSION = 'V2'
REVISION = '20170928'
REVISION = '20171010'
# Manage your product listings and accounts for Google Shopping
AUTH_CONTENT = 'https://www.googleapis.com/auth/content'

View File

@ -1136,7 +1136,7 @@ module Google
# @return [String]
attr_accessor :attribute_language
# [DEPRECATED] Please use target.language instead. The two-letter ISO 639-1
# [DEPRECATED] Please use targets[].language instead. The two-letter ISO 639-1
# language of the items in the feed. Must be a valid language for targetCountry.
# Corresponds to the JSON property `contentLanguage`
# @return [String]
@ -1171,7 +1171,7 @@ module Google
# @return [Fixnum]
attr_accessor :id
# [DEPRECATED] Please use target.includedDestination instead. The list of
# [DEPRECATED] Please use targets[].includedDestinations instead. The list of
# intended destinations (corresponds to checked check boxes in Merchant Center).
# Corresponds to the JSON property `intendedDestinations`
# @return [Array<String>]
@ -1188,9 +1188,9 @@ module Google
# @return [String]
attr_accessor :name
# [DEPRECATED] Please use target.country instead. The country where the items in
# the feed will be included in the search index, represented as a CLDR territory
# code.
# [DEPRECATED] Please use targets[].country instead. The country where the items
# in the feed will be included in the search index, represented as a CLDR
# territory code.
# Corresponds to the JSON property `targetCountry`
# @return [String]
attr_accessor :target_country
@ -1946,18 +1946,20 @@ module Google
# @return [Array<String>]
attr_accessor :postal_code_group_names
# be "infinity". For example [`"value": "10", "currency": "USD"`, `"value": "500"
# , "currency": "USD"`, `"value": "infinity", "currency": "USD"`] represents the
# A list of inclusive order price upper bounds. The last price's value can be "
# infinity". For example [`"value": "10", "currency": "USD"`, `"value": "500", "
# currency": "USD"`, `"value": "infinity", "currency": "USD"`] represents the
# headers "<= $10", " $500". All prices within a service must have the same
# currency. Must be non-empty. Can only be set if all other fields are not set.
# Corresponds to the JSON property `prices`
# @return [Array<Google::Apis::ContentV2::Price>]
attr_accessor :prices
# be "infinity". For example [`"value": "10", "unit": "kg"`, `"value": "50", "
# unit": "kg"`, `"value": "infinity", "unit": "kg"`] represents the headers "<=
# 10kg", " 50kg". All weights within a service must have the same unit. Must be
# non-empty. Can only be set if all other fields are not set.
# A list of inclusive order weight upper bounds. The last weight's value can be "
# infinity". For example [`"value": "10", "unit": "kg"`, `"value": "50", "unit":
# "kg"`, `"value": "infinity", "unit": "kg"`] represents the headers "<= 10kg", "
# 50kg". All weights within a service must have the same unit. Must be non-
# empty. Can only be set if all other fields are not set.
# Corresponds to the JSON property `weights`
# @return [Array<Google::Apis::ContentV2::Weight>]
attr_accessor :weights

View File

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

View File

@ -849,6 +849,34 @@ module Google
end
end
# Custom information type provided by the user. Used to find domain-specific
# sensitive information configurable to the data in question.
class GooglePrivacyDlpV2beta1CustomInfoType
include Google::Apis::Core::Hashable
# Custom information type based on a dictionary of words or phrases. This can
# be used to match sensitive information specific to the data, such as a list
# of employee IDs or job titles.
# Corresponds to the JSON property `dictionary`
# @return [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1Dictionary]
attr_accessor :dictionary
# Type of information detected by the API.
# Corresponds to the JSON property `infoType`
# @return [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1InfoType]
attr_accessor :info_type
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@dictionary = args[:dictionary] if args.key?(:dictionary)
@info_type = args[:info_type] if args.key?(:info_type)
end
end
# Record key for a finding in Cloud Datastore.
class GooglePrivacyDlpV2beta1DatastoreKey
include Google::Apis::Core::Hashable
@ -1020,6 +1048,27 @@ module Google
end
end
# Custom information type based on a dictionary of words or phrases. This can
# be used to match sensitive information specific to the data, such as a list
# of employee IDs or job titles.
class GooglePrivacyDlpV2beta1Dictionary
include Google::Apis::Core::Hashable
# Message defining a list of words or phrases to search for in the data.
# Corresponds to the JSON property `wordList`
# @return [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1WordList]
attr_accessor :word_list
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@word_list = args[:word_list] if args.key?(:word_list)
end
end
# An entity in a dataset is a field or set of fields that correspond to a
# single person. For example, in medical records the `EntityId` might be
# a patient identifier, or for financial records it might be an account
@ -1462,6 +1511,11 @@ module Google
class GooglePrivacyDlpV2beta1InspectConfig
include Google::Apis::Core::Hashable
# Custom info types provided by the user.
# Corresponds to the JSON property `customInfoTypes`
# @return [Array<Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1CustomInfoType>]
attr_accessor :custom_info_types
# When true, excludes type information of the findings.
# Corresponds to the JSON property `excludeTypes`
# @return [Boolean]
@ -1503,6 +1557,7 @@ module Google
# Update properties of this object
def update!(**args)
@custom_info_types = args[:custom_info_types] if args.key?(:custom_info_types)
@exclude_types = args[:exclude_types] if args.key?(:exclude_types)
@include_quote = args[:include_quote] if args.key?(:include_quote)
@info_type_limits = args[:info_type_limits] if args.key?(:info_type_limits)
@ -3122,6 +3177,27 @@ module Google
end
end
# Message defining a list of words or phrases to search for in the data.
class GooglePrivacyDlpV2beta1WordList
include Google::Apis::Core::Hashable
# Words or phrases defining the dictionary. No word can be shorter than 3
# characters in length. To match, there must be whitespace or punctuation
# around the targeted string. [required]
# Corresponds to the JSON property `words`
# @return [Array<String>]
attr_accessor :words
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@words = args[:words] if args.key?(:words)
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:

View File

@ -172,6 +172,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class GooglePrivacyDlpV2beta1CustomInfoType
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GooglePrivacyDlpV2beta1DatastoreKey
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -208,6 +214,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class GooglePrivacyDlpV2beta1Dictionary
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GooglePrivacyDlpV2beta1EntityId
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -628,6 +640,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class GooglePrivacyDlpV2beta1WordList
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleProtobufEmpty
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -891,6 +909,16 @@ module Google
end
end
class GooglePrivacyDlpV2beta1CustomInfoType
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :dictionary, as: 'dictionary', class: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1Dictionary, decorator: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1Dictionary::Representation
property :info_type, as: 'infoType', class: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1InfoType, decorator: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1InfoType::Representation
end
end
class GooglePrivacyDlpV2beta1DatastoreKey
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -952,6 +980,14 @@ module Google
end
end
class GooglePrivacyDlpV2beta1Dictionary
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :word_list, as: 'wordList', class: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1WordList, decorator: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1WordList::Representation
end
end
class GooglePrivacyDlpV2beta1EntityId
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -1098,6 +1134,8 @@ module Google
class GooglePrivacyDlpV2beta1InspectConfig
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :custom_info_types, as: 'customInfoTypes', class: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1CustomInfoType, decorator: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1CustomInfoType::Representation
property :exclude_types, as: 'excludeTypes'
property :include_quote, as: 'includeQuote'
collection :info_type_limits, as: 'infoTypeLimits', class: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1InfoTypeLimit, decorator: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1InfoTypeLimit::Representation
@ -1643,6 +1681,13 @@ module Google
end
end
class GooglePrivacyDlpV2beta1WordList
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :words, as: 'words'
end
end
class GoogleProtobufEmpty
# @private
class Representation < Google::Apis::Core::JsonRepresentation

View File

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

View File

@ -403,7 +403,8 @@ module Google
# indicates an estimated greater likelihood that the recognized words are
# correct. This field is typically provided only for the top hypothesis, and
# only for `is_final=true` results. Clients should not rely on the
# `confidence` field as it is not guaranteed to be accurate or consistent.
# `confidence` field as it is not guaranteed to be accurate, or even set, in
# any of the results.
# The default of 0.0 is a sentinel value indicating `confidence` was not set.
# Corresponds to the JSON property `confidence`
# @return [Float]