Class: Google::Apis::CesV1::ListDeploymentsResponse

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/ces_v1/classes.rb,
lib/google/apis/ces_v1/representations.rb,
lib/google/apis/ces_v1/representations.rb

Overview

Response message for AgentService.ListDeployments.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListDeploymentsResponse

Returns a new instance of ListDeploymentsResponse.



4174
4175
4176
# File 'lib/google/apis/ces_v1/classes.rb', line 4174

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

Instance Attribute Details

#deploymentsArray<Google::Apis::CesV1::Deployment>

The list of deployments. Corresponds to the JSON property deployments



4166
4167
4168
# File 'lib/google/apis/ces_v1/classes.rb', line 4166

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)


4172
4173
4174
# File 'lib/google/apis/ces_v1/classes.rb', line 4172

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4179
4180
4181
4182
# File 'lib/google/apis/ces_v1/classes.rb', line 4179

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