diff --git a/generated/google/apis/cloudsearch_v1.rb b/generated/google/apis/cloudsearch_v1.rb index 83bce29c6..a76790432 100644 --- a/generated/google/apis/cloudsearch_v1.rb +++ b/generated/google/apis/cloudsearch_v1.rb @@ -26,7 +26,7 @@ module Google # @see https://gsuite.google.com/products/cloud-search/ module CloudsearchV1 VERSION = 'V1' - REVISION = '20190503' + REVISION = '20190522' # Index and serve your organization's data with Cloud Search AUTH_CLOUD_SEARCH = 'https://www.googleapis.com/auth/cloud_search' diff --git a/generated/google/apis/cloudsearch_v1/classes.rb b/generated/google/apis/cloudsearch_v1/classes.rb index 488a80ddd..fb1a44414 100644 --- a/generated/google/apis/cloudsearch_v1/classes.rb +++ b/generated/google/apis/cloudsearch_v1/classes.rb @@ -2927,6 +2927,16 @@ module Google attr_accessor :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 # should set the property name # 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_returnable = args[:is_returnable] if args.key?(:is_returnable) @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) @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) diff --git a/generated/google/apis/cloudsearch_v1/representations.rb b/generated/google/apis/cloudsearch_v1/representations.rb index 0a8f814ad..859bc74d6 100644 --- a/generated/google/apis/cloudsearch_v1/representations.rb +++ b/generated/google/apis/cloudsearch_v1/representations.rb @@ -1696,6 +1696,7 @@ module Google property :is_repeatable, as: 'isRepeatable' property :is_returnable, as: 'isReturnable' property :is_sortable, as: 'isSortable' + property :is_wildcard_searchable, as: 'isWildcardSearchable' property :name, as: 'name' property :object_property_options, as: 'objectPropertyOptions', class: Google::Apis::CloudsearchV1::ObjectPropertyOptions, decorator: Google::Apis::CloudsearchV1::ObjectPropertyOptions::Representation diff --git a/generated/google/apis/commentanalyzer_v1alpha1.rb b/generated/google/apis/commentanalyzer_v1alpha1.rb index 4e400f1d5..b508bb9bb 100644 --- a/generated/google/apis/commentanalyzer_v1alpha1.rb +++ b/generated/google/apis/commentanalyzer_v1alpha1.rb @@ -30,7 +30,7 @@ module Google # @see https://conversationai.github.io/ module CommentanalyzerV1alpha1 VERSION = 'V1alpha1' - REVISION = '20190414' + REVISION = '20190526' # View your email address AUTH_USERINFO_EMAIL = 'https://www.googleapis.com/auth/userinfo.email' diff --git a/generated/google/apis/commentanalyzer_v1alpha1/classes.rb b/generated/google/apis/commentanalyzer_v1alpha1/classes.rb index 92d14f7de..64d24b6de 100644 --- a/generated/google/apis/commentanalyzer_v1alpha1/classes.rb +++ b/generated/google/apis/commentanalyzer_v1alpha1/classes.rb @@ -139,16 +139,19 @@ module Google # @return [String] attr_accessor :client_token - # Contains the language as detected from the text content. If no language - # was specified in the request, the first (the most likely) language is used - # to select an appropriate model. Sorted in order of likelihood. + # Contains the languages detected from the text content, sorted in order of + # likelihood. # Corresponds to the JSON property `detectedLanguages` # @return [Array] attr_accessor :detected_languages - # The language(s) requested by the client, as specified in the request. If - # the request did not specify any language, this will be empty and the - # detected_languages field will be populated. + # The language(s) used by CommentAnalyzer service to choose which Model to + # use when analyzing the comment. Might better be called + # "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` # @return [Array] attr_accessor :languages diff --git a/generated/google/apis/dlp_v2.rb b/generated/google/apis/dlp_v2.rb index 4a9efff83..e23b1426d 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 = '20190511' + REVISION = '20190526' # 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 68bd46d51..d518d74f9 100644 --- a/generated/google/apis/dlp_v2/classes.rb +++ b/generated/google/apis/dlp_v2/classes.rb @@ -3746,6 +3746,25 @@ module Google 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 # part of a detection rule. class GooglePrivacyDlpV2LikelihoodAdjustment @@ -5209,6 +5228,25 @@ module Google 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, # create timestamp, and current state. class GooglePrivacyDlpV2StoredInfoTypeVersion @@ -5246,6 +5284,11 @@ module Google # @return [String] attr_accessor :state + # Statistics for a StoredInfoType. + # Corresponds to the JSON property `stats` + # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2StoredInfoTypeStats] + attr_accessor :stats + def initialize(**args) update!(**args) end @@ -5256,6 +5299,7 @@ module Google @create_time = args[:create_time] if args.key?(:create_time) @errors = args[:errors] if args.key?(:errors) @state = args[:state] if args.key?(:state) + @stats = args[:stats] if args.key?(:stats) end end diff --git a/generated/google/apis/dlp_v2/representations.rb b/generated/google/apis/dlp_v2/representations.rb index ac9633d88..0b0230a3b 100644 --- a/generated/google/apis/dlp_v2/representations.rb +++ b/generated/google/apis/dlp_v2/representations.rb @@ -622,6 +622,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class GooglePrivacyDlpV2LargeCustomDictionaryStats + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GooglePrivacyDlpV2LikelihoodAdjustment class Representation < Google::Apis::Core::JsonRepresentation; end @@ -898,6 +904,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class GooglePrivacyDlpV2StoredInfoTypeStats + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GooglePrivacyDlpV2StoredInfoTypeVersion class Representation < Google::Apis::Core::JsonRepresentation; end @@ -2102,6 +2114,13 @@ module Google end end + class GooglePrivacyDlpV2LargeCustomDictionaryStats + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :approx_num_phrases, :numeric_string => true, as: 'approxNumPhrases' + end + end + class GooglePrivacyDlpV2LikelihoodAdjustment # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -2561,6 +2580,14 @@ module Google 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 # @private 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 property :state, as: 'state' + property :stats, as: 'stats', class: Google::Apis::DlpV2::GooglePrivacyDlpV2StoredInfoTypeStats, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2StoredInfoTypeStats::Representation + end end diff --git a/generated/google/apis/speech_v1p1beta1.rb b/generated/google/apis/speech_v1p1beta1.rb index fa5591388..c5b545934 100644 --- a/generated/google/apis/speech_v1p1beta1.rb +++ b/generated/google/apis/speech_v1p1beta1.rb @@ -25,7 +25,7 @@ module Google # @see https://cloud.google.com/speech-to-text/docs/quickstart-protocol module SpeechV1p1beta1 VERSION = 'V1p1beta1' - REVISION = '20190510' + REVISION = '20190524' # 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/speech_v1p1beta1/classes.rb b/generated/google/apis/speech_v1p1beta1/classes.rb index b17c95774..8c58d1805 100644 --- a/generated/google/apis/speech_v1p1beta1/classes.rb +++ b/generated/google/apis/speech_v1p1beta1/classes.rb @@ -691,6 +691,18 @@ module Google class SpeechContext 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 # 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 @@ -707,6 +719,7 @@ module Google # Update properties of this object def update!(**args) + @boost = args[:boost] if args.key?(:boost) @phrases = args[:phrases] if args.key?(:phrases) end end diff --git a/generated/google/apis/speech_v1p1beta1/representations.rb b/generated/google/apis/speech_v1p1beta1/representations.rb index 50d84e277..33ec6130e 100644 --- a/generated/google/apis/speech_v1p1beta1/representations.rb +++ b/generated/google/apis/speech_v1p1beta1/representations.rb @@ -247,6 +247,7 @@ module Google class SpeechContext # @private class Representation < Google::Apis::Core::JsonRepresentation + property :boost, as: 'boost' collection :phrases, as: 'phrases' end end