Class ProjectsResource.LocationsResource.AppGatewaysResource.ShouldThrottleRequest
Calls the Bouncer method ShouldThrottle to check if a request should be throttled.
Inheritance
ProjectsResource.LocationsResource.AppGatewaysResource.ShouldThrottleRequest
Inherited Members
Namespace: Google.Apis.BeyondCorp.v1alpha
Assembly: Google.Apis.BeyondCorp.v1alpha.dll
Syntax
public class ProjectsResource.LocationsResource.AppGatewaysResource.ShouldThrottleRequest : BeyondCorpBaseServiceRequest<ShouldThrottleResponse>, IClientServiceRequest<ShouldThrottleResponse>, IClientServiceRequest
Constructors
ShouldThrottleRequest(IClientService, string)
Constructs a new ShouldThrottle request.
Declaration
public ShouldThrottleRequest(IClientService service, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
string | name |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Name
Required. Name of the resource
Declaration
[RequestParameter("name", RequestParameterType.Path)]
public virtual string Name { get; }
Property Value
Type | Description |
---|---|
string |
Port
Optional. The port that is being throttled
Declaration
[RequestParameter("port", RequestParameterType.Query)]
public virtual int? Port { get; set; }
Property Value
Type | Description |
---|---|
int? |
RequestedAmount
Optional. The current throughput through the port (mbps)
Declaration
[RequestParameter("requestedAmount", RequestParameterType.Query)]
public virtual long? RequestedAmount { get; set; }
Property Value
Type | Description |
---|---|
long? |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Methods
InitParameters()
Initializes ShouldThrottle parameter list.
Declaration
protected override void InitParameters()