Class AccessPoliciesResource.AccessLevelsResource.PatchRequest
Update an Access Level. The longrunning operation from this RPC will have a successful status once the changes to the Access Level have propagated to long-lasting storage. Access Levels containing errors will result in an error response for the first error encountered.
Inheritance
Inherited Members
Namespace: Google.Apis.AccessContextManager.v1beta
Assembly: Google.Apis.AccessContextManager.v1beta.dll
Syntax
public class AccessPoliciesResource.AccessLevelsResource.PatchRequest : AccessContextManagerBaseServiceRequest<Operation>, IClientServiceRequest<Operation>, IClientServiceRequest
Constructors
PatchRequest(IClientService, AccessLevel, string)
Constructs a new Patch request.
Declaration
public PatchRequest(IClientService service, AccessLevel body, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
AccessLevel | body | |
string | name |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Name
Resource name for the AccessLevel
. Format:
accessPolicies/{access_policy}/accessLevels/{access_level}
. The access_level
component must
begin with a letter, followed by alphanumeric characters or _
. Its maximum length is 50
characters. After you create an AccessLevel
, you cannot change its name
.
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
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
InitParameters()
Initializes Patch parameter list.
Declaration
protected override void InitParameters()