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.



2990
2991
2992
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 2990

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

Instance Attribute Details

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

The DeployPolicy objects. Corresponds to the JSON property deployPolicies



2977
2978
2979
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 2977

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)


2983
2984
2985
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 2983

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


2988
2989
2990
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 2988

def unreachable
  @unreachable
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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