Show / Hide Table of Contents

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
object
ClientServiceRequest
ClientServiceRequest<CheckConsumerConfigResponse>
NetworkconnectivityBaseServiceRequest<CheckConsumerConfigResponse>
ProjectsResource.LocationsResource.CheckConsumerConfigRequest
Implements
IClientServiceRequest<CheckConsumerConfigResponse>
IClientServiceRequest
Inherited Members
NetworkconnectivityBaseServiceRequest<CheckConsumerConfigResponse>.Xgafv
NetworkconnectivityBaseServiceRequest<CheckConsumerConfigResponse>.AccessToken
NetworkconnectivityBaseServiceRequest<CheckConsumerConfigResponse>.Alt
NetworkconnectivityBaseServiceRequest<CheckConsumerConfigResponse>.Callback
NetworkconnectivityBaseServiceRequest<CheckConsumerConfigResponse>.Fields
NetworkconnectivityBaseServiceRequest<CheckConsumerConfigResponse>.Key
NetworkconnectivityBaseServiceRequest<CheckConsumerConfigResponse>.OauthToken
NetworkconnectivityBaseServiceRequest<CheckConsumerConfigResponse>.PrettyPrint
NetworkconnectivityBaseServiceRequest<CheckConsumerConfigResponse>.QuotaUser
NetworkconnectivityBaseServiceRequest<CheckConsumerConfigResponse>.UploadType
NetworkconnectivityBaseServiceRequest<CheckConsumerConfigResponse>.UploadProtocol
ClientServiceRequest<CheckConsumerConfigResponse>.Execute()
ClientServiceRequest<CheckConsumerConfigResponse>.ExecuteAsStream()
ClientServiceRequest<CheckConsumerConfigResponse>.ExecuteAsync()
ClientServiceRequest<CheckConsumerConfigResponse>.ExecuteAsync(CancellationToken)
ClientServiceRequest<CheckConsumerConfigResponse>.ExecuteAsStreamAsync()
ClientServiceRequest<CheckConsumerConfigResponse>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<CheckConsumerConfigResponse>.CreateRequest(bool?)
ClientServiceRequest<CheckConsumerConfigResponse>.GenerateRequestUri()
ClientServiceRequest<CheckConsumerConfigResponse>.GetDefaultETagAction(string)
ClientServiceRequest<CheckConsumerConfigResponse>.ETagAction
ClientServiceRequest<CheckConsumerConfigResponse>.ModifyRequest
ClientServiceRequest<CheckConsumerConfigResponse>.ValidateParameters
ClientServiceRequest<CheckConsumerConfigResponse>.ApiVersion
ClientServiceRequest<CheckConsumerConfigResponse>.RequestParameters
ClientServiceRequest<CheckConsumerConfigResponse>.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.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
ClientServiceRequest<CheckConsumerConfigResponse>.HttpMethod

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
ClientServiceRequest<CheckConsumerConfigResponse>.MethodName

RestPath

Gets the REST path.

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

Methods

GetBody()

Returns the body of the request.

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

InitParameters()

Initializes CheckConsumerConfig parameter list.

Declaration
protected override void InitParameters()
Overrides
NetworkconnectivityBaseServiceRequest<CheckConsumerConfigResponse>.InitParameters()

Implements

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