diff --git a/api_names_out.yaml b/api_names_out.yaml index 48a8b2513..738e4f651 100644 --- a/api_names_out.yaml +++ b/api_names_out.yaml @@ -5578,6 +5578,9 @@ "/androidenterprise:v1/LocalizedText": localized_text "/androidenterprise:v1/LocalizedText/locale": locale "/androidenterprise:v1/LocalizedText/text": text +"/androidenterprise:v1/MaintenanceWindow": maintenance_window +"/androidenterprise:v1/MaintenanceWindow/durationMs": duration_ms +"/androidenterprise:v1/MaintenanceWindow/startTimeAfterMidnightMs": start_time_after_midnight_ms "/androidenterprise:v1/ManagedConfiguration": managed_configuration "/androidenterprise:v1/ManagedConfiguration/configurationVariables": configuration_variables "/androidenterprise:v1/ManagedConfiguration/kind": kind @@ -5654,6 +5657,7 @@ "/androidenterprise:v1/Permission/permissionId": permission_id "/androidenterprise:v1/Policy": policy "/androidenterprise:v1/Policy/autoUpdatePolicy": auto_update_policy +"/androidenterprise:v1/Policy/maintenanceWindow": maintenance_window "/androidenterprise:v1/Policy/productAvailabilityPolicy": product_availability_policy "/androidenterprise:v1/Policy/productPolicy": product_policy "/androidenterprise:v1/Policy/productPolicy/product_policy": product_policy diff --git a/generated/google/apis/adexchangebuyer2_v2beta1.rb b/generated/google/apis/adexchangebuyer2_v2beta1.rb index 0fa94d024..c0b424dba 100644 --- a/generated/google/apis/adexchangebuyer2_v2beta1.rb +++ b/generated/google/apis/adexchangebuyer2_v2beta1.rb @@ -26,7 +26,7 @@ module Google # @see https://developers.google.com/ad-exchange/buyer-rest/reference/rest/ module Adexchangebuyer2V2beta1 VERSION = 'V2beta1' - REVISION = '20180312' + REVISION = '20180325' # Manage your Ad Exchange buyer account configuration AUTH_ADEXCHANGE_BUYER = 'https://www.googleapis.com/auth/adexchange.buyer' diff --git a/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb b/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb index 9765450b3..3b6e47d43 100644 --- a/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +++ b/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb @@ -872,12 +872,6 @@ module Google # @return [String] attr_accessor :environment - # DEPRECATED: use repeated formats field instead. - # The format on which to filter; optional. - # Corresponds to the JSON property `format` - # @return [String] - attr_accessor :format - # The list of formats on which to filter; may be empty. The filters # represented by multiple formats are ORed together (i.e. if non-empty, # results must match any one of the formats). @@ -947,7 +941,6 @@ module Google @creative_id = args[:creative_id] if args.key?(:creative_id) @deal_id = args[:deal_id] if args.key?(:deal_id) @environment = args[:environment] if args.key?(:environment) - @format = args[:format] if args.key?(:format) @formats = args[:formats] if args.key?(:formats) @name = args[:name] if args.key?(:name) @platforms = args[:platforms] if args.key?(:platforms) diff --git a/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb b/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb index dc8b05abe..23c8d9550 100644 --- a/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +++ b/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb @@ -570,7 +570,6 @@ module Google property :creative_id, as: 'creativeId' property :deal_id, :numeric_string => true, as: 'dealId' property :environment, as: 'environment' - property :format, as: 'format' collection :formats, as: 'formats' property :name, as: 'name' collection :platforms, as: 'platforms' diff --git a/generated/google/apis/androidenterprise_v1.rb b/generated/google/apis/androidenterprise_v1.rb index 99d2dd7fb..158fe0a24 100644 --- a/generated/google/apis/androidenterprise_v1.rb +++ b/generated/google/apis/androidenterprise_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/android/work/play/emm-api module AndroidenterpriseV1 VERSION = 'V1' - REVISION = '20180221' + REVISION = '20180322' # Manage corporate Android devices AUTH_ANDROIDENTERPRISE = 'https://www.googleapis.com/auth/androidenterprise' diff --git a/generated/google/apis/androidenterprise_v1/classes.rb b/generated/google/apis/androidenterprise_v1/classes.rb index 66a944a5d..e535d7f39 100644 --- a/generated/google/apis/androidenterprise_v1/classes.rb +++ b/generated/google/apis/androidenterprise_v1/classes.rb @@ -1066,6 +1066,34 @@ module Google end end + # Maintenance window for managed Google Play Accounts. This allows Play store to + # update the apps on the foreground in the designated window. + class MaintenanceWindow + include Google::Apis::Core::Hashable + + # Duration of the maintenance window, in milliseconds. The duration must be + # between 30 minutes and 24 hours (inclusive). + # Corresponds to the JSON property `durationMs` + # @return [Fixnum] + attr_accessor :duration_ms + + # Start time of the maintenance window, in milliseconds after midnight on the + # device. Windows can span midnight. + # Corresponds to the JSON property `startTimeAfterMidnightMs` + # @return [Fixnum] + attr_accessor :start_time_after_midnight_ms + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @duration_ms = args[:duration_ms] if args.key?(:duration_ms) + @start_time_after_midnight_ms = args[:start_time_after_midnight_ms] if args.key?(:start_time_after_midnight_ms) + end + end + # A managed configuration resource contains the set of managed properties # defined by the app developer in the app's managed configurations schema, as # well as any configuration variables defined for the user. @@ -1599,6 +1627,12 @@ module Google # @return [String] attr_accessor :auto_update_policy + # Maintenance window for managed Google Play Accounts. This allows Play store to + # update the apps on the foreground in the designated window. + # Corresponds to the JSON property `maintenanceWindow` + # @return [Google::Apis::AndroidenterpriseV1::MaintenanceWindow] + attr_accessor :maintenance_window + # The availability granted to the device for the specified products. "all" gives # the device access to all products, regardless of approval status. "allApproved" # entitles the device to access all products that are approved for the @@ -1624,6 +1658,7 @@ module Google # Update properties of this object def update!(**args) @auto_update_policy = args[:auto_update_policy] if args.key?(:auto_update_policy) + @maintenance_window = args[:maintenance_window] if args.key?(:maintenance_window) @product_availability_policy = args[:product_availability_policy] if args.key?(:product_availability_policy) @product_policy = args[:product_policy] if args.key?(:product_policy) end diff --git a/generated/google/apis/androidenterprise_v1/representations.rb b/generated/google/apis/androidenterprise_v1/representations.rb index 695f7fbf5..ca3e90726 100644 --- a/generated/google/apis/androidenterprise_v1/representations.rb +++ b/generated/google/apis/androidenterprise_v1/representations.rb @@ -196,6 +196,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class MaintenanceWindow + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class ManagedConfiguration class Representation < Google::Apis::Core::JsonRepresentation; end @@ -705,6 +711,14 @@ module Google end end + class MaintenanceWindow + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :duration_ms, :numeric_string => true, as: 'durationMs' + property :start_time_after_midnight_ms, :numeric_string => true, as: 'startTimeAfterMidnightMs' + end + end + class ManagedConfiguration # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -854,6 +868,8 @@ module Google # @private class Representation < Google::Apis::Core::JsonRepresentation property :auto_update_policy, as: 'autoUpdatePolicy' + property :maintenance_window, as: 'maintenanceWindow', class: Google::Apis::AndroidenterpriseV1::MaintenanceWindow, decorator: Google::Apis::AndroidenterpriseV1::MaintenanceWindow::Representation + property :product_availability_policy, as: 'productAvailabilityPolicy' collection :product_policy, as: 'productPolicy', class: Google::Apis::AndroidenterpriseV1::ProductPolicy, decorator: Google::Apis::AndroidenterpriseV1::ProductPolicy::Representation diff --git a/generated/google/apis/language_v1.rb b/generated/google/apis/language_v1.rb index 5540ffbd4..1a7fc95b8 100644 --- a/generated/google/apis/language_v1.rb +++ b/generated/google/apis/language_v1.rb @@ -27,7 +27,7 @@ module Google # @see https://cloud.google.com/natural-language/ module LanguageV1 VERSION = 'V1' - REVISION = '20180221' + REVISION = '20180322' # Apply machine learning models to reveal the structure and meaning of text AUTH_CLOUD_LANGUAGE = 'https://www.googleapis.com/auth/cloud-language' diff --git a/generated/google/apis/language_v1/classes.rb b/generated/google/apis/language_v1/classes.rb index 0c12fcef2..5a4b57b64 100644 --- a/generated/google/apis/language_v1/classes.rb +++ b/generated/google/apis/language_v1/classes.rb @@ -348,7 +348,8 @@ module Google # @return [Float] attr_accessor :confidence - # The name of the category representing the document. + # The name of the category representing the document, from the [predefined + # taxonomy](/natural-language/docs/categories). # Corresponds to the JSON property `name` # @return [String] attr_accessor :name diff --git a/generated/google/apis/language_v1beta2.rb b/generated/google/apis/language_v1beta2.rb index eab504456..570ac2be6 100644 --- a/generated/google/apis/language_v1beta2.rb +++ b/generated/google/apis/language_v1beta2.rb @@ -27,7 +27,7 @@ module Google # @see https://cloud.google.com/natural-language/ module LanguageV1beta2 VERSION = 'V1beta2' - REVISION = '20180221' + REVISION = '20180322' # Apply machine learning models to reveal the structure and meaning of text AUTH_CLOUD_LANGUAGE = 'https://www.googleapis.com/auth/cloud-language' diff --git a/generated/google/apis/language_v1beta2/classes.rb b/generated/google/apis/language_v1beta2/classes.rb index ea54b7baf..7d77c4210 100644 --- a/generated/google/apis/language_v1beta2/classes.rb +++ b/generated/google/apis/language_v1beta2/classes.rb @@ -349,7 +349,8 @@ module Google # @return [Float] attr_accessor :confidence - # The name of the category representing the document. + # The name of the category representing the document, from the [predefined + # taxonomy](/natural-language/docs/categories). # Corresponds to the JSON property `name` # @return [String] attr_accessor :name diff --git a/generated/google/apis/script_v1.rb b/generated/google/apis/script_v1.rb index 8bbcdb708..2405ee1e4 100644 --- a/generated/google/apis/script_v1.rb +++ b/generated/google/apis/script_v1.rb @@ -18,14 +18,14 @@ require 'google/apis/script_v1/representations.rb' module Google module Apis - # Google Apps Script API + # Apps Script API # # An API for managing and executing Google Apps Script projects. # # @see https://developers.google.com/apps-script/api/ module ScriptV1 VERSION = 'V1' - REVISION = '20180305' + REVISION = '20180323' # Read, send, delete, and manage your email AUTH_SCOPE = 'https://mail.google.com/' diff --git a/generated/google/apis/script_v1/service.rb b/generated/google/apis/script_v1/service.rb index 146da1c66..c9c0aecac 100644 --- a/generated/google/apis/script_v1/service.rb +++ b/generated/google/apis/script_v1/service.rb @@ -20,7 +20,7 @@ require 'google/apis/errors' module Google module Apis module ScriptV1 - # Google Apps Script API + # Apps Script API # # An API for managing and executing Google Apps Script projects. # diff --git a/generated/google/apis/speech_v1.rb b/generated/google/apis/speech_v1.rb index 43160d893..a4b595192 100644 --- a/generated/google/apis/speech_v1.rb +++ b/generated/google/apis/speech_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://cloud.google.com/speech/ module SpeechV1 VERSION = 'V1' - REVISION = '20180312' + REVISION = '20180326' # 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_v1/classes.rb b/generated/google/apis/speech_v1/classes.rb index 67fc0aec2..84d8861dc 100644 --- a/generated/google/apis/speech_v1/classes.rb +++ b/generated/google/apis/speech_v1/classes.rb @@ -301,7 +301,7 @@ module Google class RecognizeResponse include Google::Apis::Core::Hashable - # *Output-only* Sequential list of transcription results corresponding to + # Output only. Sequential list of transcription results corresponding to # sequential portions of audio. # Corresponds to the JSON property `results` # @return [Array] @@ -346,7 +346,7 @@ module Google class SpeechRecognitionAlternative include Google::Apis::Core::Hashable - # *Output-only* The confidence estimate between 0.0 and 1.0. A higher number + # Output only. The confidence estimate between 0.0 and 1.0. A higher number # indicates an estimated greater likelihood that the recognized words are # correct. This field is set only for the top alternative of a non-streaming # result or, of a streaming result where `is_final=true`. @@ -357,12 +357,12 @@ module Google # @return [Float] attr_accessor :confidence - # *Output-only* Transcript text representing the words that the user spoke. + # Output only. Transcript text representing the words that the user spoke. # Corresponds to the JSON property `transcript` # @return [String] attr_accessor :transcript - # *Output-only* A list of word-specific information for each recognized word. + # Output only. A list of word-specific information for each recognized word. # Corresponds to the JSON property `words` # @return [Array] attr_accessor :words @@ -383,7 +383,7 @@ module Google class SpeechRecognitionResult include Google::Apis::Core::Hashable - # *Output-only* May contain one or more recognition hypotheses (up to the + # Output only. May contain one or more recognition hypotheses (up to the # maximum specified in `max_alternatives`). # These alternatives are ordered in terms of accuracy, with the top (first) # alternative being the most probable, as ranked by the recognizer. @@ -477,7 +477,7 @@ module Google class WordInfo include Google::Apis::Core::Hashable - # *Output-only* Time offset relative to the beginning of the audio, + # Output only. Time offset relative to the beginning of the audio, # and corresponding to the end of the spoken word. # This field is only set if `enable_word_time_offsets=true` and only # in the top hypothesis. @@ -487,7 +487,7 @@ module Google # @return [String] attr_accessor :end_time - # *Output-only* Time offset relative to the beginning of the audio, + # Output only. Time offset relative to the beginning of the audio, # and corresponding to the start of the spoken word. # This field is only set if `enable_word_time_offsets=true` and only # in the top hypothesis. @@ -497,7 +497,7 @@ module Google # @return [String] attr_accessor :start_time - # *Output-only* The word corresponding to this set of information. + # Output only. The word corresponding to this set of information. # Corresponds to the JSON property `word` # @return [String] attr_accessor :word diff --git a/generated/google/apis/youtubereporting_v1.rb b/generated/google/apis/youtubereporting_v1.rb index fc47dd0c8..466df7739 100644 --- a/generated/google/apis/youtubereporting_v1.rb +++ b/generated/google/apis/youtubereporting_v1.rb @@ -26,7 +26,7 @@ module Google # @see https://developers.google.com/youtube/reporting/v1/reports/ module YoutubereportingV1 VERSION = 'V1' - REVISION = '20180109' + REVISION = '20180325' # View monetary and non-monetary YouTube Analytics reports for your YouTube content AUTH_YT_ANALYTICS_MONETARY_READONLY = 'https://www.googleapis.com/auth/yt-analytics-monetary.readonly'