Class: Google::Apis::SecuritycenterV1beta2::Kubernetes

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

Returns a new instance of Kubernetes.



10471
10472
10473
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 10471

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

Instance Attribute Details

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

Corresponds to the JSON property accessReviews



10439
10440
10441
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 10439

def access_reviews
  @access_reviews
end

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

Corresponds to the JSON property bindings



10444
10445
10446
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 10444

def bindings
  @bindings
end

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

Corresponds to the JSON property nodePools



10449
10450
10451
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 10449

def node_pools
  @node_pools
end

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

Corresponds to the JSON property nodes



10454
10455
10456
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 10454

def nodes
  @nodes
end

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

Corresponds to the JSON property objects



10459
10460
10461
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 10459

def objects
  @objects
end

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

Corresponds to the JSON property pods



10464
10465
10466
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 10464

def pods
  @pods
end

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

Corresponds to the JSON property roles



10469
10470
10471
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 10469

def roles
  @roles
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



10476
10477
10478
10479
10480
10481
10482
10483
10484
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 10476

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