Class: Google::Apis::ApihubV1::GoogleCloudApihubV1ListDeploymentsResponse
- Inherits:
-
Object
- Object
- Google::Apis::ApihubV1::GoogleCloudApihubV1ListDeploymentsResponse
- 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 ListDeployments method's response.
Instance Attribute Summary collapse
-
#deployments ⇒ Array<Google::Apis::ApihubV1::GoogleCloudApihubV1Deployment>
The deployment 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) ⇒ GoogleCloudApihubV1ListDeploymentsResponse
constructor
A new instance of GoogleCloudApihubV1ListDeploymentsResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudApihubV1ListDeploymentsResponse
Returns a new instance of GoogleCloudApihubV1ListDeploymentsResponse.
3142 3143 3144 |
# File 'lib/google/apis/apihub_v1/classes.rb', line 3142 def initialize(**args) update!(**args) end |
Instance Attribute Details
#deployments ⇒ Array<Google::Apis::ApihubV1::GoogleCloudApihubV1Deployment>
The deployment resources present in the API hub.
Corresponds to the JSON property deployments
3134 3135 3136 |
# File 'lib/google/apis/apihub_v1/classes.rb', line 3134 def deployments @deployments 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
3140 3141 3142 |
# File 'lib/google/apis/apihub_v1/classes.rb', line 3140 def next_page_token @next_page_token end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3147 3148 3149 3150 |
# File 'lib/google/apis/apihub_v1/classes.rb', line 3147 def update!(**args) @deployments = args[:deployments] if args.key?(:deployments) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) end |