Class: Google::Apis::SecuritycenterV1::Kubernetes

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

Returns a new instance of Kubernetes.



10791
10792
10793
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 10791

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

Instance Attribute Details

#access_reviewsArray<Google::Apis::SecuritycenterV1::AccessReview>

Corresponds to the JSON property accessReviews



10759
10760
10761
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 10759

def access_reviews
  @access_reviews
end

#bindingsArray<Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1Binding>

Corresponds to the JSON property bindings



10764
10765
10766
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 10764

def bindings
  @bindings
end

#node_poolsArray<Google::Apis::SecuritycenterV1::NodePool>

Corresponds to the JSON property nodePools



10769
10770
10771
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 10769

def node_pools
  @node_pools
end

#nodesArray<Google::Apis::SecuritycenterV1::Node>

Corresponds to the JSON property nodes



10774
10775
10776
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 10774

def nodes
  @nodes
end

#objectsArray<Google::Apis::SecuritycenterV1::Object>

Corresponds to the JSON property objects



10779
10780
10781
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 10779

def objects
  @objects
end

#podsArray<Google::Apis::SecuritycenterV1::Pod>

Corresponds to the JSON property pods



10784
10785
10786
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 10784

def pods
  @pods
end

#rolesArray<Google::Apis::SecuritycenterV1::Role>

Corresponds to the JSON property roles



10789
10790
10791
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 10789

def roles
  @roles
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



10796
10797
10798
10799
10800
10801
10802
10803
10804
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 10796

def update!(**args)
  @access_reviews = args[:access_reviews] if args.key?(:access_reviews)
  @bindings = args[:bindings] if args.key?(:bindings)
  @node_pools = args[:node_pools] if args.key?(:node_pools)
  @nodes = args[:nodes] if args.key?(:nodes)
  @objects = args[:objects] if args.key?(:objects)
  @pods = args[:pods] if args.key?(:pods)
  @roles = args[:roles] if args.key?(:roles)
end