📂 File Browser

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

📁 Directories

📁 Resource/ 🔓 Open

📄 Files

🐘 Bucket.php
▶ Open 📄 View Source
🐘 BucketList.php
▶ Open 📄 View Source
🐘 BucketOperation.php
▶ Open 📄 View Source
🐘 CancelJobRequest.php
▶ Open 📄 View Source
🐘 CancelJobResponse.php
▶ Open 📄 View Source
🐘 CancelOperationRequest.php
▶ Open 📄 View Source
🐘 Counters.php
▶ Open 📄 View Source
🐘 CustomContextUpdates.php
▶ Open 📄 View Source
🐘 DeleteObject.php
▶ Open 📄 View Source
🐘 ErrorLogEntry.php
▶ Open 📄 View Source
🐘 ErrorSummary.php
▶ Open 📄 View Source
🐘 Job.php
▶ Open 📄 View Source
🐘 ListBucketOperationsResponse.php
▶ Open 📄 View Source
🐘 ListJobsResponse.php
▶ Open 📄 View Source
🐘 ListLocationsResponse.php
▶ Open 📄 View Source
🐘 ListOperationsResponse.php
▶ Open 📄 View Source
🐘 Location.php
▶ Open 📄 View Source
🐘 LoggingConfig.php
▶ Open 📄 View Source
🐘 Manifest.php
▶ Open 📄 View Source
🐘 ObjectCustomContextPayload.php
▶ Open 📄 View Source
🐘 ObjectRetention.php
▶ Open 📄 View Source
🐘 Operation.php
▶ Open 📄 View Source
🐘 OperationMetadata.php
▶ Open 📄 View Source
🐘 PrefixList.php
▶ Open 📄 View Source
🐘 PutMetadata.php
▶ Open 📄 View Source
🐘 PutObjectHold.php
▶ Open 📄 View Source
🐘 RewriteObject.php
▶ Open 📄 View Source
🐘 Status.php
▶ Open 📄 View Source
🐘 StoragebatchoperationsEmpty.php
▶ Open 📄 View Source
🐘 UpdateObjectCustomContext.php
▶ Open 📄 View Source

📄 Source: RewriteObject.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\StorageBatchOperations;

class RewriteObject extends \Google\Model
{
  /**
   * Required. Resource name of the Cloud KMS key that will be used to encrypt
   * the object. The Cloud KMS key must be located in same location as the
   * object. Refer to https://cloud.google.com/storage/docs/encryption/using-
   * customer-managed-keys#add-object-key for additional documentation. Format:
   * projects/{project}/locations/{location}/keyRings/{keyring}/cryptoKeys/{key}
   * For example: "projects/123456/locations/us-central1/keyRings/my-
   * keyring/cryptoKeys/my-key". The object will be rewritten and set with the
   * specified KMS key.
   *
   * @var string
   */
  public $kmsKey;

  /**
   * Required. Resource name of the Cloud KMS key that will be used to encrypt
   * the object. The Cloud KMS key must be located in same location as the
   * object. Refer to https://cloud.google.com/storage/docs/encryption/using-
   * customer-managed-keys#add-object-key for additional documentation. Format:
   * projects/{project}/locations/{location}/keyRings/{keyring}/cryptoKeys/{key}
   * For example: "projects/123456/locations/us-central1/keyRings/my-
   * keyring/cryptoKeys/my-key". The object will be rewritten and set with the
   * specified KMS key.
   *
   * @param string $kmsKey
   */
  public function setKmsKey($kmsKey)
  {
    $this->kmsKey = $kmsKey;
  }
  /**
   * @return string
   */
  public function getKmsKey()
  {
    return $this->kmsKey;
  }
}

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