Google Cloud Dataproc V1 Client - Class AutoscalingConfig (3.7.1)

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

Autoscaling Policy config associated with the cluster.

Generated from protobuf message google.cloud.dataproc.v1.AutoscalingConfig

Namespace

Google \ Cloud \ Dataproc \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ policy_uri 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.

getPolicyUri

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
TypeDescription
string

setPolicyUri

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.
Parameter
NameDescription
var string
Returns
TypeDescription
$this