Class ProjectsResource.LocationsResource.CheckConsumerConfigRequest
CheckConsumerConfig validates the consumer network and project for potential PSC connection creation.
This method performs several checks, including: - Validating the existence and permissions of the
service class. - Ensuring the consumer network exists and is accessible. - Verifying XPN relationships
if applicable. - Checking for compatible IP versions between the consumer network and the requested
version. This method performs a dynamic IAM check for the networkconnectivity.serviceClasses.use
permission on the service class resource in the Prepare phase.
Inheritance
Inherited Members
Namespace: Google.Apis.Networkconnectivity.v1
Assembly: Google.Apis.Networkconnectivity.v1.dll
Syntax
public class ProjectsResource.LocationsResource.CheckConsumerConfigRequest : NetworkconnectivityBaseServiceRequest<CheckConsumerConfigResponse>, IClientServiceRequest<CheckConsumerConfigResponse>, IClientServiceRequest
Constructors
CheckConsumerConfigRequest(IClientService, CheckConsumerConfigRequest, string)
Constructs a new CheckConsumerConfig request.
Declaration
public CheckConsumerConfigRequest(IClientService service, CheckConsumerConfigRequest body, string location)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| CheckConsumerConfigRequest | body | |
| string | location |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
Location
Required. The location resource path. Example: - projects/{project}/locations/{location}
Declaration
[RequestParameter("location", RequestParameterType.Path)]
public virtual string Location { get; }
Property Value
| Type | Description |
|---|---|
| string |
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
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
| Type | Description |
|---|---|
| object |
Overrides
InitParameters()
Initializes CheckConsumerConfig parameter list.
Declaration
protected override void InitParameters()