Class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2Kubernetes

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/securitycenter_v1/classes.rb,
lib/google/apis/securitycenter_v1/representations.rb,
lib/google/apis/securitycenter_v1/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudSecuritycenterV2Kubernetes

Returns a new instance of GoogleCloudSecuritycenterV2Kubernetes.



8461
8462
8463
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 8461

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

Instance Attribute Details

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

Corresponds to the JSON property accessReviews



8429
8430
8431
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 8429

def access_reviews
  @access_reviews
end

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

Corresponds to the JSON property bindings



8434
8435
8436
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 8434

def bindings
  @bindings
end

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

Corresponds to the JSON property nodePools



8439
8440
8441
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 8439

def node_pools
  @node_pools
end

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

Corresponds to the JSON property nodes



8444
8445
8446
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 8444

def nodes
  @nodes
end

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

Corresponds to the JSON property objects



8449
8450
8451
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 8449

def objects
  @objects
end

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

Corresponds to the JSON property pods



8454
8455
8456
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 8454

def pods
  @pods
end

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

Corresponds to the JSON property roles



8459
8460
8461
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 8459

def roles
  @roles
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8466
8467
8468
8469
8470
8471
8472
8473
8474
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 8466

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