Show / Hide Table of Contents

Class FoldersResource.PoliciesResource.DeleteRequest

Deletes a policy. Returns a google.rpc.Status with google.rpc.Code.NOT_FOUND if the constraint or organization policy does not exist.

Inheritance
object
ClientServiceRequest
ClientServiceRequest<GoogleProtobufEmpty>
OrgPolicyAPIBaseServiceRequest<GoogleProtobufEmpty>
FoldersResource.PoliciesResource.DeleteRequest
Implements
IClientServiceRequest<GoogleProtobufEmpty>
IClientServiceRequest
Inherited Members
OrgPolicyAPIBaseServiceRequest<GoogleProtobufEmpty>.Xgafv
OrgPolicyAPIBaseServiceRequest<GoogleProtobufEmpty>.AccessToken
OrgPolicyAPIBaseServiceRequest<GoogleProtobufEmpty>.Alt
OrgPolicyAPIBaseServiceRequest<GoogleProtobufEmpty>.Callback
OrgPolicyAPIBaseServiceRequest<GoogleProtobufEmpty>.Fields
OrgPolicyAPIBaseServiceRequest<GoogleProtobufEmpty>.Key
OrgPolicyAPIBaseServiceRequest<GoogleProtobufEmpty>.OauthToken
OrgPolicyAPIBaseServiceRequest<GoogleProtobufEmpty>.PrettyPrint
OrgPolicyAPIBaseServiceRequest<GoogleProtobufEmpty>.QuotaUser
OrgPolicyAPIBaseServiceRequest<GoogleProtobufEmpty>.UploadType
OrgPolicyAPIBaseServiceRequest<GoogleProtobufEmpty>.UploadProtocol
ClientServiceRequest<GoogleProtobufEmpty>.Execute()
ClientServiceRequest<GoogleProtobufEmpty>.ExecuteAsStream()
ClientServiceRequest<GoogleProtobufEmpty>.ExecuteAsync()
ClientServiceRequest<GoogleProtobufEmpty>.ExecuteAsync(CancellationToken)
ClientServiceRequest<GoogleProtobufEmpty>.ExecuteAsStreamAsync()
ClientServiceRequest<GoogleProtobufEmpty>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<GoogleProtobufEmpty>.CreateRequest(bool?)
ClientServiceRequest<GoogleProtobufEmpty>.GenerateRequestUri()
ClientServiceRequest<GoogleProtobufEmpty>.GetBody()
ClientServiceRequest<GoogleProtobufEmpty>.GetDefaultETagAction(string)
ClientServiceRequest<GoogleProtobufEmpty>.ETagAction
ClientServiceRequest<GoogleProtobufEmpty>.ModifyRequest
ClientServiceRequest<GoogleProtobufEmpty>.ValidateParameters
ClientServiceRequest<GoogleProtobufEmpty>.ApiVersion
ClientServiceRequest<GoogleProtobufEmpty>.RequestParameters
ClientServiceRequest<GoogleProtobufEmpty>.Service
ClientServiceRequest._unsuccessfulResponseHandlers
ClientServiceRequest._exceptionHandlers
ClientServiceRequest._executeInterceptors
ClientServiceRequest.AddUnsuccessfulResponseHandler(IHttpUnsuccessfulResponseHandler)
ClientServiceRequest.AddExceptionHandler(IHttpExceptionHandler)
ClientServiceRequest.AddExecuteInterceptor(IHttpExecuteInterceptor)
ClientServiceRequest.Credential
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.OrgPolicyAPI.v2
Assembly: Google.Apis.OrgPolicyAPI.v2.dll
Syntax
public class FoldersResource.PoliciesResource.DeleteRequest : OrgPolicyAPIBaseServiceRequest<GoogleProtobufEmpty>, IClientServiceRequest<GoogleProtobufEmpty>, IClientServiceRequest

Constructors

DeleteRequest(IClientService, string)

Constructs a new Delete request.

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

Properties

Etag

Optional. The current etag of policy. If an etag is provided and does not match the current etag of the policy, deletion will be blocked and an ABORTED error will be returned.

Declaration
[RequestParameter("etag", RequestParameterType.Query)]
public virtual string Etag { get; set; }
Property Value
Type Description
string

HttpMethod

Gets the HTTP method.

Declaration
public override string HttpMethod { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<GoogleProtobufEmpty>.HttpMethod

MethodName

Gets the method name.

Declaration
public override string MethodName { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<GoogleProtobufEmpty>.MethodName

Name

Required. Name of the policy to delete. See the policy entry for naming rules.

Declaration
[RequestParameter("name", RequestParameterType.Path)]
public virtual string Name { get; }
Property Value
Type Description
string

RestPath

Gets the REST path.

Declaration
public override string RestPath { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<GoogleProtobufEmpty>.RestPath

Methods

InitParameters()

Initializes Delete parameter list.

Declaration
protected override void InitParameters()
Overrides
OrgPolicyAPIBaseServiceRequest<GoogleProtobufEmpty>.InitParameters()

Implements

IClientServiceRequest<TResponse>
IClientServiceRequest
In this article
Back to top Generated by DocFX