Cloud Dataproc V1 API - Class Google::Cloud::Dataproc::V1::AutoscalingConfig (v0.12.0)

Reference documentation and code samples for the Cloud Dataproc V1 API class Google::Cloud::Dataproc::V1::AutoscalingConfig.

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.