Class: Google::Apis::CloudassetV1::AnalyzeIamPolicyLongrunningRequest
- Inherits:
-
Object
- Object
- Google::Apis::CloudassetV1::AnalyzeIamPolicyLongrunningRequest
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/cloudasset_v1/classes.rb,
lib/google/apis/cloudasset_v1/representations.rb,
lib/google/apis/cloudasset_v1/representations.rb
Overview
A request message for AssetService.AnalyzeIamPolicyLongrunning.
Instance Attribute Summary collapse
-
#analysis_query ⇒ Google::Apis::CloudassetV1::IamPolicyAnalysisQuery
IAM policy analysis query message.
-
#output_config ⇒ Google::Apis::CloudassetV1::IamPolicyAnalysisOutputConfig
Output configuration for export IAM policy analysis destination.
-
#saved_analysis_query ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AnalyzeIamPolicyLongrunningRequest
constructor
A new instance of AnalyzeIamPolicyLongrunningRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AnalyzeIamPolicyLongrunningRequest
Returns a new instance of AnalyzeIamPolicyLongrunningRequest.
102 103 104 |
# File 'lib/google/apis/cloudasset_v1/classes.rb', line 102 def initialize(**args) update!(**args) end |
Instance Attribute Details
#analysis_query ⇒ Google::Apis::CloudassetV1::IamPolicyAnalysisQuery
IAM policy analysis query message.
Corresponds to the JSON property analysisQuery
80 81 82 |
# File 'lib/google/apis/cloudasset_v1/classes.rb', line 80 def analysis_query @analysis_query end |
#output_config ⇒ Google::Apis::CloudassetV1::IamPolicyAnalysisOutputConfig
Output configuration for export IAM policy analysis destination.
Corresponds to the JSON property outputConfig
85 86 87 |
# File 'lib/google/apis/cloudasset_v1/classes.rb', line 85 def output_config @output_config end |
#saved_analysis_query ⇒ 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 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.
Corresponds to the JSON property savedAnalysisQuery
100 101 102 |
# File 'lib/google/apis/cloudasset_v1/classes.rb', line 100 def saved_analysis_query @saved_analysis_query end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
107 108 109 110 111 |
# File 'lib/google/apis/cloudasset_v1/classes.rb', line 107 def update!(**args) @analysis_query = args[:analysis_query] if args.key?(:analysis_query) @output_config = args[:output_config] if args.key?(:output_config) @saved_analysis_query = args[:saved_analysis_query] if args.key?(:saved_analysis_query) end |