Class: Google::Apis::ApihubV1::GoogleCloudApihubV1RetrieveApiViewsResponse

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

The RetrieveApiViews method's response.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudApihubV1RetrieveApiViewsResponse

Returns a new instance of GoogleCloudApihubV1RetrieveApiViewsResponse.



4269
4270
4271
# File 'lib/google/apis/apihub_v1/classes.rb', line 4269

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

Instance Attribute Details

#api_viewsArray<Google::Apis::ApihubV1::GoogleCloudApihubV1ApiView>

Output only. The list of API views. Corresponds to the JSON property apiViews



4262
4263
4264
# File 'lib/google/apis/apihub_v1/classes.rb', line 4262

def api_views
  @api_views
end

#next_page_tokenString

Next page token. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


4267
4268
4269
# File 'lib/google/apis/apihub_v1/classes.rb', line 4267

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4274
4275
4276
4277
# File 'lib/google/apis/apihub_v1/classes.rb', line 4274

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