Google Cloud Dataproc v1 API - Class CreateAutoscalingPolicyRequest (5.5.0)

public sealed class CreateAutoscalingPolicyRequest : IMessage<CreateAutoscalingPolicyRequest>, IEquatable<CreateAutoscalingPolicyRequest>, IDeepCloneable<CreateAutoscalingPolicyRequest>, IBufferMessage, IMessage

Reference documentation and code samples for the Google Cloud Dataproc v1 API class CreateAutoscalingPolicyRequest.

A request to create an autoscaling policy.

Inheritance

object > CreateAutoscalingPolicyRequest

Namespace

GoogleCloudGoogle.Cloud.DataprocV1

Assembly

Google.Cloud.Dataproc.V1.dll

Constructors

CreateAutoscalingPolicyRequest()

public CreateAutoscalingPolicyRequest()

CreateAutoscalingPolicyRequest(CreateAutoscalingPolicyRequest)

public CreateAutoscalingPolicyRequest(CreateAutoscalingPolicyRequest other)
Parameter
NameDescription
otherCreateAutoscalingPolicyRequest

Properties

Parent

public string Parent { get; set; }

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}

Property Value
TypeDescription
string

ParentAsLocationName

public LocationName ParentAsLocationName { get; set; }

LocationName-typed view over the Parent resource name property.

Property Value
TypeDescription
LocationName

ParentAsRegionName

public RegionName ParentAsRegionName { get; set; }

RegionName-typed view over the Parent resource name property.

Property Value
TypeDescription
RegionName

ParentAsResourceName

public IResourceName ParentAsResourceName { get; set; }

IResourceName-typed view over the Parent resource name property.

Property Value
TypeDescription
IResourceName

Policy

public AutoscalingPolicy Policy { get; set; }

Required. The autoscaling policy to create.

Property Value
TypeDescription
AutoscalingPolicy