Class: Google::Apis::SecuritycenterV1::Resource

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ Resource

Returns a new instance of Resource.



12400
12401
12402
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 12400

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

Instance Attribute Details

#adc_applicationGoogle::Apis::SecuritycenterV1::AdcApplication

Corresponds to the JSON property adcApplication



12303
12304
12305
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 12303

def adc_application
  @adc_application
end

#adc_application_templateGoogle::Apis::SecuritycenterV1::AdcApplicationTemplateRevision

Corresponds to the JSON property adcApplicationTemplate



12308
12309
12310
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 12308

def adc_application_template
  @adc_application_template
end

#adc_shared_templateGoogle::Apis::SecuritycenterV1::AdcSharedTemplateRevision

Corresponds to the JSON property adcSharedTemplate



12313
12314
12315
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 12313

def adc_shared_template
  @adc_shared_template
end

#applicationGoogle::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1ResourceApplication

Corresponds to the JSON property application



12318
12319
12320
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 12318

def application
  @application
end

#aws_metadataGoogle::Apis::SecuritycenterV1::AwsMetadata

Corresponds to the JSON property awsMetadata



12323
12324
12325
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 12323

def 
  @aws_metadata
end

#azure_metadataGoogle::Apis::SecuritycenterV1::AzureMetadata

Corresponds to the JSON property azureMetadata



12328
12329
12330
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 12328

def 
  @azure_metadata
end

#cloud_providerString

Corresponds to the JSON property cloudProvider

Returns:

  • (String)


12333
12334
12335
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 12333

def cloud_provider
  @cloud_provider
end

#display_nameString

Corresponds to the JSON property displayName

Returns:

  • (String)


12338
12339
12340
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 12338

def display_name
  @display_name
end

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

Corresponds to the JSON property folders



12343
12344
12345
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 12343

def folders
  @folders
end

#locationString

Corresponds to the JSON property location

Returns:

  • (String)


12348
12349
12350
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 12348

def location
  @location
end

#nameString

Corresponds to the JSON property name

Returns:

  • (String)


12353
12354
12355
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 12353

def name
  @name
end

#organizationString

Corresponds to the JSON property organization

Returns:

  • (String)


12358
12359
12360
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 12358

def organization
  @organization
end

#parent_display_nameString

Corresponds to the JSON property parentDisplayName

Returns:

  • (String)


12363
12364
12365
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 12363

def parent_display_name
  @parent_display_name
end

#parent_nameString

Corresponds to the JSON property parentName

Returns:

  • (String)


12368
12369
12370
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 12368

def parent_name
  @parent_name
end

#project_display_nameString

Corresponds to the JSON property projectDisplayName

Returns:

  • (String)


12373
12374
12375
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 12373

def project_display_name
  @project_display_name
end

#project_nameString

Corresponds to the JSON property projectName

Returns:

  • (String)


12378
12379
12380
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 12378

def project_name
  @project_name
end

#resource_pathGoogle::Apis::SecuritycenterV1::ResourcePath

Corresponds to the JSON property resourcePath



12383
12384
12385
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 12383

def resource_path
  @resource_path
end

#resource_path_stringString

Corresponds to the JSON property resourcePathString

Returns:

  • (String)


12388
12389
12390
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 12388

def resource_path_string
  @resource_path_string
end

#serviceString

Corresponds to the JSON property service

Returns:

  • (String)


12393
12394
12395
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 12393

def service
  @service
end

#typeString

Corresponds to the JSON property type

Returns:

  • (String)


12398
12399
12400
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 12398

def type
  @type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



12405
12406
12407
12408
12409
12410
12411
12412
12413
12414
12415
12416
12417
12418
12419
12420
12421
12422
12423
12424
12425
12426
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 12405

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_display_name = args[:parent_display_name] if args.key?(:parent_display_name)
  @parent_name = args[:parent_name] if args.key?(:parent_name)
  @project_display_name = args[:project_display_name] if args.key?(:project_display_name)
  @project_name = args[:project_name] if args.key?(:project_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