Class EffectiveIamPoliciesResource.BatchGetRequest
Gets effective IAM policies for a batch of resources.
Inheritance
Inherited Members
Namespace: Google.Apis.CloudAsset.v1
Assembly: Google.Apis.CloudAsset.v1.dll
Syntax
public class EffectiveIamPoliciesResource.BatchGetRequest : CloudAssetBaseServiceRequest<BatchGetEffectiveIamPoliciesResponse>, IClientServiceRequest<BatchGetEffectiveIamPoliciesResponse>, IClientServiceRequest
Constructors
BatchGetRequest(IClientService, string)
Constructs a new BatchGet request.
Declaration
public BatchGetRequest(IClientService service, string scope)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
string | scope |
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
Names
Required. The names refer to the [full_resource_names] (https://cloud.google.com/asset-inventory/docs/resource-name-format) of the asset types supported by search APIs. A maximum of 20 resources' effective policies can be retrieved in a batch.
Declaration
[RequestParameter("names", RequestParameterType.Query)]
public virtual Repeatable<string> Names { get; set; }
Property Value
Type | Description |
---|---|
Repeatable<string> |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Scope
Required. Only IAM policies on or below the scope will be returned. This can only be an organization number (such as "organizations/123"), a folder number (such as "folders/123"), a project ID (such as "projects/my-project-id"), or a project number (such as "projects/12345"). To know how to get organization ID, visit here. To know how to get folder or project ID, visit here.
Declaration
[RequestParameter("scope", RequestParameterType.Path)]
public virtual string Scope { get; }
Property Value
Type | Description |
---|---|
string |
Methods
InitParameters()
Initializes BatchGet parameter list.
Declaration
protected override void InitParameters()