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.



1201
1202
1203
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 1201

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)


1182
1183
1184
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 1182

def deployment
  @deployment
end

#http_routeString

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

Returns:

  • (String)


1187
1188
1189
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 1187

def http_route
  @http_route
end

#route_update_wait_timeString

Optional. The time to wait for route updates to propagate. The maximum configurable time is 3 hours, in seconds format. If unspecified, there is no wait time. Corresponds to the JSON property routeUpdateWaitTime

Returns:

  • (String)


1194
1195
1196
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 1194

def route_update_wait_time
  @route_update_wait_time
end

#serviceString

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

Returns:

  • (String)


1199
1200
1201
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 1199

def service
  @service
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1206
1207
1208
1209
1210
1211
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 1206

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