Autogenerated update (2019-06-18)

Update:
- adexchangebuyer_v1_3
- adexchangebuyer_v1_4
- androidpublisher_v2
- androidpublisher_v3
- cloudresourcemanager_v1beta1
- cloudresourcemanager_v2beta1
- texttospeech_v1
- texttospeech_v1beta1
- youtube_partner_v1
This commit is contained in:
Google APIs 2019-06-18 00:38:11 +00:00
parent cebc1b257f
commit d6caf256bf
19 changed files with 181 additions and 94 deletions

View File

@ -26,7 +26,7 @@ module Google
# @see https://developers.google.com/ad-exchange/buyer-rest
module AdexchangebuyerV1_3
VERSION = 'V1_3'
REVISION = '20180222'
REVISION = '20190614'
# Manage your Ad Exchange buyer account configuration
AUTH_ADEXCHANGE_BUYER = 'https://www.googleapis.com/auth/adexchange.buyer'

View File

@ -282,6 +282,11 @@ module Google
# @return [Fixnum]
attr_accessor :account_id
#
# Corresponds to the JSON property `adTechnologyProviders`
# @return [Google::Apis::AdexchangebuyerV1_3::Creative::AdTechnologyProviders]
attr_accessor :ad_technology_providers
# Detected advertiser id, if any. Read-only. This field should not be set in
# requests.
# Corresponds to the JSON property `advertiserId`
@ -413,6 +418,7 @@ module Google
def update!(**args)
@html_snippet = args[:html_snippet] if args.key?(:html_snippet)
@account_id = args[:account_id] if args.key?(:account_id)
@ad_technology_providers = args[:ad_technology_providers] if args.key?(:ad_technology_providers)
@advertiser_id = args[:advertiser_id] if args.key?(:advertiser_id)
@advertiser_name = args[:advertiser_name] if args.key?(:advertiser_name)
@agency_id = args[:agency_id] if args.key?(:agency_id)
@ -437,6 +443,32 @@ module Google
@width = args[:width] if args.key?(:width)
end
#
class AdTechnologyProviders
include Google::Apis::Core::Hashable
#
# Corresponds to the JSON property `detectedProviderIds`
# @return [Array<Fixnum>]
attr_accessor :detected_provider_ids
#
# Corresponds to the JSON property `hasUnidentifiedProvider`
# @return [Boolean]
attr_accessor :has_unidentified_provider
alias_method :has_unidentified_provider?, :has_unidentified_provider
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@detected_provider_ids = args[:detected_provider_ids] if args.key?(:detected_provider_ids)
@has_unidentified_provider = args[:has_unidentified_provider] if args.key?(:has_unidentified_provider)
end
end
#
class Correction
include Google::Apis::Core::Hashable
@ -600,11 +632,6 @@ module Google
# @return [Float]
attr_accessor :star_rating
# The URL to the app store to purchase/download the promoted app.
# Corresponds to the JSON property `store`
# @return [String]
attr_accessor :store
def initialize(**args)
update!(**args)
end
@ -622,7 +649,6 @@ module Google
@logo = args[:logo] if args.key?(:logo)
@price = args[:price] if args.key?(:price)
@star_rating = args[:star_rating] if args.key?(:star_rating)
@store = args[:store] if args.key?(:store)
end
# The app icon, for app download ads.

View File

@ -61,6 +61,12 @@ module Google
class Creative
class Representation < Google::Apis::Core::JsonRepresentation; end
class AdTechnologyProviders
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Correction
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -241,6 +247,8 @@ module Google
class Representation < Google::Apis::Core::JsonRepresentation
property :html_snippet, as: 'HTMLSnippet'
property :account_id, as: 'accountId'
property :ad_technology_providers, as: 'adTechnologyProviders', class: Google::Apis::AdexchangebuyerV1_3::Creative::AdTechnologyProviders, decorator: Google::Apis::AdexchangebuyerV1_3::Creative::AdTechnologyProviders::Representation
collection :advertiser_id, as: 'advertiserId'
property :advertiser_name, as: 'advertiserName'
property :agency_id, :numeric_string => true, as: 'agencyId'
@ -270,6 +278,14 @@ module Google
property :width, as: 'width'
end
class AdTechnologyProviders
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :detected_provider_ids, as: 'detectedProviderIds'
property :has_unidentified_provider, as: 'hasUnidentifiedProvider'
end
end
class Correction
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -320,7 +336,6 @@ module Google
property :price, as: 'price'
property :star_rating, as: 'starRating'
property :store, as: 'store'
end
class AppIcon

View File

@ -26,7 +26,7 @@ module Google
# @see https://developers.google.com/ad-exchange/buyer-rest
module AdexchangebuyerV1_4
VERSION = 'V1_4'
REVISION = '20180823'
REVISION = '20190614'
# Manage your Ad Exchange buyer account configuration
AUTH_ADEXCHANGE_BUYER = 'https://www.googleapis.com/auth/adexchange.buyer'

View File

@ -495,6 +495,11 @@ module Google
# @return [String]
attr_accessor :ad_choices_destination_url
#
# Corresponds to the JSON property `adTechnologyProviders`
# @return [Google::Apis::AdexchangebuyerV1_4::Creative::AdTechnologyProviders]
attr_accessor :ad_technology_providers
# Detected advertiser id, if any. Read-only. This field should not be set in
# requests.
# Corresponds to the JSON property `advertiserId`
@ -681,6 +686,7 @@ module Google
@html_snippet = args[:html_snippet] if args.key?(:html_snippet)
@account_id = args[:account_id] if args.key?(:account_id)
@ad_choices_destination_url = args[:ad_choices_destination_url] if args.key?(:ad_choices_destination_url)
@ad_technology_providers = args[:ad_technology_providers] if args.key?(:ad_technology_providers)
@advertiser_id = args[:advertiser_id] if args.key?(:advertiser_id)
@advertiser_name = args[:advertiser_name] if args.key?(:advertiser_name)
@agency_id = args[:agency_id] if args.key?(:agency_id)
@ -710,6 +716,32 @@ module Google
@width = args[:width] if args.key?(:width)
end
#
class AdTechnologyProviders
include Google::Apis::Core::Hashable
#
# Corresponds to the JSON property `detectedProviderIds`
# @return [Array<Fixnum>]
attr_accessor :detected_provider_ids
#
# Corresponds to the JSON property `hasUnidentifiedProvider`
# @return [Boolean]
attr_accessor :has_unidentified_provider
alias_method :has_unidentified_provider?, :has_unidentified_provider
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@detected_provider_ids = args[:detected_provider_ids] if args.key?(:detected_provider_ids)
@has_unidentified_provider = args[:has_unidentified_provider] if args.key?(:has_unidentified_provider)
end
end
#
class Correction
include Google::Apis::Core::Hashable
@ -899,11 +931,6 @@ module Google
# @return [Float]
attr_accessor :star_rating
# The URL to the app store to purchase/download the promoted app.
# Corresponds to the JSON property `store`
# @return [String]
attr_accessor :store
# The URL of the XML VAST for a native ad. Note this is a separate field from
# resource.video_url.
# Corresponds to the JSON property `videoURL`
@ -928,7 +955,6 @@ module Google
@logo = args[:logo] if args.key?(:logo)
@price = args[:price] if args.key?(:price)
@star_rating = args[:star_rating] if args.key?(:star_rating)
@store = args[:store] if args.key?(:store)
@video_url = args[:video_url] if args.key?(:video_url)
end

View File

@ -109,6 +109,12 @@ module Google
class Creative
class Representation < Google::Apis::Core::JsonRepresentation; end
class AdTechnologyProviders
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Correction
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -635,6 +641,8 @@ module Google
property :html_snippet, as: 'HTMLSnippet'
property :account_id, as: 'accountId'
property :ad_choices_destination_url, as: 'adChoicesDestinationUrl'
property :ad_technology_providers, as: 'adTechnologyProviders', class: Google::Apis::AdexchangebuyerV1_4::Creative::AdTechnologyProviders, decorator: Google::Apis::AdexchangebuyerV1_4::Creative::AdTechnologyProviders::Representation
collection :advertiser_id, as: 'advertiserId'
property :advertiser_name, as: 'advertiserName'
property :agency_id, :numeric_string => true, as: 'agencyId'
@ -669,6 +677,14 @@ module Google
property :width, as: 'width'
end
class AdTechnologyProviders
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :detected_provider_ids, as: 'detectedProviderIds'
property :has_unidentified_provider, as: 'hasUnidentifiedProvider'
end
end
class Correction
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -724,7 +740,6 @@ module Google
property :price, as: 'price'
property :star_rating, as: 'starRating'
property :store, as: 'store'
property :video_url, as: 'videoURL'
end

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/android-publisher
module AndroidpublisherV2
VERSION = 'V2'
REVISION = '20190611'
REVISION = '20190616'
# View and manage your Google Play Developer account
AUTH_ANDROIDPUBLISHER = 'https://www.googleapis.com/auth/androidpublisher'

View File

@ -1640,12 +1640,13 @@ module Google
class Testers
include Google::Apis::Core::Hashable
#
# A list of all Google Groups, as email addresses, that define testers for this
# track.
# Corresponds to the JSON property `googleGroups`
# @return [Array<String>]
attr_accessor :google_groups
#
# A list of all Google+ Communities, as URLs, that define testers for this track.
# Corresponds to the JSON property `googlePlusCommunities`
# @return [Array<String>]
attr_accessor :google_plus_communities

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/android-publisher
module AndroidpublisherV3
VERSION = 'V3'
REVISION = '20190611'
REVISION = '20190616'
# View and manage your Google Play Developer account
AUTH_ANDROIDPUBLISHER = 'https://www.googleapis.com/auth/androidpublisher'

View File

@ -1737,12 +1737,13 @@ module Google
class Testers
include Google::Apis::Core::Hashable
#
# A list of all Google Groups, as email addresses, that define testers for this
# track.
# Corresponds to the JSON property `googleGroups`
# @return [Array<String>]
attr_accessor :google_groups
#
# A list of all Google+ Communities, as URLs, that define testers for this track.
# Corresponds to the JSON property `googlePlusCommunities`
# @return [Array<String>]
attr_accessor :google_plus_communities

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/resource-manager
module CloudresourcemanagerV1beta1
VERSION = 'V1beta1'
REVISION = '20190424'
REVISION = '20190610'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -128,11 +128,10 @@ module Google
# the response. Filter rules are case-insensitive.
# Organizations may be filtered by `owner.directoryCustomerId` or by
# `domain`, where the domain is a G Suite domain, for example:
# |Filter|Description|
# |------|-----------|
# |owner.directorycustomerid:123456789|Organizations with
# `owner.directory_customer_id` equal to `123456789`.|
# |domain:google.com|Organizations corresponding to the domain `google.com`.|
# * Filter `owner.directorycustomerid:123456789` returns Organization
# resources with `owner.directory_customer_id` equal to `123456789`.
# * Filter `domain:google.com` returns Organization resources corresponding
# to the domain `google.com`.
# This field is optional.
# @param [Fixnum] page_size
# The maximum number of Organizations to return in the response.

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/resource-manager
module CloudresourcemanagerV2beta1
VERSION = 'V2beta1'
REVISION = '20190603'
REVISION = '20190610'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -619,14 +619,16 @@ module Google
# The displayName field in a query expression should use escaped quotes
# for values that include whitespace to prevent unexpected behavior.
# Some example queries are:
# |Query | Description|
# |----- | -----------|
# |displayName=Test* | Folders whose display name starts with "Test".|
# |lifecycleState=ACTIVE | Folders whose lifecycleState is ACTIVE.|
# |parent=folders/123 | Folders whose parent is "folders/123".|
# |parent=folders/123 AND lifecycleState=ACTIVE | Active folders whose parent
# is "folders/123".| |displayName=\\"Test String\\"|Folders whose display
# name includes both "Test" and "String".|
# * Query `displayName=Test*` returns Folder resources whose display name
# starts with "Test".
# * Query `lifecycleState=ACTIVE` returns Folder resources with
# `lifecycleState` set to `ACTIVE`.
# * Query `parent=folders/123` returns Folder resources that have
# `folders/123` as a parent resource.
# * Query `parent=folders/123 AND lifecycleState=ACTIVE` returns active
# Folder resources that have `folders/123` as a parent resource.
# * Query `displayName=\\"Test String\\"` returns Folder resources with
# display names that include both "Test" and "String".
# Corresponds to the JSON property `query`
# @return [String]
attr_accessor :query

View File

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

View File

@ -26,15 +26,14 @@ module Google
class AudioConfig
include Google::Apis::Core::Hashable
# Required. The format of the requested audio byte stream.
# Required. The format of the audio byte stream.
# Corresponds to the JSON property `audioEncoding`
# @return [String]
attr_accessor :audio_encoding
# An identifier which selects 'audio effects' profiles that are applied on
# (post synthesized) text to speech.
# Effects are applied on top of each other in the order they are given.
# See
# Input only. Optional. An identifier which selects 'audio effects' profiles
# that are applied on (post synthesized) text to speech. Effects are applied
# on top of each other in the order they are given. See
# [audio-profiles](https:
# //cloud.google.com/text-to-speech/docs/audio-profiles)
# for current supported profile ids.
@ -42,39 +41,40 @@ module Google
# @return [Array<String>]
attr_accessor :effects_profile_id
# Optional speaking pitch, in the range [-20.0, 20.0]. 20 means increase 20
# semitones from the original pitch. -20 means decrease 20 semitones from the
# original pitch.
# Input only. Optional. Speaking pitch, in the range [-20.0, 20.0]. 20 means
# increase 20 semitones from the original pitch. -20 means decrease 20
# semitones from the original pitch.
# Corresponds to the JSON property `pitch`
# @return [Float]
attr_accessor :pitch
# The synthesis sample rate (in hertz) for this audio. Optional. If this is
# different from the voice's natural sample rate, then the synthesizer will
# honor this request by converting to the desired sample rate (which might
# result in worse audio quality), unless the specified sample rate is not
# supported for the encoding chosen, in which case it will fail the request
# and return google.rpc.Code.INVALID_ARGUMENT.
# The synthesis sample rate (in hertz) for this audio. Optional. When this is
# specified in SynthesizeSpeechRequest, if this is different from the voice's
# natural sample rate, then the synthesizer will honor this request by
# converting to the desired sample rate (which might result in worse audio
# quality), unless the specified sample rate is not supported for the
# encoding chosen, in which case it will fail the request and return
# google.rpc.Code.INVALID_ARGUMENT.
# Corresponds to the JSON property `sampleRateHertz`
# @return [Fixnum]
attr_accessor :sample_rate_hertz
# Optional speaking rate/speed, in the range [0.25, 4.0]. 1.0 is the normal
# native speed supported by the specific voice. 2.0 is twice as fast, and
# 0.5 is half as fast. If unset(0.0), defaults to the native 1.0 speed. Any
# other values < 0.25 or > 4.0 will return an error.
# Input only. Optional. Speaking rate/speed, in the range [0.25, 4.0]. 1.0 is
# the normal native speed supported by the specific voice. 2.0 is twice as
# fast, and 0.5 is half as fast. If unset(0.0), defaults to the native 1.0
# speed. Any other values < 0.25 or > 4.0 will return an error.
# Corresponds to the JSON property `speakingRate`
# @return [Float]
attr_accessor :speaking_rate
# Optional volume gain (in dB) of the normal native volume supported by the
# specific voice, in the range [-96.0, 16.0]. If unset, or set to a value of
# 0.0 (dB), will play at normal native signal amplitude. A value of -6.0 (dB)
# will play at approximately half the amplitude of the normal native signal
# amplitude. A value of +6.0 (dB) will play at approximately twice the
# amplitude of the normal native signal amplitude. Strongly recommend not to
# exceed +10 (dB) as there's usually no effective increase in loudness for
# any value greater than that.
# Input only. Optional. Volume gain (in dB) of the normal native volume
# supported by the specific voice, in the range [-96.0, 16.0]. If unset, or
# set to a value of 0.0 (dB), will play at normal native signal amplitude. A
# value of -6.0 (dB) will play at approximately half the amplitude of the
# normal native signal amplitude. A value of +6.0 (dB) will play at
# approximately twice the amplitude of the normal native signal amplitude.
# Strongly recommend not to exceed +10 (dB) as there's usually no effective
# increase in loudness for any value greater than that.
# Corresponds to the JSON property `volumeGainDb`
# @return [Float]
attr_accessor :volume_gain_db
@ -183,7 +183,8 @@ module Google
include Google::Apis::Core::Hashable
# The audio data bytes encoded as specified in the request, including the
# header (For LINEAR16 audio, we include the WAV header). Note: as
# header for encodings that are wrapped in containers (e.g. MP3, OGG_OPUS).
# For LINEAR16 audio, we include the WAV header. Note: as
# with all bytes fields, protobuffers use a pure binary representation,
# whereas JSON representations use base64.
# Corresponds to the JSON property `audioContent`

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/text-to-speech/
module TexttospeechV1beta1
VERSION = 'V1beta1'
REVISION = '20190329'
REVISION = '20190614'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -26,15 +26,14 @@ module Google
class AudioConfig
include Google::Apis::Core::Hashable
# Required. The format of the requested audio byte stream.
# Required. The format of the audio byte stream.
# Corresponds to the JSON property `audioEncoding`
# @return [String]
attr_accessor :audio_encoding
# An identifier which selects 'audio effects' profiles that are applied on
# (post synthesized) text to speech.
# Effects are applied on top of each other in the order they are given.
# See
# Input only. Optional. An identifier which selects 'audio effects' profiles
# that are applied on (post synthesized) text to speech. Effects are applied
# on top of each other in the order they are given. See
# [audio-profiles](https:
# //cloud.google.com/text-to-speech/docs/audio-profiles)
# for current supported profile ids.
@ -42,39 +41,40 @@ module Google
# @return [Array<String>]
attr_accessor :effects_profile_id
# Optional speaking pitch, in the range [-20.0, 20.0]. 20 means increase 20
# semitones from the original pitch. -20 means decrease 20 semitones from the
# original pitch.
# Input only. Optional. Speaking pitch, in the range [-20.0, 20.0]. 20 means
# increase 20 semitones from the original pitch. -20 means decrease 20
# semitones from the original pitch.
# Corresponds to the JSON property `pitch`
# @return [Float]
attr_accessor :pitch
# The synthesis sample rate (in hertz) for this audio. Optional. If this is
# different from the voice's natural sample rate, then the synthesizer will
# honor this request by converting to the desired sample rate (which might
# result in worse audio quality), unless the specified sample rate is not
# supported for the encoding chosen, in which case it will fail the request
# and return google.rpc.Code.INVALID_ARGUMENT.
# The synthesis sample rate (in hertz) for this audio. Optional. When this is
# specified in SynthesizeSpeechRequest, if this is different from the voice's
# natural sample rate, then the synthesizer will honor this request by
# converting to the desired sample rate (which might result in worse audio
# quality), unless the specified sample rate is not supported for the
# encoding chosen, in which case it will fail the request and return
# google.rpc.Code.INVALID_ARGUMENT.
# Corresponds to the JSON property `sampleRateHertz`
# @return [Fixnum]
attr_accessor :sample_rate_hertz
# Optional speaking rate/speed, in the range [0.25, 4.0]. 1.0 is the normal
# native speed supported by the specific voice. 2.0 is twice as fast, and
# 0.5 is half as fast. If unset(0.0), defaults to the native 1.0 speed. Any
# other values < 0.25 or > 4.0 will return an error.
# Input only. Optional. Speaking rate/speed, in the range [0.25, 4.0]. 1.0 is
# the normal native speed supported by the specific voice. 2.0 is twice as
# fast, and 0.5 is half as fast. If unset(0.0), defaults to the native 1.0
# speed. Any other values < 0.25 or > 4.0 will return an error.
# Corresponds to the JSON property `speakingRate`
# @return [Float]
attr_accessor :speaking_rate
# Optional volume gain (in dB) of the normal native volume supported by the
# specific voice, in the range [-96.0, 16.0]. If unset, or set to a value of
# 0.0 (dB), will play at normal native signal amplitude. A value of -6.0 (dB)
# will play at approximately half the amplitude of the normal native signal
# amplitude. A value of +6.0 (dB) will play at approximately twice the
# amplitude of the normal native signal amplitude. Strongly recommend not to
# exceed +10 (dB) as there's usually no effective increase in loudness for
# any value greater than that.
# Input only. Optional. Volume gain (in dB) of the normal native volume
# supported by the specific voice, in the range [-96.0, 16.0]. If unset, or
# set to a value of 0.0 (dB), will play at normal native signal amplitude. A
# value of -6.0 (dB) will play at approximately half the amplitude of the
# normal native signal amplitude. A value of +6.0 (dB) will play at
# approximately twice the amplitude of the normal native signal amplitude.
# Strongly recommend not to exceed +10 (dB) as there's usually no effective
# increase in loudness for any value greater than that.
# Corresponds to the JSON property `volumeGainDb`
# @return [Float]
attr_accessor :volume_gain_db
@ -183,7 +183,8 @@ module Google
include Google::Apis::Core::Hashable
# The audio data bytes encoded as specified in the request, including the
# header (For LINEAR16 audio, we include the WAV header). Note: as
# header for encodings that are wrapped in containers (e.g. MP3, OGG_OPUS).
# For LINEAR16 audio, we include the WAV header. Note: as
# with all bytes fields, protobuffers use a pure binary representation,
# whereas JSON representations use base64.
# Corresponds to the JSON property `audioContent`

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/youtube/partner/
module YoutubePartnerV1
VERSION = 'V1'
REVISION = '20190603'
REVISION = '20190617'
# View and manage your assets and associated content on YouTube
AUTH_YOUTUBEPARTNER = 'https://www.googleapis.com/auth/youtubepartner'