JFIF  x x C         C     "        } !1AQa "q2#BR$3br %&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz        w !1AQ aq"2B #3Rbr{ gilour

File "GoogleCloudDiscoveryengineLoggingErrorLog.php"

Full Path: /home/palsarh/web/palsarh.in/public_html/vendor/google/apiclient-services/src/DiscoveryEngine/GoogleCloudDiscoveryengineLoggingErrorLog.php
File size: 6.31 KB
MIME-type: text/x-php
Charset: utf-8

<?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\DiscoveryEngine;

class GoogleCloudDiscoveryengineLoggingErrorLog extends \Google\Model
{
  protected $connectorRunPayloadType = GoogleCloudDiscoveryengineLoggingConnectorRunErrorContext::class;
  protected $connectorRunPayloadDataType = '';
  protected $contextType = GoogleCloudDiscoveryengineLoggingErrorContext::class;
  protected $contextDataType = '';
  protected $importPayloadType = GoogleCloudDiscoveryengineLoggingImportErrorContext::class;
  protected $importPayloadDataType = '';
  /**
   * A message describing the error.
   *
   * @var string
   */
  public $message;
  /**
   * The API request payload, represented as a protocol buffer. Most API request
   * types are supported—for example: * `type.googleapis.com/google.cloud.discov
   * eryengine.v1alpha.DocumentService.CreateDocumentRequest` * `type.googleapis
   * .com/google.cloud.discoveryengine.v1alpha.UserEventService.WriteUserEventRe
   * quest`
   *
   * @var array[]
   */
  public $requestPayload;
  /**
   * The API response payload, represented as a protocol buffer. This is used to
   * log some "soft errors", where the response is valid but we consider there
   * are some quality issues like unjoined events. The following API responses
   * are supported, and no PII is included: *
   * `google.cloud.discoveryengine.v1alpha.RecommendationService.Recommend` *
   * `google.cloud.discoveryengine.v1alpha.UserEventService.WriteUserEvent` *
   * `google.cloud.discoveryengine.v1alpha.UserEventService.CollectUserEvent`
   *
   * @var array[]
   */
  public $responsePayload;
  protected $serviceContextType = GoogleCloudDiscoveryengineLoggingServiceContext::class;
  protected $serviceContextDataType = '';
  protected $statusType = GoogleRpcStatus::class;
  protected $statusDataType = '';

  /**
   * The error payload that is populated on LRO connector sync APIs.
   *
   * @param GoogleCloudDiscoveryengineLoggingConnectorRunErrorContext $connectorRunPayload
   */
  public function setConnectorRunPayload(GoogleCloudDiscoveryengineLoggingConnectorRunErrorContext $connectorRunPayload)
  {
    $this->connectorRunPayload = $connectorRunPayload;
  }
  /**
   * @return GoogleCloudDiscoveryengineLoggingConnectorRunErrorContext
   */
  public function getConnectorRunPayload()
  {
    return $this->connectorRunPayload;
  }
  /**
   * A description of the context in which the error occurred.
   *
   * @param GoogleCloudDiscoveryengineLoggingErrorContext $context
   */
  public function setContext(GoogleCloudDiscoveryengineLoggingErrorContext $context)
  {
    $this->context = $context;
  }
  /**
   * @return GoogleCloudDiscoveryengineLoggingErrorContext
   */
  public function getContext()
  {
    return $this->context;
  }
  /**
   * The error payload that is populated on LRO import APIs.
   *
   * @param GoogleCloudDiscoveryengineLoggingImportErrorContext $importPayload
   */
  public function setImportPayload(GoogleCloudDiscoveryengineLoggingImportErrorContext $importPayload)
  {
    $this->importPayload = $importPayload;
  }
  /**
   * @return GoogleCloudDiscoveryengineLoggingImportErrorContext
   */
  public function getImportPayload()
  {
    return $this->importPayload;
  }
  /**
   * A message describing the error.
   *
   * @param string $message
   */
  public function setMessage($message)
  {
    $this->message = $message;
  }
  /**
   * @return string
   */
  public function getMessage()
  {
    return $this->message;
  }
  /**
   * The API request payload, represented as a protocol buffer. Most API request
   * types are supported—for example: * `type.googleapis.com/google.cloud.discov
   * eryengine.v1alpha.DocumentService.CreateDocumentRequest` * `type.googleapis
   * .com/google.cloud.discoveryengine.v1alpha.UserEventService.WriteUserEventRe
   * quest`
   *
   * @param array[] $requestPayload
   */
  public function setRequestPayload($requestPayload)
  {
    $this->requestPayload = $requestPayload;
  }
  /**
   * @return array[]
   */
  public function getRequestPayload()
  {
    return $this->requestPayload;
  }
  /**
   * The API response payload, represented as a protocol buffer. This is used to
   * log some "soft errors", where the response is valid but we consider there
   * are some quality issues like unjoined events. The following API responses
   * are supported, and no PII is included: *
   * `google.cloud.discoveryengine.v1alpha.RecommendationService.Recommend` *
   * `google.cloud.discoveryengine.v1alpha.UserEventService.WriteUserEvent` *
   * `google.cloud.discoveryengine.v1alpha.UserEventService.CollectUserEvent`
   *
   * @param array[] $responsePayload
   */
  public function setResponsePayload($responsePayload)
  {
    $this->responsePayload = $responsePayload;
  }
  /**
   * @return array[]
   */
  public function getResponsePayload()
  {
    return $this->responsePayload;
  }
  /**
   * The service context in which this error has occurred.
   *
   * @param GoogleCloudDiscoveryengineLoggingServiceContext $serviceContext
   */
  public function setServiceContext(GoogleCloudDiscoveryengineLoggingServiceContext $serviceContext)
  {
    $this->serviceContext = $serviceContext;
  }
  /**
   * @return GoogleCloudDiscoveryengineLoggingServiceContext
   */
  public function getServiceContext()
  {
    return $this->serviceContext;
  }
  /**
   * The RPC status associated with the error log.
   *
   * @param GoogleRpcStatus $status
   */
  public function setStatus(GoogleRpcStatus $status)
  {
    $this->status = $status;
  }
  /**
   * @return GoogleRpcStatus
   */
  public function getStatus()
  {
    return $this->status;
  }
}

// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDiscoveryengineLoggingErrorLog::class, 'Google_Service_DiscoveryEngine_GoogleCloudDiscoveryengineLoggingErrorLog');