Google Cloud Asset V1 Client - Class QueryContent (1.9.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

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.

Generated from protobuf field .google.cloud.asset.v1.IamPolicyAnalysisQuery iam_policy_analysis_query = 1;

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.

Generated from protobuf field .google.cloud.asset.v1.IamPolicyAnalysisQuery iam_policy_analysis_query = 1;

Parameter
NameDescription
var Google\Cloud\Asset\V1\IamPolicyAnalysisQuery
Returns
TypeDescription
$this

getQueryContent

Returns
TypeDescription
string