Class: Google::Apis::SecretmanagerV1::ListSecretVersionsResponse
- Inherits:
-
Object
- Object
- Google::Apis::SecretmanagerV1::ListSecretVersionsResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/secretmanager_v1/classes.rb,
lib/google/apis/secretmanager_v1/representations.rb,
lib/google/apis/secretmanager_v1/representations.rb
Overview
Response message for SecretManagerService.ListSecretVersions.
Instance Attribute Summary collapse
-
#next_page_token ⇒ String
A token to retrieve the next page of results.
-
#total_size ⇒ Fixnum
The total number of SecretVersions but 0 when the ListSecretsRequest.filter field is set.
-
#versions ⇒ Array<Google::Apis::SecretmanagerV1::SecretVersion>
The list of SecretVersions sorted in reverse by create_time (newest first).
Instance Method Summary collapse
-
#initialize(**args) ⇒ ListSecretVersionsResponse
constructor
A new instance of ListSecretVersionsResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ListSecretVersionsResponse
Returns a new instance of ListSecretVersionsResponse.
510 511 512 |
# File 'lib/google/apis/secretmanager_v1/classes.rb', line 510 def initialize(**args) update!(**args) end |
Instance Attribute Details
#next_page_token ⇒ String
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
497 498 499 |
# File 'lib/google/apis/secretmanager_v1/classes.rb', line 497 def next_page_token @next_page_token end |
#total_size ⇒ Fixnum
The total number of SecretVersions but 0 when the ListSecretsRequest.filter
field is set.
Corresponds to the JSON property totalSize
503 504 505 |
# File 'lib/google/apis/secretmanager_v1/classes.rb', line 503 def total_size @total_size end |
#versions ⇒ Array<Google::Apis::SecretmanagerV1::SecretVersion>
The list of SecretVersions sorted in reverse by create_time (newest first).
Corresponds to the JSON property versions
508 509 510 |
# File 'lib/google/apis/secretmanager_v1/classes.rb', line 508 def versions @versions end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
515 516 517 518 519 |
# File 'lib/google/apis/secretmanager_v1/classes.rb', line 515 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 |