Class: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2IssueResource

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudSecuritycenterV2IssueResource

Returns a new instance of GoogleCloudSecuritycenterV2IssueResource.



7587
7588
7589
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 7587

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

Instance Attribute Details

#adc_applicationGoogle::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2IssueResourceAdcApplication

Corresponds to the JSON property adcApplication



7535
7536
7537
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 7535

def adc_application
  @adc_application
end

#adc_application_templateGoogle::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2IssueResourceAdcApplicationTemplateRevision

Corresponds to the JSON property adcApplicationTemplate



7540
7541
7542
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 7540

def adc_application_template
  @adc_application_template
end

#adc_shared_templateGoogle::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2IssueResourceAdcSharedTemplateRevision

Corresponds to the JSON property adcSharedTemplate



7545
7546
7547
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 7545

def adc_shared_template
  @adc_shared_template
end

#applicationGoogle::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2IssueResourceApplication

Corresponds to the JSON property application



7550
7551
7552
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 7550

def application
  @application
end

#aws_metadataGoogle::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2IssueResourceAwsMetadata

Corresponds to the JSON property awsMetadata



7555
7556
7557
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 7555

def 
  @aws_metadata
end

#azure_metadataGoogle::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2IssueResourceAzureMetadata

Corresponds to the JSON property azureMetadata



7560
7561
7562
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 7560

def 
  @azure_metadata
end

#cloud_providerString

Corresponds to the JSON property cloudProvider

Returns:

  • (String)


7565
7566
7567
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 7565

def cloud_provider
  @cloud_provider
end

#display_nameString

Corresponds to the JSON property displayName

Returns:

  • (String)


7570
7571
7572
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 7570

def display_name
  @display_name
end

#google_cloud_metadataGoogle::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2IssueResourceGoogleCloudMetadata

Corresponds to the JSON property googleCloudMetadata



7575
7576
7577
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 7575

def 
  @google_cloud_metadata
end

#nameString

Corresponds to the JSON property name

Returns:

  • (String)


7580
7581
7582
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 7580

def name
  @name
end

#typeString

Corresponds to the JSON property type

Returns:

  • (String)


7585
7586
7587
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 7585

def type
  @type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7592
7593
7594
7595
7596
7597
7598
7599
7600
7601
7602
7603
7604
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 7592

def update!(**args)
  @adc_application = args[:adc_application] if args.key?(:adc_application)
  @adc_application_template = args[:adc_application_template] if args.key?(:adc_application_template)
  @adc_shared_template = args[:adc_shared_template] if args.key?(:adc_shared_template)
  @application = args[:application] if args.key?(:application)
  @aws_metadata = args[:aws_metadata] if args.key?(:aws_metadata)
  @azure_metadata = args[:azure_metadata] if args.key?(:azure_metadata)
  @cloud_provider = args[:cloud_provider] if args.key?(:cloud_provider)
  @display_name = args[:display_name] if args.key?(:display_name)
  @google_cloud_metadata = args[:google_cloud_metadata] if args.key?(:google_cloud_metadata)
  @name = args[:name] if args.key?(:name)
  @type = args[:type] if args.key?(:type)
end