Skip to content

Commit 77b0d5e

Browse files
feat(datastream): update the api
#### datastream:v1 The following keys were added: - resources.projects.resources.locations.resources.privateConnections.methods.create.parameters.validateOnly (Total Keys: 2) - schemas.PrivateConnection.properties.pscInterfaceConfig.$ref (Total Keys: 1) - schemas.PscInterfaceConfig (Total Keys: 3)
1 parent ab21a62 commit 77b0d5e

File tree

2 files changed

+33
-3
lines changed

2 files changed

+33
-3
lines changed

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

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ <h2>Instance Methods</h2>
8383
<code><a href="#close">close()</a></code></p>
8484
<p class="firstline">Close httplib2 connections.</p>
8585
<p class="toc_element">
86-
<code><a href="#create">create(parent, body=None, force=None, privateConnectionId=None, requestId=None, x__xgafv=None)</a></code></p>
86+
<code><a href="#create">create(parent, body=None, force=None, privateConnectionId=None, requestId=None, validateOnly=None, x__xgafv=None)</a></code></p>
8787
<p class="firstline">Use this method to create a private connectivity configuration.</p>
8888
<p class="toc_element">
8989
<code><a href="#delete">delete(name, force=None, requestId=None, x__xgafv=None)</a></code></p>
@@ -104,7 +104,7 @@ <h3>Method Details</h3>
104104
</div>
105105

106106
<div class="method">
107-
<code class="details" id="create">create(parent, body=None, force=None, privateConnectionId=None, requestId=None, x__xgafv=None)</code>
107+
<code class="details" id="create">create(parent, body=None, force=None, privateConnectionId=None, requestId=None, validateOnly=None, x__xgafv=None)</code>
108108
<pre>Use this method to create a private connectivity configuration.
109109

110110
Args:
@@ -128,6 +128,9 @@ <h3>Method Details</h3>
128128
&quot;a_key&quot;: &quot;A String&quot;,
129129
},
130130
&quot;name&quot;: &quot;A String&quot;, # Output only. Identifier. The resource&#x27;s name.
131+
&quot;pscInterfaceConfig&quot;: { # The PSC Interface configuration is used to create PSC Interface between Datastream and the consumer&#x27;s PSC. # PSC Interface Config.
132+
&quot;networkAttachment&quot;: &quot;A String&quot;, # Required. Fully qualified name of the Network Attachment that Datastream will connect to. Format: `projects/{{project}}/regions/{{region}}/networkAttachments/{{name}}`
133+
},
131134
&quot;satisfiesPzi&quot;: True or False, # Output only. Reserved for future use.
132135
&quot;satisfiesPzs&quot;: True or False, # Output only. Reserved for future use.
133136
&quot;state&quot;: &quot;A String&quot;, # Output only. The state of the Private Connection.
@@ -141,6 +144,7 @@ <h3>Method Details</h3>
141144
force: boolean, Optional. If set to true, will skip validations.
142145
privateConnectionId: string, Required. The private connectivity identifier.
143146
requestId: string, Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
147+
validateOnly: boolean, Optional. When supplied with PSC Interface config, will get/create the tenant project required for the customer to allow list and won&#x27;t actually create the private connection.
144148
x__xgafv: string, V1 error format.
145149
Allowed values
146150
1 - v1 error format
@@ -237,6 +241,9 @@ <h3>Method Details</h3>
237241
&quot;a_key&quot;: &quot;A String&quot;,
238242
},
239243
&quot;name&quot;: &quot;A String&quot;, # Output only. Identifier. The resource&#x27;s name.
244+
&quot;pscInterfaceConfig&quot;: { # The PSC Interface configuration is used to create PSC Interface between Datastream and the consumer&#x27;s PSC. # PSC Interface Config.
245+
&quot;networkAttachment&quot;: &quot;A String&quot;, # Required. Fully qualified name of the Network Attachment that Datastream will connect to. Format: `projects/{{project}}/regions/{{region}}/networkAttachments/{{name}}`
246+
},
240247
&quot;satisfiesPzi&quot;: True or False, # Output only. Reserved for future use.
241248
&quot;satisfiesPzs&quot;: True or False, # Output only. Reserved for future use.
242249
&quot;state&quot;: &quot;A String&quot;, # Output only. The state of the Private Connection.
@@ -285,6 +292,9 @@ <h3>Method Details</h3>
285292
&quot;a_key&quot;: &quot;A String&quot;,
286293
},
287294
&quot;name&quot;: &quot;A String&quot;, # Output only. Identifier. The resource&#x27;s name.
295+
&quot;pscInterfaceConfig&quot;: { # The PSC Interface configuration is used to create PSC Interface between Datastream and the consumer&#x27;s PSC. # PSC Interface Config.
296+
&quot;networkAttachment&quot;: &quot;A String&quot;, # Required. Fully qualified name of the Network Attachment that Datastream will connect to. Format: `projects/{{project}}/regions/{{region}}/networkAttachments/{{name}}`
297+
},
288298
&quot;satisfiesPzi&quot;: True or False, # Output only. Reserved for future use.
289299
&quot;satisfiesPzs&quot;: True or False, # Output only. Reserved for future use.
290300
&quot;state&quot;: &quot;A String&quot;, # Output only. The state of the Private Connection.

googleapiclient/discovery_cache/documents/datastream.v1.json

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -598,6 +598,11 @@
598598
"description": "Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
599599
"location": "query",
600600
"type": "string"
601+
},
602+
"validateOnly": {
603+
"description": "Optional. When supplied with PSC Interface config, will get/create the tenant project required for the customer to allow list and won't actually create the private connection.",
604+
"location": "query",
605+
"type": "boolean"
601606
}
602607
},
603608
"path": "v1/{+parent}/privateConnections",
@@ -1250,7 +1255,7 @@
12501255
}
12511256
}
12521257
},
1253-
"revision": "20250310",
1258+
"revision": "20250316",
12541259
"rootUrl": "https://datastream.googleapis.com/",
12551260
"schemas": {
12561261
"AppendOnly": {
@@ -2925,6 +2930,10 @@
29252930
"readOnly": true,
29262931
"type": "string"
29272932
},
2933+
"pscInterfaceConfig": {
2934+
"$ref": "PscInterfaceConfig",
2935+
"description": "PSC Interface Config."
2936+
},
29282937
"satisfiesPzi": {
29292938
"description": "Output only. Reserved for future use.",
29302939
"readOnly": true,
@@ -2980,6 +2989,17 @@
29802989
},
29812990
"type": "object"
29822991
},
2992+
"PscInterfaceConfig": {
2993+
"description": "The PSC Interface configuration is used to create PSC Interface between Datastream and the consumer's PSC.",
2994+
"id": "PscInterfaceConfig",
2995+
"properties": {
2996+
"networkAttachment": {
2997+
"description": "Required. Fully qualified name of the Network Attachment that Datastream will connect to. Format: `projects/{{project}}/regions/{{region}}/networkAttachments/{{name}}`",
2998+
"type": "string"
2999+
}
3000+
},
3001+
"type": "object"
3002+
},
29833003
"Route": {
29843004
"description": "The route resource is the child of the private connection resource, used for defining a route for a private connection.",
29853005
"id": "Route",

0 commit comments

Comments
 (0)