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.



8561
8562
8563
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 8561

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

Instance Attribute Details

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

Corresponds to the JSON property accessReviews



8529
8530
8531
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 8529

def access_reviews
  @access_reviews
end

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

Corresponds to the JSON property bindings



8534
8535
8536
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 8534

def bindings
  @bindings
end

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

Corresponds to the JSON property nodePools



8539
8540
8541
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 8539

def node_pools
  @node_pools
end

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

Corresponds to the JSON property nodes



8544
8545
8546
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 8544

def nodes
  @nodes
end

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

Corresponds to the JSON property objects



8549
8550
8551
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 8549

def objects
  @objects
end

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

Corresponds to the JSON property pods



8554
8555
8556
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 8554

def pods
  @pods
end

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

Corresponds to the JSON property roles



8559
8560
8561
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 8559

def roles
  @roles
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8566
8567
8568
8569
8570
8571
8572
8573
8574
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 8566

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