📂 File Browser

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

📁 Directories

📁 Resource/ 🔓 Open

📄 Files

🐘 AppendOnly.php
▶ Open 📄 View Source
🐘 AvroFileFormat.php
▶ Open 📄 View Source
🐘 BackfillAllStrategy.php
▶ Open 📄 View Source
🐘 BackfillJob.php
▶ Open 📄 View Source
🐘 BackfillNoneStrategy.php
▶ Open 📄 View Source
🐘 BadRequest.php
▶ Open 📄 View Source
🐘 BasicEncryption.php
▶ Open 📄 View Source
🐘 BigQueryClustering.php
▶ Open 📄 View Source
🐘 BigQueryDestinationConfig.php
▶ Open 📄 View Source
🐘 BigQueryPartitioning.php
▶ Open 📄 View Source
🐘 BigQueryProfile.php
▶ Open 📄 View Source
🐘 BinaryLogParser.php
▶ Open 📄 View Source
🐘 BinaryLogPosition.php
▶ Open 📄 View Source
🐘 BlmtConfig.php
▶ Open 📄 View Source
🐘 CancelOperationRequest.php
▶ Open 📄 View Source
🐘 CdcStrategy.php
▶ Open 📄 View Source
🐘 ConnectionProfile.php
▶ Open 📄 View Source
🐘 CustomizationRule.php
▶ Open 📄 View Source
🐘 DatasetTemplate.php
▶ Open 📄 View Source
🐘 DatastreamEmpty.php
▶ Open 📄 View Source
🐘 DebugInfo.php
▶ Open 📄 View Source
🐘 DestinationConfig.php
▶ Open 📄 View Source
🐘 DiscoverConnectionProfileRequest.php
▶ Open 📄 View Source
🐘 DiscoverConnectionProfileResponse.php
▶ Open 📄 View Source
🐘 DropLargeObjects.php
▶ Open 📄 View Source
🐘 EncryptionAndServerValidation.php
▶ Open 📄 View Source
🐘 EncryptionNotEnforced.php
▶ Open 📄 View Source
🐘 Error.php
▶ Open 📄 View Source
🐘 ErrorInfo.php
▶ Open 📄 View Source
🐘 EventFilter.php
▶ Open 📄 View Source
🐘 FetchErrorsRequest.php
▶ Open 📄 View Source
🐘 FetchErrorsResponse.php
▶ Open 📄 View Source
🐘 FetchStaticIpsResponse.php
▶ Open 📄 View Source
🐘 FieldViolation.php
▶ Open 📄 View Source
🐘 ForwardSshTunnelConnectivity.php
▶ Open 📄 View Source
🐘 GcsDestinationConfig.php
▶ Open 📄 View Source
🐘 GcsProfile.php
▶ Open 📄 View Source
🐘 Gtid.php
▶ Open 📄 View Source
🐘 Help.php
▶ Open 📄 View Source
🐘 HostAddress.php
▶ Open 📄 View Source
🐘 IngestionTimePartition.php
▶ Open 📄 View Source
🐘 IntegerRangePartition.php
▶ Open 📄 View Source
🐘 JsonFileFormat.php
▶ Open 📄 View Source
🐘 Link.php
▶ Open 📄 View Source
🐘 ListConnectionProfilesResponse.php
▶ Open 📄 View Source
🐘 ListLocationsResponse.php
▶ Open 📄 View Source
🐘 ListOperationsResponse.php
▶ Open 📄 View Source
🐘 ListPrivateConnectionsResponse.php
▶ Open 📄 View Source
🐘 ListRoutesResponse.php
▶ Open 📄 View Source
🐘 ListStreamObjectsResponse.php
▶ Open 📄 View Source
🐘 ListStreamsResponse.php
▶ Open 📄 View Source
🐘 LocalizedMessage.php
▶ Open 📄 View Source
🐘 Location.php
▶ Open 📄 View Source
🐘 LogFileDirectories.php
▶ Open 📄 View Source
🐘 LogMiner.php
▶ Open 📄 View Source
🐘 LookupStreamObjectRequest.php
▶ Open 📄 View Source
🐘 Merge.php
▶ Open 📄 View Source
🐘 MongodbChangeStreamPosition.php
▶ Open 📄 View Source
🐘 MongodbCluster.php
▶ Open 📄 View Source
🐘 MongodbCollection.php
▶ Open 📄 View Source
🐘 MongodbDatabase.php
▶ Open 📄 View Source
🐘 MongodbField.php
▶ Open 📄 View Source
🐘 MongodbObjectIdentifier.php
▶ Open 📄 View Source
🐘 MongodbProfile.php
▶ Open 📄 View Source
🐘 MongodbSourceConfig.php
▶ Open 📄 View Source
🐘 MongodbSslConfig.php
▶ Open 📄 View Source
🐘 MostRecentStartPosition.php
▶ Open 📄 View Source
🐘 MysqlColumn.php
▶ Open 📄 View Source
🐘 MysqlDatabase.php
▶ Open 📄 View Source
🐘 MysqlGtidPosition.php
▶ Open 📄 View Source
🐘 MysqlLogPosition.php
▶ Open 📄 View Source
🐘 MysqlObjectIdentifier.php
▶ Open 📄 View Source
🐘 MysqlProfile.php
▶ Open 📄 View Source
🐘 MysqlRdbms.php
▶ Open 📄 View Source
🐘 MysqlSourceConfig.php
▶ Open 📄 View Source
🐘 MysqlSslConfig.php
▶ Open 📄 View Source
🐘 MysqlTable.php
▶ Open 📄 View Source
🐘 NextAvailableStartPosition.php
▶ Open 📄 View Source
🐘 NoConnectivitySettings.php
▶ Open 📄 View Source
🐘 Oauth2ClientCredentials.php
▶ Open 📄 View Source
🐘 ObjectFilter.php
▶ Open 📄 View Source
🐘 Operation.php
▶ Open 📄 View Source
🐘 OperationMetadata.php
▶ Open 📄 View Source
🐘 OracleAsmConfig.php
▶ Open 📄 View Source
🐘 OracleAsmLogFileAccess.php
▶ Open 📄 View Source
🐘 OracleColumn.php
▶ Open 📄 View Source
🐘 OracleDropLargeObjects.php
▶ Open 📄 View Source
🐘 OracleObjectIdentifier.php
▶ Open 📄 View Source
🐘 OracleProfile.php
▶ Open 📄 View Source
🐘 OracleRdbms.php
▶ Open 📄 View Source
🐘 OracleSchema.php
▶ Open 📄 View Source
🐘 OracleScnPosition.php
▶ Open 📄 View Source
🐘 OracleSourceConfig.php
▶ Open 📄 View Source
🐘 OracleSslConfig.php
▶ Open 📄 View Source
🐘 OracleTable.php
▶ Open 📄 View Source
🐘 PostgresqlColumn.php
▶ Open 📄 View Source
🐘 PostgresqlObjectIdentifier.php
▶ Open 📄 View Source
🐘 PostgresqlProfile.php
▶ Open 📄 View Source
🐘 PostgresqlRdbms.php
▶ Open 📄 View Source
🐘 PostgresqlSchema.php
▶ Open 📄 View Source
🐘 PostgresqlSourceConfig.php
▶ Open 📄 View Source
🐘 PostgresqlSslConfig.php
▶ Open 📄 View Source
🐘 PostgresqlTable.php
▶ Open 📄 View Source
🐘 PreconditionFailure.php
▶ Open 📄 View Source
🐘 PreconditionFailureViolation.php
▶ Open 📄 View Source
🐘 PrivateConnection.php
▶ Open 📄 View Source
🐘 PrivateConnectivity.php
▶ Open 📄 View Source
🐘 PscInterfaceConfig.php
▶ Open 📄 View Source
🐘 QuotaFailure.php
▶ Open 📄 View Source
🐘 QuotaFailureViolation.php
▶ Open 📄 View Source
🐘 RequestInfo.php
▶ Open 📄 View Source
🐘 ResourceInfo.php
▶ Open 📄 View Source
🐘 RetryInfo.php
▶ Open 📄 View Source
🐘 Route.php
▶ Open 📄 View Source
🐘 RuleSet.php
▶ Open 📄 View Source
🐘 RunStreamRequest.php
▶ Open 📄 View Source
🐘 SalesforceField.php
▶ Open 📄 View Source
🐘 SalesforceObject.php
▶ Open 📄 View Source
🐘 SalesforceObjectIdentifier.php
▶ Open 📄 View Source
🐘 SalesforceOrg.php
▶ Open 📄 View Source
🐘 SalesforceProfile.php
▶ Open 📄 View Source
🐘 SalesforceSourceConfig.php
▶ Open 📄 View Source
🐘 ServerAndClientVerification.php
▶ Open 📄 View Source
🐘 ServerVerification.php
▶ Open 📄 View Source
🐘 SingleTargetDataset.php
▶ Open 📄 View Source
🐘 SourceConfig.php
▶ Open 📄 View Source
🐘 SourceHierarchyDatasets.php
▶ Open 📄 View Source
🐘 SourceObjectIdentifier.php
▶ Open 📄 View Source
🐘 SpannerColumn.php
▶ Open 📄 View Source
🐘 SpannerDatabase.php
▶ Open 📄 View Source
🐘 SpannerObjectIdentifier.php
▶ Open 📄 View Source
🐘 SpannerProfile.php
▶ Open 📄 View Source
🐘 SpannerSchema.php
▶ Open 📄 View Source
🐘 SpannerSourceConfig.php
▶ Open 📄 View Source
🐘 SpannerTable.php
▶ Open 📄 View Source
🐘 SpecificStartPosition.php
▶ Open 📄 View Source
🐘 SqlServerChangeTables.php
▶ Open 📄 View Source
🐘 SqlServerColumn.php
▶ Open 📄 View Source
🐘 SqlServerLsnPosition.php
▶ Open 📄 View Source
🐘 SqlServerObjectIdentifier.php
▶ Open 📄 View Source
🐘 SqlServerProfile.php
▶ Open 📄 View Source
🐘 SqlServerRdbms.php
▶ Open 📄 View Source
🐘 SqlServerSchema.php
▶ Open 📄 View Source
🐘 SqlServerSourceConfig.php
▶ Open 📄 View Source
🐘 SqlServerSslConfig.php
▶ Open 📄 View Source
🐘 SqlServerTable.php
▶ Open 📄 View Source
🐘 SqlServerTransactionLogs.php
▶ Open 📄 View Source
🐘 SrvConnectionFormat.php
▶ Open 📄 View Source
🐘 StandardConnectionFormat.php
▶ Open 📄 View Source
🐘 StartBackfillJobRequest.php
▶ Open 📄 View Source
🐘 StartBackfillJobResponse.php
▶ Open 📄 View Source
🐘 StaticServiceIpConnectivity.php
▶ Open 📄 View Source
🐘 Status.php
▶ Open 📄 View Source
🐘 StopBackfillJobRequest.php
▶ Open 📄 View Source
🐘 StopBackfillJobResponse.php
▶ Open 📄 View Source
🐘 Stream.php
▶ Open 📄 View Source
🐘 StreamLargeObjects.php
▶ Open 📄 View Source
🐘 StreamObject.php
▶ Open 📄 View Source
🐘 TimeUnitPartition.php
▶ Open 📄 View Source
🐘 UserCredentials.php
▶ Open 📄 View Source
🐘 Validation.php
▶ Open 📄 View Source
🐘 ValidationMessage.php
▶ Open 📄 View Source
🐘 ValidationResult.php
▶ Open 📄 View Source
🐘 VpcPeeringConfig.php
▶ Open 📄 View Source

📄 Source: FieldViolation.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\Datastream;

class FieldViolation extends \Google\Model
{
  /**
   * A description of why the request element is bad.
   *
   * @var string
   */
  public $description;
  /**
   * A path that leads to a field in the request body. The value will be a
   * sequence of dot-separated identifiers that identify a protocol buffer
   * field. Consider the following: message CreateContactRequest { message
   * EmailAddress { enum Type { TYPE_UNSPECIFIED = 0; HOME = 1; WORK = 2; }
   * optional string email = 1; repeated EmailType type = 2; } string full_name
   * = 1; repeated EmailAddress email_addresses = 2; } In this example, in proto
   * `field` could take one of the following values: * `full_name` for a
   * violation in the `full_name` value * `email_addresses[0].email` for a
   * violation in the `email` field of the first `email_addresses` message *
   * `email_addresses[2].type[1]` for a violation in the second `type` value in
   * the third `email_addresses` message. In JSON, the same values are
   * represented as: * `fullName` for a violation in the `fullName` value *
   * `emailAddresses[0].email` for a violation in the `email` field of the first
   * `emailAddresses` message * `emailAddresses[2].type[1]` for a violation in
   * the second `type` value in the third `emailAddresses` message.
   *
   * @var string
   */
  public $field;
  protected $localizedMessageType = LocalizedMessage::class;
  protected $localizedMessageDataType = '';
  /**
   * The reason of the field-level error. This is a constant value that
   * identifies the proximate cause of the field-level error. It should uniquely
   * identify the type of the FieldViolation within the scope of the
   * google.rpc.ErrorInfo.domain. This should be at most 63 characters and match
   * a regular expression of `A-Z+[A-Z0-9]`, which represents UPPER_SNAKE_CASE.
   *
   * @var string
   */
  public $reason;

  /**
   * A description of why the request element is bad.
   *
   * @param string $description
   */
  public function setDescription($description)
  {
    $this->description = $description;
  }
  /**
   * @return string
   */
  public function getDescription()
  {
    return $this->description;
  }
  /**
   * A path that leads to a field in the request body. The value will be a
   * sequence of dot-separated identifiers that identify a protocol buffer
   * field. Consider the following: message CreateContactRequest { message
   * EmailAddress { enum Type { TYPE_UNSPECIFIED = 0; HOME = 1; WORK = 2; }
   * optional string email = 1; repeated EmailType type = 2; } string full_name
   * = 1; repeated EmailAddress email_addresses = 2; } In this example, in proto
   * `field` could take one of the following values: * `full_name` for a
   * violation in the `full_name` value * `email_addresses[0].email` for a
   * violation in the `email` field of the first `email_addresses` message *
   * `email_addresses[2].type[1]` for a violation in the second `type` value in
   * the third `email_addresses` message. In JSON, the same values are
   * represented as: * `fullName` for a violation in the `fullName` value *
   * `emailAddresses[0].email` for a violation in the `email` field of the first
   * `emailAddresses` message * `emailAddresses[2].type[1]` for a violation in
   * the second `type` value in the third `emailAddresses` message.
   *
   * @param string $field
   */
  public function setField($field)
  {
    $this->field = $field;
  }
  /**
   * @return string
   */
  public function getField()
  {
    return $this->field;
  }
  /**
   * Provides a localized error message for field-level errors that is safe to
   * return to the API consumer.
   *
   * @param LocalizedMessage $localizedMessage
   */
  public function setLocalizedMessage(LocalizedMessage $localizedMessage)
  {
    $this->localizedMessage = $localizedMessage;
  }
  /**
   * @return LocalizedMessage
   */
  public function getLocalizedMessage()
  {
    return $this->localizedMessage;
  }
  /**
   * The reason of the field-level error. This is a constant value that
   * identifies the proximate cause of the field-level error. It should uniquely
   * identify the type of the FieldViolation within the scope of the
   * google.rpc.ErrorInfo.domain. This should be at most 63 characters and match
   * a regular expression of `A-Z+[A-Z0-9]`, which represents UPPER_SNAKE_CASE.
   *
   * @param string $reason
   */
  public function setReason($reason)
  {
    $this->reason = $reason;
  }
  /**
   * @return string
   */
  public function getReason()
  {
    return $this->reason;
  }
}

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