Metadata describing an Operation
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#build_id
def build_id() -> ::String
Returns
- (::String) — The Cloud Build ID of the function created or updated by an API call. This field is only populated for Create and Update operations.
#build_id=
def build_id=(value) -> ::String
Parameter
- value (::String) — The Cloud Build ID of the function created or updated by an API call. This field is only populated for Create and Update operations.
Returns
- (::String) — The Cloud Build ID of the function created or updated by an API call. This field is only populated for Create and Update operations.
#build_name
def build_name() -> ::String
Returns
-
(::String) — The Cloud Build Name of the function deployment.
This field is only populated for Create and Update operations.
projects/<project-number>/locations/<region>/builds/<build-id>
.
#build_name=
def build_name=(value) -> ::String
Parameter
-
value (::String) — The Cloud Build Name of the function deployment.
This field is only populated for Create and Update operations.
projects/<project-number>/locations/<region>/builds/<build-id>
.
Returns
-
(::String) — The Cloud Build Name of the function deployment.
This field is only populated for Create and Update operations.
projects/<project-number>/locations/<region>/builds/<build-id>
.
#request
def request() -> ::Google::Protobuf::Any
Returns
- (::Google::Protobuf::Any) — The original request that started the operation.
#request=
def request=(value) -> ::Google::Protobuf::Any
Parameter
- value (::Google::Protobuf::Any) — The original request that started the operation.
Returns
- (::Google::Protobuf::Any) — The original request that started the operation.
#source_token
def source_token() -> ::String
Returns
- (::String) — An identifier for Firebase function sources. Disclaimer: This field is only supported for Firebase function deployments.
#source_token=
def source_token=(value) -> ::String
Parameter
- value (::String) — An identifier for Firebase function sources. Disclaimer: This field is only supported for Firebase function deployments.
Returns
- (::String) — An identifier for Firebase function sources. Disclaimer: This field is only supported for Firebase function deployments.
#target
def target() -> ::String
Returns
-
(::String) — Target of the operation - for example
projects/project-1/locations/region-1/functions/function-1
#target=
def target=(value) -> ::String
Parameter
-
value (::String) — Target of the operation - for example
projects/project-1/locations/region-1/functions/function-1
Returns
-
(::String) — Target of the operation - for example
projects/project-1/locations/region-1/functions/function-1
#type
def type() -> ::Google::Cloud::Functions::V1::OperationType
Returns
- (::Google::Cloud::Functions::V1::OperationType) — Type of operation.
#type=
def type=(value) -> ::Google::Cloud::Functions::V1::OperationType
Parameter
- value (::Google::Cloud::Functions::V1::OperationType) — Type of operation.
Returns
- (::Google::Cloud::Functions::V1::OperationType) — Type of operation.
#update_time
def update_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — The last update timestamp of the operation.
#update_time=
def update_time=(value) -> ::Google::Protobuf::Timestamp
Parameter
- value (::Google::Protobuf::Timestamp) — The last update timestamp of the operation.
Returns
- (::Google::Protobuf::Timestamp) — The last update timestamp of the operation.
#version_id
def version_id() -> ::Integer
Returns
- (::Integer) — Version id of the function created or updated by an API call. This field is only populated for Create and Update operations.
#version_id=
def version_id=(value) -> ::Integer
Parameter
- value (::Integer) — Version id of the function created or updated by an API call. This field is only populated for Create and Update operations.
Returns
- (::Integer) — Version id of the function created or updated by an API call. This field is only populated for Create and Update operations.