PluginProbe
Media Cloud Sync / 1.4.1
Media Cloud Sync v1.4.1
1.4.1 1.4.0 1.3.12 1.3.11 1.3.10 trunk 1.0.0 1.0.1 1.0.2 1.0.3 1.1.0 1.1.1 1.2.0 1.2.10 1.2.11 1.2.12 1.2.13 1.2.2 1.2.3 1.2.4 1.2.5 1.2.6 1.2.7 1.2.8 1.2.9 All 35 releases
← All changes | includes/sdk/google/google/longrunning/src/LongRunning/OperationsGrpcClient.php +12 -12 1.2.21.4.1 View file →
@@ -15,9 +15,9 @@
15 15 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 16 // See the License for the specific language governing permissions and
17 17 // limitations under the License.
18 18 //
19 -namespace Dudlewebs\WPMCS\Google\LongRunning;
19 +namespace Dudlewebs\WPMCS\GCP\Google\LongRunning;
20 20
21 21 /**
22 22 * Manages long-running operations with an API service.
23 23 *
@@ -28,9 +28,9 @@
28 28 * Google Cloud Pub/Sub API) to receive the response. Any API service that
29 29 * returns long-running operations should implement the `Operations` interface
30 30 * so developers can have a consistent client experience.
31 31 */
32 -class OperationsGrpcClient extends \Dudlewebs\WPMCS\Grpc\BaseStub
32 +class OperationsGrpcClient extends \Dudlewebs\WPMCS\GCP\Grpc\BaseStub
33 33 {
34 34 /**
35 35 * @param string $hostname hostname
36 36 * @param array $opts channel options
@@ -55,11 +55,11 @@
55 55 * @param array $metadata metadata
56 56 * @param array $options call options
57 57 * @return \Grpc\UnaryCall
58 58 */
59 - public function ListOperations(\Dudlewebs\WPMCS\Google\LongRunning\ListOperationsRequest $argument, $metadata = [], $options = [])
59 + public function ListOperations(\Dudlewebs\WPMCS\GCP\Google\LongRunning\ListOperationsRequest $argument, $metadata = [], $options = [])
60 60 {
61 - return $this->_simpleRequest('/google.longrunning.Operations/ListOperations', $argument, ['Dudlewebs\WPMCS\Google\LongRunning\ListOperationsResponse', 'decode'], $metadata, $options);
61 + return $this->_simpleRequest('/google.longrunning.Operations/ListOperations', $argument, ['Dudlewebs\\WPMCS\\GCP\\Google\\LongRunning\\ListOperationsResponse', 'decode'], $metadata, $options);
62 62 }
63 63 /**
64 64 * Gets the latest state of a long-running operation. Clients can use this
65 65 * method to poll the operation result at intervals as recommended by the API
@@ -68,11 +68,11 @@
68 68 * @param array $metadata metadata
69 69 * @param array $options call options
70 70 * @return \Grpc\UnaryCall
71 71 */
72 - public function GetOperation(\Dudlewebs\WPMCS\Google\LongRunning\GetOperationRequest $argument, $metadata = [], $options = [])
72 + public function GetOperation(\Dudlewebs\WPMCS\GCP\Google\LongRunning\GetOperationRequest $argument, $metadata = [], $options = [])
73 73 {
74 - return $this->_simpleRequest('/google.longrunning.Operations/GetOperation', $argument, ['Dudlewebs\WPMCS\Google\LongRunning\Operation', 'decode'], $metadata, $options);
74 + return $this->_simpleRequest('/google.longrunning.Operations/GetOperation', $argument, ['Dudlewebs\\WPMCS\\GCP\\Google\\LongRunning\\Operation', 'decode'], $metadata, $options);
75 75 }
76 76 /**
77 77 * Deletes a long-running operation. This method indicates that the client is
78 78 * no longer interested in the operation result. It does not cancel the
@@ -82,11 +82,11 @@
82 82 * @param array $metadata metadata
83 83 * @param array $options call options
84 84 * @return \Grpc\UnaryCall
85 85 */
86 - public function DeleteOperation(\Dudlewebs\WPMCS\Google\LongRunning\DeleteOperationRequest $argument, $metadata = [], $options = [])
86 + public function DeleteOperation(\Dudlewebs\WPMCS\GCP\Google\LongRunning\DeleteOperationRequest $argument, $metadata = [], $options = [])
87 87 {
88 - return $this->_simpleRequest('/google.longrunning.Operations/DeleteOperation', $argument, ['Dudlewebs\WPMCS\Google\Protobuf\GPBEmpty', 'decode'], $metadata, $options);
88 + return $this->_simpleRequest('/google.longrunning.Operations/DeleteOperation', $argument, ['Dudlewebs\\WPMCS\\GCP\\Google\\Protobuf\\GPBEmpty', 'decode'], $metadata, $options);
89 89 }
90 90 /**
91 91 * Starts asynchronous cancellation on a long-running operation. The server
92 92 * makes a best effort to cancel the operation, but success is not
@@ -102,11 +102,11 @@
102 102 * @param array $metadata metadata
103 103 * @param array $options call options
104 104 * @return \Grpc\UnaryCall
105 105 */
106 - public function CancelOperation(\Dudlewebs\WPMCS\Google\LongRunning\CancelOperationRequest $argument, $metadata = [], $options = [])
106 + public function CancelOperation(\Dudlewebs\WPMCS\GCP\Google\LongRunning\CancelOperationRequest $argument, $metadata = [], $options = [])
107 107 {
108 - return $this->_simpleRequest('/google.longrunning.Operations/CancelOperation', $argument, ['Dudlewebs\WPMCS\Google\Protobuf\GPBEmpty', 'decode'], $metadata, $options);
108 + return $this->_simpleRequest('/google.longrunning.Operations/CancelOperation', $argument, ['Dudlewebs\\WPMCS\\GCP\\Google\\Protobuf\\GPBEmpty', 'decode'], $metadata, $options);
109 109 }
110 110 /**
111 111 * Waits until the specified long-running operation is done or reaches at most
112 112 * a specified timeout, returning the latest state. If the operation is
@@ -121,9 +121,9 @@
121 121 * @param array $metadata metadata
122 122 * @param array $options call options
123 123 * @return \Grpc\UnaryCall
124 124 */
125 - public function WaitOperation(\Dudlewebs\WPMCS\Google\LongRunning\WaitOperationRequest $argument, $metadata = [], $options = [])
125 + public function WaitOperation(\Dudlewebs\WPMCS\GCP\Google\LongRunning\WaitOperationRequest $argument, $metadata = [], $options = [])
126 126 {
127 - return $this->_simpleRequest('/google.longrunning.Operations/WaitOperation', $argument, ['Dudlewebs\WPMCS\Google\LongRunning\Operation', 'decode'], $metadata, $options);
127 + return $this->_simpleRequest('/google.longrunning.Operations/WaitOperation', $argument, ['Dudlewebs\\WPMCS\\GCP\\Google\\LongRunning\\Operation', 'decode'], $metadata, $options);
128 128 }
129 129 }