Class ProjectsResource.LocationsResource.SecurityGatewaysResource.SetPeeringRequest
This is a custom method to allow customers to create a peering connections between Google network and customer networks. This is enabled only for the allowlisted customers.
Inheritance
ProjectsResource.LocationsResource.SecurityGatewaysResource.SetPeeringRequest
Inherited Members
Namespace: Google.Apis.BeyondCorp.v1
Assembly: Google.Apis.BeyondCorp.v1.dll
Syntax
public class ProjectsResource.LocationsResource.SecurityGatewaysResource.SetPeeringRequest : BeyondCorpBaseServiceRequest<GoogleLongrunningOperation>, IClientServiceRequest<GoogleLongrunningOperation>, IClientServiceRequest
Constructors
SetPeeringRequest(IClientService, GoogleCloudBeyondcorpSecuritygatewaysV1SetPeeringRequest, string)
Constructs a new SetPeering request.
Declaration
public SetPeeringRequest(IClientService service, GoogleCloudBeyondcorpSecuritygatewaysV1SetPeeringRequest body, string securityGateway)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
GoogleCloudBeyondcorpSecuritygatewaysV1SetPeeringRequest | body | |
string | securityGateway |
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
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
SecurityGateway
Required. BeyondCorp SecurityGateway name using the form:
projects/{project}/locations/{location}/securityGateways/{security_gateway}
Declaration
[RequestParameter("securityGateway", RequestParameterType.Path)]
public virtual string SecurityGateway { get; }
Property Value
Type | Description |
---|---|
string |
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
InitParameters()
Initializes SetPeering parameter list.
Declaration
protected override void InitParameters()