Cloud Dataproc V1 API - Class Google::Cloud::Dataproc::V1::AutoscalingConfig (v1.9.1)

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

defpolicy_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=

defpolicy_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.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.