1.9.0 (latest) 1.8.0 1.7.0 1.6.1 1.5.0 1.4.1 1.3.1 1.2.0 1.1.0 1.0.2 0.32.0 0.31.0 0.30.0 0.29.3 0.28.1 0.27.0 0.26.1 0.25.0 0.24.0 0.23.0 0.22.0 0.21.1 0.20.1 0.19.0 0.18.0 0.17.3 Reference documentation and code samples for the Cloud Asset V1 API class Google::Cloud::Asset::V1::AnalyzeIamPolicyLongrunningRequest.

A request message for
[AssetService.AnalyzeIamPolicyLongrunning](https://docs.cloud.google.com/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)").

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #analysis_query

    def analysis_query() -> ::Google::Cloud::Asset::V1::IamPolicyAnalysisQuery

**Returns**

- ([::Google::Cloud::Asset::V1::IamPolicyAnalysisQuery](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-asset-v1/latest/Google-Cloud-Asset-V1-IamPolicyAnalysisQuery)) --- Required. The request query.

### #analysis_query=

    def analysis_query=(value) -> ::Google::Cloud::Asset::V1::IamPolicyAnalysisQuery

**Parameter**

- **value** ([::Google::Cloud::Asset::V1::IamPolicyAnalysisQuery](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-asset-v1/latest/Google-Cloud-Asset-V1-IamPolicyAnalysisQuery)) --- Required. The request query.
**Returns**

- ([::Google::Cloud::Asset::V1::IamPolicyAnalysisQuery](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-asset-v1/latest/Google-Cloud-Asset-V1-IamPolicyAnalysisQuery)) --- Required. The request query.

### #output_config

    def output_config() -> ::Google::Cloud::Asset::V1::IamPolicyAnalysisOutputConfig

**Returns**

- ([::Google::Cloud::Asset::V1::IamPolicyAnalysisOutputConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-asset-v1/latest/Google-Cloud-Asset-V1-IamPolicyAnalysisOutputConfig)) --- Required. Output configuration indicating where the results will be output to.

### #output_config=

    def output_config=(value) -> ::Google::Cloud::Asset::V1::IamPolicyAnalysisOutputConfig

**Parameter**

- **value** ([::Google::Cloud::Asset::V1::IamPolicyAnalysisOutputConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-asset-v1/latest/Google-Cloud-Asset-V1-IamPolicyAnalysisOutputConfig)) --- Required. Output configuration indicating where the results will be output to.
**Returns**

- ([::Google::Cloud::Asset::V1::IamPolicyAnalysisOutputConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-asset-v1/latest/Google-Cloud-Asset-V1-IamPolicyAnalysisOutputConfig)) --- Required. Output configuration indicating where the results will be output to.

### #saved_analysis_query

    def saved_analysis_query() -> ::String

**Returns**

- (::String) --- 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 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)
  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=

    def saved_analysis_query=(value) -> ::String

**Parameter**

- **value** (::String) --- 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 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)
  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:

  - projects/project_number/savedQueries/saved_query_id
  - folders/folder_number/savedQueries/saved_query_id
  - 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)
  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.