GoogleApi.CloudAsset.V1.Api.EffectiveIamPolicies (google_api_cloud_asset v0.42.0)
View SourceAPI calls for all endpoints tagged EffectiveIamPolicies.
Summary
Functions
Gets effective IAM policies for a batch of resources.
Functions
@spec cloudasset_effective_iam_policies_batch_get( Tesla.Env.client(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.CloudAsset.V1.Model.BatchGetEffectiveIamPoliciesResponse.t()} | {:ok, Tesla.Env.t()} | {:ok, list()} | {:error, any()}
Gets effective IAM policies for a batch of resources.
Parameters
-
connection(type:GoogleApi.CloudAsset.V1.Connection.t) - Connection to server -
scope(type:String.t) - 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 . -
optional_params(type:keyword()) - Optional parameters-
:"$.xgafv"(type:String.t) - V1 error format. -
:access_token(type:String.t) - OAuth access token. -
:alt(type:String.t) - Data format for response. -
:callback(type:String.t) - JSONP -
:fields(type:String.t) - Selector specifying which fields to include in a partial response. -
:key(type:String.t) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. -
:oauth_token(type:String.t) - OAuth 2.0 token for the current user. -
:prettyPrint(type:boolean()) - Returns response with indentations and line breaks. -
:quotaUser(type:String.t) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. -
:uploadType(type:String.t) - Legacy upload protocol for media (e.g. "media", "multipart"). -
:upload_protocol(type:String.t) - Upload protocol for media (e.g. "raw", "multipart"). -
:names(type:list(String.t)) - 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.
-
-
opts(type:keyword()) - Call options
Returns
-
{:ok, %GoogleApi.CloudAsset.V1.Model.BatchGetEffectiveIamPoliciesResponse{}}on success -
{:error, info}on failure