📂 File Browser

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

📁 Directories

📁 Resource/ 🔓 Open

📄 Files

🐘 AgentPool.php
▶ Open 📄 View Source
🐘 AwsAccessKey.php
▶ Open 📄 View Source
🐘 AwsS3CompatibleData.php
▶ Open 📄 View Source
🐘 AwsS3Data.php
▶ Open 📄 View Source
🐘 AzureBlobStorageData.php
▶ Open 📄 View Source
🐘 AzureCredentials.php
▶ Open 📄 View Source
🐘 BandwidthLimit.php
▶ Open 📄 View Source
🐘 BatchTaskSpec.php
▶ Open 📄 View Source
🐘 CancelOperationRequest.php
▶ Open 📄 View Source
🐘 Date.php
▶ Open 📄 View Source
🐘 DeleteObjectTaskSpec.php
▶ Open 📄 View Source
🐘 ErrorLogEntry.php
▶ Open 📄 View Source
🐘 ErrorSummary.php
▶ Open 📄 View Source
🐘 EventStream.php
▶ Open 📄 View Source
🐘 FederatedIdentityConfig.php
▶ Open 📄 View Source
🐘 GcsData.php
▶ Open 📄 View Source
🐘 GoogleServiceAccount.php
▶ Open 📄 View Source
🐘 HdfsData.php
▶ Open 📄 View Source
🐘 HttpData.php
▶ Open 📄 View Source
🐘 ListAgentPoolsResponse.php
▶ Open 📄 View Source
🐘 ListOperationsResponse.php
▶ Open 📄 View Source
🐘 ListTaskSpec.php
▶ Open 📄 View Source
🐘 ListTransferJobsResponse.php
▶ Open 📄 View Source
🐘 LoggingConfig.php
▶ Open 📄 View Source
🐘 Manifest.php
▶ Open 📄 View Source
🐘 MetadataOptions.php
▶ Open 📄 View Source
🐘 MetadataTaskSpec.php
▶ Open 📄 View Source
🐘 NotificationConfig.php
▶ Open 📄 View Source
🐘 ObjectConditions.php
▶ Open 📄 View Source
🐘 ObjectPrefix.php
▶ Open 📄 View Source
🐘 ObjectPrefixes.php
▶ Open 📄 View Source
🐘 Operation.php
▶ Open 📄 View Source
🐘 PauseTransferOperationRequest.php
▶ Open 📄 View Source
🐘 PosixFilesystem.php
▶ Open 📄 View Source
🐘 ReplicationSpec.php
▶ Open 📄 View Source
🐘 ResumeTransferOperationRequest.php
▶ Open 📄 View Source
🐘 RunTransferJobRequest.php
▶ Open 📄 View Source
🐘 S3CompatibleMetadata.php
▶ Open 📄 View Source
🐘 Schedule.php
▶ Open 📄 View Source
🐘 Status.php
▶ Open 📄 View Source
🐘 StoragetransferEmpty.php
▶ Open 📄 View Source
🐘 TimeOfDay.php
▶ Open 📄 View Source
🐘 TransferCounters.php
▶ Open 📄 View Source
🐘 TransferJob.php
▶ Open 📄 View Source
🐘 TransferManifest.php
▶ Open 📄 View Source
🐘 TransferOperation.php
▶ Open 📄 View Source
🐘 TransferOptions.php
▶ Open 📄 View Source
🐘 TransferSpec.php
▶ Open 📄 View Source
🐘 UpdateTransferJobRequest.php
▶ Open 📄 View Source

📄 Source: LoggingConfig.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\Storagetransfer;

class LoggingConfig extends \Google\Collection
{
  protected $collection_key = 'logActions';
  /**
   * For PosixFilesystem transfers, enables [file system transfer
   * logs](https://cloud.google.com/storage-transfer/docs/on-prem-transfer-log-
   * format) instead of, or in addition to, Cloud Logging. This option ignores
   * [LoggableAction] and [LoggableActionState]. If these are set, Cloud Logging
   * will also be enabled for this transfer.
   *
   * @var bool
   */
  public $enableOnpremGcsTransferLogs;
  /**
   * States in which `log_actions` are logged. If empty, no logs are generated.
   *
   * @var string[]
   */
  public $logActionStates;
  /**
   * Specifies the actions to be logged. If empty, no logs are generated.
   *
   * @var string[]
   */
  public $logActions;

  /**
   * For PosixFilesystem transfers, enables [file system transfer
   * logs](https://cloud.google.com/storage-transfer/docs/on-prem-transfer-log-
   * format) instead of, or in addition to, Cloud Logging. This option ignores
   * [LoggableAction] and [LoggableActionState]. If these are set, Cloud Logging
   * will also be enabled for this transfer.
   *
   * @param bool $enableOnpremGcsTransferLogs
   */
  public function setEnableOnpremGcsTransferLogs($enableOnpremGcsTransferLogs)
  {
    $this->enableOnpremGcsTransferLogs = $enableOnpremGcsTransferLogs;
  }
  /**
   * @return bool
   */
  public function getEnableOnpremGcsTransferLogs()
  {
    return $this->enableOnpremGcsTransferLogs;
  }
  /**
   * States in which `log_actions` are logged. If empty, no logs are generated.
   *
   * @param string[] $logActionStates
   */
  public function setLogActionStates($logActionStates)
  {
    $this->logActionStates = $logActionStates;
  }
  /**
   * @return string[]
   */
  public function getLogActionStates()
  {
    return $this->logActionStates;
  }
  /**
   * Specifies the actions to be logged. If empty, no logs are generated.
   *
   * @param string[] $logActions
   */
  public function setLogActions($logActions)
  {
    $this->logActions = $logActions;
  }
  /**
   * @return string[]
   */
  public function getLogActions()
  {
    return $this->logActions;
  }
}

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