Class AccessPoliciesResource.AccessLevelsResource.GetRequest
Get an Access Level by resource name.
Inheritance
AccessPoliciesResource.AccessLevelsResource.GetRequest
Inherited Members
Namespace: Google.Apis.AccessContextManager.v1beta
Assembly: Google.Apis.AccessContextManager.v1beta.dll
Syntax
public class AccessPoliciesResource.AccessLevelsResource.GetRequest : AccessContextManagerBaseServiceRequest<AccessLevel>, IClientServiceRequest<AccessLevel>, IClientServiceRequest
Constructors
GetRequest(IClientService, string)
Constructs a new Get request.
Declaration
public GetRequest(IClientService service, string name)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| string | name |
Properties
AccessLevelFormat
Whether to return BasicLevels in the Cloud Common Expression Language rather than as
BasicLevels. Defaults to AS_DEFINED, where Access Levels are returned as BasicLevels or
CustomLevels based on how they were created. If set to CEL, all Access Levels are returned as
CustomLevels. In the CEL case, BasicLevels are translated to equivalent CustomLevels.
Declaration
[RequestParameter("accessLevelFormat", RequestParameterType.Query)]
public virtual AccessPoliciesResource.AccessLevelsResource.GetRequest.AccessLevelFormatEnum? AccessLevelFormat { get; set; }
Property Value
| Type | Description |
|---|---|
| AccessPoliciesResource.AccessLevelsResource.GetRequest.AccessLevelFormatEnum? |
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.AccessLevel>.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.AccessLevel>.MethodName
Name
Required. Resource name for the Access Level. Format:
accessPolicies/{policy_id}/accessLevels/{access_level_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.AccessLevel>.RestPath
Methods
InitParameters()
Initializes Get parameter list.
Declaration
protected override void InitParameters()