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.



4487
4488
4489
# File 'lib/google/apis/apihub_v1/classes.rb', line 4487

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



4480
4481
4482
# File 'lib/google/apis/apihub_v1/classes.rb', line 4480

def api_views
  @api_views
end

#next_page_tokenString

Next page token. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


4485
4486
4487
# File 'lib/google/apis/apihub_v1/classes.rb', line 4485

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4492
4493
4494
4495
# File 'lib/google/apis/apihub_v1/classes.rb', line 4492

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