Class: Google::Apis::ApihubV1::GoogleCloudApihubV1ListCurationsResponse
- Inherits:
-
Object
- Object
- Google::Apis::ApihubV1::GoogleCloudApihubV1ListCurationsResponse
- 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 ListCurations method's response.
Instance Attribute Summary collapse
-
#curations ⇒ Array<Google::Apis::ApihubV1::GoogleCloudApihubV1Curation>
The curation resources present in the API hub.
-
#next_page_token ⇒ String
A token, which can be sent as
page_tokento retrieve the next page.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudApihubV1ListCurationsResponse
constructor
A new instance of GoogleCloudApihubV1ListCurationsResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudApihubV1ListCurationsResponse
Returns a new instance of GoogleCloudApihubV1ListCurationsResponse.
2988 2989 2990 |
# File 'lib/google/apis/apihub_v1/classes.rb', line 2988 def initialize(**args) update!(**args) end |
Instance Attribute Details
#curations ⇒ Array<Google::Apis::ApihubV1::GoogleCloudApihubV1Curation>
The curation resources present in the API hub.
Corresponds to the JSON property curations
2980 2981 2982 |
# File 'lib/google/apis/apihub_v1/classes.rb', line 2980 def curations @curations end |
#next_page_token ⇒ String
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
2986 2987 2988 |
# File 'lib/google/apis/apihub_v1/classes.rb', line 2986 def next_page_token @next_page_token end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2993 2994 2995 2996 |
# File 'lib/google/apis/apihub_v1/classes.rb', line 2993 def update!(**args) @curations = args[:curations] if args.key?(:curations) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) end |