Reference documentation and code samples for the Cloud Run V2 API class Google::Cloud::Run::V2::UpdateWorkerPoolRequest.
Request message for updating a worker pool.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#allow_missing
def allow_missing() -> ::Boolean
- (::Boolean) — Optional. If set to true, and if the WorkerPool does not exist, it will create a new one. The caller must have 'run.workerpools.create' permissions if this is set to true and the WorkerPool does not exist.
#allow_missing=
def allow_missing=(value) -> ::Boolean
- value (::Boolean) — Optional. If set to true, and if the WorkerPool does not exist, it will create a new one. The caller must have 'run.workerpools.create' permissions if this is set to true and the WorkerPool does not exist.
- (::Boolean) — Optional. If set to true, and if the WorkerPool does not exist, it will create a new one. The caller must have 'run.workerpools.create' permissions if this is set to true and the WorkerPool does not exist.
#force_new_revision
def force_new_revision() -> ::Boolean
-
(::Boolean) — 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.
#force_new_revision=
def force_new_revision=(value) -> ::Boolean
-
value (::Boolean) — 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.
-
(::Boolean) — 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.
#update_mask
def update_mask() -> ::Google::Protobuf::FieldMask
- (::Google::Protobuf::FieldMask) — Optional. The list of fields to be updated.
#update_mask=
def update_mask=(value) -> ::Google::Protobuf::FieldMask
- value (::Google::Protobuf::FieldMask) — Optional. The list of fields to be updated.
- (::Google::Protobuf::FieldMask) — Optional. The list of fields to be updated.
#validate_only
def validate_only() -> ::Boolean
- (::Boolean) — Optional. Indicates that the request should be validated and default values populated, without persisting the request or updating any resources.
#validate_only=
def validate_only=(value) -> ::Boolean
- value (::Boolean) — Optional. Indicates that the request should be validated and default values populated, without persisting the request or updating any resources.
- (::Boolean) — Optional. Indicates that the request should be validated and default values populated, without persisting the request or updating any resources.
#worker_pool
def worker_pool() -> ::Google::Cloud::Run::V2::WorkerPool
- (::Google::Cloud::Run::V2::WorkerPool) — Required. The WorkerPool to be updated.
#worker_pool=
def worker_pool=(value) -> ::Google::Cloud::Run::V2::WorkerPool
- value (::Google::Cloud::Run::V2::WorkerPool) — Required. The WorkerPool to be updated.
- (::Google::Cloud::Run::V2::WorkerPool) — Required. The WorkerPool to be updated.