class Google::Apis::CloudassetV1p4beta1::GoogleCloudAssetV1p4beta1Resource

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::CloudassetV1p4beta1::GoogleCloudAssetV1p4beta1AnalysisState]

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_v1p4beta1/classes.rb, line 588
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_v1p4beta1/classes.rb, line 593
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