Class RolesResource.QueryGrantableRolesRequest
Lists roles that can be granted on a Google Cloud resource. A role is grantable if the IAM policy for the resource can contain bindings to the role.
Inheritance
RolesResource.QueryGrantableRolesRequest
Inherited Members
Namespace: Google.Apis.Iam.v1
Assembly: Google.Apis.Iam.v1.dll
Syntax
public class RolesResource.QueryGrantableRolesRequest : IamBaseServiceRequest<QueryGrantableRolesResponse>, IClientServiceRequest<QueryGrantableRolesResponse>, IClientServiceRequest
Constructors
QueryGrantableRolesRequest(IClientService, QueryGrantableRolesRequest)
Constructs a new QueryGrantableRoles request.
Declaration
public QueryGrantableRolesRequest(IClientService service, QueryGrantableRolesRequest body)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
QueryGrantableRolesRequest | body |
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
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
InitParameters()
Initializes QueryGrantableRoles parameter list.
Declaration
protected override void InitParameters()