Show / Hide Table of Contents

Class IamPoliciesResource.SearchAllRequest

Searches all the IAM policies within a given accessible Resource Manager scope (project/folder/organization). This RPC gives callers especially administrators the ability to search all the IAM policies within a scope, even if they don't have .getIamPolicy permission of all the IAM policies. Callers should have cloudasset.assets.searchAllIamPolicies permission on the requested scope, otherwise the request will be rejected.

Inheritance
object
ClientServiceRequest
ClientServiceRequest<SearchAllIamPoliciesResponse>
CloudAssetBaseServiceRequest<SearchAllIamPoliciesResponse>
IamPoliciesResource.SearchAllRequest
Implements
IClientServiceRequest<SearchAllIamPoliciesResponse>
IClientServiceRequest
Inherited Members
CloudAssetBaseServiceRequest<SearchAllIamPoliciesResponse>.Xgafv
CloudAssetBaseServiceRequest<SearchAllIamPoliciesResponse>.AccessToken
CloudAssetBaseServiceRequest<SearchAllIamPoliciesResponse>.Alt
CloudAssetBaseServiceRequest<SearchAllIamPoliciesResponse>.Callback
CloudAssetBaseServiceRequest<SearchAllIamPoliciesResponse>.Fields
CloudAssetBaseServiceRequest<SearchAllIamPoliciesResponse>.Key
CloudAssetBaseServiceRequest<SearchAllIamPoliciesResponse>.OauthToken
CloudAssetBaseServiceRequest<SearchAllIamPoliciesResponse>.PrettyPrint
CloudAssetBaseServiceRequest<SearchAllIamPoliciesResponse>.QuotaUser
CloudAssetBaseServiceRequest<SearchAllIamPoliciesResponse>.UploadType
CloudAssetBaseServiceRequest<SearchAllIamPoliciesResponse>.UploadProtocol
ClientServiceRequest<SearchAllIamPoliciesResponse>.Execute()
ClientServiceRequest<SearchAllIamPoliciesResponse>.ExecuteAsStream()
ClientServiceRequest<SearchAllIamPoliciesResponse>.ExecuteAsync()
ClientServiceRequest<SearchAllIamPoliciesResponse>.ExecuteAsync(CancellationToken)
ClientServiceRequest<SearchAllIamPoliciesResponse>.ExecuteAsStreamAsync()
ClientServiceRequest<SearchAllIamPoliciesResponse>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<SearchAllIamPoliciesResponse>.CreateRequest(bool?)
ClientServiceRequest<SearchAllIamPoliciesResponse>.GenerateRequestUri()
ClientServiceRequest<SearchAllIamPoliciesResponse>.GetBody()
ClientServiceRequest<SearchAllIamPoliciesResponse>.GetDefaultETagAction(string)
ClientServiceRequest<SearchAllIamPoliciesResponse>.ETagAction
ClientServiceRequest<SearchAllIamPoliciesResponse>.ModifyRequest
ClientServiceRequest<SearchAllIamPoliciesResponse>.ValidateParameters
ClientServiceRequest<SearchAllIamPoliciesResponse>.ApiVersion
ClientServiceRequest<SearchAllIamPoliciesResponse>.RequestParameters
ClientServiceRequest<SearchAllIamPoliciesResponse>.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.v1p1beta1
Assembly: Google.Apis.CloudAsset.v1p1beta1.dll
Syntax
public class IamPoliciesResource.SearchAllRequest : CloudAssetBaseServiceRequest<SearchAllIamPoliciesResponse>, IClientServiceRequest<SearchAllIamPoliciesResponse>, IClientServiceRequest

Constructors

SearchAllRequest(IClientService, string)

Constructs a new SearchAll request.

Declaration
public SearchAllRequest(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
ClientServiceRequest<SearchAllIamPoliciesResponse>.HttpMethod

MethodName

Gets the method name.

Declaration
public override string MethodName { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<SearchAllIamPoliciesResponse>.MethodName

PageSize

Optional. The page size for search result pagination. Page size is capped at 500 even if a larger value is given. If set to zero, server will pick an appropriate default. Returned results may be fewer than requested. When this happens, there could be more results as long as next_page_token is returned.

Declaration
[RequestParameter("pageSize", RequestParameterType.Query)]
public virtual int? PageSize { get; set; }
Property Value
Type Description
int?

PageToken

Optional. If present, retrieve the next batch of results from the preceding call to this method. page_token must be the value of next_page_token from the previous response. The values of all other method parameters must be identical to those in the previous call.

Declaration
[RequestParameter("pageToken", RequestParameterType.Query)]
public virtual string PageToken { get; set; }
Property Value
Type Description
string

Query

Optional. The query statement. Examples: * "policy:myuser@mydomain.com" * "policy:(myuser@mydomain.com viewer)"

Declaration
[RequestParameter("query", RequestParameterType.Query)]
public virtual string Query { get; set; }
Property Value
Type Description
string

RestPath

Gets the REST path.

Declaration
public override string RestPath { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<SearchAllIamPoliciesResponse>.RestPath

Scope

Required. The relative name of an asset. The search is limited to the resources within the scope. The allowed value must be: * Organization number (such as "organizations/123") * Folder number (such as "folders/1234") * Project number (such as "projects/12345") * Project ID (such as "projects/abc")

Declaration
[RequestParameter("scope", RequestParameterType.Path)]
public virtual string Scope { get; }
Property Value
Type Description
string

Methods

InitParameters()

Initializes SearchAll parameter list.

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

Implements

IClientServiceRequest<TResponse>
IClientServiceRequest
In this article
Back to top Generated by DocFX