Class: Google::Cloud::Dataproc::V1::CreateAutoscalingPolicyRequest

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/dataproc/v1/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 of the region has the following format: projects/{project_id}/regions/{region}

  • For projects.locations.autoscalingPolicies.create, the resource name of the location 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 of the region has the following format: projects/{project_id}/regions/{region}

    • For projects.locations.autoscalingPolicies.create, the resource name of the location has the following format: projects/{project_id}/locations/{location}



203
204
205
206
# File 'proto_docs/google/cloud/dataproc/v1/autoscaling_policies.rb', line 203

class CreateAutoscalingPolicyRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#policy::Google::Cloud::Dataproc::V1::AutoscalingPolicy

Returns Required. The autoscaling policy to create.

Returns:



203
204
205
206
# File 'proto_docs/google/cloud/dataproc/v1/autoscaling_policies.rb', line 203

class CreateAutoscalingPolicyRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end