Skip to content

Commit b256046

Browse files
author
SDKAuto
committed
CodeGen from PR 25789 in Azure/azure-rest-api-specs
Merge 68b631b1461142c10212515706f75478c9742b1e into 3d59aae5716739a772ed9f1c5376f0d9005e1c4e
1 parent de9f925 commit b256046

File tree

777 files changed

+173
-50710
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

777 files changed

+173
-50710
lines changed

sdk/datafactory/azure-resourcemanager-datafactory/CHANGELOG.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
# Release History
22

3-
## 1.0.0-beta.24 (Unreleased)
3+
## 1.0.0-beta.1 (2023-10-18)
4+
5+
- Azure Resource Manager DataFactory client library for Java. This package contains Microsoft Azure SDK for DataFactory Management SDK. The Azure Data Factory V2 management API provides a RESTful set of web services that interact with Azure Data Factory V2 services. Package tag package-2018-06. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt).
46

57
### Features Added
68

sdk/datafactory/azure-resourcemanager-datafactory/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ Various documentation is available to help you get started
3232
<dependency>
3333
<groupId>com.azure.resourcemanager</groupId>
3434
<artifactId>azure-resourcemanager-datafactory</artifactId>
35-
<version>1.0.0-beta.23</version>
35+
<version>1.0.0-beta.24</version>
3636
</dependency>
3737
```
3838
[//]: # ({x-version-update-end})

sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/DataFactoryManager.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@ public DataFactoryManager authenticate(TokenCredential credential, AzureProfile
294294
.append("-")
295295
.append("com.azure.resourcemanager.datafactory")
296296
.append("/")
297-
.append("1.0.0-beta.23");
297+
.append("1.0.0-beta.1");
298298
if (!Configuration.getGlobalConfiguration().get("AZURE_TELEMETRY_DISABLED", false)) {
299299
userAgentBuilder
300300
.append(" (")

sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/GoogleAdWordsLinkedServiceTypeProperties.java

Lines changed: 80 additions & 74 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,6 @@
1212
/** Google AdWords service linked service properties. */
1313
@Fluent
1414
public final class GoogleAdWordsLinkedServiceTypeProperties {
15-
/*
16-
* Properties used to connect to GoogleAds. It is mutually exclusive with any other properties in the linked
17-
* service. Type: object.
18-
*/
19-
@JsonProperty(value = "connectionProperties")
20-
private Object connectionProperties;
21-
2215
/*
2316
* The Client customer ID of the AdWords account that you want to fetch report data for. Type: string (or
2417
* Expression with resultType string).
@@ -66,26 +59,34 @@ public final class GoogleAdWordsLinkedServiceTypeProperties {
6659
private Object email;
6760

6861
/*
69-
* The full path to the .p12 key file that is used to authenticate the service account email address and can only
70-
* be used on self-hosted IR. Type: string (or Expression with resultType string).
62+
* The private key that is used to authenticate the service account email address and can only be used on
63+
* self-hosted IR.
7164
*/
72-
@JsonProperty(value = "keyFilePath")
73-
private Object keyFilePath;
65+
@JsonProperty(value = "privateKey")
66+
private SecretBase privateKey;
7467

7568
/*
76-
* The full path of the .pem file containing trusted CA certificates for verifying the server when connecting over
77-
* SSL. This property can only be set when using SSL on self-hosted IR. The default value is the cacerts.pem file
78-
* installed with the IR. Type: string (or Expression with resultType string).
69+
* The customer ID of the Google Ads Manager account through which you want to fetch report data of specific
70+
* Customer. Type: string (or Expression with resultType string).
7971
*/
80-
@JsonProperty(value = "trustedCertPath")
81-
private Object trustedCertPath;
72+
@JsonProperty(value = "loginCustomerID")
73+
private Object loginCustomerId;
8274

8375
/*
84-
* Specifies whether to use a CA certificate from the system trust store or from a specified PEM file. The default
85-
* value is false. Type: boolean (or Expression with resultType boolean).
76+
* The Google Ads API major version such as v14. The supported major versions could be found on
77+
* https://developers.google.com/google-ads/api/docs/sunset-dates#timetable. Type: string (or Expression with
78+
* resultType string).
8679
*/
87-
@JsonProperty(value = "useSystemTrustStore")
88-
private Object useSystemTrustStore;
80+
@JsonProperty(value = "googleAdsApiVersion")
81+
private Object googleAdsApiVersion;
82+
83+
/*
84+
* Specifies whether to use the legacy data type mappings, which maps float, int32 and int64 from Google to string.
85+
* Do not set this to true unless you want to keep backward compatibility with legacy driver's data type mappings.
86+
* Type: boolean (or Expression with resultType boolean).
87+
*/
88+
@JsonProperty(value = "supportLegacyDataTypes")
89+
private Object supportLegacyDataTypes;
8990

9091
/*
9192
* The encrypted credential used for authentication. Credentials are encrypted using the integration runtime
@@ -98,28 +99,6 @@ public final class GoogleAdWordsLinkedServiceTypeProperties {
9899
public GoogleAdWordsLinkedServiceTypeProperties() {
99100
}
100101

101-
/**
102-
* Get the connectionProperties property: Properties used to connect to GoogleAds. It is mutually exclusive with any
103-
* other properties in the linked service. Type: object.
104-
*
105-
* @return the connectionProperties value.
106-
*/
107-
public Object connectionProperties() {
108-
return this.connectionProperties;
109-
}
110-
111-
/**
112-
* Set the connectionProperties property: Properties used to connect to GoogleAds. It is mutually exclusive with any
113-
* other properties in the linked service. Type: object.
114-
*
115-
* @param connectionProperties the connectionProperties value to set.
116-
* @return the GoogleAdWordsLinkedServiceTypeProperties object itself.
117-
*/
118-
public GoogleAdWordsLinkedServiceTypeProperties withConnectionProperties(Object connectionProperties) {
119-
this.connectionProperties = connectionProperties;
120-
return this;
121-
}
122-
123102
/**
124103
* Get the clientCustomerId property: The Client customer ID of the AdWords account that you want to fetch report
125104
* data for. Type: string (or Expression with resultType string).
@@ -274,70 +253,94 @@ public GoogleAdWordsLinkedServiceTypeProperties withEmail(Object email) {
274253
}
275254

276255
/**
277-
* Get the keyFilePath property: The full path to the .p12 key file that is used to authenticate the service account
278-
* email address and can only be used on self-hosted IR. Type: string (or Expression with resultType string).
256+
* Get the privateKey property: The private key that is used to authenticate the service account email address and
257+
* can only be used on self-hosted IR.
279258
*
280-
* @return the keyFilePath value.
259+
* @return the privateKey value.
281260
*/
282-
public Object keyFilePath() {
283-
return this.keyFilePath;
261+
public SecretBase privateKey() {
262+
return this.privateKey;
284263
}
285264

286265
/**
287-
* Set the keyFilePath property: The full path to the .p12 key file that is used to authenticate the service account
288-
* email address and can only be used on self-hosted IR. Type: string (or Expression with resultType string).
266+
* Set the privateKey property: The private key that is used to authenticate the service account email address and
267+
* can only be used on self-hosted IR.
289268
*
290-
* @param keyFilePath the keyFilePath value to set.
269+
* @param privateKey the privateKey value to set.
291270
* @return the GoogleAdWordsLinkedServiceTypeProperties object itself.
292271
*/
293-
public GoogleAdWordsLinkedServiceTypeProperties withKeyFilePath(Object keyFilePath) {
294-
this.keyFilePath = keyFilePath;
272+
public GoogleAdWordsLinkedServiceTypeProperties withPrivateKey(SecretBase privateKey) {
273+
this.privateKey = privateKey;
295274
return this;
296275
}
297276

298277
/**
299-
* Get the trustedCertPath property: The full path of the .pem file containing trusted CA certificates for verifying
300-
* the server when connecting over SSL. This property can only be set when using SSL on self-hosted IR. The default
301-
* value is the cacerts.pem file installed with the IR. Type: string (or Expression with resultType string).
278+
* Get the loginCustomerId property: The customer ID of the Google Ads Manager account through which you want to
279+
* fetch report data of specific Customer. Type: string (or Expression with resultType string).
302280
*
303-
* @return the trustedCertPath value.
281+
* @return the loginCustomerId value.
304282
*/
305-
public Object trustedCertPath() {
306-
return this.trustedCertPath;
283+
public Object loginCustomerId() {
284+
return this.loginCustomerId;
307285
}
308286

309287
/**
310-
* Set the trustedCertPath property: The full path of the .pem file containing trusted CA certificates for verifying
311-
* the server when connecting over SSL. This property can only be set when using SSL on self-hosted IR. The default
312-
* value is the cacerts.pem file installed with the IR. Type: string (or Expression with resultType string).
288+
* Set the loginCustomerId property: The customer ID of the Google Ads Manager account through which you want to
289+
* fetch report data of specific Customer. Type: string (or Expression with resultType string).
313290
*
314-
* @param trustedCertPath the trustedCertPath value to set.
291+
* @param loginCustomerId the loginCustomerId value to set.
315292
* @return the GoogleAdWordsLinkedServiceTypeProperties object itself.
316293
*/
317-
public GoogleAdWordsLinkedServiceTypeProperties withTrustedCertPath(Object trustedCertPath) {
318-
this.trustedCertPath = trustedCertPath;
294+
public GoogleAdWordsLinkedServiceTypeProperties withLoginCustomerId(Object loginCustomerId) {
295+
this.loginCustomerId = loginCustomerId;
319296
return this;
320297
}
321298

322299
/**
323-
* Get the useSystemTrustStore property: Specifies whether to use a CA certificate from the system trust store or
324-
* from a specified PEM file. The default value is false. Type: boolean (or Expression with resultType boolean).
300+
* Get the googleAdsApiVersion property: The Google Ads API major version such as v14. The supported major versions
301+
* could be found on https://developers.google.com/google-ads/api/docs/sunset-dates#timetable. Type: string (or
302+
* Expression with resultType string).
325303
*
326-
* @return the useSystemTrustStore value.
304+
* @return the googleAdsApiVersion value.
327305
*/
328-
public Object useSystemTrustStore() {
329-
return this.useSystemTrustStore;
306+
public Object googleAdsApiVersion() {
307+
return this.googleAdsApiVersion;
330308
}
331309

332310
/**
333-
* Set the useSystemTrustStore property: Specifies whether to use a CA certificate from the system trust store or
334-
* from a specified PEM file. The default value is false. Type: boolean (or Expression with resultType boolean).
311+
* Set the googleAdsApiVersion property: The Google Ads API major version such as v14. The supported major versions
312+
* could be found on https://developers.google.com/google-ads/api/docs/sunset-dates#timetable. Type: string (or
313+
* Expression with resultType string).
335314
*
336-
* @param useSystemTrustStore the useSystemTrustStore value to set.
315+
* @param googleAdsApiVersion the googleAdsApiVersion value to set.
337316
* @return the GoogleAdWordsLinkedServiceTypeProperties object itself.
338317
*/
339-
public GoogleAdWordsLinkedServiceTypeProperties withUseSystemTrustStore(Object useSystemTrustStore) {
340-
this.useSystemTrustStore = useSystemTrustStore;
318+
public GoogleAdWordsLinkedServiceTypeProperties withGoogleAdsApiVersion(Object googleAdsApiVersion) {
319+
this.googleAdsApiVersion = googleAdsApiVersion;
320+
return this;
321+
}
322+
323+
/**
324+
* Get the supportLegacyDataTypes property: Specifies whether to use the legacy data type mappings, which maps
325+
* float, int32 and int64 from Google to string. Do not set this to true unless you want to keep backward
326+
* compatibility with legacy driver's data type mappings. Type: boolean (or Expression with resultType boolean).
327+
*
328+
* @return the supportLegacyDataTypes value.
329+
*/
330+
public Object supportLegacyDataTypes() {
331+
return this.supportLegacyDataTypes;
332+
}
333+
334+
/**
335+
* Set the supportLegacyDataTypes property: Specifies whether to use the legacy data type mappings, which maps
336+
* float, int32 and int64 from Google to string. Do not set this to true unless you want to keep backward
337+
* compatibility with legacy driver's data type mappings. Type: boolean (or Expression with resultType boolean).
338+
*
339+
* @param supportLegacyDataTypes the supportLegacyDataTypes value to set.
340+
* @return the GoogleAdWordsLinkedServiceTypeProperties object itself.
341+
*/
342+
public GoogleAdWordsLinkedServiceTypeProperties withSupportLegacyDataTypes(Object supportLegacyDataTypes) {
343+
this.supportLegacyDataTypes = supportLegacyDataTypes;
341344
return this;
342345
}
343346

@@ -378,5 +381,8 @@ public void validate() {
378381
if (clientSecret() != null) {
379382
clientSecret().validate();
380383
}
384+
if (privateKey() != null) {
385+
privateKey().validate();
386+
}
381387
}
382388
}

0 commit comments

Comments
 (0)