Class: Google::Apis::SecuritycenterV1beta2::Kubernetes

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) ⇒ Kubernetes

Returns a new instance of Kubernetes.



10061
10062
10063
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 10061

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

Instance Attribute Details

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

Corresponds to the JSON property accessReviews



10029
10030
10031
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 10029

def access_reviews
  @access_reviews
end

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

Corresponds to the JSON property bindings



10034
10035
10036
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 10034

def bindings
  @bindings
end

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

Corresponds to the JSON property nodePools



10039
10040
10041
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 10039

def node_pools
  @node_pools
end

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

Corresponds to the JSON property nodes



10044
10045
10046
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 10044

def nodes
  @nodes
end

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

Corresponds to the JSON property objects



10049
10050
10051
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 10049

def objects
  @objects
end

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

Corresponds to the JSON property pods



10054
10055
10056
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 10054

def pods
  @pods
end

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

Corresponds to the JSON property roles



10059
10060
10061
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 10059

def roles
  @roles
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



10066
10067
10068
10069
10070
10071
10072
10073
10074
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 10066

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