Skip to content

Commit df3b4a5

Browse files
1 parent a3e91f9 commit df3b4a5

File tree

16 files changed

+364
-23
lines changed

16 files changed

+364
-23
lines changed

clients/google-api-services-workstations/v1/2.0.0/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
2222
<dependency>
2323
<groupId>com.google.apis</groupId>
2424
<artifactId>google-api-services-workstations</artifactId>
25-
<version>v1-rev20240619-2.0.0</version>
25+
<version>v1-rev20240709-2.0.0</version>
2626
</dependency>
2727
</dependencies>
2828
</project>
@@ -35,7 +35,7 @@ repositories {
3535
mavenCentral()
3636
}
3737
dependencies {
38-
implementation 'com.google.apis:google-api-services-workstations:v1-rev20240619-2.0.0'
38+
implementation 'com.google.apis:google-api-services-workstations:v1-rev20240709-2.0.0'
3939
}
4040
```
4141

clients/google-api-services-workstations/v1/2.0.0/com/google/api/services/workstations/v1/model/DomainConfig.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
package com.google.api.services.workstations.v1.model;
1818

1919
/**
20-
* Configuration options for private workstation clusters.
20+
* Configuration options for a custom domain.
2121
*
2222
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
2323
* transmitted over HTTP when working with the Cloud Workstations API. For a detailed explanation
@@ -31,22 +31,22 @@
3131
public final class DomainConfig extends com.google.api.client.json.GenericJson {
3232

3333
/**
34-
* Immutable. Whether Workstations endpoint is private.
34+
* Immutable. Domain used by Workstations for HTTP ingress.
3535
* The value may be {@code null}.
3636
*/
3737
@com.google.api.client.util.Key
3838
private java.lang.String domain;
3939

4040
/**
41-
* Immutable. Whether Workstations endpoint is private.
41+
* Immutable. Domain used by Workstations for HTTP ingress.
4242
* @return value or {@code null} for none
4343
*/
4444
public java.lang.String getDomain() {
4545
return domain;
4646
}
4747

4848
/**
49-
* Immutable. Whether Workstations endpoint is private.
49+
* Immutable. Domain used by Workstations for HTTP ingress.
5050
* @param domain domain or {@code null} for none
5151
*/
5252
public DomainConfig setDomain(java.lang.String domain) {
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,92 @@
1+
/*
2+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
3+
* in compliance with the License. You may obtain a copy of the License at
4+
*
5+
* http://www.apache.org/licenses/LICENSE-2.0
6+
*
7+
* Unless required by applicable law or agreed to in writing, software distributed under the License
8+
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
9+
* or implied. See the License for the specific language governing permissions and limitations under
10+
* the License.
11+
*/
12+
/*
13+
* This code was generated by https://github.com/googleapis/google-api-java-client-services/
14+
* Modify at your own risk.
15+
*/
16+
17+
package com.google.api.services.workstations.v1.model;
18+
19+
/**
20+
* A PortRange defines a range of ports. Both first and last are inclusive. To specify a single
21+
* port, both first and last should be the same.
22+
*
23+
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
24+
* transmitted over HTTP when working with the Cloud Workstations API. For a detailed explanation
25+
* see:
26+
* <a href="https://developers.google.com/api-client-library/java/google-http-java-client/json">https://developers.google.com/api-client-library/java/google-http-java-client/json</a>
27+
* </p>
28+
*
29+
* @author Google, Inc.
30+
*/
31+
@SuppressWarnings("javadoc")
32+
public final class PortRange extends com.google.api.client.json.GenericJson {
33+
34+
/**
35+
* Required. Starting port number for the current range of ports.
36+
* The value may be {@code null}.
37+
*/
38+
@com.google.api.client.util.Key
39+
private java.lang.Integer first;
40+
41+
/**
42+
* Required. Ending port number for the current range of ports.
43+
* The value may be {@code null}.
44+
*/
45+
@com.google.api.client.util.Key
46+
private java.lang.Integer last;
47+
48+
/**
49+
* Required. Starting port number for the current range of ports.
50+
* @return value or {@code null} for none
51+
*/
52+
public java.lang.Integer getFirst() {
53+
return first;
54+
}
55+
56+
/**
57+
* Required. Starting port number for the current range of ports.
58+
* @param first first or {@code null} for none
59+
*/
60+
public PortRange setFirst(java.lang.Integer first) {
61+
this.first = first;
62+
return this;
63+
}
64+
65+
/**
66+
* Required. Ending port number for the current range of ports.
67+
* @return value or {@code null} for none
68+
*/
69+
public java.lang.Integer getLast() {
70+
return last;
71+
}
72+
73+
/**
74+
* Required. Ending port number for the current range of ports.
75+
* @param last last or {@code null} for none
76+
*/
77+
public PortRange setLast(java.lang.Integer last) {
78+
this.last = last;
79+
return this;
80+
}
81+
82+
@Override
83+
public PortRange set(String fieldName, Object value) {
84+
return (PortRange) super.set(fieldName, value);
85+
}
86+
87+
@Override
88+
public PortRange clone() {
89+
return (PortRange) super.clone();
90+
}
91+
92+
}

clients/google-api-services-workstations/v1/2.0.0/com/google/api/services/workstations/v1/model/PrivateClusterConfig.java

Lines changed: 37 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
package com.google.api.services.workstations.v1.model;
1818

1919
/**
20-
* Model definition for PrivateClusterConfig.
20+
* Configuration options for private workstation clusters.
2121
*
2222
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
2323
* transmitted over HTTP when working with the Cloud Workstations API. For a detailed explanation
@@ -31,37 +31,55 @@
3131
public final class PrivateClusterConfig extends com.google.api.client.json.GenericJson {
3232

3333
/**
34+
* Optional. Additional projects that are allowed to attach to the workstation cluster's service
35+
* attachment. By default, the workstation cluster's project and the VPC host project (if
36+
* different) are allowed.
3437
* The value may be {@code null}.
3538
*/
3639
@com.google.api.client.util.Key
3740
private java.util.List<java.lang.String> allowedProjects;
3841

3942
/**
43+
* Output only. Hostname for the workstation cluster. This field will be populated only when
44+
* private endpoint is enabled. To access workstations in the workstation cluster, create a new
45+
* DNS zone mapping this domain name to an internal IP address and a forwarding rule mapping that
46+
* address to the service attachment.
4047
* The value may be {@code null}.
4148
*/
4249
@com.google.api.client.util.Key
4350
private java.lang.String clusterHostname;
4451

4552
/**
53+
* Immutable. Whether Workstations endpoint is private.
4654
* The value may be {@code null}.
4755
*/
4856
@com.google.api.client.util.Key
4957
private java.lang.Boolean enablePrivateEndpoint;
5058

5159
/**
60+
* Output only. Service attachment URI for the workstation cluster. The service attachemnt is
61+
* created when private endpoint is enabled. To access workstations in the workstation cluster,
62+
* configure access to the managed service using [Private Service
63+
* Connect](https://cloud.google.com/vpc/docs/configure-private-service-connect-services).
5264
* The value may be {@code null}.
5365
*/
5466
@com.google.api.client.util.Key
5567
private java.lang.String serviceAttachmentUri;
5668

5769
/**
70+
* Optional. Additional projects that are allowed to attach to the workstation cluster's service
71+
* attachment. By default, the workstation cluster's project and the VPC host project (if
72+
* different) are allowed.
5873
* @return value or {@code null} for none
5974
*/
6075
public java.util.List<java.lang.String> getAllowedProjects() {
6176
return allowedProjects;
6277
}
6378

6479
/**
80+
* Optional. Additional projects that are allowed to attach to the workstation cluster's service
81+
* attachment. By default, the workstation cluster's project and the VPC host project (if
82+
* different) are allowed.
6583
* @param allowedProjects allowedProjects or {@code null} for none
6684
*/
6785
public PrivateClusterConfig setAllowedProjects(java.util.List<java.lang.String> allowedProjects) {
@@ -70,13 +88,21 @@ public PrivateClusterConfig setAllowedProjects(java.util.List<java.lang.String>
7088
}
7189

7290
/**
91+
* Output only. Hostname for the workstation cluster. This field will be populated only when
92+
* private endpoint is enabled. To access workstations in the workstation cluster, create a new
93+
* DNS zone mapping this domain name to an internal IP address and a forwarding rule mapping that
94+
* address to the service attachment.
7395
* @return value or {@code null} for none
7496
*/
7597
public java.lang.String getClusterHostname() {
7698
return clusterHostname;
7799
}
78100

79101
/**
102+
* Output only. Hostname for the workstation cluster. This field will be populated only when
103+
* private endpoint is enabled. To access workstations in the workstation cluster, create a new
104+
* DNS zone mapping this domain name to an internal IP address and a forwarding rule mapping that
105+
* address to the service attachment.
80106
* @param clusterHostname clusterHostname or {@code null} for none
81107
*/
82108
public PrivateClusterConfig setClusterHostname(java.lang.String clusterHostname) {
@@ -85,13 +111,15 @@ public PrivateClusterConfig setClusterHostname(java.lang.String clusterHostname)
85111
}
86112

87113
/**
114+
* Immutable. Whether Workstations endpoint is private.
88115
* @return value or {@code null} for none
89116
*/
90117
public java.lang.Boolean getEnablePrivateEndpoint() {
91118
return enablePrivateEndpoint;
92119
}
93120

94121
/**
122+
* Immutable. Whether Workstations endpoint is private.
95123
* @param enablePrivateEndpoint enablePrivateEndpoint or {@code null} for none
96124
*/
97125
public PrivateClusterConfig setEnablePrivateEndpoint(java.lang.Boolean enablePrivateEndpoint) {
@@ -100,13 +128,21 @@ public PrivateClusterConfig setEnablePrivateEndpoint(java.lang.Boolean enablePri
100128
}
101129

102130
/**
131+
* Output only. Service attachment URI for the workstation cluster. The service attachemnt is
132+
* created when private endpoint is enabled. To access workstations in the workstation cluster,
133+
* configure access to the managed service using [Private Service
134+
* Connect](https://cloud.google.com/vpc/docs/configure-private-service-connect-services).
103135
* @return value or {@code null} for none
104136
*/
105137
public java.lang.String getServiceAttachmentUri() {
106138
return serviceAttachmentUri;
107139
}
108140

109141
/**
142+
* Output only. Service attachment URI for the workstation cluster. The service attachemnt is
143+
* created when private endpoint is enabled. To access workstations in the workstation cluster,
144+
* configure access to the managed service using [Private Service
145+
* Connect](https://cloud.google.com/vpc/docs/configure-private-service-connect-services).
110146
* @param serviceAttachmentUri serviceAttachmentUri or {@code null} for none
111147
*/
112148
public PrivateClusterConfig setServiceAttachmentUri(java.lang.String serviceAttachmentUri) {

clients/google-api-services-workstations/v1/2.0.0/com/google/api/services/workstations/v1/model/WorkstationConfig.java

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,20 @@
3535
@SuppressWarnings("javadoc")
3636
public final class WorkstationConfig extends com.google.api.client.json.GenericJson {
3737

38+
/**
39+
* Optional. A Single or Range of ports externally accessible in the workstation. If not specified
40+
* defaults to ports 22, 80 and ports 1024-65535.
41+
* The value may be {@code null}.
42+
*/
43+
@com.google.api.client.util.Key
44+
private java.util.List<PortRange> allowedPorts;
45+
46+
static {
47+
// hack to force ProGuard to consider PortRange used, since otherwise it would be stripped out
48+
// see https://github.com/google/google-api-java-client/issues/543
49+
com.google.api.client.util.Data.nullOf(PortRange.class);
50+
}
51+
3852
/**
3953
* Optional. Client-specified annotations.
4054
* The value may be {@code null}.
@@ -261,6 +275,25 @@ public final class WorkstationConfig extends com.google.api.client.json.GenericJ
261275
@com.google.api.client.util.Key
262276
private String updateTime;
263277

278+
/**
279+
* Optional. A Single or Range of ports externally accessible in the workstation. If not specified
280+
* defaults to ports 22, 80 and ports 1024-65535.
281+
* @return value or {@code null} for none
282+
*/
283+
public java.util.List<PortRange> getAllowedPorts() {
284+
return allowedPorts;
285+
}
286+
287+
/**
288+
* Optional. A Single or Range of ports externally accessible in the workstation. If not specified
289+
* defaults to ports 22, 80 and ports 1024-65535.
290+
* @param allowedPorts allowedPorts or {@code null} for none
291+
*/
292+
public WorkstationConfig setAllowedPorts(java.util.List<PortRange> allowedPorts) {
293+
this.allowedPorts = allowedPorts;
294+
return this;
295+
}
296+
264297
/**
265298
* Optional. Client-specified annotations.
266299
* @return value or {@code null} for none

clients/google-api-services-workstations/v1/2.0.0/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88

99
<groupId>com.google.apis</groupId>
1010
<artifactId>google-api-services-workstations</artifactId>
11-
<version>v1-rev20240619-2.0.0</version>
12-
<name>Cloud Workstations API v1-rev20240619-2.0.0</name>
11+
<version>v1-rev20240709-2.0.0</version>
12+
<name>Cloud Workstations API v1-rev20240709-2.0.0</name>
1313
<packaging>jar</packaging>
1414

1515
<inceptionYear>2011</inceptionYear>

clients/google-api-services-workstations/v1/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
2222
<dependency>
2323
<groupId>com.google.apis</groupId>
2424
<artifactId>google-api-services-workstations</artifactId>
25-
<version>v1-rev20240619-2.0.0</version>
25+
<version>v1-rev20240709-2.0.0</version>
2626
</dependency>
2727
</dependencies>
2828
</project>
@@ -35,7 +35,7 @@ repositories {
3535
mavenCentral()
3636
}
3737
dependencies {
38-
implementation 'com.google.apis:google-api-services-workstations:v1-rev20240619-2.0.0'
38+
implementation 'com.google.apis:google-api-services-workstations:v1-rev20240709-2.0.0'
3939
}
4040
```
4141

clients/google-api-services-workstations/v1beta/2.0.0/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
2222
<dependency>
2323
<groupId>com.google.apis</groupId>
2424
<artifactId>google-api-services-workstations</artifactId>
25-
<version>v1beta-rev20240619-2.0.0</version>
25+
<version>v1beta-rev20240709-2.0.0</version>
2626
</dependency>
2727
</dependencies>
2828
</project>
@@ -35,7 +35,7 @@ repositories {
3535
mavenCentral()
3636
}
3737
dependencies {
38-
implementation 'com.google.apis:google-api-services-workstations:v1beta-rev20240619-2.0.0'
38+
implementation 'com.google.apis:google-api-services-workstations:v1beta-rev20240709-2.0.0'
3939
}
4040
```
4141

clients/google-api-services-workstations/v1beta/2.0.0/com/google/api/services/workstations/v1beta/model/DomainConfig.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
package com.google.api.services.workstations.v1beta.model;
1818

1919
/**
20-
* Configuration options for private workstation clusters.
20+
* Configuration options for a custom domain.
2121
*
2222
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
2323
* transmitted over HTTP when working with the Cloud Workstations API. For a detailed explanation
@@ -31,22 +31,22 @@
3131
public final class DomainConfig extends com.google.api.client.json.GenericJson {
3232

3333
/**
34-
* Immutable. Whether Workstations endpoint is private.
34+
* Immutable. Domain used by Workstations for HTTP ingress.
3535
* The value may be {@code null}.
3636
*/
3737
@com.google.api.client.util.Key
3838
private java.lang.String domain;
3939

4040
/**
41-
* Immutable. Whether Workstations endpoint is private.
41+
* Immutable. Domain used by Workstations for HTTP ingress.
4242
* @return value or {@code null} for none
4343
*/
4444
public java.lang.String getDomain() {
4545
return domain;
4646
}
4747

4848
/**
49-
* Immutable. Whether Workstations endpoint is private.
49+
* Immutable. Domain used by Workstations for HTTP ingress.
5050
* @param domain domain or {@code null} for none
5151
*/
5252
public DomainConfig setDomain(java.lang.String domain) {

0 commit comments

Comments
 (0)