@@ -309,6 +309,10 @@ def get_project_secret_iam_policy(resource, options_requested_policy_version: ni
309309 # @param [String] parent
310310 # Required. The resource name of the project associated with the Secrets, in the
311311 # format `projects/*`.
312+ # @param [String] filter
313+ # Optional. Filter string, adhering to the rules in [List-operation filtering](
314+ # https://cloud.google.com/secret-manager/docs/filtering). List only secrets
315+ # matching the filter. If filter is empty, all secrets are listed.
312316 # @param [Fixnum] page_size
313317 # Optional. The maximum number of results to be returned in a single page. If
314318 # set to 0, the server decides the number of results to return. If the number is
@@ -333,11 +337,12 @@ def get_project_secret_iam_policy(resource, options_requested_policy_version: ni
333337 # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
334338 # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
335339 # @raise [Google::Apis::AuthorizationError] Authorization is required
336- def list_project_secrets ( parent , page_size : nil , page_token : nil , fields : nil , quota_user : nil , options : nil , &block )
340+ def list_project_secrets ( parent , filter : nil , page_size : nil , page_token : nil , fields : nil , quota_user : nil , options : nil , &block )
337341 command = make_simple_command ( :get , 'v1/{+parent}/secrets' , options )
338342 command . response_representation = Google ::Apis ::SecretmanagerV1 ::ListSecretsResponse ::Representation
339343 command . response_class = Google ::Apis ::SecretmanagerV1 ::ListSecretsResponse
340344 command . params [ 'parent' ] = parent unless parent . nil?
345+ command . query [ 'filter' ] = filter unless filter . nil?
341346 command . query [ 'pageSize' ] = page_size unless page_size . nil?
342347 command . query [ 'pageToken' ] = page_token unless page_token . nil?
343348 command . query [ 'fields' ] = fields unless fields . nil?
@@ -630,6 +635,11 @@ def get_project_secret_version(name, fields: nil, quota_user: nil, options: nil,
630635 # @param [String] parent
631636 # Required. The resource name of the Secret associated with the SecretVersions
632637 # to list, in the format `projects/*/secrets/*`.
638+ # @param [String] filter
639+ # Optional. Filter string, adhering to the rules in [List-operation filtering](
640+ # https://cloud.google.com/secret-manager/docs/filtering). List only secret
641+ # versions matching the filter. If filter is empty, all secret versions are
642+ # listed.
633643 # @param [Fixnum] page_size
634644 # Optional. The maximum number of results to be returned in a single page. If
635645 # set to 0, the server decides the number of results to return. If the number is
@@ -654,11 +664,12 @@ def get_project_secret_version(name, fields: nil, quota_user: nil, options: nil,
654664 # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
655665 # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
656666 # @raise [Google::Apis::AuthorizationError] Authorization is required
657- def list_project_secret_versions ( parent , page_size : nil , page_token : nil , fields : nil , quota_user : nil , options : nil , &block )
667+ def list_project_secret_versions ( parent , filter : nil , page_size : nil , page_token : nil , fields : nil , quota_user : nil , options : nil , &block )
658668 command = make_simple_command ( :get , 'v1/{+parent}/versions' , options )
659669 command . response_representation = Google ::Apis ::SecretmanagerV1 ::ListSecretVersionsResponse ::Representation
660670 command . response_class = Google ::Apis ::SecretmanagerV1 ::ListSecretVersionsResponse
661671 command . params [ 'parent' ] = parent unless parent . nil?
672+ command . query [ 'filter' ] = filter unless filter . nil?
662673 command . query [ 'pageSize' ] = page_size unless page_size . nil?
663674 command . query [ 'pageToken' ] = page_token unless page_token . nil?
664675 command . query [ 'fields' ] = fields unless fields . nil?
0 commit comments