Show / Hide Table of Contents

Class ProjectsResource.RegionsResource.AutoscalingPoliciesResource.CreateRequest

Creates new autoscaling policy.

Inheritance
System.Object
Google.Apis.Requests.ClientServiceRequest
Google.Apis.Requests.ClientServiceRequest<AutoscalingPolicy>
DataprocBaseServiceRequest<AutoscalingPolicy>
ProjectsResource.RegionsResource.AutoscalingPoliciesResource.CreateRequest
Implements
Google.Apis.Requests.IClientServiceRequest<AutoscalingPolicy>
Google.Apis.Requests.IClientServiceRequest
Inherited Members
DataprocBaseServiceRequest<AutoscalingPolicy>.Xgafv
DataprocBaseServiceRequest<AutoscalingPolicy>.AccessToken
DataprocBaseServiceRequest<AutoscalingPolicy>.Alt
DataprocBaseServiceRequest<AutoscalingPolicy>.Callback
DataprocBaseServiceRequest<AutoscalingPolicy>.Fields
DataprocBaseServiceRequest<AutoscalingPolicy>.Key
DataprocBaseServiceRequest<AutoscalingPolicy>.OauthToken
DataprocBaseServiceRequest<AutoscalingPolicy>.PrettyPrint
DataprocBaseServiceRequest<AutoscalingPolicy>.QuotaUser
DataprocBaseServiceRequest<AutoscalingPolicy>.UploadType
DataprocBaseServiceRequest<AutoscalingPolicy>.UploadProtocol
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Dataproc.v1beta2.Data.AutoscalingPolicy>.Execute()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Dataproc.v1beta2.Data.AutoscalingPolicy>.ExecuteAsStream()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Dataproc.v1beta2.Data.AutoscalingPolicy>.ExecuteAsync()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Dataproc.v1beta2.Data.AutoscalingPolicy>.ExecuteAsync(System.Threading.CancellationToken)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Dataproc.v1beta2.Data.AutoscalingPolicy>.ExecuteAsStreamAsync()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Dataproc.v1beta2.Data.AutoscalingPolicy>.ExecuteAsStreamAsync(System.Threading.CancellationToken)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Dataproc.v1beta2.Data.AutoscalingPolicy>.CreateRequest(System.Nullable<System.Boolean>)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Dataproc.v1beta2.Data.AutoscalingPolicy>.GenerateRequestUri()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Dataproc.v1beta2.Data.AutoscalingPolicy>.GetDefaultETagAction(System.String)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Dataproc.v1beta2.Data.AutoscalingPolicy>.ETagAction
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Dataproc.v1beta2.Data.AutoscalingPolicy>.ModifyRequest
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Dataproc.v1beta2.Data.AutoscalingPolicy>.ValidateParameters
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Dataproc.v1beta2.Data.AutoscalingPolicy>.RequestParameters
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Dataproc.v1beta2.Data.AutoscalingPolicy>.Service
Google.Apis.Requests.ClientServiceRequest._unsuccessfulResponseHandlers
Google.Apis.Requests.ClientServiceRequest._exceptionHandlers
Google.Apis.Requests.ClientServiceRequest._executeInterceptors
Google.Apis.Requests.ClientServiceRequest.AddUnsuccessfulResponseHandler(Google.Apis.Http.IHttpUnsuccessfulResponseHandler)
Google.Apis.Requests.ClientServiceRequest.AddExceptionHandler(Google.Apis.Http.IHttpExceptionHandler)
Google.Apis.Requests.ClientServiceRequest.AddExecuteInterceptor(Google.Apis.Http.IHttpExecuteInterceptor)
Google.Apis.Requests.ClientServiceRequest.Credential
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.Dataproc.v1beta2
Assembly: Google.Apis.Dataproc.v1beta2.dll
Syntax
public class CreateRequest : DataprocBaseServiceRequest<AutoscalingPolicy>, IClientServiceRequest<AutoscalingPolicy>, IClientServiceRequest

Constructors

CreateRequest(IClientService, AutoscalingPolicy, String)

Constructs a new Create request.

Declaration
public CreateRequest(IClientService service, AutoscalingPolicy body, string parent)
Parameters
Type Name Description
Google.Apis.Services.IClientService service
AutoscalingPolicy body
System.String parent

Properties

HttpMethod

Gets the HTTP method.

Declaration
public override string HttpMethod { get; }
Property Value
Type Description
System.String
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Dataproc.v1beta2.Data.AutoscalingPolicy>.HttpMethod

MethodName

Gets the method name.

Declaration
public override string MethodName { get; }
Property Value
Type Description
System.String
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Dataproc.v1beta2.Data.AutoscalingPolicy>.MethodName

Parent

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}

Declaration
[RequestParameter("parent", RequestParameterType.Path)]
public virtual string Parent { get; }
Property Value
Type Description
System.String

RestPath

Gets the REST path.

Declaration
public override string RestPath { get; }
Property Value
Type Description
System.String
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Dataproc.v1beta2.Data.AutoscalingPolicy>.RestPath

Methods

GetBody()

Returns the body of the request.

Declaration
protected override object GetBody()
Returns
Type Description
System.Object
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Dataproc.v1beta2.Data.AutoscalingPolicy>.GetBody()

InitParameters()

Initializes Create parameter list.

Declaration
protected override void InitParameters()
Overrides
Google.Apis.Dataproc.v1beta2.DataprocBaseServiceRequest<Google.Apis.Dataproc.v1beta2.Data.AutoscalingPolicy>.InitParameters()

Implements

Google.Apis.Requests.IClientServiceRequest<TResponse>
Google.Apis.Requests.IClientServiceRequest
In This Article
Back to top