Class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2Kubernetes
- Inherits:
-
Object
- Object
- Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2Kubernetes
- 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::GoogleCloudSecuritycenterV2AccessReview>
Corresponds to the JSON property
accessReviews. -
#bindings ⇒ Array<Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2Binding>
Corresponds to the JSON property
bindings. -
#node_pools ⇒ Array<Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2NodePool>
Corresponds to the JSON property
nodePools. -
#nodes ⇒ Array<Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2Node>
Corresponds to the JSON property
nodes. -
#objects ⇒ Array<Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2Object>
Corresponds to the JSON property
objects. -
#pods ⇒ Array<Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2Pod>
Corresponds to the JSON property
pods. -
#roles ⇒ Array<Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2Role>
Corresponds to the JSON property
roles.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudSecuritycenterV2Kubernetes
constructor
A new instance of GoogleCloudSecuritycenterV2Kubernetes.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudSecuritycenterV2Kubernetes
Returns a new instance of GoogleCloudSecuritycenterV2Kubernetes.
8338 8339 8340 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 8338 def initialize(**args) update!(**args) end |
Instance Attribute Details
#access_reviews ⇒ Array<Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2AccessReview>
Corresponds to the JSON property accessReviews
8306 8307 8308 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 8306 def access_reviews @access_reviews end |
#bindings ⇒ Array<Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2Binding>
Corresponds to the JSON property bindings
8311 8312 8313 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 8311 def bindings @bindings end |
#node_pools ⇒ Array<Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2NodePool>
Corresponds to the JSON property nodePools
8316 8317 8318 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 8316 def node_pools @node_pools end |
#nodes ⇒ Array<Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2Node>
Corresponds to the JSON property nodes
8321 8322 8323 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 8321 def nodes @nodes end |
#objects ⇒ Array<Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2Object>
Corresponds to the JSON property objects
8326 8327 8328 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 8326 def objects @objects end |
#pods ⇒ Array<Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2Pod>
Corresponds to the JSON property pods
8331 8332 8333 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 8331 def pods @pods end |
#roles ⇒ Array<Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2Role>
Corresponds to the JSON property roles
8336 8337 8338 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 8336 def roles @roles end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
8343 8344 8345 8346 8347 8348 8349 8350 8351 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 8343 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 |