From a7b25c23aeee35bf9d5032cdf76ff10c5ca57d03 Mon Sep 17 00:00:00 2001 From: swagger-automation Date: Wed, 17 Aug 2022 08:37:01 +0000 Subject: [PATCH 1/2] [AutoSync] 41dd785da9 GoogleSheets Swagger changes --- .../2018-06-01/entityTypes/LinkedService.json | 37 +++++++++++++++++++ .../datafactory/resource-manager/readme.md | 2 +- 2 files changed, 38 insertions(+), 1 deletion(-) diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/LinkedService.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/LinkedService.json index fd8aae8ec5f4..27d845f65e6b 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/LinkedService.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/LinkedService.json @@ -3489,6 +3489,43 @@ "password" ] }, + "GoogleSheetsLinkedService": { + "x-ms-discriminator-value": "GoogleSheets", + "description": "Linked service for GoogleSheets.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/LinkedService" + } + ], + "properties": { + "typeProperties": { + "description": "GoogleSheets linked service properties.", + "x-ms-client-flatten": true, + "$ref": "#/definitions/GoogleSheetsLinkedServiceTypeProperties" + } + }, + "required": [ + "typeProperties" + ] + }, + "GoogleSheetsLinkedServiceTypeProperties": { + "description": "GoogleSheets linked service type properties.", + "type": "object", + "properties": { + "apiToken": { + "$ref": "../datafactory.json#/definitions/SecretBase", + "description": "The api token for the GoogleSheets source." + }, + "encryptedCredential": { + "type": "object", + "description": "The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string)." + } + }, + "required": [ + "apiToken" + ] + }, "AmazonS3LinkedService": { "x-ms-discriminator-value": "AmazonS3", "description": "Linked service for Amazon S3.", diff --git a/specification/datafactory/resource-manager/readme.md b/specification/datafactory/resource-manager/readme.md index 33952b5bea04..c8ed09a67608 100644 --- a/specification/datafactory/resource-manager/readme.md +++ b/specification/datafactory/resource-manager/readme.md @@ -66,7 +66,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: - - repo: azure-sdk-for-net-track2 + - repo: azure-sdk-for-net - repo: azure-sdk-for-python-track2 - repo: azure-sdk-for-java - repo: azure-sdk-for-go From fd70a766a42ddb1ccfe4782a57707bfbf0c7e776 Mon Sep 17 00:00:00 2001 From: swagger-automation Date: Fri, 19 Aug 2022 07:22:22 +0000 Subject: [PATCH 2/2] [AutoSync] 41dd785da9 GoogleSheets Swagger changes --- specification/datafactory/resource-manager/readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/datafactory/resource-manager/readme.md b/specification/datafactory/resource-manager/readme.md index c8ed09a67608..33952b5bea04 100644 --- a/specification/datafactory/resource-manager/readme.md +++ b/specification/datafactory/resource-manager/readme.md @@ -66,7 +66,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: - - repo: azure-sdk-for-net + - repo: azure-sdk-for-net-track2 - repo: azure-sdk-for-python-track2 - repo: azure-sdk-for-java - repo: azure-sdk-for-go