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
doc.
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.
#saved_analysis_query=
defsaved_analysis_query=(value)->::String
Parameter
value (::String) — Optional. The name of a saved query, which must be in the format of:
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
doc.
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
(::String) — Optional. The name of a saved query, which must be in the format of:
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
doc.
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.
[[["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-09 UTC."],[],[],null,["# Cloud Asset V1 API - Class Google::Cloud::Asset::V1::AnalyzeIamPolicyLongrunningRequest (v1.4.1)\n\nVersion latestkeyboard_arrow_down\n\n- [1.4.1 (latest)](/ruby/docs/reference/google-cloud-asset-v1/latest/Google-Cloud-Asset-V1-AnalyzeIamPolicyLongrunningRequest)\n- [1.4.0](/ruby/docs/reference/google-cloud-asset-v1/1.4.0/Google-Cloud-Asset-V1-AnalyzeIamPolicyLongrunningRequest)\n- [1.3.1](/ruby/docs/reference/google-cloud-asset-v1/1.3.1/Google-Cloud-Asset-V1-AnalyzeIamPolicyLongrunningRequest)\n- [1.2.0](/ruby/docs/reference/google-cloud-asset-v1/1.2.0/Google-Cloud-Asset-V1-AnalyzeIamPolicyLongrunningRequest)\n- [1.1.0](/ruby/docs/reference/google-cloud-asset-v1/1.1.0/Google-Cloud-Asset-V1-AnalyzeIamPolicyLongrunningRequest)\n- [1.0.2](/ruby/docs/reference/google-cloud-asset-v1/1.0.2/Google-Cloud-Asset-V1-AnalyzeIamPolicyLongrunningRequest)\n- [0.32.0](/ruby/docs/reference/google-cloud-asset-v1/0.32.0/Google-Cloud-Asset-V1-AnalyzeIamPolicyLongrunningRequest)\n- [0.31.0](/ruby/docs/reference/google-cloud-asset-v1/0.31.0/Google-Cloud-Asset-V1-AnalyzeIamPolicyLongrunningRequest)\n- [0.30.0](/ruby/docs/reference/google-cloud-asset-v1/0.30.0/Google-Cloud-Asset-V1-AnalyzeIamPolicyLongrunningRequest)\n- [0.29.3](/ruby/docs/reference/google-cloud-asset-v1/0.29.3/Google-Cloud-Asset-V1-AnalyzeIamPolicyLongrunningRequest)\n- [0.28.1](/ruby/docs/reference/google-cloud-asset-v1/0.28.1/Google-Cloud-Asset-V1-AnalyzeIamPolicyLongrunningRequest)\n- [0.27.0](/ruby/docs/reference/google-cloud-asset-v1/0.27.0/Google-Cloud-Asset-V1-AnalyzeIamPolicyLongrunningRequest)\n- [0.26.1](/ruby/docs/reference/google-cloud-asset-v1/0.26.1/Google-Cloud-Asset-V1-AnalyzeIamPolicyLongrunningRequest)\n- [0.25.0](/ruby/docs/reference/google-cloud-asset-v1/0.25.0/Google-Cloud-Asset-V1-AnalyzeIamPolicyLongrunningRequest)\n- [0.24.0](/ruby/docs/reference/google-cloud-asset-v1/0.24.0/Google-Cloud-Asset-V1-AnalyzeIamPolicyLongrunningRequest)\n- [0.23.0](/ruby/docs/reference/google-cloud-asset-v1/0.23.0/Google-Cloud-Asset-V1-AnalyzeIamPolicyLongrunningRequest)\n- [0.22.0](/ruby/docs/reference/google-cloud-asset-v1/0.22.0/Google-Cloud-Asset-V1-AnalyzeIamPolicyLongrunningRequest)\n- [0.21.1](/ruby/docs/reference/google-cloud-asset-v1/0.21.1/Google-Cloud-Asset-V1-AnalyzeIamPolicyLongrunningRequest)\n- [0.20.1](/ruby/docs/reference/google-cloud-asset-v1/0.20.1/Google-Cloud-Asset-V1-AnalyzeIamPolicyLongrunningRequest)\n- [0.19.0](/ruby/docs/reference/google-cloud-asset-v1/0.19.0/Google-Cloud-Asset-V1-AnalyzeIamPolicyLongrunningRequest)\n- [0.18.0](/ruby/docs/reference/google-cloud-asset-v1/0.18.0/Google-Cloud-Asset-V1-AnalyzeIamPolicyLongrunningRequest)\n- [0.17.3](/ruby/docs/reference/google-cloud-asset-v1/0.17.3/Google-Cloud-Asset-V1-AnalyzeIamPolicyLongrunningRequest) \nReference documentation and code samples for the Cloud Asset V1 API class Google::Cloud::Asset::V1::AnalyzeIamPolicyLongrunningRequest.\n\nA request message for\n[AssetService.AnalyzeIamPolicyLongrunning](/ruby/docs/reference/google-cloud-asset-v1/latest/Google-Cloud-Asset-V1-AssetService-Client#Google__Cloud__Asset__V1__AssetService__Client_analyze_iam_policy_longrunning_instance_ \"Google::Cloud::Asset::V1::AssetService::Client#analyze_iam_policy_longrunning (method)\"). \n\nInherits\n--------\n\n- Object \n\nExtended By\n-----------\n\n- Google::Protobuf::MessageExts::ClassMethods \n\nIncludes\n--------\n\n- Google::Protobuf::MessageExts\n\nMethods\n-------\n\n### #analysis_query\n\n def analysis_query() -\u003e ::Google::Cloud::Asset::V1::IamPolicyAnalysisQuery\n\n**Returns**\n\n- ([::Google::Cloud::Asset::V1::IamPolicyAnalysisQuery](./Google-Cloud-Asset-V1-IamPolicyAnalysisQuery)) --- Required. The request query.\n\n### #analysis_query=\n\n def analysis_query=(value) -\u003e ::Google::Cloud::Asset::V1::IamPolicyAnalysisQuery\n\n**Parameter**\n\n- **value** ([::Google::Cloud::Asset::V1::IamPolicyAnalysisQuery](./Google-Cloud-Asset-V1-IamPolicyAnalysisQuery)) --- Required. The request query. \n**Returns**\n\n- ([::Google::Cloud::Asset::V1::IamPolicyAnalysisQuery](./Google-Cloud-Asset-V1-IamPolicyAnalysisQuery)) --- Required. The request query.\n\n### #output_config\n\n def output_config() -\u003e ::Google::Cloud::Asset::V1::IamPolicyAnalysisOutputConfig\n\n**Returns**\n\n- ([::Google::Cloud::Asset::V1::IamPolicyAnalysisOutputConfig](./Google-Cloud-Asset-V1-IamPolicyAnalysisOutputConfig)) --- Required. Output configuration indicating where the results will be output to.\n\n### #output_config=\n\n def output_config=(value) -\u003e ::Google::Cloud::Asset::V1::IamPolicyAnalysisOutputConfig\n\n**Parameter**\n\n- **value** ([::Google::Cloud::Asset::V1::IamPolicyAnalysisOutputConfig](./Google-Cloud-Asset-V1-IamPolicyAnalysisOutputConfig)) --- Required. Output configuration indicating where the results will be output to. \n**Returns**\n\n- ([::Google::Cloud::Asset::V1::IamPolicyAnalysisOutputConfig](./Google-Cloud-Asset-V1-IamPolicyAnalysisOutputConfig)) --- Required. Output configuration indicating where the results will be output to.\n\n### #saved_analysis_query\n\n def saved_analysis_query() -\u003e ::String\n\n**Returns**\n\n- (::String) --- Optional. 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\n\n If both `analysis_query` and `saved_analysis_query` are provided, they\n will be merged together with the `saved_analysis_query` as base and\n the `analysis_query` as overrides. For more details of the merge behavior,\n refer to the\n [MergeFrom](https://developers.google.com/protocol-buffers/docs/reference/cpp/google.protobuf.message#Message.MergeFrom.details)\n doc.\n\n Note that you cannot override primitive fields with default value, such as\n 0 or empty string, etc., because we use proto3, which doesn't support field\n presence yet.\n\n### #saved_analysis_query=\n\n def saved_analysis_query=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- Optional. The name of a saved query, which must be in the format of:\n\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\n\n If both `analysis_query` and `saved_analysis_query` are provided, they\n will be merged together with the `saved_analysis_query` as base and\n the `analysis_query` as overrides. For more details of the merge behavior,\n refer to the\n [MergeFrom](https://developers.google.com/protocol-buffers/docs/reference/cpp/google.protobuf.message#Message.MergeFrom.details)\n doc.\n\n Note that you cannot override primitive fields with default value, such as\n 0 or empty string, etc., because we use proto3, which doesn't support field\npresence yet. \n**Returns**\n\n- (::String) --- Optional. 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\n\n If both `analysis_query` and `saved_analysis_query` are provided, they\n will be merged together with the `saved_analysis_query` as base and\n the `analysis_query` as overrides. For more details of the merge behavior,\n refer to the\n [MergeFrom](https://developers.google.com/protocol-buffers/docs/reference/cpp/google.protobuf.message#Message.MergeFrom.details)\n doc.\n\n Note that you cannot override primitive fields with default value, such as\n 0 or empty string, etc., because we use proto3, which doesn't support field\n presence yet."]]