Skip to content

Commit d02fa67

Browse files
feat: added gcp_na support
1 parent f173d9a commit d02fa67

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

src/main/java/com/contentstack/sdk/Region.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,8 @@ public enum Region {
2525
* Azure na region.
2626
*/
2727
AZURE_NA,
28+
/**
29+
* Gcp na region.
30+
*/
31+
GCP_NA,
2832
}

src/test/java/com/contentstack/sdk/TestClient.java

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,14 @@ public static Marketplace getMarketplaceAzureEu() {
4747
.build();
4848
}
4949

50+
public static Marketplace getMarketplaceGcpNa() {
51+
return new Marketplace
52+
.Builder(TestClient.ORGANIZATION_UID)
53+
.host(HOST)
54+
.region(Region.GCP_NA)
55+
.build();
56+
}
57+
5058

5159
public static Marketplace getMarketplaceWithLogin() {
5260
return new Marketplace

0 commit comments

Comments
 (0)