Skip to content

Commit 46f42c8

Browse files
chore(analyticsadmin): update the api
#### analyticsadmin:v1alpha The following keys were deleted: - schemas.GoogleAnalyticsAdminV1alphaAccount.properties.countryCode (Total Keys: 1) - schemas.GoogleAnalyticsAdminV1alphaEnhancedMeasurementSettings.properties.articlesAndBlogsEnabled (Total Keys: 1) - schemas.GoogleAnalyticsAdminV1alphaEnhancedMeasurementSettings.properties.contentViewsEnabled (Total Keys: 1) - schemas.GoogleAnalyticsAdminV1alphaEnhancedMeasurementSettings.properties.dataTaggedElementClicksEnabled (Total Keys: 1) - schemas.GoogleAnalyticsAdminV1alphaEnhancedMeasurementSettings.properties.excludedDomains (Total Keys: 1) - schemas.GoogleAnalyticsAdminV1alphaEnhancedMeasurementSettings.properties.formInteractionsEnabled (Total Keys: 1) - schemas.GoogleAnalyticsAdminV1alphaEnhancedMeasurementSettings.properties.productsAndEcommerceEnabled (Total Keys: 1) - schemas.GoogleAnalyticsAdminV1alphaGoogleAdsLink.properties.parent (Total Keys: 1) The following keys were added: - resources.properties.resources.firebaseLinks.methods.list.parameters.pageSize (Total Keys: 3) - resources.properties.resources.firebaseLinks.methods.list.parameters.pageToken (Total Keys: 2) - schemas.GoogleAnalyticsAdminV1alphaAccount.properties.regionCode (Total Keys: 1) - schemas.GoogleAnalyticsAdminV1alphaEnhancedMeasurementSettings.properties.pageLoadsEnabled (Total Keys: 1) - schemas.GoogleAnalyticsAdminV1alphaEnhancedMeasurementSettings.properties.uriQueryParameter (Total Keys: 1) - schemas.GoogleAnalyticsAdminV1alphaListFirebaseLinksResponse.properties.nextPageToken (Total Keys: 1) The following keys were changed: - resources.accountSummaries.methods.list (Total Keys: 1) - resources.accounts.methods.get (Total Keys: 1) - resources.accounts.methods.getDataSharingSettings (Total Keys: 1) - resources.accounts.methods.list (Total Keys: 1) - resources.accounts.resources.userLinks.methods.audit (Total Keys: 1) - resources.accounts.resources.userLinks.methods.batchGet (Total Keys: 1) - resources.accounts.resources.userLinks.methods.get (Total Keys: 1) - resources.accounts.resources.userLinks.methods.list (Total Keys: 1) - resources.properties.methods.get (Total Keys: 1) - resources.properties.methods.list (Total Keys: 1) - resources.properties.resources.androidAppDataStreams.methods.get (Total Keys: 1) - resources.properties.resources.androidAppDataStreams.methods.list (Total Keys: 1) - resources.properties.resources.firebaseLinks.methods.list (Total Keys: 1) - resources.properties.resources.googleAdsLinks.methods.list (Total Keys: 1) - resources.properties.resources.iosAppDataStreams.methods.get (Total Keys: 1) - resources.properties.resources.iosAppDataStreams.methods.list (Total Keys: 1) - resources.properties.resources.userLinks.methods.audit (Total Keys: 1) - resources.properties.resources.userLinks.methods.batchGet (Total Keys: 1) - resources.properties.resources.userLinks.methods.get (Total Keys: 1) - resources.properties.resources.userLinks.methods.list (Total Keys: 1) - resources.properties.resources.webDataStreams.methods.get (Total Keys: 1) - resources.properties.resources.webDataStreams.methods.getEnhancedMeasurementSettings (Total Keys: 1) - resources.properties.resources.webDataStreams.methods.list (Total Keys: 1)
1 parent 6376171 commit 46f42c8

8 files changed

+2718
-2703
lines changed

docs/dyn/analyticsadmin_v1alpha.accounts.html

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ <h2>Instance Methods</h2>
8787
<p class="firstline">Marks target Account as soft-deleted (ie: "trashed") and returns it. This API does not have a method to restore soft-deleted accounts. However, they can be restored using the Trash Can UI. If the accounts are not restored before the expiration time, the account and all child resources (eg: Properties, GoogleAdsLinks, Streams, UserLinks) will be permanently purged. https://support.google.com/analytics/answer/6154772 Returns an error if the target is not found.</p>
8888
<p class="toc_element">
8989
<code><a href="#get">get(name, x__xgafv=None)</a></code></p>
90-
<p class="firstline">Lookup for a single Account. Throws "Target not found" if no such account found, or if caller does not have permissions to access it.</p>
90+
<p class="firstline">Lookup for a single Account.</p>
9191
<p class="toc_element">
9292
<code><a href="#getDataSharingSettings">getDataSharingSettings(name, x__xgafv=None)</a></code></p>
9393
<p class="firstline">Get data sharing settings on an account. Data sharing settings are singletons.</p>
@@ -129,7 +129,7 @@ <h3>Method Details</h3>
129129

130130
<div class="method">
131131
<code class="details" id="get">get(name, x__xgafv=None)</code>
132-
<pre>Lookup for a single Account. Throws &quot;Target not found&quot; if no such account found, or if caller does not have permissions to access it.
132+
<pre>Lookup for a single Account.
133133

134134
Args:
135135
name: string, Required. The name of the account to lookup. Format: accounts/{account} Example: &quot;accounts/100&quot; (required)
@@ -142,11 +142,11 @@ <h3>Method Details</h3>
142142
An object of the form:
143143

144144
{ # A resource message representing a Google Analytics account.
145-
&quot;countryCode&quot;: &quot;A String&quot;, # Country of business. Must be a non-deprecated code for a UN M.49 region. https: //unicode.org/cldr/charts/latest/supplem // ental/territory_containment_un_m_49.html
146145
&quot;createTime&quot;: &quot;A String&quot;, # Output only. Time when this account was originally created.
147146
&quot;deleted&quot;: True or False, # Output only. Indicates whether this Account is soft-deleted or not. Deleted accounts are excluded from List results unless specifically requested.
148147
&quot;displayName&quot;: &quot;A String&quot;, # Required. Human-readable display name for this account.
149148
&quot;name&quot;: &quot;A String&quot;, # Output only. Resource name of this account. Format: accounts/{account} Example: &quot;accounts/100&quot;
149+
&quot;regionCode&quot;: &quot;A String&quot;, # Country of business. Must be a Unicode CLDR region code.
150150
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. Time when account payload fields were last updated.
151151
}</pre>
152152
</div>
@@ -194,11 +194,11 @@ <h3>Method Details</h3>
194194
{ # Request message for ListAccounts RPC.
195195
&quot;accounts&quot;: [ # Results that were accessible to the caller.
196196
{ # A resource message representing a Google Analytics account.
197-
&quot;countryCode&quot;: &quot;A String&quot;, # Country of business. Must be a non-deprecated code for a UN M.49 region. https: //unicode.org/cldr/charts/latest/supplem // ental/territory_containment_un_m_49.html
198197
&quot;createTime&quot;: &quot;A String&quot;, # Output only. Time when this account was originally created.
199198
&quot;deleted&quot;: True or False, # Output only. Indicates whether this Account is soft-deleted or not. Deleted accounts are excluded from List results unless specifically requested.
200199
&quot;displayName&quot;: &quot;A String&quot;, # Required. Human-readable display name for this account.
201200
&quot;name&quot;: &quot;A String&quot;, # Output only. Resource name of this account. Format: accounts/{account} Example: &quot;accounts/100&quot;
201+
&quot;regionCode&quot;: &quot;A String&quot;, # Country of business. Must be a Unicode CLDR region code.
202202
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. Time when account payload fields were last updated.
203203
},
204204
],
@@ -230,15 +230,15 @@ <h3>Method Details</h3>
230230
The object takes the form of:
231231

232232
{ # A resource message representing a Google Analytics account.
233-
&quot;countryCode&quot;: &quot;A String&quot;, # Country of business. Must be a non-deprecated code for a UN M.49 region. https: //unicode.org/cldr/charts/latest/supplem // ental/territory_containment_un_m_49.html
234233
&quot;createTime&quot;: &quot;A String&quot;, # Output only. Time when this account was originally created.
235234
&quot;deleted&quot;: True or False, # Output only. Indicates whether this Account is soft-deleted or not. Deleted accounts are excluded from List results unless specifically requested.
236235
&quot;displayName&quot;: &quot;A String&quot;, # Required. Human-readable display name for this account.
237236
&quot;name&quot;: &quot;A String&quot;, # Output only. Resource name of this account. Format: accounts/{account} Example: &quot;accounts/100&quot;
237+
&quot;regionCode&quot;: &quot;A String&quot;, # Country of business. Must be a Unicode CLDR region code.
238238
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. Time when account payload fields were last updated.
239239
}
240240

241-
updateMask: string, The list of fields to be updated. Omitted fields will not be updated.
241+
updateMask: string, Required. The list of fields to be updated. Field names must be in snake case (e.g., &quot;field_to_update&quot;). Omitted fields will not be updated. To replace the entire entity, use one path with the string &quot;*&quot; to match all fields.
242242
x__xgafv: string, V1 error format.
243243
Allowed values
244244
1 - v1 error format
@@ -248,11 +248,11 @@ <h3>Method Details</h3>
248248
An object of the form:
249249

250250
{ # A resource message representing a Google Analytics account.
251-
&quot;countryCode&quot;: &quot;A String&quot;, # Country of business. Must be a non-deprecated code for a UN M.49 region. https: //unicode.org/cldr/charts/latest/supplem // ental/territory_containment_un_m_49.html
252251
&quot;createTime&quot;: &quot;A String&quot;, # Output only. Time when this account was originally created.
253252
&quot;deleted&quot;: True or False, # Output only. Indicates whether this Account is soft-deleted or not. Deleted accounts are excluded from List results unless specifically requested.
254253
&quot;displayName&quot;: &quot;A String&quot;, # Required. Human-readable display name for this account.
255254
&quot;name&quot;: &quot;A String&quot;, # Output only. Resource name of this account. Format: accounts/{account} Example: &quot;accounts/100&quot;
255+
&quot;regionCode&quot;: &quot;A String&quot;, # Country of business. Must be a Unicode CLDR region code.
256256
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. Time when account payload fields were last updated.
257257
}</pre>
258258
</div>
@@ -267,11 +267,11 @@ <h3>Method Details</h3>
267267

268268
{ # Request message for ProvisionAccountTicket RPC.
269269
&quot;account&quot;: { # A resource message representing a Google Analytics account. # The account to create.
270-
&quot;countryCode&quot;: &quot;A String&quot;, # Country of business. Must be a non-deprecated code for a UN M.49 region. https: //unicode.org/cldr/charts/latest/supplem // ental/territory_containment_un_m_49.html
271270
&quot;createTime&quot;: &quot;A String&quot;, # Output only. Time when this account was originally created.
272271
&quot;deleted&quot;: True or False, # Output only. Indicates whether this Account is soft-deleted or not. Deleted accounts are excluded from List results unless specifically requested.
273272
&quot;displayName&quot;: &quot;A String&quot;, # Required. Human-readable display name for this account.
274273
&quot;name&quot;: &quot;A String&quot;, # Output only. Resource name of this account. Format: accounts/{account} Example: &quot;accounts/100&quot;
274+
&quot;regionCode&quot;: &quot;A String&quot;, # Country of business. Must be a Unicode CLDR region code.
275275
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. Time when account payload fields were last updated.
276276
},
277277
&quot;redirectUri&quot;: &quot;A String&quot;, # Redirect URI where the user will be sent after accepting Terms of Service. Must be configured in Developers Console as a Redirect URI

docs/dyn/analyticsadmin_v1alpha.properties.androidAppDataStreams.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -79,13 +79,13 @@ <h2>Instance Methods</h2>
7979
<p class="firstline">Close httplib2 connections.</p>
8080
<p class="toc_element">
8181
<code><a href="#create">create(parent, body=None, x__xgafv=None)</a></code></p>
82-
<p class="firstline">Creates an android app stream with the specified location and attributes.</p>
82+
<p class="firstline">Creates an Android app stream with the specified location and attributes. Note that an Android app stream must be linked to a Firebase app to receive traffic. To create a working app stream, make sure your property is linked to a Firebase project. Then, use the Firebase API to create a Firebase app, which will also create an appropriate data stream in Analytics (may take up to 24 hours).</p>
8383
<p class="toc_element">
8484
<code><a href="#delete">delete(name, x__xgafv=None)</a></code></p>
8585
<p class="firstline">Deletes an android app stream on a property.</p>
8686
<p class="toc_element">
8787
<code><a href="#get">get(name, x__xgafv=None)</a></code></p>
88-
<p class="firstline">Lookup for a single AndroidAppDataStream Throws "Target not found" if no such android app data stream found, or if the caller does not have permissions to access it.</p>
88+
<p class="firstline">Lookup for a single AndroidAppDataStream</p>
8989
<p class="toc_element">
9090
<code><a href="#list">list(parent, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
9191
<p class="firstline">Returns child android app streams under the specified parent property. Android app streams will be excluded if the caller does not have access. Returns an empty list if no relevant android app streams are found.</p>
@@ -103,7 +103,7 @@ <h3>Method Details</h3>
103103

104104
<div class="method">
105105
<code class="details" id="create">create(parent, body=None, x__xgafv=None)</code>
106-
<pre>Creates an android app stream with the specified location and attributes.
106+
<pre>Creates an Android app stream with the specified location and attributes. Note that an Android app stream must be linked to a Firebase app to receive traffic. To create a working app stream, make sure your property is linked to a Firebase project. Then, use the Firebase API to create a Firebase app, which will also create an appropriate data stream in Analytics (may take up to 24 hours).
107107

108108
Args:
109109
parent: string, Required. The parent resource where this android app data stream will be created. Format: properties/123 (required)
@@ -157,7 +157,7 @@ <h3>Method Details</h3>
157157

158158
<div class="method">
159159
<code class="details" id="get">get(name, x__xgafv=None)</code>
160-
<pre>Lookup for a single AndroidAppDataStream Throws &quot;Target not found&quot; if no such android app data stream found, or if the caller does not have permissions to access it.
160+
<pre>Lookup for a single AndroidAppDataStream
161161

162162
Args:
163163
name: string, Required. The name of the android app data stream to lookup. Format: properties/{property_id}/androidAppDataStreams/{stream_id} Example: &quot;properties/123/androidAppDataStreams/456&quot; (required)
@@ -242,7 +242,7 @@ <h3>Method Details</h3>
242242
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. Time when stream payload fields were last updated.
243243
}
244244

245-
updateMask: string, The list of fields to be updated. Omitted fields will not be updated.
245+
updateMask: string, Required. The list of fields to be updated. Field names must be in snake case (e.g., &quot;field_to_update&quot;). Omitted fields will not be updated. To replace the entire entity, use one path with the string &quot;*&quot; to match all fields.
246246
x__xgafv: string, V1 error format.
247247
Allowed values
248248
1 - v1 error format

docs/dyn/analyticsadmin_v1alpha.properties.firebaseLinks.html

Lines changed: 23 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -84,8 +84,11 @@ <h2>Instance Methods</h2>
8484
<code><a href="#delete">delete(name, x__xgafv=None)</a></code></p>
8585
<p class="firstline">Deletes a FirebaseLink on a property</p>
8686
<p class="toc_element">
87-
<code><a href="#list">list(parent, x__xgafv=None)</a></code></p>
87+
<code><a href="#list">list(parent, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
8888
<p class="firstline">Lists FirebaseLinks on a property. Properties can have at most one FirebaseLink.</p>
89+
<p class="toc_element">
90+
<code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
91+
<p class="firstline">Retrieves the next page of results.</p>
8992
<p class="toc_element">
9093
<code><a href="#patch">patch(name, body=None, updateMask=None, x__xgafv=None)</a></code></p>
9194
<p class="firstline">Updates a FirebaseLink on a property</p>
@@ -146,11 +149,13 @@ <h3>Method Details</h3>
146149
</div>
147150

148151
<div class="method">
149-
<code class="details" id="list">list(parent, x__xgafv=None)</code>
152+
<code class="details" id="list">list(parent, pageSize=None, pageToken=None, x__xgafv=None)</code>
150153
<pre>Lists FirebaseLinks on a property. Properties can have at most one FirebaseLink.
151154

152155
Args:
153156
parent: string, Required. Format: properties/{property_id} Example: properties/1234 (required)
157+
pageSize: integer, The maximum number of resources to return. The service may return fewer than this value, even if there are additional pages. If unspecified, at most 50 resources will be returned. The maximum value is 200; (higher values will be coerced to the maximum)
158+
pageToken: string, A page token, received from a previous `ListFirebaseLinks` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListProperties` must match the call that provided the page token.
154159
x__xgafv: string, V1 error format.
155160
Allowed values
156161
1 - v1 error format
@@ -168,9 +173,24 @@ <h3>Method Details</h3>
168173
&quot;project&quot;: &quot;A String&quot;, # Immutable. Firebase project resource name. When creating a FirebaseLink, you may provide this resource name using either a project number or project ID. Once this resource has been created, returned FirebaseLinks will always have a project_name that contains a project number. Format: &#x27;projects/{project number}&#x27; Example: &#x27;projects/1234&#x27;
169174
},
170175
],
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. Currently, Google Analytics supports only one FirebaseLink per property, so this will never be populated.
171177
}</pre>
172178
</div>
173179

180+
<div class="method">
181+
<code class="details" id="list_next">list_next(previous_request, previous_response)</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+
174194
<div class="method">
175195
<code class="details" id="patch">patch(name, body=None, updateMask=None, x__xgafv=None)</code>
176196
<pre>Updates a FirebaseLink on a property
@@ -187,7 +207,7 @@ <h3>Method Details</h3>
187207
&quot;project&quot;: &quot;A String&quot;, # Immutable. Firebase project resource name. When creating a FirebaseLink, you may provide this resource name using either a project number or project ID. Once this resource has been created, returned FirebaseLinks will always have a project_name that contains a project number. Format: &#x27;projects/{project number}&#x27; Example: &#x27;projects/1234&#x27;
188208
}
189209

190-
updateMask: string, The list of fields to be updated. Omitted fields will not be updated.
210+
updateMask: string, Required. The list of fields to be updated. Field names must be in snake case (e.g., &quot;field_to_update&quot;). Omitted fields will not be updated. To replace the entire entity, use one path with the string &quot;*&quot; to match all fields.
191211
x__xgafv: string, V1 error format.
192212
Allowed values
193213
1 - v1 error format

docs/dyn/analyticsadmin_v1alpha.properties.googleAdsLinks.html

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,6 @@ <h3>Method Details</h3>
114114
&quot;customerId&quot;: &quot;A String&quot;, # Immutable. Google Ads customer ID.
115115
&quot;emailAddress&quot;: &quot;A String&quot;, # Output only. Email address of the user that created the link. An empty string will be returned if the email address can&#x27;t be retrieved.
116116
&quot;name&quot;: &quot;A String&quot;, # Output only. Format: properties/{propertyId}/googleAdsLinks/{googleAdsLinkId} Note: googleAdsLinkId is not the Google Ads customer ID.
117-
&quot;parent&quot;: &quot;A String&quot;, # Immutable. Format: properties/{propertyId}
118117
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. Time when this link was last updated.
119118
}
120119

@@ -133,7 +132,6 @@ <h3>Method Details</h3>
133132
&quot;customerId&quot;: &quot;A String&quot;, # Immutable. Google Ads customer ID.
134133
&quot;emailAddress&quot;: &quot;A String&quot;, # Output only. Email address of the user that created the link. An empty string will be returned if the email address can&#x27;t be retrieved.
135134
&quot;name&quot;: &quot;A String&quot;, # Output only. Format: properties/{propertyId}/googleAdsLinks/{googleAdsLinkId} Note: googleAdsLinkId is not the Google Ads customer ID.
136-
&quot;parent&quot;: &quot;A String&quot;, # Immutable. Format: properties/{propertyId}
137135
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. Time when this link was last updated.
138136
}</pre>
139137
</div>
@@ -181,7 +179,6 @@ <h3>Method Details</h3>
181179
&quot;customerId&quot;: &quot;A String&quot;, # Immutable. Google Ads customer ID.
182180
&quot;emailAddress&quot;: &quot;A String&quot;, # Output only. Email address of the user that created the link. An empty string will be returned if the email address can&#x27;t be retrieved.
183181
&quot;name&quot;: &quot;A String&quot;, # Output only. Format: properties/{propertyId}/googleAdsLinks/{googleAdsLinkId} Note: googleAdsLinkId is not the Google Ads customer ID.
184-
&quot;parent&quot;: &quot;A String&quot;, # Immutable. Format: properties/{propertyId}
185182
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. Time when this link was last updated.
186183
},
187184
],
@@ -219,11 +216,10 @@ <h3>Method Details</h3>
219216
&quot;customerId&quot;: &quot;A String&quot;, # Immutable. Google Ads customer ID.
220217
&quot;emailAddress&quot;: &quot;A String&quot;, # Output only. Email address of the user that created the link. An empty string will be returned if the email address can&#x27;t be retrieved.
221218
&quot;name&quot;: &quot;A String&quot;, # Output only. Format: properties/{propertyId}/googleAdsLinks/{googleAdsLinkId} Note: googleAdsLinkId is not the Google Ads customer ID.
222-
&quot;parent&quot;: &quot;A String&quot;, # Immutable. Format: properties/{propertyId}
223219
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. Time when this link was last updated.
224220
}
225221

226-
updateMask: string, The list of fields to be updated. Omitted fields will not be updated.
222+
updateMask: string, Required. The list of fields to be updated. Field names must be in snake case (e.g., &quot;field_to_update&quot;). Omitted fields will not be updated. To replace the entire entity, use one path with the string &quot;*&quot; to match all fields.
227223
x__xgafv: string, V1 error format.
228224
Allowed values
229225
1 - v1 error format
@@ -239,7 +235,6 @@ <h3>Method Details</h3>
239235
&quot;customerId&quot;: &quot;A String&quot;, # Immutable. Google Ads customer ID.
240236
&quot;emailAddress&quot;: &quot;A String&quot;, # Output only. Email address of the user that created the link. An empty string will be returned if the email address can&#x27;t be retrieved.
241237
&quot;name&quot;: &quot;A String&quot;, # Output only. Format: properties/{propertyId}/googleAdsLinks/{googleAdsLinkId} Note: googleAdsLinkId is not the Google Ads customer ID.
242-
&quot;parent&quot;: &quot;A String&quot;, # Immutable. Format: properties/{propertyId}
243238
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. Time when this link was last updated.
244239
}</pre>
245240
</div>

0 commit comments

Comments
 (0)