Class: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1ResourceApplicationAttributesEnvironment
- Inherits:
-
Object
- Object
- Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1ResourceApplicationAttributesEnvironment
- 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
Overview
Environment of the Application, Service, or Workload
Instance Attribute Summary collapse
-
#type ⇒ String
Environment Type.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudSecuritycenterV1ResourceApplicationAttributesEnvironment
constructor
A new instance of GoogleCloudSecuritycenterV1ResourceApplicationAttributesEnvironment.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudSecuritycenterV1ResourceApplicationAttributesEnvironment
Returns a new instance of GoogleCloudSecuritycenterV1ResourceApplicationAttributesEnvironment.
4186 4187 4188 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 4186 def initialize(**args) update!(**args) end |
Instance Attribute Details
#type ⇒ String
Environment Type.
Corresponds to the JSON property type
4184 4185 4186 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 4184 def type @type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4191 4192 4193 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 4191 def update!(**args) @type = args[:type] if args.key?(:type) end |