PluginProbe ʕ •ᴥ•ʔ
ShareThis Dashboard for Google Analytics / trunk
ShareThis Dashboard for Google Analytics vtrunk
3.3.2 trunk 1.0.7 2.0.0 2.0.1 2.0.2 2.0.3 2.0.4 2.0.5 2.1 2.1.2 2.1.3 2.1.4 2.1.5 2.2.5 2.3.5 2.3.6 2.3.7 2.3.8 2.4.0 2.4.1 2.5.0 2.5.1 2.5.2 2.5.3 2.5.4 2.5.5 3.0.0 3.1.0 3.1.1 3.1.2 3.1.3 3.1.4 3.1.5 3.1.6 3.1.7 3.2.0 3.2.1 3.2.2 3.2.3 3.2.4 3.3.0 3.3.1
googleanalytics / lib / analytics-admin / vendor / google / common-protos / src / Cloud / Location / GetLocationRequest.php
googleanalytics / lib / analytics-admin / vendor / google / common-protos / src / Cloud / Location Last commit date
GetLocationRequest.php 3 years ago ListLocationsRequest.php 3 years ago ListLocationsResponse.php 3 years ago Location.php 3 years ago
GetLocationRequest.php
68 lines
1 <?php
2 # Generated by the protocol buffer compiler. DO NOT EDIT!
3 # source: google/cloud/location/locations.proto
4
5 namespace Google\Cloud\Location;
6
7 use Google\Protobuf\Internal\GPBType;
8 use Google\Protobuf\Internal\RepeatedField;
9 use Google\Protobuf\Internal\GPBUtil;
10
11 /**
12 * The request message for [Locations.GetLocation][google.cloud.location.Locations.GetLocation].
13 *
14 * Generated from protobuf message <code>google.cloud.location.GetLocationRequest</code>
15 */
16 class GetLocationRequest extends \Google\Protobuf\Internal\Message
17 {
18 /**
19 * Resource name for the location.
20 *
21 * Generated from protobuf field <code>string name = 1;</code>
22 */
23 protected $name = '';
24
25 /**
26 * Constructor.
27 *
28 * @param array $data {
29 * Optional. Data for populating the Message object.
30 *
31 * @type string $name
32 * Resource name for the location.
33 * }
34 */
35 public function __construct($data = NULL) {
36 \GPBMetadata\Google\Cloud\Location\Locations::initOnce();
37 parent::__construct($data);
38 }
39
40 /**
41 * Resource name for the location.
42 *
43 * Generated from protobuf field <code>string name = 1;</code>
44 * @return string
45 */
46 public function getName()
47 {
48 return $this->name;
49 }
50
51 /**
52 * Resource name for the location.
53 *
54 * Generated from protobuf field <code>string name = 1;</code>
55 * @param string $var
56 * @return $this
57 */
58 public function setName($var)
59 {
60 GPBUtil::checkString($var, True);
61 $this->name = $var;
62
63 return $this;
64 }
65
66 }
67
68