Class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV1ResourceValueConfig

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

Returns a new instance of GoogleCloudSecuritycenterV1ResourceValueConfig.



3672
3673
3674
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 3672

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

Instance Attribute Details

#cloud_providerString

Corresponds to the JSON property cloudProvider

Returns:

  • (String)


3620
3621
3622
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 3620

def cloud_provider
  @cloud_provider
end

#create_timeString

Corresponds to the JSON property createTime

Returns:

  • (String)


3625
3626
3627
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 3625

def create_time
  @create_time
end

#descriptionString

Corresponds to the JSON property description

Returns:

  • (String)


3630
3631
3632
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 3630

def description
  @description
end

#nameString

Corresponds to the JSON property name

Returns:

  • (String)


3635
3636
3637
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 3635

def name
  @name
end

#resource_labels_selectorHash<String,String>

Corresponds to the JSON property resourceLabelsSelector

Returns:

  • (Hash<String,String>)


3640
3641
3642
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 3640

def resource_labels_selector
  @resource_labels_selector
end

#resource_typeString

Corresponds to the JSON property resourceType

Returns:

  • (String)


3645
3646
3647
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 3645

def resource_type
  @resource_type
end

#resource_valueString

Corresponds to the JSON property resourceValue

Returns:

  • (String)


3650
3651
3652
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 3650

def resource_value
  @resource_value
end

#scopeString

Corresponds to the JSON property scope

Returns:

  • (String)


3655
3656
3657
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 3655

def scope
  @scope
end

#sensitive_data_protection_mappingGoogle::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV1SensitiveDataProtectionMapping

Corresponds to the JSON property sensitiveDataProtectionMapping



3660
3661
3662
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 3660

def sensitive_data_protection_mapping
  @sensitive_data_protection_mapping
end

#tag_valuesArray<String>

Corresponds to the JSON property tagValues

Returns:

  • (Array<String>)


3665
3666
3667
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 3665

def tag_values
  @tag_values
end

#update_timeString

Corresponds to the JSON property updateTime

Returns:

  • (String)


3670
3671
3672
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 3670

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3677
3678
3679
3680
3681
3682
3683
3684
3685
3686
3687
3688
3689
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 3677

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