Class: Google::Apis::ClouddeployV1::ListDeployPoliciesResponse

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

Overview

The response object from ListDeployPolicies.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListDeployPoliciesResponse

Returns a new instance of ListDeployPoliciesResponse.



3010
3011
3012
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 3010

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

Instance Attribute Details

#deploy_policiesArray<Google::Apis::ClouddeployV1::DeployPolicy>

The DeployPolicy objects. Corresponds to the JSON property deployPolicies



2997
2998
2999
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 2997

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


3003
3004
3005
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 3003

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>)


3008
3009
3010
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 3008

def unreachable
  @unreachable
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3015
3016
3017
3018
3019
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 3015

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