Show / Hide Table of Contents

Class ProjectsResource.ConfigsResource.VariablesResource.WatchRequest

Watches a specific variable and waits for a change in the variable's value. When there is a change, this method returns the new value or times out. If a variable is deleted while being watched, the variableState state is set to DELETED and the method returns the last known variable value. If you set the deadline for watching to a larger value than internal timeout (60 seconds), the current variable value is returned and the variableState will be VARIABLE_STATE_UNSPECIFIED. To learn more about creating a watcher, read the Watching a Variable for Changes documentation.

Inheritance
object
ClientServiceRequest
ClientServiceRequest<Variable>
CloudRuntimeConfigBaseServiceRequest<Variable>
ProjectsResource.ConfigsResource.VariablesResource.WatchRequest
Implements
IClientServiceRequest<Variable>
IClientServiceRequest
Inherited Members
CloudRuntimeConfigBaseServiceRequest<Variable>.Xgafv
CloudRuntimeConfigBaseServiceRequest<Variable>.AccessToken
CloudRuntimeConfigBaseServiceRequest<Variable>.Alt
CloudRuntimeConfigBaseServiceRequest<Variable>.Callback
CloudRuntimeConfigBaseServiceRequest<Variable>.Fields
CloudRuntimeConfigBaseServiceRequest<Variable>.Key
CloudRuntimeConfigBaseServiceRequest<Variable>.OauthToken
CloudRuntimeConfigBaseServiceRequest<Variable>.PrettyPrint
CloudRuntimeConfigBaseServiceRequest<Variable>.QuotaUser
CloudRuntimeConfigBaseServiceRequest<Variable>.UploadType
CloudRuntimeConfigBaseServiceRequest<Variable>.UploadProtocol
ClientServiceRequest<Variable>.Execute()
ClientServiceRequest<Variable>.ExecuteAsStream()
ClientServiceRequest<Variable>.ExecuteAsync()
ClientServiceRequest<Variable>.ExecuteAsync(CancellationToken)
ClientServiceRequest<Variable>.ExecuteAsStreamAsync()
ClientServiceRequest<Variable>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<Variable>.CreateRequest(bool?)
ClientServiceRequest<Variable>.GenerateRequestUri()
ClientServiceRequest<Variable>.GetDefaultETagAction(string)
ClientServiceRequest<Variable>.ETagAction
ClientServiceRequest<Variable>.ModifyRequest
ClientServiceRequest<Variable>.ValidateParameters
ClientServiceRequest<Variable>.ApiVersion
ClientServiceRequest<Variable>.RequestParameters
ClientServiceRequest<Variable>.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.CloudRuntimeConfig.v1beta1
Assembly: Google.Apis.CloudRuntimeConfig.v1beta1.dll
Syntax
public class ProjectsResource.ConfigsResource.VariablesResource.WatchRequest : CloudRuntimeConfigBaseServiceRequest<Variable>, IClientServiceRequest<Variable>, IClientServiceRequest

Constructors

WatchRequest(IClientService, WatchVariableRequest, string)

Constructs a new Watch request.

Declaration
public WatchRequest(IClientService service, WatchVariableRequest body, string name)
Parameters
Type Name Description
IClientService service
WatchVariableRequest body
string name

Properties

HttpMethod

Gets the HTTP method.

Declaration
public override string HttpMethod { get; }
Property Value
Type Description
string
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudRuntimeConfig.v1beta1.Data.Variable>.HttpMethod

MethodName

Gets the method name.

Declaration
public override string MethodName { get; }
Property Value
Type Description
string
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudRuntimeConfig.v1beta1.Data.Variable>.MethodName

Name

The name of the variable to watch, in the format: projects/[PROJECT_ID]/configs/[CONFIG_NAME]

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
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudRuntimeConfig.v1beta1.Data.Variable>.RestPath

Methods

GetBody()

Returns the body of the request.

Declaration
protected override object GetBody()
Returns
Type Description
object
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudRuntimeConfig.v1beta1.Data.Variable>.GetBody()

InitParameters()

Initializes Watch parameter list.

Declaration
protected override void InitParameters()
Overrides
CloudRuntimeConfigBaseServiceRequest<Variable>.InitParameters()

Implements

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