Class UpdateServiceRequest (0.16.3)

UpdateServiceRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Request message for updating a service.

Attributes

Name Description
update_mask google.protobuf.field_mask_pb2.FieldMask
Optional. The list of fields to be updated.
service google.cloud.run_v2.types.Service
Required. The Service to be updated.
validate_only bool
Indicates that the request should be validated and default values populated, without persisting the request or updating any resources.
allow_missing bool
Optional. If set to true, and if the Service does not exist, it will create a new one. The caller must have 'run.services.create' permissions if this is set to true and the Service does not exist.
force_new_revision bool
Optional. If set to true, a new revision will be created from the template even if the system doesn't detect any changes from the previously deployed revision. This may be useful for cases where the underlying resources need to be recreated or reinitialized. For example if the image is specified by label, but the underlying image digest has changed) or if the container performs deployment initialization work that needs to be performed again.