class Google::Apis::SecretmanagerV1beta1::ListSecretVersionsResponse

Response message for SecretManagerService.ListSecretVersions.

Attributes

next_page_token[RW]

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

total_size[RW]

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

versions[RW]

The list of SecretVersions sorted in reverse by create_time (newest first). Corresponds to the JSON property `versions` @return [Array<Google::Apis::SecretmanagerV1beta1::SecretVersion>]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/secretmanager_v1beta1/classes.rb, line 383
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_v1beta1/classes.rb, line 388
def update!(**args)
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
  @total_size = args[:total_size] if args.key?(:total_size)
  @versions = args[:versions] if args.key?(:versions)
end