Class AutoscalingConfig (2.6.2)

AutoscalingConfig(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Autoscaling Policy config associated with the cluster. .. attribute:: policy_uri

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.

    :type: str