target.apidocs.com.google.api.services.integrations.v1alpha.Integrations.Projects.Locations.IntegrationsOperations.Versions.Archive.html Maven / Gradle / Ivy
Integrations.Projects.Locations.IntegrationsOperations.Versions.Archive (Application Integration API v1alpha-rev20230117-2.0.0)
com.google.api.services.integrations.v1alpha
Class Integrations.Projects.Locations.IntegrationsOperations.Versions.Archive
- 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<GoogleCloudIntegrationsV1alphaArchiveIntegrationVersionResponse>
-
- com.google.api.services.integrations.v1alpha.Integrations.Projects.Locations.IntegrationsOperations.Versions.Archive
-
- Enclosing class:
- Integrations.Projects.Locations.IntegrationsOperations.Versions
public class Integrations.Projects.Locations.IntegrationsOperations.Versions.Archive
extends IntegrationsRequest<GoogleCloudIntegrationsV1alphaArchiveIntegrationVersionResponse>
-
-
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
Archive(String name,
GoogleCloudIntegrationsV1alphaArchiveIntegrationVersionRequest content)
Soft-deletes the 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
-
Archive
protected Archive(String name,
GoogleCloudIntegrationsV1alphaArchiveIntegrationVersionRequest content)
Soft-deletes the integration. Changes the status of the integration to ARCHIVED. If the
integration being ARCHIVED is tagged as "HEAD", the tag is removed from this snapshot and set
to the previous non-ARCHIVED snapshot. The PUBLISH_REQUESTED, DUE_FOR_DELETION tags are removed
too. This RPC throws an exception if the version being archived is DRAFT, and if the
`locked_by` user is not the same as the user performing the Archive. Audit fields updated
include last_modified_timestamp, last_modified_by. Any existing lock is released when Archiving
a integration. Currently, there is no unarchive mechanism.
Create a request for the method "versions.archive".
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.
Integrations.initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest) must
be called to initialize this instance immediately after invoking the constructor.
- Parameters:
name - Required. The version to archive. Format:
projects/{project}/locations/{location}/integrations/{integration}/versions/{version}
content - the GoogleCloudIntegrationsV1alphaArchiveIntegrationVersionRequest
- Since:
- 1.13
-
Method Detail
-
set$Xgafv
public Integrations.Projects.Locations.IntegrationsOperations.Versions.Archive set$Xgafv(String $Xgafv)
Description copied from class: IntegrationsRequest
V1 error format.
- Overrides:
set$Xgafv in class IntegrationsRequest<GoogleCloudIntegrationsV1alphaArchiveIntegrationVersionResponse>
-
setAccessToken
public Integrations.Projects.Locations.IntegrationsOperations.Versions.Archive setAccessToken(String accessToken)
Description copied from class: IntegrationsRequest
OAuth access token.
-
setAlt
public Integrations.Projects.Locations.IntegrationsOperations.Versions.Archive setAlt(String alt)
Description copied from class: IntegrationsRequest
Data format for response.
- Overrides:
setAlt in class IntegrationsRequest<GoogleCloudIntegrationsV1alphaArchiveIntegrationVersionResponse>
-
setCallback
public Integrations.Projects.Locations.IntegrationsOperations.Versions.Archive setCallback(String callback)
Description copied from class: IntegrationsRequest
JSONP
-
setFields
public Integrations.Projects.Locations.IntegrationsOperations.Versions.Archive setFields(String fields)
Description copied from class: IntegrationsRequest
Selector specifying which fields to include in a partial response.
- Overrides:
setFields in class IntegrationsRequest<GoogleCloudIntegrationsV1alphaArchiveIntegrationVersionResponse>
-
setKey
public Integrations.Projects.Locations.IntegrationsOperations.Versions.Archive 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<GoogleCloudIntegrationsV1alphaArchiveIntegrationVersionResponse>
-
setOauthToken
public Integrations.Projects.Locations.IntegrationsOperations.Versions.Archive setOauthToken(String oauthToken)
Description copied from class: IntegrationsRequest
OAuth 2.0 token for the current user.
-
setPrettyPrint
public Integrations.Projects.Locations.IntegrationsOperations.Versions.Archive setPrettyPrint(Boolean prettyPrint)
Description copied from class: IntegrationsRequest
Returns response with indentations and line breaks.
-
setQuotaUser
public Integrations.Projects.Locations.IntegrationsOperations.Versions.Archive 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.
-
setUploadType
public Integrations.Projects.Locations.IntegrationsOperations.Versions.Archive setUploadType(String uploadType)
Description copied from class: IntegrationsRequest
Legacy upload protocol for media (e.g. "media", "multipart").
-
setUploadProtocol
public Integrations.Projects.Locations.IntegrationsOperations.Versions.Archive setUploadProtocol(String uploadProtocol)
Description copied from class: IntegrationsRequest
Upload protocol for media (e.g. "raw", "multipart").
-
getName
public String getName()
Required. The version to archive. Format:
projects/{project}/locations/{location}/integrations/{integration}/versions/{version}
-
setName
public Integrations.Projects.Locations.IntegrationsOperations.Versions.Archive setName(String name)
Required. The version to archive. Format:
projects/{project}/locations/{location}/integrations/{integration}/versions/{version}
-
set
public Integrations.Projects.Locations.IntegrationsOperations.Versions.Archive set(String parameterName,
Object value)
- Overrides:
set in class IntegrationsRequest<GoogleCloudIntegrationsV1alphaArchiveIntegrationVersionResponse>
Copyright © 2011–2023 Google. All rights reserved.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy