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.



2824
2825
2826
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 2824

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



2817
2818
2819
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 2817

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



2822
2823
2824
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 2822

def service_networking
  @service_networking
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2829
2830
2831
2832
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 2829

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