Class: Google::Apis::ConfigV1::ListDeploymentsResponse

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListDeploymentsResponse

Returns a new instance of ListDeploymentsResponse.



689
690
691
# File 'lib/google/apis/config_v1/classes.rb', line 689

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

Instance Attribute Details

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

List of Deployments. Corresponds to the JSON property deployments



676
677
678
# File 'lib/google/apis/config_v1/classes.rb', line 676

def deployments
  @deployments
end

#next_page_tokenString

Token to be supplied to the next ListDeployments request via page_token to obtain the next set of results. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


682
683
684
# File 'lib/google/apis/config_v1/classes.rb', line 682

def next_page_token
  @next_page_token
end

#unreachableArray<String>

Locations that could not be reached. Corresponds to the JSON property unreachable

Returns:

  • (Array<String>)


687
688
689
# File 'lib/google/apis/config_v1/classes.rb', line 687

def unreachable
  @unreachable
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



694
695
696
697
698
# File 'lib/google/apis/config_v1/classes.rb', line 694

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