Show / Hide Table of Contents

Class V1Resource.AnalyzeIamPolicyLongrunningRequest

Analyzes IAM policies asynchronously to answer which identities have what accesses on which resources, and writes the analysis results to a Google Cloud Storage or a BigQuery destination. For Cloud Storage destination, the output format is the JSON format that represents a AnalyzeIamPolicyResponse. This method implements the google.longrunning.Operation, which allows you to track the operation status. We recommend intervals of at least 2 seconds with exponential backoff retry to poll the operation result. The metadata contains the metadata for the long-running operation.

Inheritance
object
ClientServiceRequest
ClientServiceRequest<Operation>
CloudAssetBaseServiceRequest<Operation>
V1Resource.AnalyzeIamPolicyLongrunningRequest
Implements
IClientServiceRequest<Operation>
IClientServiceRequest
Inherited Members
CloudAssetBaseServiceRequest<Operation>.Xgafv
CloudAssetBaseServiceRequest<Operation>.AccessToken
CloudAssetBaseServiceRequest<Operation>.Alt
CloudAssetBaseServiceRequest<Operation>.Callback
CloudAssetBaseServiceRequest<Operation>.Fields
CloudAssetBaseServiceRequest<Operation>.Key
CloudAssetBaseServiceRequest<Operation>.OauthToken
CloudAssetBaseServiceRequest<Operation>.PrettyPrint
CloudAssetBaseServiceRequest<Operation>.QuotaUser
CloudAssetBaseServiceRequest<Operation>.UploadType
CloudAssetBaseServiceRequest<Operation>.UploadProtocol
ClientServiceRequest<Operation>.Execute()
ClientServiceRequest<Operation>.ExecuteAsStream()
ClientServiceRequest<Operation>.ExecuteAsync()
ClientServiceRequest<Operation>.ExecuteAsync(CancellationToken)
ClientServiceRequest<Operation>.ExecuteAsStreamAsync()
ClientServiceRequest<Operation>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<Operation>.CreateRequest(bool?)
ClientServiceRequest<Operation>.GenerateRequestUri()
ClientServiceRequest<Operation>.GetDefaultETagAction(string)
ClientServiceRequest<Operation>.ETagAction
ClientServiceRequest<Operation>.ModifyRequest
ClientServiceRequest<Operation>.ValidateParameters
ClientServiceRequest<Operation>.RequestParameters
ClientServiceRequest<Operation>.Service
ClientServiceRequest._unsuccessfulResponseHandlers
ClientServiceRequest._exceptionHandlers
ClientServiceRequest._executeInterceptors
ClientServiceRequest.AddUnsuccessfulResponseHandler(IHttpUnsuccessfulResponseHandler)
ClientServiceRequest.AddExceptionHandler(IHttpExceptionHandler)
ClientServiceRequest.AddExecuteInterceptor(IHttpExecuteInterceptor)
ClientServiceRequest.Credential
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.CloudAsset.v1
Assembly: Google.Apis.CloudAsset.v1.dll
Syntax
public class V1Resource.AnalyzeIamPolicyLongrunningRequest : CloudAssetBaseServiceRequest<Operation>, IClientServiceRequest<Operation>, IClientServiceRequest

Constructors

AnalyzeIamPolicyLongrunningRequest(IClientService, AnalyzeIamPolicyLongrunningRequest, string)

Constructs a new AnalyzeIamPolicyLongrunning request.

Declaration
public AnalyzeIamPolicyLongrunningRequest(IClientService service, AnalyzeIamPolicyLongrunningRequest body, string scope)
Parameters
Type Name Description
IClientService service
AnalyzeIamPolicyLongrunningRequest body
string scope

Properties

HttpMethod

Gets the HTTP method.

Declaration
public override string HttpMethod { get; }
Property Value
Type Description
string
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudAsset.v1.Data.Operation>.HttpMethod

MethodName

Gets the method name.

Declaration
public override string MethodName { get; }
Property Value
Type Description
string
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudAsset.v1.Data.Operation>.MethodName

RestPath

Gets the REST path.

Declaration
public override string RestPath { get; }
Property Value
Type Description
string
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudAsset.v1.Data.Operation>.RestPath

Scope

Required. The relative name of the root asset. Only resources and IAM policies within the scope will be analyzed. 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

GetBody()

Returns the body of the request.

Declaration
protected override object GetBody()
Returns
Type Description
object
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudAsset.v1.Data.Operation>.GetBody()

InitParameters()

Initializes AnalyzeIamPolicyLongrunning parameter list.

Declaration
protected override void InitParameters()
Overrides
CloudAssetBaseServiceRequest<Operation>.InitParameters()

Implements

IClientServiceRequest<TResponse>
IClientServiceRequest
In This Article
Back to top Generated by DocFX