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.



1540
1541
1542
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 1540

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



1533
1534
1535
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 1533

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



1538
1539
1540
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 1538

def service_networking
  @service_networking
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1545
1546
1547
1548
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 1545

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