target.apidocs.com.google.api.services.logging.v2.Logging.Organizations.Locations.Buckets.Views.Patch.html Maven / Gradle / Ivy
Logging.Organizations.Locations.Buckets.Views.Patch (Cloud Logging API v2-rev20240908-2.0.0)
com.google.api.services.logging.v2
Class Logging.Organizations.Locations.Buckets.Views.Patch
- 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.logging.v2.LoggingRequest<LogView>
-
- com.google.api.services.logging.v2.Logging.Organizations.Locations.Buckets.Views.Patch
-
- Enclosing class:
- Logging.Organizations.Locations.Buckets.Views
public class Logging.Organizations.Locations.Buckets.Views.Patch
extends LoggingRequest<LogView>
-
-
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
Patch(String name,
LogView content)
Updates a view on a log bucket.
-
Method Summary
-
Methods inherited from class com.google.api.services.logging.v2.LoggingRequest
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
-
Patch
protected Patch(String name,
LogView content)
Updates a view on a log bucket. This method replaces the value of the filter field from the
existing view with the corresponding value from the new view. If an UNAVAILABLE error is
returned, this indicates that system is not in a state where it can update the view. If this
occurs, please try again in a few minutes.
Create a request for the method "views.patch".
This request holds the parameters needed by the the logging server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation. Logging.initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)
must
be called to initialize this instance immediately after invoking the constructor.
- Parameters:
name
- Required. The full resource name of the view to update
"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]" For
example:"projects/my-project/locations/global/buckets/my-bucket/views/my-view"
content
- the LogView
- Since:
- 1.13
-
Method Detail
-
set$Xgafv
public Logging.Organizations.Locations.Buckets.Views.Patch set$Xgafv(String $Xgafv)
Description copied from class: LoggingRequest
V1 error format.
- Overrides:
set$Xgafv
in class LoggingRequest<LogView>
-
setAccessToken
public Logging.Organizations.Locations.Buckets.Views.Patch setAccessToken(String accessToken)
Description copied from class: LoggingRequest
OAuth access token.
- Overrides:
setAccessToken
in class LoggingRequest<LogView>
-
setAlt
public Logging.Organizations.Locations.Buckets.Views.Patch setAlt(String alt)
Description copied from class: LoggingRequest
Data format for response.
- Overrides:
setAlt
in class LoggingRequest<LogView>
-
setCallback
public Logging.Organizations.Locations.Buckets.Views.Patch setCallback(String callback)
Description copied from class: LoggingRequest
JSONP
- Overrides:
setCallback
in class LoggingRequest<LogView>
-
setFields
public Logging.Organizations.Locations.Buckets.Views.Patch setFields(String fields)
Description copied from class: LoggingRequest
Selector specifying which fields to include in a partial response.
- Overrides:
setFields
in class LoggingRequest<LogView>
-
setKey
public Logging.Organizations.Locations.Buckets.Views.Patch setKey(String key)
Description copied from class: LoggingRequest
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 LoggingRequest<LogView>
-
setOauthToken
public Logging.Organizations.Locations.Buckets.Views.Patch setOauthToken(String oauthToken)
Description copied from class: LoggingRequest
OAuth 2.0 token for the current user.
- Overrides:
setOauthToken
in class LoggingRequest<LogView>
-
setPrettyPrint
public Logging.Organizations.Locations.Buckets.Views.Patch setPrettyPrint(Boolean prettyPrint)
Description copied from class: LoggingRequest
Returns response with indentations and line breaks.
- Overrides:
setPrettyPrint
in class LoggingRequest<LogView>
-
setQuotaUser
public Logging.Organizations.Locations.Buckets.Views.Patch setQuotaUser(String quotaUser)
Description copied from class: LoggingRequest
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 LoggingRequest<LogView>
-
setUploadType
public Logging.Organizations.Locations.Buckets.Views.Patch setUploadType(String uploadType)
Description copied from class: LoggingRequest
Legacy upload protocol for media (e.g. "media", "multipart").
- Overrides:
setUploadType
in class LoggingRequest<LogView>
-
setUploadProtocol
public Logging.Organizations.Locations.Buckets.Views.Patch setUploadProtocol(String uploadProtocol)
Description copied from class: LoggingRequest
Upload protocol for media (e.g. "raw", "multipart").
- Overrides:
setUploadProtocol
in class LoggingRequest<LogView>
-
getName
public String getName()
Required. The full resource name of the view to update
"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]" For
example:"projects/my-project/locations/global/buckets/my-bucket/views/my-view"
-
setName
public Logging.Organizations.Locations.Buckets.Views.Patch setName(String name)
Required. The full resource name of the view to update
"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]"
For example:"projects/my-project/locations/global/buckets/my-bucket/views/my-view"
-
getUpdateMask
public String getUpdateMask()
Optional. Field mask that specifies the fields in view that need an update. A field will be
overwritten if, and only if, it is in the update mask. name and output only fields cannot be
updated.For a detailed FieldMask definition, see https://developers.google.com/protocol-
buffers/docs/reference/google.protobuf#google.protobuf.FieldMaskFor example: updateMask=filter
-
setUpdateMask
public Logging.Organizations.Locations.Buckets.Views.Patch setUpdateMask(String updateMask)
Optional. Field mask that specifies the fields in view that need an update. A field
will be overwritten if, and only if, it is in the update mask. name and output only
fields cannot be updated.For a detailed FieldMask definition, see
https://developers.google.com/protocol-
buffers/docs/reference/google.protobuf#google.protobuf.FieldMaskFor example:
updateMask=filter
-
set
public Logging.Organizations.Locations.Buckets.Views.Patch set(String parameterName,
Object value)
- Overrides:
set
in class LoggingRequest<LogView>
Copyright © 2011–2024 Google. All rights reserved.
© 2015 - 2024 Weber Informatics LLC | Privacy Policy