Google Cloud Asset V1 Client - Class QueryContent (1.13.2)

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
NameDescription
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
TypeDescription
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
NameDescription
var Google\Cloud\Asset\V1\IamPolicyAnalysisQuery
Returns
TypeDescription
$this

getQueryContent

Returns
TypeDescription
string