Class AccessPoliciesResource.PatchRequest
Update an AccessPolicy. The longrunning Operation from this RPC will have a successful status once the
changes to the AccessPolicy have propagated to long-lasting storage. Syntactic and basic semantic errors
will be returned in metadata
as a BadRequest proto.
Inheritance
AccessPoliciesResource.PatchRequest
Inherited Members
Namespace: Google.Apis.AccessContextManager.v1beta
Assembly: Google.Apis.AccessContextManager.v1beta.dll
Syntax
public class AccessPoliciesResource.PatchRequest : AccessContextManagerBaseServiceRequest<Operation>, IClientServiceRequest<Operation>, IClientServiceRequest
Constructors
PatchRequest(IClientService, AccessPolicy, string)
Constructs a new Patch request.
Declaration
public PatchRequest(IClientService service, AccessPolicy body, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
AccessPolicy | body | |
string | name |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.AccessContextManager.v1beta.Data.Operation>.HttpMethod
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.AccessContextManager.v1beta.Data.Operation>.MethodName
Name
Output only. Resource name of the AccessPolicy
. Format: accessPolicies/{policy_id}
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
Google.Apis.Requests.ClientServiceRequest<Google.Apis.AccessContextManager.v1beta.Data.Operation>.RestPath
UpdateMask
Required. Mask to control which fields get updated. Must be non-empty.
Declaration
[RequestParameter("updateMask", RequestParameterType.Query)]
public virtual object UpdateMask { get; set; }
Property Value
Type | Description |
---|---|
object |
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.AccessContextManager.v1beta.Data.Operation>.GetBody()
InitParameters()
Initializes Patch parameter list.
Declaration
protected override void InitParameters()