Class: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2Kubernetes

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudSecuritycenterV2Kubernetes

Returns a new instance of GoogleCloudSecuritycenterV2Kubernetes.



8228
8229
8230
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 8228

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#access_reviewsArray<Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2AccessReview>

Corresponds to the JSON property accessReviews



8196
8197
8198
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 8196

def access_reviews
  @access_reviews
end

#bindingsArray<Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2Binding>

Corresponds to the JSON property bindings



8201
8202
8203
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 8201

def bindings
  @bindings
end

#node_poolsArray<Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2NodePool>

Corresponds to the JSON property nodePools



8206
8207
8208
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 8206

def node_pools
  @node_pools
end

#nodesArray<Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2Node>

Corresponds to the JSON property nodes



8211
8212
8213
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 8211

def nodes
  @nodes
end

#objectsArray<Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2Object>

Corresponds to the JSON property objects



8216
8217
8218
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 8216

def objects
  @objects
end

#podsArray<Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2Pod>

Corresponds to the JSON property pods



8221
8222
8223
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 8221

def pods
  @pods
end

#rolesArray<Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2Role>

Corresponds to the JSON property roles



8226
8227
8228
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 8226

def roles
  @roles
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8233
8234
8235
8236
8237
8238
8239
8240
8241
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 8233

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