/// <summary>Snippet for CreateConnector</summary>
        public void CreateConnectorRequestObject()
        {
            // Snippet: CreateConnector(CreateConnectorRequest, CallSettings)
            // Create client
            VpcAccessServiceClient vpcAccessServiceClient = VpcAccessServiceClient.Create();
            // Initialize request argument(s)
            CreateConnectorRequest request = new CreateConnectorRequest
            {
                ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
                ConnectorId          = "",
                Connector            = new Connector(),
            };
            // Make the request
            Operation <Connector, OperationMetadata> response = vpcAccessServiceClient.CreateConnector(request);

            // Poll until the returned long-running operation is complete
            Operation <Connector, OperationMetadata> completedResponse = response.PollUntilCompleted();
            // Retrieve the operation result
            Connector result = completedResponse.Result;

            // Or get the name of the operation
            string operationName = response.Name;
            // This name can be stored, then the long-running operation retrieved later by name
            Operation <Connector, OperationMetadata> retrievedResponse = vpcAccessServiceClient.PollOnceCreateConnector(operationName);

            // Check if the retrieved long-running operation has completed
            if (retrievedResponse.IsCompleted)
            {
                // If it has completed, then access the result
                Connector retrievedResult = retrievedResponse.Result;
            }
            // End snippet
        }
        /// <summary>Snippet for CreateConnector</summary>
        public void CreateConnector()
        {
            // Snippet: CreateConnector(string, string, Connector, CallSettings)
            // Create client
            VpcAccessServiceClient vpcAccessServiceClient = VpcAccessServiceClient.Create();
            // Initialize request argument(s)
            string    parent      = "projects/[PROJECT]/locations/[LOCATION]";
            string    connectorId = "";
            Connector connector   = new Connector();
            // Make the request
            Operation <Connector, OperationMetadata> response = vpcAccessServiceClient.CreateConnector(parent, connectorId, connector);

            // Poll until the returned long-running operation is complete
            Operation <Connector, OperationMetadata> completedResponse = response.PollUntilCompleted();
            // Retrieve the operation result
            Connector result = completedResponse.Result;

            // Or get the name of the operation
            string operationName = response.Name;
            // This name can be stored, then the long-running operation retrieved later by name
            Operation <Connector, OperationMetadata> retrievedResponse = vpcAccessServiceClient.PollOnceCreateConnector(operationName);

            // Check if the retrieved long-running operation has completed
            if (retrievedResponse.IsCompleted)
            {
                // If it has completed, then access the result
                Connector retrievedResult = retrievedResponse.Result;
            }
            // End snippet
        }