Class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1ResourceValueConfig

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

Returns a new instance of GoogleCloudSecuritycenterV1ResourceValueConfig.



4186
4187
4188
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 4186

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

Instance Attribute Details

#cloud_providerString

Corresponds to the JSON property cloudProvider

Returns:

  • (String)


4134
4135
4136
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 4134

def cloud_provider
  @cloud_provider
end

#create_timeString

Corresponds to the JSON property createTime

Returns:

  • (String)


4139
4140
4141
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 4139

def create_time
  @create_time
end

#descriptionString

Corresponds to the JSON property description

Returns:

  • (String)


4144
4145
4146
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 4144

def description
  @description
end

#nameString

Corresponds to the JSON property name

Returns:

  • (String)


4149
4150
4151
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 4149

def name
  @name
end

#resource_labels_selectorHash<String,String>

Corresponds to the JSON property resourceLabelsSelector

Returns:

  • (Hash<String,String>)


4154
4155
4156
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 4154

def resource_labels_selector
  @resource_labels_selector
end

#resource_typeString

Corresponds to the JSON property resourceType

Returns:

  • (String)


4159
4160
4161
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 4159

def resource_type
  @resource_type
end

#resource_valueString

Corresponds to the JSON property resourceValue

Returns:

  • (String)


4164
4165
4166
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 4164

def resource_value
  @resource_value
end

#scopeString

Corresponds to the JSON property scope

Returns:

  • (String)


4169
4170
4171
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 4169

def scope
  @scope
end

#sensitive_data_protection_mappingGoogle::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1SensitiveDataProtectionMapping

Corresponds to the JSON property sensitiveDataProtectionMapping



4174
4175
4176
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 4174

def sensitive_data_protection_mapping
  @sensitive_data_protection_mapping
end

#tag_valuesArray<String>

Corresponds to the JSON property tagValues

Returns:

  • (Array<String>)


4179
4180
4181
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 4179

def tag_values
  @tag_values
end

#update_timeString

Corresponds to the JSON property updateTime

Returns:

  • (String)


4184
4185
4186
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 4184

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4191
4192
4193
4194
4195
4196
4197
4198
4199
4200
4201
4202
4203
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 4191

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