Class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2ResourceValueConfig

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

Returns a new instance of GoogleCloudSecuritycenterV2ResourceValueConfig.



9473
9474
9475
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 9473

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

Instance Attribute Details

#cloud_providerString

Corresponds to the JSON property cloudProvider

Returns:

  • (String)


9421
9422
9423
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 9421

def cloud_provider
  @cloud_provider
end

#create_timeString

Corresponds to the JSON property createTime

Returns:

  • (String)


9426
9427
9428
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 9426

def create_time
  @create_time
end

#descriptionString

Corresponds to the JSON property description

Returns:

  • (String)


9431
9432
9433
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 9431

def description
  @description
end

#nameString

Corresponds to the JSON property name

Returns:

  • (String)


9436
9437
9438
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 9436

def name
  @name
end

#resource_labels_selectorHash<String,String>

Corresponds to the JSON property resourceLabelsSelector

Returns:

  • (Hash<String,String>)


9441
9442
9443
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 9441

def resource_labels_selector
  @resource_labels_selector
end

#resource_typeString

Corresponds to the JSON property resourceType

Returns:

  • (String)


9446
9447
9448
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 9446

def resource_type
  @resource_type
end

#resource_valueString

Corresponds to the JSON property resourceValue

Returns:

  • (String)


9451
9452
9453
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 9451

def resource_value
  @resource_value
end

#scopeString

Corresponds to the JSON property scope

Returns:

  • (String)


9456
9457
9458
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 9456

def scope
  @scope
end

#sensitive_data_protection_mappingGoogle::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2SensitiveDataProtectionMapping

Corresponds to the JSON property sensitiveDataProtectionMapping



9461
9462
9463
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 9461

def sensitive_data_protection_mapping
  @sensitive_data_protection_mapping
end

#tag_valuesArray<String>

Corresponds to the JSON property tagValues

Returns:

  • (Array<String>)


9466
9467
9468
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 9466

def tag_values
  @tag_values
end

#update_timeString

Corresponds to the JSON property updateTime

Returns:

  • (String)


9471
9472
9473
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 9471

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



9478
9479
9480
9481
9482
9483
9484
9485
9486
9487
9488
9489
9490
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 9478

def update!(**args)
  @cloud_provider = args[:cloud_provider] if args.key?(:cloud_provider)
  @create_time = args[:create_time] if args.key?(:create_time)
  @description = args[:description] if args.key?(:description)
  @name = args[:name] if args.key?(:name)
  @resource_labels_selector = args[:resource_labels_selector] if args.key?(:resource_labels_selector)
  @resource_type = args[:resource_type] if args.key?(:resource_type)
  @resource_value = args[:resource_value] if args.key?(:resource_value)
  @scope = args[:scope] if args.key?(:scope)
  @sensitive_data_protection_mapping = args[:sensitive_data_protection_mapping] if args.key?(:sensitive_data_protection_mapping)
  @tag_values = args[:tag_values] if args.key?(:tag_values)
  @update_time = args[:update_time] if args.key?(:update_time)
end