class Google::Apis::DataprocV1beta2::AutoscalingConfig

Autoscaling Policy config associated with the cluster.

Attributes

policy_uri[RW]

Optional. The autoscaling policy used by the cluster.Only resource names including projectid and location (region) are valid. Examples: www. googleapis.com/compute/v1/projects//locations// autoscalingPolicies/ projects//locations/[ dataproc_region]/autoscalingPolicies/Note that the policy must be in the same project and Dataproc region. Corresponds to the JSON property `policyUri` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/dataproc_v1beta2/classes.rb, line 75
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/dataproc_v1beta2/classes.rb, line 80
def update!(**args)
  @policy_uri = args[:policy_uri] if args.key?(:policy_uri)
end