diff --git a/generated/google/apis/acceleratedmobilepageurl_v1.rb b/generated/google/apis/acceleratedmobilepageurl_v1.rb index 2d99d42f1..a964b625e 100644 --- a/generated/google/apis/acceleratedmobilepageurl_v1.rb +++ b/generated/google/apis/acceleratedmobilepageurl_v1.rb @@ -26,7 +26,7 @@ module Google # @see https://developers.google.com/amp/cache/ module AcceleratedmobilepageurlV1 VERSION = 'V1' - REVISION = '20200121' + REVISION = '20200210' end end end diff --git a/generated/google/apis/accessapproval_v1.rb b/generated/google/apis/accessapproval_v1.rb index 4e853852c..67c99e444 100644 --- a/generated/google/apis/accessapproval_v1.rb +++ b/generated/google/apis/accessapproval_v1.rb @@ -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' diff --git a/generated/google/apis/accessapproval_v1/service.rb b/generated/google/apis/accessapproval_v1/service.rb index c1487e384..b53f15652 100644 --- a/generated/google/apis/accessapproval_v1/service.rb +++ b/generated/google/apis/accessapproval_v1/service.rb @@ -123,6 +123,11 @@ module Google #
2012-11-15T16:19:00.094Z
.
# 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 sql#migrationSettingError
.
+ # 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 [Arraysql#migrationSettingErrorList
.
+ # 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
diff --git a/generated/google/apis/sql_v1beta4/representations.rb b/generated/google/apis/sql_v1beta4/representations.rb
index eab492f54..bc3271dc9 100644
--- a/generated/google/apis/sql_v1beta4/representations.rb
+++ b/generated/google/apis/sql_v1beta4/representations.rb
@@ -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
diff --git a/generated/google/apis/sql_v1beta4/service.rb b/generated/google/apis/sql_v1beta4/service.rb
index aecb1a026..af092270b 100644
--- a/generated/google/apis/sql_v1beta4/service.rb
+++ b/generated/google/apis/sql_v1beta4/service.rb
@@ -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
diff --git a/generated/google/apis/streetviewpublish_v1.rb b/generated/google/apis/streetviewpublish_v1.rb
index 572fb69c4..ba40fbe9d 100644
--- a/generated/google/apis/streetviewpublish_v1.rb
+++ b/generated/google/apis/streetviewpublish_v1.rb
@@ -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'
diff --git a/generated/google/apis/tagmanager_v2.rb b/generated/google/apis/tagmanager_v2.rb
index 5eb78a927..b1dd12b81 100644
--- a/generated/google/apis/tagmanager_v2.rb
+++ b/generated/google/apis/tagmanager_v2.rb
@@ -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'
diff --git a/generated/google/apis/toolresults_v1.rb b/generated/google/apis/toolresults_v1.rb
index 98a46fb09..526178d19 100644
--- a/generated/google/apis/toolresults_v1.rb
+++ b/generated/google/apis/toolresults_v1.rb
@@ -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
diff --git a/generated/google/apis/youtube_analytics_v1.rb b/generated/google/apis/youtube_analytics_v1.rb
index 960bfd101..9794c86dc 100644
--- a/generated/google/apis/youtube_analytics_v1.rb
+++ b/generated/google/apis/youtube_analytics_v1.rb
@@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/youtube/analytics
module YoutubeAnalyticsV1
VERSION = 'V1'
- REVISION = '20190521'
+ REVISION = '20200209'
end
end
end
diff --git a/generated/google/apis/youtube_analytics_v2.rb b/generated/google/apis/youtube_analytics_v2.rb
index 4c2d8fd71..a5bd68a37 100644
--- a/generated/google/apis/youtube_analytics_v2.rb
+++ b/generated/google/apis/youtube_analytics_v2.rb
@@ -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'
diff --git a/generated/google/apis/youtubereporting_v1.rb b/generated/google/apis/youtubereporting_v1.rb
index ab7f913fa..32c25bf8a 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 = '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'