target.apidocs.com.google.api.services.integrations.v1alpha.Integrations.Projects.Locations.IntegrationsOperations.Versions.TakeoverEditLock.html Maven / Gradle / Ivy
Integrations.Projects.Locations.IntegrationsOperations.Versions.TakeoverEditLock (Application Integration API v1alpha-rev20230117-2.0.0)
com.google.api.services.integrations.v1alpha
Class Integrations.Projects.Locations.IntegrationsOperations.Versions.TakeoverEditLock
- java.lang.Object
-
- java.util.AbstractMap<String,Object>
-
- com.google.api.client.util.GenericData
-
- com.google.api.client.googleapis.services.AbstractGoogleClientRequest<T>
-
- com.google.api.client.googleapis.services.json.AbstractGoogleJsonClientRequest<T>
-
- com.google.api.services.integrations.v1alpha.IntegrationsRequest<GoogleCloudIntegrationsV1alphaTakeoverEditLockResponse>
-
- com.google.api.services.integrations.v1alpha.Integrations.Projects.Locations.IntegrationsOperations.Versions.TakeoverEditLock
-
- Enclosing class:
- Integrations.Projects.Locations.IntegrationsOperations.Versions
public class Integrations.Projects.Locations.IntegrationsOperations.Versions.TakeoverEditLock
extends IntegrationsRequest<GoogleCloudIntegrationsV1alphaTakeoverEditLockResponse>
-
-
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
Modifier
Constructor and Description
protected
TakeoverEditLock(String integrationVersion,
GoogleCloudIntegrationsV1alphaTakeoverEditLockRequest content)
Clears the `locked_by` and `locked_at_timestamp`in the DRAFT version of this integration.
-
Method Summary
-
Methods inherited from class com.google.api.services.integrations.v1alpha.IntegrationsRequest
get$Xgafv, getAbstractGoogleClient, getAccessToken, getAlt, getCallback, getFields, getKey, getOauthToken, getPrettyPrint, getQuotaUser, getUploadProtocol, getUploadType, setDisableGZipContent, setRequestHeaders
-
Methods inherited from class com.google.api.client.googleapis.services.json.AbstractGoogleJsonClientRequest
getJsonContent, newExceptionOnError, queue
-
Methods inherited from class com.google.api.client.googleapis.services.AbstractGoogleClientRequest
buildHttpRequest, buildHttpRequestUrl, buildHttpRequestUsingHead, checkRequiredParameter, execute, executeAndDownloadTo, executeAsInputStream, executeMedia, executeMediaAndDownloadTo, executeMediaAsInputStream, executeUnparsed, executeUsingHead, getDisableGZipContent, getHttpContent, getLastResponseHeaders, getLastStatusCode, getLastStatusMessage, getMediaHttpDownloader, getMediaHttpUploader, getRequestHeaders, getRequestMethod, getResponseClass, getReturnRawInputSteam, getUriTemplate, initializeMediaDownload, initializeMediaUpload, queue, setReturnRawInputStream
-
Methods inherited from class com.google.api.client.util.GenericData
clone, entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys, toString
-
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
-
-
Constructor Detail
-
TakeoverEditLock
protected TakeoverEditLock(String integrationVersion,
GoogleCloudIntegrationsV1alphaTakeoverEditLockRequest content)
Clears the `locked_by` and `locked_at_timestamp`in the DRAFT version of this integration. It
then performs the same action as the CreateDraftIntegrationVersion (i.e., copies the DRAFT
version of the integration as a SNAPSHOT and then creates a new DRAFT version with the
`locked_by` set to the `user_taking_over` and the `locked_at_timestamp` set to the current
timestamp). Both the `locked_by` and `user_taking_over` are notified via email about the
takeover. This RPC throws an exception if the integration is not in DRAFT status or if the
`locked_by` and `locked_at_timestamp` fields are not set.The TakeoverEdit lock is treated the
same as an edit of the integration, and hence shares ACLs with edit. Audit fields updated
include last_modified_timestamp, last_modified_by.
Create a request for the method "versions.takeoverEditLock".
This request holds the parameters needed by the the integrations server. After setting any
optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote
operation. TakeoverEditLock#initialize(com.google.api.client.googleapis.services.Abs
tractGoogleClientRequest) must be called to initialize this instance immediately after
invoking the constructor.
- Parameters:
integrationVersion - Required. The version to take over edit lock. Format:
projects/{project}/locations/{location}/integrations/{integration}/versions/{version}
content - the GoogleCloudIntegrationsV1alphaTakeoverEditLockRequest
- Since:
- 1.13
-
Method Detail
-
set$Xgafv
public Integrations.Projects.Locations.IntegrationsOperations.Versions.TakeoverEditLock set$Xgafv(String $Xgafv)
Description copied from class: IntegrationsRequest
V1 error format.
- Overrides:
set$Xgafv in class IntegrationsRequest<GoogleCloudIntegrationsV1alphaTakeoverEditLockResponse>
-
setAccessToken
public Integrations.Projects.Locations.IntegrationsOperations.Versions.TakeoverEditLock setAccessToken(String accessToken)
Description copied from class: IntegrationsRequest
OAuth access token.
- Overrides:
setAccessToken in class IntegrationsRequest<GoogleCloudIntegrationsV1alphaTakeoverEditLockResponse>
-
setAlt
public Integrations.Projects.Locations.IntegrationsOperations.Versions.TakeoverEditLock setAlt(String alt)
Description copied from class: IntegrationsRequest
Data format for response.
- Overrides:
setAlt in class IntegrationsRequest<GoogleCloudIntegrationsV1alphaTakeoverEditLockResponse>
-
setCallback
public Integrations.Projects.Locations.IntegrationsOperations.Versions.TakeoverEditLock setCallback(String callback)
Description copied from class: IntegrationsRequest
JSONP
- Overrides:
setCallback in class IntegrationsRequest<GoogleCloudIntegrationsV1alphaTakeoverEditLockResponse>
-
setFields
public Integrations.Projects.Locations.IntegrationsOperations.Versions.TakeoverEditLock setFields(String fields)
Description copied from class: IntegrationsRequest
Selector specifying which fields to include in a partial response.
- Overrides:
setFields in class IntegrationsRequest<GoogleCloudIntegrationsV1alphaTakeoverEditLockResponse>
-
setKey
public Integrations.Projects.Locations.IntegrationsOperations.Versions.TakeoverEditLock setKey(String key)
Description copied from class: IntegrationsRequest
API key. Your API key identifies your project and provides you with API access, quota, and
reports. Required unless you provide an OAuth 2.0 token.
- Overrides:
setKey in class IntegrationsRequest<GoogleCloudIntegrationsV1alphaTakeoverEditLockResponse>
-
setOauthToken
public Integrations.Projects.Locations.IntegrationsOperations.Versions.TakeoverEditLock setOauthToken(String oauthToken)
Description copied from class: IntegrationsRequest
OAuth 2.0 token for the current user.
- Overrides:
setOauthToken in class IntegrationsRequest<GoogleCloudIntegrationsV1alphaTakeoverEditLockResponse>
-
setPrettyPrint
public Integrations.Projects.Locations.IntegrationsOperations.Versions.TakeoverEditLock setPrettyPrint(Boolean prettyPrint)
Description copied from class: IntegrationsRequest
Returns response with indentations and line breaks.
- Overrides:
setPrettyPrint in class IntegrationsRequest<GoogleCloudIntegrationsV1alphaTakeoverEditLockResponse>
-
setQuotaUser
public Integrations.Projects.Locations.IntegrationsOperations.Versions.TakeoverEditLock setQuotaUser(String quotaUser)
Description copied from class: IntegrationsRequest
Available to use for quota purposes for server-side applications. Can be any arbitrary string
assigned to a user, but should not exceed 40 characters.
- Overrides:
setQuotaUser in class IntegrationsRequest<GoogleCloudIntegrationsV1alphaTakeoverEditLockResponse>
-
setUploadType
public Integrations.Projects.Locations.IntegrationsOperations.Versions.TakeoverEditLock setUploadType(String uploadType)
Description copied from class: IntegrationsRequest
Legacy upload protocol for media (e.g. "media", "multipart").
- Overrides:
setUploadType in class IntegrationsRequest<GoogleCloudIntegrationsV1alphaTakeoverEditLockResponse>
-
setUploadProtocol
public Integrations.Projects.Locations.IntegrationsOperations.Versions.TakeoverEditLock setUploadProtocol(String uploadProtocol)
Description copied from class: IntegrationsRequest
Upload protocol for media (e.g. "raw", "multipart").
- Overrides:
setUploadProtocol in class IntegrationsRequest<GoogleCloudIntegrationsV1alphaTakeoverEditLockResponse>
-
getIntegrationVersion
public String getIntegrationVersion()
Required. The version to take over edit lock. Format:
projects/{project}/locations/{location}/integrations/{integration}/versions/{version}
-
setIntegrationVersion
public Integrations.Projects.Locations.IntegrationsOperations.Versions.TakeoverEditLock setIntegrationVersion(String integrationVersion)
Required. The version to take over edit lock. Format:
projects/{project}/locations/{location}/integrations/{integration}/versions/{version}
-
set
public Integrations.Projects.Locations.IntegrationsOperations.Versions.TakeoverEditLock set(String parameterName,
Object value)
- Overrides:
set in class IntegrationsRequest<GoogleCloudIntegrationsV1alphaTakeoverEditLockResponse>
Copyright © 2011–2023 Google. All rights reserved.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy