📂 File Browser

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

📁 Directories

📁 Resource/ 🔓 Open

📄 Files

🐘 AbandonReleaseRequest.php
▶ Open 📄 View Source
🐘 AbandonReleaseResponse.php
▶ Open 📄 View Source
🐘 AdvanceChildRolloutJob.php
▶ Open 📄 View Source
🐘 AdvanceChildRolloutJobRun.php
▶ Open 📄 View Source
🐘 AdvanceRolloutOperation.php
▶ Open 📄 View Source
🐘 AdvanceRolloutRequest.php
▶ Open 📄 View Source
🐘 AdvanceRolloutResponse.php
▶ Open 📄 View Source
🐘 AdvanceRolloutRule.php
▶ Open 📄 View Source
🐘 AlertPolicyCheck.php
▶ Open 📄 View Source
🐘 AlertPolicyCheckStatus.php
▶ Open 📄 View Source
🐘 Analysis.php
▶ Open 📄 View Source
🐘 AnalysisJob.php
▶ Open 📄 View Source
🐘 AnalysisJobRun.php
▶ Open 📄 View Source
🐘 AnthosCluster.php
▶ Open 📄 View Source
🐘 ApproveRolloutRequest.php
▶ Open 📄 View Source
🐘 ApproveRolloutResponse.php
▶ Open 📄 View Source
🐘 AssociatedEntities.php
▶ Open 📄 View Source
🐘 AuditConfig.php
▶ Open 📄 View Source
🐘 AuditLogConfig.php
▶ Open 📄 View Source
🐘 Automation.php
▶ Open 📄 View Source
🐘 AutomationEvent.php
▶ Open 📄 View Source
🐘 AutomationResourceSelector.php
▶ Open 📄 View Source
🐘 AutomationRolloutMetadata.php
▶ Open 📄 View Source
🐘 AutomationRule.php
▶ Open 📄 View Source
🐘 AutomationRuleCondition.php
▶ Open 📄 View Source
🐘 AutomationRun.php
▶ Open 📄 View Source
🐘 AutomationRunEvent.php
▶ Open 📄 View Source
🐘 Binding.php
▶ Open 📄 View Source
🐘 BuildArtifact.php
▶ Open 📄 View Source
🐘 Canary.php
▶ Open 📄 View Source
🐘 CanaryDeployment.php
▶ Open 📄 View Source
🐘 CancelAutomationRunRequest.php
▶ Open 📄 View Source
🐘 CancelAutomationRunResponse.php
▶ Open 📄 View Source
🐘 CancelOperationRequest.php
▶ Open 📄 View Source
🐘 CancelRolloutRequest.php
▶ Open 📄 View Source
🐘 CancelRolloutResponse.php
▶ Open 📄 View Source
🐘 ChildRolloutJobs.php
▶ Open 📄 View Source
🐘 CloudRunConfig.php
▶ Open 📄 View Source
🐘 CloudRunLocation.php
▶ Open 📄 View Source
🐘 CloudRunMetadata.php
▶ Open 📄 View Source
🐘 CloudRunRenderMetadata.php
▶ Open 📄 View Source
🐘 ClouddeployEmpty.php
▶ Open 📄 View Source
🐘 Config.php
▶ Open 📄 View Source
🐘 ContainerTask.php
▶ Open 📄 View Source
🐘 CreateChildRolloutJob.php
▶ Open 📄 View Source
🐘 CreateChildRolloutJobRun.php
▶ Open 📄 View Source
🐘 CustomCanaryDeployment.php
▶ Open 📄 View Source
🐘 CustomCheck.php
▶ Open 📄 View Source
🐘 CustomCheckStatus.php
▶ Open 📄 View Source
🐘 CustomMetadata.php
▶ Open 📄 View Source
🐘 CustomTarget.php
▶ Open 📄 View Source
🐘 CustomTargetDeployMetadata.php
▶ Open 📄 View Source
🐘 CustomTargetSkaffoldActions.php
▶ Open 📄 View Source
🐘 CustomTargetTasks.php
▶ Open 📄 View Source
🐘 CustomTargetType.php
▶ Open 📄 View Source
🐘 CustomTargetTypeNotificationEvent.php
▶ Open 📄 View Source
🐘 Date.php
▶ Open 📄 View Source
🐘 DefaultPool.php
▶ Open 📄 View Source
🐘 DeliveryPipeline.php
▶ Open 📄 View Source
🐘 DeliveryPipelineAttribute.php
▶ Open 📄 View Source
🐘 DeliveryPipelineNotificationEvent.php
▶ Open 📄 View Source
🐘 DeployArtifact.php
▶ Open 📄 View Source
🐘 DeployJob.php
▶ Open 📄 View Source
🐘 DeployJobRun.php
▶ Open 📄 View Source
🐘 DeployJobRunMetadata.php
▶ Open 📄 View Source
🐘 DeployParameters.php
▶ Open 📄 View Source
🐘 DeployPolicy.php
▶ Open 📄 View Source
🐘 DeployPolicyEvaluationEvent.php
▶ Open 📄 View Source
🐘 DeployPolicyNotificationEvent.php
▶ Open 📄 View Source
🐘 DeployPolicyResourceSelector.php
▶ Open 📄 View Source
🐘 DeploymentJobs.php
▶ Open 📄 View Source
🐘 ExecutionConfig.php
▶ Open 📄 View Source
🐘 Expr.php
▶ Open 📄 View Source
🐘 FailedAlertPolicy.php
▶ Open 📄 View Source
🐘 GatewayServiceMesh.php
▶ Open 📄 View Source
🐘 GkeCluster.php
▶ Open 📄 View Source
🐘 GoogleCloudAnalysis.php
▶ Open 📄 View Source
🐘 IgnoreJobRequest.php
▶ Open 📄 View Source
🐘 IgnoreJobResponse.php
▶ Open 📄 View Source
🐘 Job.php
▶ Open 📄 View Source
🐘 JobRun.php
▶ Open 📄 View Source
🐘 JobRunNotificationEvent.php
▶ Open 📄 View Source
🐘 KubernetesConfig.php
▶ Open 📄 View Source
🐘 KubernetesRenderMetadata.php
▶ Open 📄 View Source
🐘 ListAutomationRunsResponse.php
▶ Open 📄 View Source
🐘 ListAutomationsResponse.php
▶ Open 📄 View Source
🐘 ListCustomTargetTypesResponse.php
▶ Open 📄 View Source
🐘 ListDeliveryPipelinesResponse.php
▶ Open 📄 View Source
🐘 ListDeployPoliciesResponse.php
▶ Open 📄 View Source
🐘 ListJobRunsResponse.php
▶ Open 📄 View Source
🐘 ListLocationsResponse.php
▶ Open 📄 View Source
🐘 ListOperationsResponse.php
▶ Open 📄 View Source
🐘 ListReleasesResponse.php
▶ Open 📄 View Source
🐘 ListRolloutsResponse.php
▶ Open 📄 View Source
🐘 ListTargetsResponse.php
▶ Open 📄 View Source
🐘 Location.php
▶ Open 📄 View Source
🐘 Metadata.php
▶ Open 📄 View Source
🐘 MultiTarget.php
▶ Open 📄 View Source
🐘 OneTimeWindow.php
▶ Open 📄 View Source
🐘 Operation.php
▶ Open 📄 View Source
🐘 OperationMetadata.php
▶ Open 📄 View Source
🐘 Phase.php
▶ Open 📄 View Source
🐘 PhaseArtifact.php
▶ Open 📄 View Source
🐘 PhaseConfig.php
▶ Open 📄 View Source
🐘 PipelineCondition.php
▶ Open 📄 View Source
🐘 PipelineReadyCondition.php
▶ Open 📄 View Source
🐘 Policy.php
▶ Open 📄 View Source
🐘 PolicyRule.php
▶ Open 📄 View Source
🐘 PolicyViolation.php
▶ Open 📄 View Source
🐘 PolicyViolationDetails.php
▶ Open 📄 View Source
🐘 Postdeploy.php
▶ Open 📄 View Source
🐘 PostdeployJob.php
▶ Open 📄 View Source
🐘 PostdeployJobRun.php
▶ Open 📄 View Source
🐘 PostdeployJobRunMetadata.php
▶ Open 📄 View Source
🐘 Predeploy.php
▶ Open 📄 View Source
🐘 PredeployJob.php
▶ Open 📄 View Source
🐘 PredeployJobRun.php
▶ Open 📄 View Source
🐘 PredeployJobRunMetadata.php
▶ Open 📄 View Source
🐘 PrivatePool.php
▶ Open 📄 View Source
🐘 PromoteReleaseOperation.php
▶ Open 📄 View Source
🐘 PromoteReleaseRule.php
▶ Open 📄 View Source
🐘 Release.php
▶ Open 📄 View Source
🐘 ReleaseCondition.php
▶ Open 📄 View Source
🐘 ReleaseNotificationEvent.php
▶ Open 📄 View Source
🐘 ReleaseReadyCondition.php
▶ Open 📄 View Source
🐘 ReleaseRenderEvent.php
▶ Open 📄 View Source
🐘 RenderMetadata.php
▶ Open 📄 View Source
🐘 RepairMode.php
▶ Open 📄 View Source
🐘 RepairPhase.php
▶ Open 📄 View Source
🐘 RepairPhaseConfig.php
▶ Open 📄 View Source
🐘 RepairRolloutOperation.php
▶ Open 📄 View Source
🐘 RepairRolloutRule.php
▶ Open 📄 View Source
🐘 Retry.php
▶ Open 📄 View Source
🐘 RetryAttempt.php
▶ Open 📄 View Source
🐘 RetryJobRequest.php
▶ Open 📄 View Source
🐘 RetryJobResponse.php
▶ Open 📄 View Source
🐘 RetryPhase.php
▶ Open 📄 View Source
🐘 Rollback.php
▶ Open 📄 View Source
🐘 RollbackAttempt.php
▶ Open 📄 View Source
🐘 RollbackTargetConfig.php
▶ Open 📄 View Source
🐘 RollbackTargetRequest.php
▶ Open 📄 View Source
🐘 RollbackTargetResponse.php
▶ Open 📄 View Source
🐘 Rollout.php
▶ Open 📄 View Source
🐘 RolloutNotificationEvent.php
▶ Open 📄 View Source
🐘 RolloutRestriction.php
▶ Open 📄 View Source
🐘 RolloutUpdateEvent.php
▶ Open 📄 View Source
🐘 RouteDestinations.php
▶ Open 📄 View Source
🐘 RuntimeConfig.php
▶ Open 📄 View Source
🐘 SerialPipeline.php
▶ Open 📄 View Source
🐘 ServiceNetworking.php
▶ Open 📄 View Source
🐘 SetIamPolicyRequest.php
▶ Open 📄 View Source
🐘 SkaffoldGCBRepoSource.php
▶ Open 📄 View Source
🐘 SkaffoldGCSSource.php
▶ Open 📄 View Source
🐘 SkaffoldGitSource.php
▶ Open 📄 View Source
🐘 SkaffoldModules.php
▶ Open 📄 View Source
🐘 SkaffoldSupportedCondition.php
▶ Open 📄 View Source
🐘 SkaffoldVersion.php
▶ Open 📄 View Source
🐘 Stage.php
▶ Open 📄 View Source
🐘 Standard.php
▶ Open 📄 View Source
🐘 Status.php
▶ Open 📄 View Source
🐘 Strategy.php
▶ Open 📄 View Source
🐘 Target.php
▶ Open 📄 View Source
🐘 TargetArtifact.php
▶ Open 📄 View Source
🐘 TargetAttribute.php
▶ Open 📄 View Source
🐘 TargetNotificationEvent.php
▶ Open 📄 View Source
🐘 TargetRender.php
▶ Open 📄 View Source
🐘 Targets.php
▶ Open 📄 View Source
🐘 TargetsPresentCondition.php
▶ Open 📄 View Source
🐘 TargetsTypeCondition.php
▶ Open 📄 View Source
🐘 Task.php
▶ Open 📄 View Source
🐘 TerminateJobRunRequest.php
▶ Open 📄 View Source
🐘 TerminateJobRunResponse.php
▶ Open 📄 View Source
🐘 TestIamPermissionsRequest.php
▶ Open 📄 View Source
🐘 TestIamPermissionsResponse.php
▶ Open 📄 View Source
🐘 TimeOfDay.php
▶ Open 📄 View Source
🐘 TimeWindows.php
▶ Open 📄 View Source
🐘 TimedPromoteReleaseCondition.php
▶ Open 📄 View Source
🐘 TimedPromoteReleaseOperation.php
▶ Open 📄 View Source
🐘 TimedPromoteReleaseRule.php
▶ Open 📄 View Source
🐘 ToolVersionSupportedCondition.php
▶ Open 📄 View Source
🐘 ToolVersions.php
▶ Open 📄 View Source
🐘 Verify.php
▶ Open 📄 View Source
🐘 VerifyJob.php
▶ Open 📄 View Source
🐘 VerifyJobRun.php
▶ Open 📄 View Source
🐘 VerifyJobRunMetadata.php
▶ Open 📄 View Source
🐘 WeeklyWindow.php
▶ Open 📄 View Source

📄 Source: DeployPolicyEvaluationEvent.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\CloudDeploy;

class DeployPolicyEvaluationEvent extends \Google\Collection
{
  /**
   * Unspecified.
   */
  public const INVOKER_INVOKER_UNSPECIFIED = 'INVOKER_UNSPECIFIED';
  /**
   * The action is user-driven. For example, creating a rollout manually via a
   * gcloud create command.
   */
  public const INVOKER_USER = 'USER';
  /**
   * Automated action by Cloud Deploy.
   */
  public const INVOKER_DEPLOY_AUTOMATION = 'DEPLOY_AUTOMATION';
  /**
   * This should never happen.
   */
  public const VERDICT_POLICY_VERDICT_UNSPECIFIED = 'POLICY_VERDICT_UNSPECIFIED';
  /**
   * Allowed by policy. This enum value is not currently used but may be used in
   * the future. Currently logs are only generated when a request is denied by
   * policy.
   */
  public const VERDICT_ALLOWED_BY_POLICY = 'ALLOWED_BY_POLICY';
  /**
   * Denied by policy.
   */
  public const VERDICT_DENIED_BY_POLICY = 'DENIED_BY_POLICY';
  protected $collection_key = 'overrides';
  /**
   * Whether the request is allowed. Allowed is set as true if: (1) the request
   * complies with the policy; or (2) the request doesn't comply with the policy
   * but the policy was overridden; or (3) the request doesn't comply with the
   * policy but the policy was suspended
   *
   * @var bool
   */
  public $allowed;
  /**
   * The name of the `Delivery Pipeline`.
   *
   * @var string
   */
  public $deliveryPipeline;
  /**
   * The name of the `DeployPolicy`.
   *
   * @var string
   */
  public $deployPolicy;
  /**
   * Unique identifier of the `DeployPolicy`.
   *
   * @var string
   */
  public $deployPolicyUid;
  /**
   * What invoked the action (e.g. a user or automation).
   *
   * @var string
   */
  public $invoker;
  /**
   * Debug message for when a deploy policy event occurs.
   *
   * @var string
   */
  public $message;
  /**
   * Things that could have overridden the policy verdict. Overrides together
   * with verdict decide whether the request is allowed.
   *
   * @var string[]
   */
  public $overrides;
  /**
   * Unique identifier of the `Delivery Pipeline`.
   *
   * @var string
   */
  public $pipelineUid;
  /**
   * Rule id.
   *
   * @var string
   */
  public $rule;
  /**
   * Rule type (e.g. Restrict Rollouts).
   *
   * @var string
   */
  public $ruleType;
  /**
   * The name of the `Target`. This is an optional field, as a `Target` may not
   * always be applicable to a policy.
   *
   * @var string
   */
  public $target;
  /**
   * Unique identifier of the `Target`. This is an optional field, as a `Target`
   * may not always be applicable to a policy.
   *
   * @var string
   */
  public $targetUid;
  /**
   * The policy verdict of the request.
   *
   * @var string
   */
  public $verdict;

  /**
   * Whether the request is allowed. Allowed is set as true if: (1) the request
   * complies with the policy; or (2) the request doesn't comply with the policy
   * but the policy was overridden; or (3) the request doesn't comply with the
   * policy but the policy was suspended
   *
   * @param bool $allowed
   */
  public function setAllowed($allowed)
  {
    $this->allowed = $allowed;
  }
  /**
   * @return bool
   */
  public function getAllowed()
  {
    return $this->allowed;
  }
  /**
   * The name of the `Delivery Pipeline`.
   *
   * @param string $deliveryPipeline
   */
  public function setDeliveryPipeline($deliveryPipeline)
  {
    $this->deliveryPipeline = $deliveryPipeline;
  }
  /**
   * @return string
   */
  public function getDeliveryPipeline()
  {
    return $this->deliveryPipeline;
  }
  /**
   * The name of the `DeployPolicy`.
   *
   * @param string $deployPolicy
   */
  public function setDeployPolicy($deployPolicy)
  {
    $this->deployPolicy = $deployPolicy;
  }
  /**
   * @return string
   */
  public function getDeployPolicy()
  {
    return $this->deployPolicy;
  }
  /**
   * Unique identifier of the `DeployPolicy`.
   *
   * @param string $deployPolicyUid
   */
  public function setDeployPolicyUid($deployPolicyUid)
  {
    $this->deployPolicyUid = $deployPolicyUid;
  }
  /**
   * @return string
   */
  public function getDeployPolicyUid()
  {
    return $this->deployPolicyUid;
  }
  /**
   * What invoked the action (e.g. a user or automation).
   *
   * Accepted values: INVOKER_UNSPECIFIED, USER, DEPLOY_AUTOMATION
   *
   * @param self::INVOKER_* $invoker
   */
  public function setInvoker($invoker)
  {
    $this->invoker = $invoker;
  }
  /**
   * @return self::INVOKER_*
   */
  public function getInvoker()
  {
    return $this->invoker;
  }
  /**
   * Debug message for when a deploy policy event occurs.
   *
   * @param string $message
   */
  public function setMessage($message)
  {
    $this->message = $message;
  }
  /**
   * @return string
   */
  public function getMessage()
  {
    return $this->message;
  }
  /**
   * Things that could have overridden the policy verdict. Overrides together
   * with verdict decide whether the request is allowed.
   *
   * @param string[] $overrides
   */
  public function setOverrides($overrides)
  {
    $this->overrides = $overrides;
  }
  /**
   * @return string[]
   */
  public function getOverrides()
  {
    return $this->overrides;
  }
  /**
   * Unique identifier of the `Delivery Pipeline`.
   *
   * @param string $pipelineUid
   */
  public function setPipelineUid($pipelineUid)
  {
    $this->pipelineUid = $pipelineUid;
  }
  /**
   * @return string
   */
  public function getPipelineUid()
  {
    return $this->pipelineUid;
  }
  /**
   * Rule id.
   *
   * @param string $rule
   */
  public function setRule($rule)
  {
    $this->rule = $rule;
  }
  /**
   * @return string
   */
  public function getRule()
  {
    return $this->rule;
  }
  /**
   * Rule type (e.g. Restrict Rollouts).
   *
   * @param string $ruleType
   */
  public function setRuleType($ruleType)
  {
    $this->ruleType = $ruleType;
  }
  /**
   * @return string
   */
  public function getRuleType()
  {
    return $this->ruleType;
  }
  /**
   * The name of the `Target`. This is an optional field, as a `Target` may not
   * always be applicable to a policy.
   *
   * @param string $target
   */
  public function setTarget($target)
  {
    $this->target = $target;
  }
  /**
   * @return string
   */
  public function getTarget()
  {
    return $this->target;
  }
  /**
   * Unique identifier of the `Target`. This is an optional field, as a `Target`
   * may not always be applicable to a policy.
   *
   * @param string $targetUid
   */
  public function setTargetUid($targetUid)
  {
    $this->targetUid = $targetUid;
  }
  /**
   * @return string
   */
  public function getTargetUid()
  {
    return $this->targetUid;
  }
  /**
   * The policy verdict of the request.
   *
   * Accepted values: POLICY_VERDICT_UNSPECIFIED, ALLOWED_BY_POLICY,
   * DENIED_BY_POLICY
   *
   * @param self::VERDICT_* $verdict
   */
  public function setVerdict($verdict)
  {
    $this->verdict = $verdict;
  }
  /**
   * @return self::VERDICT_*
   */
  public function getVerdict()
  {
    return $this->verdict;
  }
}

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