Show / Hide Table of Contents

Class SubscriptionsResource.PatchRequest

Updates or renews a Google Workspace subscription. To learn how to use this method, see Update or renew a Google Workspace subscription.

Inheritance
object
ClientServiceRequest
ClientServiceRequest<Operation>
WorkspaceEventsBaseServiceRequest<Operation>
SubscriptionsResource.PatchRequest
Implements
IClientServiceRequest<Operation>
IClientServiceRequest
Inherited Members
WorkspaceEventsBaseServiceRequest<Operation>.Xgafv
WorkspaceEventsBaseServiceRequest<Operation>.AccessToken
WorkspaceEventsBaseServiceRequest<Operation>.Alt
WorkspaceEventsBaseServiceRequest<Operation>.Callback
WorkspaceEventsBaseServiceRequest<Operation>.Fields
WorkspaceEventsBaseServiceRequest<Operation>.Key
WorkspaceEventsBaseServiceRequest<Operation>.OauthToken
WorkspaceEventsBaseServiceRequest<Operation>.PrettyPrint
WorkspaceEventsBaseServiceRequest<Operation>.QuotaUser
WorkspaceEventsBaseServiceRequest<Operation>.UploadType
WorkspaceEventsBaseServiceRequest<Operation>.UploadProtocol
ClientServiceRequest<Operation>.Execute()
ClientServiceRequest<Operation>.ExecuteAsStream()
ClientServiceRequest<Operation>.ExecuteAsync()
ClientServiceRequest<Operation>.ExecuteAsync(CancellationToken)
ClientServiceRequest<Operation>.ExecuteAsStreamAsync()
ClientServiceRequest<Operation>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<Operation>.CreateRequest(bool?)
ClientServiceRequest<Operation>.GenerateRequestUri()
ClientServiceRequest<Operation>.GetDefaultETagAction(string)
ClientServiceRequest<Operation>.ETagAction
ClientServiceRequest<Operation>.ModifyRequest
ClientServiceRequest<Operation>.ValidateParameters
ClientServiceRequest<Operation>.ApiVersion
ClientServiceRequest<Operation>.RequestParameters
ClientServiceRequest<Operation>.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.WorkspaceEvents.v1
Assembly: Google.Apis.WorkspaceEvents.v1.dll
Syntax
public class SubscriptionsResource.PatchRequest : WorkspaceEventsBaseServiceRequest<Operation>, IClientServiceRequest<Operation>, IClientServiceRequest

Constructors

PatchRequest(IClientService, Subscription, string)

Constructs a new Patch request.

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

Properties

HttpMethod

Gets the HTTP method.

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

MethodName

Gets the method name.

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

Name

Identifier. Resource name of the subscription. Format: subscriptions/{subscription}

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

UpdateMask

Optional. The field to update. If omitted, updates any fields included in the request. You can update one of the following fields in a subscription: * expire_time: The timestamp when the subscription expires. * ttl: The time-to-live (TTL) or duration of the subscription. * event_types: The list of event types to receive about the target resource. To fully replace the subscription (the equivalent of PUT), use *. Any omitted fields are updated with empty values.

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

ValidateOnly

Optional. If set to true, validates and previews the request, but doesn't update the subscription.

Declaration
[RequestParameter("validateOnly", RequestParameterType.Query)]
public virtual bool? ValidateOnly { get; set; }
Property Value
Type Description
bool?

Methods

GetBody()

Returns the body of the request.

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

InitParameters()

Initializes Patch parameter list.

Declaration
protected override void InitParameters()
Overrides
WorkspaceEventsBaseServiceRequest<Operation>.InitParameters()

Implements

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