Class: Google::Cloud::AppEngine::V1::UpdateServiceRequest
- Inherits:
-
Object
- Object
- Google::Cloud::AppEngine::V1::UpdateServiceRequest
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/appengine/v1/appengine.rb
Overview
Request message for Services.UpdateService
.
Instance Attribute Summary collapse
-
#migrate_traffic ⇒ ::Boolean
Set to
true
to gradually shift traffic to one or more versions that you specify. -
#name ⇒ ::String
Name of the resource to update.
-
#service ⇒ ::Google::Cloud::AppEngine::V1::Service
A Service resource containing the updated service.
-
#update_mask ⇒ ::Google::Protobuf::FieldMask
Required.
Instance Attribute Details
#migrate_traffic ⇒ ::Boolean
Returns Set to true
to gradually shift traffic to one or more versions that you
specify. By default, traffic is shifted immediately.
For gradual traffic migration, the target versions
must be located within instances that are configured for both
warmup requests
and
automatic scaling.
You must specify the
shardBy
field in the Service resource. Gradual traffic migration is not
supported in the App Engine flexible environment. For examples, see
Migrating and Splitting Traffic.
127 128 129 130 |
# File 'proto_docs/google/appengine/v1/appengine.rb', line 127 class UpdateServiceRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#name ⇒ ::String
Returns Name of the resource to update. Example: apps/myapp/services/default
.
127 128 129 130 |
# File 'proto_docs/google/appengine/v1/appengine.rb', line 127 class UpdateServiceRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#service ⇒ ::Google::Cloud::AppEngine::V1::Service
Returns A Service resource containing the updated service. Only fields set in the field mask will be updated.
127 128 129 130 |
# File 'proto_docs/google/appengine/v1/appengine.rb', line 127 class UpdateServiceRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#update_mask ⇒ ::Google::Protobuf::FieldMask
Returns Required. Standard field mask for the set of fields to be updated.
127 128 129 130 |
# File 'proto_docs/google/appengine/v1/appengine.rb', line 127 class UpdateServiceRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |