Class: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2Resource

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) ⇒ GoogleCloudSecuritycenterV2Resource

Returns a new instance of GoogleCloudSecuritycenterV2Resource.



9396
9397
9398
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 9396

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

Instance Attribute Details

#adc_applicationGoogle::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2AdcApplication

Corresponds to the JSON property adcApplication



9324
9325
9326
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 9324

def adc_application
  @adc_application
end

#adc_application_templateGoogle::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2AdcApplicationTemplateRevision

Corresponds to the JSON property adcApplicationTemplate



9329
9330
9331
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 9329

def adc_application_template
  @adc_application_template
end

#adc_shared_templateGoogle::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2AdcSharedTemplateRevision

Corresponds to the JSON property adcSharedTemplate



9334
9335
9336
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 9334

def adc_shared_template
  @adc_shared_template
end

#applicationGoogle::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2ResourceApplication

Corresponds to the JSON property application



9339
9340
9341
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 9339

def application
  @application
end

#aws_metadataGoogle::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2AwsMetadata

Corresponds to the JSON property awsMetadata



9344
9345
9346
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 9344

def 
  @aws_metadata
end

#azure_metadataGoogle::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2AzureMetadata

Corresponds to the JSON property azureMetadata



9349
9350
9351
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 9349

def 
  @azure_metadata
end

#cloud_providerString

Corresponds to the JSON property cloudProvider

Returns:

  • (String)


9354
9355
9356
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 9354

def cloud_provider
  @cloud_provider
end

#display_nameString

Corresponds to the JSON property displayName

Returns:

  • (String)


9359
9360
9361
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 9359

def display_name
  @display_name
end

#gcp_metadataGoogle::Apis::SecuritycenterV1beta1::GcpMetadata

Corresponds to the JSON property gcpMetadata



9364
9365
9366
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 9364

def 
  @gcp_metadata
end

#locationString

Corresponds to the JSON property location

Returns:

  • (String)


9369
9370
9371
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 9369

def location
  @location
end

#nameString

Corresponds to the JSON property name

Returns:

  • (String)


9374
9375
9376
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 9374

def name
  @name
end

#resource_pathGoogle::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2ResourcePath

Corresponds to the JSON property resourcePath



9379
9380
9381
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 9379

def resource_path
  @resource_path
end

#resource_path_stringString

Corresponds to the JSON property resourcePathString

Returns:

  • (String)


9384
9385
9386
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 9384

def resource_path_string
  @resource_path_string
end

#serviceString

Corresponds to the JSON property service

Returns:

  • (String)


9389
9390
9391
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 9389

def service
  @service
end

#typeString

Corresponds to the JSON property type

Returns:

  • (String)


9394
9395
9396
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 9394

def type
  @type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



9401
9402
9403
9404
9405
9406
9407
9408
9409
9410
9411
9412
9413
9414
9415
9416
9417
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 9401

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)
  @gcp_metadata = args[:gcp_metadata] if args.key?(:gcp_metadata)
  @location = args[:location] if args.key?(:location)
  @name = args[:name] if args.key?(:name)
  @resource_path = args[:resource_path] if args.key?(:resource_path)
  @resource_path_string = args[:resource_path_string] if args.key?(:resource_path_string)
  @service = args[:service] if args.key?(:service)
  @type = args[:type] if args.key?(:type)
end