Skip to content

Commit 255dcdb

Browse files
feat(connectors): update the api
#### connectors:v1 The following keys were deleted: - schemas.CustomConnector.properties.launchStage (Total Keys: 2) - schemas.CustomConnectorVersion.properties.type.type (Total Keys: 1) - schemas.EventingConfig.properties.encryptionKey.$ref (Total Keys: 1) The following keys were added: - resources.projects.resources.locations.resources.connections.methods.listenEvent (Total Keys: 12) - schemas.ConnectionSchemaMetadata.properties.errorMessage.type (Total Keys: 1) - schemas.CustomConnectorVersion.properties.serviceAccount.type (Total Keys: 1) - schemas.EventingConfig.properties.listenerAuthConfig.$ref (Total Keys: 1) - schemas.EventingConfigTemplate.properties.listenerAuthConfigTemplates (Total Keys: 2) - schemas.ListenEventRequest (Total Keys: 4) - schemas.ListenEventResponse (Total Keys: 2)
1 parent d1a6305 commit 255dcdb

6 files changed

+489
-99
lines changed

docs/dyn/connectors_v1.projects.locations.connections.html

Lines changed: 287 additions & 48 deletions
Large diffs are not rendered by default.

docs/dyn/connectors_v1.projects.locations.global_.customConnectors.customConnectorVersions.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -192,8 +192,8 @@ <h3>Method Details</h3>
192192
&quot;a_key&quot;: &quot;A String&quot;,
193193
},
194194
&quot;name&quot;: &quot;A String&quot;, # Output only. Identifier. Resource name of the Version. Format: projects/{project}/locations/{location}/customConnectors/{custom_connector}/customConnectorVersions/{custom_connector_version}
195+
&quot;serviceAccount&quot;: &quot;A String&quot;, # Required. Service account needed for runtime plane to access Custom Connector secrets.
195196
&quot;specLocation&quot;: &quot;A String&quot;, # Optional. Location of the custom connector spec.
196-
&quot;type&quot;: &quot;A String&quot;, # Required. Type of the customConnector.
197197
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. Updated time.
198198
}
199199

@@ -358,8 +358,8 @@ <h3>Method Details</h3>
358358
&quot;a_key&quot;: &quot;A String&quot;,
359359
},
360360
&quot;name&quot;: &quot;A String&quot;, # Output only. Identifier. Resource name of the Version. Format: projects/{project}/locations/{location}/customConnectors/{custom_connector}/customConnectorVersions/{custom_connector_version}
361+
&quot;serviceAccount&quot;: &quot;A String&quot;, # Required. Service account needed for runtime plane to access Custom Connector secrets.
361362
&quot;specLocation&quot;: &quot;A String&quot;, # Optional. Location of the custom connector spec.
362-
&quot;type&quot;: &quot;A String&quot;, # Required. Type of the customConnector.
363363
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. Updated time.
364364
}</pre>
365365
</div>
@@ -464,8 +464,8 @@ <h3>Method Details</h3>
464464
&quot;a_key&quot;: &quot;A String&quot;,
465465
},
466466
&quot;name&quot;: &quot;A String&quot;, # Output only. Identifier. Resource name of the Version. Format: projects/{project}/locations/{location}/customConnectors/{custom_connector}/customConnectorVersions/{custom_connector_version}
467+
&quot;serviceAccount&quot;: &quot;A String&quot;, # Required. Service account needed for runtime plane to access Custom Connector secrets.
467468
&quot;specLocation&quot;: &quot;A String&quot;, # Optional. Location of the custom connector spec.
468-
&quot;type&quot;: &quot;A String&quot;, # Required. Type of the customConnector.
469469
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. Updated time.
470470
},
471471
],
@@ -581,8 +581,8 @@ <h3>Method Details</h3>
581581
&quot;a_key&quot;: &quot;A String&quot;,
582582
},
583583
&quot;name&quot;: &quot;A String&quot;, # Output only. Identifier. Resource name of the Version. Format: projects/{project}/locations/{location}/customConnectors/{custom_connector}/customConnectorVersions/{custom_connector_version}
584+
&quot;serviceAccount&quot;: &quot;A String&quot;, # Required. Service account needed for runtime plane to access Custom Connector secrets.
584585
&quot;specLocation&quot;: &quot;A String&quot;, # Optional. Location of the custom connector spec.
585-
&quot;type&quot;: &quot;A String&quot;, # Required. Type of the customConnector.
586586
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. Updated time.
587587
}
588588

docs/dyn/connectors_v1.projects.locations.global_.customConnectors.html

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,6 @@ <h3>Method Details</h3>
123123
&quot;labels&quot;: { # Optional. Resource labels to represent user-provided metadata. Refer to cloud documentation on labels for more details. https://cloud.google.com/compute/docs/labeling-resources
124124
&quot;a_key&quot;: &quot;A String&quot;,
125125
},
126-
&quot;launchStage&quot;: &quot;A String&quot;, # Output only. Launch stage.
127126
&quot;logo&quot;: &quot;A String&quot;, # Optional. Logo of the resource.
128127
&quot;name&quot;: &quot;A String&quot;, # Identifier. Resource name of the CustomConnector. Format: projects/{project}/locations/{location}/customConnectors/{connector}
129128
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. Updated time.
@@ -216,7 +215,6 @@ <h3>Method Details</h3>
216215
&quot;labels&quot;: { # Optional. Resource labels to represent user-provided metadata. Refer to cloud documentation on labels for more details. https://cloud.google.com/compute/docs/labeling-resources
217216
&quot;a_key&quot;: &quot;A String&quot;,
218217
},
219-
&quot;launchStage&quot;: &quot;A String&quot;, # Output only. Launch stage.
220218
&quot;logo&quot;: &quot;A String&quot;, # Optional. Logo of the resource.
221219
&quot;name&quot;: &quot;A String&quot;, # Identifier. Resource name of the CustomConnector. Format: projects/{project}/locations/{location}/customConnectors/{connector}
222220
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. Updated time.
@@ -250,7 +248,6 @@ <h3>Method Details</h3>
250248
&quot;labels&quot;: { # Optional. Resource labels to represent user-provided metadata. Refer to cloud documentation on labels for more details. https://cloud.google.com/compute/docs/labeling-resources
251249
&quot;a_key&quot;: &quot;A String&quot;,
252250
},
253-
&quot;launchStage&quot;: &quot;A String&quot;, # Output only. Launch stage.
254251
&quot;logo&quot;: &quot;A String&quot;, # Optional. Logo of the resource.
255252
&quot;name&quot;: &quot;A String&quot;, # Identifier. Resource name of the CustomConnector. Format: projects/{project}/locations/{location}/customConnectors/{connector}
256253
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. Updated time.
@@ -294,7 +291,6 @@ <h3>Method Details</h3>
294291
&quot;labels&quot;: { # Optional. Resource labels to represent user-provided metadata. Refer to cloud documentation on labels for more details. https://cloud.google.com/compute/docs/labeling-resources
295292
&quot;a_key&quot;: &quot;A String&quot;,
296293
},
297-
&quot;launchStage&quot;: &quot;A String&quot;, # Output only. Launch stage.
298294
&quot;logo&quot;: &quot;A String&quot;, # Optional. Logo of the resource.
299295
&quot;name&quot;: &quot;A String&quot;, # Identifier. Resource name of the CustomConnector. Format: projects/{project}/locations/{location}/customConnectors/{connector}
300296
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. Updated time.

docs/dyn/connectors_v1.projects.locations.providers.connectors.versions.html

Lines changed: 120 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -445,6 +445,66 @@ <h3>Method Details</h3>
445445
&quot;enrichmentSupported&quot;: True or False, # Enrichment Supported.
446446
&quot;eventListenerType&quot;: &quot;A String&quot;, # The type of the event listener for a specific connector.
447447
&quot;isEventingSupported&quot;: True or False, # Is Eventing Supported.
448+
&quot;listenerAuthConfigTemplates&quot;: [ # ListenerAuthConfigTemplates represents the auth values for the event listener.
449+
{ # AuthConfigTemplate defines required field over an authentication type.
450+
&quot;authKey&quot;: &quot;A String&quot;, # Identifier key for auth config
451+
&quot;authType&quot;: &quot;A String&quot;, # The type of authentication configured.
452+
&quot;configVariableTemplates&quot;: [ # Config variables to describe an `AuthConfig` for a `Connection`.
453+
{ # ConfigVariableTemplate provides metadata about a `ConfigVariable` that is used in a Connection.
454+
&quot;authorizationCodeLink&quot;: { # This configuration captures the details required to render an authorization link for the OAuth Authorization Code Flow. # Authorization code link options. To be populated if `ValueType` is `AUTHORIZATION_CODE`
455+
&quot;clientId&quot;: &quot;A String&quot;, # The client ID assigned to the Google Cloud Connectors OAuth app for the connector data source.
456+
&quot;enablePkce&quot;: True or False, # Whether to enable PKCE for the auth code flow.
457+
&quot;scopes&quot;: [ # The scopes for which the user will authorize Google Cloud Connectors on the connector data source.
458+
&quot;A String&quot;,
459+
],
460+
&quot;uri&quot;: &quot;A String&quot;, # The base URI the user must click to trigger the authorization code login flow.
461+
},
462+
&quot;description&quot;: &quot;A String&quot;, # Description.
463+
&quot;displayName&quot;: &quot;A String&quot;, # Display name of the parameter.
464+
&quot;enumOptions&quot;: [ # Enum options. To be populated if `ValueType` is `ENUM`
465+
{ # EnumOption definition
466+
&quot;displayName&quot;: &quot;A String&quot;, # Display name of the option.
467+
&quot;id&quot;: &quot;A String&quot;, # Id of the option.
468+
},
469+
],
470+
&quot;isAdvanced&quot;: True or False, # Indicates if current template is part of advanced settings
471+
&quot;key&quot;: &quot;A String&quot;, # Key of the config variable.
472+
&quot;required&quot;: True or False, # Flag represents that this `ConfigVariable` must be provided for a connection.
473+
&quot;requiredCondition&quot;: { # Struct for representing boolean expressions. # Condition under which a field would be required. The condition can be represented in the form of a logical expression.
474+
&quot;fieldComparisons&quot;: [ # A list of fields to be compared.
475+
{ # Field that needs to be compared.
476+
&quot;boolValue&quot;: True or False, # Boolean value
477+
&quot;comparator&quot;: &quot;A String&quot;, # Comparator to use for comparing the field value.
478+
&quot;intValue&quot;: &quot;A String&quot;, # Integer value
479+
&quot;key&quot;: &quot;A String&quot;, # Key of the field.
480+
&quot;stringValue&quot;: &quot;A String&quot;, # String value
481+
},
482+
],
483+
&quot;logicalExpressions&quot;: [ # A list of nested conditions to be compared.
484+
# Object with schema name: LogicalExpression
485+
],
486+
&quot;logicalOperator&quot;: &quot;A String&quot;, # The logical operator to use between the fields and conditions.
487+
},
488+
&quot;roleGrant&quot;: { # This configuration defines all the Cloud IAM roles that needs to be granted to a particular Google Cloud resource for the selected principal like service account. These configurations will let UI display to customers what IAM roles need to be granted by them. Or these configurations can be used by the UI to render a &#x27;grant&#x27; button to do the same on behalf of the user. # Role grant configuration for the config variable.
489+
&quot;helperTextTemplate&quot;: &quot;A String&quot;, # Template that UI can use to provide helper text to customers.
490+
&quot;principal&quot;: &quot;A String&quot;, # Prinicipal/Identity for whom the role need to assigned.
491+
&quot;resource&quot;: { # Resource definition # Resource on which the roles needs to be granted for the principal.
492+
&quot;pathTemplate&quot;: &quot;A String&quot;, # Template to uniquely represent a Google Cloud resource in a format IAM expects This is a template that can have references to other values provided in the config variable template.
493+
&quot;type&quot;: &quot;A String&quot;, # Different types of resource supported.
494+
},
495+
&quot;roles&quot;: [ # List of roles that need to be granted.
496+
&quot;A String&quot;,
497+
],
498+
},
499+
&quot;state&quot;: &quot;A String&quot;, # State of the config variable.
500+
&quot;validationRegex&quot;: &quot;A String&quot;, # Regular expression in RE2 syntax used for validating the `value` of a `ConfigVariable`.
501+
&quot;valueType&quot;: &quot;A String&quot;, # Type of the parameter: string, int, bool etc. consider custom type for the benefit for the validation.
502+
},
503+
],
504+
&quot;description&quot;: &quot;A String&quot;, # Connector specific description for an authentication template.
505+
&quot;displayName&quot;: &quot;A String&quot;, # Display name for authentication template.
506+
},
507+
],
448508
&quot;registrationDestinationConfig&quot;: { # DestinationConfigTemplate defines required destinations supported by the Connector. # Registration host destination config template.
449509
&quot;defaultPort&quot;: 42, # The default port.
450510
&quot;description&quot;: &quot;A String&quot;, # Description.
@@ -910,6 +970,66 @@ <h3>Method Details</h3>
910970
&quot;enrichmentSupported&quot;: True or False, # Enrichment Supported.
911971
&quot;eventListenerType&quot;: &quot;A String&quot;, # The type of the event listener for a specific connector.
912972
&quot;isEventingSupported&quot;: True or False, # Is Eventing Supported.
973+
&quot;listenerAuthConfigTemplates&quot;: [ # ListenerAuthConfigTemplates represents the auth values for the event listener.
974+
{ # AuthConfigTemplate defines required field over an authentication type.
975+
&quot;authKey&quot;: &quot;A String&quot;, # Identifier key for auth config
976+
&quot;authType&quot;: &quot;A String&quot;, # The type of authentication configured.
977+
&quot;configVariableTemplates&quot;: [ # Config variables to describe an `AuthConfig` for a `Connection`.
978+
{ # ConfigVariableTemplate provides metadata about a `ConfigVariable` that is used in a Connection.
979+
&quot;authorizationCodeLink&quot;: { # This configuration captures the details required to render an authorization link for the OAuth Authorization Code Flow. # Authorization code link options. To be populated if `ValueType` is `AUTHORIZATION_CODE`
980+
&quot;clientId&quot;: &quot;A String&quot;, # The client ID assigned to the Google Cloud Connectors OAuth app for the connector data source.
981+
&quot;enablePkce&quot;: True or False, # Whether to enable PKCE for the auth code flow.
982+
&quot;scopes&quot;: [ # The scopes for which the user will authorize Google Cloud Connectors on the connector data source.
983+
&quot;A String&quot;,
984+
],
985+
&quot;uri&quot;: &quot;A String&quot;, # The base URI the user must click to trigger the authorization code login flow.
986+
},
987+
&quot;description&quot;: &quot;A String&quot;, # Description.
988+
&quot;displayName&quot;: &quot;A String&quot;, # Display name of the parameter.
989+
&quot;enumOptions&quot;: [ # Enum options. To be populated if `ValueType` is `ENUM`
990+
{ # EnumOption definition
991+
&quot;displayName&quot;: &quot;A String&quot;, # Display name of the option.
992+
&quot;id&quot;: &quot;A String&quot;, # Id of the option.
993+
},
994+
],
995+
&quot;isAdvanced&quot;: True or False, # Indicates if current template is part of advanced settings
996+
&quot;key&quot;: &quot;A String&quot;, # Key of the config variable.
997+
&quot;required&quot;: True or False, # Flag represents that this `ConfigVariable` must be provided for a connection.
998+
&quot;requiredCondition&quot;: { # Struct for representing boolean expressions. # Condition under which a field would be required. The condition can be represented in the form of a logical expression.
999+
&quot;fieldComparisons&quot;: [ # A list of fields to be compared.
1000+
{ # Field that needs to be compared.
1001+
&quot;boolValue&quot;: True or False, # Boolean value
1002+
&quot;comparator&quot;: &quot;A String&quot;, # Comparator to use for comparing the field value.
1003+
&quot;intValue&quot;: &quot;A String&quot;, # Integer value
1004+
&quot;key&quot;: &quot;A String&quot;, # Key of the field.
1005+
&quot;stringValue&quot;: &quot;A String&quot;, # String value
1006+
},
1007+
],
1008+
&quot;logicalExpressions&quot;: [ # A list of nested conditions to be compared.
1009+
# Object with schema name: LogicalExpression
1010+
],
1011+
&quot;logicalOperator&quot;: &quot;A String&quot;, # The logical operator to use between the fields and conditions.
1012+
},
1013+
&quot;roleGrant&quot;: { # This configuration defines all the Cloud IAM roles that needs to be granted to a particular Google Cloud resource for the selected principal like service account. These configurations will let UI display to customers what IAM roles need to be granted by them. Or these configurations can be used by the UI to render a &#x27;grant&#x27; button to do the same on behalf of the user. # Role grant configuration for the config variable.
1014+
&quot;helperTextTemplate&quot;: &quot;A String&quot;, # Template that UI can use to provide helper text to customers.
1015+
&quot;principal&quot;: &quot;A String&quot;, # Prinicipal/Identity for whom the role need to assigned.
1016+
&quot;resource&quot;: { # Resource definition # Resource on which the roles needs to be granted for the principal.
1017+
&quot;pathTemplate&quot;: &quot;A String&quot;, # Template to uniquely represent a Google Cloud resource in a format IAM expects This is a template that can have references to other values provided in the config variable template.
1018+
&quot;type&quot;: &quot;A String&quot;, # Different types of resource supported.
1019+
},
1020+
&quot;roles&quot;: [ # List of roles that need to be granted.
1021+
&quot;A String&quot;,
1022+
],
1023+
},
1024+
&quot;state&quot;: &quot;A String&quot;, # State of the config variable.
1025+
&quot;validationRegex&quot;: &quot;A String&quot;, # Regular expression in RE2 syntax used for validating the `value` of a `ConfigVariable`.
1026+
&quot;valueType&quot;: &quot;A String&quot;, # Type of the parameter: string, int, bool etc. consider custom type for the benefit for the validation.
1027+
},
1028+
],
1029+
&quot;description&quot;: &quot;A String&quot;, # Connector specific description for an authentication template.
1030+
&quot;displayName&quot;: &quot;A String&quot;, # Display name for authentication template.
1031+
},
1032+
],
9131033
&quot;registrationDestinationConfig&quot;: { # DestinationConfigTemplate defines required destinations supported by the Connector. # Registration host destination config template.
9141034
&quot;defaultPort&quot;: 42, # The default port.
9151035
&quot;description&quot;: &quot;A String&quot;, # Description.

0 commit comments

Comments
 (0)