@@ -52,10 +52,10 @@ def initialize
5252 @batch_path = 'batch'
5353 end
5454
55- # Returns the AutokeyConfig for a folder or project .
55+ # Returns the AutokeyConfig for a folder.
5656 # @param [String] name
5757 # Required. Name of the AutokeyConfig resource, e.g. `folders/`FOLDER_NUMBER`/
58- # autokeyConfig` or `projects/`PROJECT_NUMBER`/autokeyConfig` .
58+ # autokeyConfig`.
5959 # @param [String] fields
6060 # Selector specifying which fields to include in a partial response.
6161 # @param [String] quota_user
@@ -262,37 +262,6 @@ def update_organization_kaj_policy_config(name, key_access_justifications_policy
262262 execute_or_queue_command ( command , &block )
263263 end
264264
265- # Returns the AutokeyConfig for a folder or project.
266- # @param [String] name
267- # Required. Name of the AutokeyConfig resource, e.g. `folders/`FOLDER_NUMBER`/
268- # autokeyConfig` or `projects/`PROJECT_NUMBER`/autokeyConfig`.
269- # @param [String] fields
270- # Selector specifying which fields to include in a partial response.
271- # @param [String] quota_user
272- # Available to use for quota purposes for server-side applications. Can be any
273- # arbitrary string assigned to a user, but should not exceed 40 characters.
274- # @param [Google::Apis::RequestOptions] options
275- # Request-specific options
276- #
277- # @yield [result, err] Result & error if block supplied
278- # @yieldparam result [Google::Apis::CloudkmsV1::AutokeyConfig] parsed result object
279- # @yieldparam err [StandardError] error object if request failed
280- #
281- # @return [Google::Apis::CloudkmsV1::AutokeyConfig]
282- #
283- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
284- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
285- # @raise [Google::Apis::AuthorizationError] Authorization is required
286- def get_project_autokey_config ( name , fields : nil , quota_user : nil , options : nil , &block )
287- command = make_simple_command ( :get , 'v1/{+name}' , options )
288- command . response_representation = Google ::Apis ::CloudkmsV1 ::AutokeyConfig ::Representation
289- command . response_class = Google ::Apis ::CloudkmsV1 ::AutokeyConfig
290- command . params [ 'name' ] = name unless name . nil?
291- command . query [ 'fields' ] = fields unless fields . nil?
292- command . query [ 'quotaUser' ] = quota_user unless quota_user . nil?
293- execute_or_queue_command ( command , &block )
294- end
295-
296265 # Gets the KeyAccessJustificationsPolicyConfig for a given organization, folder,
297266 # or project.
298267 # @param [String] name
@@ -420,47 +389,6 @@ def show_project_effective_key_access_justifications_policy_config(project, fiel
420389 execute_or_queue_command ( command , &block )
421390 end
422391
423- # Updates the AutokeyConfig for a folder. The caller must have both `cloudkms.
424- # autokeyConfigs.update` permission on the parent folder and `cloudkms.
425- # cryptoKeys.setIamPolicy` permission on the provided key project. A KeyHandle
426- # creation in the folder's descendant projects will use this configuration to
427- # determine where to create the resulting CryptoKey.
428- # @param [String] name
429- # Identifier. Name of the AutokeyConfig resource, e.g. `folders/`FOLDER_NUMBER`/
430- # autokeyConfig` `projects/`PROJECT_NUMBER`/autokeyConfig`.
431- # @param [Google::Apis::CloudkmsV1::AutokeyConfig] autokey_config_object
432- # @param [String] update_mask
433- # Required. Masks which fields of the AutokeyConfig to update, e.g. `keyProject`.
434- # @param [String] fields
435- # Selector specifying which fields to include in a partial response.
436- # @param [String] quota_user
437- # Available to use for quota purposes for server-side applications. Can be any
438- # arbitrary string assigned to a user, but should not exceed 40 characters.
439- # @param [Google::Apis::RequestOptions] options
440- # Request-specific options
441- #
442- # @yield [result, err] Result & error if block supplied
443- # @yieldparam result [Google::Apis::CloudkmsV1::AutokeyConfig] parsed result object
444- # @yieldparam err [StandardError] error object if request failed
445- #
446- # @return [Google::Apis::CloudkmsV1::AutokeyConfig]
447- #
448- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
449- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
450- # @raise [Google::Apis::AuthorizationError] Authorization is required
451- def update_project_autokey_config ( name , autokey_config_object = nil , update_mask : nil , fields : nil , quota_user : nil , options : nil , &block )
452- command = make_simple_command ( :patch , 'v1/{+name}' , options )
453- command . request_representation = Google ::Apis ::CloudkmsV1 ::AutokeyConfig ::Representation
454- command . request_object = autokey_config_object
455- command . response_representation = Google ::Apis ::CloudkmsV1 ::AutokeyConfig ::Representation
456- command . response_class = Google ::Apis ::CloudkmsV1 ::AutokeyConfig
457- command . params [ 'name' ] = name unless name . nil?
458- command . query [ 'updateMask' ] = update_mask unless update_mask . nil?
459- command . query [ 'fields' ] = fields unless fields . nil?
460- command . query [ 'quotaUser' ] = quota_user unless quota_user . nil?
461- execute_or_queue_command ( command , &block )
462- end
463-
464392 # Updates the KeyAccessJustificationsPolicyConfig for a given organization,
465393 # folder, or project.
466394 # @param [String] name
@@ -598,8 +526,8 @@ def get_project_location_ekm_config(name, fields: nil, quota_user: nil, options:
598526 # @param [String] name
599527 # The resource that owns the locations collection, if applicable.
600528 # @param [Array<String>, String] extra_location_types
601- # Optional. Unless explicitly documented otherwise, don't use this unsupported
602- # field which is primarily intended for internal usage.
529+ # Optional. Do not use this field. It is unsupported and is ignored unless
530+ # explicitly documented otherwise. This is primarily for internal usage.
603531 # @param [String] filter
604532 # A filter to narrow down results to a preferred subset. The filtering language
605533 # accepts strings like `"displayName=tokyo"`, and is documented in more detail
0 commit comments