Debian Codegraph @

docs/dyn/marketingplatformadmin_v1alpha.organizations.analyticsAccountLinks.html

raw
1 <html><body>
2 <style>
3
4 body, 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
15 body {
16 font-size: 13px;
17 padding: 1em;
18 }
19
20 h1 {
21 font-size: 26px;
22 margin-bottom: 1em;
23 }
24
25 h2 {
26 font-size: 24px;
27 margin-bottom: 1em;
28 }
29
30 h3 {
31 font-size: 20px;
32 margin-bottom: 1em;
33 margin-top: 1em;
34 }
35
36 pre, code {
37 line-height: 1.5;
38 font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39 }
40
41 pre {
42 margin-top: 0.5em;
43 }
44
45 h1, h2, h3, p {
46 font-family: Arial, sans serif;
47 }
48
49 h1, 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="marketingplatformadmin_v1alpha.html">Google Marketing Platform Admin API</a> . <a href="marketingplatformadmin_v1alpha.organizations.html">organizations</a> . <a href="marketingplatformadmin_v1alpha.organizations.analyticsAccountLinks.html">analyticsAccountLinks</a></h1>
76 <h2>Instance Methods</h2>
77 <p class="toc_element">
78 <code><a href="#close">close()</a></code></p>
79 <p class="firstline">Close httplib2 connections.</p>
80 <p class="toc_element">
81 <code><a href="#create">create(parent, body=None, x__xgafv=None)</a></code></p>
82 <p class="firstline">Creates the link between the Analytics account and the Google Marketing Platform organization. User needs to be an org user, and admin on the Analytics account to create the link. If the account is already linked to an organization, user needs to unlink the account from the current organization, then try link again.</p>
83 <p class="toc_element">
84 <code><a href="#delete">delete(name, x__xgafv=None)</a></code></p>
85 <p class="firstline">Deletes the AnalyticsAccountLink, which detaches the Analytics account from the Google Marketing Platform organization. User needs to be an org user, and admin on the Analytics account in order to delete the link.</p>
86 <p class="toc_element">
87 <code><a href="#list">list(parent, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
88 <p class="firstline">Lists the Google Analytics accounts link to the specified Google Marketing Platform organization.</p>
89 <p class="toc_element">
90 <code><a href="#list_next">list_next()</a></code></p>
91 <p class="firstline">Retrieves the next page of results.</p>
92 <p class="toc_element">
93 <code><a href="#setPropertyServiceLevel">setPropertyServiceLevel(analyticsAccountLink, body=None, x__xgafv=None)</a></code></p>
94 <p class="firstline">Updates the service level for an Analytics property.</p>
95 <h3>Method Details</h3>
96 <div class="method">
97 <code class="details" id="close">close()</code>
98 <pre>Close httplib2 connections.</pre>
99 </div>
100
101 <div class="method">
102 <code class="details" id="create">create(parent, body=None, x__xgafv=None)</code>
103 <pre>Creates the link between the Analytics account and the Google Marketing Platform organization. User needs to be an org user, and admin on the Analytics account to create the link. If the account is already linked to an organization, user needs to unlink the account from the current organization, then try link again.
104
105 Args:
106 parent: string, Required. The parent resource where this Analytics account link will be created. Format: organizations/{org_id} (required)
107 body: object, The request body.
108 The object takes the form of:
109
110 { # A resource message representing the link between a Google Analytics account and a Google Marketing Platform organization.
111 &quot;analyticsAccount&quot;: &quot;A String&quot;, # Required. Immutable. The resource name of the AnalyticsAdmin API account. The account ID will be used as the ID of this AnalyticsAccountLink resource, which will become the final component of the resource name. Format: analyticsadmin.googleapis.com/accounts/{account_id}
112 &quot;displayName&quot;: &quot;A String&quot;, # Output only. The human-readable name for the Analytics account.
113 &quot;linkVerificationState&quot;: &quot;A String&quot;, # Output only. The verification state of the link between the Analytics account and the parent organization.
114 &quot;name&quot;: &quot;A String&quot;, # Identifier. Resource name of this AnalyticsAccountLink. Note the resource ID is the same as the ID of the Analtyics account. Format: organizations/{org_id}/analyticsAccountLinks/{analytics_account_link_id} Example: &quot;organizations/xyz/analyticsAccountLinks/1234&quot;
115 }
116
117 x__xgafv: string, V1 error format.
118 Allowed values
119 1 - v1 error format
120 2 - v2 error format
121
122 Returns:
123 An object of the form:
124
125 { # A resource message representing the link between a Google Analytics account and a Google Marketing Platform organization.
126 &quot;analyticsAccount&quot;: &quot;A String&quot;, # Required. Immutable. The resource name of the AnalyticsAdmin API account. The account ID will be used as the ID of this AnalyticsAccountLink resource, which will become the final component of the resource name. Format: analyticsadmin.googleapis.com/accounts/{account_id}
127 &quot;displayName&quot;: &quot;A String&quot;, # Output only. The human-readable name for the Analytics account.
128 &quot;linkVerificationState&quot;: &quot;A String&quot;, # Output only. The verification state of the link between the Analytics account and the parent organization.
129 &quot;name&quot;: &quot;A String&quot;, # Identifier. Resource name of this AnalyticsAccountLink. Note the resource ID is the same as the ID of the Analtyics account. Format: organizations/{org_id}/analyticsAccountLinks/{analytics_account_link_id} Example: &quot;organizations/xyz/analyticsAccountLinks/1234&quot;
130 }</pre>
131 </div>
132
133 <div class="method">
134 <code class="details" id="delete">delete(name, x__xgafv=None)</code>
135 <pre>Deletes the AnalyticsAccountLink, which detaches the Analytics account from the Google Marketing Platform organization. User needs to be an org user, and admin on the Analytics account in order to delete the link.
136
137 Args:
138 name: string, Required. The name of the Analytics account link to delete. Format: organizations/{org_id}/analyticsAccountLinks/{analytics_account_link_id} (required)
139 x__xgafv: string, V1 error format.
140 Allowed values
141 1 - v1 error format
142 2 - v2 error format
143
144 Returns:
145 An object of the form:
146
147 { # A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }
148 }</pre>
149 </div>
150
151 <div class="method">
152 <code class="details" id="list">list(parent, pageSize=None, pageToken=None, x__xgafv=None)</code>
153 <pre>Lists the Google Analytics accounts link to the specified Google Marketing Platform organization.
154
155 Args:
156 parent: string, Required. The parent organization, which owns this collection of Analytics account links. Format: organizations/{org_id} (required)
157 pageSize: integer, Optional. The maximum number of Analytics account links to return in one call. The service may return fewer than this value. If unspecified, at most 50 Analytics account links will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.
158 pageToken: string, Optional. A page token, received from a previous ListAnalyticsAccountLinks call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListAnalyticsAccountLinks` must match the call that provided the page token.
159 x__xgafv: string, V1 error format.
160 Allowed values
161 1 - v1 error format
162 2 - v2 error format
163
164 Returns:
165 An object of the form:
166
167 { # Response message for ListAnalyticsAccountLinks RPC.
168 &quot;analyticsAccountLinks&quot;: [ # Analytics account links in this organization.
169 { # A resource message representing the link between a Google Analytics account and a Google Marketing Platform organization.
170 &quot;analyticsAccount&quot;: &quot;A String&quot;, # Required. Immutable. The resource name of the AnalyticsAdmin API account. The account ID will be used as the ID of this AnalyticsAccountLink resource, which will become the final component of the resource name. Format: analyticsadmin.googleapis.com/accounts/{account_id}
171 &quot;displayName&quot;: &quot;A String&quot;, # Output only. The human-readable name for the Analytics account.
172 &quot;linkVerificationState&quot;: &quot;A String&quot;, # Output only. The verification state of the link between the Analytics account and the parent organization.
173 &quot;name&quot;: &quot;A String&quot;, # Identifier. Resource name of this AnalyticsAccountLink. Note the resource ID is the same as the ID of the Analtyics account. Format: organizations/{org_id}/analyticsAccountLinks/{analytics_account_link_id} Example: &quot;organizations/xyz/analyticsAccountLinks/1234&quot;
174 },
175 ],
176 &quot;nextPageToken&quot;: &quot;A String&quot;, # A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.
177 }</pre>
178 </div>
179
180 <div class="method">
181 <code class="details" id="list_next">list_next()</code>
182 <pre>Retrieves the next page of results.
183
184 Args:
185 previous_request: The request for the previous page. (required)
186 previous_response: The response from the request for the previous page. (required)
187
188 Returns:
189 A request object that you can call &#x27;execute()&#x27; on to request the next
190 page. Returns None if there are no more items in the collection.
191 </pre>
192 </div>
193
194 <div class="method">
195 <code class="details" id="setPropertyServiceLevel">setPropertyServiceLevel(analyticsAccountLink, body=None, x__xgafv=None)</code>
196 <pre>Updates the service level for an Analytics property.
197
198 Args:
199 analyticsAccountLink: string, Required. The parent AnalyticsAccountLink scope where this property is in. Format: organizations/{org_id}/analyticsAccountLinks/{analytics_account_link_id} (required)
200 body: object, The request body.
201 The object takes the form of:
202
203 { # Request message for SetPropertyServiceLevel RPC.
204 &quot;analyticsProperty&quot;: &quot;A String&quot;, # Required. The Analytics property to change the ServiceLevel setting. This field is the name of the Google Analytics Admin API property resource. Format: analyticsadmin.googleapis.com/properties/{property_id}
205 &quot;serviceLevel&quot;: &quot;A String&quot;, # Required. The service level to set for this property.
206 }
207
208 x__xgafv: string, V1 error format.
209 Allowed values
210 1 - v1 error format
211 2 - v2 error format
212
213 Returns:
214 An object of the form:
215
216 { # Response message for SetPropertyServiceLevel RPC.
217 }</pre>
218 </div>
219
220 </body></html>