Show / Hide Table of Contents

Class ServicesResource.CheckRequest

This method provides admission control for services that are integrated with Service Infrastructure. It checks whether an operation should be allowed based on the service configuration and relevant policies. It must be called before the operation is executed. For more information, see Admission Control. NOTE: The admission control has an expected policy propagation delay of 60s. The caller must not depend on the most recent policy changes. NOTE: The admission control has a hard limit of 1 referenced resources per call. If an operation refers to more than 1 resources, the caller must call the Check method multiple times. This method requires the servicemanagement.services.check permission on the specified service. For more information, see Service Control API Access Control.

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

Constructors

CheckRequest(IClientService, CheckRequest, string)

Constructs a new Check request.

Declaration
public CheckRequest(IClientService service, CheckRequest body, string serviceName)
Parameters
Type Name Description
IClientService service
CheckRequest body
string serviceName

Properties

HttpMethod

Gets the HTTP method.

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

MethodName

Gets the method name.

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

RestPath

Gets the REST path.

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

ServiceName

The service name as specified in its service configuration. For example, "pubsub.googleapis.com". See google.api.Service for the definition of a service name.

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

Methods

GetBody()

Returns the body of the request.

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

InitParameters()

Initializes Check parameter list.

Declaration
protected override void InitParameters()
Overrides
ServiceControlBaseServiceRequest<CheckResponse>.InitParameters()

Implements

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