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.
7947 7948 7949 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 7947 def initialize(**args) update!(**args) end |
Instance Attribute Details
#access_reviews ⇒ Array<Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2AccessReview>
Corresponds to the JSON property accessReviews
7915 7916 7917 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 7915 def access_reviews @access_reviews end |
#bindings ⇒ Array<Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2Binding>
Corresponds to the JSON property bindings
7920 7921 7922 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 7920 def bindings @bindings end |
#node_pools ⇒ Array<Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2NodePool>
Corresponds to the JSON property nodePools
7925 7926 7927 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 7925 def node_pools @node_pools end |
#nodes ⇒ Array<Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2Node>
Corresponds to the JSON property nodes
7930 7931 7932 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 7930 def nodes @nodes end |
#objects ⇒ Array<Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2Object>
Corresponds to the JSON property objects
7935 7936 7937 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 7935 def objects @objects end |
#pods ⇒ Array<Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2Pod>
Corresponds to the JSON property pods
7940 7941 7942 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 7940 def pods @pods end |
#roles ⇒ Array<Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2Role>
Corresponds to the JSON property roles
7945 7946 7947 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 7945 def roles @roles end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
7952 7953 7954 7955 7956 7957 7958 7959 7960 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 7952 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 |