📂 File Browser

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

📁 Directories

📁 Resource/ 🔓 Open

📄 Files

🐘 AdvanceRelocateBucketOperationRequest.php
▶ Open 📄 View Source
🐘 AnywhereCache.php
▶ Open 📄 View Source
🐘 AnywhereCaches.php
▶ Open 📄 View Source
🐘 Bucket.php
▶ Open 📄 View Source
🐘 BucketAccessControl.php
▶ Open 📄 View Source
🐘 BucketAccessControlProjectTeam.php
▶ Open 📄 View Source
🐘 BucketAccessControls.php
▶ Open 📄 View Source
🐘 BucketAutoclass.php
▶ Open 📄 View Source
🐘 BucketBilling.php
▶ Open 📄 View Source
🐘 BucketCors.php
▶ Open 📄 View Source
🐘 BucketCustomPlacementConfig.php
▶ Open 📄 View Source
🐘 BucketEncryption.php
▶ Open 📄 View Source
🐘 BucketEncryptionCustomerManagedEncryptionEnforcementConfig.php
▶ Open 📄 View Source
🐘 BucketEncryptionCustomerSuppliedEncryptionEnforcementConfig.php
▶ Open 📄 View Source
🐘 BucketEncryptionGoogleManagedEncryptionEnforcementConfig.php
▶ Open 📄 View Source
🐘 BucketHierarchicalNamespace.php
▶ Open 📄 View Source
🐘 BucketIamConfiguration.php
▶ Open 📄 View Source
🐘 BucketIamConfigurationBucketPolicyOnly.php
▶ Open 📄 View Source
🐘 BucketIamConfigurationUniformBucketLevelAccess.php
▶ Open 📄 View Source
🐘 BucketIpFilter.php
▶ Open 📄 View Source
🐘 BucketIpFilterPublicNetworkSource.php
▶ Open 📄 View Source
🐘 BucketIpFilterVpcNetworkSources.php
▶ Open 📄 View Source
🐘 BucketLifecycle.php
▶ Open 📄 View Source
🐘 BucketLifecycleRule.php
▶ Open 📄 View Source
🐘 BucketLifecycleRuleAction.php
▶ Open 📄 View Source
🐘 BucketLifecycleRuleCondition.php
▶ Open 📄 View Source
🐘 BucketLogging.php
▶ Open 📄 View Source
🐘 BucketObjectRetention.php
▶ Open 📄 View Source
🐘 BucketOwner.php
▶ Open 📄 View Source
🐘 BucketRetentionPolicy.php
▶ Open 📄 View Source
🐘 BucketSoftDeletePolicy.php
▶ Open 📄 View Source
🐘 BucketStorageLayout.php
▶ Open 📄 View Source
🐘 BucketStorageLayoutCustomPlacementConfig.php
▶ Open 📄 View Source
🐘 BucketStorageLayoutHierarchicalNamespace.php
▶ Open 📄 View Source
🐘 BucketVersioning.php
▶ Open 📄 View Source
🐘 BucketWebsite.php
▶ Open 📄 View Source
🐘 Buckets.php
▶ Open 📄 View Source
🐘 BulkRestoreObjectsRequest.php
▶ Open 📄 View Source
🐘 Channel.php
▶ Open 📄 View Source
🐘 ComposeRequest.php
▶ Open 📄 View Source
🐘 ComposeRequestSourceObjects.php
▶ Open 📄 View Source
🐘 ComposeRequestSourceObjectsObjectPreconditions.php
▶ Open 📄 View Source
🐘 Expr.php
▶ Open 📄 View Source
🐘 Folder.php
▶ Open 📄 View Source
🐘 FolderPendingRenameInfo.php
▶ Open 📄 View Source
🐘 Folders.php
▶ Open 📄 View Source
🐘 GoogleLongrunningListOperationsResponse.php
▶ Open 📄 View Source
🐘 GoogleLongrunningOperation.php
▶ Open 📄 View Source
🐘 GoogleRpcStatus.php
▶ Open 📄 View Source
🐘 HmacKey.php
▶ Open 📄 View Source
🐘 HmacKeyMetadata.php
▶ Open 📄 View Source
🐘 HmacKeysMetadata.php
▶ Open 📄 View Source
🐘 ManagedFolder.php
▶ Open 📄 View Source
🐘 ManagedFolders.php
▶ Open 📄 View Source
🐘 Notification.php
▶ Open 📄 View Source
🐘 Notifications.php
▶ Open 📄 View Source
🐘 ObjectAccessControl.php
▶ Open 📄 View Source
🐘 ObjectAccessControlProjectTeam.php
▶ Open 📄 View Source
🐘 ObjectAccessControls.php
▶ Open 📄 View Source
🐘 ObjectCustomContextPayload.php
▶ Open 📄 View Source
🐘 Objects.php
▶ Open 📄 View Source
🐘 Policy.php
▶ Open 📄 View Source
🐘 PolicyBindings.php
▶ Open 📄 View Source
🐘 RelocateBucketRequest.php
▶ Open 📄 View Source
🐘 RelocateBucketRequestDestinationCustomPlacementConfig.php
▶ Open 📄 View Source
🐘 RewriteResponse.php
▶ Open 📄 View Source
🐘 ServiceAccount.php
▶ Open 📄 View Source
🐘 StorageObject.php
▶ Open 📄 View Source
🐘 StorageObjectContexts.php
▶ Open 📄 View Source
🐘 StorageObjectCustomerEncryption.php
▶ Open 📄 View Source
🐘 StorageObjectOwner.php
▶ Open 📄 View Source
🐘 StorageObjectRetention.php
▶ Open 📄 View Source
🐘 TestIamPermissionsResponse.php
▶ Open 📄 View Source

📄 Source: ObjectAccessControl.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\Storage;

class ObjectAccessControl extends \Google\Model
{
  /**
   * The name of the bucket.
   *
   * @var string
   */
  public $bucket;
  /**
   * The domain associated with the entity, if any.
   *
   * @var string
   */
  public $domain;
  /**
   * The email address associated with the entity, if any.
   *
   * @var string
   */
  public $email;
  /**
   * The entity holding the permission, in one of the following forms: - user-
   * userId  - user-email  - group-groupId  - group-email  - domain-domain  -
   * project-team-projectId  - allUsers  - allAuthenticatedUsers Examples:  -
   * The user liz@example.com would be user-liz@example.com.  - The group
   * example@googlegroups.com would be group-example@googlegroups.com.  - To
   * refer to all members of the Google Apps for Business domain example.com,
   * the entity would be domain-example.com.
   *
   * @var string
   */
  public $entity;
  /**
   * The ID for the entity, if any.
   *
   * @var string
   */
  public $entityId;
  /**
   * HTTP 1.1 Entity tag for the access-control entry.
   *
   * @var string
   */
  public $etag;
  /**
   * The content generation of the object, if applied to an object.
   *
   * @var string
   */
  public $generation;
  /**
   * The ID of the access-control entry.
   *
   * @var string
   */
  public $id;
  /**
   * The kind of item this is. For object access control entries, this is always
   * storage#objectAccessControl.
   *
   * @var string
   */
  public $kind;
  /**
   * The name of the object, if applied to an object.
   *
   * @var string
   */
  public $object;
  protected $projectTeamType = ObjectAccessControlProjectTeam::class;
  protected $projectTeamDataType = '';
  /**
   * The access permission for the entity.
   *
   * @var string
   */
  public $role;
  /**
   * The link to this access-control entry.
   *
   * @var string
   */
  public $selfLink;

  /**
   * The name of the bucket.
   *
   * @param string $bucket
   */
  public function setBucket($bucket)
  {
    $this->bucket = $bucket;
  }
  /**
   * @return string
   */
  public function getBucket()
  {
    return $this->bucket;
  }
  /**
   * The domain associated with the entity, if any.
   *
   * @param string $domain
   */
  public function setDomain($domain)
  {
    $this->domain = $domain;
  }
  /**
   * @return string
   */
  public function getDomain()
  {
    return $this->domain;
  }
  /**
   * The email address associated with the entity, if any.
   *
   * @param string $email
   */
  public function setEmail($email)
  {
    $this->email = $email;
  }
  /**
   * @return string
   */
  public function getEmail()
  {
    return $this->email;
  }
  /**
   * The entity holding the permission, in one of the following forms: - user-
   * userId  - user-email  - group-groupId  - group-email  - domain-domain  -
   * project-team-projectId  - allUsers  - allAuthenticatedUsers Examples:  -
   * The user liz@example.com would be user-liz@example.com.  - The group
   * example@googlegroups.com would be group-example@googlegroups.com.  - To
   * refer to all members of the Google Apps for Business domain example.com,
   * the entity would be domain-example.com.
   *
   * @param string $entity
   */
  public function setEntity($entity)
  {
    $this->entity = $entity;
  }
  /**
   * @return string
   */
  public function getEntity()
  {
    return $this->entity;
  }
  /**
   * The ID for the entity, if any.
   *
   * @param string $entityId
   */
  public function setEntityId($entityId)
  {
    $this->entityId = $entityId;
  }
  /**
   * @return string
   */
  public function getEntityId()
  {
    return $this->entityId;
  }
  /**
   * HTTP 1.1 Entity tag for the access-control entry.
   *
   * @param string $etag
   */
  public function setEtag($etag)
  {
    $this->etag = $etag;
  }
  /**
   * @return string
   */
  public function getEtag()
  {
    return $this->etag;
  }
  /**
   * The content generation of the object, if applied to an object.
   *
   * @param string $generation
   */
  public function setGeneration($generation)
  {
    $this->generation = $generation;
  }
  /**
   * @return string
   */
  public function getGeneration()
  {
    return $this->generation;
  }
  /**
   * The ID of the access-control entry.
   *
   * @param string $id
   */
  public function setId($id)
  {
    $this->id = $id;
  }
  /**
   * @return string
   */
  public function getId()
  {
    return $this->id;
  }
  /**
   * The kind of item this is. For object access control entries, this is always
   * storage#objectAccessControl.
   *
   * @param string $kind
   */
  public function setKind($kind)
  {
    $this->kind = $kind;
  }
  /**
   * @return string
   */
  public function getKind()
  {
    return $this->kind;
  }
  /**
   * The name of the object, if applied to an object.
   *
   * @param string $object
   */
  public function setObject($object)
  {
    $this->object = $object;
  }
  /**
   * @return string
   */
  public function getObject()
  {
    return $this->object;
  }
  /**
   * The project team associated with the entity, if any.
   *
   * @param ObjectAccessControlProjectTeam $projectTeam
   */
  public function setProjectTeam(ObjectAccessControlProjectTeam $projectTeam)
  {
    $this->projectTeam = $projectTeam;
  }
  /**
   * @return ObjectAccessControlProjectTeam
   */
  public function getProjectTeam()
  {
    return $this->projectTeam;
  }
  /**
   * The access permission for the entity.
   *
   * @param string $role
   */
  public function setRole($role)
  {
    $this->role = $role;
  }
  /**
   * @return string
   */
  public function getRole()
  {
    return $this->role;
  }
  /**
   * The link to this access-control entry.
   *
   * @param string $selfLink
   */
  public function setSelfLink($selfLink)
  {
    $this->selfLink = $selfLink;
  }
  /**
   * @return string
   */
  public function getSelfLink()
  {
    return $this->selfLink;
  }
}

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