Class SystempolicyResource.GetPolicyRequest
Gets the current system policy in the specified location.
Inheritance
SystempolicyResource.GetPolicyRequest
Inherited Members
Namespace: Google.Apis.BinaryAuthorization.v1
Assembly: Google.Apis.BinaryAuthorization.v1.dll
Syntax
public class SystempolicyResource.GetPolicyRequest : BinaryAuthorizationBaseServiceRequest<Policy>, IClientServiceRequest<Policy>, IClientServiceRequest
Constructors
GetPolicyRequest(IClientService, string)
Constructs a new GetPolicy request.
Declaration
public GetPolicyRequest(IClientService service, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
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
Required. The resource name, in the format locations/*/policy
. Note that the system policy is not
associated with a project.
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 GetPolicy parameter list.
Declaration
protected override void InitParameters()