Class: Google::Apis::ApihubV1::GoogleCloudApihubV1ListDeploymentsResponse

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 ListDeployments method's response.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudApihubV1ListDeploymentsResponse

Returns a new instance of GoogleCloudApihubV1ListDeploymentsResponse.



3040
3041
3042
# File 'lib/google/apis/apihub_v1/classes.rb', line 3040

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

Instance Attribute Details

#deploymentsArray<Google::Apis::ApihubV1::GoogleCloudApihubV1Deployment>

The deployment resources present in the API hub. Corresponds to the JSON property deployments



3032
3033
3034
# File 'lib/google/apis/apihub_v1/classes.rb', line 3032

def deployments
  @deployments
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)


3038
3039
3040
# File 'lib/google/apis/apihub_v1/classes.rb', line 3038

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3045
3046
3047
3048
# File 'lib/google/apis/apihub_v1/classes.rb', line 3045

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