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.
10409 10410 10411 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 10409 def initialize(**args) update!(**args) end |
Instance Attribute Details
#access_reviews ⇒ Array<Google::Apis::SecuritycenterV1beta1::AccessReview>
Corresponds to the JSON property accessReviews
10377 10378 10379 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 10377 def access_reviews @access_reviews end |
#bindings ⇒ Array<Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1Binding>
Corresponds to the JSON property bindings
10382 10383 10384 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 10382 def bindings @bindings end |
#node_pools ⇒ Array<Google::Apis::SecuritycenterV1beta1::NodePool>
Corresponds to the JSON property nodePools
10387 10388 10389 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 10387 def node_pools @node_pools end |
#nodes ⇒ Array<Google::Apis::SecuritycenterV1beta1::Node>
Corresponds to the JSON property nodes
10392 10393 10394 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 10392 def nodes @nodes end |
#objects ⇒ Array<Google::Apis::SecuritycenterV1beta1::Object>
Corresponds to the JSON property objects
10397 10398 10399 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 10397 def objects @objects end |
#pods ⇒ Array<Google::Apis::SecuritycenterV1beta1::Pod>
Corresponds to the JSON property pods
10402 10403 10404 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 10402 def pods @pods end |
#roles ⇒ Array<Google::Apis::SecuritycenterV1beta1::Role>
Corresponds to the JSON property roles
10407 10408 10409 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 10407 def roles @roles end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
10414 10415 10416 10417 10418 10419 10420 10421 10422 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 10414 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 |