Class: Google::Apis::ObservabilityV1::ListDatasetsResponse

Inherits:
Object
  • Object
show all
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 datasets.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListDatasetsResponse

Returns a new instance of ListDatasetsResponse.



286
287
288
# File 'lib/google/apis/observability_v1/classes.rb', line 286

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#datasetsArray<Google::Apis::ObservabilityV1::Dataset>

The list of datasets. Corresponds to the JSON property datasets



278
279
280
# File 'lib/google/apis/observability_v1/classes.rb', line 278

def datasets
  @datasets
end

#next_page_tokenString

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

Returns:

  • (String)


284
285
286
# File 'lib/google/apis/observability_v1/classes.rb', line 284

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



291
292
293
294
# File 'lib/google/apis/observability_v1/classes.rb', line 291

def update!(**args)
  @datasets = args[:datasets] if args.key?(:datasets)
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
end