PluginProbe ʕ •ᴥ•ʔ
ShareThis Dashboard for Google Analytics / 3.2.2
ShareThis Dashboard for Google Analytics v3.2.2
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 / Api / Documentation.php
googleanalytics / lib / analytics-admin / vendor / google / common-protos / src / Api Last commit date
BackendRule 3 years ago Billing 3 years ago Distribution 3 years ago Expr 3 years ago LabelDescriptor 3 years ago Logging 3 years ago MetricDescriptor 3 years ago Monitoring 3 years ago Property 3 years ago ResourceDescriptor 3 years ago Advice.php 3 years ago AuthProvider.php 3 years ago AuthRequirement.php 3 years ago Authentication.php 3 years ago AuthenticationRule.php 3 years ago Backend.php 3 years ago BackendRule.php 3 years ago BackendRule_PathTranslation.php 3 years ago Billing.php 3 years ago Billing_BillingDestination.php 3 years ago ChangeType.php 3 years ago ConfigChange.php 3 years ago Context.php 3 years ago ContextRule.php 3 years ago Control.php 3 years ago CustomHttpPattern.php 3 years ago Distribution.php 3 years ago Distribution_BucketOptions.php 3 years ago Distribution_BucketOptions_Explicit.php 3 years ago Distribution_BucketOptions_Exponential.php 3 years ago Distribution_BucketOptions_Linear.php 3 years ago Distribution_Exemplar.php 3 years ago Distribution_Range.php 3 years ago Documentation.php 3 years ago DocumentationRule.php 3 years ago Endpoint.php 3 years ago FieldBehavior.php 3 years ago Http.php 3 years ago HttpBody.php 3 years ago HttpRule.php 3 years ago LabelDescriptor.php 3 years ago LabelDescriptor_ValueType.php 3 years ago LaunchStage.php 3 years ago LogDescriptor.php 3 years ago Logging.php 3 years ago Logging_LoggingDestination.php 3 years ago Metric.php 3 years ago MetricDescriptor.php 3 years ago MetricDescriptor_MetricDescriptorMetadata.php 3 years ago MetricDescriptor_MetricKind.php 3 years ago MetricDescriptor_ValueType.php 3 years ago MetricRule.php 3 years ago MonitoredResource.php 3 years ago MonitoredResourceDescriptor.php 3 years ago MonitoredResourceMetadata.php 3 years ago Monitoring.php 3 years ago Monitoring_MonitoringDestination.php 3 years ago OAuthRequirements.php 3 years ago Page.php 3 years ago ProjectProperties.php 3 years ago Property.php 3 years ago Property_PropertyType.php 3 years ago Quota.php 3 years ago QuotaLimit.php 3 years ago ResourceDescriptor.php 3 years ago ResourceDescriptor_History.php 3 years ago ResourceReference.php 3 years ago RoutingParameter.php 3 years ago RoutingRule.php 3 years ago Service.php 3 years ago SourceInfo.php 3 years ago SystemParameter.php 3 years ago SystemParameterRule.php 3 years ago SystemParameters.php 3 years ago Usage.php 3 years ago UsageRule.php 3 years ago
Documentation.php
309 lines
1 <?php
2 # Generated by the protocol buffer compiler. DO NOT EDIT!
3 # source: google/api/documentation.proto
4
5 namespace Google\Api;
6
7 use Google\Protobuf\Internal\GPBType;
8 use Google\Protobuf\Internal\RepeatedField;
9 use Google\Protobuf\Internal\GPBUtil;
10
11 /**
12 * `Documentation` provides the information for describing a service.
13 * Example:
14 * <pre><code>documentation:
15 * summary: >
16 * The Google Calendar API gives access
17 * to most calendar features.
18 * pages:
19 * - name: Overview
20 * content: &#40;== include google/foo/overview.md ==&#41;
21 * - name: Tutorial
22 * content: &#40;== include google/foo/tutorial.md ==&#41;
23 * subpages;
24 * - name: Java
25 * content: &#40;== include google/foo/tutorial_java.md ==&#41;
26 * rules:
27 * - selector: google.calendar.Calendar.Get
28 * description: >
29 * ...
30 * - selector: google.calendar.Calendar.Put
31 * description: >
32 * ...
33 * </code></pre>
34 * Documentation is provided in markdown syntax. In addition to
35 * standard markdown features, definition lists, tables and fenced
36 * code blocks are supported. Section headers can be provided and are
37 * interpreted relative to the section nesting of the context where
38 * a documentation fragment is embedded.
39 * Documentation from the IDL is merged with documentation defined
40 * via the config at normalization time, where documentation provided
41 * by config rules overrides IDL provided.
42 * A number of constructs specific to the API platform are supported
43 * in documentation text.
44 * In order to reference a proto element, the following
45 * notation can be used:
46 * <pre><code>&#91;fully.qualified.proto.name]&#91;]</code></pre>
47 * To override the display text used for the link, this can be used:
48 * <pre><code>&#91;display text]&#91;fully.qualified.proto.name]</code></pre>
49 * Text can be excluded from doc using the following notation:
50 * <pre><code>&#40;-- internal comment --&#41;</code></pre>
51 * A few directives are available in documentation. Note that
52 * directives must appear on a single line to be properly
53 * identified. The `include` directive includes a markdown file from
54 * an external source:
55 * <pre><code>&#40;== include path/to/file ==&#41;</code></pre>
56 * The `resource_for` directive marks a message to be the resource of
57 * a collection in REST view. If it is not specified, tools attempt
58 * to infer the resource from the operations in a collection:
59 * <pre><code>&#40;== resource_for v1.shelves.books ==&#41;</code></pre>
60 * The directive `suppress_warning` does not directly affect documentation
61 * and is documented together with service config validation.
62 *
63 * Generated from protobuf message <code>google.api.Documentation</code>
64 */
65 class Documentation extends \Google\Protobuf\Internal\Message
66 {
67 /**
68 * A short summary of what the service does. Can only be provided by
69 * plain text.
70 *
71 * Generated from protobuf field <code>string summary = 1;</code>
72 */
73 private $summary = '';
74 /**
75 * The top level pages for the documentation set.
76 *
77 * Generated from protobuf field <code>repeated .google.api.Page pages = 5;</code>
78 */
79 private $pages;
80 /**
81 * A list of documentation rules that apply to individual API elements.
82 * **NOTE:** All service configuration rules follow "last one wins" order.
83 *
84 * Generated from protobuf field <code>repeated .google.api.DocumentationRule rules = 3;</code>
85 */
86 private $rules;
87 /**
88 * The URL to the root of documentation.
89 *
90 * Generated from protobuf field <code>string documentation_root_url = 4;</code>
91 */
92 private $documentation_root_url = '';
93 /**
94 * Declares a single overview page. For example:
95 * <pre><code>documentation:
96 * summary: ...
97 * overview: &#40;== include overview.md ==&#41;
98 * </code></pre>
99 * This is a shortcut for the following declaration (using pages style):
100 * <pre><code>documentation:
101 * summary: ...
102 * pages:
103 * - name: Overview
104 * content: &#40;== include overview.md ==&#41;
105 * </code></pre>
106 * Note: you cannot specify both `overview` field and `pages` field.
107 *
108 * Generated from protobuf field <code>string overview = 2;</code>
109 */
110 private $overview = '';
111
112 /**
113 * Constructor.
114 *
115 * @param array $data {
116 * Optional. Data for populating the Message object.
117 *
118 * @type string $summary
119 * A short summary of what the service does. Can only be provided by
120 * plain text.
121 * @type \Google\Api\Page[]|\Google\Protobuf\Internal\RepeatedField $pages
122 * The top level pages for the documentation set.
123 * @type \Google\Api\DocumentationRule[]|\Google\Protobuf\Internal\RepeatedField $rules
124 * A list of documentation rules that apply to individual API elements.
125 * **NOTE:** All service configuration rules follow "last one wins" order.
126 * @type string $documentation_root_url
127 * The URL to the root of documentation.
128 * @type string $overview
129 * Declares a single overview page. For example:
130 * <pre><code>documentation:
131 * summary: ...
132 * overview: &#40;== include overview.md ==&#41;
133 * </code></pre>
134 * This is a shortcut for the following declaration (using pages style):
135 * <pre><code>documentation:
136 * summary: ...
137 * pages:
138 * - name: Overview
139 * content: &#40;== include overview.md ==&#41;
140 * </code></pre>
141 * Note: you cannot specify both `overview` field and `pages` field.
142 * }
143 */
144 public function __construct($data = NULL) {
145 \GPBMetadata\Google\Api\Documentation::initOnce();
146 parent::__construct($data);
147 }
148
149 /**
150 * A short summary of what the service does. Can only be provided by
151 * plain text.
152 *
153 * Generated from protobuf field <code>string summary = 1;</code>
154 * @return string
155 */
156 public function getSummary()
157 {
158 return $this->summary;
159 }
160
161 /**
162 * A short summary of what the service does. Can only be provided by
163 * plain text.
164 *
165 * Generated from protobuf field <code>string summary = 1;</code>
166 * @param string $var
167 * @return $this
168 */
169 public function setSummary($var)
170 {
171 GPBUtil::checkString($var, True);
172 $this->summary = $var;
173
174 return $this;
175 }
176
177 /**
178 * The top level pages for the documentation set.
179 *
180 * Generated from protobuf field <code>repeated .google.api.Page pages = 5;</code>
181 * @return \Google\Protobuf\Internal\RepeatedField
182 */
183 public function getPages()
184 {
185 return $this->pages;
186 }
187
188 /**
189 * The top level pages for the documentation set.
190 *
191 * Generated from protobuf field <code>repeated .google.api.Page pages = 5;</code>
192 * @param \Google\Api\Page[]|\Google\Protobuf\Internal\RepeatedField $var
193 * @return $this
194 */
195 public function setPages($var)
196 {
197 $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Api\Page::class);
198 $this->pages = $arr;
199
200 return $this;
201 }
202
203 /**
204 * A list of documentation rules that apply to individual API elements.
205 * **NOTE:** All service configuration rules follow "last one wins" order.
206 *
207 * Generated from protobuf field <code>repeated .google.api.DocumentationRule rules = 3;</code>
208 * @return \Google\Protobuf\Internal\RepeatedField
209 */
210 public function getRules()
211 {
212 return $this->rules;
213 }
214
215 /**
216 * A list of documentation rules that apply to individual API elements.
217 * **NOTE:** All service configuration rules follow "last one wins" order.
218 *
219 * Generated from protobuf field <code>repeated .google.api.DocumentationRule rules = 3;</code>
220 * @param \Google\Api\DocumentationRule[]|\Google\Protobuf\Internal\RepeatedField $var
221 * @return $this
222 */
223 public function setRules($var)
224 {
225 $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Api\DocumentationRule::class);
226 $this->rules = $arr;
227
228 return $this;
229 }
230
231 /**
232 * The URL to the root of documentation.
233 *
234 * Generated from protobuf field <code>string documentation_root_url = 4;</code>
235 * @return string
236 */
237 public function getDocumentationRootUrl()
238 {
239 return $this->documentation_root_url;
240 }
241
242 /**
243 * The URL to the root of documentation.
244 *
245 * Generated from protobuf field <code>string documentation_root_url = 4;</code>
246 * @param string $var
247 * @return $this
248 */
249 public function setDocumentationRootUrl($var)
250 {
251 GPBUtil::checkString($var, True);
252 $this->documentation_root_url = $var;
253
254 return $this;
255 }
256
257 /**
258 * Declares a single overview page. For example:
259 * <pre><code>documentation:
260 * summary: ...
261 * overview: &#40;== include overview.md ==&#41;
262 * </code></pre>
263 * This is a shortcut for the following declaration (using pages style):
264 * <pre><code>documentation:
265 * summary: ...
266 * pages:
267 * - name: Overview
268 * content: &#40;== include overview.md ==&#41;
269 * </code></pre>
270 * Note: you cannot specify both `overview` field and `pages` field.
271 *
272 * Generated from protobuf field <code>string overview = 2;</code>
273 * @return string
274 */
275 public function getOverview()
276 {
277 return $this->overview;
278 }
279
280 /**
281 * Declares a single overview page. For example:
282 * <pre><code>documentation:
283 * summary: ...
284 * overview: &#40;== include overview.md ==&#41;
285 * </code></pre>
286 * This is a shortcut for the following declaration (using pages style):
287 * <pre><code>documentation:
288 * summary: ...
289 * pages:
290 * - name: Overview
291 * content: &#40;== include overview.md ==&#41;
292 * </code></pre>
293 * Note: you cannot specify both `overview` field and `pages` field.
294 *
295 * Generated from protobuf field <code>string overview = 2;</code>
296 * @param string $var
297 * @return $this
298 */
299 public function setOverview($var)
300 {
301 GPBUtil::checkString($var, True);
302 $this->overview = $var;
303
304 return $this;
305 }
306
307 }
308
309