Class: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1ResourceValueConfig

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/securitycenter_v1beta1/classes.rb,
lib/google/apis/securitycenter_v1beta1/representations.rb,
lib/google/apis/securitycenter_v1beta1/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudSecuritycenterV1ResourceValueConfig

Returns a new instance of GoogleCloudSecuritycenterV1ResourceValueConfig.



3805
3806
3807
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 3805

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

Instance Attribute Details

#cloud_providerString

Corresponds to the JSON property cloudProvider

Returns:

  • (String)


3753
3754
3755
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 3753

def cloud_provider
  @cloud_provider
end

#create_timeString

Corresponds to the JSON property createTime

Returns:

  • (String)


3758
3759
3760
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 3758

def create_time
  @create_time
end

#descriptionString

Corresponds to the JSON property description

Returns:

  • (String)


3763
3764
3765
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 3763

def description
  @description
end

#nameString

Corresponds to the JSON property name

Returns:

  • (String)


3768
3769
3770
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 3768

def name
  @name
end

#resource_labels_selectorHash<String,String>

Corresponds to the JSON property resourceLabelsSelector

Returns:

  • (Hash<String,String>)


3773
3774
3775
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 3773

def resource_labels_selector
  @resource_labels_selector
end

#resource_typeString

Corresponds to the JSON property resourceType

Returns:

  • (String)


3778
3779
3780
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 3778

def resource_type
  @resource_type
end

#resource_valueString

Corresponds to the JSON property resourceValue

Returns:

  • (String)


3783
3784
3785
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 3783

def resource_value
  @resource_value
end

#scopeString

Corresponds to the JSON property scope

Returns:

  • (String)


3788
3789
3790
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 3788

def scope
  @scope
end

#sensitive_data_protection_mappingGoogle::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1SensitiveDataProtectionMapping

Corresponds to the JSON property sensitiveDataProtectionMapping



3793
3794
3795
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 3793

def sensitive_data_protection_mapping
  @sensitive_data_protection_mapping
end

#tag_valuesArray<String>

Corresponds to the JSON property tagValues

Returns:

  • (Array<String>)


3798
3799
3800
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 3798

def tag_values
  @tag_values
end

#update_timeString

Corresponds to the JSON property updateTime

Returns:

  • (String)


3803
3804
3805
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 3803

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3810
3811
3812
3813
3814
3815
3816
3817
3818
3819
3820
3821
3822
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 3810

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