Show / Hide Table of Contents

Class ProjectsResource.LocationsResource.AutoscalingPoliciesResource.DeleteRequest

Deletes an autoscaling policy. It is an error to delete an autoscaling policy that is in use by one or more clusters.

Inheritance
System.Object
ClientServiceRequest
ClientServiceRequest<Empty>
DataprocBaseServiceRequest<Empty>
ProjectsResource.LocationsResource.AutoscalingPoliciesResource.DeleteRequest
Implements
IClientServiceRequest<Empty>
IClientServiceRequest
Inherited Members
DataprocBaseServiceRequest<Empty>.Xgafv
DataprocBaseServiceRequest<Empty>.AccessToken
DataprocBaseServiceRequest<Empty>.Alt
DataprocBaseServiceRequest<Empty>.Callback
DataprocBaseServiceRequest<Empty>.Fields
DataprocBaseServiceRequest<Empty>.Key
DataprocBaseServiceRequest<Empty>.OauthToken
DataprocBaseServiceRequest<Empty>.PrettyPrint
DataprocBaseServiceRequest<Empty>.QuotaUser
DataprocBaseServiceRequest<Empty>.UploadType
DataprocBaseServiceRequest<Empty>.UploadProtocol
ClientServiceRequest<Empty>.Execute()
ClientServiceRequest<Empty>.ExecuteAsStream()
ClientServiceRequest<Empty>.ExecuteAsync()
ClientServiceRequest<Empty>.ExecuteAsync(CancellationToken)
ClientServiceRequest<Empty>.ExecuteAsStreamAsync()
ClientServiceRequest<Empty>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<Empty>.CreateRequest(Nullable<Boolean>)
ClientServiceRequest<Empty>.GenerateRequestUri()
ClientServiceRequest<Empty>.GetBody()
ClientServiceRequest<Empty>.GetDefaultETagAction(String)
ClientServiceRequest<Empty>.ETagAction
ClientServiceRequest<Empty>.ModifyRequest
ClientServiceRequest<Empty>.RequestParameters
ClientServiceRequest<Empty>.Service
ClientServiceRequest._unsuccessfulResponseHandlers
ClientServiceRequest._exceptionHandlers
ClientServiceRequest._executeInterceptors
ClientServiceRequest.AddUnsuccessfulResponseHandler(IHttpUnsuccessfulResponseHandler)
ClientServiceRequest.AddExceptionHandler(IHttpExceptionHandler)
ClientServiceRequest.AddExecuteInterceptor(IHttpExecuteInterceptor)
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.v1
Assembly: Google.Apis.Dataproc.v1.dll
Syntax
public class DeleteRequest : DataprocBaseServiceRequest<Empty>, IClientServiceRequest<Empty>, IClientServiceRequest

Constructors

DeleteRequest(IClientService, String)

Constructs a new Delete request.

Declaration
public DeleteRequest(IClientService service, string name)
Parameters
Type Name Description
IClientService service
System.String name

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.v1.Data.Empty>.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.v1.Data.Empty>.MethodName

Name

Required. The "resource name" of the autoscaling policy, as described in https://cloud.google.com/apis/design/resource_names. For projects.regions.autoscalingPolicies.delete, the resource name of the policy has the following format: projects/{project_id}/regions/{region}/autoscalingPolicies/{policy_id} For projects.locations.autoscalingPolicies.delete, the resource name of the policy has the following format: projects/{project_id}/locations/{location}/autoscalingPolicies/{policy_id}

Declaration
[RequestParameter("name", RequestParameterType.Path)]
public virtual string Name { 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.v1.Data.Empty>.RestPath

Methods

InitParameters()

Initializes Delete parameter list.

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

Implements

IClientServiceRequest<TResponse>
IClientServiceRequest
Back to top