📂 File Browser

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

📁 Directories

📁 Resource/ 🔓 Open

📄 Files

🐘 Addressable.php
▶ Open 📄 View Source
🐘 AuditConfig.php
▶ Open 📄 View Source
🐘 AuditLogConfig.php
▶ Open 📄 View Source
🐘 AuthorizedDomain.php
▶ Open 📄 View Source
🐘 Binding.php
▶ Open 📄 View Source
🐘 ConfigMapEnvSource.php
▶ Open 📄 View Source
🐘 ConfigMapKeySelector.php
▶ Open 📄 View Source
🐘 ConfigMapVolumeSource.php
▶ Open 📄 View Source
🐘 Configuration.php
▶ Open 📄 View Source
🐘 ConfigurationSpec.php
▶ Open 📄 View Source
🐘 ConfigurationStatus.php
▶ Open 📄 View Source
🐘 Container.php
▶ Open 📄 View Source
🐘 ContainerPort.php
▶ Open 📄 View Source
🐘 DomainMapping.php
▶ Open 📄 View Source
🐘 DomainMappingSpec.php
▶ Open 📄 View Source
🐘 DomainMappingStatus.php
▶ Open 📄 View Source
🐘 EnvFromSource.php
▶ Open 📄 View Source
🐘 EnvVar.php
▶ Open 📄 View Source
🐘 EnvVarSource.php
▶ Open 📄 View Source
🐘 ExecAction.php
▶ Open 📄 View Source
🐘 Expr.php
▶ Open 📄 View Source
🐘 GoogleCloudRunOpV2BinaryAuthorization.php
▶ Open 📄 View Source
🐘 GoogleCloudRunOpV2CloudSqlInstance.php
▶ Open 📄 View Source
🐘 GoogleCloudRunOpV2Condition.php
▶ Open 📄 View Source
🐘 GoogleCloudRunOpV2Container.php
▶ Open 📄 View Source
🐘 GoogleCloudRunOpV2ContainerPort.php
▶ Open 📄 View Source
🐘 GoogleCloudRunOpV2EnvVar.php
▶ Open 📄 View Source
🐘 GoogleCloudRunOpV2EnvVarSource.php
▶ Open 📄 View Source
🐘 GoogleCloudRunOpV2ListRevisionsResponse.php
▶ Open 📄 View Source
🐘 GoogleCloudRunOpV2ListServicesResponse.php
▶ Open 📄 View Source
🐘 GoogleCloudRunOpV2ResourceRequirements.php
▶ Open 📄 View Source
🐘 GoogleCloudRunOpV2Revision.php
▶ Open 📄 View Source
🐘 GoogleCloudRunOpV2RevisionScaling.php
▶ Open 📄 View Source
🐘 GoogleCloudRunOpV2RevisionTemplate.php
▶ Open 📄 View Source
🐘 GoogleCloudRunOpV2SecretKeySelector.php
▶ Open 📄 View Source
🐘 GoogleCloudRunOpV2SecretVolumeSource.php
▶ Open 📄 View Source
🐘 GoogleCloudRunOpV2Service.php
▶ Open 📄 View Source
🐘 GoogleCloudRunOpV2TrafficTarget.php
▶ Open 📄 View Source
🐘 GoogleCloudRunOpV2TrafficTargetStatus.php
▶ Open 📄 View Source
🐘 GoogleCloudRunOpV2VersionToPath.php
▶ Open 📄 View Source
🐘 GoogleCloudRunOpV2Volume.php
▶ Open 📄 View Source
🐘 GoogleCloudRunOpV2VolumeMount.php
▶ Open 📄 View Source
🐘 GoogleCloudRunOpV2VpcAccess.php
▶ Open 📄 View Source
🐘 GoogleCloudRunV1Condition.php
▶ Open 📄 View Source
🐘 GoogleCloudRunV2BinaryAuthorization.php
▶ Open 📄 View Source
🐘 GoogleCloudRunV2BuildConfig.php
▶ Open 📄 View Source
🐘 GoogleCloudRunV2BuildInfo.php
▶ Open 📄 View Source
🐘 GoogleCloudRunV2BuildpacksBuild.php
▶ Open 📄 View Source
🐘 GoogleCloudRunV2CancelExecutionRequest.php
▶ Open 📄 View Source
🐘 GoogleCloudRunV2CloudSqlInstance.php
▶ Open 📄 View Source
🐘 GoogleCloudRunV2CloudStorageSource.php
▶ Open 📄 View Source
🐘 GoogleCloudRunV2Condition.php
▶ Open 📄 View Source
🐘 GoogleCloudRunV2Container.php
▶ Open 📄 View Source
🐘 GoogleCloudRunV2ContainerOverride.php
▶ Open 📄 View Source
🐘 GoogleCloudRunV2ContainerPort.php
▶ Open 📄 View Source
🐘 GoogleCloudRunV2ContainerStatus.php
▶ Open 📄 View Source
🐘 GoogleCloudRunV2DockerBuild.php
▶ Open 📄 View Source
🐘 GoogleCloudRunV2EmptyDirVolumeSource.php
▶ Open 📄 View Source
🐘 GoogleCloudRunV2EnvVar.php
▶ Open 📄 View Source
🐘 GoogleCloudRunV2EnvVarSource.php
▶ Open 📄 View Source
🐘 GoogleCloudRunV2Execution.php
▶ Open 📄 View Source
🐘 GoogleCloudRunV2ExecutionReference.php
▶ Open 📄 View Source
🐘 GoogleCloudRunV2ExecutionTemplate.php
▶ Open 📄 View Source
🐘 GoogleCloudRunV2ExportImageRequest.php
▶ Open 📄 View Source
🐘 GoogleCloudRunV2ExportImageResponse.php
▶ Open 📄 View Source
🐘 GoogleCloudRunV2ExportStatusResponse.php
▶ Open 📄 View Source
🐘 GoogleCloudRunV2GCSVolumeSource.php
▶ Open 📄 View Source
🐘 GoogleCloudRunV2GRPCAction.php
▶ Open 📄 View Source
🐘 GoogleCloudRunV2HTTPGetAction.php
▶ Open 📄 View Source
🐘 GoogleCloudRunV2HTTPHeader.php
▶ Open 📄 View Source
🐘 GoogleCloudRunV2ImageExportStatus.php
▶ Open 📄 View Source
🐘 GoogleCloudRunV2InlinedSource.php
▶ Open 📄 View Source
🐘 GoogleCloudRunV2Instance.php
▶ Open 📄 View Source
🐘 GoogleCloudRunV2InstanceSplit.php
▶ Open 📄 View Source
🐘 GoogleCloudRunV2InstanceSplitStatus.php
▶ Open 📄 View Source
🐘 GoogleCloudRunV2Job.php
▶ Open 📄 View Source
🐘 GoogleCloudRunV2ListExecutionsResponse.php
▶ Open 📄 View Source
🐘 GoogleCloudRunV2ListInstancesResponse.php
▶ Open 📄 View Source
🐘 GoogleCloudRunV2ListJobsResponse.php
▶ Open 📄 View Source
🐘 GoogleCloudRunV2ListRevisionsResponse.php
▶ Open 📄 View Source
🐘 GoogleCloudRunV2ListServicesResponse.php
▶ Open 📄 View Source
🐘 GoogleCloudRunV2ListTasksResponse.php
▶ Open 📄 View Source
🐘 GoogleCloudRunV2ListWorkerPoolsResponse.php
▶ Open 📄 View Source
🐘 GoogleCloudRunV2Metadata.php
▶ Open 📄 View Source
🐘 GoogleCloudRunV2MultiRegionSettings.php
▶ Open 📄 View Source
🐘 GoogleCloudRunV2NFSVolumeSource.php
▶ Open 📄 View Source
🐘 GoogleCloudRunV2NetworkInterface.php
▶ Open 📄 View Source
🐘 GoogleCloudRunV2NodeSelector.php
▶ Open 📄 View Source
🐘 GoogleCloudRunV2Overrides.php
▶ Open 📄 View Source
🐘 GoogleCloudRunV2Probe.php
▶ Open 📄 View Source
🐘 GoogleCloudRunV2ResourceRequirements.php
▶ Open 📄 View Source
🐘 GoogleCloudRunV2Revision.php
▶ Open 📄 View Source
🐘 GoogleCloudRunV2RevisionScaling.php
▶ Open 📄 View Source
🐘 GoogleCloudRunV2RevisionScalingStatus.php
▶ Open 📄 View Source
🐘 GoogleCloudRunV2RevisionTemplate.php
▶ Open 📄 View Source
🐘 GoogleCloudRunV2RunJobRequest.php
▶ Open 📄 View Source
🐘 GoogleCloudRunV2SecretKeySelector.php
▶ Open 📄 View Source
🐘 GoogleCloudRunV2SecretVolumeSource.php
▶ Open 📄 View Source
🐘 GoogleCloudRunV2Service.php
▶ Open 📄 View Source
🐘 GoogleCloudRunV2ServiceMesh.php
▶ Open 📄 View Source
🐘 GoogleCloudRunV2ServiceScaling.php
▶ Open 📄 View Source
🐘 GoogleCloudRunV2SourceCode.php
▶ Open 📄 View Source
🐘 GoogleCloudRunV2SourceFile.php
▶ Open 📄 View Source
🐘 GoogleCloudRunV2StartInstanceRequest.php
▶ Open 📄 View Source
🐘 GoogleCloudRunV2StopInstanceRequest.php
▶ Open 📄 View Source
🐘 GoogleCloudRunV2StorageSource.php
▶ Open 📄 View Source
🐘 GoogleCloudRunV2SubmitBuildRequest.php
▶ Open 📄 View Source
🐘 GoogleCloudRunV2SubmitBuildResponse.php
▶ Open 📄 View Source
🐘 GoogleCloudRunV2TCPSocketAction.php
▶ Open 📄 View Source
🐘 GoogleCloudRunV2Task.php
▶ Open 📄 View Source
🐘 GoogleCloudRunV2TaskAttemptResult.php
▶ Open 📄 View Source
🐘 GoogleCloudRunV2TaskTemplate.php
▶ Open 📄 View Source
🐘 GoogleCloudRunV2TrafficTarget.php
▶ Open 📄 View Source
🐘 GoogleCloudRunV2TrafficTargetStatus.php
▶ Open 📄 View Source
🐘 GoogleCloudRunV2VersionToPath.php
▶ Open 📄 View Source
🐘 GoogleCloudRunV2Volume.php
▶ Open 📄 View Source
🐘 GoogleCloudRunV2VolumeMount.php
▶ Open 📄 View Source
🐘 GoogleCloudRunV2VpcAccess.php
▶ Open 📄 View Source
🐘 GoogleCloudRunV2WorkerPool.php
▶ Open 📄 View Source
🐘 GoogleCloudRunV2WorkerPoolRevisionTemplate.php
▶ Open 📄 View Source
🐘 GoogleCloudRunV2WorkerPoolScaling.php
▶ Open 📄 View Source
🐘 GoogleDevtoolsCloudbuildV1ApprovalConfig.php
▶ Open 📄 View Source
🐘 GoogleDevtoolsCloudbuildV1ApprovalResult.php
▶ Open 📄 View Source
🐘 GoogleDevtoolsCloudbuildV1ArtifactObjects.php
▶ Open 📄 View Source
🐘 GoogleDevtoolsCloudbuildV1Artifacts.php
▶ Open 📄 View Source
🐘 GoogleDevtoolsCloudbuildV1Build.php
▶ Open 📄 View Source
🐘 GoogleDevtoolsCloudbuildV1BuildApproval.php
▶ Open 📄 View Source
🐘 GoogleDevtoolsCloudbuildV1BuildOperationMetadata.php
▶ Open 📄 View Source
🐘 GoogleDevtoolsCloudbuildV1BuildOptions.php
▶ Open 📄 View Source
🐘 GoogleDevtoolsCloudbuildV1BuildStep.php
▶ Open 📄 View Source
🐘 GoogleDevtoolsCloudbuildV1BuiltImage.php
▶ Open 📄 View Source
🐘 GoogleDevtoolsCloudbuildV1ConnectedRepository.php
▶ Open 📄 View Source
🐘 GoogleDevtoolsCloudbuildV1Dependency.php
▶ Open 📄 View Source
🐘 GoogleDevtoolsCloudbuildV1DeveloperConnectConfig.php
▶ Open 📄 View Source
🐘 GoogleDevtoolsCloudbuildV1FailureInfo.php
▶ Open 📄 View Source
🐘 GoogleDevtoolsCloudbuildV1FileHashes.php
▶ Open 📄 View Source
🐘 GoogleDevtoolsCloudbuildV1GCSLocation.php
▶ Open 📄 View Source
🐘 GoogleDevtoolsCloudbuildV1GenericArtifact.php
▶ Open 📄 View Source
🐘 GoogleDevtoolsCloudbuildV1GenericArtifactDependency.php
▶ Open 📄 View Source
🐘 GoogleDevtoolsCloudbuildV1GitConfig.php
▶ Open 📄 View Source
🐘 GoogleDevtoolsCloudbuildV1GitSource.php
▶ Open 📄 View Source
🐘 GoogleDevtoolsCloudbuildV1GitSourceDependency.php
▶ Open 📄 View Source
🐘 GoogleDevtoolsCloudbuildV1GitSourceRepository.php
▶ Open 📄 View Source
🐘 GoogleDevtoolsCloudbuildV1GoModule.php
▶ Open 📄 View Source
🐘 GoogleDevtoolsCloudbuildV1Hash.php
▶ Open 📄 View Source
🐘 GoogleDevtoolsCloudbuildV1HttpConfig.php
▶ Open 📄 View Source
🐘 GoogleDevtoolsCloudbuildV1InlineSecret.php
▶ Open 📄 View Source
🐘 GoogleDevtoolsCloudbuildV1MavenArtifact.php
▶ Open 📄 View Source
🐘 GoogleDevtoolsCloudbuildV1NpmPackage.php
▶ Open 📄 View Source
🐘 GoogleDevtoolsCloudbuildV1Oci.php
▶ Open 📄 View Source
🐘 GoogleDevtoolsCloudbuildV1PoolOption.php
▶ Open 📄 View Source
🐘 GoogleDevtoolsCloudbuildV1PythonPackage.php
▶ Open 📄 View Source
🐘 GoogleDevtoolsCloudbuildV1RepoSource.php
▶ Open 📄 View Source
🐘 GoogleDevtoolsCloudbuildV1Results.php
▶ Open 📄 View Source
🐘 GoogleDevtoolsCloudbuildV1Secret.php
▶ Open 📄 View Source
🐘 GoogleDevtoolsCloudbuildV1SecretManagerSecret.php
▶ Open 📄 View Source
🐘 GoogleDevtoolsCloudbuildV1Secrets.php
▶ Open 📄 View Source
🐘 GoogleDevtoolsCloudbuildV1Source.php
▶ Open 📄 View Source
🐘 GoogleDevtoolsCloudbuildV1SourceProvenance.php
▶ Open 📄 View Source
🐘 GoogleDevtoolsCloudbuildV1StorageSource.php
▶ Open 📄 View Source
🐘 GoogleDevtoolsCloudbuildV1StorageSourceManifest.php
▶ Open 📄 View Source
🐘 GoogleDevtoolsCloudbuildV1TimeSpan.php
▶ Open 📄 View Source
🐘 GoogleDevtoolsCloudbuildV1UploadedGenericArtifact.php
▶ Open 📄 View Source
🐘 GoogleDevtoolsCloudbuildV1UploadedGoModule.php
▶ Open 📄 View Source
🐘 GoogleDevtoolsCloudbuildV1UploadedMavenArtifact.php
▶ Open 📄 View Source
🐘 GoogleDevtoolsCloudbuildV1UploadedNpmPackage.php
▶ Open 📄 View Source
🐘 GoogleDevtoolsCloudbuildV1UploadedPythonPackage.php
▶ Open 📄 View Source
🐘 GoogleDevtoolsCloudbuildV1Volume.php
▶ Open 📄 View Source
🐘 GoogleDevtoolsCloudbuildV1Warning.php
▶ Open 📄 View Source
🐘 GoogleIamV1AuditConfig.php
▶ Open 📄 View Source
🐘 GoogleIamV1AuditLogConfig.php
▶ Open 📄 View Source
🐘 GoogleIamV1Binding.php
▶ Open 📄 View Source
🐘 GoogleIamV1Policy.php
▶ Open 📄 View Source
🐘 GoogleIamV1SetIamPolicyRequest.php
▶ Open 📄 View Source
🐘 GoogleIamV1TestIamPermissionsRequest.php
▶ Open 📄 View Source
🐘 GoogleIamV1TestIamPermissionsResponse.php
▶ Open 📄 View Source
🐘 GoogleLongrunningCancelOperationRequest.php
▶ Open 📄 View Source
🐘 GoogleLongrunningListOperationsResponse.php
▶ Open 📄 View Source
🐘 GoogleLongrunningOperation.php
▶ Open 📄 View Source
🐘 GoogleLongrunningWaitOperationRequest.php
▶ Open 📄 View Source
🐘 GoogleProtobufEmpty.php
▶ Open 📄 View Source
🐘 GoogleRpcStatus.php
▶ Open 📄 View Source
🐘 GoogleTypeExpr.php
▶ Open 📄 View Source
🐘 HTTPGetAction.php
▶ Open 📄 View Source
🐘 HTTPHeader.php
▶ Open 📄 View Source
🐘 KeyToPath.php
▶ Open 📄 View Source
🐘 ListAuthorizedDomainsResponse.php
▶ Open 📄 View Source
🐘 ListConfigurationsResponse.php
▶ Open 📄 View Source
🐘 ListDomainMappingsResponse.php
▶ Open 📄 View Source
🐘 ListLocationsResponse.php
▶ Open 📄 View Source
🐘 ListMeta.php
▶ Open 📄 View Source
🐘 ListRevisionsResponse.php
▶ Open 📄 View Source
🐘 ListRoutesResponse.php
▶ Open 📄 View Source
🐘 ListServicesResponse.php
▶ Open 📄 View Source
🐘 LocalObjectReference.php
▶ Open 📄 View Source
🐘 Location.php
▶ Open 📄 View Source
🐘 ObjectMeta.php
▶ Open 📄 View Source
🐘 OwnerReference.php
▶ Open 📄 View Source
🐘 Policy.php
▶ Open 📄 View Source
🐘 Probe.php
▶ Open 📄 View Source
🐘 Proto2BridgeMessageSet.php
▶ Open 📄 View Source
🐘 ResourceRecord.php
▶ Open 📄 View Source
🐘 ResourceRequirements.php
▶ Open 📄 View Source
🐘 Revision.php
▶ Open 📄 View Source
🐘 RevisionSpec.php
▶ Open 📄 View Source
🐘 RevisionStatus.php
▶ Open 📄 View Source
🐘 RevisionTemplate.php
▶ Open 📄 View Source
🐘 Route.php
▶ Open 📄 View Source
🐘 RouteSpec.php
▶ Open 📄 View Source
🐘 RouteStatus.php
▶ Open 📄 View Source
🐘 RunEmpty.php
▶ Open 📄 View Source
🐘 SecretEnvSource.php
▶ Open 📄 View Source
🐘 SecretKeySelector.php
▶ Open 📄 View Source
🐘 SecretVolumeSource.php
▶ Open 📄 View Source
🐘 SecurityContext.php
▶ Open 📄 View Source
🐘 Service.php
▶ Open 📄 View Source
🐘 ServiceSpec.php
▶ Open 📄 View Source
🐘 ServiceStatus.php
▶ Open 📄 View Source
🐘 SetIamPolicyRequest.php
▶ Open 📄 View Source
🐘 Status.php
▶ Open 📄 View Source
🐘 StatusCause.php
▶ Open 📄 View Source
🐘 StatusDetails.php
▶ Open 📄 View Source
🐘 TCPSocketAction.php
▶ Open 📄 View Source
🐘 TestIamPermissionsRequest.php
▶ Open 📄 View Source
🐘 TestIamPermissionsResponse.php
▶ Open 📄 View Source
🐘 TrafficTarget.php
▶ Open 📄 View Source
🐘 UtilStatusProto.php
▶ Open 📄 View Source
🐘 Volume.php
▶ Open 📄 View Source
🐘 VolumeMount.php
▶ Open 📄 View Source

📄 Source: GoogleIamV1Policy.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\CloudRun;

class GoogleIamV1Policy extends \Google\Collection
{
  protected $collection_key = 'bindings';
  protected $auditConfigsType = GoogleIamV1AuditConfig::class;
  protected $auditConfigsDataType = 'array';
  protected $bindingsType = GoogleIamV1Binding::class;
  protected $bindingsDataType = 'array';
  /**
   * `etag` is used for optimistic concurrency control as a way to help prevent
   * simultaneous updates of a policy from overwriting each other. It is
   * strongly suggested that systems make use of the `etag` in the read-modify-
   * write cycle to perform policy updates in order to avoid race conditions: An
   * `etag` is returned in the response to `getIamPolicy`, and systems are
   * expected to put that etag in the request to `setIamPolicy` to ensure that
   * their change will be applied to the same version of the policy.
   * **Important:** If you use IAM Conditions, you must include the `etag` field
   * whenever you call `setIamPolicy`. If you omit this field, then IAM allows
   * you to overwrite a version `3` policy with a version `1` policy, and all of
   * the conditions in the version `3` policy are lost.
   *
   * @var string
   */
  public $etag;
  /**
   * Specifies the format of the policy. Valid values are `0`, `1`, and `3`.
   * Requests that specify an invalid value are rejected. Any operation that
   * affects conditional role bindings must specify version `3`. This
   * requirement applies to the following operations: * Getting a policy that
   * includes a conditional role binding * Adding a conditional role binding to
   * a policy * Changing a conditional role binding in a policy * Removing any
   * role binding, with or without a condition, from a policy that includes
   * conditions **Important:** If you use IAM Conditions, you must include the
   * `etag` field whenever you call `setIamPolicy`. If you omit this field, then
   * IAM allows you to overwrite a version `3` policy with a version `1` policy,
   * and all of the conditions in the version `3` policy are lost. If a policy
   * does not include any conditions, operations on that policy may specify any
   * valid version or leave the field unset. To learn which resources support
   * conditions in their IAM policies, see the [IAM
   * documentation](https://cloud.google.com/iam/help/conditions/resource-
   * policies).
   *
   * @var int
   */
  public $version;

  /**
   * Specifies cloud audit logging configuration for this policy.
   *
   * @param GoogleIamV1AuditConfig[] $auditConfigs
   */
  public function setAuditConfigs($auditConfigs)
  {
    $this->auditConfigs = $auditConfigs;
  }
  /**
   * @return GoogleIamV1AuditConfig[]
   */
  public function getAuditConfigs()
  {
    return $this->auditConfigs;
  }
  /**
   * Associates a list of `members`, or principals, with a `role`. Optionally,
   * may specify a `condition` that determines how and when the `bindings` are
   * applied. Each of the `bindings` must contain at least one principal. The
   * `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of
   * these principals can be Google groups. Each occurrence of a principal
   * counts towards these limits. For example, if the `bindings` grant 50
   * different roles to `user:alice@example.com`, and not to any other
   * principal, then you can add another 1,450 principals to the `bindings` in
   * the `Policy`.
   *
   * @param GoogleIamV1Binding[] $bindings
   */
  public function setBindings($bindings)
  {
    $this->bindings = $bindings;
  }
  /**
   * @return GoogleIamV1Binding[]
   */
  public function getBindings()
  {
    return $this->bindings;
  }
  /**
   * `etag` is used for optimistic concurrency control as a way to help prevent
   * simultaneous updates of a policy from overwriting each other. It is
   * strongly suggested that systems make use of the `etag` in the read-modify-
   * write cycle to perform policy updates in order to avoid race conditions: An
   * `etag` is returned in the response to `getIamPolicy`, and systems are
   * expected to put that etag in the request to `setIamPolicy` to ensure that
   * their change will be applied to the same version of the policy.
   * **Important:** If you use IAM Conditions, you must include the `etag` field
   * whenever you call `setIamPolicy`. If you omit this field, then IAM allows
   * you to overwrite a version `3` policy with a version `1` policy, and all of
   * the conditions in the version `3` policy are lost.
   *
   * @param string $etag
   */
  public function setEtag($etag)
  {
    $this->etag = $etag;
  }
  /**
   * @return string
   */
  public function getEtag()
  {
    return $this->etag;
  }
  /**
   * Specifies the format of the policy. Valid values are `0`, `1`, and `3`.
   * Requests that specify an invalid value are rejected. Any operation that
   * affects conditional role bindings must specify version `3`. This
   * requirement applies to the following operations: * Getting a policy that
   * includes a conditional role binding * Adding a conditional role binding to
   * a policy * Changing a conditional role binding in a policy * Removing any
   * role binding, with or without a condition, from a policy that includes
   * conditions **Important:** If you use IAM Conditions, you must include the
   * `etag` field whenever you call `setIamPolicy`. If you omit this field, then
   * IAM allows you to overwrite a version `3` policy with a version `1` policy,
   * and all of the conditions in the version `3` policy are lost. If a policy
   * does not include any conditions, operations on that policy may specify any
   * valid version or leave the field unset. To learn which resources support
   * conditions in their IAM policies, see the [IAM
   * documentation](https://cloud.google.com/iam/help/conditions/resource-
   * policies).
   *
   * @param int $version
   */
  public function setVersion($version)
  {
    $this->version = $version;
  }
  /**
   * @return int
   */
  public function getVersion()
  {
    return $this->version;
  }
}

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