Class: Google::Apis::ClouddeployV1::KubernetesConfig

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

Overview

KubernetesConfig contains the Kubernetes runtime configuration.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ KubernetesConfig

Returns a new instance of KubernetesConfig.



1425
1426
1427
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 1425

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

Instance Attribute Details

#gateway_service_meshGoogle::Apis::ClouddeployV1::GatewayServiceMesh

Information about the Kubernetes Gateway API service mesh configuration. Corresponds to the JSON property gatewayServiceMesh



1418
1419
1420
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 1418

def gateway_service_mesh
  @gateway_service_mesh
end

#service_networkingGoogle::Apis::ClouddeployV1::ServiceNetworking

Information about the Kubernetes Service networking configuration. Corresponds to the JSON property serviceNetworking



1423
1424
1425
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 1423

def service_networking
  @service_networking
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1430
1431
1432
1433
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 1430

def update!(**args)
  @gateway_service_mesh = args[:gateway_service_mesh] if args.key?(:gateway_service_mesh)
  @service_networking = args[:service_networking] if args.key?(:service_networking)
end