- 0.64.0 (latest)
- 0.63.0
- 0.62.0
- 0.61.0
- 0.60.0
- 0.59.0
- 0.58.0
- 0.57.0
- 0.56.0
- 0.55.0
- 0.54.0
- 0.53.0
- 0.52.0
- 0.51.0
- 0.50.0
- 0.49.0
- 0.48.0
- 0.47.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.41.0
- 0.40.0
- 0.39.0
- 0.38.0
- 0.37.0
- 0.36.0
- 0.35.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.28.0
- 0.27.0
- 0.26.0
- 0.25.0
- 0.24.0
- 0.23.0
- 0.22.0
- 0.21.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.0
- 0.13.0
- 0.12.0
- 0.11.0
- 0.10.0
- 0.9.1
- 0.8.0
- 0.7.0
- 0.6.0
- 0.5.0
- 0.4.0
- 0.3.0
- 0.2.0
- 0.1.0
Reference documentation and code samples for the Vertex AI V1 API class Google::Longrunning::Operation.
This resource represents a long-running operation that is the result of a network API call.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#done
def done() -> ::Boolean
-
(::Boolean) — If the value is
false
, it means the operation is still in progress. Iftrue
, the operation is completed, and eithererror
orresponse
is available.
#done=
def done=(value) -> ::Boolean
-
value (::Boolean) — If the value is
false
, it means the operation is still in progress. Iftrue
, the operation is completed, and eithererror
orresponse
is available.
-
(::Boolean) — If the value is
false
, it means the operation is still in progress. Iftrue
, the operation is completed, and eithererror
orresponse
is available.
#error
def error() -> ::Google::Rpc::Status
-
(::Google::Rpc::Status) — The error result of the operation in case of failure or cancellation.
Note: The following fields are mutually exclusive:
error
,response
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#error=
def error=(value) -> ::Google::Rpc::Status
-
value (::Google::Rpc::Status) — The error result of the operation in case of failure or cancellation.
Note: The following fields are mutually exclusive:
error
,response
. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Rpc::Status) — The error result of the operation in case of failure or cancellation.
Note: The following fields are mutually exclusive:
error
,response
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#metadata
def metadata() -> ::Google::Protobuf::Any
- (::Google::Protobuf::Any) — Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
#metadata=
def metadata=(value) -> ::Google::Protobuf::Any
- value (::Google::Protobuf::Any) — Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
- (::Google::Protobuf::Any) — Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
#name
def name() -> ::String
-
(::String) — The server-assigned name, which is only unique within the same service that
originally returns it. If you use the default HTTP mapping, the
name
should be a resource name ending withoperations/{unique_id}
.
#name=
def name=(value) -> ::String
-
value (::String) — The server-assigned name, which is only unique within the same service that
originally returns it. If you use the default HTTP mapping, the
name
should be a resource name ending withoperations/{unique_id}
.
-
(::String) — The server-assigned name, which is only unique within the same service that
originally returns it. If you use the default HTTP mapping, the
name
should be a resource name ending withoperations/{unique_id}
.
#response
def response() -> ::Google::Protobuf::Any
-
(::Google::Protobuf::Any) — The normal, successful response of the operation. If the original
method returns no data on success, such as
Delete
, the response isgoogle.protobuf.Empty
. If the original method is standardGet
/Create
/Update
, the response should be the resource. For other methods, the response should have the typeXxxResponse
, whereXxx
is the original method name. For example, if the original method name isTakeSnapshot()
, the inferred response type isTakeSnapshotResponse
.Note: The following fields are mutually exclusive:
response
,error
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#response=
def response=(value) -> ::Google::Protobuf::Any
-
value (::Google::Protobuf::Any) — The normal, successful response of the operation. If the original
method returns no data on success, such as
Delete
, the response isgoogle.protobuf.Empty
. If the original method is standardGet
/Create
/Update
, the response should be the resource. For other methods, the response should have the typeXxxResponse
, whereXxx
is the original method name. For example, if the original method name isTakeSnapshot()
, the inferred response type isTakeSnapshotResponse
.Note: The following fields are mutually exclusive:
response
,error
. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Protobuf::Any) — The normal, successful response of the operation. If the original
method returns no data on success, such as
Delete
, the response isgoogle.protobuf.Empty
. If the original method is standardGet
/Create
/Update
, the response should be the resource. For other methods, the response should have the typeXxxResponse
, whereXxx
is the original method name. For example, if the original method name isTakeSnapshot()
, the inferred response type isTakeSnapshotResponse
.Note: The following fields are mutually exclusive:
response
,error
. If a field in that set is populated, all other fields in the set will automatically be cleared.