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 / Rpc / ResourceInfo.php
googleanalytics / lib / analytics-admin / vendor / google / common-protos / src / Rpc Last commit date
BadRequest 3 years ago Help 3 years ago PreconditionFailure 3 years ago QuotaFailure 3 years ago BadRequest.php 3 years ago BadRequest_FieldViolation.php 3 years ago Code.php 3 years ago DebugInfo.php 3 years ago ErrorInfo.php 3 years ago Help.php 3 years ago Help_Link.php 3 years ago LocalizedMessage.php 3 years ago PreconditionFailure.php 3 years ago PreconditionFailure_Violation.php 3 years ago QuotaFailure.php 3 years ago QuotaFailure_Violation.php 3 years ago RequestInfo.php 3 years ago ResourceInfo.php 3 years ago RetryInfo.php 3 years ago Status.php 3 years ago
ResourceInfo.php
202 lines
1 <?php
2 # Generated by the protocol buffer compiler. DO NOT EDIT!
3 # source: google/rpc/error_details.proto
4
5 namespace Google\Rpc;
6
7 use Google\Protobuf\Internal\GPBType;
8 use Google\Protobuf\Internal\RepeatedField;
9 use Google\Protobuf\Internal\GPBUtil;
10
11 /**
12 * Describes the resource that is being accessed.
13 *
14 * Generated from protobuf message <code>google.rpc.ResourceInfo</code>
15 */
16 class ResourceInfo extends \Google\Protobuf\Internal\Message
17 {
18 /**
19 * A name for the type of resource being accessed, e.g. "sql table",
20 * "cloud storage bucket", "file", "Google calendar"; or the type URL
21 * of the resource: e.g. "type.googleapis.com/google.pubsub.v1.Topic".
22 *
23 * Generated from protobuf field <code>string resource_type = 1;</code>
24 */
25 protected $resource_type = '';
26 /**
27 * The name of the resource being accessed. For example, a shared calendar
28 * name: "example.com_4fghdhgsrgh&#64;group.calendar.google.com", if the current
29 * error is [google.rpc.Code.PERMISSION_DENIED][google.rpc.Code.PERMISSION_DENIED].
30 *
31 * Generated from protobuf field <code>string resource_name = 2;</code>
32 */
33 protected $resource_name = '';
34 /**
35 * The owner of the resource (optional).
36 * For example, "user:<owner email>" or "project:<Google developer project
37 * id>".
38 *
39 * Generated from protobuf field <code>string owner = 3;</code>
40 */
41 protected $owner = '';
42 /**
43 * Describes what error is encountered when accessing this resource.
44 * For example, updating a cloud project may require the `writer` permission
45 * on the developer console project.
46 *
47 * Generated from protobuf field <code>string description = 4;</code>
48 */
49 protected $description = '';
50
51 /**
52 * Constructor.
53 *
54 * @param array $data {
55 * Optional. Data for populating the Message object.
56 *
57 * @type string $resource_type
58 * A name for the type of resource being accessed, e.g. "sql table",
59 * "cloud storage bucket", "file", "Google calendar"; or the type URL
60 * of the resource: e.g. "type.googleapis.com/google.pubsub.v1.Topic".
61 * @type string $resource_name
62 * The name of the resource being accessed. For example, a shared calendar
63 * name: "example.com_4fghdhgsrgh&#64;group.calendar.google.com", if the current
64 * error is [google.rpc.Code.PERMISSION_DENIED][google.rpc.Code.PERMISSION_DENIED].
65 * @type string $owner
66 * The owner of the resource (optional).
67 * For example, "user:<owner email>" or "project:<Google developer project
68 * id>".
69 * @type string $description
70 * Describes what error is encountered when accessing this resource.
71 * For example, updating a cloud project may require the `writer` permission
72 * on the developer console project.
73 * }
74 */
75 public function __construct($data = NULL) {
76 \GPBMetadata\Google\Rpc\ErrorDetails::initOnce();
77 parent::__construct($data);
78 }
79
80 /**
81 * A name for the type of resource being accessed, e.g. "sql table",
82 * "cloud storage bucket", "file", "Google calendar"; or the type URL
83 * of the resource: e.g. "type.googleapis.com/google.pubsub.v1.Topic".
84 *
85 * Generated from protobuf field <code>string resource_type = 1;</code>
86 * @return string
87 */
88 public function getResourceType()
89 {
90 return $this->resource_type;
91 }
92
93 /**
94 * A name for the type of resource being accessed, e.g. "sql table",
95 * "cloud storage bucket", "file", "Google calendar"; or the type URL
96 * of the resource: e.g. "type.googleapis.com/google.pubsub.v1.Topic".
97 *
98 * Generated from protobuf field <code>string resource_type = 1;</code>
99 * @param string $var
100 * @return $this
101 */
102 public function setResourceType($var)
103 {
104 GPBUtil::checkString($var, True);
105 $this->resource_type = $var;
106
107 return $this;
108 }
109
110 /**
111 * The name of the resource being accessed. For example, a shared calendar
112 * name: "example.com_4fghdhgsrgh&#64;group.calendar.google.com", if the current
113 * error is [google.rpc.Code.PERMISSION_DENIED][google.rpc.Code.PERMISSION_DENIED].
114 *
115 * Generated from protobuf field <code>string resource_name = 2;</code>
116 * @return string
117 */
118 public function getResourceName()
119 {
120 return $this->resource_name;
121 }
122
123 /**
124 * The name of the resource being accessed. For example, a shared calendar
125 * name: "example.com_4fghdhgsrgh&#64;group.calendar.google.com", if the current
126 * error is [google.rpc.Code.PERMISSION_DENIED][google.rpc.Code.PERMISSION_DENIED].
127 *
128 * Generated from protobuf field <code>string resource_name = 2;</code>
129 * @param string $var
130 * @return $this
131 */
132 public function setResourceName($var)
133 {
134 GPBUtil::checkString($var, True);
135 $this->resource_name = $var;
136
137 return $this;
138 }
139
140 /**
141 * The owner of the resource (optional).
142 * For example, "user:<owner email>" or "project:<Google developer project
143 * id>".
144 *
145 * Generated from protobuf field <code>string owner = 3;</code>
146 * @return string
147 */
148 public function getOwner()
149 {
150 return $this->owner;
151 }
152
153 /**
154 * The owner of the resource (optional).
155 * For example, "user:<owner email>" or "project:<Google developer project
156 * id>".
157 *
158 * Generated from protobuf field <code>string owner = 3;</code>
159 * @param string $var
160 * @return $this
161 */
162 public function setOwner($var)
163 {
164 GPBUtil::checkString($var, True);
165 $this->owner = $var;
166
167 return $this;
168 }
169
170 /**
171 * Describes what error is encountered when accessing this resource.
172 * For example, updating a cloud project may require the `writer` permission
173 * on the developer console project.
174 *
175 * Generated from protobuf field <code>string description = 4;</code>
176 * @return string
177 */
178 public function getDescription()
179 {
180 return $this->description;
181 }
182
183 /**
184 * Describes what error is encountered when accessing this resource.
185 * For example, updating a cloud project may require the `writer` permission
186 * on the developer console project.
187 *
188 * Generated from protobuf field <code>string description = 4;</code>
189 * @param string $var
190 * @return $this
191 */
192 public function setDescription($var)
193 {
194 GPBUtil::checkString($var, True);
195 $this->description = $var;
196
197 return $this;
198 }
199
200 }
201
202