Skip to content

Commit 0adc4b0

Browse files
feat(datastream): update the api
#### datastream:v1alpha1 The following keys were added: - resources.projects.resources.locations.methods.fetchStaticIps.deprecated (Total Keys: 1) - resources.projects.resources.locations.resources.connectionProfiles.methods.create.deprecated (Total Keys: 1) - resources.projects.resources.locations.resources.connectionProfiles.methods.delete.deprecated (Total Keys: 1) - resources.projects.resources.locations.resources.connectionProfiles.methods.discover.deprecated (Total Keys: 1) - resources.projects.resources.locations.resources.connectionProfiles.methods.get.deprecated (Total Keys: 1) - resources.projects.resources.locations.resources.connectionProfiles.methods.list.deprecated (Total Keys: 1) - resources.projects.resources.locations.resources.connectionProfiles.methods.patch.deprecated (Total Keys: 1) - resources.projects.resources.locations.resources.privateConnections.methods.create.deprecated (Total Keys: 1) - resources.projects.resources.locations.resources.privateConnections.methods.delete.deprecated (Total Keys: 1) - resources.projects.resources.locations.resources.privateConnections.methods.get.deprecated (Total Keys: 1) - resources.projects.resources.locations.resources.privateConnections.methods.list.deprecated (Total Keys: 1) - resources.projects.resources.locations.resources.privateConnections.resources.routes.methods.create.deprecated (Total Keys: 1) - resources.projects.resources.locations.resources.privateConnections.resources.routes.methods.delete.deprecated (Total Keys: 1) - resources.projects.resources.locations.resources.privateConnections.resources.routes.methods.get.deprecated (Total Keys: 1) - resources.projects.resources.locations.resources.privateConnections.resources.routes.methods.list.deprecated (Total Keys: 1) - resources.projects.resources.locations.resources.streams.methods.create.deprecated (Total Keys: 1) - resources.projects.resources.locations.resources.streams.methods.delete.deprecated (Total Keys: 1) - resources.projects.resources.locations.resources.streams.methods.fetchErrors.deprecated (Total Keys: 1) - resources.projects.resources.locations.resources.streams.methods.get.deprecated (Total Keys: 1) - resources.projects.resources.locations.resources.streams.methods.list.deprecated (Total Keys: 1) - resources.projects.resources.locations.resources.streams.methods.patch.deprecated (Total Keys: 1) - resources.projects.resources.locations.resources.streams.resources.objects.methods.get.deprecated (Total Keys: 1) - resources.projects.resources.locations.resources.streams.resources.objects.methods.list.deprecated (Total Keys: 1) - resources.projects.resources.locations.resources.streams.resources.objects.methods.startBackfillJob.deprecated (Total Keys: 1) - resources.projects.resources.locations.resources.streams.resources.objects.methods.stopBackfillJob.deprecated (Total Keys: 1)
1 parent 63d0c72 commit 0adc4b0

File tree

5 files changed

+38
-13
lines changed

5 files changed

+38
-13
lines changed

docs/dyn/datastream_v1.projects.locations.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ <h3>Method Details</h3>
170170
Returns:
171171
An object of the form:
172172

173-
{ # A resource that represents Google Cloud Platform location.
173+
{ # A resource that represents a Google Cloud location.
174174
&quot;displayName&quot;: &quot;A String&quot;, # The friendly name for this location, typically a nearby city name. For example, &quot;Tokyo&quot;.
175175
&quot;labels&quot;: { # Cross-service attributes for the location. For example {&quot;cloud.googleapis.com/region&quot;: &quot;us-east1&quot;}
176176
&quot;a_key&quot;: &quot;A String&quot;,
@@ -202,7 +202,7 @@ <h3>Method Details</h3>
202202

203203
{ # The response message for Locations.ListLocations.
204204
&quot;locations&quot;: [ # A list of locations that matches the specified filter in the request.
205-
{ # A resource that represents Google Cloud Platform location.
205+
{ # A resource that represents a Google Cloud location.
206206
&quot;displayName&quot;: &quot;A String&quot;, # The friendly name for this location, typically a nearby city name. For example, &quot;Tokyo&quot;.
207207
&quot;labels&quot;: { # Cross-service attributes for the location. For example {&quot;cloud.googleapis.com/region&quot;: &quot;us-east1&quot;}
208208
&quot;a_key&quot;: &quot;A String&quot;,

docs/dyn/datastream_v1.projects.locations.streams.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ <h3>Method Details</h3>
212212
&quot;gcsDestinationConfig&quot;: { # Google Cloud Storage destination configuration # A configuration for how data should be loaded to Cloud Storage.
213213
&quot;avroFileFormat&quot;: { # AVRO file format configuration. # AVRO file format configuration.
214214
},
215-
&quot;fileRotationInterval&quot;: &quot;A String&quot;, # The maximum duration for which new events are added before a file is closed and a new file is created.
215+
&quot;fileRotationInterval&quot;: &quot;A String&quot;, # The maximum duration for which new events are added before a file is closed and a new file is created. Values within the range of 15-60 seconds are allowed.
216216
&quot;fileRotationMb&quot;: 42, # The maximum file size to be saved in the bucket.
217217
&quot;jsonFileFormat&quot;: { # JSON file format configuration. # JSON file format configuration.
218218
&quot;compression&quot;: &quot;A String&quot;, # Compression of the loaded JSON file.
@@ -585,7 +585,7 @@ <h3>Method Details</h3>
585585
&quot;gcsDestinationConfig&quot;: { # Google Cloud Storage destination configuration # A configuration for how data should be loaded to Cloud Storage.
586586
&quot;avroFileFormat&quot;: { # AVRO file format configuration. # AVRO file format configuration.
587587
},
588-
&quot;fileRotationInterval&quot;: &quot;A String&quot;, # The maximum duration for which new events are added before a file is closed and a new file is created.
588+
&quot;fileRotationInterval&quot;: &quot;A String&quot;, # The maximum duration for which new events are added before a file is closed and a new file is created. Values within the range of 15-60 seconds are allowed.
589589
&quot;fileRotationMb&quot;: 42, # The maximum file size to be saved in the bucket.
590590
&quot;jsonFileFormat&quot;: { # JSON file format configuration. # JSON file format configuration.
591591
&quot;compression&quot;: &quot;A String&quot;, # Compression of the loaded JSON file.
@@ -897,7 +897,7 @@ <h3>Method Details</h3>
897897
&quot;gcsDestinationConfig&quot;: { # Google Cloud Storage destination configuration # A configuration for how data should be loaded to Cloud Storage.
898898
&quot;avroFileFormat&quot;: { # AVRO file format configuration. # AVRO file format configuration.
899899
},
900-
&quot;fileRotationInterval&quot;: &quot;A String&quot;, # The maximum duration for which new events are added before a file is closed and a new file is created.
900+
&quot;fileRotationInterval&quot;: &quot;A String&quot;, # The maximum duration for which new events are added before a file is closed and a new file is created. Values within the range of 15-60 seconds are allowed.
901901
&quot;fileRotationMb&quot;: 42, # The maximum file size to be saved in the bucket.
902902
&quot;jsonFileFormat&quot;: { # JSON file format configuration. # JSON file format configuration.
903903
&quot;compression&quot;: &quot;A String&quot;, # Compression of the loaded JSON file.
@@ -1216,7 +1216,7 @@ <h3>Method Details</h3>
12161216
&quot;gcsDestinationConfig&quot;: { # Google Cloud Storage destination configuration # A configuration for how data should be loaded to Cloud Storage.
12171217
&quot;avroFileFormat&quot;: { # AVRO file format configuration. # AVRO file format configuration.
12181218
},
1219-
&quot;fileRotationInterval&quot;: &quot;A String&quot;, # The maximum duration for which new events are added before a file is closed and a new file is created.
1219+
&quot;fileRotationInterval&quot;: &quot;A String&quot;, # The maximum duration for which new events are added before a file is closed and a new file is created. Values within the range of 15-60 seconds are allowed.
12201220
&quot;fileRotationMb&quot;: 42, # The maximum file size to be saved in the bucket.
12211221
&quot;jsonFileFormat&quot;: { # JSON file format configuration. # JSON file format configuration.
12221222
&quot;compression&quot;: &quot;A String&quot;, # Compression of the loaded JSON file.

docs/dyn/datastream_v1alpha1.projects.locations.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ <h3>Method Details</h3>
170170
Returns:
171171
An object of the form:
172172

173-
{ # A resource that represents Google Cloud Platform location.
173+
{ # A resource that represents a Google Cloud location.
174174
&quot;displayName&quot;: &quot;A String&quot;, # The friendly name for this location, typically a nearby city name. For example, &quot;Tokyo&quot;.
175175
&quot;labels&quot;: { # Cross-service attributes for the location. For example {&quot;cloud.googleapis.com/region&quot;: &quot;us-east1&quot;}
176176
&quot;a_key&quot;: &quot;A String&quot;,
@@ -202,7 +202,7 @@ <h3>Method Details</h3>
202202

203203
{ # The response message for Locations.ListLocations.
204204
&quot;locations&quot;: [ # A list of locations that matches the specified filter in the request.
205-
{ # A resource that represents Google Cloud Platform location.
205+
{ # A resource that represents a Google Cloud location.
206206
&quot;displayName&quot;: &quot;A String&quot;, # The friendly name for this location, typically a nearby city name. For example, &quot;Tokyo&quot;.
207207
&quot;labels&quot;: { # Cross-service attributes for the location. For example {&quot;cloud.googleapis.com/region&quot;: &quot;us-east1&quot;}
208208
&quot;a_key&quot;: &quot;A String&quot;,

googleapiclient/discovery_cache/documents/datastream.v1.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1222,7 +1222,7 @@
12221222
}
12231223
}
12241224
},
1225-
"revision": "20230322",
1225+
"revision": "20230510",
12261226
"rootUrl": "https://datastream.googleapis.com/",
12271227
"schemas": {
12281228
"AvroFileFormat": {
@@ -1611,7 +1611,7 @@
16111611
"description": "AVRO file format configuration."
16121612
},
16131613
"fileRotationInterval": {
1614-
"description": "The maximum duration for which new events are added before a file is closed and a new file is created.",
1614+
"description": "The maximum duration for which new events are added before a file is closed and a new file is created. Values within the range of 15-60 seconds are allowed.",
16151615
"format": "google-duration",
16161616
"type": "string"
16171617
},
@@ -1836,7 +1836,7 @@
18361836
"type": "object"
18371837
},
18381838
"Location": {
1839-
"description": "A resource that represents Google Cloud Platform location.",
1839+
"description": "A resource that represents a Google Cloud location.",
18401840
"id": "Location",
18411841
"properties": {
18421842
"displayName": {

googleapiclient/discovery_cache/documents/datastream.v1alpha1.json

Lines changed: 27 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,7 @@
110110
"locations": {
111111
"methods": {
112112
"fetchStaticIps": {
113+
"deprecated": true,
113114
"description": "The FetchStaticIps API call exposes the static IP addresses used by Datastream.",
114115
"flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}:fetchStaticIps",
115116
"httpMethod": "GET",
@@ -216,6 +217,7 @@
216217
"connectionProfiles": {
217218
"methods": {
218219
"create": {
220+
"deprecated": true,
219221
"description": "Use this method to create a connection profile in a project and location.",
220222
"flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/connectionProfiles",
221223
"httpMethod": "POST",
@@ -254,6 +256,7 @@
254256
]
255257
},
256258
"delete": {
259+
"deprecated": true,
257260
"description": "Use this method to delete a connection profile..",
258261
"flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/connectionProfiles/{connectionProfilesId}",
259262
"httpMethod": "DELETE",
@@ -284,6 +287,7 @@
284287
]
285288
},
286289
"discover": {
290+
"deprecated": true,
287291
"description": "Use this method to discover a connection profile. The discover API call exposes the data objects and metadata belonging to the profile. Typically, a request returns children data objects under a parent data object that's optionally supplied in the request.",
288292
"flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/connectionProfiles:discover",
289293
"httpMethod": "POST",
@@ -312,6 +316,7 @@
312316
]
313317
},
314318
"get": {
319+
"deprecated": true,
315320
"description": "Use this method to get details about a connection profile.",
316321
"flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/connectionProfiles/{connectionProfilesId}",
317322
"httpMethod": "GET",
@@ -337,6 +342,7 @@
337342
]
338343
},
339344
"list": {
345+
"deprecated": true,
340346
"description": "Use this method to list connection profiles created in a project and location.",
341347
"flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/connectionProfiles",
342348
"httpMethod": "GET",
@@ -383,6 +389,7 @@
383389
]
384390
},
385391
"patch": {
392+
"deprecated": true,
386393
"description": "Use this method to update the parameters of a connection profile.",
387394
"flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/connectionProfiles/{connectionProfilesId}",
388395
"httpMethod": "PATCH",
@@ -554,6 +561,7 @@
554561
"privateConnections": {
555562
"methods": {
556563
"create": {
564+
"deprecated": true,
557565
"description": "Use this method to create a private connectivity configuration.",
558566
"flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/privateConnections",
559567
"httpMethod": "POST",
@@ -592,6 +600,7 @@
592600
]
593601
},
594602
"delete": {
603+
"deprecated": true,
595604
"description": "Use this method to delete a private connectivity configuration.",
596605
"flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/privateConnections/{privateConnectionsId}",
597606
"httpMethod": "DELETE",
@@ -627,6 +636,7 @@
627636
]
628637
},
629638
"get": {
639+
"deprecated": true,
630640
"description": "Use this method to get details about a private connectivity configuration.",
631641
"flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/privateConnections/{privateConnectionsId}",
632642
"httpMethod": "GET",
@@ -652,6 +662,7 @@
652662
]
653663
},
654664
"list": {
665+
"deprecated": true,
655666
"description": "Use this method to list private connectivity configurations in a project and location.",
656667
"flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/privateConnections",
657668
"httpMethod": "GET",
@@ -702,6 +713,7 @@
702713
"routes": {
703714
"methods": {
704715
"create": {
716+
"deprecated": true,
705717
"description": "Use this method to create a route for a private connectivity in a project and location.",
706718
"flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/privateConnections/{privateConnectionsId}/routes",
707719
"httpMethod": "POST",
@@ -740,6 +752,7 @@
740752
]
741753
},
742754
"delete": {
755+
"deprecated": true,
743756
"description": "Use this method to delete a route.",
744757
"flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/privateConnections/{privateConnectionsId}/routes/{routesId}",
745758
"httpMethod": "DELETE",
@@ -770,6 +783,7 @@
770783
]
771784
},
772785
"get": {
786+
"deprecated": true,
773787
"description": "Use this method to get details about a route.",
774788
"flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/privateConnections/{privateConnectionsId}/routes/{routesId}",
775789
"httpMethod": "GET",
@@ -795,6 +809,7 @@
795809
]
796810
},
797811
"list": {
812+
"deprecated": true,
798813
"description": "Use this method to list routes created for a private connectivity in a project and location.",
799814
"flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/privateConnections/{privateConnectionsId}/routes",
800815
"httpMethod": "GET",
@@ -847,6 +862,7 @@
847862
"streams": {
848863
"methods": {
849864
"create": {
865+
"deprecated": true,
850866
"description": "Use this method to create a stream.",
851867
"flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/streams",
852868
"httpMethod": "POST",
@@ -895,6 +911,7 @@
895911
]
896912
},
897913
"delete": {
914+
"deprecated": true,
898915
"description": "Use this method to delete a stream.",
899916
"flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/streams/{streamsId}",
900917
"httpMethod": "DELETE",
@@ -925,6 +942,7 @@
925942
]
926943
},
927944
"fetchErrors": {
945+
"deprecated": true,
928946
"description": "Use this method to fetch any errors associated with a stream.",
929947
"flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/streams/{streamsId}:fetchErrors",
930948
"httpMethod": "POST",
@@ -953,6 +971,7 @@
953971
]
954972
},
955973
"get": {
974+
"deprecated": true,
956975
"description": "Use this method to get details about a stream.",
957976
"flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/streams/{streamsId}",
958977
"httpMethod": "GET",
@@ -978,6 +997,7 @@
978997
]
979998
},
980999
"list": {
1000+
"deprecated": true,
9811001
"description": "Use this method to list streams in a project and location.",
9821002
"flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/streams",
9831003
"httpMethod": "GET",
@@ -1024,6 +1044,7 @@
10241044
]
10251045
},
10261046
"patch": {
1047+
"deprecated": true,
10271048
"description": "Use this method to update the configuration of a stream.",
10281049
"flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/streams/{streamsId}",
10291050
"httpMethod": "PATCH",
@@ -1077,6 +1098,7 @@
10771098
"objects": {
10781099
"methods": {
10791100
"get": {
1101+
"deprecated": true,
10801102
"description": "Use this method to get details about a stream object.",
10811103
"flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/streams/{streamsId}/objects/{objectsId}",
10821104
"httpMethod": "GET",
@@ -1102,6 +1124,7 @@
11021124
]
11031125
},
11041126
"list": {
1127+
"deprecated": true,
11051128
"description": "Use this method to list the objects of a specific stream.",
11061129
"flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/streams/{streamsId}/objects",
11071130
"httpMethod": "GET",
@@ -1138,6 +1161,7 @@
11381161
]
11391162
},
11401163
"startBackfillJob": {
1164+
"deprecated": true,
11411165
"description": "Starts backfill job for the specified stream object.",
11421166
"flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/streams/{streamsId}/objects/{objectsId}:startBackfillJob",
11431167
"httpMethod": "POST",
@@ -1163,6 +1187,7 @@
11631187
]
11641188
},
11651189
"stopBackfillJob": {
1190+
"deprecated": true,
11661191
"description": "Stops the backfill job for the specified stream object.",
11671192
"flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/streams/{streamsId}/objects/{objectsId}:stopBackfillJob",
11681193
"httpMethod": "POST",
@@ -1196,7 +1221,7 @@
11961221
}
11971222
}
11981223
},
1199-
"revision": "20230322",
1224+
"revision": "20230510",
12001225
"rootUrl": "https://datastream.googleapis.com/",
12011226
"schemas": {
12021227
"AvroFileFormat": {
@@ -1772,7 +1797,7 @@
17721797
"type": "object"
17731798
},
17741799
"Location": {
1775-
"description": "A resource that represents Google Cloud Platform location.",
1800+
"description": "A resource that represents a Google Cloud location.",
17761801
"id": "Location",
17771802
"properties": {
17781803
"displayName": {

0 commit comments

Comments
 (0)