Class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2IssueResource

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudSecuritycenterV2IssueResource

Returns a new instance of GoogleCloudSecuritycenterV2IssueResource.



7394
7395
7396
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 7394

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

Instance Attribute Details

#adc_applicationGoogle::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2IssueResourceAdcApplication

Corresponds to the JSON property adcApplication



7342
7343
7344
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 7342

def adc_application
  @adc_application
end

#adc_application_templateGoogle::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2IssueResourceAdcApplicationTemplateRevision

Corresponds to the JSON property adcApplicationTemplate



7347
7348
7349
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 7347

def adc_application_template
  @adc_application_template
end

#adc_shared_templateGoogle::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2IssueResourceAdcSharedTemplateRevision

Corresponds to the JSON property adcSharedTemplate



7352
7353
7354
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 7352

def adc_shared_template
  @adc_shared_template
end

#applicationGoogle::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2IssueResourceApplication

Corresponds to the JSON property application



7357
7358
7359
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 7357

def application
  @application
end

#aws_metadataGoogle::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2IssueResourceAwsMetadata

Corresponds to the JSON property awsMetadata



7362
7363
7364
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 7362

def 
  @aws_metadata
end

#azure_metadataGoogle::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2IssueResourceAzureMetadata

Corresponds to the JSON property azureMetadata



7367
7368
7369
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 7367

def 
  @azure_metadata
end

#cloud_providerString

Corresponds to the JSON property cloudProvider

Returns:

  • (String)


7372
7373
7374
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 7372

def cloud_provider
  @cloud_provider
end

#display_nameString

Corresponds to the JSON property displayName

Returns:

  • (String)


7377
7378
7379
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 7377

def display_name
  @display_name
end

#google_cloud_metadataGoogle::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2IssueResourceGoogleCloudMetadata

Corresponds to the JSON property googleCloudMetadata



7382
7383
7384
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 7382

def 
  @google_cloud_metadata
end

#nameString

Corresponds to the JSON property name

Returns:

  • (String)


7387
7388
7389
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 7387

def name
  @name
end

#typeString

Corresponds to the JSON property type

Returns:

  • (String)


7392
7393
7394
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 7392

def type
  @type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7399
7400
7401
7402
7403
7404
7405
7406
7407
7408
7409
7410
7411
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 7399

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