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.
Implements
IMessageCreateAutoscalingPolicyRequest, IEquatableCreateAutoscalingPolicyRequest, IDeepCloneableCreateAutoscalingPolicyRequest, IBufferMessage, IMessageNamespace
Google.Cloud.Dataproc.V1Assembly
Google.Cloud.Dataproc.V1.dll
Constructors
CreateAutoscalingPolicyRequest()
public CreateAutoscalingPolicyRequest()
CreateAutoscalingPolicyRequest(CreateAutoscalingPolicyRequest)
public CreateAutoscalingPolicyRequest(CreateAutoscalingPolicyRequest other)
Parameter | |
---|---|
Name | Description |
other |
CreateAutoscalingPolicyRequest |
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 | |
---|---|
Type | Description |
string |
ParentAsLocationName
public LocationName ParentAsLocationName { get; set; }
LocationName-typed view over the Parent resource name property.
Property Value | |
---|---|
Type | Description |
LocationName |
ParentAsRegionName
public RegionName ParentAsRegionName { get; set; }
RegionName-typed view over the Parent resource name property.
Property Value | |
---|---|
Type | Description |
RegionName |
ParentAsResourceName
public IResourceName ParentAsResourceName { get; set; }
IResourceName-typed view over the Parent resource name property.
Property Value | |
---|---|
Type | Description |
IResourceName |
Policy
public AutoscalingPolicy Policy { get; set; }
Required. The autoscaling policy to create.
Property Value | |
---|---|
Type | Description |
AutoscalingPolicy |