class Google::Apis::CloudassetV1::GoogleCloudAssetV1Resource
A Google
Cloud resource under analysis.
Attributes
analysis_state[RW]
Represents the detailed state of an entity under analysis, such as a resource, an identity or an access. Corresponds to the JSON property `analysisState` @return [Google::Apis::CloudassetV1::IamPolicyAnalysisState]
full_resource_name[RW]
The [full resource name](cloud.google.com/asset-inventory/docs/ resource-name-format) Corresponds to the JSON property `fullResourceName` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/cloudasset_v1/classes.rb, line 1270 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/cloudasset_v1/classes.rb, line 1275 def update!(**args) @analysis_state = args[:analysis_state] if args.key?(:analysis_state) @full_resource_name = args[:full_resource_name] if args.key?(:full_resource_name) end