Class: Google::Apis::SecuritycenterV1beta2::Pod
- Inherits:
-
Object
- Object
- Google::Apis::SecuritycenterV1beta2::Pod
- 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
-
#containers ⇒ Array<Google::Apis::SecuritycenterV1beta2::Container>
Corresponds to the JSON property
containers. -
#labels ⇒ Array<Google::Apis::SecuritycenterV1beta2::Label>
Corresponds to the JSON property
labels. -
#name ⇒ String
Corresponds to the JSON property
name. -
#ns ⇒ String
Corresponds to the JSON property
ns.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Pod
constructor
A new instance of Pod.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Pod
Returns a new instance of Pod.
10469 10470 10471 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 10469 def initialize(**args) update!(**args) end |
Instance Attribute Details
#containers ⇒ Array<Google::Apis::SecuritycenterV1beta2::Container>
Corresponds to the JSON property containers
10452 10453 10454 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 10452 def containers @containers end |
#labels ⇒ Array<Google::Apis::SecuritycenterV1beta2::Label>
Corresponds to the JSON property labels
10457 10458 10459 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 10457 def labels @labels end |
#name ⇒ String
Corresponds to the JSON property name
10462 10463 10464 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 10462 def name @name end |
#ns ⇒ String
Corresponds to the JSON property ns
10467 10468 10469 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 10467 def ns @ns end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
10474 10475 10476 10477 10478 10479 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 10474 def update!(**args) @containers = args[:containers] if args.key?(:containers) @labels = args[:labels] if args.key?(:labels) @name = args[:name] if args.key?(:name) @ns = args[:ns] if args.key?(:ns) end |