Optional. The name of a saved query, which must be in the format of: * * projects/project_number/savedQueries/saved_query_id * * folders/folder_number/savedQueries/saved_query_id * * organizations/organization_number/savedQueries/saved_query_id If bothanalysis_queryandsaved_analysis_queryare provided, they will be merged together with thesaved_analysis_queryas base and theanalysis_queryas overrides. For more details of the merge behavior, refer to theMergeFrompage. Note that you cannot override primitive fields with default value, such as 0 or empty string, etc., because we use proto3, which doesn't support field presence yet.
Optional. Amount of time executable has to complete. See JSON representation ofDuration. If this field is set with a value less than the RPC deadline, and the execution of your query hasn't finished in the specified execution timeout, you will get a response with partial result. Otherwise, your query's execution will continue until the RPC deadline. If it's not finished until then, you will get a DEADLINE_EXCEEDED error. Default is empty.
organizations/organization_number/savedQueries/saved_query_id
If bothanalysis_queryandsaved_analysis_queryare provided, they
will be merged together with thesaved_analysis_queryas base and
theanalysis_queryas overrides. For more details of the merge behavior,
refer to theMergeFrompage.
Note that you cannot override primitive fields with default value, such as
0 or empty string, etc., because we use proto3, which doesn't support field
presence yet.
Returns
Type
Description
string
setSavedAnalysisQuery
Optional. The name of a saved query, which must be in the format of:
organizations/organization_number/savedQueries/saved_query_id
If bothanalysis_queryandsaved_analysis_queryare provided, they
will be merged together with thesaved_analysis_queryas base and
theanalysis_queryas overrides. For more details of the merge behavior,
refer to theMergeFrompage.
Note that you cannot override primitive fields with default value, such as
0 or empty string, etc., because we use proto3, which doesn't support field
presence yet.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getExecutionTimeout
Optional. Amount of time executable has to complete. See JSON
representation ofDuration.
If this field is set with a value less than the RPC deadline, and the
execution of your query hasn't finished in the specified
execution timeout, you will get a response with partial result.
Otherwise, your query's execution will continue until the RPC deadline.
If it's not finished until then, you will get a DEADLINE_EXCEEDED error.
Default is empty.
Optional. Amount of time executable has to complete. See JSON
representation ofDuration.
If this field is set with a value less than the RPC deadline, and the
execution of your query hasn't finished in the specified
execution timeout, you will get a response with partial result.
Otherwise, your query's execution will continue until the RPC deadline.
If it's not finished until then, you will get a DEADLINE_EXCEEDED error.
Default is empty.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Cloud Asset V1 Client - Class AnalyzeIamPolicyRequest (2.2.3)\n\nVersion latestkeyboard_arrow_down\n\n- [2.2.3 (latest)](/php/docs/reference/cloud-asset/latest/V1.AnalyzeIamPolicyRequest)\n- [2.2.2](/php/docs/reference/cloud-asset/2.2.2/V1.AnalyzeIamPolicyRequest)\n- [2.1.3](/php/docs/reference/cloud-asset/2.1.3/V1.AnalyzeIamPolicyRequest)\n- [2.0.1](/php/docs/reference/cloud-asset/2.0.1/V1.AnalyzeIamPolicyRequest)\n- [1.16.4](/php/docs/reference/cloud-asset/1.16.4/V1.AnalyzeIamPolicyRequest)\n- [1.14.1](/php/docs/reference/cloud-asset/1.14.1/V1.AnalyzeIamPolicyRequest)\n- [1.13.2](/php/docs/reference/cloud-asset/1.13.2/V1.AnalyzeIamPolicyRequest)\n- [1.12.2](/php/docs/reference/cloud-asset/1.12.2/V1.AnalyzeIamPolicyRequest)\n- [1.11.3](/php/docs/reference/cloud-asset/1.11.3/V1.AnalyzeIamPolicyRequest)\n- [1.10.2](/php/docs/reference/cloud-asset/1.10.2/V1.AnalyzeIamPolicyRequest)\n- [1.9.2](/php/docs/reference/cloud-asset/1.9.2/V1.AnalyzeIamPolicyRequest) \nReference documentation and code samples for the Google Cloud Asset V1 Client class AnalyzeIamPolicyRequest.\n\nA request message for\n[AssetService.AnalyzeIamPolicy](/php/docs/reference/cloud-asset/latest/V1.Client.AssetServiceClient#_Google_Cloud_Asset_V1_Client_AssetServiceClient__analyzeIamPolicy__).\n\nGenerated from protobuf message `google.cloud.asset.v1.AnalyzeIamPolicyRequest`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Asset \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getAnalysisQuery\n\nRequired. The request query.\n\n### hasAnalysisQuery\n\n### clearAnalysisQuery\n\n### setAnalysisQuery\n\nRequired. The request query.\n\n### getSavedAnalysisQuery\n\nOptional. The name of a saved query, which must be in the format of:\n\n- projects/project_number/savedQueries/saved_query_id\n- folders/folder_number/savedQueries/saved_query_id\n- organizations/organization_number/savedQueries/saved_query_id If both `analysis_query` and `saved_analysis_query` are provided, they will be merged together with the `saved_analysis_query` as base and the `analysis_query` as overrides. For more details of the merge behavior, refer to the [MergeFrom](https://developers.google.com/protocol-buffers/docs/reference/cpp/google.protobuf.message#Message.MergeFrom.details) page.\n\nNote that you cannot override primitive fields with default value, such as\n0 or empty string, etc., because we use proto3, which doesn't support field\npresence yet.\n\n### setSavedAnalysisQuery\n\nOptional. The name of a saved query, which must be in the format of:\n\n- projects/project_number/savedQueries/saved_query_id\n- folders/folder_number/savedQueries/saved_query_id\n- organizations/organization_number/savedQueries/saved_query_id If both `analysis_query` and `saved_analysis_query` are provided, they will be merged together with the `saved_analysis_query` as base and the `analysis_query` as overrides. For more details of the merge behavior, refer to the [MergeFrom](https://developers.google.com/protocol-buffers/docs/reference/cpp/google.protobuf.message#Message.MergeFrom.details) page.\n\nNote that you cannot override primitive fields with default value, such as\n0 or empty string, etc., because we use proto3, which doesn't support field\npresence yet.\n\n### getExecutionTimeout\n\nOptional. Amount of time executable has to complete. See JSON\nrepresentation of\n[Duration](https://developers.google.com/protocol-buffers/docs/proto3#json).\n\nIf this field is set with a value less than the RPC deadline, and the\nexecution of your query hasn't finished in the specified\nexecution timeout, you will get a response with partial result.\nOtherwise, your query's execution will continue until the RPC deadline.\nIf it's not finished until then, you will get a DEADLINE_EXCEEDED error.\nDefault is empty.\n\n### hasExecutionTimeout\n\n### clearExecutionTimeout\n\n### setExecutionTimeout\n\nOptional. Amount of time executable has to complete. See JSON\nrepresentation of\n[Duration](https://developers.google.com/protocol-buffers/docs/proto3#json).\n\nIf this field is set with a value less than the RPC deadline, and the\nexecution of your query hasn't finished in the specified\nexecution timeout, you will get a response with partial result.\nOtherwise, your query's execution will continue until the RPC deadline.\nIf it's not finished until then, you will get a DEADLINE_EXCEEDED error.\nDefault is empty."]]