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.
10831 10832 10833 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 10831 def initialize(**args) update!(**args) end |
Instance Attribute Details
#access_reviews ⇒ Array<Google::Apis::SecuritycenterV1beta1::AccessReview>
Corresponds to the JSON property accessReviews
10799 10800 10801 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 10799 def access_reviews @access_reviews end |
#bindings ⇒ Array<Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1Binding>
Corresponds to the JSON property bindings
10804 10805 10806 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 10804 def bindings @bindings end |
#node_pools ⇒ Array<Google::Apis::SecuritycenterV1beta1::NodePool>
Corresponds to the JSON property nodePools
10809 10810 10811 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 10809 def node_pools @node_pools end |
#nodes ⇒ Array<Google::Apis::SecuritycenterV1beta1::Node>
Corresponds to the JSON property nodes
10814 10815 10816 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 10814 def nodes @nodes end |
#objects ⇒ Array<Google::Apis::SecuritycenterV1beta1::Object>
Corresponds to the JSON property objects
10819 10820 10821 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 10819 def objects @objects end |
#pods ⇒ Array<Google::Apis::SecuritycenterV1beta1::Pod>
Corresponds to the JSON property pods
10824 10825 10826 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 10824 def pods @pods end |
#roles ⇒ Array<Google::Apis::SecuritycenterV1beta1::Role>
Corresponds to the JSON property roles
10829 10830 10831 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 10829 def roles @roles end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
10836 10837 10838 10839 10840 10841 10842 10843 10844 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 10836 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 |