Class: Google::Apis::ClouddeployV1::ServiceNetworking

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

Information about the Kubernetes Service networking configuration.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ServiceNetworking

Returns a new instance of ServiceNetworking.



2743
2744
2745
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 2743

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

Instance Attribute Details

#deploymentString

Required. Name of the Kubernetes Deployment whose traffic is managed by the specified Service. Corresponds to the JSON property deployment

Returns:

  • (String)


2736
2737
2738
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 2736

def deployment
  @deployment
end

#serviceString

Required. Name of the Kubernetes Service. Corresponds to the JSON property service

Returns:

  • (String)


2741
2742
2743
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 2741

def service
  @service
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2748
2749
2750
2751
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 2748

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