Class: Google::Apis::ApimV1alpha::ListApiObservationsResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/apim_v1alpha/classes.rb,
lib/google/apis/apim_v1alpha/representations.rb,
lib/google/apis/apim_v1alpha/representations.rb
more...

Overview

Message for response to listing ApiObservations

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListApiObservationsResponse

Returns a new instance of ListApiObservationsResponse.

[View source]

443
444
445
# File 'lib/google/apis/apim_v1alpha/classes.rb', line 443

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

Instance Attribute Details

#api_observationsArray<Google::Apis::ApimV1alpha::ApiObservation>

The ApiObservation from the specified project and location and ObservationJobs. Corresponds to the JSON property apiObservations


435
436
437
# File 'lib/google/apis/apim_v1alpha/classes.rb', line 435

def api_observations
  @api_observations
end

#next_page_tokenString

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages. Corresponds to the JSON property nextPageToken

Returns:

  • (String)

441
442
443
# File 'lib/google/apis/apim_v1alpha/classes.rb', line 441

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object

[View source]

448
449
450
451
# File 'lib/google/apis/apim_v1alpha/classes.rb', line 448

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