Skip to content

Commit ae5b795

Browse files
feat(analyticsadmin): update the api
#### analyticsadmin:v1alpha The following keys were added: - resources.properties.resources.bigQueryLinks.methods.create (Total Keys: 12) - resources.properties.resources.bigQueryLinks.methods.delete (Total Keys: 11) - resources.properties.resources.bigQueryLinks.methods.patch (Total Keys: 15) - schemas.GoogleAnalyticsAdminV1alphaBigQueryLink.properties.datasetLocation.type (Total Keys: 1)
1 parent 97b5d4d commit ae5b795

File tree

4 files changed

+231
-2
lines changed

4 files changed

+231
-2
lines changed

docs/dyn/analyticsadmin_v1alpha.accounts.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -696,6 +696,7 @@ <h3>Method Details</h3>
696696
&quot;bigqueryLink&quot;: { # A link between a GA4 Property and BigQuery project. # A snapshot of a BigQuery link resource in change history.
697697
&quot;createTime&quot;: &quot;A String&quot;, # Output only. Time when the link was created.
698698
&quot;dailyExportEnabled&quot;: True or False, # If set true, enables daily data export to the linked Google Cloud project.
699+
&quot;datasetLocation&quot;: &quot;A String&quot;, # Required. Immutable. The geographic location where the created BigQuery dataset should reside. See https://cloud.google.com/bigquery/docs/locations for supported locations.
699700
&quot;excludedEvents&quot;: [ # The list of event names that will be excluded from exports.
700701
&quot;A String&quot;,
701702
],
@@ -1178,6 +1179,7 @@ <h3>Method Details</h3>
11781179
&quot;bigqueryLink&quot;: { # A link between a GA4 Property and BigQuery project. # A snapshot of a BigQuery link resource in change history.
11791180
&quot;createTime&quot;: &quot;A String&quot;, # Output only. Time when the link was created.
11801181
&quot;dailyExportEnabled&quot;: True or False, # If set true, enables daily data export to the linked Google Cloud project.
1182+
&quot;datasetLocation&quot;: &quot;A String&quot;, # Required. Immutable. The geographic location where the created BigQuery dataset should reside. See https://cloud.google.com/bigquery/docs/locations for supported locations.
11811183
&quot;excludedEvents&quot;: [ # The list of event names that will be excluded from exports.
11821184
&quot;A String&quot;,
11831185
],

docs/dyn/analyticsadmin_v1alpha.properties.bigQueryLinks.html

Lines changed: 134 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,12 @@ <h2>Instance Methods</h2>
7777
<p class="toc_element">
7878
<code><a href="#close">close()</a></code></p>
7979
<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 a BigQueryLink.</p>
83+
<p class="toc_element">
84+
<code><a href="#delete">delete(name, x__xgafv=None)</a></code></p>
85+
<p class="firstline">Deletes a BigQueryLink on a property.</p>
8086
<p class="toc_element">
8187
<code><a href="#get">get(name, x__xgafv=None)</a></code></p>
8288
<p class="firstline">Lookup for a single BigQuery Link.</p>
@@ -86,12 +92,85 @@ <h2>Instance Methods</h2>
8692
<p class="toc_element">
8793
<code><a href="#list_next">list_next()</a></code></p>
8894
<p class="firstline">Retrieves the next page of results.</p>
95+
<p class="toc_element">
96+
<code><a href="#patch">patch(name, body=None, updateMask=None, x__xgafv=None)</a></code></p>
97+
<p class="firstline">Updates a BigQueryLink.</p>
8998
<h3>Method Details</h3>
9099
<div class="method">
91100
<code class="details" id="close">close()</code>
92101
<pre>Close httplib2 connections.</pre>
93102
</div>
94103

104+
<div class="method">
105+
<code class="details" id="create">create(parent, body=None, x__xgafv=None)</code>
106+
<pre>Creates a BigQueryLink.
107+
108+
Args:
109+
parent: string, Required. Example format: properties/1234 (required)
110+
body: object, The request body.
111+
The object takes the form of:
112+
113+
{ # A link between a GA4 Property and BigQuery project.
114+
&quot;createTime&quot;: &quot;A String&quot;, # Output only. Time when the link was created.
115+
&quot;dailyExportEnabled&quot;: True or False, # If set true, enables daily data export to the linked Google Cloud project.
116+
&quot;datasetLocation&quot;: &quot;A String&quot;, # Required. Immutable. The geographic location where the created BigQuery dataset should reside. See https://cloud.google.com/bigquery/docs/locations for supported locations.
117+
&quot;excludedEvents&quot;: [ # The list of event names that will be excluded from exports.
118+
&quot;A String&quot;,
119+
],
120+
&quot;exportStreams&quot;: [ # The list of streams under the parent property for which data will be exported. Format: properties/{property_id}/dataStreams/{stream_id} Example: [&#x27;properties/1000/dataStreams/2000&#x27;]
121+
&quot;A String&quot;,
122+
],
123+
&quot;freshDailyExportEnabled&quot;: True or False, # If set true, enables fresh daily export to the linked Google Cloud project.
124+
&quot;includeAdvertisingId&quot;: True or False, # If set true, exported data will include advertising identifiers for mobile app streams.
125+
&quot;name&quot;: &quot;A String&quot;, # Output only. Resource name of this BigQuery link. Format: &#x27;properties/{property_id}/bigQueryLinks/{bigquery_link_id}&#x27; Format: &#x27;properties/1234/bigQueryLinks/abc567&#x27;
126+
&quot;project&quot;: &quot;A String&quot;, # Immutable. The linked Google Cloud project. When creating a BigQueryLink, you may provide this resource name using either a project number or project ID. Once this resource has been created, the returned project will always have a project that contains a project number. Format: &#x27;projects/{project number}&#x27; Example: &#x27;projects/1234&#x27;
127+
&quot;streamingExportEnabled&quot;: True or False, # If set true, enables streaming export to the linked Google Cloud project.
128+
}
129+
130+
x__xgafv: string, V1 error format.
131+
Allowed values
132+
1 - v1 error format
133+
2 - v2 error format
134+
135+
Returns:
136+
An object of the form:
137+
138+
{ # A link between a GA4 Property and BigQuery project.
139+
&quot;createTime&quot;: &quot;A String&quot;, # Output only. Time when the link was created.
140+
&quot;dailyExportEnabled&quot;: True or False, # If set true, enables daily data export to the linked Google Cloud project.
141+
&quot;datasetLocation&quot;: &quot;A String&quot;, # Required. Immutable. The geographic location where the created BigQuery dataset should reside. See https://cloud.google.com/bigquery/docs/locations for supported locations.
142+
&quot;excludedEvents&quot;: [ # The list of event names that will be excluded from exports.
143+
&quot;A String&quot;,
144+
],
145+
&quot;exportStreams&quot;: [ # The list of streams under the parent property for which data will be exported. Format: properties/{property_id}/dataStreams/{stream_id} Example: [&#x27;properties/1000/dataStreams/2000&#x27;]
146+
&quot;A String&quot;,
147+
],
148+
&quot;freshDailyExportEnabled&quot;: True or False, # If set true, enables fresh daily export to the linked Google Cloud project.
149+
&quot;includeAdvertisingId&quot;: True or False, # If set true, exported data will include advertising identifiers for mobile app streams.
150+
&quot;name&quot;: &quot;A String&quot;, # Output only. Resource name of this BigQuery link. Format: &#x27;properties/{property_id}/bigQueryLinks/{bigquery_link_id}&#x27; Format: &#x27;properties/1234/bigQueryLinks/abc567&#x27;
151+
&quot;project&quot;: &quot;A String&quot;, # Immutable. The linked Google Cloud project. When creating a BigQueryLink, you may provide this resource name using either a project number or project ID. Once this resource has been created, the returned project will always have a project that contains a project number. Format: &#x27;projects/{project number}&#x27; Example: &#x27;projects/1234&#x27;
152+
&quot;streamingExportEnabled&quot;: True or False, # If set true, enables streaming export to the linked Google Cloud project.
153+
}</pre>
154+
</div>
155+
156+
<div class="method">
157+
<code class="details" id="delete">delete(name, x__xgafv=None)</code>
158+
<pre>Deletes a BigQueryLink on a property.
159+
160+
Args:
161+
name: string, Required. The BigQueryLink to delete. Example format: properties/1234/bigQueryLinks/5678 (required)
162+
x__xgafv: string, V1 error format.
163+
Allowed values
164+
1 - v1 error format
165+
2 - v2 error format
166+
167+
Returns:
168+
An object of the form:
169+
170+
{ # 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); }
171+
}</pre>
172+
</div>
173+
95174
<div class="method">
96175
<code class="details" id="get">get(name, x__xgafv=None)</code>
97176
<pre>Lookup for a single BigQuery Link.
@@ -109,6 +188,7 @@ <h3>Method Details</h3>
109188
{ # A link between a GA4 Property and BigQuery project.
110189
&quot;createTime&quot;: &quot;A String&quot;, # Output only. Time when the link was created.
111190
&quot;dailyExportEnabled&quot;: True or False, # If set true, enables daily data export to the linked Google Cloud project.
191+
&quot;datasetLocation&quot;: &quot;A String&quot;, # Required. Immutable. The geographic location where the created BigQuery dataset should reside. See https://cloud.google.com/bigquery/docs/locations for supported locations.
112192
&quot;excludedEvents&quot;: [ # The list of event names that will be excluded from exports.
113193
&quot;A String&quot;,
114194
],
@@ -144,6 +224,7 @@ <h3>Method Details</h3>
144224
{ # A link between a GA4 Property and BigQuery project.
145225
&quot;createTime&quot;: &quot;A String&quot;, # Output only. Time when the link was created.
146226
&quot;dailyExportEnabled&quot;: True or False, # If set true, enables daily data export to the linked Google Cloud project.
227+
&quot;datasetLocation&quot;: &quot;A String&quot;, # Required. Immutable. The geographic location where the created BigQuery dataset should reside. See https://cloud.google.com/bigquery/docs/locations for supported locations.
147228
&quot;excludedEvents&quot;: [ # The list of event names that will be excluded from exports.
148229
&quot;A String&quot;,
149230
],
@@ -175,4 +256,57 @@ <h3>Method Details</h3>
175256
</pre>
176257
</div>
177258

259+
<div class="method">
260+
<code class="details" id="patch">patch(name, body=None, updateMask=None, x__xgafv=None)</code>
261+
<pre>Updates a BigQueryLink.
262+
263+
Args:
264+
name: string, Output only. Resource name of this BigQuery link. Format: &#x27;properties/{property_id}/bigQueryLinks/{bigquery_link_id}&#x27; Format: &#x27;properties/1234/bigQueryLinks/abc567&#x27; (required)
265+
body: object, The request body.
266+
The object takes the form of:
267+
268+
{ # A link between a GA4 Property and BigQuery project.
269+
&quot;createTime&quot;: &quot;A String&quot;, # Output only. Time when the link was created.
270+
&quot;dailyExportEnabled&quot;: True or False, # If set true, enables daily data export to the linked Google Cloud project.
271+
&quot;datasetLocation&quot;: &quot;A String&quot;, # Required. Immutable. The geographic location where the created BigQuery dataset should reside. See https://cloud.google.com/bigquery/docs/locations for supported locations.
272+
&quot;excludedEvents&quot;: [ # The list of event names that will be excluded from exports.
273+
&quot;A String&quot;,
274+
],
275+
&quot;exportStreams&quot;: [ # The list of streams under the parent property for which data will be exported. Format: properties/{property_id}/dataStreams/{stream_id} Example: [&#x27;properties/1000/dataStreams/2000&#x27;]
276+
&quot;A String&quot;,
277+
],
278+
&quot;freshDailyExportEnabled&quot;: True or False, # If set true, enables fresh daily export to the linked Google Cloud project.
279+
&quot;includeAdvertisingId&quot;: True or False, # If set true, exported data will include advertising identifiers for mobile app streams.
280+
&quot;name&quot;: &quot;A String&quot;, # Output only. Resource name of this BigQuery link. Format: &#x27;properties/{property_id}/bigQueryLinks/{bigquery_link_id}&#x27; Format: &#x27;properties/1234/bigQueryLinks/abc567&#x27;
281+
&quot;project&quot;: &quot;A String&quot;, # Immutable. The linked Google Cloud project. When creating a BigQueryLink, you may provide this resource name using either a project number or project ID. Once this resource has been created, the returned project will always have a project that contains a project number. Format: &#x27;projects/{project number}&#x27; Example: &#x27;projects/1234&#x27;
282+
&quot;streamingExportEnabled&quot;: True or False, # If set true, enables streaming export to the linked Google Cloud project.
283+
}
284+
285+
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.
286+
x__xgafv: string, V1 error format.
287+
Allowed values
288+
1 - v1 error format
289+
2 - v2 error format
290+
291+
Returns:
292+
An object of the form:
293+
294+
{ # A link between a GA4 Property and BigQuery project.
295+
&quot;createTime&quot;: &quot;A String&quot;, # Output only. Time when the link was created.
296+
&quot;dailyExportEnabled&quot;: True or False, # If set true, enables daily data export to the linked Google Cloud project.
297+
&quot;datasetLocation&quot;: &quot;A String&quot;, # Required. Immutable. The geographic location where the created BigQuery dataset should reside. See https://cloud.google.com/bigquery/docs/locations for supported locations.
298+
&quot;excludedEvents&quot;: [ # The list of event names that will be excluded from exports.
299+
&quot;A String&quot;,
300+
],
301+
&quot;exportStreams&quot;: [ # The list of streams under the parent property for which data will be exported. Format: properties/{property_id}/dataStreams/{stream_id} Example: [&#x27;properties/1000/dataStreams/2000&#x27;]
302+
&quot;A String&quot;,
303+
],
304+
&quot;freshDailyExportEnabled&quot;: True or False, # If set true, enables fresh daily export to the linked Google Cloud project.
305+
&quot;includeAdvertisingId&quot;: True or False, # If set true, exported data will include advertising identifiers for mobile app streams.
306+
&quot;name&quot;: &quot;A String&quot;, # Output only. Resource name of this BigQuery link. Format: &#x27;properties/{property_id}/bigQueryLinks/{bigquery_link_id}&#x27; Format: &#x27;properties/1234/bigQueryLinks/abc567&#x27;
307+
&quot;project&quot;: &quot;A String&quot;, # Immutable. The linked Google Cloud project. When creating a BigQueryLink, you may provide this resource name using either a project number or project ID. Once this resource has been created, the returned project will always have a project that contains a project number. Format: &#x27;projects/{project number}&#x27; Example: &#x27;projects/1234&#x27;
308+
&quot;streamingExportEnabled&quot;: True or False, # If set true, enables streaming export to the linked Google Cloud project.
309+
}</pre>
310+
</div>
311+
178312
</body></html>

googleapiclient/discovery_cache/documents/analyticsadmin.v1alpha.json

Lines changed: 94 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1710,6 +1710,59 @@
17101710
},
17111711
"bigQueryLinks": {
17121712
"methods": {
1713+
"create": {
1714+
"description": "Creates a BigQueryLink.",
1715+
"flatPath": "v1alpha/properties/{propertiesId}/bigQueryLinks",
1716+
"httpMethod": "POST",
1717+
"id": "analyticsadmin.properties.bigQueryLinks.create",
1718+
"parameterOrder": [
1719+
"parent"
1720+
],
1721+
"parameters": {
1722+
"parent": {
1723+
"description": "Required. Example format: properties/1234",
1724+
"location": "path",
1725+
"pattern": "^properties/[^/]+$",
1726+
"required": true,
1727+
"type": "string"
1728+
}
1729+
},
1730+
"path": "v1alpha/{+parent}/bigQueryLinks",
1731+
"request": {
1732+
"$ref": "GoogleAnalyticsAdminV1alphaBigQueryLink"
1733+
},
1734+
"response": {
1735+
"$ref": "GoogleAnalyticsAdminV1alphaBigQueryLink"
1736+
},
1737+
"scopes": [
1738+
"https://www.googleapis.com/auth/analytics.edit"
1739+
]
1740+
},
1741+
"delete": {
1742+
"description": "Deletes a BigQueryLink on a property.",
1743+
"flatPath": "v1alpha/properties/{propertiesId}/bigQueryLinks/{bigQueryLinksId}",
1744+
"httpMethod": "DELETE",
1745+
"id": "analyticsadmin.properties.bigQueryLinks.delete",
1746+
"parameterOrder": [
1747+
"name"
1748+
],
1749+
"parameters": {
1750+
"name": {
1751+
"description": "Required. The BigQueryLink to delete. Example format: properties/1234/bigQueryLinks/5678",
1752+
"location": "path",
1753+
"pattern": "^properties/[^/]+/bigQueryLinks/[^/]+$",
1754+
"required": true,
1755+
"type": "string"
1756+
}
1757+
},
1758+
"path": "v1alpha/{+name}",
1759+
"response": {
1760+
"$ref": "GoogleProtobufEmpty"
1761+
},
1762+
"scopes": [
1763+
"https://www.googleapis.com/auth/analytics.edit"
1764+
]
1765+
},
17131766
"get": {
17141767
"description": "Lookup for a single BigQuery Link.",
17151768
"flatPath": "v1alpha/properties/{propertiesId}/bigQueryLinks/{bigQueryLinksId}",
@@ -1772,6 +1825,40 @@
17721825
"https://www.googleapis.com/auth/analytics.edit",
17731826
"https://www.googleapis.com/auth/analytics.readonly"
17741827
]
1828+
},
1829+
"patch": {
1830+
"description": "Updates a BigQueryLink.",
1831+
"flatPath": "v1alpha/properties/{propertiesId}/bigQueryLinks/{bigQueryLinksId}",
1832+
"httpMethod": "PATCH",
1833+
"id": "analyticsadmin.properties.bigQueryLinks.patch",
1834+
"parameterOrder": [
1835+
"name"
1836+
],
1837+
"parameters": {
1838+
"name": {
1839+
"description": "Output only. Resource name of this BigQuery link. Format: 'properties/{property_id}/bigQueryLinks/{bigquery_link_id}' Format: 'properties/1234/bigQueryLinks/abc567'",
1840+
"location": "path",
1841+
"pattern": "^properties/[^/]+/bigQueryLinks/[^/]+$",
1842+
"required": true,
1843+
"type": "string"
1844+
},
1845+
"updateMask": {
1846+
"description": "Required. The list of fields to be updated. Field names must be in snake case (e.g., \"field_to_update\"). Omitted fields will not be updated. To replace the entire entity, use one path with the string \"*\" to match all fields.",
1847+
"format": "google-fieldmask",
1848+
"location": "query",
1849+
"type": "string"
1850+
}
1851+
},
1852+
"path": "v1alpha/{+name}",
1853+
"request": {
1854+
"$ref": "GoogleAnalyticsAdminV1alphaBigQueryLink"
1855+
},
1856+
"response": {
1857+
"$ref": "GoogleAnalyticsAdminV1alphaBigQueryLink"
1858+
},
1859+
"scopes": [
1860+
"https://www.googleapis.com/auth/analytics.edit"
1861+
]
17751862
}
17761863
}
17771864
},
@@ -4646,7 +4733,7 @@
46464733
}
46474734
}
46484735
},
4649-
"revision": "20240628",
4736+
"revision": "20240707",
46504737
"rootUrl": "https://analyticsadmin.googleapis.com/",
46514738
"schemas": {
46524739
"GoogleAnalyticsAdminV1alphaAccessBetweenFilter": {
@@ -5765,6 +5852,10 @@
57655852
"description": "If set true, enables daily data export to the linked Google Cloud project.",
57665853
"type": "boolean"
57675854
},
5855+
"datasetLocation": {
5856+
"description": "Required. Immutable. The geographic location where the created BigQuery dataset should reside. See https://cloud.google.com/bigquery/docs/locations for supported locations.",
5857+
"type": "string"
5858+
},
57685859
"excludedEvents": {
57695860
"description": "The list of event names that will be excluded from exports.",
57705861
"items": {
@@ -8511,6 +8602,7 @@
85118602
"ATTRIBUTION_SETTINGS",
85128603
"EXPANDED_DATA_SET",
85138604
"CHANNEL_GROUP",
8605+
"BIGQUERY_LINK",
85148606
"ENHANCED_MEASUREMENT_SETTINGS",
85158607
"DATA_REDACTION_SETTINGS",
85168608
"SKADNETWORK_CONVERSION_VALUE_SCHEMA",
@@ -8538,6 +8630,7 @@
85388630
"AttributionSettings resource",
85398631
"ExpandedDataSet resource",
85408632
"ChannelGroup resource",
8633+
"BigQuery link resource",
85418634
"EnhancedMeasurementSettings resource",
85428635
"DataRedactionSettings resource",
85438636
"SKAdNetworkConversionValueSchema resource",

googleapiclient/discovery_cache/documents/analyticsadmin.v1beta.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1817,7 +1817,7 @@
18171817
}
18181818
}
18191819
},
1820-
"revision": "20240628",
1820+
"revision": "20240707",
18211821
"rootUrl": "https://analyticsadmin.googleapis.com/",
18221822
"schemas": {
18231823
"GoogleAnalyticsAdminV1betaAccessBetweenFilter": {

0 commit comments

Comments
 (0)