target.apidocs.com.google.api.services.sqladmin.model.OperationMetadata.html Maven / Gradle / Ivy
The newest version!
OperationMetadata (Cloud SQL Admin API v1-rev20241108-2.0.0)
com.google.api.services.sqladmin.model
Class OperationMetadata
- java.lang.Object
-
- java.util.AbstractMap<String,Object>
-
- com.google.api.client.util.GenericData
-
- com.google.api.client.json.GenericJson
-
- com.google.api.services.sqladmin.model.OperationMetadata
-
public final class OperationMetadata
extends com.google.api.client.json.GenericJson
Represents the metadata of the long-running 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 Cloud SQL Admin API. For a detailed explanation see:
https://developers.google.com/api-client-library/java/google-http-java-client/json
- Author:
- Google, Inc.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.google.api.client.util.GenericData
com.google.api.client.util.GenericData.Flags
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
-
Constructor Summary
Constructors
Constructor and Description
OperationMetadata()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
OperationMetadata
clone()
String
getApiVersion()
Output only.
Boolean
getCancelRequested()
Output only.
String
getCreateTime()
Output only.
String
getEndTime()
Output only.
String
getStatusDetail()
Output only.
String
getTarget()
Output only.
String
getVerb()
Output only.
OperationMetadata
set(String fieldName,
Object value)
OperationMetadata
setApiVersion(String apiVersion)
Output only.
OperationMetadata
setCancelRequested(Boolean cancelRequested)
Output only.
OperationMetadata
setCreateTime(String createTime)
Output only.
OperationMetadata
setEndTime(String endTime)
Output only.
OperationMetadata
setStatusDetail(String statusDetail)
Output only.
OperationMetadata
setTarget(String target)
Output only.
OperationMetadata
setVerb(String verb)
Output only.
-
Methods inherited from class com.google.api.client.json.GenericJson
getFactory, setFactory, toPrettyString, toString
-
Methods inherited from class com.google.api.client.util.GenericData
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
-
Methods inherited from class java.util.AbstractMap
clear, containsKey, containsValue, isEmpty, keySet, size, values
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
-
Method Detail
-
getApiVersion
public String getApiVersion()
Output only. API version used to start the operation.
- Returns:
- value or
null
for none
-
setApiVersion
public OperationMetadata setApiVersion(String apiVersion)
Output only. API version used to start the operation.
- Parameters:
apiVersion
- apiVersion or null
for none
-
getCancelRequested
public Boolean getCancelRequested()
Output only. Identifies whether the user has requested cancellation of the operation.
Operations that have been cancelled successfully have Operation.error value with a
google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.
- Returns:
- value or
null
for none
-
setCancelRequested
public OperationMetadata setCancelRequested(Boolean cancelRequested)
Output only. Identifies whether the user has requested cancellation of the operation.
Operations that have been cancelled successfully have Operation.error value with a
google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.
- Parameters:
cancelRequested
- cancelRequested or null
for none
-
getCreateTime
public String getCreateTime()
Output only. The time the operation was created.
- Returns:
- value or
null
for none
-
setCreateTime
public OperationMetadata setCreateTime(String createTime)
Output only. The time the operation was created.
- Parameters:
createTime
- createTime or null
for none
-
getEndTime
public String getEndTime()
Output only. The time the operation finished running.
- Returns:
- value or
null
for none
-
setEndTime
public OperationMetadata setEndTime(String endTime)
Output only. The time the operation finished running.
- Parameters:
endTime
- endTime or null
for none
-
getStatusDetail
public String getStatusDetail()
Output only. Human-readable status of the operation, if any.
- Returns:
- value or
null
for none
-
setStatusDetail
public OperationMetadata setStatusDetail(String statusDetail)
Output only. Human-readable status of the operation, if any.
- Parameters:
statusDetail
- statusDetail or null
for none
-
getTarget
public String getTarget()
Output only. Server-defined resource path for the target of the operation.
- Returns:
- value or
null
for none
-
setTarget
public OperationMetadata setTarget(String target)
Output only. Server-defined resource path for the target of the operation.
- Parameters:
target
- target or null
for none
-
getVerb
public String getVerb()
Output only. Name of the verb executed by the operation.
- Returns:
- value or
null
for none
-
setVerb
public OperationMetadata setVerb(String verb)
Output only. Name of the verb executed by the operation.
- Parameters:
verb
- verb or null
for none
-
set
public OperationMetadata set(String fieldName,
Object value)
- Overrides:
set
in class com.google.api.client.json.GenericJson
-
clone
public OperationMetadata clone()
- Overrides:
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.
© 2015 - 2024 Weber Informatics LLC | Privacy Policy