com.google.api.services.appengine.model.OperationMetadata Maven / Gradle / Ivy
/*
* Copyright 2010 Google Inc.
*
* 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/google/apis-client-generator/
* (build: 2017-11-07 19:12:12 UTC)
* on 2017-12-15 at 01:51:25 UTC
* Modify at your own risk.
*/
package com.google.api.services.appengine.model;
/**
* Metadata for the given google.longrunning.Operation.
*
* 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 Google App Engine Admin API. For a detailed
* explanation see:
* https://developers.google.com/api-client-library/java/google-http-java-client/json
*
*
* @author Google, Inc.
*/
@SuppressWarnings("javadoc")
public final class OperationMetadata extends com.google.api.client.json.GenericJson {
/**
* Timestamp that this operation completed.@OutputOnly
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private String endTime;
/**
* Timestamp that this operation was created.@OutputOnly
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private String insertTime;
/**
* API method that initiated this operation. Example:
* google.appengine.v1beta4.Version.CreateVersion.@OutputOnly
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String method;
/**
* Type of this operation. Deprecated, use method field instead. Example:
* "create_version".@OutputOnly
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String operationType;
/**
* Name of the resource that this operation is acting on. Example:
* apps/myapp/modules/default.@OutputOnly
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String target;
/**
* User who requested this operation.@OutputOnly
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String user;
/**
* Timestamp that this operation completed.@OutputOnly
* @return value or {@code null} for none
*/
public String getEndTime() {
return endTime;
}
/**
* Timestamp that this operation completed.@OutputOnly
* @param endTime endTime or {@code null} for none
*/
public OperationMetadata setEndTime(String endTime) {
this.endTime = endTime;
return this;
}
/**
* Timestamp that this operation was created.@OutputOnly
* @return value or {@code null} for none
*/
public String getInsertTime() {
return insertTime;
}
/**
* Timestamp that this operation was created.@OutputOnly
* @param insertTime insertTime or {@code null} for none
*/
public OperationMetadata setInsertTime(String insertTime) {
this.insertTime = insertTime;
return this;
}
/**
* API method that initiated this operation. Example:
* google.appengine.v1beta4.Version.CreateVersion.@OutputOnly
* @return value or {@code null} for none
*/
public java.lang.String getMethod() {
return method;
}
/**
* API method that initiated this operation. Example:
* google.appengine.v1beta4.Version.CreateVersion.@OutputOnly
* @param method method or {@code null} for none
*/
public OperationMetadata setMethod(java.lang.String method) {
this.method = method;
return this;
}
/**
* Type of this operation. Deprecated, use method field instead. Example:
* "create_version".@OutputOnly
* @return value or {@code null} for none
*/
public java.lang.String getOperationType() {
return operationType;
}
/**
* Type of this operation. Deprecated, use method field instead. Example:
* "create_version".@OutputOnly
* @param operationType operationType or {@code null} for none
*/
public OperationMetadata setOperationType(java.lang.String operationType) {
this.operationType = operationType;
return this;
}
/**
* Name of the resource that this operation is acting on. Example:
* apps/myapp/modules/default.@OutputOnly
* @return value or {@code null} for none
*/
public java.lang.String getTarget() {
return target;
}
/**
* Name of the resource that this operation is acting on. Example:
* apps/myapp/modules/default.@OutputOnly
* @param target target or {@code null} for none
*/
public OperationMetadata setTarget(java.lang.String target) {
this.target = target;
return this;
}
/**
* User who requested this operation.@OutputOnly
* @return value or {@code null} for none
*/
public java.lang.String getUser() {
return user;
}
/**
* User who requested this operation.@OutputOnly
* @param user user or {@code null} for none
*/
public OperationMetadata setUser(java.lang.String user) {
this.user = user;
return this;
}
@Override
public OperationMetadata set(String fieldName, Object value) {
return (OperationMetadata) super.set(fieldName, value);
}
@Override
public OperationMetadata clone() {
return (OperationMetadata) super.clone();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy