Skip to content
Open
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
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
<dependency>
<groupId>com.google.apis</groupId>
<artifactId>google-api-services-secretmanager</artifactId>
<version>v1-rev20251105-2.0.0</version>
<version>v1-rev20260127-2.0.0</version>
</dependency>
</dependencies>
</project>
Expand All @@ -35,7 +35,7 @@ repositories {
mavenCentral()
}
dependencies {
implementation 'com.google.apis:google-api-services-secretmanager:v1-rev20251105-2.0.0'
implementation 'com.google.apis:google-api-services-secretmanager:v1-rev20260127-2.0.0'
}
```

Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,120 @@
/*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under the License
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
* or implied. See the License for the specific language governing permissions and limitations under
* the License.
*/
/*
* This code was generated by https://github.com/googleapis/google-api-java-client-services/
* Modify at your own risk.
*/

package com.google.api.services.secretmanager.v1.model;

/**
* The response message for Operations.ListOperations.
*
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
* transmitted over HTTP when working with the Secret Manager API. For a detailed explanation see:
* <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>
* </p>
*
* @author Google, Inc.
*/
@SuppressWarnings("javadoc")
public final class ListOperationsResponse extends com.google.api.client.json.GenericJson {

/**
* The standard List next-page token.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String nextPageToken;

/**
* A list of operations that matches the specified filter in the request.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.util.List<Operation> operations;

/**
* Unordered list. Unreachable resources. Populated when the request sets
* `ListOperationsRequest.return_partial_success` and reads across collections. For example, when
* attempting to list all resources across all supported locations.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.util.List<java.lang.String> unreachable;

/**
* The standard List next-page token.
* @return value or {@code null} for none
*/
public java.lang.String getNextPageToken() {
return nextPageToken;
}

/**
* The standard List next-page token.
* @param nextPageToken nextPageToken or {@code null} for none
*/
public ListOperationsResponse setNextPageToken(java.lang.String nextPageToken) {
this.nextPageToken = nextPageToken;
return this;
}

/**
* A list of operations that matches the specified filter in the request.
* @return value or {@code null} for none
*/
public java.util.List<Operation> getOperations() {
return operations;
}

/**
* A list of operations that matches the specified filter in the request.
* @param operations operations or {@code null} for none
*/
public ListOperationsResponse setOperations(java.util.List<Operation> operations) {
this.operations = operations;
return this;
}

/**
* Unordered list. Unreachable resources. Populated when the request sets
* `ListOperationsRequest.return_partial_success` and reads across collections. For example, when
* attempting to list all resources across all supported locations.
* @return value or {@code null} for none
*/
public java.util.List<java.lang.String> getUnreachable() {
return unreachable;
}

/**
* Unordered list. Unreachable resources. Populated when the request sets
* `ListOperationsRequest.return_partial_success` and reads across collections. For example, when
* attempting to list all resources across all supported locations.
* @param unreachable unreachable or {@code null} for none
*/
public ListOperationsResponse setUnreachable(java.util.List<java.lang.String> unreachable) {
this.unreachable = unreachable;
return this;
}

@Override
public ListOperationsResponse set(String fieldName, Object value) {
return (ListOperationsResponse) super.set(fieldName, value);
}

@Override
public ListOperationsResponse clone() {
return (ListOperationsResponse) super.clone();
}

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,195 @@
/*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under the License
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
* or implied. See the License for the specific language governing permissions and limitations under
* the License.
*/
/*
* This code was generated by https://github.com/googleapis/google-api-java-client-services/
* Modify at your own risk.
*/

package com.google.api.services.secretmanager.v1.model;

/**
* This resource represents a long-running operation that is the result of a network API call.
*
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
* transmitted over HTTP when working with the Secret Manager API. For a detailed explanation see:
* <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>
* </p>
*
* @author Google, Inc.
*/
@SuppressWarnings("javadoc")
public final class Operation extends com.google.api.client.json.GenericJson {

/**
* If the value is `false`, it means the operation is still in progress. If `true`, the operation
* is completed, and either `error` or `response` is available.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.Boolean done;

/**
* The error result of the operation in case of failure or cancellation.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private Status error;

/**
* Service-specific metadata associated with the operation. It typically contains progress
* information and common metadata such as create time. Some services might not provide such
* metadata. Any method that returns a long-running operation should document the metadata type,
* if any.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.util.Map<String, java.lang.Object> metadata;

/**
* The server-assigned name, which is only unique within the same service that originally returns
* it. If you use the default HTTP mapping, the `name` should be a resource name ending with
* `operations/{unique_id}`.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String name;

/**
* The normal, successful response of the operation. If the original method returns no data on
* success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is
* standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the
* response should have the type `XxxResponse`, where `Xxx` is the original method name. For
* example, if the original method name is `TakeSnapshot()`, the inferred response type is
* `TakeSnapshotResponse`.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.util.Map<String, java.lang.Object> response;

/**
* If the value is `false`, it means the operation is still in progress. If `true`, the operation
* is completed, and either `error` or `response` is available.
* @return value or {@code null} for none
*/
public java.lang.Boolean getDone() {
return done;
}

/**
* If the value is `false`, it means the operation is still in progress. If `true`, the operation
* is completed, and either `error` or `response` is available.
* @param done done or {@code null} for none
*/
public Operation setDone(java.lang.Boolean done) {
this.done = done;
return this;
}

/**
* The error result of the operation in case of failure or cancellation.
* @return value or {@code null} for none
*/
public Status getError() {
return error;
}

/**
* The error result of the operation in case of failure or cancellation.
* @param error error or {@code null} for none
*/
public Operation setError(Status error) {
this.error = error;
return this;
}

/**
* Service-specific metadata associated with the operation. It typically contains progress
* information and common metadata such as create time. Some services might not provide such
* metadata. Any method that returns a long-running operation should document the metadata type,
* if any.
* @return value or {@code null} for none
*/
public java.util.Map<String, java.lang.Object> getMetadata() {
return metadata;
}

/**
* Service-specific metadata associated with the operation. It typically contains progress
* information and common metadata such as create time. Some services might not provide such
* metadata. Any method that returns a long-running operation should document the metadata type,
* if any.
* @param metadata metadata or {@code null} for none
*/
public Operation setMetadata(java.util.Map<String, java.lang.Object> metadata) {
this.metadata = metadata;
return this;
}

/**
* The server-assigned name, which is only unique within the same service that originally returns
* it. If you use the default HTTP mapping, the `name` should be a resource name ending with
* `operations/{unique_id}`.
* @return value or {@code null} for none
*/
public java.lang.String getName() {
return name;
}

/**
* The server-assigned name, which is only unique within the same service that originally returns
* it. If you use the default HTTP mapping, the `name` should be a resource name ending with
* `operations/{unique_id}`.
* @param name name or {@code null} for none
*/
public Operation setName(java.lang.String name) {
this.name = name;
return this;
}

/**
* The normal, successful response of the operation. If the original method returns no data on
* success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is
* standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the
* response should have the type `XxxResponse`, where `Xxx` is the original method name. For
* example, if the original method name is `TakeSnapshot()`, the inferred response type is
* `TakeSnapshotResponse`.
* @return value or {@code null} for none
*/
public java.util.Map<String, java.lang.Object> getResponse() {
return response;
}

/**
* The normal, successful response of the operation. If the original method returns no data on
* success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is
* standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the
* response should have the type `XxxResponse`, where `Xxx` is the original method name. For
* example, if the original method name is `TakeSnapshot()`, the inferred response type is
* `TakeSnapshotResponse`.
* @param response response or {@code null} for none
*/
public Operation setResponse(java.util.Map<String, java.lang.Object> response) {
this.response = response;
return this;
}

@Override
public Operation set(String fieldName, Object value) {
return (Operation) super.set(fieldName, value);
}

@Override
public Operation clone() {
return (Operation) super.clone();
}

}
Loading