Class AccessPoliciesResource.ServicePerimetersResource.PatchRequest
Updates a service perimeter. The long-running operation from this RPC has a successful status after the service perimeter propagates to long-lasting storage. If a service perimeter contains errors, an error response is returned for the first error encountered.
Inheritance
Inherited Members
Namespace: Google.Apis.AccessContextManager.v1
Assembly: Google.Apis.AccessContextManager.v1.dll
Syntax
public class AccessPoliciesResource.ServicePerimetersResource.PatchRequest : AccessContextManagerBaseServiceRequest<Operation>, IClientServiceRequest<Operation>, IClientServiceRequest
Constructors
PatchRequest(IClientService, ServicePerimeter, string)
Constructs a new Patch request.
Declaration
public PatchRequest(IClientService service, ServicePerimeter body, string name)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| ServicePerimeter | 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
Identifier. Resource name for the ServicePerimeter. Format:
accessPolicies/{access_policy}/servicePerimeters/{service_perimeter}. The service_perimeter
component must begin with a letter, followed by alphanumeric characters or _. After you create a
ServicePerimeter, 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()