Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[AutoPR azure-resourcemanager-datafactory] [Hub Generated] Publish private branch 'datafactory/zheyuanzhang/lakehouse_swagger' #8327

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# Release History

## 1.0.0-beta.24 (Unreleased)
## 1.0.0-beta.1 (2023-11-06)

- 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).

### Features Added

Expand Down
6 changes: 3 additions & 3 deletions sdk/datafactory/azure-resourcemanager-datafactory/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ Various documentation is available to help you get started
<dependency>
<groupId>com.azure.resourcemanager</groupId>
<artifactId>azure-resourcemanager-datafactory</artifactId>
<version>1.0.0-beta.23</version>
<version>1.0.0-beta.24</version>
</dependency>
```
[//]: # ({x-version-update-end})
Expand All @@ -45,7 +45,7 @@ Azure Management Libraries require a `TokenCredential` implementation for authen

### Authentication

By default, Azure Active Directory token authentication depends on correct configuration of the following environment variables.
By default, Microsoft Entra ID token authentication depends on correct configuration of the following environment variables.

- `AZURE_CLIENT_ID` for Azure client ID.
- `AZURE_TENANT_ID` for Azure tenant ID.
Expand Down Expand Up @@ -181,7 +181,7 @@ This project has adopted the [Microsoft Open Source Code of Conduct][coc]. For m
<!-- LINKS -->
[survey]: https://microsoft.qualtrics.com/jfe/form/SV_ehN0lIk2FKEBkwd?Q_CHL=DOCS
[docs]: https://azure.github.io/azure-sdk-for-java/
[jdk]: https://docs.microsoft.com/java/azure/jdk/
[jdk]: https://learn.microsoft.com/azure/developer/java/fundamentals/
[azure_subscription]: https://azure.microsoft.com/free/
[azure_identity]: https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/identity/azure-identity
[azure_core_http_netty]: https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/core/azure-core-http-netty
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ public DataFactoryManager authenticate(TokenCredential credential, AzureProfile
.append("-")
.append("com.azure.resourcemanager.datafactory")
.append("/")
.append("1.0.0-beta.23");
.append("1.0.0-beta.1");
if (!Configuration.getGlobalConfiguration().get("AZURE_TELEMETRY_DISABLED", false)) {
userAgentBuilder
.append(" (")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,6 @@
/** Google AdWords service linked service properties. */
@Fluent
public final class GoogleAdWordsLinkedServiceTypeProperties {
/*
* Properties used to connect to GoogleAds. It is mutually exclusive with any other properties in the linked
* service. Type: object.
*/
@JsonProperty(value = "connectionProperties")
private Object connectionProperties;

/*
* The Client customer ID of the AdWords account that you want to fetch report data for. Type: string (or
* Expression with resultType string).
Expand Down Expand Up @@ -66,26 +59,34 @@ public final class GoogleAdWordsLinkedServiceTypeProperties {
private Object email;

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

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

/*
* Specifies whether to use a CA certificate from the system trust store or from a specified PEM file. The default
* value is false. Type: boolean (or Expression with resultType boolean).
* The Google Ads API major version such as v14. The supported major versions could be found on
* https://developers.google.com/google-ads/api/docs/sunset-dates#timetable. Type: string (or Expression with
* resultType string).
*/
@JsonProperty(value = "useSystemTrustStore")
private Object useSystemTrustStore;
@JsonProperty(value = "googleAdsApiVersion")
private Object googleAdsApiVersion;

/*
* Specifies whether to use the legacy data type mappings, which maps float, int32 and int64 from Google to string.
* Do not set this to true unless you want to keep backward compatibility with legacy driver's data type mappings.
* Type: boolean (or Expression with resultType boolean).
*/
@JsonProperty(value = "supportLegacyDataTypes")
private Object supportLegacyDataTypes;

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

/**
* Get the connectionProperties property: Properties used to connect to GoogleAds. It is mutually exclusive with any
* other properties in the linked service. Type: object.
*
* @return the connectionProperties value.
*/
public Object connectionProperties() {
return this.connectionProperties;
}

/**
* Set the connectionProperties property: Properties used to connect to GoogleAds. It is mutually exclusive with any
* other properties in the linked service. Type: object.
*
* @param connectionProperties the connectionProperties value to set.
* @return the GoogleAdWordsLinkedServiceTypeProperties object itself.
*/
public GoogleAdWordsLinkedServiceTypeProperties withConnectionProperties(Object connectionProperties) {
this.connectionProperties = connectionProperties;
return this;
}

/**
* Get the clientCustomerId property: The Client customer ID of the AdWords account that you want to fetch report
* data for. Type: string (or Expression with resultType string).
Expand Down Expand Up @@ -274,70 +253,94 @@ public GoogleAdWordsLinkedServiceTypeProperties withEmail(Object email) {
}

/**
* Get the keyFilePath property: The full path to the .p12 key file that is used to authenticate the service account
* email address and can only be used on self-hosted IR. Type: string (or Expression with resultType string).
* Get the privateKey property: The private key that is used to authenticate the service account email address and
* can only be used on self-hosted IR.
*
* @return the keyFilePath value.
* @return the privateKey value.
*/
public Object keyFilePath() {
return this.keyFilePath;
public SecretBase privateKey() {
return this.privateKey;
}

/**
* Set the keyFilePath property: The full path to the .p12 key file that is used to authenticate the service account
* email address and can only be used on self-hosted IR. Type: string (or Expression with resultType string).
* Set the privateKey property: The private key that is used to authenticate the service account email address and
* can only be used on self-hosted IR.
*
* @param keyFilePath the keyFilePath value to set.
* @param privateKey the privateKey value to set.
* @return the GoogleAdWordsLinkedServiceTypeProperties object itself.
*/
public GoogleAdWordsLinkedServiceTypeProperties withKeyFilePath(Object keyFilePath) {
this.keyFilePath = keyFilePath;
public GoogleAdWordsLinkedServiceTypeProperties withPrivateKey(SecretBase privateKey) {
this.privateKey = privateKey;
return this;
}

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

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

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

/**
* Set the useSystemTrustStore property: Specifies whether to use a CA certificate from the system trust store or
* from a specified PEM file. The default value is false. Type: boolean (or Expression with resultType boolean).
* Set the googleAdsApiVersion property: The Google Ads API major version such as v14. The supported major versions
* could be found on https://developers.google.com/google-ads/api/docs/sunset-dates#timetable. Type: string (or
* Expression with resultType string).
*
* @param useSystemTrustStore the useSystemTrustStore value to set.
* @param googleAdsApiVersion the googleAdsApiVersion value to set.
* @return the GoogleAdWordsLinkedServiceTypeProperties object itself.
*/
public GoogleAdWordsLinkedServiceTypeProperties withUseSystemTrustStore(Object useSystemTrustStore) {
this.useSystemTrustStore = useSystemTrustStore;
public GoogleAdWordsLinkedServiceTypeProperties withGoogleAdsApiVersion(Object googleAdsApiVersion) {
this.googleAdsApiVersion = googleAdsApiVersion;
return this;
}

/**
* Get the supportLegacyDataTypes property: Specifies whether to use the legacy data type mappings, which maps
* float, int32 and int64 from Google to string. Do not set this to true unless you want to keep backward
* compatibility with legacy driver's data type mappings. Type: boolean (or Expression with resultType boolean).
*
* @return the supportLegacyDataTypes value.
*/
public Object supportLegacyDataTypes() {
return this.supportLegacyDataTypes;
}

/**
* Set the supportLegacyDataTypes property: Specifies whether to use the legacy data type mappings, which maps
* float, int32 and int64 from Google to string. Do not set this to true unless you want to keep backward
* compatibility with legacy driver's data type mappings. Type: boolean (or Expression with resultType boolean).
*
* @param supportLegacyDataTypes the supportLegacyDataTypes value to set.
* @return the GoogleAdWordsLinkedServiceTypeProperties object itself.
*/
public GoogleAdWordsLinkedServiceTypeProperties withSupportLegacyDataTypes(Object supportLegacyDataTypes) {
this.supportLegacyDataTypes = supportLegacyDataTypes;
return this;
}

Expand Down Expand Up @@ -378,5 +381,8 @@ public void validate() {
if (clientSecret() != null) {
clientSecret().validate();
}
if (privateKey() != null) {
privateKey().validate();
}
}
}
Loading