Class: Google::Cloud::Dataproc::V1beta2::CreateAutoscalingPolicyRequest
- Inherits:
-
Object
- Object
- Google::Cloud::Dataproc::V1beta2::CreateAutoscalingPolicyRequest
- Defined in:
- lib/google/cloud/dataproc/v1beta2/doc/google/cloud/dataproc/v1beta2/autoscaling_policies.rb
Overview
A request to create an autoscaling policy.
Instance Attribute Summary collapse
-
#parent ⇒ String
Required.
-
#policy ⇒ Google::Cloud::Dataproc::V1beta2::AutoscalingPolicy
Required.
Instance Attribute Details
#parent ⇒ String
Returns Required. The "resource name" of the region or location, as described in https://cloud.google.com/apis/design/resource_names.
For
projects.regions.autoscalingPolicies.create, the resource name has the following format:projects/{project_id}/regions/{region}For
projects.locations.autoscalingPolicies.create, the resource name has the following format:projects/{project_id}/locations/{location}.
163 |
# File 'lib/google/cloud/dataproc/v1beta2/doc/google/cloud/dataproc/v1beta2/autoscaling_policies.rb', line 163 class CreateAutoscalingPolicyRequest; end |
#policy ⇒ Google::Cloud::Dataproc::V1beta2::AutoscalingPolicy
Returns Required. The autoscaling policy to create.
163 |
# File 'lib/google/cloud/dataproc/v1beta2/doc/google/cloud/dataproc/v1beta2/autoscaling_policies.rb', line 163 class CreateAutoscalingPolicyRequest; end |