Class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2Kubernetes

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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudSecuritycenterV2Kubernetes

Returns a new instance of GoogleCloudSecuritycenterV2Kubernetes.



7935
7936
7937
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 7935

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

Instance Attribute Details

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

Corresponds to the JSON property accessReviews



7903
7904
7905
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 7903

def access_reviews
  @access_reviews
end

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

Corresponds to the JSON property bindings



7908
7909
7910
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 7908

def bindings
  @bindings
end

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

Corresponds to the JSON property nodePools



7913
7914
7915
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 7913

def node_pools
  @node_pools
end

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

Corresponds to the JSON property nodes



7918
7919
7920
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 7918

def nodes
  @nodes
end

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

Corresponds to the JSON property objects



7923
7924
7925
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 7923

def objects
  @objects
end

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

Corresponds to the JSON property pods



7928
7929
7930
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 7928

def pods
  @pods
end

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

Corresponds to the JSON property roles



7933
7934
7935
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 7933

def roles
  @roles
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7940
7941
7942
7943
7944
7945
7946
7947
7948
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 7940

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