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.



12300
12301
12302
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 12300

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

Instance Attribute Details

#adc_applicationGoogle::Apis::SecuritycenterV1::AdcApplication

Corresponds to the JSON property adcApplication



12203
12204
12205
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 12203

def adc_application
  @adc_application
end

#adc_application_templateGoogle::Apis::SecuritycenterV1::AdcApplicationTemplateRevision

Corresponds to the JSON property adcApplicationTemplate



12208
12209
12210
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 12208

def adc_application_template
  @adc_application_template
end

#adc_shared_templateGoogle::Apis::SecuritycenterV1::AdcSharedTemplateRevision

Corresponds to the JSON property adcSharedTemplate



12213
12214
12215
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 12213

def adc_shared_template
  @adc_shared_template
end

#applicationGoogle::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1ResourceApplication

Corresponds to the JSON property application



12218
12219
12220
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 12218

def application
  @application
end

#aws_metadataGoogle::Apis::SecuritycenterV1::AwsMetadata

Corresponds to the JSON property awsMetadata



12223
12224
12225
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 12223

def 
  @aws_metadata
end

#azure_metadataGoogle::Apis::SecuritycenterV1::AzureMetadata

Corresponds to the JSON property azureMetadata



12228
12229
12230
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 12228

def 
  @azure_metadata
end

#cloud_providerString

Corresponds to the JSON property cloudProvider

Returns:

  • (String)


12233
12234
12235
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 12233

def cloud_provider
  @cloud_provider
end

#display_nameString

Corresponds to the JSON property displayName

Returns:

  • (String)


12238
12239
12240
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 12238

def display_name
  @display_name
end

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

Corresponds to the JSON property folders



12243
12244
12245
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 12243

def folders
  @folders
end

#locationString

Corresponds to the JSON property location

Returns:

  • (String)


12248
12249
12250
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 12248

def location
  @location
end

#nameString

Corresponds to the JSON property name

Returns:

  • (String)


12253
12254
12255
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 12253

def name
  @name
end

#organizationString

Corresponds to the JSON property organization

Returns:

  • (String)


12258
12259
12260
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 12258

def organization
  @organization
end

#parent_display_nameString

Corresponds to the JSON property parentDisplayName

Returns:

  • (String)


12263
12264
12265
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 12263

def parent_display_name
  @parent_display_name
end

#parent_nameString

Corresponds to the JSON property parentName

Returns:

  • (String)


12268
12269
12270
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 12268

def parent_name
  @parent_name
end

#project_display_nameString

Corresponds to the JSON property projectDisplayName

Returns:

  • (String)


12273
12274
12275
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 12273

def project_display_name
  @project_display_name
end

#project_nameString

Corresponds to the JSON property projectName

Returns:

  • (String)


12278
12279
12280
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 12278

def project_name
  @project_name
end

#resource_pathGoogle::Apis::SecuritycenterV1::ResourcePath

Corresponds to the JSON property resourcePath



12283
12284
12285
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 12283

def resource_path
  @resource_path
end

#resource_path_stringString

Corresponds to the JSON property resourcePathString

Returns:

  • (String)


12288
12289
12290
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 12288

def resource_path_string
  @resource_path_string
end

#serviceString

Corresponds to the JSON property service

Returns:

  • (String)


12293
12294
12295
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 12293

def service
  @service
end

#typeString

Corresponds to the JSON property type

Returns:

  • (String)


12298
12299
12300
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 12298

def type
  @type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



12305
12306
12307
12308
12309
12310
12311
12312
12313
12314
12315
12316
12317
12318
12319
12320
12321
12322
12323
12324
12325
12326
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 12305

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