Reference documentation and code samples for the App Engine Admin V1 API class Google::Cloud::AppEngine::V1::UpdateServiceRequest.
Request message for Services.UpdateService
.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#migrate_traffic
def migrate_traffic() -> ::Boolean
Returns
-
(::Boolean) — 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 theshardBy
field in the Service resource. Gradual traffic migration is not supported in the App Engine flexible environment. For examples, see Migrating and Splitting Traffic.
#migrate_traffic=
def migrate_traffic=(value) -> ::Boolean
Parameter
-
value (::Boolean) — 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 theshardBy
field in the Service resource. Gradual traffic migration is not supported in the App Engine flexible environment. For examples, see Migrating and Splitting Traffic.
Returns
-
(::Boolean) — 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 theshardBy
field in the Service resource. Gradual traffic migration is not supported in the App Engine flexible environment. For examples, see Migrating and Splitting Traffic.
#name
def name() -> ::String
Returns
-
(::String) — Name of the resource to update. Example:
apps/myapp/services/default
.
#name=
def name=(value) -> ::String
Parameter
-
value (::String) — Name of the resource to update. Example:
apps/myapp/services/default
.
Returns
-
(::String) — Name of the resource to update. Example:
apps/myapp/services/default
.
#service
def service() -> ::Google::Cloud::AppEngine::V1::Service
Returns
- (::Google::Cloud::AppEngine::V1::Service) — A Service resource containing the updated service. Only fields set in the field mask will be updated.
#service=
def service=(value) -> ::Google::Cloud::AppEngine::V1::Service
Parameter
- value (::Google::Cloud::AppEngine::V1::Service) — A Service resource containing the updated service. Only fields set in the field mask will be updated.
Returns
- (::Google::Cloud::AppEngine::V1::Service) — A Service resource containing the updated service. Only fields set in the field mask will be updated.
#update_mask
def update_mask() -> ::Google::Protobuf::FieldMask
Returns
- (::Google::Protobuf::FieldMask) — Required. Standard field mask for the set of fields to be updated.
#update_mask=
def update_mask=(value) -> ::Google::Protobuf::FieldMask
Parameter
- value (::Google::Protobuf::FieldMask) — Required. Standard field mask for the set of fields to be updated.
Returns
- (::Google::Protobuf::FieldMask) — Required. Standard field mask for the set of fields to be updated.