@@ -81,6 +81,37 @@ def get_project_location(name, fields: nil, quota_user: nil, options: nil, &bloc
8181 execute_or_queue_command ( command , &block )
8282 end
8383
84+ # Get the AutoMigrationConfig for a given project and location.
85+ # @param [String] name
86+ # Required. The name of the AutoMigrationConfig. Format: 'projects/`project_id`/
87+ # locations/`location`/AutoMigrationConfig'.
88+ # @param [String] fields
89+ # Selector specifying which fields to include in a partial response.
90+ # @param [String] quota_user
91+ # Available to use for quota purposes for server-side applications. Can be any
92+ # arbitrary string assigned to a user, but should not exceed 40 characters.
93+ # @param [Google::Apis::RequestOptions] options
94+ # Request-specific options
95+ #
96+ # @yield [result, err] Result & error if block supplied
97+ # @yieldparam result [Google::Apis::ConfigV1::AutoMigrationConfig] parsed result object
98+ # @yieldparam err [StandardError] error object if request failed
99+ #
100+ # @return [Google::Apis::ConfigV1::AutoMigrationConfig]
101+ #
102+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
103+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
104+ # @raise [Google::Apis::AuthorizationError] Authorization is required
105+ def get_project_location_auto_migration_config ( name , fields : nil , quota_user : nil , options : nil , &block )
106+ command = make_simple_command ( :get , 'v1/{+name}' , options )
107+ command . response_representation = Google ::Apis ::ConfigV1 ::AutoMigrationConfig ::Representation
108+ command . response_class = Google ::Apis ::ConfigV1 ::AutoMigrationConfig
109+ command . params [ 'name' ] = name unless name . nil?
110+ command . query [ 'fields' ] = fields unless fields . nil?
111+ command . query [ 'quotaUser' ] = quota_user unless quota_user . nil?
112+ execute_or_queue_command ( command , &block )
113+ end
114+
84115 # Lists information about the supported locations for this service.
85116 # @param [String] name
86117 # The resource that owns the locations collection, if applicable.
@@ -128,6 +159,44 @@ def list_project_locations(name, extra_location_types: nil, filter: nil, page_si
128159 execute_or_queue_command ( command , &block )
129160 end
130161
162+ # Updates the AutoMigrationConfig for a given project and location.
163+ # @param [String] name
164+ # Identifier. The name of the AutoMigrationConfig. Format: 'projects/`project_id`
165+ # /locations/`location`/AutoMigrationConfig'.
166+ # @param [Google::Apis::ConfigV1::AutoMigrationConfig] auto_migration_config_object
167+ # @param [String] update_mask
168+ # Optional. The update mask applies to the resource. See google.protobuf.
169+ # FieldMask.
170+ # @param [String] fields
171+ # Selector specifying which fields to include in a partial response.
172+ # @param [String] quota_user
173+ # Available to use for quota purposes for server-side applications. Can be any
174+ # arbitrary string assigned to a user, but should not exceed 40 characters.
175+ # @param [Google::Apis::RequestOptions] options
176+ # Request-specific options
177+ #
178+ # @yield [result, err] Result & error if block supplied
179+ # @yieldparam result [Google::Apis::ConfigV1::Operation] parsed result object
180+ # @yieldparam err [StandardError] error object if request failed
181+ #
182+ # @return [Google::Apis::ConfigV1::Operation]
183+ #
184+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
185+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
186+ # @raise [Google::Apis::AuthorizationError] Authorization is required
187+ def update_project_location_auto_migration_config ( name , auto_migration_config_object = nil , update_mask : nil , fields : nil , quota_user : nil , options : nil , &block )
188+ command = make_simple_command ( :patch , 'v1/{+name}' , options )
189+ command . request_representation = Google ::Apis ::ConfigV1 ::AutoMigrationConfig ::Representation
190+ command . request_object = auto_migration_config_object
191+ command . response_representation = Google ::Apis ::ConfigV1 ::Operation ::Representation
192+ command . response_class = Google ::Apis ::ConfigV1 ::Operation
193+ command . params [ 'name' ] = name unless name . nil?
194+ command . query [ 'updateMask' ] = update_mask unless update_mask . nil?
195+ command . query [ 'fields' ] = fields unless fields . nil?
196+ command . query [ 'quotaUser' ] = quota_user unless quota_user . nil?
197+ execute_or_queue_command ( command , &block )
198+ end
199+
131200 # Creates a Deployment.
132201 # @param [String] parent
133202 # Required. The parent in whose context the Deployment is created. The parent
@@ -1018,11 +1087,12 @@ def get_project_location_operation(name, fields: nil, quota_user: nil, options:
10181087 # The standard list page token.
10191088 # @param [Boolean] return_partial_success
10201089 # When set to `true`, operations that are reachable are returned as normal, and
1021- # those that are unreachable are returned in the [ListOperationsResponse.
1022- # unreachable] field. This can only be `true` when reading across collections e.
1023- # g. when `parent` is set to `"projects/example/locations/-"`. This field is not
1024- # by default supported and will result in an `UNIMPLEMENTED` error if set unless
1025- # explicitly documented otherwise in service or product specific documentation.
1090+ # those that are unreachable are returned in the ListOperationsResponse.
1091+ # unreachable field. This can only be `true` when reading across collections.
1092+ # For example, when `parent` is set to `"projects/example/locations/-"`. This
1093+ # field is not supported by default and will result in an `UNIMPLEMENTED` error
1094+ # if set unless explicitly documented otherwise in service or product specific
1095+ # documentation.
10261096 # @param [String] fields
10271097 # Selector specifying which fields to include in a partial response.
10281098 # @param [String] quota_user
0 commit comments