Autogenerated update (2020-02-11)

Update:
- acceleratedmobilepageurl_v1
- accessapproval_v1
- adexchangebuyer2_v2beta1
- admob_v1
- androiddeviceprovisioning_v1
- cloudbilling_v1
- cloudshell_v1
- cloudshell_v1alpha1
- commentanalyzer_v1alpha1
- factchecktools_v1alpha1
- kgsearch_v1
- libraryagent_v1
- poly_v1
- sql_v1beta4
- streetviewpublish_v1
- tagmanager_v2
- toolresults_v1
- youtube_analytics_v1
- youtube_analytics_v2
- youtubereporting_v1
This commit is contained in:
Google APIs 2020-02-11 00:37:43 +00:00
parent e2967193a5
commit 6d134f080d
24 changed files with 315 additions and 21 deletions

View File

@ -26,7 +26,7 @@ module Google
# @see https://developers.google.com/amp/cache/
module AcceleratedmobilepageurlV1
VERSION = 'V1'
REVISION = '20200121'
REVISION = '20200210'
end
end
end

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/access-approval/docs
module AccessapprovalV1
VERSION = 'V1'
REVISION = '20200113'
REVISION = '20200207'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -123,6 +123,11 @@ module Google
# <ol>
# @param [Google::Apis::AccessapprovalV1::AccessApprovalSettings] access_approval_settings_object
# @param [String] update_mask
# The update mask applies to the settings. Only the top level fields of
# AccessApprovalSettings (notification_emails & enrolled_services) are
# supported. For each field, if it is included, the currently stored value
# will be entirely overwritten with the value of the field passed in this
# request.
# For the `FieldMask` definition, see
# https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#
# fieldmask
@ -388,6 +393,11 @@ module Google
# <ol>
# @param [Google::Apis::AccessapprovalV1::AccessApprovalSettings] access_approval_settings_object
# @param [String] update_mask
# The update mask applies to the settings. Only the top level fields of
# AccessApprovalSettings (notification_emails & enrolled_services) are
# supported. For each field, if it is included, the currently stored value
# will be entirely overwritten with the value of the field passed in this
# request.
# For the `FieldMask` definition, see
# https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#
# fieldmask
@ -653,6 +663,11 @@ module Google
# <ol>
# @param [Google::Apis::AccessapprovalV1::AccessApprovalSettings] access_approval_settings_object
# @param [String] update_mask
# The update mask applies to the settings. Only the top level fields of
# AccessApprovalSettings (notification_emails & enrolled_services) are
# supported. For each field, if it is included, the currently stored value
# will be entirely overwritten with the value of the field passed in this
# request.
# For the `FieldMask` definition, see
# https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#
# fieldmask

View File

@ -27,7 +27,7 @@ module Google
# @see https://developers.google.com/authorized-buyers/apis/reference/rest/
module Adexchangebuyer2V2beta1
VERSION = 'V2beta1'
REVISION = '20191111'
REVISION = '20200210'
# Manage your Ad Exchange buyer account configuration
AUTH_ADEXCHANGE_BUYER = 'https://www.googleapis.com/auth/adexchange.buyer'

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/admob/api/
module AdmobV1
VERSION = 'V1'
REVISION = '20200130'
REVISION = '20200210'
end
end
end

View File

@ -26,7 +26,7 @@ module Google
# @see https://developers.google.com/zero-touch/
module AndroiddeviceprovisioningV1
VERSION = 'V1'
REVISION = '20190704'
REVISION = '20200209'
end
end
end

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/billing/
module CloudbillingV1
VERSION = 'V1'
REVISION = '20200127'
REVISION = '20200210'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/shell/docs/
module CloudshellV1
VERSION = 'V1'
REVISION = '20200203'
REVISION = '20200210'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/shell/docs/
module CloudshellV1alpha1
VERSION = 'V1alpha1'
REVISION = '20200203'
REVISION = '20200210'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -30,7 +30,7 @@ module Google
# @see https://github.com/conversationai/perspectiveapi/blob/master/README.md
module CommentanalyzerV1alpha1
VERSION = 'V1alpha1'
REVISION = '20191124'
REVISION = '20200209'
# View your email address
AUTH_USERINFO_EMAIL = 'https://www.googleapis.com/auth/userinfo.email'

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/fact-check/tools/api/
module FactchecktoolsV1alpha1
VERSION = 'V1alpha1'
REVISION = '20190821'
REVISION = '20200210'
# View your email address
AUTH_USERINFO_EMAIL = 'https://www.googleapis.com/auth/userinfo.email'

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/knowledge-graph/
module KgsearchV1
VERSION = 'V1'
REVISION = '20180809'
REVISION = '20200210'
end
end
end

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/docs/quota
module LibraryagentV1
VERSION = 'V1'
REVISION = '20190824'
REVISION = '20200210'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -27,7 +27,7 @@ module Google
# @see https://developers.google.com/poly/
module PolyV1
VERSION = 'V1'
REVISION = '20190409'
REVISION = '20200210'
end
end
end

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/cloud-sql/
module SqlV1beta4
VERSION = 'V1beta4'
REVISION = '20200124'
REVISION = '20200203'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -1833,6 +1833,11 @@ module Google
# @return [String]
attr_accessor :client_key
# The dump file to create the Cloud SQL replica.
# Corresponds to the JSON property `dumpFilePath`
# @return [String]
attr_accessor :dump_file_path
# The host and port of the on-premises instance in host:port format
# Corresponds to the JSON property `hostPort`
# @return [String]
@ -1843,6 +1848,16 @@ module Google
# @return [String]
attr_accessor :kind
# The password for connecting to on-premises instance.
# Corresponds to the JSON property `password`
# @return [String]
attr_accessor :password
# The username for connecting to on-premises instance.
# Corresponds to the JSON property `username`
# @return [String]
attr_accessor :username
def initialize(**args)
update!(**args)
end
@ -1852,8 +1867,11 @@ module Google
@ca_certificate = args[:ca_certificate] if args.key?(:ca_certificate)
@client_certificate = args[:client_certificate] if args.key?(:client_certificate)
@client_key = args[:client_key] if args.key?(:client_key)
@dump_file_path = args[:dump_file_path] if args.key?(:dump_file_path)
@host_port = args[:host_port] if args.key?(:host_port)
@kind = args[:kind] if args.key?(:kind)
@password = args[:password] if args.key?(:password)
@username = args[:username] if args.key?(:username)
end
end
@ -2112,7 +2130,9 @@ module Google
attr_accessor :reschedule_type
# Optional. Timestamp when the maintenance shall be rescheduled to if
# reschedule_type=SPECIFIC_TIME.
# reschedule_type=SPECIFIC_TIME, in <a
# href="https://tools.ietf.org/html/rfc3339">RFC 3339</a> format, for
# example <code>2012-11-15T16:19:00.094Z</code>.
# Corresponds to the JSON property `scheduleTime`
# @return [String]
attr_accessor :schedule_time
@ -2370,6 +2390,37 @@ module Google
end
end
# External master migration setting error.
class SqlExternalSyncSettingError
include Google::Apis::Core::Hashable
# Additional information about the error encountered.
# Corresponds to the JSON property `detail`
# @return [String]
attr_accessor :detail
# This is always <code>sql#migrationSettingError</code>.
# Corresponds to the JSON property `kind`
# @return [String]
attr_accessor :kind
# Identifies the specific error that occurred.
# Corresponds to the JSON property `type`
# @return [String]
attr_accessor :type
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@detail = args[:detail] if args.key?(:detail)
@kind = args[:kind] if args.key?(:kind)
@type = args[:type] if args.key?(:type)
end
end
# Reschedule options for maintenance windows.
class SqlInstancesRescheduleMaintenanceRequestBody
include Google::Apis::Core::Hashable
@ -2389,6 +2440,31 @@ module Google
end
end
# Instance verify external sync settings response.
class SqlInstancesVerifyExternalSyncSettingsResponse
include Google::Apis::Core::Hashable
# List of migration violations.
# Corresponds to the JSON property `errors`
# @return [Array<Google::Apis::SqlV1beta4::SqlExternalSyncSettingError>]
attr_accessor :errors
# This is always <code>sql#migrationSettingErrorList</code>.
# Corresponds to the JSON property `kind`
# @return [String]
attr_accessor :kind
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@errors = args[:errors] if args.key?(:errors)
@kind = args[:kind] if args.key?(:kind)
end
end
# Any scheduled maintenancce for this instance.
class SqlScheduledMaintenance
include Google::Apis::Core::Hashable

View File

@ -340,12 +340,24 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class SqlExternalSyncSettingError
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class SqlInstancesRescheduleMaintenanceRequestBody
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class SqlInstancesVerifyExternalSyncSettingsResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class SqlScheduledMaintenance
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -908,8 +920,11 @@ module Google
property :ca_certificate, as: 'caCertificate'
property :client_certificate, as: 'clientCertificate'
property :client_key, as: 'clientKey'
property :dump_file_path, as: 'dumpFilePath'
property :host_port, as: 'hostPort'
property :kind, as: 'kind'
property :password, as: 'password'
property :username, as: 'username'
end
end
@ -1032,6 +1047,15 @@ module Google
end
end
class SqlExternalSyncSettingError
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :detail, as: 'detail'
property :kind, as: 'kind'
property :type, as: 'type'
end
end
class SqlInstancesRescheduleMaintenanceRequestBody
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -1040,6 +1064,15 @@ module Google
end
end
class SqlInstancesVerifyExternalSyncSettingsResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :errors, as: 'errors', class: Google::Apis::SqlV1beta4::SqlExternalSyncSettingError, decorator: Google::Apis::SqlV1beta4::SqlExternalSyncSettingError::Representation
property :kind, as: 'kind'
end
end
class SqlScheduledMaintenance
# @private
class Representation < Google::Apis::Core::JsonRepresentation

View File

@ -1477,6 +1477,91 @@ module Google
execute_or_queue_command(command, &block)
end
# Start External master migration.
# @param [String] project
# ID of the project that contains the first generation instance.
# @param [String] instance
# Cloud SQL instance ID. This does not include the project ID.
# @param [String] parent
# The parent resource where Cloud SQL starts this database instance
# external sync. Format:
# projects/`project`/locations/`location`/instances/`instance`
# @param [String] sync_mode
# External sync mode
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::SqlV1beta4::Operation] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::SqlV1beta4::Operation]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def start_project_instance_external_sync(project, instance, parent: nil, sync_mode: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'sql/v1beta4/projects/{project}/instances/{instance}/startExternalSync', options)
command.response_representation = Google::Apis::SqlV1beta4::Operation::Representation
command.response_class = Google::Apis::SqlV1beta4::Operation
command.params['project'] = project unless project.nil?
command.params['instance'] = instance unless instance.nil?
command.query['parent'] = parent unless parent.nil?
command.query['syncMode'] = sync_mode unless sync_mode.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
# Verify External master external sync settings.
# @param [String] project
# Project ID of the project that contains the instance.
# @param [String] instance
# Cloud SQL instance ID. This does not include the project ID.
# @param [String] parent
# The parent resource where Cloud SQL verifies this database instance
# external sync settings. Format:
# projects/`project`/locations/`location`/instances/`instance`
# @param [String] sync_mode
# External sync mode
# @param [Boolean] verify_connection_only
# Flag to enable verifying connection only
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::SqlV1beta4::SqlInstancesVerifyExternalSyncSettingsResponse] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::SqlV1beta4::SqlInstancesVerifyExternalSyncSettingsResponse]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def verify_project_instance_external_sync_settings(project, instance, parent: nil, sync_mode: nil, verify_connection_only: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'sql/v1beta4/projects/{project}/instances/{instance}/verifyExternalSyncSettings', options)
command.response_representation = Google::Apis::SqlV1beta4::SqlInstancesVerifyExternalSyncSettingsResponse::Representation
command.response_class = Google::Apis::SqlV1beta4::SqlInstancesVerifyExternalSyncSettingsResponse
command.params['project'] = project unless project.nil?
command.params['instance'] = instance unless instance.nil?
command.query['parent'] = parent unless parent.nil?
command.query['syncMode'] = sync_mode unless sync_mode.nil?
command.query['verifyConnectionOnly'] = verify_connection_only unless verify_connection_only.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
# Reschedules the maintenance on the given instance.
# @param [String] parent
# The parent resource where Cloud SQL reshedule this database instance's
@ -1518,6 +1603,91 @@ module Google
execute_or_queue_command(command, &block)
end
# Start External master migration.
# @param [String] parent
# The parent resource where Cloud SQL starts this database instance
# external sync. Format:
# projects/`project`/locations/`location`/instances/`instance`
# @param [String] instance
# Cloud SQL instance ID. This does not include the project ID.
# @param [String] project
# ID of the project that contains the first generation instance.
# @param [String] sync_mode
# External sync mode
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::SqlV1beta4::Operation] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::SqlV1beta4::Operation]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def start_project_location_instance_external_sync(parent, instance: nil, project: nil, sync_mode: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'sql/v1beta4/{+parent}/startExternalSync', options)
command.response_representation = Google::Apis::SqlV1beta4::Operation::Representation
command.response_class = Google::Apis::SqlV1beta4::Operation
command.params['parent'] = parent unless parent.nil?
command.query['instance'] = instance unless instance.nil?
command.query['project'] = project unless project.nil?
command.query['syncMode'] = sync_mode unless sync_mode.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
# Verify External master external sync settings.
# @param [String] parent
# The parent resource where Cloud SQL verifies this database instance
# external sync settings. Format:
# projects/`project`/locations/`location`/instances/`instance`
# @param [String] instance
# Cloud SQL instance ID. This does not include the project ID.
# @param [String] project
# Project ID of the project that contains the instance.
# @param [String] sync_mode
# External sync mode
# @param [Boolean] verify_connection_only
# Flag to enable verifying connection only
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::SqlV1beta4::SqlInstancesVerifyExternalSyncSettingsResponse] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::SqlV1beta4::SqlInstancesVerifyExternalSyncSettingsResponse]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def verify_project_location_instance_external_sync_settings(parent, instance: nil, project: nil, sync_mode: nil, verify_connection_only: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'sql/v1beta4/{+parent}/verifyExternalSyncSettings', options)
command.response_representation = Google::Apis::SqlV1beta4::SqlInstancesVerifyExternalSyncSettingsResponse::Representation
command.response_class = Google::Apis::SqlV1beta4::SqlInstancesVerifyExternalSyncSettingsResponse
command.params['parent'] = parent unless parent.nil?
command.query['instance'] = instance unless instance.nil?
command.query['project'] = project unless project.nil?
command.query['syncMode'] = sync_mode unless sync_mode.nil?
command.query['verifyConnectionOnly'] = verify_connection_only unless verify_connection_only.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
# Generates a short-lived X509 certificate containing the provided public key
# and signed by a private key specific to the target instance. Users may use
# the certificate to authenticate as themselves when connecting to the

View File

@ -27,7 +27,7 @@ module Google
# @see https://developers.google.com/streetview/publish/
module StreetviewpublishV1
VERSION = 'V1'
REVISION = '20191202'
REVISION = '20200210'
# Publish and manage your 360 photos on Google Street View
AUTH_STREETVIEWPUBLISH = 'https://www.googleapis.com/auth/streetviewpublish'

View File

@ -26,7 +26,7 @@ module Google
# @see https://developers.google.com/tag-manager
module TagmanagerV2
VERSION = 'V2'
REVISION = '20200107'
REVISION = '20200207'
# Delete your Google Tag Manager containers
AUTH_TAGMANAGER_DELETE_CONTAINERS = 'https://www.googleapis.com/auth/tagmanager.delete.containers'

View File

@ -25,7 +25,7 @@ module Google
# @see https://firebase.google.com/docs/test-lab/
module ToolresultsV1
VERSION = 'V1'
REVISION = '20200120'
REVISION = '20200210'
end
end
end

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/youtube/analytics
module YoutubeAnalyticsV1
VERSION = 'V1'
REVISION = '20190521'
REVISION = '20200209'
end
end
end

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/youtube/analytics
module YoutubeAnalyticsV2
VERSION = 'V2'
REVISION = '20190531'
REVISION = '20200209'
# Manage your YouTube account
AUTH_YOUTUBE = 'https://www.googleapis.com/auth/youtube'

View File

@ -26,7 +26,7 @@ module Google
# @see https://developers.google.com/youtube/reporting/v1/reports/
module YoutubereportingV1
VERSION = 'V1'
REVISION = '20190406'
REVISION = '20200209'
# 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'