Class: Google::Cloud::Run::V2::UpdateWorkerPoolRequest

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/run/v2/worker_pool.rb

Overview

Request message for updating a worker pool.

Instance Attribute Summary collapse

Instance Attribute Details

#allow_missing::Boolean

Returns 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.

Returns:

  • (::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.



75
76
77
78
# File 'proto_docs/google/cloud/run/v2/worker_pool.rb', line 75

class UpdateWorkerPoolRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#force_new_revision::Boolean

Returns 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.

Returns:

  • (::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.



75
76
77
78
# File 'proto_docs/google/cloud/run/v2/worker_pool.rb', line 75

class UpdateWorkerPoolRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#update_mask::Google::Protobuf::FieldMask

Returns Optional. The list of fields to be updated.

Returns:



75
76
77
78
# File 'proto_docs/google/cloud/run/v2/worker_pool.rb', line 75

class UpdateWorkerPoolRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#validate_only::Boolean

Returns Optional. Indicates that the request should be validated and default values populated, without persisting the request or updating any resources.

Returns:

  • (::Boolean)

    Optional. Indicates that the request should be validated and default values populated, without persisting the request or updating any resources.



75
76
77
78
# File 'proto_docs/google/cloud/run/v2/worker_pool.rb', line 75

class UpdateWorkerPoolRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#worker_pool::Google::Cloud::Run::V2::WorkerPool

Returns Required. The WorkerPool to be updated.

Returns:



75
76
77
78
# File 'proto_docs/google/cloud/run/v2/worker_pool.rb', line 75

class UpdateWorkerPoolRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end