Class: Google::Apis::SecuritycenterV1beta2::Kubernetes
- Inherits:
-
Object
- Object
- Google::Apis::SecuritycenterV1beta2::Kubernetes
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/securitycenter_v1beta2/classes.rb,
lib/google/apis/securitycenter_v1beta2/representations.rb,
lib/google/apis/securitycenter_v1beta2/representations.rb
Instance Attribute Summary collapse
-
#access_reviews ⇒ Array<Google::Apis::SecuritycenterV1beta2::AccessReview>
Corresponds to the JSON property
accessReviews. -
#bindings ⇒ Array<Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV1Binding>
Corresponds to the JSON property
bindings. -
#node_pools ⇒ Array<Google::Apis::SecuritycenterV1beta2::NodePool>
Corresponds to the JSON property
nodePools. -
#nodes ⇒ Array<Google::Apis::SecuritycenterV1beta2::Node>
Corresponds to the JSON property
nodes. -
#objects ⇒ Array<Google::Apis::SecuritycenterV1beta2::Object>
Corresponds to the JSON property
objects. -
#pods ⇒ Array<Google::Apis::SecuritycenterV1beta2::Pod>
Corresponds to the JSON property
pods. -
#roles ⇒ Array<Google::Apis::SecuritycenterV1beta2::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.
10049 10050 10051 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 10049 def initialize(**args) update!(**args) end |
Instance Attribute Details
#access_reviews ⇒ Array<Google::Apis::SecuritycenterV1beta2::AccessReview>
Corresponds to the JSON property accessReviews
10017 10018 10019 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 10017 def access_reviews @access_reviews end |
#bindings ⇒ Array<Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV1Binding>
Corresponds to the JSON property bindings
10022 10023 10024 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 10022 def bindings @bindings end |
#node_pools ⇒ Array<Google::Apis::SecuritycenterV1beta2::NodePool>
Corresponds to the JSON property nodePools
10027 10028 10029 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 10027 def node_pools @node_pools end |
#nodes ⇒ Array<Google::Apis::SecuritycenterV1beta2::Node>
Corresponds to the JSON property nodes
10032 10033 10034 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 10032 def nodes @nodes end |
#objects ⇒ Array<Google::Apis::SecuritycenterV1beta2::Object>
Corresponds to the JSON property objects
10037 10038 10039 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 10037 def objects @objects end |
#pods ⇒ Array<Google::Apis::SecuritycenterV1beta2::Pod>
Corresponds to the JSON property pods
10042 10043 10044 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 10042 def pods @pods end |
#roles ⇒ Array<Google::Apis::SecuritycenterV1beta2::Role>
Corresponds to the JSON property roles
10047 10048 10049 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 10047 def roles @roles end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
10054 10055 10056 10057 10058 10059 10060 10061 10062 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 10054 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 |