Class: Google::Cloud::Dataproc::V1beta2::CreateAutoscalingPolicyRequest

Inherits:
Object
  • Object
show all
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

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

Returns:

  • (::String)

    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.

Returns:



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