Class ProjectsResource.LocationsResource.ServicesResource.GetIamPolicyRequest
Get the IAM Access Control policy currently in effect for the given Cloud Run service. This result does not include any inherited policies.
Inheritance
System.Object
ProjectsResource.LocationsResource.ServicesResource.GetIamPolicyRequest
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.Finalize()
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.CloudRun.v1
Assembly: Google.Apis.CloudRun.v1.dll
Syntax
public class GetIamPolicyRequest : CloudRunBaseServiceRequest<Policy>, IClientServiceRequest<Policy>, IClientServiceRequest
Constructors
GetIamPolicyRequest(IClientService, String)
Constructs a new GetIamPolicy request.
Declaration
public GetIamPolicyRequest(IClientService service, string resource)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| System.String | resource |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudRun.v1.Data.Policy>.HttpMethod
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudRun.v1.Data.Policy>.MethodName
OptionsRequestedPolicyVersion
Optional. The policy format version to be returned.
Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected.
Requests for policies with any conditional bindings must specify version 3. Policies without any conditional bindings may specify any valid value or leave the field unset.
Declaration
public virtual Nullable<int> OptionsRequestedPolicyVersion { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Int32> |
Resource
REQUIRED: The resource for which the policy is being requested. See the operation documentation for the appropriate value for this field.
Declaration
public virtual string Resource { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudRun.v1.Data.Policy>.RestPath
Methods
InitParameters()
Initializes GetIamPolicy parameter list.
Declaration
protected override void InitParameters()
Overrides
Google.Apis.CloudRun.v1.CloudRunBaseServiceRequest<Google.Apis.CloudRun.v1.Data.Policy>.InitParameters()