Class: Google::Apis::SecuritycenterV1beta1::Kubernetes

Inherits:
Object
  • Object
show all
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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ Kubernetes

Returns a new instance of Kubernetes.



10521
10522
10523
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 10521

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

Instance Attribute Details

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

Corresponds to the JSON property accessReviews



10489
10490
10491
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 10489

def access_reviews
  @access_reviews
end

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

Corresponds to the JSON property bindings



10494
10495
10496
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 10494

def bindings
  @bindings
end

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

Corresponds to the JSON property nodePools



10499
10500
10501
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 10499

def node_pools
  @node_pools
end

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

Corresponds to the JSON property nodes



10504
10505
10506
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 10504

def nodes
  @nodes
end

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

Corresponds to the JSON property objects



10509
10510
10511
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 10509

def objects
  @objects
end

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

Corresponds to the JSON property pods



10514
10515
10516
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 10514

def pods
  @pods
end

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

Corresponds to the JSON property roles



10519
10520
10521
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 10519

def roles
  @roles
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



10526
10527
10528
10529
10530
10531
10532
10533
10534
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 10526

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