Skip to content
Closed
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
4 changes: 2 additions & 2 deletions clients/google-api-services-osconfig/v1/2.0.0/README.md
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-osconfig</artifactId>
<version>v1-rev20251117-2.0.0</version>
<version>v1-rev20260108-2.0.0</version>
</dependency>
</dependencies>
</project>
Expand All @@ -35,7 +35,7 @@ repositories {
mavenCentral()
}
dependencies {
implementation 'com.google.apis:google-api-services-osconfig:v1-rev20251117-2.0.0'
implementation 'com.google.apis:google-api-services-osconfig:v1-rev20260108-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,216 @@
/*
* 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.osconfig.v1.model;

/**
* Represents the metadata of a generic long-running operation.
*
* <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 OS Config 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 GoogleCloudOsconfigCommonV1OperationMetadata extends com.google.api.client.json.GenericJson {

/**
* Output only. API version used to start the operation.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String apiVersion;

/**
* Output only. The time the operation was created.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private String createTime;

/**
* Output only. The time the operation finished running.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private String endTime;

/**
* Output only. Identifies whether the user has requested cancellation of the operation.
* Operations that have successfully been cancelled have Operation.error value with a
* google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.Boolean requestedCancellation;

/**
* Output only. Human-readable status of the operation, if any.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String statusMessage;

/**
* Output only. Server-defined resource path for the target of the operation.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String target;

/**
* Output only. Name of the verb executed by the operation.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String verb;

/**
* Output only. API version used to start the operation.
* @return value or {@code null} for none
*/
public java.lang.String getApiVersion() {
return apiVersion;
}

/**
* Output only. API version used to start the operation.
* @param apiVersion apiVersion or {@code null} for none
*/
public GoogleCloudOsconfigCommonV1OperationMetadata setApiVersion(java.lang.String apiVersion) {
this.apiVersion = apiVersion;
return this;
}

/**
* Output only. The time the operation was created.
* @return value or {@code null} for none
*/
public String getCreateTime() {
return createTime;
}

/**
* Output only. The time the operation was created.
* @param createTime createTime or {@code null} for none
*/
public GoogleCloudOsconfigCommonV1OperationMetadata setCreateTime(String createTime) {
this.createTime = createTime;
return this;
}

/**
* Output only. The time the operation finished running.
* @return value or {@code null} for none
*/
public String getEndTime() {
return endTime;
}

/**
* Output only. The time the operation finished running.
* @param endTime endTime or {@code null} for none
*/
public GoogleCloudOsconfigCommonV1OperationMetadata setEndTime(String endTime) {
this.endTime = endTime;
return this;
}

/**
* Output only. Identifies whether the user has requested cancellation of the operation.
* Operations that have successfully been cancelled have Operation.error value with a
* google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.
* @return value or {@code null} for none
*/
public java.lang.Boolean getRequestedCancellation() {
return requestedCancellation;
}

/**
* Output only. Identifies whether the user has requested cancellation of the operation.
* Operations that have successfully been cancelled have Operation.error value with a
* google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.
* @param requestedCancellation requestedCancellation or {@code null} for none
*/
public GoogleCloudOsconfigCommonV1OperationMetadata setRequestedCancellation(java.lang.Boolean requestedCancellation) {
this.requestedCancellation = requestedCancellation;
return this;
}

/**
* Output only. Human-readable status of the operation, if any.
* @return value or {@code null} for none
*/
public java.lang.String getStatusMessage() {
return statusMessage;
}

/**
* Output only. Human-readable status of the operation, if any.
* @param statusMessage statusMessage or {@code null} for none
*/
public GoogleCloudOsconfigCommonV1OperationMetadata setStatusMessage(java.lang.String statusMessage) {
this.statusMessage = statusMessage;
return this;
}

/**
* Output only. Server-defined resource path for the target of the operation.
* @return value or {@code null} for none
*/
public java.lang.String getTarget() {
return target;
}

/**
* Output only. Server-defined resource path for the target of the operation.
* @param target target or {@code null} for none
*/
public GoogleCloudOsconfigCommonV1OperationMetadata setTarget(java.lang.String target) {
this.target = target;
return this;
}

/**
* Output only. Name of the verb executed by the operation.
* @return value or {@code null} for none
*/
public java.lang.String getVerb() {
return verb;
}

/**
* Output only. Name of the verb executed by the operation.
* @param verb verb or {@code null} for none
*/
public GoogleCloudOsconfigCommonV1OperationMetadata setVerb(java.lang.String verb) {
this.verb = verb;
return this;
}

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

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

}
Loading
Loading