Service for the globalOrganizationOperations resource.
https://cloud.google.com/compute/docs/reference/rest/v1/globalOrganizationOperations
Equality
Instances of this class created via copy-construction or copy-assignment always compare equal. Instances created with equal std::shared_ptr<*Connection>
objects compare equal. Objects that compare equal share the same underlying resources.
Performance
Creating a new instance of this class is a relatively expensive operation, new objects establish new connections to the service. In contrast, copy-construction, move-construction, and the corresponding assignment operations are relatively efficient as the copies share all underlying resources.
Thread Safety
Concurrent access to different instances of this class, even if they compare equal, is guaranteed to work. Two or more threads operating on the same instance of this class is not guaranteed to work. Since copy-construction and move-construction is a relatively efficient operation, consider using such a copy when using this class from multiple threads.
Constructors
GlobalOrganizationOperationsClient(GlobalOrganizationOperationsClient const &)
Copy and move support
Parameter | |
---|---|
Name | Description |
|
GlobalOrganizationOperationsClient const &
|
GlobalOrganizationOperationsClient(GlobalOrganizationOperationsClient &&)
Copy and move support
Parameter | |
---|---|
Name | Description |
|
GlobalOrganizationOperationsClient &&
|
GlobalOrganizationOperationsClient(std::shared_ptr< GlobalOrganizationOperationsConnection >, Options)
Parameters | |
---|---|
Name | Description |
connection |
std::shared_ptr< GlobalOrganizationOperationsConnection >
|
opts |
Options
|
Operators
operator=(GlobalOrganizationOperationsClient const &)
Copy and move support
Parameter | |
---|---|
Name | Description |
|
GlobalOrganizationOperationsClient const &
|
Returns | |
---|---|
Type | Description |
GlobalOrganizationOperationsClient & |
operator=(GlobalOrganizationOperationsClient &&)
Copy and move support
Parameter | |
---|---|
Name | Description |
|
GlobalOrganizationOperationsClient &&
|
Returns | |
---|---|
Type | Description |
GlobalOrganizationOperationsClient & |
Functions
DeleteOperation(std::string const &, Options)
Deletes the specified Operations resource.
Parameters | |
---|---|
Name | Description |
operation |
std::string const &
Name of the Operations resource to delete, or its unique numeric identifier. |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
Status |
a |
DeleteOperation(google::cloud::cpp::compute::global_organization_operations::v1::DeleteOperationRequest const &, Options)
Deletes the specified Operations resource.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::cpp::compute::global_organization_operations::v1::DeleteOperationRequest const &
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
Status |
a |
GetOperation(std::string const &, Options)
Retrieves the specified Operations resource.
Gets a list of operations by making a list()
request. https://cloud.google.com/compute/docs/reference/rest/v1/globalOrganizationOperations/get
Parameters | |
---|---|
Name | Description |
operation |
std::string const &
Name of the Operations resource to return, or its unique numeric identifier. |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StatusOr< google::cloud::cpp::compute::v1::Operation > |
the result of the RPC. The response message type (google.cloud.cpp.compute.v1.Operation) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
GetOperation(google::cloud::cpp::compute::global_organization_operations::v1::GetOperationRequest const &, Options)
Retrieves the specified Operations resource.
Gets a list of operations by making a list()
request. https://cloud.google.com/compute/docs/reference/rest/v1/globalOrganizationOperations/get
Parameters | |
---|---|
Name | Description |
request |
google::cloud::cpp::compute::global_organization_operations::v1::GetOperationRequest const &
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StatusOr< google::cloud::cpp::compute::v1::Operation > |
the result of the RPC. The response message type (google.cloud.cpp.compute.v1.Operation) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
ListGlobalOrganizationOperations(google::cloud::cpp::compute::global_organization_operations::v1::ListGlobalOrganizationOperationsRequest, Options)
Retrieves a list of Operation resources contained within the specified organization.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::cpp::compute::global_organization_operations::v1::ListGlobalOrganizationOperationsRequest
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StreamRange< google::cloud::cpp::compute::v1::Operation > |
a StreamRange to iterate of the results. See the documentation of this type for details. In brief, this class has |