Class: Google::Apis::ClouddeployV1::GatewayServiceMesh
- Inherits:
-
Object
- Object
- Google::Apis::ClouddeployV1::GatewayServiceMesh
- 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
-
#deployment ⇒ String
Required.
-
#http_route ⇒ String
Required.
-
#route_update_wait_time ⇒ String
Optional.
-
#service ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GatewayServiceMesh
constructor
A new instance of GatewayServiceMesh.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GatewayServiceMesh
Returns a new instance of GatewayServiceMesh.
1297 1298 1299 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 1297 def initialize(**args) update!(**args) end |
Instance Attribute Details
#deployment ⇒ String
Required. Name of the Kubernetes Deployment whose traffic is managed by the
specified HTTPRoute and Service.
Corresponds to the JSON property deployment
1278 1279 1280 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 1278 def deployment @deployment end |
#http_route ⇒ String
Required. Name of the Gateway API HTTPRoute.
Corresponds to the JSON property httpRoute
1283 1284 1285 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 1283 def http_route @http_route end |
#route_update_wait_time ⇒ String
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
1290 1291 1292 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 1290 def route_update_wait_time @route_update_wait_time end |
#service ⇒ String
Required. Name of the Kubernetes Service.
Corresponds to the JSON property service
1295 1296 1297 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 1295 def service @service end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1302 1303 1304 1305 1306 1307 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 1302 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 |