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.



11201
11202
11203
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 11201

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

Instance Attribute Details

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

Corresponds to the JSON property accessReviews



11169
11170
11171
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 11169

def access_reviews
  @access_reviews
end

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

Corresponds to the JSON property bindings



11174
11175
11176
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 11174

def bindings
  @bindings
end

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

Corresponds to the JSON property nodePools



11179
11180
11181
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 11179

def node_pools
  @node_pools
end

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

Corresponds to the JSON property nodes



11184
11185
11186
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 11184

def nodes
  @nodes
end

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

Corresponds to the JSON property objects



11189
11190
11191
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 11189

def objects
  @objects
end

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

Corresponds to the JSON property pods



11194
11195
11196
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 11194

def pods
  @pods
end

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

Corresponds to the JSON property roles



11199
11200
11201
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 11199

def roles
  @roles
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



11206
11207
11208
11209
11210
11211
11212
11213
11214
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 11206

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