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

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.



534
535
536
# File 'lib/google/apis/apim_v1alpha/classes.rb', line 534

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



526
527
528
# File 'lib/google/apis/apim_v1alpha/classes.rb', line 526

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)


532
533
534
# File 'lib/google/apis/apim_v1alpha/classes.rb', line 532

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



539
540
541
542
# File 'lib/google/apis/apim_v1alpha/classes.rb', line 539

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