Skip to content

Commit e313580

Browse files
yoshi-automationsofisl
authored andcommitted
feat(connectors): update the API
#### connectors:v1 The following keys were added: - resources.projects.resources.locations.resources.endpointAttachments.methods.get.parameters.view.description - resources.projects.resources.locations.resources.endpointAttachments.methods.get.parameters.view.enum - resources.projects.resources.locations.resources.endpointAttachments.methods.get.parameters.view.enumDescriptions - resources.projects.resources.locations.resources.endpointAttachments.methods.get.parameters.view.location - resources.projects.resources.locations.resources.endpointAttachments.methods.get.parameters.view.type - resources.projects.resources.locations.resources.endpointAttachments.methods.list.parameters.view.description - resources.projects.resources.locations.resources.endpointAttachments.methods.list.parameters.view.enum - resources.projects.resources.locations.resources.endpointAttachments.methods.list.parameters.view.enumDescriptions - resources.projects.resources.locations.resources.endpointAttachments.methods.list.parameters.view.location - resources.projects.resources.locations.resources.endpointAttachments.methods.list.parameters.view.type - schemas.AuthConfigTemplate.properties.isDefault.description - schemas.AuthConfigTemplate.properties.isDefault.type - schemas.Connection.properties.host.description - schemas.Connection.properties.host.readOnly - schemas.Connection.properties.host.type - schemas.Connection.properties.tlsServiceDirectory.description - schemas.Connection.properties.tlsServiceDirectory.readOnly - schemas.Connection.properties.tlsServiceDirectory.type - schemas.ConnectorVersion.properties.isAsyncOperationsSupported.description - schemas.ConnectorVersion.properties.isAsyncOperationsSupported.readOnly - schemas.ConnectorVersion.properties.isAsyncOperationsSupported.type - schemas.EndpointAttachment.properties.state.description - schemas.EndpointAttachment.properties.state.enum - schemas.EndpointAttachment.properties.state.enumDescriptions - schemas.EndpointAttachment.properties.state.readOnly - schemas.EndpointAttachment.properties.state.type
1 parent 07afb29 commit e313580

File tree

2 files changed

+103
-1
lines changed

2 files changed

+103
-1
lines changed

discovery/connectors-v1.json

Lines changed: 75 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1320,6 +1320,21 @@
13201320
"pattern": "^projects/[^/]+/locations/[^/]+/endpointAttachments/[^/]+$",
13211321
"required": true,
13221322
"type": "string"
1323+
},
1324+
"view": {
1325+
"description": "Optional. Specifies which fields of the EndpointAttachment are returned in the response. Defaults to `ENDPOINT_ATTACHMENT_VIEW_BASIC` view.",
1326+
"enum": [
1327+
"ENDPOINT_ATTACHMENT_VIEW_UNSPECIFIED",
1328+
"ENDPOINT_ATTACHMENT_VIEW_BASIC",
1329+
"ENDPOINT_ATTACHMENT_VIEW_FULL"
1330+
],
1331+
"enumDescriptions": [
1332+
"ENDPOINT_ATTACHMENT_VIEW_UNSPECIFIED.",
1333+
"Do not include status.",
1334+
"Includes Status."
1335+
],
1336+
"location": "query",
1337+
"type": "string"
13231338
}
13241339
},
13251340
"path": "v1/{+name}",
@@ -1366,6 +1381,21 @@
13661381
"pattern": "^projects/[^/]+/locations/[^/]+$",
13671382
"required": true,
13681383
"type": "string"
1384+
},
1385+
"view": {
1386+
"description": "Optional. Specifies which fields of the EndpointAttachment are returned in the response. Defaults to `ENDPOINT_ATTACHMENT_VIEW_BASIC` view.",
1387+
"enum": [
1388+
"ENDPOINT_ATTACHMENT_VIEW_UNSPECIFIED",
1389+
"ENDPOINT_ATTACHMENT_VIEW_BASIC",
1390+
"ENDPOINT_ATTACHMENT_VIEW_FULL"
1391+
],
1392+
"enumDescriptions": [
1393+
"ENDPOINT_ATTACHMENT_VIEW_UNSPECIFIED.",
1394+
"Do not include status.",
1395+
"Includes Status."
1396+
],
1397+
"location": "query",
1398+
"type": "string"
13691399
}
13701400
},
13711401
"path": "v1/{+parent}/endpointAttachments",
@@ -2427,7 +2457,7 @@
24272457
}
24282458
}
24292459
},
2430-
"revision": "20240729",
2460+
"revision": "20240822",
24312461
"rootUrl": "https://connectors.googleapis.com/",
24322462
"schemas": {
24332463
"AuditConfig": {
@@ -2582,6 +2612,10 @@
25822612
"displayName": {
25832613
"description": "Display name for authentication template.",
25842614
"type": "string"
2615+
},
2616+
"isDefault": {
2617+
"description": "Whether the auth config is the default one.",
2618+
"type": "boolean"
25852619
}
25862620
},
25872621
"type": "object"
@@ -2925,6 +2959,11 @@
29252959
"description": "Output only. Eventing Runtime Data.",
29262960
"readOnly": true
29272961
},
2962+
"host": {
2963+
"description": "Output only. The name of the Hostname of the Service Directory service with TLS.",
2964+
"readOnly": true,
2965+
"type": "string"
2966+
},
29282967
"imageLocation": {
29292968
"description": "Output only. GCR location where the runtime image is stored. formatted like: gcr.io/{bucketName}/{imageName}",
29302969
"readOnly": true,
@@ -2996,6 +3035,11 @@
29963035
"description": "Optional. Suspended indicates if a user has suspended a connection or not.",
29973036
"type": "boolean"
29983037
},
3038+
"tlsServiceDirectory": {
3039+
"description": "Output only. The name of the Service Directory service with TLS.",
3040+
"readOnly": true,
3041+
"type": "string"
3042+
},
29993043
"updateTime": {
30003044
"description": "Output only. Updated time.",
30013045
"format": "google-datetime",
@@ -3344,6 +3388,11 @@
33443388
"description": "Output only. Eventing configuration supported by the Connector.",
33453389
"readOnly": true
33463390
},
3391+
"isAsyncOperationsSupported": {
3392+
"description": "Output only. Is async operations supported.",
3393+
"readOnly": true,
3394+
"type": "boolean"
3395+
},
33473396
"isCustomActionsSupported": {
33483397
"description": "Output only. Is custom actions supported.",
33493398
"readOnly": true,
@@ -4039,6 +4088,31 @@
40394088
"description": "Required. The path of the service attachment",
40404089
"type": "string"
40414090
},
4091+
"state": {
4092+
"description": "Output only. The Private Service Connect Connection Endpoint State. This value is only available in the Full view.",
4093+
"enum": [
4094+
"STATE_UNSPECIFIED",
4095+
"PENDING",
4096+
"ACCEPTED",
4097+
"REJECTED",
4098+
"CLOSED",
4099+
"FROZEN",
4100+
"NEEDS_ATTENTION",
4101+
"ACCEPTED_NOT_PROGRAMMED"
4102+
],
4103+
"enumDescriptions": [
4104+
"STATE_UNSPECIFIED.",
4105+
"The endpoint is pending acceptance by the producer.",
4106+
"The endpoint has been accepted by the producer.",
4107+
"The endpoint has been rejected by the producer.",
4108+
"The endpoint has been closed by the producer and will not serve traffic going forward.",
4109+
"The endpoint has been frozen by the producer and will not serve traffic.",
4110+
"The endpoint has been accepted by the producer, but it is not ready to serve the traffic due to producer side issues.",
4111+
"The endpoint has been accepted by the producer, but it cannot be programmed to the data plane due to invariant violation."
4112+
],
4113+
"readOnly": true,
4114+
"type": "string"
4115+
},
40424116
"updateTime": {
40434117
"description": "Output only. Updated time.",
40444118
"format": "google-datetime",

src/apis/connectors/v1.ts

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -211,6 +211,10 @@ export namespace connectors_v1 {
211211
* Display name for authentication template.
212212
*/
213213
displayName?: string | null;
214+
/**
215+
* Whether the auth config is the default one.
216+
*/
217+
isDefault?: boolean | null;
214218
}
215219
/**
216220
* This configuration captures the details required to render an authorization link for the OAuth Authorization Code Flow.
@@ -425,6 +429,10 @@ export namespace connectors_v1 {
425429
* Output only. Eventing Runtime Data.
426430
*/
427431
eventingRuntimeData?: Schema$EventingRuntimeData;
432+
/**
433+
* Output only. The name of the Hostname of the Service Directory service with TLS.
434+
*/
435+
host?: string | null;
428436
/**
429437
* Output only. GCR location where the runtime image is stored. formatted like: gcr.io/{bucketName\}/{imageName\}
430438
*/
@@ -477,6 +485,10 @@ export namespace connectors_v1 {
477485
* Optional. Suspended indicates if a user has suspended a connection or not.
478486
*/
479487
suspended?: boolean | null;
488+
/**
489+
* Output only. The name of the Service Directory service with TLS.
490+
*/
491+
tlsServiceDirectory?: string | null;
480492
/**
481493
* Output only. Updated time.
482494
*/
@@ -691,6 +703,10 @@ export namespace connectors_v1 {
691703
* Output only. Eventing configuration supported by the Connector.
692704
*/
693705
eventingConfigTemplate?: Schema$EventingConfigTemplate;
706+
/**
707+
* Output only. Is async operations supported.
708+
*/
709+
isAsyncOperationsSupported?: boolean | null;
694710
/**
695711
* Output only. Is custom actions supported.
696712
*/
@@ -1119,6 +1135,10 @@ export namespace connectors_v1 {
11191135
* Required. The path of the service attachment
11201136
*/
11211137
serviceAttachment?: string | null;
1138+
/**
1139+
* Output only. The Private Service Connect Connection Endpoint State. This value is only available in the Full view.
1140+
*/
1141+
state?: string | null;
11221142
/**
11231143
* Output only. Updated time.
11241144
*/
@@ -7131,6 +7151,10 @@ export namespace connectors_v1 {
71317151
* Required. Resource name of the form: `projects/x/locations/x/endpointAttachments/x`
71327152
*/
71337153
name?: string;
7154+
/**
7155+
* Optional. Specifies which fields of the EndpointAttachment are returned in the response. Defaults to `ENDPOINT_ATTACHMENT_VIEW_BASIC` view.
7156+
*/
7157+
view?: string;
71347158
}
71357159
export interface Params$Resource$Projects$Locations$Endpointattachments$List
71367160
extends StandardParameters {
@@ -7154,6 +7178,10 @@ export namespace connectors_v1 {
71547178
* Required. Parent resource od the EndpointAttachment, of the form: `projects/x/locations/x`
71557179
*/
71567180
parent?: string;
7181+
/**
7182+
* Optional. Specifies which fields of the EndpointAttachment are returned in the response. Defaults to `ENDPOINT_ATTACHMENT_VIEW_BASIC` view.
7183+
*/
7184+
view?: string;
71577185
}
71587186
export interface Params$Resource$Projects$Locations$Endpointattachments$Patch
71597187
extends StandardParameters {

0 commit comments

Comments
 (0)