target.apidocs.com.google.api.services.logging.v2.LoggingRequest.html Maven / Gradle / Ivy
LoggingRequest (Cloud Logging API v2-rev20240913-2.0.0)
com.google.api.services.logging.v2
Class LoggingRequest<T>
- 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<T>
-
- Direct Known Subclasses:
- Logging.BillingAccounts.Exclusions.Create, Logging.BillingAccounts.Exclusions.Delete, Logging.BillingAccounts.Exclusions.Get, Logging.BillingAccounts.Exclusions.List, Logging.BillingAccounts.Exclusions.Patch, Logging.BillingAccounts.GetCmekSettings, Logging.BillingAccounts.GetSettings, Logging.BillingAccounts.Locations.Buckets.Create, Logging.BillingAccounts.Locations.Buckets.CreateAsync, Logging.BillingAccounts.Locations.Buckets.Delete, Logging.BillingAccounts.Locations.Buckets.Get, Logging.BillingAccounts.Locations.Buckets.Links.Create, Logging.BillingAccounts.Locations.Buckets.Links.Delete, Logging.BillingAccounts.Locations.Buckets.Links.Get, Logging.BillingAccounts.Locations.Buckets.Links.List, Logging.BillingAccounts.Locations.Buckets.List, Logging.BillingAccounts.Locations.Buckets.Patch, Logging.BillingAccounts.Locations.Buckets.Undelete, Logging.BillingAccounts.Locations.Buckets.UpdateAsync, Logging.BillingAccounts.Locations.Buckets.Views.Create, Logging.BillingAccounts.Locations.Buckets.Views.Delete, Logging.BillingAccounts.Locations.Buckets.Views.Get, Logging.BillingAccounts.Locations.Buckets.Views.List, Logging.BillingAccounts.Locations.Buckets.Views.Logs.List, Logging.BillingAccounts.Locations.Buckets.Views.Patch, Logging.BillingAccounts.Locations.Get, Logging.BillingAccounts.Locations.List, Logging.BillingAccounts.Locations.Operations.Cancel, Logging.BillingAccounts.Locations.Operations.Get, Logging.BillingAccounts.Locations.Operations.List, Logging.BillingAccounts.Locations.RecentQueries.List, Logging.BillingAccounts.Locations.SavedQueries.Create, Logging.BillingAccounts.Locations.SavedQueries.Delete, Logging.BillingAccounts.Locations.SavedQueries.Get, Logging.BillingAccounts.Locations.SavedQueries.List, Logging.BillingAccounts.Locations.SavedQueries.Patch, Logging.BillingAccounts.Logs.Delete, Logging.BillingAccounts.Logs.List, Logging.BillingAccounts.Sinks.Create, Logging.BillingAccounts.Sinks.Delete, Logging.BillingAccounts.Sinks.Get, Logging.BillingAccounts.Sinks.List, Logging.BillingAccounts.Sinks.Patch, Logging.BillingAccounts.Sinks.Update, Logging.Entries.Copy, Logging.Entries.List, Logging.Entries.Tail, Logging.Entries.Write, Logging.Exclusions.Create, Logging.Exclusions.Delete, Logging.Exclusions.Get, Logging.Exclusions.List, Logging.Exclusions.Patch, Logging.Folders.Exclusions.Create, Logging.Folders.Exclusions.Delete, Logging.Folders.Exclusions.Get, Logging.Folders.Exclusions.List, Logging.Folders.Exclusions.Patch, Logging.Folders.GetCmekSettings, Logging.Folders.GetSettings, Logging.Folders.Locations.Buckets.Create, Logging.Folders.Locations.Buckets.CreateAsync, Logging.Folders.Locations.Buckets.Delete, Logging.Folders.Locations.Buckets.Get, Logging.Folders.Locations.Buckets.Links.Create, Logging.Folders.Locations.Buckets.Links.Delete, Logging.Folders.Locations.Buckets.Links.Get, Logging.Folders.Locations.Buckets.Links.List, Logging.Folders.Locations.Buckets.List, Logging.Folders.Locations.Buckets.Patch, Logging.Folders.Locations.Buckets.Undelete, Logging.Folders.Locations.Buckets.UpdateAsync, Logging.Folders.Locations.Buckets.Views.Create, Logging.Folders.Locations.Buckets.Views.Delete, Logging.Folders.Locations.Buckets.Views.Get, Logging.Folders.Locations.Buckets.Views.GetIamPolicy, Logging.Folders.Locations.Buckets.Views.List, Logging.Folders.Locations.Buckets.Views.Logs.List, Logging.Folders.Locations.Buckets.Views.Patch, Logging.Folders.Locations.Buckets.Views.SetIamPolicy, Logging.Folders.Locations.Buckets.Views.TestIamPermissions, Logging.Folders.Locations.Get, Logging.Folders.Locations.List, Logging.Folders.Locations.LogScopes.Create, Logging.Folders.Locations.LogScopes.Delete, Logging.Folders.Locations.LogScopes.Get, Logging.Folders.Locations.LogScopes.List, Logging.Folders.Locations.LogScopes.Patch, Logging.Folders.Locations.Operations.Cancel, Logging.Folders.Locations.Operations.Get, Logging.Folders.Locations.Operations.List, Logging.Folders.Locations.RecentQueries.List, Logging.Folders.Locations.SavedQueries.Create, Logging.Folders.Locations.SavedQueries.Delete, Logging.Folders.Locations.SavedQueries.Get, Logging.Folders.Locations.SavedQueries.List, Logging.Folders.Locations.SavedQueries.Patch, Logging.Folders.Logs.Delete, Logging.Folders.Logs.List, Logging.Folders.Sinks.Create, Logging.Folders.Sinks.Delete, Logging.Folders.Sinks.Get, Logging.Folders.Sinks.List, Logging.Folders.Sinks.Patch, Logging.Folders.Sinks.Update, Logging.Folders.UpdateSettings, Logging.Locations.Buckets.Create, Logging.Locations.Buckets.CreateAsync, Logging.Locations.Buckets.Delete, Logging.Locations.Buckets.Get, Logging.Locations.Buckets.Links.Create, Logging.Locations.Buckets.Links.Delete, Logging.Locations.Buckets.Links.Get, Logging.Locations.Buckets.Links.List, Logging.Locations.Buckets.List, Logging.Locations.Buckets.Patch, Logging.Locations.Buckets.Undelete, Logging.Locations.Buckets.UpdateAsync, Logging.Locations.Buckets.Views.Create, Logging.Locations.Buckets.Views.Delete, Logging.Locations.Buckets.Views.Get, Logging.Locations.Buckets.Views.GetIamPolicy, Logging.Locations.Buckets.Views.List, Logging.Locations.Buckets.Views.Patch, Logging.Locations.Buckets.Views.SetIamPolicy, Logging.Locations.Buckets.Views.TestIamPermissions, Logging.Locations.Get, Logging.Locations.List, Logging.Locations.Operations.Cancel, Logging.Locations.Operations.Get, Logging.Locations.Operations.List, Logging.Logs.Delete, Logging.Logs.List, Logging.MonitoredResourceDescriptors.List, Logging.Organizations.Exclusions.Create, Logging.Organizations.Exclusions.Delete, Logging.Organizations.Exclusions.Get, Logging.Organizations.Exclusions.List, Logging.Organizations.Exclusions.Patch, Logging.Organizations.GetCmekSettings, Logging.Organizations.GetSettings, Logging.Organizations.Locations.Buckets.Create, Logging.Organizations.Locations.Buckets.CreateAsync, Logging.Organizations.Locations.Buckets.Delete, Logging.Organizations.Locations.Buckets.Get, Logging.Organizations.Locations.Buckets.Links.Create, Logging.Organizations.Locations.Buckets.Links.Delete, Logging.Organizations.Locations.Buckets.Links.Get, Logging.Organizations.Locations.Buckets.Links.List, Logging.Organizations.Locations.Buckets.List, Logging.Organizations.Locations.Buckets.Patch, Logging.Organizations.Locations.Buckets.Undelete, Logging.Organizations.Locations.Buckets.UpdateAsync, Logging.Organizations.Locations.Buckets.Views.Create, Logging.Organizations.Locations.Buckets.Views.Delete, Logging.Organizations.Locations.Buckets.Views.Get, Logging.Organizations.Locations.Buckets.Views.GetIamPolicy, Logging.Organizations.Locations.Buckets.Views.List, Logging.Organizations.Locations.Buckets.Views.Logs.List, Logging.Organizations.Locations.Buckets.Views.Patch, Logging.Organizations.Locations.Buckets.Views.SetIamPolicy, Logging.Organizations.Locations.Buckets.Views.TestIamPermissions, Logging.Organizations.Locations.Get, Logging.Organizations.Locations.List, Logging.Organizations.Locations.LogScopes.Create, Logging.Organizations.Locations.LogScopes.Delete, Logging.Organizations.Locations.LogScopes.Get, Logging.Organizations.Locations.LogScopes.List, Logging.Organizations.Locations.LogScopes.Patch, Logging.Organizations.Locations.Operations.Cancel, Logging.Organizations.Locations.Operations.Get, Logging.Organizations.Locations.Operations.List, Logging.Organizations.Locations.RecentQueries.List, Logging.Organizations.Locations.SavedQueries.Create, Logging.Organizations.Locations.SavedQueries.Delete, Logging.Organizations.Locations.SavedQueries.Get, Logging.Organizations.Locations.SavedQueries.List, Logging.Organizations.Locations.SavedQueries.Patch, Logging.Organizations.Logs.Delete, Logging.Organizations.Logs.List, Logging.Organizations.Sinks.Create, Logging.Organizations.Sinks.Delete, Logging.Organizations.Sinks.Get, Logging.Organizations.Sinks.List, Logging.Organizations.Sinks.Patch, Logging.Organizations.Sinks.Update, Logging.Organizations.UpdateCmekSettings, Logging.Organizations.UpdateSettings, Logging.Projects.Exclusions.Create, Logging.Projects.Exclusions.Delete, Logging.Projects.Exclusions.Get, Logging.Projects.Exclusions.List, Logging.Projects.Exclusions.Patch, Logging.Projects.GetCmekSettings, Logging.Projects.GetSettings, Logging.Projects.Locations.Buckets.Create, Logging.Projects.Locations.Buckets.CreateAsync, Logging.Projects.Locations.Buckets.Delete, Logging.Projects.Locations.Buckets.Get, Logging.Projects.Locations.Buckets.Links.Create, Logging.Projects.Locations.Buckets.Links.Delete, Logging.Projects.Locations.Buckets.Links.Get, Logging.Projects.Locations.Buckets.Links.List, Logging.Projects.Locations.Buckets.List, Logging.Projects.Locations.Buckets.Patch, Logging.Projects.Locations.Buckets.Undelete, Logging.Projects.Locations.Buckets.UpdateAsync, Logging.Projects.Locations.Buckets.Views.Create, Logging.Projects.Locations.Buckets.Views.Delete, Logging.Projects.Locations.Buckets.Views.Get, Logging.Projects.Locations.Buckets.Views.GetIamPolicy, Logging.Projects.Locations.Buckets.Views.List, Logging.Projects.Locations.Buckets.Views.Logs.List, Logging.Projects.Locations.Buckets.Views.Patch, Logging.Projects.Locations.Buckets.Views.SetIamPolicy, Logging.Projects.Locations.Buckets.Views.TestIamPermissions, Logging.Projects.Locations.Get, Logging.Projects.Locations.List, Logging.Projects.Locations.LogScopes.Create, Logging.Projects.Locations.LogScopes.Delete, Logging.Projects.Locations.LogScopes.Get, Logging.Projects.Locations.LogScopes.List, Logging.Projects.Locations.LogScopes.Patch, Logging.Projects.Locations.Operations.Cancel, Logging.Projects.Locations.Operations.Get, Logging.Projects.Locations.Operations.List, Logging.Projects.Locations.RecentQueries.List, Logging.Projects.Locations.SavedQueries.Create, Logging.Projects.Locations.SavedQueries.Delete, Logging.Projects.Locations.SavedQueries.Get, Logging.Projects.Locations.SavedQueries.List, Logging.Projects.Locations.SavedQueries.Patch, Logging.Projects.Logs.Delete, Logging.Projects.Logs.List, Logging.Projects.Metrics.Create, Logging.Projects.Metrics.Delete, Logging.Projects.Metrics.Get, Logging.Projects.Metrics.List, Logging.Projects.Metrics.Update, Logging.Projects.Sinks.Create, Logging.Projects.Sinks.Delete, Logging.Projects.Sinks.Get, Logging.Projects.Sinks.List, Logging.Projects.Sinks.Patch, Logging.Projects.Sinks.Update, Logging.Sinks.Create, Logging.Sinks.Delete, Logging.Sinks.Get, Logging.Sinks.List, Logging.Sinks.Update, Logging.V2.GetCmekSettings, Logging.V2.GetSettings, Logging.V2.UpdateCmekSettings, Logging.V2.UpdateSettings
public abstract class LoggingRequest<T>
extends com.google.api.client.googleapis.services.json.AbstractGoogleJsonClientRequest<T>
Logging request.
- Since:
- 1.3
-
-
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
LoggingRequest(Logging client,
String method,
String uriTemplate,
Object content,
Class<T> responseClass)
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
String
get$Xgafv()
V1 error format.
Logging
getAbstractGoogleClient()
String
getAccessToken()
OAuth access token.
String
getAlt()
Data format for response.
String
getCallback()
JSONP
String
getFields()
Selector specifying which fields to include in a partial response.
String
getKey()
API key.
String
getOauthToken()
OAuth 2.0 token for the current user.
Boolean
getPrettyPrint()
Returns response with indentations and line breaks.
String
getQuotaUser()
Available to use for quota purposes for server-side applications.
String
getUploadProtocol()
Upload protocol for media (e.g.
String
getUploadType()
Legacy upload protocol for media (e.g.
LoggingRequest<T>
set(String parameterName,
Object value)
LoggingRequest<T>
set$Xgafv(String $Xgafv)
V1 error format.
LoggingRequest<T>
setAccessToken(String accessToken)
OAuth access token.
LoggingRequest<T>
setAlt(String alt)
Data format for response.
LoggingRequest<T>
setCallback(String callback)
JSONP
LoggingRequest<T>
setDisableGZipContent(boolean disableGZipContent)
LoggingRequest<T>
setFields(String fields)
Selector specifying which fields to include in a partial response.
LoggingRequest<T>
setKey(String key)
API key.
LoggingRequest<T>
setOauthToken(String oauthToken)
OAuth 2.0 token for the current user.
LoggingRequest<T>
setPrettyPrint(Boolean prettyPrint)
Returns response with indentations and line breaks.
LoggingRequest<T>
setQuotaUser(String quotaUser)
Available to use for quota purposes for server-side applications.
LoggingRequest<T>
setRequestHeaders(com.google.api.client.http.HttpHeaders headers)
LoggingRequest<T>
setUploadProtocol(String uploadProtocol)
Upload protocol for media (e.g.
LoggingRequest<T>
setUploadType(String uploadType)
Legacy upload protocol for media (e.g.
-
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
-
LoggingRequest
public LoggingRequest(Logging client,
String method,
String uriTemplate,
Object content,
Class<T> responseClass)
- Parameters:
client
- Google client
method
- HTTP Method
uriTemplate
- URI template for the path relative to the base URL. If it starts with a "/"
the base path from the base URL will be stripped out. The URI template can also be a
full URL. URI template expansion is done using
UriTemplate.expand(String, String, Object, boolean)
content
- A POJO that can be serialized into JSON or null
for none
responseClass
- response class to parse into
-
Method Detail
-
get$Xgafv
public String get$Xgafv()
V1 error format.
-
set$Xgafv
public LoggingRequest<T> set$Xgafv(String $Xgafv)
V1 error format.
-
getAccessToken
public String getAccessToken()
OAuth access token.
-
setAccessToken
public LoggingRequest<T> setAccessToken(String accessToken)
OAuth access token.
-
getAlt
public String getAlt()
Data format for response. [default: json]
-
setAlt
public LoggingRequest<T> setAlt(String alt)
Data format for response.
-
getCallback
public String getCallback()
JSONP
-
setCallback
public LoggingRequest<T> setCallback(String callback)
JSONP
-
getFields
public String getFields()
Selector specifying which fields to include in a partial response.
-
setFields
public LoggingRequest<T> setFields(String fields)
Selector specifying which fields to include in a partial response.
-
getKey
public String getKey()
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.
-
setKey
public LoggingRequest<T> setKey(String key)
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.
-
getOauthToken
public String getOauthToken()
OAuth 2.0 token for the current user.
-
setOauthToken
public LoggingRequest<T> setOauthToken(String oauthToken)
OAuth 2.0 token for the current user.
-
getPrettyPrint
public Boolean getPrettyPrint()
Returns response with indentations and line breaks. [default: true]
-
setPrettyPrint
public LoggingRequest<T> setPrettyPrint(Boolean prettyPrint)
Returns response with indentations and line breaks.
-
getQuotaUser
public String getQuotaUser()
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.
-
setQuotaUser
public LoggingRequest<T> setQuotaUser(String quotaUser)
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.
-
getUploadType
public String getUploadType()
Legacy upload protocol for media (e.g. "media", "multipart").
-
setUploadType
public LoggingRequest<T> setUploadType(String uploadType)
Legacy upload protocol for media (e.g. "media", "multipart").
-
getUploadProtocol
public String getUploadProtocol()
Upload protocol for media (e.g. "raw", "multipart").
-
setUploadProtocol
public LoggingRequest<T> setUploadProtocol(String uploadProtocol)
Upload protocol for media (e.g. "raw", "multipart").
-
getAbstractGoogleClient
public final Logging getAbstractGoogleClient()
- Overrides:
getAbstractGoogleClient
in class com.google.api.client.googleapis.services.json.AbstractGoogleJsonClientRequest<T>
-
setDisableGZipContent
public LoggingRequest<T> setDisableGZipContent(boolean disableGZipContent)
- Overrides:
setDisableGZipContent
in class com.google.api.client.googleapis.services.json.AbstractGoogleJsonClientRequest<T>
-
setRequestHeaders
public LoggingRequest<T> setRequestHeaders(com.google.api.client.http.HttpHeaders headers)
- Overrides:
setRequestHeaders
in class com.google.api.client.googleapis.services.json.AbstractGoogleJsonClientRequest<T>
-
set
public LoggingRequest<T> set(String parameterName,
Object value)
- Overrides:
set
in class com.google.api.client.googleapis.services.json.AbstractGoogleJsonClientRequest<T>
Copyright © 2011–2024 Google. All rights reserved.
© 2015 - 2024 Weber Informatics LLC | Privacy Policy