Class: Google::Apis::ObservabilityV1::ListBucketsResponse
- Inherits:
-
Object
- Object
- Google::Apis::ObservabilityV1::ListBucketsResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/observability_v1/classes.rb,
lib/google/apis/observability_v1/representations.rb,
lib/google/apis/observability_v1/representations.rb
Overview
Response for listing buckets.
Instance Attribute Summary collapse
-
#buckets ⇒ Array<Google::Apis::ObservabilityV1::Bucket>
Optional.
-
#next_page_token ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ListBucketsResponse
constructor
A new instance of ListBucketsResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ListBucketsResponse
Returns a new instance of ListBucketsResponse.
260 261 262 |
# File 'lib/google/apis/observability_v1/classes.rb', line 260 def initialize(**args) update!(**args) end |
Instance Attribute Details
#buckets ⇒ Array<Google::Apis::ObservabilityV1::Bucket>
Optional. The list of buckets.
Corresponds to the JSON property buckets
252 253 254 |
# File 'lib/google/apis/observability_v1/classes.rb', line 252 def buckets @buckets end |
#next_page_token ⇒ String
Optional. A token that can be sent as page_token to retrieve the next page.
When this field is omitted, there are no subsequent pages.
Corresponds to the JSON property nextPageToken
258 259 260 |
# File 'lib/google/apis/observability_v1/classes.rb', line 258 def next_page_token @next_page_token end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
265 266 267 268 |
# File 'lib/google/apis/observability_v1/classes.rb', line 265 def update!(**args) @buckets = args[:buckets] if args.key?(:buckets) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) end |