Show / Hide Table of Contents

Class OrganizationsResource.ExclusionsResource.PatchRequest

Changes one or more properties of an existing exclusion in the _Default sink.

Inheritance
object
ClientServiceRequest
ClientServiceRequest<LogExclusion>
LoggingBaseServiceRequest<LogExclusion>
OrganizationsResource.ExclusionsResource.PatchRequest
Implements
IClientServiceRequest<LogExclusion>
IClientServiceRequest
Inherited Members
LoggingBaseServiceRequest<LogExclusion>.Xgafv
LoggingBaseServiceRequest<LogExclusion>.AccessToken
LoggingBaseServiceRequest<LogExclusion>.Alt
LoggingBaseServiceRequest<LogExclusion>.Callback
LoggingBaseServiceRequest<LogExclusion>.Fields
LoggingBaseServiceRequest<LogExclusion>.Key
LoggingBaseServiceRequest<LogExclusion>.OauthToken
LoggingBaseServiceRequest<LogExclusion>.PrettyPrint
LoggingBaseServiceRequest<LogExclusion>.QuotaUser
LoggingBaseServiceRequest<LogExclusion>.UploadType
LoggingBaseServiceRequest<LogExclusion>.UploadProtocol
ClientServiceRequest<LogExclusion>.Execute()
ClientServiceRequest<LogExclusion>.ExecuteAsStream()
ClientServiceRequest<LogExclusion>.ExecuteAsync()
ClientServiceRequest<LogExclusion>.ExecuteAsync(CancellationToken)
ClientServiceRequest<LogExclusion>.ExecuteAsStreamAsync()
ClientServiceRequest<LogExclusion>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<LogExclusion>.CreateRequest(bool?)
ClientServiceRequest<LogExclusion>.GenerateRequestUri()
ClientServiceRequest<LogExclusion>.GetDefaultETagAction(string)
ClientServiceRequest<LogExclusion>.ETagAction
ClientServiceRequest<LogExclusion>.ModifyRequest
ClientServiceRequest<LogExclusion>.ValidateParameters
ClientServiceRequest<LogExclusion>.ApiVersion
ClientServiceRequest<LogExclusion>.RequestParameters
ClientServiceRequest<LogExclusion>.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 OrganizationsResource.ExclusionsResource.PatchRequest : LoggingBaseServiceRequest<LogExclusion>, IClientServiceRequest<LogExclusion>, IClientServiceRequest

Constructors

PatchRequest(IClientService, LogExclusion, string)

Constructs a new Patch request.

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

Properties

HttpMethod

Gets the HTTP method.

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

MethodName

Gets the method name.

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

Name

Required. The resource name of the exclusion to update: "projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]" "organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]" "folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]" For example:"projects/my-project/exclusions/my-exclusion"

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<LogExclusion>.RestPath

UpdateMask

Required. A non-empty list of fields to change in the existing exclusion. New values for the fields are taken from the corresponding fields in the LogExclusion included in this request. Fields not mentioned in update_mask are not changed and are ignored in the request.For example, to change the filter and description of an exclusion, specify an update_mask of "filter,description".

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<LogExclusion>.GetBody()

InitParameters()

Initializes Patch parameter list.

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

Implements

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