Class: Google::Cloud::Dataproc::V1beta2::CreateAutoscalingPolicyRequest
- Inherits:
-
Object
- Object
- Google::Cloud::Dataproc::V1beta2::CreateAutoscalingPolicyRequest
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/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}
.
185 186 187 188 |
# File 'proto_docs/google/cloud/dataproc/v1beta2/autoscaling_policies.rb', line 185 class CreateAutoscalingPolicyRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#policy ⇒ ::Google::Cloud::Dataproc::V1beta2::AutoscalingPolicy
Returns Required. The autoscaling policy to create.
185 186 187 188 |
# File 'proto_docs/google/cloud/dataproc/v1beta2/autoscaling_policies.rb', line 185 class CreateAutoscalingPolicyRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |