Class: Google::Apis::CloudassetV1p4beta1::GoogleCloudAssetV1p4beta1Resource
- Inherits:
-
Object
- Object
- Google::Apis::CloudassetV1p4beta1::GoogleCloudAssetV1p4beta1Resource
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- generated/google/apis/cloudasset_v1p4beta1/classes.rb,
generated/google/apis/cloudasset_v1p4beta1/representations.rb,
generated/google/apis/cloudasset_v1p4beta1/representations.rb
Overview
A Google Cloud resource under analysis.
Instance Attribute Summary collapse
-
#analysis_state ⇒ Google::Apis::CloudassetV1p4beta1::GoogleCloudAssetV1p4beta1AnalysisState
Represents the detailed state of an entity under analysis, such as a resource, an identity or an access.
-
#full_resource_name ⇒ String
The full resource name Corresponds to the JSON property
fullResourceName
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAssetV1p4beta1Resource
constructor
A new instance of GoogleCloudAssetV1p4beta1Resource.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAssetV1p4beta1Resource
Returns a new instance of GoogleCloudAssetV1p4beta1Resource.
484 485 486 |
# File 'generated/google/apis/cloudasset_v1p4beta1/classes.rb', line 484 def initialize(**args) update!(**args) end |
Instance Attribute Details
#analysis_state ⇒ Google::Apis::CloudassetV1p4beta1::GoogleCloudAssetV1p4beta1AnalysisState
Represents the detailed state of an entity under analysis, such as a resource,
an identity or an access.
Corresponds to the JSON property analysisState
476 477 478 |
# File 'generated/google/apis/cloudasset_v1p4beta1/classes.rb', line 476 def analysis_state @analysis_state end |
#full_resource_name ⇒ String
The full resource name
Corresponds to the JSON property fullResourceName
482 483 484 |
# File 'generated/google/apis/cloudasset_v1p4beta1/classes.rb', line 482 def full_resource_name @full_resource_name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
489 490 491 492 |
# File 'generated/google/apis/cloudasset_v1p4beta1/classes.rb', line 489 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 |