Class: Google::Apis::SecuritycenterV1::Kubernetes
- Inherits:
-
Object
- Object
- Google::Apis::SecuritycenterV1::Kubernetes
- 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
-
#access_reviews ⇒ Array<Google::Apis::SecuritycenterV1::AccessReview>
Corresponds to the JSON property
accessReviews. -
#bindings ⇒ Array<Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1Binding>
Corresponds to the JSON property
bindings. -
#node_pools ⇒ Array<Google::Apis::SecuritycenterV1::NodePool>
Corresponds to the JSON property
nodePools. -
#nodes ⇒ Array<Google::Apis::SecuritycenterV1::Node>
Corresponds to the JSON property
nodes. -
#objects ⇒ Array<Google::Apis::SecuritycenterV1::Object>
Corresponds to the JSON property
objects. -
#pods ⇒ Array<Google::Apis::SecuritycenterV1::Pod>
Corresponds to the JSON property
pods. -
#roles ⇒ Array<Google::Apis::SecuritycenterV1::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.
11201 11202 11203 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 11201 def initialize(**args) update!(**args) end |
Instance Attribute Details
#access_reviews ⇒ Array<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 |
#bindings ⇒ Array<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_pools ⇒ Array<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 |
#nodes ⇒ Array<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 |
#objects ⇒ Array<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 |
#pods ⇒ Array<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 |
#roles ⇒ Array<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 |