class Google::Apis::SecretmanagerV1::ListSecretsResponse

Response message for SecretManagerService.ListSecrets.

Attributes

next_page_token[RW]

A token to retrieve the next page of results. Pass this value in ListSecretsRequest.page_token to retrieve the next page. Corresponds to the JSON property `nextPageToken` @return [String]

secrets[RW]

The list of Secrets sorted in reverse by create_time (newest first). Corresponds to the JSON property `secrets` @return [Array<Google::Apis::SecretmanagerV1::Secret>]

total_size[RW]

The total number of Secrets. Corresponds to the JSON property `totalSize` @return [Fixnum]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/secretmanager_v1/classes.rb, line 512
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/secretmanager_v1/classes.rb, line 517
def update!(**args)
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
  @secrets = args[:secrets] if args.key?(:secrets)
  @total_size = args[:total_size] if args.key?(:total_size)
end