Google Cloud Asset V1 Client - Class QueryContent (1.16.4)

Reference documentation and code samples for the Google Cloud Asset V1 Client class QueryContent.

The query content.

Generated from protobuf message google.cloud.asset.v1.SavedQuery.QueryContent

Namespace

Google \ Cloud \ Asset \ V1 \ SavedQuery

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ iam_policy_analysis_query Google\Cloud\Asset\V1\IamPolicyAnalysisQuery

An IAM Policy Analysis query, which could be used in the AssetService.AnalyzeIamPolicy RPC or the AssetService.AnalyzeIamPolicyLongrunning RPC.

getIamPolicyAnalysisQuery

An IAM Policy Analysis query, which could be used in the AssetService.AnalyzeIamPolicy RPC or the AssetService.AnalyzeIamPolicyLongrunning RPC.

Returns
Type Description
Google\Cloud\Asset\V1\IamPolicyAnalysisQuery|null

hasIamPolicyAnalysisQuery

setIamPolicyAnalysisQuery

An IAM Policy Analysis query, which could be used in the AssetService.AnalyzeIamPolicy RPC or the AssetService.AnalyzeIamPolicyLongrunning RPC.

Parameter
Name Description
var Google\Cloud\Asset\V1\IamPolicyAnalysisQuery
Returns
Type Description
$this

getQueryContent

Returns
Type Description
string