Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit b727a8a

Browse files
yoshi-automationkolea2
authored andcommitted
Regenerate compute client (googleapis#4989)
1 parent 2eaa9f4 commit b727a8a

File tree

13 files changed

+100
-51
lines changed

13 files changed

+100
-51
lines changed

google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Binding.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ public List<String> getFieldMask() {
7676
}
7777

7878
/**
79-
* The condition that is associated with this binding. NOTE: an unsatisfied condition will not
79+
* The condition that is associated with this binding. NOTE: An unsatisfied condition will not
8080
* allow user access via current binding. Different bindings, including their conditions, are
8181
* examined independently.
8282
*/
@@ -168,7 +168,7 @@ public Builder mergeFrom(Binding other) {
168168
}
169169

170170
/**
171-
* The condition that is associated with this binding. NOTE: an unsatisfied condition will not
171+
* The condition that is associated with this binding. NOTE: An unsatisfied condition will not
172172
* allow user access via current binding. Different bindings, including their conditions, are
173173
* examined independently.
174174
*/
@@ -177,7 +177,7 @@ public Expr getCondition() {
177177
}
178178

179179
/**
180-
* The condition that is associated with this binding. NOTE: an unsatisfied condition will not
180+
* The condition that is associated with this binding. NOTE: An unsatisfied condition will not
181181
* allow user access via current binding. Different bindings, including their conditions, are
182182
* examined independently.
183183
*/

google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/FixedOrPercent.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ public List<String> getFieldMask() {
7777
/**
7878
* [Output Only] Absolute value of VM instances calculated based on the specific mode.
7979
*
80-
* <p>- If the value is fixed, then the caculated value is equal to the fixed value. - If the
80+
* <p>- If the value is fixed, then the calculated value is equal to the fixed value. - If the
8181
* value is a percent, then the calculated value is percent/100 &#42; targetSize. For example, the
8282
* calculated value of a 80% of a managed instance group with 150 instances would be (80/100 &#42;
8383
* 150) = 120 VM instances. If there is a remainder, the number is rounded up.
@@ -151,7 +151,7 @@ public Builder mergeFrom(FixedOrPercent other) {
151151
/**
152152
* [Output Only] Absolute value of VM instances calculated based on the specific mode.
153153
*
154-
* <p>- If the value is fixed, then the caculated value is equal to the fixed value. - If the
154+
* <p>- If the value is fixed, then the calculated value is equal to the fixed value. - If the
155155
* value is a percent, then the calculated value is percent/100 &#42; targetSize. For example,
156156
* the calculated value of a 80% of a managed instance group with 150 instances would be (80/100
157157
* &#42; 150) = 120 VM instances. If there is a remainder, the number is rounded up.
@@ -163,7 +163,7 @@ public Integer getCalculated() {
163163
/**
164164
* [Output Only] Absolute value of VM instances calculated based on the specific mode.
165165
*
166-
* <p>- If the value is fixed, then the caculated value is equal to the fixed value. - If the
166+
* <p>- If the value is fixed, then the calculated value is equal to the fixed value. - If the
167167
* value is a percent, then the calculated value is percent/100 &#42; targetSize. For example,
168168
* the calculated value of a 80% of a managed instance group with 150 instances would be (80/100
169169
* &#42; 150) = 120 VM instances. If there is a remainder, the number is rounded up.

google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/HealthCheck.java

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -253,8 +253,8 @@ public Integer getTimeoutSec() {
253253
}
254254

255255
/**
256-
* Specifies the type of the healthCheck, either TCP, SSL, HTTP or HTTPS. If not specified, the
257-
* default is TCP. Exactly one of the protocol-specific health check field must be specified,
256+
* Specifies the type of the healthCheck, either TCP, SSL, HTTP, HTTPS or HTTP2. If not specified,
257+
* the default is TCP. Exactly one of the protocol-specific health check field must be specified,
258258
* which must match type field.
259259
*/
260260
public String getType() {
@@ -562,18 +562,18 @@ public Builder setTimeoutSec(Integer timeoutSec) {
562562
}
563563

564564
/**
565-
* Specifies the type of the healthCheck, either TCP, SSL, HTTP or HTTPS. If not specified, the
566-
* default is TCP. Exactly one of the protocol-specific health check field must be specified,
567-
* which must match type field.
565+
* Specifies the type of the healthCheck, either TCP, SSL, HTTP, HTTPS or HTTP2. If not
566+
* specified, the default is TCP. Exactly one of the protocol-specific health check field must
567+
* be specified, which must match type field.
568568
*/
569569
public String getType() {
570570
return type;
571571
}
572572

573573
/**
574-
* Specifies the type of the healthCheck, either TCP, SSL, HTTP or HTTPS. If not specified, the
575-
* default is TCP. Exactly one of the protocol-specific health check field must be specified,
576-
* which must match type field.
574+
* Specifies the type of the healthCheck, either TCP, SSL, HTTP, HTTPS or HTTP2. If not
575+
* specified, the default is TCP. Exactly one of the protocol-specific health check field must
576+
* be specified, which must match type field.
577577
*/
578578
public Builder setType(String type) {
579579
this.type = type;

google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertNodeGroupHttpRequest.java

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,9 @@ public String getKey() {
162162
}
163163

164164
/**
165-
* A NodeGroup resource. (== resource_for beta.nodeGroups ==) (== resource_for v1.nodeGroups ==)
165+
* A NodeGroup resource. To create a node group, you must first create a node templates. To learn
166+
* more about node groups and sole-tenant nodes, read the Sole-tenant nodes documentation. (==
167+
* resource_for beta.nodeGroups ==) (== resource_for v1.nodeGroups ==)
166168
*/
167169
public NodeGroup getNodeGroupResource() {
168170
return nodeGroupResource;
@@ -356,14 +358,18 @@ public Builder setKey(String key) {
356358
}
357359

358360
/**
359-
* A NodeGroup resource. (== resource_for beta.nodeGroups ==) (== resource_for v1.nodeGroups ==)
361+
* A NodeGroup resource. To create a node group, you must first create a node templates. To
362+
* learn more about node groups and sole-tenant nodes, read the Sole-tenant nodes documentation.
363+
* (== resource_for beta.nodeGroups ==) (== resource_for v1.nodeGroups ==)
360364
*/
361365
public NodeGroup getNodeGroupResource() {
362366
return nodeGroupResource;
363367
}
364368

365369
/**
366-
* A NodeGroup resource. (== resource_for beta.nodeGroups ==) (== resource_for v1.nodeGroups ==)
370+
* A NodeGroup resource. To create a node group, you must first create a node templates. To
371+
* learn more about node groups and sole-tenant nodes, read the Sole-tenant nodes documentation.
372+
* (== resource_for beta.nodeGroups ==) (== resource_for v1.nodeGroups ==)
367373
*/
368374
public Builder setNodeGroupResource(NodeGroup nodeGroupResource) {
369375
this.nodeGroupResource = nodeGroupResource;

google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertNodeTemplateHttpRequest.java

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,11 @@ public String getKey() {
149149
return key;
150150
}
151151

152-
/** A Node Template resource. */
152+
/**
153+
* A Node Template resource. To learn more about node templates and sole-tenant nodes, read the
154+
* Sole-tenant nodes documentation. (== resource_for beta.nodeTemplates ==) (== resource_for
155+
* v1.nodeTemplates ==)
156+
*/
153157
public NodeTemplate getNodeTemplateResource() {
154158
return nodeTemplateResource;
155159
}
@@ -325,12 +329,20 @@ public Builder setKey(String key) {
325329
return this;
326330
}
327331

328-
/** A Node Template resource. */
332+
/**
333+
* A Node Template resource. To learn more about node templates and sole-tenant nodes, read the
334+
* Sole-tenant nodes documentation. (== resource_for beta.nodeTemplates ==) (== resource_for
335+
* v1.nodeTemplates ==)
336+
*/
329337
public NodeTemplate getNodeTemplateResource() {
330338
return nodeTemplateResource;
331339
}
332340

333-
/** A Node Template resource. */
341+
/**
342+
* A Node Template resource. To learn more about node templates and sole-tenant nodes, read the
343+
* Sole-tenant nodes documentation. (== resource_for beta.nodeTemplates ==) (== resource_for
344+
* v1.nodeTemplates ==)
345+
*/
334346
public Builder setNodeTemplateResource(NodeTemplate nodeTemplateResource) {
335347
this.nodeTemplateResource = nodeTemplateResource;
336348
return this;

google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupManager.java

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -346,11 +346,11 @@ public InstanceGroupManagerUpdatePolicy getUpdatePolicy() {
346346
/**
347347
* Specifies the instance templates used by this managed instance group to create instances.
348348
*
349-
* <p>Each version is defined by an instanceTemplate. Every template can appear at most once per
350-
* instance group. This field overrides the top-level instanceTemplate field. Read more about the
351-
* relationships between these fields. Exactly one version must leave the targetSize field unset.
352-
* That version will be applied to all remaining instances. For more information, read about
353-
* canary updates.
349+
* <p>Each version is defined by an instanceTemplate and a name. Every version can appear at most
350+
* once per instance group. This field overrides the top-level instanceTemplate field. Read more
351+
* about the relationships between these fields. Exactly one version must leave the targetSize
352+
* field unset. That version will be applied to all remaining instances. For more information,
353+
* read about canary updates.
354354
*/
355355
public List<InstanceGroupManagerVersion> getVersionsList() {
356356
return versions;
@@ -843,11 +843,11 @@ public Builder setUpdatePolicy(InstanceGroupManagerUpdatePolicy updatePolicy) {
843843
/**
844844
* Specifies the instance templates used by this managed instance group to create instances.
845845
*
846-
* <p>Each version is defined by an instanceTemplate. Every template can appear at most once per
847-
* instance group. This field overrides the top-level instanceTemplate field. Read more about
848-
* the relationships between these fields. Exactly one version must leave the targetSize field
849-
* unset. That version will be applied to all remaining instances. For more information, read
850-
* about canary updates.
846+
* <p>Each version is defined by an instanceTemplate and a name. Every version can appear at
847+
* most once per instance group. This field overrides the top-level instanceTemplate field. Read
848+
* more about the relationships between these fields. Exactly one version must leave the
849+
* targetSize field unset. That version will be applied to all remaining instances. For more
850+
* information, read about canary updates.
851851
*/
852852
public List<InstanceGroupManagerVersion> getVersionsList() {
853853
return versions;
@@ -856,11 +856,11 @@ public List<InstanceGroupManagerVersion> getVersionsList() {
856856
/**
857857
* Specifies the instance templates used by this managed instance group to create instances.
858858
*
859-
* <p>Each version is defined by an instanceTemplate. Every template can appear at most once per
860-
* instance group. This field overrides the top-level instanceTemplate field. Read more about
861-
* the relationships between these fields. Exactly one version must leave the targetSize field
862-
* unset. That version will be applied to all remaining instances. For more information, read
863-
* about canary updates.
859+
* <p>Each version is defined by an instanceTemplate and a name. Every version can appear at
860+
* most once per instance group. This field overrides the top-level instanceTemplate field. Read
861+
* more about the relationships between these fields. Exactly one version must leave the
862+
* targetSize field unset. That version will be applied to all remaining instances. For more
863+
* information, read about canary updates.
864864
*/
865865
public Builder addAllVersions(List<InstanceGroupManagerVersion> versions) {
866866
if (this.versions == null) {
@@ -873,11 +873,11 @@ public Builder addAllVersions(List<InstanceGroupManagerVersion> versions) {
873873
/**
874874
* Specifies the instance templates used by this managed instance group to create instances.
875875
*
876-
* <p>Each version is defined by an instanceTemplate. Every template can appear at most once per
877-
* instance group. This field overrides the top-level instanceTemplate field. Read more about
878-
* the relationships between these fields. Exactly one version must leave the targetSize field
879-
* unset. That version will be applied to all remaining instances. For more information, read
880-
* about canary updates.
876+
* <p>Each version is defined by an instanceTemplate and a name. Every version can appear at
877+
* most once per instance group. This field overrides the top-level instanceTemplate field. Read
878+
* more about the relationships between these fields. Exactly one version must leave the
879+
* targetSize field unset. That version will be applied to all remaining instances. For more
880+
* information, read about canary updates.
881881
*/
882882
public Builder addVersions(InstanceGroupManagerVersion versions) {
883883
if (this.versions == null) {

google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagerVersion.java

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,11 @@ public List<String> getFieldMask() {
7474
return null;
7575
}
7676

77+
/**
78+
* The URL of the instance template that is specified for this managed instance group. The group
79+
* uses this template to create new instances in the managed instance group until the `targetSize`
80+
* for this version is reached.
81+
*/
7782
public String getInstanceTemplate() {
7883
return instanceTemplate;
7984
}
@@ -145,10 +150,20 @@ public Builder mergeFrom(InstanceGroupManagerVersion other) {
145150
this.targetSize = source.targetSize;
146151
}
147152

153+
/**
154+
* The URL of the instance template that is specified for this managed instance group. The group
155+
* uses this template to create new instances in the managed instance group until the
156+
* `targetSize` for this version is reached.
157+
*/
148158
public String getInstanceTemplate() {
149159
return instanceTemplate;
150160
}
151161

162+
/**
163+
* The URL of the instance template that is specified for this managed instance group. The group
164+
* uses this template to create new instances in the managed instance group until the
165+
* `targetSize` for this version is reached.
166+
*/
152167
public Builder setInstanceTemplate(String instanceTemplate) {
153168
this.instanceTemplate = instanceTemplate;
154169
return this;

google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeGroup.java

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,11 @@
2424

2525
@Generated("by GAPIC")
2626
@BetaApi
27-
/** A NodeGroup resource. (== resource_for beta.nodeGroups ==) (== resource_for v1.nodeGroups ==) */
27+
/**
28+
* A NodeGroup resource. To create a node group, you must first create a node templates. To learn
29+
* more about node groups and sole-tenant nodes, read the Sole-tenant nodes documentation. (==
30+
* resource_for beta.nodeGroups ==) (== resource_for v1.nodeGroups ==)
31+
*/
2832
public final class NodeGroup implements ApiMessage {
2933
private final String creationTimestamp;
3034
private final String description;

google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeGroupClient.java

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -838,8 +838,10 @@ public final Policy getIamPolicyNodeGroup(GetIamPolicyNodeGroupHttpRequest reque
838838
*
839839
* @param initialNodeCount Initial count of nodes in the node group.
840840
* @param zone The name of the zone for this request.
841-
* @param nodeGroupResource A NodeGroup resource. (== resource_for beta.nodeGroups ==) (==
842-
* resource_for v1.nodeGroups ==)
841+
* @param nodeGroupResource A NodeGroup resource. To create a node group, you must first create a
842+
* node templates. To learn more about node groups and sole-tenant nodes, read the Sole-tenant
843+
* nodes documentation. (== resource_for beta.nodeGroups ==) (== resource_for v1.nodeGroups
844+
* ==)
843845
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
844846
*/
845847
@BetaApi
@@ -872,8 +874,10 @@ public final Operation insertNodeGroup(
872874
*
873875
* @param initialNodeCount Initial count of nodes in the node group.
874876
* @param zone The name of the zone for this request.
875-
* @param nodeGroupResource A NodeGroup resource. (== resource_for beta.nodeGroups ==) (==
876-
* resource_for v1.nodeGroups ==)
877+
* @param nodeGroupResource A NodeGroup resource. To create a node group, you must first create a
878+
* node templates. To learn more about node groups and sole-tenant nodes, read the Sole-tenant
879+
* nodes documentation. (== resource_for beta.nodeGroups ==) (== resource_for v1.nodeGroups
880+
* ==)
877881
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
878882
*/
879883
@BetaApi

google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeTemplate.java

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,11 @@
2525

2626
@Generated("by GAPIC")
2727
@BetaApi
28-
/** A Node Template resource. */
28+
/**
29+
* A Node Template resource. To learn more about node templates and sole-tenant nodes, read the
30+
* Sole-tenant nodes documentation. (== resource_for beta.nodeTemplates ==) (== resource_for
31+
* v1.nodeTemplates ==)
32+
*/
2933
public final class NodeTemplate implements ApiMessage {
3034
private final String creationTimestamp;
3135
private final String description;

0 commit comments

Comments
 (0)