Class AccessPoliciesResource
The "accessPolicies" collection of methods.
Inherited Members
Namespace: Google.Apis.AccessContextManager.v1beta
Assembly: Google.Apis.AccessContextManager.v1beta.dll
Syntax
public class AccessPoliciesResource
Constructors
AccessPoliciesResource(IClientService)
Constructs a new resource.
Declaration
public AccessPoliciesResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Properties
AccessLevels
Gets the AccessLevels resource.
Declaration
public virtual AccessPoliciesResource.AccessLevelsResource AccessLevels { get; }
Property Value
Type | Description |
---|---|
AccessPoliciesResource.AccessLevelsResource |
ServicePerimeters
Gets the ServicePerimeters resource.
Declaration
public virtual AccessPoliciesResource.ServicePerimetersResource ServicePerimeters { get; }
Property Value
Type | Description |
---|---|
AccessPoliciesResource.ServicePerimetersResource |
Methods
Create(AccessPolicy)
Create an AccessPolicy
. Fails if this organization already has a AccessPolicy
. The longrunning Operation
will have a successful status once the AccessPolicy
has propagated to long-lasting storage. Syntactic and
basic semantic errors will be returned in metadata
as a BadRequest proto.
Declaration
public virtual AccessPoliciesResource.CreateRequest Create(AccessPolicy body)
Parameters
Type | Name | Description |
---|---|---|
AccessPolicy | body | The body of the request. |
Returns
Type | Description |
---|---|
AccessPoliciesResource.CreateRequest |
Delete(string)
Delete an AccessPolicy by resource name. The longrunning Operation will have a successful status once the AccessPolicy has been removed from long-lasting storage.
Declaration
public virtual AccessPoliciesResource.DeleteRequest Delete(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. Resource name for the access policy to delete. Format |
Returns
Type | Description |
---|---|
AccessPoliciesResource.DeleteRequest |
Get(string)
Get an AccessPolicy by name.
Declaration
public virtual AccessPoliciesResource.GetRequest Get(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. Resource name for the access policy to get. Format |
Returns
Type | Description |
---|---|
AccessPoliciesResource.GetRequest |
List()
List all AccessPolicies under a container.
Declaration
public virtual AccessPoliciesResource.ListRequest List()
Returns
Type | Description |
---|---|
AccessPoliciesResource.ListRequest |
Patch(AccessPolicy, string)
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.
Declaration
public virtual AccessPoliciesResource.PatchRequest Patch(AccessPolicy body, string name)
Parameters
Type | Name | Description |
---|---|---|
AccessPolicy | body | The body of the request. |
string | name | Output only. Resource name of the |
Returns
Type | Description |
---|---|
AccessPoliciesResource.PatchRequest |