blob: 8f0d86e7233dde31508ebd5a0b6b021f7dcaf5ee [file] [log] [blame]
Takashi Matsuo06694102015-09-11 13:55:40 -07001<html><body>
2<style>
3
4body, h1, h2, h3, div, span, p, pre, a {
5 margin: 0;
6 padding: 0;
7 border: 0;
8 font-weight: inherit;
9 font-style: inherit;
10 font-size: 100%;
11 font-family: inherit;
12 vertical-align: baseline;
13}
14
15body {
16 font-size: 13px;
17 padding: 1em;
18}
19
20h1 {
21 font-size: 26px;
22 margin-bottom: 1em;
23}
24
25h2 {
26 font-size: 24px;
27 margin-bottom: 1em;
28}
29
30h3 {
31 font-size: 20px;
32 margin-bottom: 1em;
33 margin-top: 1em;
34}
35
36pre, code {
37 line-height: 1.5;
38 font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39}
40
41pre {
42 margin-top: 0.5em;
43}
44
45h1, h2, h3, p {
46 font-family: Arial, sans serif;
47}
48
49h1, h2, h3 {
50 border-bottom: solid #CCC 1px;
51}
52
53.toc_element {
54 margin-top: 0.5em;
55}
56
57.firstline {
58 margin-left: 2 em;
59}
60
61.method {
62 margin-top: 1em;
63 border: solid 1px #CCC;
64 padding: 1em;
65 background: #EEE;
66}
67
68.details {
69 font-weight: bold;
70 font-size: 14px;
71}
72
73</style>
74
75<h1><a href="proximitybeacon_v1beta1.html">Google Proximity Beacon API</a> . <a href="proximitybeacon_v1beta1.namespaces.html">namespaces</a></h1>
76<h2>Instance Methods</h2>
77<p class="toc_element">
Jon Wayne Parrott0a471d32016-05-19 10:54:38 -070078 <code><a href="#list">list(projectId=None, x__xgafv=None)</a></code></p>
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -040079<p class="firstline">Lists all attachment namespaces owned by your Google Developers Console</p>
Jon Wayne Parrott0a471d32016-05-19 10:54:38 -070080<p class="toc_element">
Thomas Coffee2f245372017-03-27 10:39:26 -070081 <code><a href="#update">update(namespaceName, body, projectId=None, x__xgafv=None)</a></code></p>
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -040082<p class="firstline">Updates the information about the specified namespace. Only the namespace</p>
Takashi Matsuo06694102015-09-11 13:55:40 -070083<h3>Method Details</h3>
84<div class="method">
Jon Wayne Parrott0a471d32016-05-19 10:54:38 -070085 <code class="details" id="list">list(projectId=None, x__xgafv=None)</code>
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -040086 <pre>Lists all attachment namespaces owned by your Google Developers Console
87project. Attachment data associated with a beacon must include a
88namespaced type, and the namespace must be owned by your project.
89
90Authenticate using an [OAuth access token](https://developers.google.com/identity/protocols/OAuth2)
91from a signed-in user with **viewer**, **Is owner** or **Can edit**
92permissions in the Google Developers Console project.
Takashi Matsuo06694102015-09-11 13:55:40 -070093
94Args:
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -040095 projectId: string, The project id to list namespaces under.
96Optional.
Takashi Matsuo06694102015-09-11 13:55:40 -070097 x__xgafv: string, V1 error format.
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -040098 Allowed values
99 1 - v1 error format
100 2 - v2 error format
Takashi Matsuo06694102015-09-11 13:55:40 -0700101
102Returns:
103 An object of the form:
104
105 { # Response to ListNamespacesRequest that contains all the project's namespaces.
106 "namespaces": [ # The attachments that corresponded to the request params.
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400107 { # An attachment namespace defines read and write access for all the attachments
108 # created under it. Each namespace is globally unique, and owned by one
109 # project which is the only project that can create attachments under it.
Thomas Coffee2f245372017-03-27 10:39:26 -0700110 "servingVisibility": "A String", # Specifies what clients may receive attachments under this namespace
111 # via `beaconinfo.getforobserved`.
Sai Cheemalapati4ba8c232017-06-06 18:46:08 -0400112 "namespaceName": "A String", # Resource name of this namespace. Namespaces names have the format:
113 # <code>namespaces/<var>namespace</var></code>.
Takashi Matsuo06694102015-09-11 13:55:40 -0700114 },
115 ],
116 }</pre>
117</div>
118
Jon Wayne Parrott0a471d32016-05-19 10:54:38 -0700119<div class="method">
Thomas Coffee2f245372017-03-27 10:39:26 -0700120 <code class="details" id="update">update(namespaceName, body, projectId=None, x__xgafv=None)</code>
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400121 <pre>Updates the information about the specified namespace. Only the namespace
122visibility can be updated.
Jon Wayne Parrott0a471d32016-05-19 10:54:38 -0700123
124Args:
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400125 namespaceName: string, Resource name of this namespace. Namespaces names have the format:
126<code>namespaces/<var>namespace</var></code>. (required)
Jon Wayne Parrott0a471d32016-05-19 10:54:38 -0700127 body: object, The request body. (required)
128 The object takes the form of:
129
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400130{ # An attachment namespace defines read and write access for all the attachments
131 # created under it. Each namespace is globally unique, and owned by one
132 # project which is the only project that can create attachments under it.
Thomas Coffee2f245372017-03-27 10:39:26 -0700133 "servingVisibility": "A String", # Specifies what clients may receive attachments under this namespace
134 # via `beaconinfo.getforobserved`.
Sai Cheemalapati4ba8c232017-06-06 18:46:08 -0400135 "namespaceName": "A String", # Resource name of this namespace. Namespaces names have the format:
136 # <code>namespaces/<var>namespace</var></code>.
Jon Wayne Parrott0a471d32016-05-19 10:54:38 -0700137}
138
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400139 projectId: string, The project id of the namespace to update. If the project id is not
140specified then the project making the request is used. The project id
141must match the project that owns the beacon.
142Optional.
Jon Wayne Parrott0a471d32016-05-19 10:54:38 -0700143 x__xgafv: string, V1 error format.
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400144 Allowed values
145 1 - v1 error format
146 2 - v2 error format
Jon Wayne Parrott0a471d32016-05-19 10:54:38 -0700147
148Returns:
149 An object of the form:
150
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400151 { # An attachment namespace defines read and write access for all the attachments
152 # created under it. Each namespace is globally unique, and owned by one
153 # project which is the only project that can create attachments under it.
Thomas Coffee2f245372017-03-27 10:39:26 -0700154 "servingVisibility": "A String", # Specifies what clients may receive attachments under this namespace
155 # via `beaconinfo.getforobserved`.
Sai Cheemalapati4ba8c232017-06-06 18:46:08 -0400156 "namespaceName": "A String", # Resource name of this namespace. Namespaces names have the format:
157 # <code>namespaces/<var>namespace</var></code>.
Jon Wayne Parrott0a471d32016-05-19 10:54:38 -0700158 }</pre>
159</div>
160
Takashi Matsuo06694102015-09-11 13:55:40 -0700161</body></html>