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.



2814
2815
2816
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 2814

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



2807
2808
2809
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 2807

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



2812
2813
2814
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 2812

def service_networking
  @service_networking
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2819
2820
2821
2822
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 2819

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