Class: Google::Apis::SecuritycenterV1beta1::Kubernetes
- Inherits:
-
Object
- Object
- Google::Apis::SecuritycenterV1beta1::Kubernetes
- 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
-
#access_reviews ⇒ Array<Google::Apis::SecuritycenterV1beta1::AccessReview>
Corresponds to the JSON property
accessReviews. -
#bindings ⇒ Array<Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1Binding>
Corresponds to the JSON property
bindings. -
#node_pools ⇒ Array<Google::Apis::SecuritycenterV1beta1::NodePool>
Corresponds to the JSON property
nodePools. -
#nodes ⇒ Array<Google::Apis::SecuritycenterV1beta1::Node>
Corresponds to the JSON property
nodes. -
#objects ⇒ Array<Google::Apis::SecuritycenterV1beta1::Object>
Corresponds to the JSON property
objects. -
#pods ⇒ Array<Google::Apis::SecuritycenterV1beta1::Pod>
Corresponds to the JSON property
pods. -
#roles ⇒ Array<Google::Apis::SecuritycenterV1beta1::Role>
Corresponds to the JSON property
roles.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Kubernetes
constructor
A new instance of Kubernetes.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Kubernetes
Returns a new instance of Kubernetes.
10421 10422 10423 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 10421 def initialize(**args) update!(**args) end |
Instance Attribute Details
#access_reviews ⇒ Array<Google::Apis::SecuritycenterV1beta1::AccessReview>
Corresponds to the JSON property accessReviews
10389 10390 10391 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 10389 def access_reviews @access_reviews end |
#bindings ⇒ Array<Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1Binding>
Corresponds to the JSON property bindings
10394 10395 10396 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 10394 def bindings @bindings end |
#node_pools ⇒ Array<Google::Apis::SecuritycenterV1beta1::NodePool>
Corresponds to the JSON property nodePools
10399 10400 10401 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 10399 def node_pools @node_pools end |
#nodes ⇒ Array<Google::Apis::SecuritycenterV1beta1::Node>
Corresponds to the JSON property nodes
10404 10405 10406 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 10404 def nodes @nodes end |
#objects ⇒ Array<Google::Apis::SecuritycenterV1beta1::Object>
Corresponds to the JSON property objects
10409 10410 10411 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 10409 def objects @objects end |
#pods ⇒ Array<Google::Apis::SecuritycenterV1beta1::Pod>
Corresponds to the JSON property pods
10414 10415 10416 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 10414 def pods @pods end |
#roles ⇒ Array<Google::Apis::SecuritycenterV1beta1::Role>
Corresponds to the JSON property roles
10419 10420 10421 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 10419 def roles @roles end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
10426 10427 10428 10429 10430 10431 10432 10433 10434 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 10426 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 |