Class: Google::Apis::SecuritycenterV1beta2::Pod

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

#containersArray<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

#labelsArray<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

#nameString

Corresponds to the JSON property name

Returns:

  • (String)


10462
10463
10464
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 10462

def name
  @name
end

#nsString

Corresponds to the JSON property ns

Returns:

  • (String)


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