Class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV1Resource

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

Returns a new instance of GoogleCloudSecuritycenterV1Resource.



3440
3441
3442
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 3440

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

Instance Attribute Details

#adc_applicationGoogle::Apis::SecuritycenterV1beta2::AdcApplication

Corresponds to the JSON property adcApplication



3343
3344
3345
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 3343

def adc_application
  @adc_application
end

#adc_application_templateGoogle::Apis::SecuritycenterV1beta2::AdcApplicationTemplateRevision

Corresponds to the JSON property adcApplicationTemplate



3348
3349
3350
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 3348

def adc_application_template
  @adc_application_template
end

#adc_shared_templateGoogle::Apis::SecuritycenterV1beta2::AdcSharedTemplateRevision

Corresponds to the JSON property adcSharedTemplate



3353
3354
3355
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 3353

def adc_shared_template
  @adc_shared_template
end

#applicationGoogle::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV1ResourceApplication

Corresponds to the JSON property application



3358
3359
3360
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 3358

def application
  @application
end

#aws_metadataGoogle::Apis::SecuritycenterV1beta2::AwsMetadata

Corresponds to the JSON property awsMetadata



3363
3364
3365
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 3363

def 
  @aws_metadata
end

#azure_metadataGoogle::Apis::SecuritycenterV1beta2::AzureMetadata

Corresponds to the JSON property azureMetadata



3368
3369
3370
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 3368

def 
  @azure_metadata
end

#cloud_providerString

Corresponds to the JSON property cloudProvider

Returns:

  • (String)


3373
3374
3375
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 3373

def cloud_provider
  @cloud_provider
end

#display_nameString

Corresponds to the JSON property displayName

Returns:

  • (String)


3378
3379
3380
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 3378

def display_name
  @display_name
end

#foldersArray<Google::Apis::SecuritycenterV1beta2::Folder>

Corresponds to the JSON property folders



3383
3384
3385
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 3383

def folders
  @folders
end

#locationString

Corresponds to the JSON property location

Returns:

  • (String)


3388
3389
3390
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 3388

def location
  @location
end

#nameString

Corresponds to the JSON property name

Returns:

  • (String)


3393
3394
3395
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 3393

def name
  @name
end

#organizationString

Corresponds to the JSON property organization

Returns:

  • (String)


3398
3399
3400
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 3398

def organization
  @organization
end

#parentString

Corresponds to the JSON property parent

Returns:

  • (String)


3403
3404
3405
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 3403

def parent
  @parent
end

#parent_display_nameString

Corresponds to the JSON property parentDisplayName

Returns:

  • (String)


3408
3409
3410
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 3408

def parent_display_name
  @parent_display_name
end

#projectString

Corresponds to the JSON property project

Returns:

  • (String)


3413
3414
3415
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 3413

def project
  @project
end

#project_display_nameString

Corresponds to the JSON property projectDisplayName

Returns:

  • (String)


3418
3419
3420
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 3418

def project_display_name
  @project_display_name
end

#resource_pathGoogle::Apis::SecuritycenterV1beta2::ResourcePath

Corresponds to the JSON property resourcePath



3423
3424
3425
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 3423

def resource_path
  @resource_path
end

#resource_path_stringString

Corresponds to the JSON property resourcePathString

Returns:

  • (String)


3428
3429
3430
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 3428

def resource_path_string
  @resource_path_string
end

#serviceString

Corresponds to the JSON property service

Returns:

  • (String)


3433
3434
3435
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 3433

def service
  @service
end

#typeString

Corresponds to the JSON property type

Returns:

  • (String)


3438
3439
3440
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 3438

def type
  @type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3445
3446
3447
3448
3449
3450
3451
3452
3453
3454
3455
3456
3457
3458
3459
3460
3461
3462
3463
3464
3465
3466
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 3445

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)
  @folders = args[:folders] if args.key?(:folders)
  @location = args[:location] if args.key?(:location)
  @name = args[:name] if args.key?(:name)
  @organization = args[:organization] if args.key?(:organization)
  @parent = args[:parent] if args.key?(:parent)
  @parent_display_name = args[:parent_display_name] if args.key?(:parent_display_name)
  @project = args[:project] if args.key?(:project)
  @project_display_name = args[:project_display_name] if args.key?(:project_display_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