📂 File Browser

AgentAI/vendor/google/apiclient-services/src/ServiceNetworking
🌙 Dark Mode
🎯 Quick Launch:

📁 Directories

📁 Resource/ 🔓 Open

📄 Files

🐘 AddDnsRecordSetMetadata.php
▶ Open 📄 View Source
🐘 AddDnsRecordSetRequest.php
▶ Open 📄 View Source
🐘 AddDnsZoneMetadata.php
▶ Open 📄 View Source
🐘 AddDnsZoneRequest.php
▶ Open 📄 View Source
🐘 AddDnsZoneResponse.php
▶ Open 📄 View Source
🐘 AddRolesMetadata.php
▶ Open 📄 View Source
🐘 AddRolesRequest.php
▶ Open 📄 View Source
🐘 AddRolesResponse.php
▶ Open 📄 View Source
🐘 AddSubnetworkRequest.php
▶ Open 📄 View Source
🐘 Api.php
▶ Open 📄 View Source
🐘 Aspect.php
▶ Open 📄 View Source
🐘 AspectRule.php
▶ Open 📄 View Source
🐘 AuthProvider.php
▶ Open 📄 View Source
🐘 AuthRequirement.php
▶ Open 📄 View Source
🐘 Authentication.php
▶ Open 📄 View Source
🐘 AuthenticationRule.php
▶ Open 📄 View Source
🐘 Backend.php
▶ Open 📄 View Source
🐘 BackendRule.php
▶ Open 📄 View Source
🐘 BatchingConfigProto.php
▶ Open 📄 View Source
🐘 BatchingDescriptorProto.php
▶ Open 📄 View Source
🐘 BatchingSettingsProto.php
▶ Open 📄 View Source
🐘 Billing.php
▶ Open 📄 View Source
🐘 BillingDestination.php
▶ Open 📄 View Source
🐘 CancelOperationRequest.php
▶ Open 📄 View Source
🐘 CleanupConnectionMetadata.php
▶ Open 📄 View Source
🐘 ClientLibrarySettings.php
▶ Open 📄 View Source
🐘 CloudSQLConfig.php
▶ Open 📄 View Source
🐘 CommonLanguageSettings.php
▶ Open 📄 View Source
🐘 Connection.php
▶ Open 📄 View Source
🐘 ConsumerConfig.php
▶ Open 📄 View Source
🐘 ConsumerConfigMetadata.php
▶ Open 📄 View Source
🐘 ConsumerProject.php
▶ Open 📄 View Source
🐘 Context.php
▶ Open 📄 View Source
🐘 ContextRule.php
▶ Open 📄 View Source
🐘 Control.php
▶ Open 📄 View Source
🐘 CppSettings.php
▶ Open 📄 View Source
🐘 CustomError.php
▶ Open 📄 View Source
🐘 CustomErrorRule.php
▶ Open 📄 View Source
🐘 CustomHttpPattern.php
▶ Open 📄 View Source
🐘 DeleteConnectionMetadata.php
▶ Open 📄 View Source
🐘 DeleteConnectionRequest.php
▶ Open 📄 View Source
🐘 DeletePeeredDnsDomainMetadata.php
▶ Open 📄 View Source
🐘 DisableVpcServiceControlsRequest.php
▶ Open 📄 View Source
🐘 DnsRecordSet.php
▶ Open 📄 View Source
🐘 DnsZone.php
▶ Open 📄 View Source
🐘 DnsZonePair.php
▶ Open 📄 View Source
🐘 Documentation.php
▶ Open 📄 View Source
🐘 DocumentationRule.php
▶ Open 📄 View Source
🐘 DotnetSettings.php
▶ Open 📄 View Source
🐘 EnableVpcServiceControlsRequest.php
▶ Open 📄 View Source
🐘 Endpoint.php
▶ Open 📄 View Source
🐘 Enum.php
▶ Open 📄 View Source
🐘 EnumValue.php
▶ Open 📄 View Source
🐘 ExperimentalFeatures.php
▶ Open 📄 View Source
🐘 Field.php
▶ Open 📄 View Source
🐘 FieldPolicy.php
▶ Open 📄 View Source
🐘 GetDnsZoneResponse.php
▶ Open 📄 View Source
🐘 GoSettings.php
▶ Open 📄 View Source
🐘 GoogleCloudServicenetworkingV1ConsumerConfigReservedRange.php
▶ Open 📄 View Source
🐘 GoogleCloudServicenetworkingV1betaConnection.php
▶ Open 📄 View Source
🐘 GoogleCloudServicenetworkingV1betaSubnetwork.php
▶ Open 📄 View Source
🐘 Http.php
▶ Open 📄 View Source
🐘 HttpRule.php
▶ Open 📄 View Source
🐘 JavaSettings.php
▶ Open 📄 View Source
🐘 JwtLocation.php
▶ Open 📄 View Source
🐘 LabelDescriptor.php
▶ Open 📄 View Source
🐘 ListConnectionsResponse.php
▶ Open 📄 View Source
🐘 ListDnsRecordSetsResponse.php
▶ Open 📄 View Source
🐘 ListDnsZonesResponse.php
▶ Open 📄 View Source
🐘 ListOperationsResponse.php
▶ Open 📄 View Source
🐘 ListPeeredDnsDomainsResponse.php
▶ Open 📄 View Source
🐘 LogDescriptor.php
▶ Open 📄 View Source
🐘 Logging.php
▶ Open 📄 View Source
🐘 LoggingDestination.php
▶ Open 📄 View Source
🐘 LongRunning.php
▶ Open 📄 View Source
🐘 Method.php
▶ Open 📄 View Source
🐘 MethodPolicy.php
▶ Open 📄 View Source
🐘 MethodSettings.php
▶ Open 📄 View Source
🐘 MetricDescriptor.php
▶ Open 📄 View Source
🐘 MetricDescriptorMetadata.php
▶ Open 📄 View Source
🐘 MetricRule.php
▶ Open 📄 View Source
🐘 Mixin.php
▶ Open 📄 View Source
🐘 MonitoredResourceDescriptor.php
▶ Open 📄 View Source
🐘 Monitoring.php
▶ Open 📄 View Source
🐘 MonitoringDestination.php
▶ Open 📄 View Source
🐘 NodeSettings.php
▶ Open 📄 View Source
🐘 OAuthRequirements.php
▶ Open 📄 View Source
🐘 Operation.php
▶ Open 📄 View Source
🐘 Option.php
▶ Open 📄 View Source
🐘 Page.php
▶ Open 📄 View Source
🐘 PartialDeleteConnectionMetadata.php
▶ Open 📄 View Source
🐘 PeeredDnsDomain.php
▶ Open 📄 View Source
🐘 PeeredDnsDomainMetadata.php
▶ Open 📄 View Source
🐘 PhpSettings.php
▶ Open 📄 View Source
🐘 PolicyBinding.php
▶ Open 📄 View Source
🐘 Publishing.php
▶ Open 📄 View Source
🐘 PythonSettings.php
▶ Open 📄 View Source
🐘 Quota.php
▶ Open 📄 View Source
🐘 QuotaLimit.php
▶ Open 📄 View Source
🐘 Range.php
▶ Open 📄 View Source
🐘 RangeReservation.php
▶ Open 📄 View Source
🐘 RemoveDnsRecordSetMetadata.php
▶ Open 📄 View Source
🐘 RemoveDnsRecordSetRequest.php
▶ Open 📄 View Source
🐘 RemoveDnsRecordSetResponse.php
▶ Open 📄 View Source
🐘 RemoveDnsZoneMetadata.php
▶ Open 📄 View Source
🐘 RemoveDnsZoneRequest.php
▶ Open 📄 View Source
🐘 RemoveDnsZoneResponse.php
▶ Open 📄 View Source
🐘 Route.php
▶ Open 📄 View Source
🐘 RubySettings.php
▶ Open 📄 View Source
🐘 SearchRangeRequest.php
▶ Open 📄 View Source
🐘 SecondaryIpRange.php
▶ Open 📄 View Source
🐘 SecondaryIpRangeSpec.php
▶ Open 📄 View Source
🐘 SelectiveGapicGeneration.php
▶ Open 📄 View Source
🐘 Service.php
▶ Open 📄 View Source
🐘 ServicenetworkingEmpty.php
▶ Open 📄 View Source
🐘 SourceContext.php
▶ Open 📄 View Source
🐘 SourceInfo.php
▶ Open 📄 View Source
🐘 Status.php
▶ Open 📄 View Source
🐘 Subnetwork.php
▶ Open 📄 View Source
🐘 SystemParameter.php
▶ Open 📄 View Source
🐘 SystemParameterRule.php
▶ Open 📄 View Source
🐘 SystemParameters.php
▶ Open 📄 View Source
🐘 Type.php
▶ Open 📄 View Source
🐘 UpdateConsumerConfigRequest.php
▶ Open 📄 View Source
🐘 UpdateDnsRecordSetMetadata.php
▶ Open 📄 View Source
🐘 UpdateDnsRecordSetRequest.php
▶ Open 📄 View Source
🐘 Usage.php
▶ Open 📄 View Source
🐘 UsageRule.php
▶ Open 📄 View Source
🐘 ValidateConsumerConfigRequest.php
▶ Open 📄 View Source
🐘 ValidateConsumerConfigResponse.php
▶ Open 📄 View Source
🐘 VpcServiceControls.php
▶ Open 📄 View Source

📄 Source: ValidateConsumerConfigResponse.php

<?php
/*
 * Copyright 2014 Google Inc.
 *
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
 * use this file except in compliance with the License. You may obtain a copy of
 * the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
 * License for the specific language governing permissions and limitations under
 * the License.
 */

namespace Google\Service\ServiceNetworking;

class ValidateConsumerConfigResponse extends \Google\Collection
{
  public const VALIDATION_ERROR_VALIDATION_ERROR_UNSPECIFIED = 'VALIDATION_ERROR_UNSPECIFIED';
  /**
   * In case none of the validations are requested.
   */
  public const VALIDATION_ERROR_VALIDATION_NOT_REQUESTED = 'VALIDATION_NOT_REQUESTED';
  public const VALIDATION_ERROR_SERVICE_NETWORKING_NOT_ENABLED = 'SERVICE_NETWORKING_NOT_ENABLED';
  /**
   * The network provided by the consumer does not exist.
   */
  public const VALIDATION_ERROR_NETWORK_NOT_FOUND = 'NETWORK_NOT_FOUND';
  /**
   * The network has not been peered with the producer org.
   */
  public const VALIDATION_ERROR_NETWORK_NOT_PEERED = 'NETWORK_NOT_PEERED';
  /**
   * The peering was created and later deleted.
   */
  public const VALIDATION_ERROR_NETWORK_PEERING_DELETED = 'NETWORK_PEERING_DELETED';
  /**
   * The network is a regular VPC but the network is not in the consumer's
   * project.
   */
  public const VALIDATION_ERROR_NETWORK_NOT_IN_CONSUMERS_PROJECT = 'NETWORK_NOT_IN_CONSUMERS_PROJECT';
  /**
   * The consumer project is a service project, and network is a shared VPC, but
   * the network is not in the host project of this consumer project.
   */
  public const VALIDATION_ERROR_NETWORK_NOT_IN_CONSUMERS_HOST_PROJECT = 'NETWORK_NOT_IN_CONSUMERS_HOST_PROJECT';
  /**
   * The host project associated with the consumer project was not found.
   */
  public const VALIDATION_ERROR_HOST_PROJECT_NOT_FOUND = 'HOST_PROJECT_NOT_FOUND';
  /**
   * The consumer project is not a service project for the specified host
   * project.
   */
  public const VALIDATION_ERROR_CONSUMER_PROJECT_NOT_SERVICE_PROJECT = 'CONSUMER_PROJECT_NOT_SERVICE_PROJECT';
  /**
   * The reserved IP ranges do not have enough space to create a subnet of
   * desired size.
   */
  public const VALIDATION_ERROR_RANGES_EXHAUSTED = 'RANGES_EXHAUSTED';
  /**
   * The IP ranges were not reserved.
   */
  public const VALIDATION_ERROR_RANGES_NOT_RESERVED = 'RANGES_NOT_RESERVED';
  /**
   * The IP ranges were reserved but deleted later.
   */
  public const VALIDATION_ERROR_RANGES_DELETED_LATER = 'RANGES_DELETED_LATER';
  /**
   * The consumer project does not have the compute api enabled.
   */
  public const VALIDATION_ERROR_COMPUTE_API_NOT_ENABLED = 'COMPUTE_API_NOT_ENABLED';
  /**
   * The consumer project does not have the permission from the host project.
   */
  public const VALIDATION_ERROR_USE_PERMISSION_NOT_FOUND = 'USE_PERMISSION_NOT_FOUND';
  /**
   * The SN service agent {service-@service-networking.iam.gserviceaccount.com}
   * does not have the SN service agent role on the consumer project.
   */
  public const VALIDATION_ERROR_SN_SERVICE_AGENT_PERMISSION_DENIED_ON_CONSUMER_PROJECT = 'SN_SERVICE_AGENT_PERMISSION_DENIED_ON_CONSUMER_PROJECT';
  protected $collection_key = 'existingSubnetworkCandidates';
  protected $existingSubnetworkCandidatesType = Subnetwork::class;
  protected $existingSubnetworkCandidatesDataType = 'array';
  /**
   * Indicates whether all the requested validations passed.
   *
   * @var bool
   */
  public $isValid;
  /**
   * The first validation which failed.
   *
   * @var string
   */
  public $validationError;

  /**
   * List of subnetwork candidates from the request which exist with the
   * `ip_cidr_range`, `secondary_ip_cider_ranges`, and `outside_allocation`
   * fields set.
   *
   * @param Subnetwork[] $existingSubnetworkCandidates
   */
  public function setExistingSubnetworkCandidates($existingSubnetworkCandidates)
  {
    $this->existingSubnetworkCandidates = $existingSubnetworkCandidates;
  }
  /**
   * @return Subnetwork[]
   */
  public function getExistingSubnetworkCandidates()
  {
    return $this->existingSubnetworkCandidates;
  }
  /**
   * Indicates whether all the requested validations passed.
   *
   * @param bool $isValid
   */
  public function setIsValid($isValid)
  {
    $this->isValid = $isValid;
  }
  /**
   * @return bool
   */
  public function getIsValid()
  {
    return $this->isValid;
  }
  /**
   * The first validation which failed.
   *
   * Accepted values: VALIDATION_ERROR_UNSPECIFIED, VALIDATION_NOT_REQUESTED,
   * SERVICE_NETWORKING_NOT_ENABLED, NETWORK_NOT_FOUND, NETWORK_NOT_PEERED,
   * NETWORK_PEERING_DELETED, NETWORK_NOT_IN_CONSUMERS_PROJECT,
   * NETWORK_NOT_IN_CONSUMERS_HOST_PROJECT, HOST_PROJECT_NOT_FOUND,
   * CONSUMER_PROJECT_NOT_SERVICE_PROJECT, RANGES_EXHAUSTED,
   * RANGES_NOT_RESERVED, RANGES_DELETED_LATER, COMPUTE_API_NOT_ENABLED,
   * USE_PERMISSION_NOT_FOUND,
   * SN_SERVICE_AGENT_PERMISSION_DENIED_ON_CONSUMER_PROJECT
   *
   * @param self::VALIDATION_ERROR_* $validationError
   */
  public function setValidationError($validationError)
  {
    $this->validationError = $validationError;
  }
  /**
   * @return self::VALIDATION_ERROR_*
   */
  public function getValidationError()
  {
    return $this->validationError;
  }
}

// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ValidateConsumerConfigResponse::class, 'Google_Service_ServiceNetworking_ValidateConsumerConfigResponse');
← Back