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

Inherits:
Object
  • Object
show all
Defined in:
lib/google/cloud/dataproc/v1/doc/google/cloud/dataproc/v1/autoscaling_policies.rb

Overview

A request to create an autoscaling policy.

Instance Attribute Summary collapse

Instance Attribute Details

#parentString

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}



163
# File 'lib/google/cloud/dataproc/v1/doc/google/cloud/dataproc/v1/autoscaling_policies.rb', line 163

class CreateAutoscalingPolicyRequest; end

#policyGoogle::Cloud::Dataproc::V1::AutoscalingPolicy

Returns The autoscaling policy to create.

Returns:



163
# File 'lib/google/cloud/dataproc/v1/doc/google/cloud/dataproc/v1/autoscaling_policies.rb', line 163

class CreateAutoscalingPolicyRequest; end