Class AccessPoliciesResource.AccessLevelsResource.GetRequest
Gets an access level based on the resource name.
Inheritance
AccessPoliciesResource.AccessLevelsResource.GetRequest
Inherited Members
Namespace: Google.Apis.AccessContextManager.v1
Assembly: Google.Apis.AccessContextManager.v1.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
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
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
Methods
InitParameters()
Initializes Get parameter list.
Declaration
protected override void InitParameters()