Show / Hide Table of Contents

Class LocationsResource.BucketsResource.ViewsResource.PatchRequest

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.

Inheritance
object
ClientServiceRequest
ClientServiceRequest<LogView>
LoggingBaseServiceRequest<LogView>
LocationsResource.BucketsResource.ViewsResource.PatchRequest
Implements
IClientServiceRequest<LogView>
IClientServiceRequest
Inherited Members
LoggingBaseServiceRequest<LogView>.Xgafv
LoggingBaseServiceRequest<LogView>.AccessToken
LoggingBaseServiceRequest<LogView>.Alt
LoggingBaseServiceRequest<LogView>.Callback
LoggingBaseServiceRequest<LogView>.Fields
LoggingBaseServiceRequest<LogView>.Key
LoggingBaseServiceRequest<LogView>.OauthToken
LoggingBaseServiceRequest<LogView>.PrettyPrint
LoggingBaseServiceRequest<LogView>.QuotaUser
LoggingBaseServiceRequest<LogView>.UploadType
LoggingBaseServiceRequest<LogView>.UploadProtocol
ClientServiceRequest<LogView>.Execute()
ClientServiceRequest<LogView>.ExecuteAsStream()
ClientServiceRequest<LogView>.ExecuteAsync()
ClientServiceRequest<LogView>.ExecuteAsync(CancellationToken)
ClientServiceRequest<LogView>.ExecuteAsStreamAsync()
ClientServiceRequest<LogView>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<LogView>.CreateRequest(bool?)
ClientServiceRequest<LogView>.GenerateRequestUri()
ClientServiceRequest<LogView>.GetDefaultETagAction(string)
ClientServiceRequest<LogView>.ETagAction
ClientServiceRequest<LogView>.ModifyRequest
ClientServiceRequest<LogView>.ValidateParameters
ClientServiceRequest<LogView>.ApiVersion
ClientServiceRequest<LogView>.RequestParameters
ClientServiceRequest<LogView>.Service
ClientServiceRequest._unsuccessfulResponseHandlers
ClientServiceRequest._exceptionHandlers
ClientServiceRequest._executeInterceptors
ClientServiceRequest.AddUnsuccessfulResponseHandler(IHttpUnsuccessfulResponseHandler)
ClientServiceRequest.AddExceptionHandler(IHttpExceptionHandler)
ClientServiceRequest.AddExecuteInterceptor(IHttpExecuteInterceptor)
ClientServiceRequest.Credential
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.Logging.v2
Assembly: Google.Apis.Logging.v2.dll
Syntax
public class LocationsResource.BucketsResource.ViewsResource.PatchRequest : LoggingBaseServiceRequest<LogView>, IClientServiceRequest<LogView>, IClientServiceRequest

Constructors

PatchRequest(IClientService, LogView, string)

Constructs a new Patch request.

Declaration
public PatchRequest(IClientService service, LogView body, string name)
Parameters
Type Name Description
IClientService service
LogView body
string name

Properties

HttpMethod

Gets the HTTP method.

Declaration
public override string HttpMethod { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<LogView>.HttpMethod

MethodName

Gets the method name.

Declaration
public override string MethodName { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<LogView>.MethodName

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"

Declaration
[RequestParameter("name", RequestParameterType.Path)]
public virtual string Name { get; }
Property Value
Type Description
string

RestPath

Gets the REST path.

Declaration
public override string RestPath { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<LogView>.RestPath

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

Declaration
[RequestParameter("updateMask", RequestParameterType.Query)]
public virtual object UpdateMask { get; set; }
Property Value
Type Description
object

Methods

GetBody()

Returns the body of the request.

Declaration
protected override object GetBody()
Returns
Type Description
object
Overrides
ClientServiceRequest<LogView>.GetBody()

InitParameters()

Initializes Patch parameter list.

Declaration
protected override void InitParameters()
Overrides
LoggingBaseServiceRequest<LogView>.InitParameters()

Implements

IClientServiceRequest<TResponse>
IClientServiceRequest
In this article
Back to top Generated by DocFX