πŸ“‚ File Browser

AgentAI/vendor/google/apiclient-services/src/SaaSServiceManagement
πŸŒ™ Dark Mode
🎯 Quick Launch:

πŸ“ Directories

πŸ“ Resource/ πŸ”“ Open

πŸ“„ Files

🐘 Aggregate.php
β–Ά Open πŸ“„ View Source
🐘 Blueprint.php
β–Ά Open πŸ“„ View Source
🐘 Dependency.php
β–Ά Open πŸ“„ View Source
🐘 Deprovision.php
β–Ά Open πŸ“„ View Source
🐘 ErrorBudget.php
β–Ά Open πŸ“„ View Source
🐘 FlagUpdate.php
β–Ά Open πŸ“„ View Source
🐘 FromMapping.php
β–Ά Open πŸ“„ View Source
🐘 GoogleCloudLocationLocation.php
β–Ά Open πŸ“„ View Source
🐘 ListLocationsResponse.php
β–Ά Open πŸ“„ View Source
🐘 ListReleasesResponse.php
β–Ά Open πŸ“„ View Source
🐘 ListReplicationsInternalResponse.php
β–Ά Open πŸ“„ View Source
🐘 ListRolloutKindsResponse.php
β–Ά Open πŸ“„ View Source
🐘 ListRolloutsResponse.php
β–Ά Open πŸ“„ View Source
🐘 ListSaasResponse.php
β–Ά Open πŸ“„ View Source
🐘 ListTenantsResponse.php
β–Ά Open πŸ“„ View Source
🐘 ListUnitKindsResponse.php
β–Ά Open πŸ“„ View Source
🐘 ListUnitOperationsResponse.php
β–Ά Open πŸ“„ View Source
🐘 ListUnitsResponse.php
β–Ά Open πŸ“„ View Source
🐘 Location.php
β–Ά Open πŸ“„ View Source
🐘 MaintenanceSettings.php
β–Ά Open πŸ“„ View Source
🐘 Provision.php
β–Ά Open πŸ“„ View Source
🐘 Release.php
β–Ά Open πŸ“„ View Source
🐘 ReleaseRequirements.php
β–Ά Open πŸ“„ View Source
🐘 ReplicationInternal.php
β–Ά Open πŸ“„ View Source
🐘 ReplicationStats.php
β–Ά Open πŸ“„ View Source
🐘 Rollout.php
β–Ά Open πŸ“„ View Source
🐘 RolloutControl.php
β–Ά Open πŸ“„ View Source
🐘 RolloutKind.php
β–Ά Open πŸ“„ View Source
🐘 RolloutStats.php
β–Ά Open πŸ“„ View Source
🐘 RunRolloutActionParams.php
β–Ά Open πŸ“„ View Source
🐘 Saas.php
β–Ά Open πŸ“„ View Source
🐘 SaasCondition.php
β–Ά Open πŸ“„ View Source
🐘 SaasservicemgmtEmpty.php
β–Ά Open πŸ“„ View Source
🐘 Schedule.php
β–Ά Open πŸ“„ View Source
🐘 Status.php
β–Ά Open πŸ“„ View Source
🐘 Tenant.php
β–Ά Open πŸ“„ View Source
🐘 ToMapping.php
β–Ά Open πŸ“„ View Source
🐘 Unit.php
β–Ά Open πŸ“„ View Source
🐘 UnitCondition.php
β–Ά Open πŸ“„ View Source
🐘 UnitDependency.php
β–Ά Open πŸ“„ View Source
🐘 UnitKind.php
β–Ά Open πŸ“„ View Source
🐘 UnitOperation.php
β–Ά Open πŸ“„ View Source
🐘 UnitOperationCondition.php
β–Ά Open πŸ“„ View Source
🐘 UnitVariable.php
β–Ά Open πŸ“„ View Source
🐘 Upgrade.php
β–Ά Open πŸ“„ View Source
🐘 VariableMapping.php
β–Ά Open πŸ“„ View Source

πŸ“„ Source: UnitKind.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\SaaSServiceManagement;

class UnitKind extends \Google\Collection
{
  protected $collection_key = 'outputVariableMappings';
  /**
   * Optional. Annotations is an unstructured key-value map stored with a
   * resource that may be set by external tools to store and retrieve arbitrary
   * metadata. They are not queryable and should be preserved when modifying
   * objects. More info: https://kubernetes.io/docs/user-guide/annotations
   *
   * @var string[]
   */
  public $annotations;
  /**
   * Output only. The timestamp when the resource was created.
   *
   * @var string
   */
  public $createTime;
  /**
   * Optional. Default revisions of flags for this UnitKind. Newly created units
   * will use the flag default_flag_revisions present at the time of creation.
   *
   * @var string[]
   */
  public $defaultFlagRevisions;
  /**
   * Optional. A reference to the Release object to use as default for creating
   * new units of this UnitKind (optional). If not specified, a new unit must
   * explicitly reference which release to use for its creation.
   *
   * @var string
   */
  public $defaultRelease;
  protected $dependenciesType = Dependency::class;
  protected $dependenciesDataType = 'array';
  /**
   * Output only. An opaque value that uniquely identifies a version or
   * generation of a resource. It can be used to confirm that the client and
   * server agree on the ordering of a resource being written.
   *
   * @var string
   */
  public $etag;
  protected $inputVariableMappingsType = VariableMapping::class;
  protected $inputVariableMappingsDataType = 'array';
  /**
   * Optional. The labels on the resource, which can be used for categorization.
   * similar to Kubernetes resource labels.
   *
   * @var string[]
   */
  public $labels;
  /**
   * Identifier. The resource name (full URI of the resource) following the
   * standard naming scheme:
   * "projects/{project}/locations/{location}/unitKinds/{unitKind}"
   *
   * @var string
   */
  public $name;
  protected $outputVariableMappingsType = VariableMapping::class;
  protected $outputVariableMappingsDataType = 'array';
  /**
   * Required. Immutable. A reference to the Saas that defines the product
   * (managed service) that the producer wants to manage with App Lifecycle
   * Manager. Part of the App Lifecycle Manager common data model. Immutable
   * once set.
   *
   * @var string
   */
  public $saas;
  /**
   * Output only. The unique identifier of the resource. UID is unique in the
   * time and space for this resource within the scope of the service. It is
   * typically generated by the server on successful creation of a resource and
   * must not be changed. UID is used to uniquely identify resources with
   * resource name reuses. This should be a UUID4.
   *
   * @var string
   */
  public $uid;
  /**
   * Output only. The timestamp when the resource was last updated. Any change
   * to the resource made by users must refresh this value. Changes to a
   * resource made by the service should refresh this value.
   *
   * @var string
   */
  public $updateTime;

  /**
   * Optional. Annotations is an unstructured key-value map stored with a
   * resource that may be set by external tools to store and retrieve arbitrary
   * metadata. They are not queryable and should be preserved when modifying
   * objects. More info: https://kubernetes.io/docs/user-guide/annotations
   *
   * @param string[] $annotations
   */
  public function setAnnotations($annotations)
  {
    $this->annotations = $annotations;
  }
  /**
   * @return string[]
   */
  public function getAnnotations()
  {
    return $this->annotations;
  }
  /**
   * Output only. The timestamp when the resource was created.
   *
   * @param string $createTime
   */
  public function setCreateTime($createTime)
  {
    $this->createTime = $createTime;
  }
  /**
   * @return string
   */
  public function getCreateTime()
  {
    return $this->createTime;
  }
  /**
   * Optional. Default revisions of flags for this UnitKind. Newly created units
   * will use the flag default_flag_revisions present at the time of creation.
   *
   * @param string[] $defaultFlagRevisions
   */
  public function setDefaultFlagRevisions($defaultFlagRevisions)
  {
    $this->defaultFlagRevisions = $defaultFlagRevisions;
  }
  /**
   * @return string[]
   */
  public function getDefaultFlagRevisions()
  {
    return $this->defaultFlagRevisions;
  }
  /**
   * Optional. A reference to the Release object to use as default for creating
   * new units of this UnitKind (optional). If not specified, a new unit must
   * explicitly reference which release to use for its creation.
   *
   * @param string $defaultRelease
   */
  public function setDefaultRelease($defaultRelease)
  {
    $this->defaultRelease = $defaultRelease;
  }
  /**
   * @return string
   */
  public function getDefaultRelease()
  {
    return $this->defaultRelease;
  }
  /**
   * Optional. Immutable. List of other unit kinds that this release will depend
   * on. Dependencies will be automatically provisioned if not found. Maximum
   * 10.
   *
   * @param Dependency[] $dependencies
   */
  public function setDependencies($dependencies)
  {
    $this->dependencies = $dependencies;
  }
  /**
   * @return Dependency[]
   */
  public function getDependencies()
  {
    return $this->dependencies;
  }
  /**
   * Output only. An opaque value that uniquely identifies a version or
   * generation of a resource. It can be used to confirm that the client and
   * server agree on the ordering of a resource being written.
   *
   * @param string $etag
   */
  public function setEtag($etag)
  {
    $this->etag = $etag;
  }
  /**
   * @return string
   */
  public function getEtag()
  {
    return $this->etag;
  }
  /**
   * Optional. List of inputVariables for this release that will either be
   * retrieved from a dependency’s outputVariables, or will be passed on to a
   * dependency’s inputVariables. Maximum 100.
   *
   * @param VariableMapping[] $inputVariableMappings
   */
  public function setInputVariableMappings($inputVariableMappings)
  {
    $this->inputVariableMappings = $inputVariableMappings;
  }
  /**
   * @return VariableMapping[]
   */
  public function getInputVariableMappings()
  {
    return $this->inputVariableMappings;
  }
  /**
   * Optional. The labels on the resource, which can be used for categorization.
   * similar to Kubernetes resource labels.
   *
   * @param string[] $labels
   */
  public function setLabels($labels)
  {
    $this->labels = $labels;
  }
  /**
   * @return string[]
   */
  public function getLabels()
  {
    return $this->labels;
  }
  /**
   * Identifier. The resource name (full URI of the resource) following the
   * standard naming scheme:
   * "projects/{project}/locations/{location}/unitKinds/{unitKind}"
   *
   * @param string $name
   */
  public function setName($name)
  {
    $this->name = $name;
  }
  /**
   * @return string
   */
  public function getName()
  {
    return $this->name;
  }
  /**
   * Optional. List of outputVariables for this unit kind will be passed to this
   * unit's outputVariables. Maximum 100.
   *
   * @param VariableMapping[] $outputVariableMappings
   */
  public function setOutputVariableMappings($outputVariableMappings)
  {
    $this->outputVariableMappings = $outputVariableMappings;
  }
  /**
   * @return VariableMapping[]
   */
  public function getOutputVariableMappings()
  {
    return $this->outputVariableMappings;
  }
  /**
   * Required. Immutable. A reference to the Saas that defines the product
   * (managed service) that the producer wants to manage with App Lifecycle
   * Manager. Part of the App Lifecycle Manager common data model. Immutable
   * once set.
   *
   * @param string $saas
   */
  public function setSaas($saas)
  {
    $this->saas = $saas;
  }
  /**
   * @return string
   */
  public function getSaas()
  {
    return $this->saas;
  }
  /**
   * Output only. The unique identifier of the resource. UID is unique in the
   * time and space for this resource within the scope of the service. It is
   * typically generated by the server on successful creation of a resource and
   * must not be changed. UID is used to uniquely identify resources with
   * resource name reuses. This should be a UUID4.
   *
   * @param string $uid
   */
  public function setUid($uid)
  {
    $this->uid = $uid;
  }
  /**
   * @return string
   */
  public function getUid()
  {
    return $this->uid;
  }
  /**
   * Output only. The timestamp when the resource was last updated. Any change
   * to the resource made by users must refresh this value. Changes to a
   * resource made by the service should refresh this value.
   *
   * @param string $updateTime
   */
  public function setUpdateTime($updateTime)
  {
    $this->updateTime = $updateTime;
  }
  /**
   * @return string
   */
  public function getUpdateTime()
  {
    return $this->updateTime;
  }
}

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