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.



10891
10892
10893
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 10891

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

Instance Attribute Details

#containersArray<Google::Apis::SecuritycenterV1beta2::Container>

Corresponds to the JSON property containers



10874
10875
10876
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 10874

def containers
  @containers
end

#labelsArray<Google::Apis::SecuritycenterV1beta2::Label>

Corresponds to the JSON property labels



10879
10880
10881
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 10879

def labels
  @labels
end

#nameString

Corresponds to the JSON property name

Returns:

  • (String)


10884
10885
10886
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 10884

def name
  @name
end

#nsString

Corresponds to the JSON property ns

Returns:

  • (String)


10889
10890
10891
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 10889

def ns
  @ns
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



10896
10897
10898
10899
10900
10901
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 10896

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