Autogenerated update (2019-05-29)
Update: - cloudsearch_v1 - commentanalyzer_v1alpha1 - dlp_v2 - speech_v1p1beta1
This commit is contained in:
parent
e31a6c5066
commit
1383e06143
|
@ -26,7 +26,7 @@ module Google
|
||||||
# @see https://gsuite.google.com/products/cloud-search/
|
# @see https://gsuite.google.com/products/cloud-search/
|
||||||
module CloudsearchV1
|
module CloudsearchV1
|
||||||
VERSION = 'V1'
|
VERSION = 'V1'
|
||||||
REVISION = '20190503'
|
REVISION = '20190522'
|
||||||
|
|
||||||
# Index and serve your organization's data with Cloud Search
|
# Index and serve your organization's data with Cloud Search
|
||||||
AUTH_CLOUD_SEARCH = 'https://www.googleapis.com/auth/cloud_search'
|
AUTH_CLOUD_SEARCH = 'https://www.googleapis.com/auth/cloud_search'
|
||||||
|
|
|
@ -2927,6 +2927,16 @@ module Google
|
||||||
attr_accessor :is_sortable
|
attr_accessor :is_sortable
|
||||||
alias_method :is_sortable?, :is_sortable
|
alias_method :is_sortable?, :is_sortable
|
||||||
|
|
||||||
|
# Indicates that users can perform wildcard search for this
|
||||||
|
# property. Only supported for Text properties. IsReturnable must be true to
|
||||||
|
# set this option. In a given datasource maximum of 5 properties can be
|
||||||
|
# marked as is_wildcard_searchable.
|
||||||
|
# Note: This is an alpha feature and is enabled for whitelisted users only.
|
||||||
|
# Corresponds to the JSON property `isWildcardSearchable`
|
||||||
|
# @return [Boolean]
|
||||||
|
attr_accessor :is_wildcard_searchable
|
||||||
|
alias_method :is_wildcard_searchable?, :is_wildcard_searchable
|
||||||
|
|
||||||
# The name of the property. Item indexing requests sent to the Indexing API
|
# The name of the property. Item indexing requests sent to the Indexing API
|
||||||
# should set the property name
|
# should set the property name
|
||||||
# equal to this value. For example, if name is *subject_line*, then indexing
|
# equal to this value. For example, if name is *subject_line*, then indexing
|
||||||
|
@ -2974,6 +2984,7 @@ module Google
|
||||||
@is_repeatable = args[:is_repeatable] if args.key?(:is_repeatable)
|
@is_repeatable = args[:is_repeatable] if args.key?(:is_repeatable)
|
||||||
@is_returnable = args[:is_returnable] if args.key?(:is_returnable)
|
@is_returnable = args[:is_returnable] if args.key?(:is_returnable)
|
||||||
@is_sortable = args[:is_sortable] if args.key?(:is_sortable)
|
@is_sortable = args[:is_sortable] if args.key?(:is_sortable)
|
||||||
|
@is_wildcard_searchable = args[:is_wildcard_searchable] if args.key?(:is_wildcard_searchable)
|
||||||
@name = args[:name] if args.key?(:name)
|
@name = args[:name] if args.key?(:name)
|
||||||
@object_property_options = args[:object_property_options] if args.key?(:object_property_options)
|
@object_property_options = args[:object_property_options] if args.key?(:object_property_options)
|
||||||
@text_property_options = args[:text_property_options] if args.key?(:text_property_options)
|
@text_property_options = args[:text_property_options] if args.key?(:text_property_options)
|
||||||
|
|
|
@ -1696,6 +1696,7 @@ module Google
|
||||||
property :is_repeatable, as: 'isRepeatable'
|
property :is_repeatable, as: 'isRepeatable'
|
||||||
property :is_returnable, as: 'isReturnable'
|
property :is_returnable, as: 'isReturnable'
|
||||||
property :is_sortable, as: 'isSortable'
|
property :is_sortable, as: 'isSortable'
|
||||||
|
property :is_wildcard_searchable, as: 'isWildcardSearchable'
|
||||||
property :name, as: 'name'
|
property :name, as: 'name'
|
||||||
property :object_property_options, as: 'objectPropertyOptions', class: Google::Apis::CloudsearchV1::ObjectPropertyOptions, decorator: Google::Apis::CloudsearchV1::ObjectPropertyOptions::Representation
|
property :object_property_options, as: 'objectPropertyOptions', class: Google::Apis::CloudsearchV1::ObjectPropertyOptions, decorator: Google::Apis::CloudsearchV1::ObjectPropertyOptions::Representation
|
||||||
|
|
||||||
|
|
|
@ -30,7 +30,7 @@ module Google
|
||||||
# @see https://conversationai.github.io/
|
# @see https://conversationai.github.io/
|
||||||
module CommentanalyzerV1alpha1
|
module CommentanalyzerV1alpha1
|
||||||
VERSION = 'V1alpha1'
|
VERSION = 'V1alpha1'
|
||||||
REVISION = '20190414'
|
REVISION = '20190526'
|
||||||
|
|
||||||
# View your email address
|
# View your email address
|
||||||
AUTH_USERINFO_EMAIL = 'https://www.googleapis.com/auth/userinfo.email'
|
AUTH_USERINFO_EMAIL = 'https://www.googleapis.com/auth/userinfo.email'
|
||||||
|
|
|
@ -139,16 +139,19 @@ module Google
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :client_token
|
attr_accessor :client_token
|
||||||
|
|
||||||
# Contains the language as detected from the text content. If no language
|
# Contains the languages detected from the text content, sorted in order of
|
||||||
# was specified in the request, the first (the most likely) language is used
|
# likelihood.
|
||||||
# to select an appropriate model. Sorted in order of likelihood.
|
|
||||||
# Corresponds to the JSON property `detectedLanguages`
|
# Corresponds to the JSON property `detectedLanguages`
|
||||||
# @return [Array<String>]
|
# @return [Array<String>]
|
||||||
attr_accessor :detected_languages
|
attr_accessor :detected_languages
|
||||||
|
|
||||||
# The language(s) requested by the client, as specified in the request. If
|
# The language(s) used by CommentAnalyzer service to choose which Model to
|
||||||
# the request did not specify any language, this will be empty and the
|
# use when analyzing the comment. Might better be called
|
||||||
# detected_languages field will be populated.
|
# "effective_languages". The logic used to make the choice is as follows:
|
||||||
|
# if Request.languages.empty()
|
||||||
|
# effective_languages = detected_languages
|
||||||
|
# else
|
||||||
|
# effective_languages = Request.languages
|
||||||
# Corresponds to the JSON property `languages`
|
# Corresponds to the JSON property `languages`
|
||||||
# @return [Array<String>]
|
# @return [Array<String>]
|
||||||
attr_accessor :languages
|
attr_accessor :languages
|
||||||
|
|
|
@ -27,7 +27,7 @@ module Google
|
||||||
# @see https://cloud.google.com/dlp/docs/
|
# @see https://cloud.google.com/dlp/docs/
|
||||||
module DlpV2
|
module DlpV2
|
||||||
VERSION = 'V2'
|
VERSION = 'V2'
|
||||||
REVISION = '20190511'
|
REVISION = '20190526'
|
||||||
|
|
||||||
# View and manage your data across Google Cloud Platform services
|
# View and manage your data across Google Cloud Platform services
|
||||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||||
|
|
|
@ -3746,6 +3746,25 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# Summary statistics of a custom dictionary.
|
||||||
|
class GooglePrivacyDlpV2LargeCustomDictionaryStats
|
||||||
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
# Approximate number of distinct phrases in the dictionary.
|
||||||
|
# Corresponds to the JSON property `approxNumPhrases`
|
||||||
|
# @return [Fixnum]
|
||||||
|
attr_accessor :approx_num_phrases
|
||||||
|
|
||||||
|
def initialize(**args)
|
||||||
|
update!(**args)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Update properties of this object
|
||||||
|
def update!(**args)
|
||||||
|
@approx_num_phrases = args[:approx_num_phrases] if args.key?(:approx_num_phrases)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
# Message for specifying an adjustment to the likelihood of a finding as
|
# Message for specifying an adjustment to the likelihood of a finding as
|
||||||
# part of a detection rule.
|
# part of a detection rule.
|
||||||
class GooglePrivacyDlpV2LikelihoodAdjustment
|
class GooglePrivacyDlpV2LikelihoodAdjustment
|
||||||
|
@ -5209,6 +5228,25 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# Statistics for a StoredInfoType.
|
||||||
|
class GooglePrivacyDlpV2StoredInfoTypeStats
|
||||||
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
# Summary statistics of a custom dictionary.
|
||||||
|
# Corresponds to the JSON property `largeCustomDictionary`
|
||||||
|
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2LargeCustomDictionaryStats]
|
||||||
|
attr_accessor :large_custom_dictionary
|
||||||
|
|
||||||
|
def initialize(**args)
|
||||||
|
update!(**args)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Update properties of this object
|
||||||
|
def update!(**args)
|
||||||
|
@large_custom_dictionary = args[:large_custom_dictionary] if args.key?(:large_custom_dictionary)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
# Version of a StoredInfoType, including the configuration used to build it,
|
# Version of a StoredInfoType, including the configuration used to build it,
|
||||||
# create timestamp, and current state.
|
# create timestamp, and current state.
|
||||||
class GooglePrivacyDlpV2StoredInfoTypeVersion
|
class GooglePrivacyDlpV2StoredInfoTypeVersion
|
||||||
|
@ -5246,6 +5284,11 @@ module Google
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :state
|
attr_accessor :state
|
||||||
|
|
||||||
|
# Statistics for a StoredInfoType.
|
||||||
|
# Corresponds to the JSON property `stats`
|
||||||
|
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2StoredInfoTypeStats]
|
||||||
|
attr_accessor :stats
|
||||||
|
|
||||||
def initialize(**args)
|
def initialize(**args)
|
||||||
update!(**args)
|
update!(**args)
|
||||||
end
|
end
|
||||||
|
@ -5256,6 +5299,7 @@ module Google
|
||||||
@create_time = args[:create_time] if args.key?(:create_time)
|
@create_time = args[:create_time] if args.key?(:create_time)
|
||||||
@errors = args[:errors] if args.key?(:errors)
|
@errors = args[:errors] if args.key?(:errors)
|
||||||
@state = args[:state] if args.key?(:state)
|
@state = args[:state] if args.key?(:state)
|
||||||
|
@stats = args[:stats] if args.key?(:stats)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
@ -622,6 +622,12 @@ module Google
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class GooglePrivacyDlpV2LargeCustomDictionaryStats
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
class GooglePrivacyDlpV2LikelihoodAdjustment
|
class GooglePrivacyDlpV2LikelihoodAdjustment
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
@ -898,6 +904,12 @@ module Google
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class GooglePrivacyDlpV2StoredInfoTypeStats
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
class GooglePrivacyDlpV2StoredInfoTypeVersion
|
class GooglePrivacyDlpV2StoredInfoTypeVersion
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
@ -2102,6 +2114,13 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class GooglePrivacyDlpV2LargeCustomDictionaryStats
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :approx_num_phrases, :numeric_string => true, as: 'approxNumPhrases'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
class GooglePrivacyDlpV2LikelihoodAdjustment
|
class GooglePrivacyDlpV2LikelihoodAdjustment
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
@ -2561,6 +2580,14 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class GooglePrivacyDlpV2StoredInfoTypeStats
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :large_custom_dictionary, as: 'largeCustomDictionary', class: Google::Apis::DlpV2::GooglePrivacyDlpV2LargeCustomDictionaryStats, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2LargeCustomDictionaryStats::Representation
|
||||||
|
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
class GooglePrivacyDlpV2StoredInfoTypeVersion
|
class GooglePrivacyDlpV2StoredInfoTypeVersion
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
@ -2570,6 +2597,8 @@ module Google
|
||||||
collection :errors, as: 'errors', class: Google::Apis::DlpV2::GooglePrivacyDlpV2Error, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2Error::Representation
|
collection :errors, as: 'errors', class: Google::Apis::DlpV2::GooglePrivacyDlpV2Error, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2Error::Representation
|
||||||
|
|
||||||
property :state, as: 'state'
|
property :state, as: 'state'
|
||||||
|
property :stats, as: 'stats', class: Google::Apis::DlpV2::GooglePrivacyDlpV2StoredInfoTypeStats, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2StoredInfoTypeStats::Representation
|
||||||
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
||||||
# @see https://cloud.google.com/speech-to-text/docs/quickstart-protocol
|
# @see https://cloud.google.com/speech-to-text/docs/quickstart-protocol
|
||||||
module SpeechV1p1beta1
|
module SpeechV1p1beta1
|
||||||
VERSION = 'V1p1beta1'
|
VERSION = 'V1p1beta1'
|
||||||
REVISION = '20190510'
|
REVISION = '20190524'
|
||||||
|
|
||||||
# View and manage your data across Google Cloud Platform services
|
# View and manage your data across Google Cloud Platform services
|
||||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||||
|
|
|
@ -691,6 +691,18 @@ module Google
|
||||||
class SpeechContext
|
class SpeechContext
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
# Hint Boost. Positive value will increase the probability that a specific
|
||||||
|
# phrase will be recognized over other similar sounding phrases. The higher
|
||||||
|
# the boost, the higher the chance of false positive recognition as well.
|
||||||
|
# Negative boost values would correspond to anti-biasing. Anti-biasing is not
|
||||||
|
# enabled, so negative boost will simply be ignored. Though `boost` can
|
||||||
|
# accept a wide range of positive values, most use cases are best served with
|
||||||
|
# values between 0 and 20. We recommend using a binary search approach to
|
||||||
|
# finding the optimal value for your use case.
|
||||||
|
# Corresponds to the JSON property `boost`
|
||||||
|
# @return [Float]
|
||||||
|
attr_accessor :boost
|
||||||
|
|
||||||
# *Optional* A list of strings containing words and phrases "hints" so that
|
# *Optional* A list of strings containing words and phrases "hints" so that
|
||||||
# the speech recognition is more likely to recognize them. This can be used
|
# the speech recognition is more likely to recognize them. This can be used
|
||||||
# to improve the accuracy for specific words and phrases, for example, if
|
# to improve the accuracy for specific words and phrases, for example, if
|
||||||
|
@ -707,6 +719,7 @@ module Google
|
||||||
|
|
||||||
# Update properties of this object
|
# Update properties of this object
|
||||||
def update!(**args)
|
def update!(**args)
|
||||||
|
@boost = args[:boost] if args.key?(:boost)
|
||||||
@phrases = args[:phrases] if args.key?(:phrases)
|
@phrases = args[:phrases] if args.key?(:phrases)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
@ -247,6 +247,7 @@ module Google
|
||||||
class SpeechContext
|
class SpeechContext
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :boost, as: 'boost'
|
||||||
collection :phrases, as: 'phrases'
|
collection :phrases, as: 'phrases'
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue