Skip to content

Commit 6778c8d

Browse files
yoshi-automationsofisl
authored andcommittedAug 8, 2023
feat(contactcenteraiplatform)!: update the API
BREAKING CHANGE: This release has breaking changes. #### contactcenteraiplatform:v1alpha1 The following keys were deleted: - resources.projects.resources.locations.resources.contactCenters.methods.getAuthentication-config.description - resources.projects.resources.locations.resources.contactCenters.methods.getAuthentication-config.flatPath - resources.projects.resources.locations.resources.contactCenters.methods.getAuthentication-config.httpMethod - resources.projects.resources.locations.resources.contactCenters.methods.getAuthentication-config.id - resources.projects.resources.locations.resources.contactCenters.methods.getAuthentication-config.parameterOrder - resources.projects.resources.locations.resources.contactCenters.methods.getAuthentication-config.parameters.name.description - resources.projects.resources.locations.resources.contactCenters.methods.getAuthentication-config.parameters.name.location - resources.projects.resources.locations.resources.contactCenters.methods.getAuthentication-config.parameters.name.pattern - resources.projects.resources.locations.resources.contactCenters.methods.getAuthentication-config.parameters.name.required - resources.projects.resources.locations.resources.contactCenters.methods.getAuthentication-config.parameters.name.type - resources.projects.resources.locations.resources.contactCenters.methods.getAuthentication-config.path - resources.projects.resources.locations.resources.contactCenters.methods.getAuthentication-config.response.$ref - resources.projects.resources.locations.resources.contactCenters.methods.getAuthentication-config.scopes - resources.projects.resources.locations.resources.contactCenters.methods.updateAuthentication-config.description - resources.projects.resources.locations.resources.contactCenters.methods.updateAuthentication-config.flatPath - resources.projects.resources.locations.resources.contactCenters.methods.updateAuthentication-config.httpMethod - resources.projects.resources.locations.resources.contactCenters.methods.updateAuthentication-config.id - resources.projects.resources.locations.resources.contactCenters.methods.updateAuthentication-config.parameterOrder - resources.projects.resources.locations.resources.contactCenters.methods.updateAuthentication-config.parameters.name.description - resources.projects.resources.locations.resources.contactCenters.methods.updateAuthentication-config.parameters.name.location - resources.projects.resources.locations.resources.contactCenters.methods.updateAuthentication-config.parameters.name.pattern - resources.projects.resources.locations.resources.contactCenters.methods.updateAuthentication-config.parameters.name.required - resources.projects.resources.locations.resources.contactCenters.methods.updateAuthentication-config.parameters.name.type - resources.projects.resources.locations.resources.contactCenters.methods.updateAuthentication-config.parameters.updateMask.description - resources.projects.resources.locations.resources.contactCenters.methods.updateAuthentication-config.parameters.updateMask.format - resources.projects.resources.locations.resources.contactCenters.methods.updateAuthentication-config.parameters.updateMask.location - resources.projects.resources.locations.resources.contactCenters.methods.updateAuthentication-config.parameters.updateMask.type - resources.projects.resources.locations.resources.contactCenters.methods.updateAuthentication-config.path - resources.projects.resources.locations.resources.contactCenters.methods.updateAuthentication-config.request.$ref - resources.projects.resources.locations.resources.contactCenters.methods.updateAuthentication-config.response.$ref - resources.projects.resources.locations.resources.contactCenters.methods.updateAuthentication-config.scopes - schemas.AuthenticationConfig.id - schemas.AuthenticationConfig.properties.basicAuthSetting.$ref - schemas.AuthenticationConfig.properties.name.description - schemas.AuthenticationConfig.properties.name.type - schemas.AuthenticationConfig.properties.samlSetting.$ref - schemas.AuthenticationConfig.type - schemas.BasicAuthConfig.id - schemas.BasicAuthConfig.properties.enabled.type - schemas.BasicAuthConfig.type - schemas.SamlConfig.id - schemas.SamlConfig.properties.cert.description - schemas.SamlConfig.properties.cert.type - schemas.SamlConfig.properties.emailMapping.description - schemas.SamlConfig.properties.emailMapping.type - schemas.SamlConfig.properties.entityId.description - schemas.SamlConfig.properties.entityId.type - schemas.SamlConfig.properties.loginUri.description - schemas.SamlConfig.properties.loginUri.type - schemas.SamlConfig.type The following keys were changed: - schemas.ContactCenter.properties.state.enum - schemas.ContactCenter.properties.state.enumDescriptions
1 parent cc40ccb commit 6778c8d

File tree

4 files changed

+9
-1080
lines changed

4 files changed

+9
-1080
lines changed
 

‎discovery/contactcenteraiplatform-v1alpha1.json

+5-109
Original file line numberDiff line numberDiff line change
@@ -297,31 +297,6 @@
297297
"https://www.googleapis.com/auth/cloud-platform"
298298
]
299299
},
300-
"getAuthentication-config": {
301-
"description": "",
302-
"flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/contactCenters/{contactCentersId}/authentication-config",
303-
"httpMethod": "GET",
304-
"id": "contactcenteraiplatform.projects.locations.contactCenters.getAuthentication-config",
305-
"parameterOrder": [
306-
"name"
307-
],
308-
"parameters": {
309-
"name": {
310-
"description": "Required. The name of the AuthenticationConfig resource. Format: projects/{project}/locations/{location}/contactCenters/{contact_center}/authentication-config",
311-
"location": "path",
312-
"pattern": "^projects/[^/]+/locations/[^/]+/contactCenters/[^/]+/authentication-config$",
313-
"required": true,
314-
"type": "string"
315-
}
316-
},
317-
"path": "v1alpha1/{+name}",
318-
"response": {
319-
"$ref": "AuthenticationConfig"
320-
},
321-
"scopes": [
322-
"https://www.googleapis.com/auth/cloud-platform"
323-
]
324-
},
325300
"list": {
326301
"description": "Lists ContactCenters in a given project and location.",
327302
"flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/contactCenters",
@@ -406,40 +381,6 @@
406381
"scopes": [
407382
"https://www.googleapis.com/auth/cloud-platform"
408383
]
409-
},
410-
"updateAuthentication-config": {
411-
"description": "",
412-
"flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/contactCenters/{contactCentersId}/authentication-config",
413-
"httpMethod": "PATCH",
414-
"id": "contactcenteraiplatform.projects.locations.contactCenters.updateAuthentication-config",
415-
"parameterOrder": [
416-
"name"
417-
],
418-
"parameters": {
419-
"name": {
420-
"description": "Name of authentication config. Format: projects/{project}/locations/{location}/contactCenters/{contact_center}/authentication-config",
421-
"location": "path",
422-
"pattern": "^projects/[^/]+/locations/[^/]+/contactCenters/[^/]+/authentication-config$",
423-
"required": true,
424-
"type": "string"
425-
},
426-
"updateMask": {
427-
"description": "Required. Indicates which fields in the provided authentication config to update. Must be specified and non-empty.",
428-
"format": "google-fieldmask",
429-
"location": "query",
430-
"type": "string"
431-
}
432-
},
433-
"path": "v1alpha1/{+name}",
434-
"request": {
435-
"$ref": "AuthenticationConfig"
436-
},
437-
"response": {
438-
"$ref": "AuthenticationConfig"
439-
},
440-
"scopes": [
441-
"https://www.googleapis.com/auth/cloud-platform"
442-
]
443384
}
444385
}
445386
},
@@ -571,7 +512,7 @@
571512
}
572513
}
573514
},
574-
"revision": "20230628",
515+
"revision": "20230731",
575516
"rootUrl": "https://contactcenteraiplatform.googleapis.com/",
576517
"schemas": {
577518
"AdminUser": {
@@ -589,31 +530,6 @@
589530
},
590531
"type": "object"
591532
},
592-
"AuthenticationConfig": {
593-
"id": "AuthenticationConfig",
594-
"properties": {
595-
"basicAuthSetting": {
596-
"$ref": "BasicAuthConfig"
597-
},
598-
"name": {
599-
"description": "Name of authentication config. Format: projects/{project}/locations/{location}/contactCenters/{contact_center}/authentication-config",
600-
"type": "string"
601-
},
602-
"samlSetting": {
603-
"$ref": "SamlConfig"
604-
}
605-
},
606-
"type": "object"
607-
},
608-
"BasicAuthConfig": {
609-
"id": "BasicAuthConfig",
610-
"properties": {
611-
"enabled": {
612-
"type": "boolean"
613-
}
614-
},
615-
"type": "object"
616-
},
617533
"CancelOperationRequest": {
618534
"description": "The request message for Operations.CancelOperation.",
619535
"id": "CancelOperationRequest",
@@ -678,7 +594,8 @@
678594
"STATE_TERMINATING",
679595
"STATE_FAILED",
680596
"STATE_TERMINATING_FAILED",
681-
"STATE_TERMINATED"
597+
"STATE_TERMINATED",
598+
"STATE_IN_GRACE_PERIOD"
682599
],
683600
"enumDescriptions": [
684601
"The default value. This value is used if the state is omitted.",
@@ -687,7 +604,8 @@
687604
"State TERMINATING",
688605
"State FAILED",
689606
"State TERMINATING_FAILED",
690-
"State TERMINATED"
607+
"State TERMINATED",
608+
"State IN_GRACE_PERIOD"
691609
],
692610
"readOnly": true,
693611
"type": "string"
@@ -1060,28 +978,6 @@
1060978
},
1061979
"type": "object"
1062980
},
1063-
"SamlConfig": {
1064-
"id": "SamlConfig",
1065-
"properties": {
1066-
"cert": {
1067-
"description": "X.509 public certificate for IdP",
1068-
"type": "string"
1069-
},
1070-
"emailMapping": {
1071-
"description": "IdP field that maps to the user’s email address",
1072-
"type": "string"
1073-
},
1074-
"entityId": {
1075-
"description": "The entity ID for the identity provider. Example: https://[IDP Domain]/saml/metadata",
1076-
"type": "string"
1077-
},
1078-
"loginUri": {
1079-
"description": "The sso login url. Example: https://[IDP Domain]/saml/sso/login",
1080-
"type": "string"
1081-
}
1082-
},
1083-
"type": "object"
1084-
},
1085981
"Status": {
1086982
"description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).",
1087983
"id": "Status",

‎src/apis/contactcenteraiplatform/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ export function contactcenteraiplatform(
2727
options: contactcenteraiplatform_v1alpha1.Options
2828
): contactcenteraiplatform_v1alpha1.Contactcenteraiplatform;
2929
export function contactcenteraiplatform<
30-
T = contactcenteraiplatform_v1alpha1.Contactcenteraiplatform
30+
T = contactcenteraiplatform_v1alpha1.Contactcenteraiplatform,
3131
>(
3232
this: GoogleConfigurable,
3333
versionOrOptions: 'v1alpha1' | contactcenteraiplatform_v1alpha1.Options

‎src/apis/contactcenteraiplatform/package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"url": "https://github.com/googleapis/google-api-nodejs-client.git"
1919
},
2020
"engines": {
21-
"node": ">=14.0.0"
21+
"node": ">=12.0.0"
2222
},
2323
"scripts": {
2424
"fix": "gts fix",
@@ -33,10 +33,10 @@
3333
"devDependencies": {
3434
"@microsoft/api-documenter": "^7.8.10",
3535
"@microsoft/api-extractor": "^7.8.10",
36-
"gts": "^5.0.0",
36+
"gts": "^3.1.1",
3737
"null-loader": "^4.0.0",
3838
"ts-loader": "^9.0.0",
39-
"typescript": "^5.1.6",
39+
"typescript": "~4.8.4",
4040
"webpack": "^5.0.0",
4141
"webpack-cli": "^5.0.0"
4242
}

‎src/apis/contactcenteraiplatform/v1alpha1.ts

-967
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)
Please sign in to comment.