PluginProbe
Media Cloud Sync / 1.4.1
Media Cloud Sync v1.4.1
1.4.2 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 All 36 releases
media-cloud-sync / includes / sdk / google / google / longrunning / src / LongRunning / DeleteOperationRequest.php

DeleteOperationRequest.php in Media Cloud Sync 1.4.1, at includes/sdk/google/google/longrunning/src/LongRunning/DeleteOperationRequest.php

74 lines 2.0 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 # Generated by the protocol buffer compiler. DO NOT EDIT!
4 # source: google/longrunning/operations.proto
5 namespace Dudlewebs\WPMCS\GCP\Google\LongRunning;
6
7 use Dudlewebs\WPMCS\GCP\Google\Protobuf\Internal\GPBType;
8 use Dudlewebs\WPMCS\GCP\Google\Protobuf\Internal\GPBUtil;
9 use Dudlewebs\WPMCS\GCP\Google\Protobuf\RepeatedField;
10 /**
11 * The request message for
12 * [Operations.DeleteOperation][google.longrunning.Operations.DeleteOperation].
13 *
14 * Generated from protobuf message <code>google.longrunning.DeleteOperationRequest</code>
15 */
16 class DeleteOperationRequest extends \Dudlewebs\WPMCS\GCP\Google\Protobuf\Internal\Message
17 {
18 /**
19 * The name of the operation resource to be deleted.
20 *
21 * Generated from protobuf field <code>string name = 1;</code>
22 */
23 private $name = '';
24 /**
25 * @param string $name The name of the operation resource to be deleted.
26 *
27 * @return \Google\LongRunning\DeleteOperationRequest
28 *
29 * @experimental
30 */
31 public static function build(string $name) : self
32 {
33 return (new self())->setName($name);
34 }
35 /**
36 * Constructor.
37 *
38 * @param array $data {
39 * Optional. Data for populating the Message object.
40 *
41 * @type string $name
42 * The name of the operation resource to be deleted.
43 * }
44 */
45 public function __construct($data = NULL)
46 {
47 \Dudlewebs\WPMCS\GCP\GPBMetadata\Google\Longrunning\Operations::initOnce();
48 parent::__construct($data);
49 }
50 /**
51 * The name of the operation resource to be deleted.
52 *
53 * Generated from protobuf field <code>string name = 1;</code>
54 * @return string
55 */
56 public function getName()
57 {
58 return $this->name;
59 }
60 /**
61 * The name of the operation resource to be deleted.
62 *
63 * Generated from protobuf field <code>string name = 1;</code>
64 * @param string $var
65 * @return $this
66 */
67 public function setName($var)
68 {
69 GPBUtil::checkString($var, True);
70 $this->name = $var;
71 return $this;
72 }
73 }
74