Class: Google::Apis::ClouddeployV1::GatewayServiceMesh

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 Gateway API service mesh configuration.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GatewayServiceMesh

Returns a new instance of GatewayServiceMesh.



1111
1112
1113
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 1111

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

Instance Attribute Details

#deploymentString

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

Returns:

  • (String)


1099
1100
1101
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 1099

def deployment
  @deployment
end

#http_routeString

Required. Name of the Gateway API HTTPRoute. Corresponds to the JSON property httpRoute

Returns:

  • (String)


1104
1105
1106
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 1104

def http_route
  @http_route
end

#serviceString

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

Returns:

  • (String)


1109
1110
1111
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 1109

def service
  @service
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1116
1117
1118
1119
1120
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 1116

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