Class: Google::Apis::ApihubV1::GoogleCloudApihubV1ListDiscoveredApiObservationsResponse

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

Overview

Message for response to listing DiscoveredApiObservations

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudApihubV1ListDiscoveredApiObservationsResponse

Returns a new instance of GoogleCloudApihubV1ListDiscoveredApiObservationsResponse.



3168
3169
3170
# File 'lib/google/apis/apihub_v1/classes.rb', line 3168

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

Instance Attribute Details

#discovered_api_observationsArray<Google::Apis::ApihubV1::GoogleCloudApihubV1DiscoveredApiObservation>

The DiscoveredApiObservation from the specified project and location. Corresponds to the JSON property discoveredApiObservations



3160
3161
3162
# File 'lib/google/apis/apihub_v1/classes.rb', line 3160

def discovered_api_observations
  @discovered_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)


3166
3167
3168
# File 'lib/google/apis/apihub_v1/classes.rb', line 3166

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3173
3174
3175
3176
# File 'lib/google/apis/apihub_v1/classes.rb', line 3173

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