Autogenerated update (2018-03-14)

Update:
- adexchangebuyer2_v2beta1
- analytics_v3
- androidmanagement_v1
- bigquerydatatransfer_v1
- dns_v1
- dns_v2beta1
- serviceconsumermanagement_v1
- speech_v1
- speech_v1beta1
- youtube_v3
This commit is contained in:
Google APIs 2018-03-14 00:35:49 +00:00
parent ffe048f7fe
commit a7cc3540f5
25 changed files with 72 additions and 20 deletions

View File

@ -6141,6 +6141,7 @@
"/androidmanagement:v1/Command/resetPasswordFlags": reset_password_flags
"/androidmanagement:v1/Command/resetPasswordFlags/reset_password_flag": reset_password_flag
"/androidmanagement:v1/Command/type": type
"/androidmanagement:v1/Command/userName": user_name
"/androidmanagement:v1/ComplianceRule": compliance_rule
"/androidmanagement:v1/ComplianceRule/apiLevelCondition": api_level_condition
"/androidmanagement:v1/ComplianceRule/disableApps": disable_apps
@ -6342,6 +6343,7 @@
"/androidmanagement:v1/Policy/alwaysOnVpnPackage": always_on_vpn_package
"/androidmanagement:v1/Policy/androidDevicePolicyTracks": android_device_policy_tracks
"/androidmanagement:v1/Policy/androidDevicePolicyTracks/android_device_policy_track": android_device_policy_track
"/androidmanagement:v1/Policy/appAutoUpdatePolicy": app_auto_update_policy
"/androidmanagement:v1/Policy/applications": applications
"/androidmanagement:v1/Policy/applications/application": application
"/androidmanagement:v1/Policy/autoTimeRequired": auto_time_required
@ -46819,6 +46821,8 @@
"/dns:v1/ManagedZone/dnsName": dns_name
"/dns:v1/ManagedZone/id": id
"/dns:v1/ManagedZone/kind": kind
"/dns:v1/ManagedZone/labels": labels
"/dns:v1/ManagedZone/labels/label": label
"/dns:v1/ManagedZone/name": name
"/dns:v1/ManagedZone/nameServerSet": name_server_set
"/dns:v1/ManagedZone/nameServers": name_servers
@ -47144,6 +47148,8 @@
"/dns:v2beta1/ManagedZone/dnssecConfig": dnssec_config
"/dns:v2beta1/ManagedZone/id": id
"/dns:v2beta1/ManagedZone/kind": kind
"/dns:v2beta1/ManagedZone/labels": labels
"/dns:v2beta1/ManagedZone/labels/label": label
"/dns:v2beta1/ManagedZone/name": name
"/dns:v2beta1/ManagedZone/nameServerSet": name_server_set
"/dns:v2beta1/ManagedZone/nameServers": name_servers
@ -72302,6 +72308,7 @@
"/youtube:v3/LiveBroadcastContentDetails/projection": projection
"/youtube:v3/LiveBroadcastContentDetails/recordFromStart": record_from_start
"/youtube:v3/LiveBroadcastContentDetails/startWithSlate": start_with_slate
"/youtube:v3/LiveBroadcastContentDetails/stereoLayout": stereo_layout
"/youtube:v3/LiveBroadcastListResponse": list_live_broadcasts_response
"/youtube:v3/LiveBroadcastListResponse/etag": etag
"/youtube:v3/LiveBroadcastListResponse/eventId": event_id
@ -72653,6 +72660,7 @@
"/youtube:v3/SponsorListResponse/visitorId": visitor_id
"/youtube:v3/SponsorSnippet": sponsor_snippet
"/youtube:v3/SponsorSnippet/channelId": channel_id
"/youtube:v3/SponsorSnippet/cumulativeDurationMonths": cumulative_duration_months
"/youtube:v3/SponsorSnippet/sponsorDetails": sponsor_details
"/youtube:v3/SponsorSnippet/sponsorSince": sponsor_since
"/youtube:v3/Subscription": subscription

View File

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

View File

@ -44,7 +44,7 @@ module Google
attr_accessor :quota_user
def initialize
super('https://content-adexchangebuyer.googleapis.com/', '')
super('https://adexchangebuyer.googleapis.com/', '')
@batch_path = 'batch'
end

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/analytics/
module AnalyticsV3
VERSION = 'V3'
REVISION = '20171211'
REVISION = '20180309'
# View and manage your Google Analytics data
AUTH_ANALYTICS = 'https://www.googleapis.com/auth/analytics'

View File

@ -3836,7 +3836,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def create_provisioning_account_tree(account_tree_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, 'provisioning/createAccount', options)
command = make_simple_command(:post, 'provisioning/createAccountTree', options)
command.request_representation = Google::Apis::AnalyticsV3::AccountTreeRequest::Representation
command.request_object = account_tree_request_object
command.response_representation = Google::Apis::AnalyticsV3::AccountTreeResponse::Representation

View File

@ -26,7 +26,7 @@ module Google
# @see https://developers.google.com/android/management
module AndroidmanagementV1
VERSION = 'V1'
REVISION = '20180212'
REVISION = '20180305'
# Manage Android devices and apps for your customers
AUTH_ANDROIDMANAGEMENT = 'https://www.googleapis.com/auth/androidmanagement'

View File

@ -253,6 +253,13 @@ module Google
# @return [String]
attr_accessor :type
# The resource name of the user that owns the device in the form enterprises/`
# enterpriseId`/users/`userId`. This is automatically generated by the server
# based on the device the command is sent to.
# Corresponds to the JSON property `userName`
# @return [String]
attr_accessor :user_name
def initialize(**args)
update!(**args)
end
@ -264,6 +271,7 @@ module Google
@new_password = args[:new_password] if args.key?(:new_password)
@reset_password_flags = args[:reset_password_flags] if args.key?(:reset_password_flags)
@type = args[:type] if args.key?(:type)
@user_name = args[:user_name] if args.key?(:user_name)
end
end
@ -1628,6 +1636,13 @@ module Google
# @return [Array<String>]
attr_accessor :android_device_policy_tracks
# The auto update policy value. Specifies whether the user is given a choice to
# configure the app update policy, or otherwise contains the enforced update
# policy
# Corresponds to the JSON property `appAutoUpdatePolicy`
# @return [String]
attr_accessor :app_auto_update_policy
# Policy applied to apps.
# Corresponds to the JSON property `applications`
# @return [Array<Google::Apis::AndroidmanagementV1::ApplicationPolicy>]
@ -1998,6 +2013,7 @@ module Google
@adjust_volume_disabled = args[:adjust_volume_disabled] if args.key?(:adjust_volume_disabled)
@always_on_vpn_package = args[:always_on_vpn_package] if args.key?(:always_on_vpn_package)
@android_device_policy_tracks = args[:android_device_policy_tracks] if args.key?(:android_device_policy_tracks)
@app_auto_update_policy = args[:app_auto_update_policy] if args.key?(:app_auto_update_policy)
@applications = args[:applications] if args.key?(:applications)
@auto_time_required = args[:auto_time_required] if args.key?(:auto_time_required)
@block_applications_enabled = args[:block_applications_enabled] if args.key?(:block_applications_enabled)

View File

@ -327,6 +327,7 @@ module Google
property :new_password, as: 'newPassword'
collection :reset_password_flags, as: 'resetPasswordFlags'
property :type, as: 'type'
property :user_name, as: 'userName'
end
end
@ -645,6 +646,7 @@ module Google
property :always_on_vpn_package, as: 'alwaysOnVpnPackage', class: Google::Apis::AndroidmanagementV1::AlwaysOnVpnPackage, decorator: Google::Apis::AndroidmanagementV1::AlwaysOnVpnPackage::Representation
collection :android_device_policy_tracks, as: 'androidDevicePolicyTracks'
property :app_auto_update_policy, as: 'appAutoUpdatePolicy'
collection :applications, as: 'applications', class: Google::Apis::AndroidmanagementV1::ApplicationPolicy, decorator: Google::Apis::AndroidmanagementV1::ApplicationPolicy::Representation
property :auto_time_required, as: 'autoTimeRequired'

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/bigquery/
module BigquerydatatransferV1
VERSION = 'V1'
REVISION = '20180303'
REVISION = '20180312'
# View and manage your data in Google BigQuery
AUTH_BIGQUERY = 'https://www.googleapis.com/auth/bigquery'

View File

@ -164,9 +164,7 @@ module Google
attr_accessor :supports_multiple_transfers
alias_method :supports_multiple_transfers?, :supports_multiple_transfers
# Transfer type. Currently supports only batch transfers,
# which are transfers that use the BigQuery batch APIs (load or
# query) to ingest the data.
# Deprecated. This field has no effect.
# Corresponds to the JSON property `transferType`
# @return [String]
attr_accessor :transfer_type

View File

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

View File

@ -145,6 +145,11 @@ module Google
# @return [String]
attr_accessor :kind
# User labels.
# Corresponds to the JSON property `labels`
# @return [Hash<String,String>]
attr_accessor :labels
# User assigned name for this resource. Must be unique within the project. The
# name must be 1-63 characters long, must begin with a letter, end with a letter
# or digit, and only contain lowercase letters, digits or dashes.
@ -176,6 +181,7 @@ module Google
@dns_name = args[:dns_name] if args.key?(:dns_name)
@id = args[:id] if args.key?(:id)
@kind = args[:kind] if args.key?(:kind)
@labels = args[:labels] if args.key?(:labels)
@name = args[:name] if args.key?(:name)
@name_server_set = args[:name_server_set] if args.key?(:name_server_set)
@name_servers = args[:name_servers] if args.key?(:name_servers)

View File

@ -102,6 +102,7 @@ module Google
property :dns_name, as: 'dnsName'
property :id, :numeric_string => true, as: 'id'
property :kind, as: 'kind'
hash :labels, as: 'labels'
property :name, as: 'name'
property :name_server_set, as: 'nameServerSet'
collection :name_servers, as: 'nameServers'

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/cloud-dns
module DnsV2beta1
VERSION = 'V2beta1'
REVISION = '20170831'
REVISION = '20180309'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -372,6 +372,11 @@ module Google
# @return [String]
attr_accessor :kind
# User labels.
# Corresponds to the JSON property `labels`
# @return [Hash<String,String>]
attr_accessor :labels
# User assigned name for this resource. Must be unique within the project. The
# name must be 1-63 characters long, must begin with a letter, end with a letter
# or digit, and only contain lowercase letters, digits or dashes.
@ -404,6 +409,7 @@ module Google
@dnssec_config = args[:dnssec_config] if args.key?(:dnssec_config)
@id = args[:id] if args.key?(:id)
@kind = args[:kind] if args.key?(:kind)
@labels = args[:labels] if args.key?(:labels)
@name = args[:name] if args.key?(:name)
@name_server_set = args[:name_server_set] if args.key?(:name_server_set)
@name_servers = args[:name_servers] if args.key?(:name_servers)

View File

@ -221,6 +221,7 @@ module Google
property :id, :numeric_string => true, as: 'id'
property :kind, as: 'kind'
hash :labels, as: 'labels'
property :name, as: 'name'
property :name_server_set, as: 'nameServerSet'
collection :name_servers, as: 'nameServers'

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/service-consumer-management/docs/overview
module ServiceconsumermanagementV1
VERSION = 'V1'
REVISION = '20180310'
REVISION = '20180312'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -710,7 +710,7 @@ module Google
# If it is not provided, a UID for the tenancy unit will be auto generated.
# It must be unique across a service.
# If the tenancy unit already exists for the service and consumer pair,
# `CreateTenancyUnit` will return existing the tenancy unit if provided
# `CreateTenancyUnit` will return the existing tenancy unit if the provided
# identifier is identical or empty, otherwise the call will fail.
# Corresponds to the JSON property `tenancyUnitId`
# @return [String]

View File

@ -18,14 +18,14 @@ require 'google/apis/speech_v1/representations.rb'
module Google
module Apis
# Google Cloud Speech API
# Cloud Speech API
#
# Converts audio to text by applying powerful neural network models.
#
# @see https://cloud.google.com/speech/
module SpeechV1
VERSION = 'V1'
REVISION = '20180227'
REVISION = '20180312'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -20,7 +20,7 @@ require 'google/apis/errors'
module Google
module Apis
module SpeechV1
# Google Cloud Speech API
# Cloud Speech API
#
# Converts audio to text by applying powerful neural network models.
#

View File

@ -18,14 +18,14 @@ require 'google/apis/speech_v1beta1/representations.rb'
module Google
module Apis
# Google Cloud Speech API
# Cloud Speech API
#
# Converts audio to text by applying powerful neural network models.
#
# @see https://cloud.google.com/speech/
module SpeechV1beta1
VERSION = 'V1beta1'
REVISION = '20180116'
REVISION = '20180312'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -20,7 +20,7 @@ require 'google/apis/errors'
module Google
module Apis
module SpeechV1beta1
# Google Cloud Speech API
# Cloud Speech API
#
# Converts audio to text by applying powerful neural network models.
#

View File

@ -26,7 +26,7 @@ module Google
# @see https://developers.google.com/youtube/v3
module YoutubeV3
VERSION = 'V3'
REVISION = '20180205'
REVISION = '20180308'
# Manage your YouTube account
AUTH_YOUTUBE = 'https://www.googleapis.com/auth/youtube'

View File

@ -3840,6 +3840,11 @@ module Google
attr_accessor :start_with_slate
alias_method :start_with_slate?, :start_with_slate
#
# Corresponds to the JSON property `stereoLayout`
# @return [String]
attr_accessor :stereo_layout
def initialize(**args)
update!(**args)
end
@ -3861,6 +3866,7 @@ module Google
@projection = args[:projection] if args.key?(:projection)
@record_from_start = args[:record_from_start] if args.key?(:record_from_start)
@start_with_slate = args[:start_with_slate] if args.key?(:start_with_slate)
@stereo_layout = args[:stereo_layout] if args.key?(:stereo_layout)
end
end
@ -6427,6 +6433,11 @@ module Google
# @return [String]
attr_accessor :channel_id
# The cumulative time a user has been a sponsor in months.
# Corresponds to the JSON property `cumulativeDurationMonths`
# @return [Fixnum]
attr_accessor :cumulative_duration_months
# Details about the sponsor.
# Corresponds to the JSON property `sponsorDetails`
# @return [Google::Apis::YoutubeV3::ChannelProfileDetails]
@ -6445,6 +6456,7 @@ module Google
# Update properties of this object
def update!(**args)
@channel_id = args[:channel_id] if args.key?(:channel_id)
@cumulative_duration_months = args[:cumulative_duration_months] if args.key?(:cumulative_duration_months)
@sponsor_details = args[:sponsor_details] if args.key?(:sponsor_details)
@sponsor_since = args[:sponsor_since] if args.key?(:sponsor_since)
end

View File

@ -2060,6 +2060,7 @@ module Google
property :projection, as: 'projection'
property :record_from_start, as: 'recordFromStart'
property :start_with_slate, as: 'startWithSlate'
property :stereo_layout, as: 'stereoLayout'
end
end
@ -2765,6 +2766,7 @@ module Google
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :channel_id, as: 'channelId'
property :cumulative_duration_months, as: 'cumulativeDurationMonths'
property :sponsor_details, as: 'sponsorDetails', class: Google::Apis::YoutubeV3::ChannelProfileDetails, decorator: Google::Apis::YoutubeV3::ChannelProfileDetails::Representation
property :sponsor_since, as: 'sponsorSince', type: DateTime