Class Google::Cloud::Dataproc::V1::AutoscalingConfig (v0.8.0)

Autoscaling Policy config associated with the cluster.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#policy_uri

def policy_uri() -> ::String
Returns
  • (::String) — Optional. The autoscaling policy used by the cluster.

    Only resource names including projectid and location (region) are valid. Examples:

    • https://www.googleapis.com/compute/v1/projects/[project_id]/locations/[dataproc_region]/autoscalingPolicies/[policy_id]
    • projects/[project_id]/locations/[dataproc_region]/autoscalingPolicies/[policy_id]

    Note that the policy must be in the same project and Dataproc region.

#policy_uri=

def policy_uri=(value) -> ::String
Parameter
  • value (::String) — Optional. The autoscaling policy used by the cluster.

    Only resource names including projectid and location (region) are valid. Examples:

    • https://www.googleapis.com/compute/v1/projects/[project_id]/locations/[dataproc_region]/autoscalingPolicies/[policy_id]
    • projects/[project_id]/locations/[dataproc_region]/autoscalingPolicies/[policy_id]

    Note that the policy must be in the same project and Dataproc region.

Returns
  • (::String) — Optional. The autoscaling policy used by the cluster.

    Only resource names including projectid and location (region) are valid. Examples:

    • https://www.googleapis.com/compute/v1/projects/[project_id]/locations/[dataproc_region]/autoscalingPolicies/[policy_id]
    • projects/[project_id]/locations/[dataproc_region]/autoscalingPolicies/[policy_id]

    Note that the policy must be in the same project and Dataproc region.