Skip to content

Commit 6a97de0

Browse files
1 parent 6514206 commit 6a97de0

File tree

6 files changed

+170
-20
lines changed

6 files changed

+170
-20
lines changed

clients/google-api-services-secretmanager/v1beta2/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-secretmanager</artifactId>
25-
<version>v1beta2-rev20260213-2.0.0</version>
25+
<version>v1beta2-rev20260327-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-secretmanager:v1beta2-rev20260213-2.0.0'
38+
implementation 'com.google.apis:google-api-services-secretmanager:v1beta2-rev20260327-2.0.0'
3939
}
4040
```
4141

clients/google-api-services-secretmanager/v1beta2/2.0.0/com/google/api/services/secretmanager/v1beta2/SecretManager.java

Lines changed: 17 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -312,10 +312,14 @@ public Get set(String parameterName, Object value) {
312312
}
313313
}
314314
/**
315-
* Lists information about the supported locations for this service. This method can be called in
316-
* two ways: * **List all public locations:** Use the path `GET /v1/locations`. * **List project-
317-
* visible locations:** Use the path `GET /v1/projects/{project_id}/locations`. This may include
318-
* public locations as well as private or other locations specifically visible to the project.
315+
* Lists information about the supported locations for this service. This method lists locations
316+
* based on the resource scope provided in the [ListLocationsRequest.name] field: * **Global
317+
* locations**: If `name` is empty, the method lists the public locations available to all projects.
318+
* * **Project-specific locations**: If `name` follows the format `projects/{project}`, the method
319+
* lists locations visible to that specific project. This includes public, private, or other
320+
* project-specific locations enabled for the project. For gRPC and client library implementations,
321+
* the resource name is passed as the `name` field. For direct service calls, the resource name is
322+
* incorporated into the request path based on the specific service implementation and version.
319323
*
320324
* Create a request for the method "locations.list".
321325
*
@@ -339,10 +343,15 @@ public class List extends SecretManagerRequest<com.google.api.services.secretman
339343
java.util.regex.Pattern.compile("^projects/[^/]+$");
340344

341345
/**
342-
* Lists information about the supported locations for this service. This method can be called in
343-
* two ways: * **List all public locations:** Use the path `GET /v1/locations`. * **List project-
344-
* visible locations:** Use the path `GET /v1/projects/{project_id}/locations`. This may include
345-
* public locations as well as private or other locations specifically visible to the project.
346+
* Lists information about the supported locations for this service. This method lists locations
347+
* based on the resource scope provided in the [ListLocationsRequest.name] field: * **Global
348+
* locations**: If `name` is empty, the method lists the public locations available to all
349+
* projects. * **Project-specific locations**: If `name` follows the format `projects/{project}`,
350+
* the method lists locations visible to that specific project. This includes public, private, or
351+
* other project-specific locations enabled for the project. For gRPC and client library
352+
* implementations, the resource name is passed as the `name` field. For direct service calls, the
353+
* resource name is incorporated into the request path based on the specific service
354+
* implementation and version.
346355
*
347356
* Create a request for the method "locations.list".
348357
*

clients/google-api-services-secretmanager/v1beta2/2.0.0/com/google/api/services/secretmanager/v1beta2/model/OperationMetadata.java

Lines changed: 33 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -37,19 +37,27 @@ public final class OperationMetadata extends com.google.api.client.json.GenericJ
3737
private java.lang.String apiVersion;
3838

3939
/**
40-
* Output only. The time the operation was created.
40+
* Output only. Time the operation was created.
4141
* The value may be {@code null}.
4242
*/
4343
@com.google.api.client.util.Key
4444
private String createTime;
4545

4646
/**
47-
* Output only. The time the operation finished running.
47+
* Output only. Time the operation finished running.
4848
* The value may be {@code null}.
4949
*/
5050
@com.google.api.client.util.Key
5151
private String endTime;
5252

53+
/**
54+
* Output only. Represents the progress of the operation. This field is populated for operations
55+
* that involve processing multiple secret versions.
56+
* The value may be {@code null}.
57+
*/
58+
@com.google.api.client.util.Key
59+
private Progress progress;
60+
5361
/**
5462
* Output only. Identifies whether the user has requested cancellation of the operation.
5563
* Operations that have been cancelled successfully have google.longrunning.Operation.error value
@@ -98,15 +106,15 @@ public OperationMetadata setApiVersion(java.lang.String apiVersion) {
98106
}
99107

100108
/**
101-
* Output only. The time the operation was created.
109+
* Output only. Time the operation was created.
102110
* @return value or {@code null} for none
103111
*/
104112
public String getCreateTime() {
105113
return createTime;
106114
}
107115

108116
/**
109-
* Output only. The time the operation was created.
117+
* Output only. Time the operation was created.
110118
* @param createTime createTime or {@code null} for none
111119
*/
112120
public OperationMetadata setCreateTime(String createTime) {
@@ -115,22 +123,41 @@ public OperationMetadata setCreateTime(String createTime) {
115123
}
116124

117125
/**
118-
* Output only. The time the operation finished running.
126+
* Output only. Time the operation finished running.
119127
* @return value or {@code null} for none
120128
*/
121129
public String getEndTime() {
122130
return endTime;
123131
}
124132

125133
/**
126-
* Output only. The time the operation finished running.
134+
* Output only. Time the operation finished running.
127135
* @param endTime endTime or {@code null} for none
128136
*/
129137
public OperationMetadata setEndTime(String endTime) {
130138
this.endTime = endTime;
131139
return this;
132140
}
133141

142+
/**
143+
* Output only. Represents the progress of the operation. This field is populated for operations
144+
* that involve processing multiple secret versions.
145+
* @return value or {@code null} for none
146+
*/
147+
public Progress getProgress() {
148+
return progress;
149+
}
150+
151+
/**
152+
* Output only. Represents the progress of the operation. This field is populated for operations
153+
* that involve processing multiple secret versions.
154+
* @param progress progress or {@code null} for none
155+
*/
156+
public OperationMetadata setProgress(Progress progress) {
157+
this.progress = progress;
158+
return this;
159+
}
160+
134161
/**
135162
* Output only. Identifies whether the user has requested cancellation of the operation.
136163
* Operations that have been cancelled successfully have google.longrunning.Operation.error value
Lines changed: 114 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,114 @@
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.secretmanager.v1beta2.model;
18+
19+
/**
20+
* Represents progress information for operations involving multiple secret versions.
21+
*
22+
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
23+
* transmitted over HTTP when working with the Secret Manager API. For a detailed explanation see:
24+
* <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>
25+
* </p>
26+
*
27+
* @author Google, Inc.
28+
*/
29+
@SuppressWarnings("javadoc")
30+
public final class Progress extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* Output only. Number of secret versions that have been successfully processed so far.
34+
* The value may be {@code null}.
35+
*/
36+
@com.google.api.client.util.Key
37+
private java.lang.Integer completedVersionCount;
38+
39+
/**
40+
* Output only. Number of secret versions that failed to process.
41+
* The value may be {@code null}.
42+
*/
43+
@com.google.api.client.util.Key
44+
private java.lang.Integer failedVersionCount;
45+
46+
/**
47+
* Output only. Provides the total number of secret versions to be processed by the operation.
48+
* The value may be {@code null}.
49+
*/
50+
@com.google.api.client.util.Key
51+
private java.lang.Integer totalVersionCount;
52+
53+
/**
54+
* Output only. Number of secret versions that have been successfully processed so far.
55+
* @return value or {@code null} for none
56+
*/
57+
public java.lang.Integer getCompletedVersionCount() {
58+
return completedVersionCount;
59+
}
60+
61+
/**
62+
* Output only. Number of secret versions that have been successfully processed so far.
63+
* @param completedVersionCount completedVersionCount or {@code null} for none
64+
*/
65+
public Progress setCompletedVersionCount(java.lang.Integer completedVersionCount) {
66+
this.completedVersionCount = completedVersionCount;
67+
return this;
68+
}
69+
70+
/**
71+
* Output only. Number of secret versions that failed to process.
72+
* @return value or {@code null} for none
73+
*/
74+
public java.lang.Integer getFailedVersionCount() {
75+
return failedVersionCount;
76+
}
77+
78+
/**
79+
* Output only. Number of secret versions that failed to process.
80+
* @param failedVersionCount failedVersionCount or {@code null} for none
81+
*/
82+
public Progress setFailedVersionCount(java.lang.Integer failedVersionCount) {
83+
this.failedVersionCount = failedVersionCount;
84+
return this;
85+
}
86+
87+
/**
88+
* Output only. Provides the total number of secret versions to be processed by the operation.
89+
* @return value or {@code null} for none
90+
*/
91+
public java.lang.Integer getTotalVersionCount() {
92+
return totalVersionCount;
93+
}
94+
95+
/**
96+
* Output only. Provides the total number of secret versions to be processed by the operation.
97+
* @param totalVersionCount totalVersionCount or {@code null} for none
98+
*/
99+
public Progress setTotalVersionCount(java.lang.Integer totalVersionCount) {
100+
this.totalVersionCount = totalVersionCount;
101+
return this;
102+
}
103+
104+
@Override
105+
public Progress set(String fieldName, Object value) {
106+
return (Progress) super.set(fieldName, value);
107+
}
108+
109+
@Override
110+
public Progress clone() {
111+
return (Progress) super.clone();
112+
}
113+
114+
}

clients/google-api-services-secretmanager/v1beta2/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-secretmanager</artifactId>
11-
<version>v1beta2-rev20260213-2.0.0</version>
12-
<name>Secret Manager API v1beta2-rev20260213-2.0.0</name>
11+
<version>v1beta2-rev20260327-2.0.0</version>
12+
<name>Secret Manager API v1beta2-rev20260327-2.0.0</name>
1313
<packaging>jar</packaging>
1414

1515
<inceptionYear>2011</inceptionYear>

clients/google-api-services-secretmanager/v1beta2/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-secretmanager</artifactId>
25-
<version>v1beta2-rev20260213-2.0.0</version>
25+
<version>v1beta2-rev20260327-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-secretmanager:v1beta2-rev20260213-2.0.0'
38+
implementation 'com.google.apis:google-api-services-secretmanager:v1beta2-rev20260327-2.0.0'
3939
}
4040
```
4141

0 commit comments

Comments
 (0)