Class: Google::Apis::SecretmanagerV1::ListSecretsResponse
- Inherits:
-
Object
- Object
- Google::Apis::SecretmanagerV1::ListSecretsResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/secretmanager_v1/classes.rb,
generated/google/apis/secretmanager_v1/representations.rb,
generated/google/apis/secretmanager_v1/representations.rb
Overview
Response message for SecretManagerService.ListSecrets.
Instance Attribute Summary collapse
-
#next_page_token ⇒ String
A token to retrieve the next page of results.
-
#secrets ⇒ Array<Google::Apis::SecretmanagerV1::Secret>
The list of Secrets sorted in reverse by create_time (newest first).
-
#total_size ⇒ Fixnum
The total number of Secrets.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ListSecretsResponse
constructor
A new instance of ListSecretsResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ListSecretsResponse
Returns a new instance of ListSecretsResponse.
488 489 490 |
# File 'generated/google/apis/secretmanager_v1/classes.rb', line 488 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
ListSecretsRequest.page_token to retrieve the next page.
Corresponds to the JSON property nextPageToken
476 477 478 |
# File 'generated/google/apis/secretmanager_v1/classes.rb', line 476 def next_page_token @next_page_token end |
#secrets ⇒ Array<Google::Apis::SecretmanagerV1::Secret>
The list of Secrets sorted in reverse by create_time (newest first).
Corresponds to the JSON property secrets
481 482 483 |
# File 'generated/google/apis/secretmanager_v1/classes.rb', line 481 def secrets @secrets end |
#total_size ⇒ Fixnum
The total number of Secrets.
Corresponds to the JSON property totalSize
486 487 488 |
# File 'generated/google/apis/secretmanager_v1/classes.rb', line 486 def total_size @total_size end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
493 494 495 496 497 |
# File 'generated/google/apis/secretmanager_v1/classes.rb', line 493 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 |