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.



3066
3067
3068
# File 'lib/google/apis/apihub_v1/classes.rb', line 3066

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



3058
3059
3060
# File 'lib/google/apis/apihub_v1/classes.rb', line 3058

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)


3064
3065
3066
# File 'lib/google/apis/apihub_v1/classes.rb', line 3064

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3071
3072
3073
3074
# File 'lib/google/apis/apihub_v1/classes.rb', line 3071

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