Class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2IssueResourceAdcApplication

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/securitycenter_v1/classes.rb,
lib/google/apis/securitycenter_v1/representations.rb,
lib/google/apis/securitycenter_v1/representations.rb

Overview

Represents an ADC application associated with the finding.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudSecuritycenterV2IssueResourceAdcApplication

Returns a new instance of GoogleCloudSecuritycenterV2IssueResourceAdcApplication.



8915
8916
8917
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 8915

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#attributesGoogle::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2IssueResourceApplicationAttributes

Consumer provided attributes for the application Corresponds to the JSON property attributes



8907
8908
8909
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 8907

def attributes
  @attributes
end

#nameString

The resource name of an ADC Application. Format: projects/project/locations/ location/spaces/space/applications/application Corresponds to the JSON property name

Returns:

  • (String)


8913
8914
8915
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 8913

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8920
8921
8922
8923
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 8920

def update!(**args)
  @attributes = args[:attributes] if args.key?(:attributes)
  @name = args[:name] if args.key?(:name)
end