Class AccessPoliciesResource.AccessLevelsResource
The "accessLevels" collection of methods.
Inherited Members
Namespace: Google.Apis.AccessContextManager.v1beta
Assembly: Google.Apis.AccessContextManager.v1beta.dll
Syntax
public class AccessPoliciesResource.AccessLevelsResource
Constructors
AccessLevelsResource(IClientService)
Constructs a new resource.
Declaration
public AccessLevelsResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
Create(AccessLevel, string)
Create an Access Level. The longrunning operation from this RPC will have a successful status once the Access Level has propagated to long-lasting storage. Access Levels containing errors will result in an error response for the first error encountered.
Declaration
public virtual AccessPoliciesResource.AccessLevelsResource.CreateRequest Create(AccessLevel body, string parent)
Parameters
Type | Name | Description |
---|---|---|
AccessLevel | body | The body of the request. |
string | parent | Required. Resource name for the access policy which owns this Access Level. Format:
|
Returns
Type | Description |
---|---|
AccessPoliciesResource.AccessLevelsResource.CreateRequest |
Delete(string)
Delete an Access Level by resource name. The longrunning operation from this RPC will have a successful status once the Access Level has been removed from long-lasting storage.
Declaration
public virtual AccessPoliciesResource.AccessLevelsResource.DeleteRequest Delete(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. Resource name for the Access Level. Format:
|
Returns
Type | Description |
---|---|
AccessPoliciesResource.AccessLevelsResource.DeleteRequest |
Get(string)
Get an Access Level by resource name.
Declaration
public virtual AccessPoliciesResource.AccessLevelsResource.GetRequest Get(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. Resource name for the Access Level. Format:
|
Returns
Type | Description |
---|---|
AccessPoliciesResource.AccessLevelsResource.GetRequest |
List(string)
List all Access Levels for an access policy.
Declaration
public virtual AccessPoliciesResource.AccessLevelsResource.ListRequest List(string parent)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. Resource name for the access policy to list Access Levels from. Format:
|
Returns
Type | Description |
---|---|
AccessPoliciesResource.AccessLevelsResource.ListRequest |
Patch(AccessLevel, string)
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.
Declaration
public virtual AccessPoliciesResource.AccessLevelsResource.PatchRequest Patch(AccessLevel body, string name)
Parameters
Type | Name | Description |
---|---|---|
AccessLevel | body | The body of the request. |
string | name | Resource name for the |
Returns
Type | Description |
---|---|
AccessPoliciesResource.AccessLevelsResource.PatchRequest |