📂 File Browser

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

📁 Directories

📁 Resource/ 🔓 Open

📄 Files

🐘 AptSettings.php
▶ Open 📄 View Source
🐘 CVSSv3.php
▶ Open 📄 View Source
🐘 CancelOperationRequest.php
▶ Open 📄 View Source
🐘 CancelPatchJobRequest.php
▶ Open 📄 View Source
🐘 Date.php
▶ Open 📄 View Source
🐘 ExecStep.php
▶ Open 📄 View Source
🐘 ExecStepConfig.php
▶ Open 📄 View Source
🐘 ExecutePatchJobRequest.php
▶ Open 📄 View Source
🐘 FixedOrPercent.php
▶ Open 📄 View Source
🐘 GcsObject.php
▶ Open 📄 View Source
🐘 GooSettings.php
▶ Open 📄 View Source
🐘 GoogleCloudOsconfigCommonV1OperationMetadata.php
▶ Open 📄 View Source
🐘 GoogleCloudOsconfigCommonV1alphaOperationMetadata.php
▶ Open 📄 View Source
🐘 GoogleCloudOsconfigCommonV1mainOperationMetadata.php
▶ Open 📄 View Source
🐘 GoogleCloudOsconfigV1OSPolicyAssignmentOperationMetadata.php
▶ Open 📄 View Source
🐘 GoogleCloudOsconfigV2ListPolicyOrchestratorsResponse.php
▶ Open 📄 View Source
🐘 GoogleCloudOsconfigV2OperationMetadata.php
▶ Open 📄 View Source
🐘 GoogleCloudOsconfigV2OrchestratedResource.php
▶ Open 📄 View Source
🐘 GoogleCloudOsconfigV2OrchestrationScope.php
▶ Open 📄 View Source
🐘 GoogleCloudOsconfigV2OrchestrationScopeLocationSelector.php
▶ Open 📄 View Source
🐘 GoogleCloudOsconfigV2OrchestrationScopeResourceHierarchySelector.php
▶ Open 📄 View Source
🐘 GoogleCloudOsconfigV2OrchestrationScopeSelector.php
▶ Open 📄 View Source
🐘 GoogleCloudOsconfigV2PolicyOrchestrator.php
▶ Open 📄 View Source
🐘 GoogleCloudOsconfigV2PolicyOrchestratorIterationState.php
▶ Open 📄 View Source
🐘 GoogleCloudOsconfigV2PolicyOrchestratorOrchestrationState.php
▶ Open 📄 View Source
🐘 GoogleCloudOsconfigV2betaOperationMetadata.php
▶ Open 📄 View Source
🐘 Inventory.php
▶ Open 📄 View Source
🐘 InventoryItem.php
▶ Open 📄 View Source
🐘 InventoryOsInfo.php
▶ Open 📄 View Source
🐘 InventorySoftwarePackage.php
▶ Open 📄 View Source
🐘 InventoryVersionedPackage.php
▶ Open 📄 View Source
🐘 InventoryWindowsApplication.php
▶ Open 📄 View Source
🐘 InventoryWindowsQuickFixEngineeringPackage.php
▶ Open 📄 View Source
🐘 InventoryWindowsUpdatePackage.php
▶ Open 📄 View Source
🐘 InventoryWindowsUpdatePackageWindowsUpdateCategory.php
▶ Open 📄 View Source
🐘 InventoryZypperPatch.php
▶ Open 📄 View Source
🐘 ListInventoriesResponse.php
▶ Open 📄 View Source
🐘 ListOSPolicyAssignmentReportsResponse.php
▶ Open 📄 View Source
🐘 ListOSPolicyAssignmentRevisionsResponse.php
▶ Open 📄 View Source
🐘 ListOSPolicyAssignmentsResponse.php
▶ Open 📄 View Source
🐘 ListOperationsResponse.php
▶ Open 📄 View Source
🐘 ListPatchDeploymentsResponse.php
▶ Open 📄 View Source
🐘 ListPatchJobInstanceDetailsResponse.php
▶ Open 📄 View Source
🐘 ListPatchJobsResponse.php
▶ Open 📄 View Source
🐘 ListVulnerabilityReportsResponse.php
▶ Open 📄 View Source
🐘 MessageSet.php
▶ Open 📄 View Source
🐘 MonthlySchedule.php
▶ Open 📄 View Source
🐘 OSPolicy.php
▶ Open 📄 View Source
🐘 OSPolicyAssignment.php
▶ Open 📄 View Source
🐘 OSPolicyAssignmentInstanceFilter.php
▶ Open 📄 View Source
🐘 OSPolicyAssignmentInstanceFilterInventory.php
▶ Open 📄 View Source
🐘 OSPolicyAssignmentLabelSet.php
▶ Open 📄 View Source
🐘 OSPolicyAssignmentOperationMetadata.php
▶ Open 📄 View Source
🐘 OSPolicyAssignmentReport.php
▶ Open 📄 View Source
🐘 OSPolicyAssignmentReportOSPolicyCompliance.php
▶ Open 📄 View Source
🐘 OSPolicyAssignmentReportOSPolicyComplianceOSPolicyResourceCompliance.php
▶ Open 📄 View Source
🐘 OSPolicyAssignmentReportOSPolicyComplianceOSPolicyResourceComplianceExecResourceOutput.php
▶ Open 📄 View Source
🐘 OSPolicyAssignmentReportOSPolicyComplianceOSPolicyResourceComplianceOSPolicyResourceConfigStep.php
▶ Open 📄 View Source
🐘 OSPolicyAssignmentRollout.php
▶ Open 📄 View Source
🐘 OSPolicyInventoryFilter.php
▶ Open 📄 View Source
🐘 OSPolicyResource.php
▶ Open 📄 View Source
🐘 OSPolicyResourceExecResource.php
▶ Open 📄 View Source
🐘 OSPolicyResourceExecResourceExec.php
▶ Open 📄 View Source
🐘 OSPolicyResourceFile.php
▶ Open 📄 View Source
🐘 OSPolicyResourceFileGcs.php
▶ Open 📄 View Source
🐘 OSPolicyResourceFileRemote.php
▶ Open 📄 View Source
🐘 OSPolicyResourceFileResource.php
▶ Open 📄 View Source
🐘 OSPolicyResourceGroup.php
▶ Open 📄 View Source
🐘 OSPolicyResourcePackageResource.php
▶ Open 📄 View Source
🐘 OSPolicyResourcePackageResourceAPT.php
▶ Open 📄 View Source
🐘 OSPolicyResourcePackageResourceDeb.php
▶ Open 📄 View Source
🐘 OSPolicyResourcePackageResourceGooGet.php
▶ Open 📄 View Source
🐘 OSPolicyResourcePackageResourceMSI.php
▶ Open 📄 View Source
🐘 OSPolicyResourcePackageResourceRPM.php
▶ Open 📄 View Source
🐘 OSPolicyResourcePackageResourceYUM.php
▶ Open 📄 View Source
🐘 OSPolicyResourcePackageResourceZypper.php
▶ Open 📄 View Source
🐘 OSPolicyResourceRepositoryResource.php
▶ Open 📄 View Source
🐘 OSPolicyResourceRepositoryResourceAptRepository.php
▶ Open 📄 View Source
🐘 OSPolicyResourceRepositoryResourceGooRepository.php
▶ Open 📄 View Source
🐘 OSPolicyResourceRepositoryResourceYumRepository.php
▶ Open 📄 View Source
🐘 OSPolicyResourceRepositoryResourceZypperRepository.php
▶ Open 📄 View Source
🐘 OneTimeSchedule.php
▶ Open 📄 View Source
🐘 Operation.php
▶ Open 📄 View Source
🐘 OsconfigEmpty.php
▶ Open 📄 View Source
🐘 PatchConfig.php
▶ Open 📄 View Source
🐘 PatchDeployment.php
▶ Open 📄 View Source
🐘 PatchInstanceFilter.php
▶ Open 📄 View Source
🐘 PatchInstanceFilterGroupLabel.php
▶ Open 📄 View Source
🐘 PatchJob.php
▶ Open 📄 View Source
🐘 PatchJobInstanceDetails.php
▶ Open 📄 View Source
🐘 PatchJobInstanceDetailsSummary.php
▶ Open 📄 View Source
🐘 PatchRollout.php
▶ Open 📄 View Source
🐘 PausePatchDeploymentRequest.php
▶ Open 📄 View Source
🐘 ProjectFeatureSettings.php
▶ Open 📄 View Source
🐘 RecurringSchedule.php
▶ Open 📄 View Source
🐘 ResumePatchDeploymentRequest.php
▶ Open 📄 View Source
🐘 Status.php
▶ Open 📄 View Source
🐘 StatusProto.php
▶ Open 📄 View Source
🐘 TimeOfDay.php
▶ Open 📄 View Source
🐘 TimeZone.php
▶ Open 📄 View Source
🐘 VulnerabilityReport.php
▶ Open 📄 View Source
🐘 VulnerabilityReportVulnerability.php
▶ Open 📄 View Source
🐘 VulnerabilityReportVulnerabilityDetails.php
▶ Open 📄 View Source
🐘 VulnerabilityReportVulnerabilityDetailsReference.php
▶ Open 📄 View Source
🐘 VulnerabilityReportVulnerabilityItem.php
▶ Open 📄 View Source
🐘 WeekDayOfMonth.php
▶ Open 📄 View Source
🐘 WeeklySchedule.php
▶ Open 📄 View Source
🐘 WindowsUpdateSettings.php
▶ Open 📄 View Source
🐘 YumSettings.php
▶ Open 📄 View Source
🐘 ZypperSettings.php
▶ Open 📄 View Source

📄 Source: GoogleCloudOsconfigV2PolicyOrchestrator.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\OSConfig;

class GoogleCloudOsconfigV2PolicyOrchestrator extends \Google\Model
{
  /**
   * Required. Action to be done by the orchestrator in
   * `projects/{project_id}/zones/{zone_id}` locations defined by the
   * `orchestration_scope`. Allowed values: - `UPSERT` - Orchestrator will
   * create or update target resources. - `DELETE` - Orchestrator will delete
   * target resources, if they exist
   *
   * @var string
   */
  public $action;
  /**
   * Output only. Timestamp when the policy orchestrator resource was created.
   *
   * @var string
   */
  public $createTime;
  /**
   * Optional. Freeform text describing the purpose of the resource.
   *
   * @var string
   */
  public $description;
  /**
   * Output only. This checksum is computed by the server based on the value of
   * other fields, and may be sent on update and delete requests to ensure the
   * client has an up-to-date value before proceeding.
   *
   * @var string
   */
  public $etag;
  /**
   * Optional. Labels as key value pairs
   *
   * @var string[]
   */
  public $labels;
  /**
   * Immutable. Identifier. In form of * `organizations/{organization_id}/locati
   * ons/global/policyOrchestrators/{orchestrator_id}` * `folders/{folder_id}/lo
   * cations/global/policyOrchestrators/{orchestrator_id}` * `projects/{project_
   * id_or_number}/locations/global/policyOrchestrators/{orchestrator_id}`
   *
   * @var string
   */
  public $name;
  protected $orchestratedResourceType = GoogleCloudOsconfigV2OrchestratedResource::class;
  protected $orchestratedResourceDataType = '';
  protected $orchestrationScopeType = GoogleCloudOsconfigV2OrchestrationScope::class;
  protected $orchestrationScopeDataType = '';
  protected $orchestrationStateType = GoogleCloudOsconfigV2PolicyOrchestratorOrchestrationState::class;
  protected $orchestrationStateDataType = '';
  /**
   * Output only. Set to true, if there are ongoing changes being applied by the
   * orchestrator.
   *
   * @var bool
   */
  public $reconciling;
  /**
   * Optional. State of the orchestrator. Can be updated to change orchestrator
   * behaviour. Allowed values: - `ACTIVE` - orchestrator is actively looking
   * for actions to be taken. - `STOPPED` - orchestrator won't make any changes.
   * Note: There might be more states added in the future. We use string here
   * instead of an enum, to avoid the need of propagating new states to all the
   * client code.
   *
   * @var string
   */
  public $state;
  /**
   * Output only. Timestamp when the policy orchestrator resource was last
   * modified.
   *
   * @var string
   */
  public $updateTime;

  /**
   * Required. Action to be done by the orchestrator in
   * `projects/{project_id}/zones/{zone_id}` locations defined by the
   * `orchestration_scope`. Allowed values: - `UPSERT` - Orchestrator will
   * create or update target resources. - `DELETE` - Orchestrator will delete
   * target resources, if they exist
   *
   * @param string $action
   */
  public function setAction($action)
  {
    $this->action = $action;
  }
  /**
   * @return string
   */
  public function getAction()
  {
    return $this->action;
  }
  /**
   * Output only. Timestamp when the policy orchestrator resource was created.
   *
   * @param string $createTime
   */
  public function setCreateTime($createTime)
  {
    $this->createTime = $createTime;
  }
  /**
   * @return string
   */
  public function getCreateTime()
  {
    return $this->createTime;
  }
  /**
   * Optional. Freeform text describing the purpose of the resource.
   *
   * @param string $description
   */
  public function setDescription($description)
  {
    $this->description = $description;
  }
  /**
   * @return string
   */
  public function getDescription()
  {
    return $this->description;
  }
  /**
   * Output only. This checksum is computed by the server based on the value of
   * other fields, and may be sent on update and delete requests to ensure the
   * client has an up-to-date value before proceeding.
   *
   * @param string $etag
   */
  public function setEtag($etag)
  {
    $this->etag = $etag;
  }
  /**
   * @return string
   */
  public function getEtag()
  {
    return $this->etag;
  }
  /**
   * Optional. Labels as key value pairs
   *
   * @param string[] $labels
   */
  public function setLabels($labels)
  {
    $this->labels = $labels;
  }
  /**
   * @return string[]
   */
  public function getLabels()
  {
    return $this->labels;
  }
  /**
   * Immutable. Identifier. In form of * `organizations/{organization_id}/locati
   * ons/global/policyOrchestrators/{orchestrator_id}` * `folders/{folder_id}/lo
   * cations/global/policyOrchestrators/{orchestrator_id}` * `projects/{project_
   * id_or_number}/locations/global/policyOrchestrators/{orchestrator_id}`
   *
   * @param string $name
   */
  public function setName($name)
  {
    $this->name = $name;
  }
  /**
   * @return string
   */
  public function getName()
  {
    return $this->name;
  }
  /**
   * Required. Resource to be orchestrated by the policy orchestrator.
   *
   * @param GoogleCloudOsconfigV2OrchestratedResource $orchestratedResource
   */
  public function setOrchestratedResource(GoogleCloudOsconfigV2OrchestratedResource $orchestratedResource)
  {
    $this->orchestratedResource = $orchestratedResource;
  }
  /**
   * @return GoogleCloudOsconfigV2OrchestratedResource
   */
  public function getOrchestratedResource()
  {
    return $this->orchestratedResource;
  }
  /**
   * Optional. Defines scope for the orchestration, in context of the enclosing
   * PolicyOrchestrator resource. Scope is expanded into a list of pairs, in
   * which the rollout action will take place. Expansion starts with a Folder
   * resource parenting the PolicyOrchestrator resource: - All the descendant
   * projects are listed. - List of project is cross joined with a list of all
   * available zones. - Resulting list of pairs is filtered according to the
   * selectors.
   *
   * @param GoogleCloudOsconfigV2OrchestrationScope $orchestrationScope
   */
  public function setOrchestrationScope(GoogleCloudOsconfigV2OrchestrationScope $orchestrationScope)
  {
    $this->orchestrationScope = $orchestrationScope;
  }
  /**
   * @return GoogleCloudOsconfigV2OrchestrationScope
   */
  public function getOrchestrationScope()
  {
    return $this->orchestrationScope;
  }
  /**
   * Output only. State of the orchestration.
   *
   * @param GoogleCloudOsconfigV2PolicyOrchestratorOrchestrationState $orchestrationState
   */
  public function setOrchestrationState(GoogleCloudOsconfigV2PolicyOrchestratorOrchestrationState $orchestrationState)
  {
    $this->orchestrationState = $orchestrationState;
  }
  /**
   * @return GoogleCloudOsconfigV2PolicyOrchestratorOrchestrationState
   */
  public function getOrchestrationState()
  {
    return $this->orchestrationState;
  }
  /**
   * Output only. Set to true, if there are ongoing changes being applied by the
   * orchestrator.
   *
   * @param bool $reconciling
   */
  public function setReconciling($reconciling)
  {
    $this->reconciling = $reconciling;
  }
  /**
   * @return bool
   */
  public function getReconciling()
  {
    return $this->reconciling;
  }
  /**
   * Optional. State of the orchestrator. Can be updated to change orchestrator
   * behaviour. Allowed values: - `ACTIVE` - orchestrator is actively looking
   * for actions to be taken. - `STOPPED` - orchestrator won't make any changes.
   * Note: There might be more states added in the future. We use string here
   * instead of an enum, to avoid the need of propagating new states to all the
   * client code.
   *
   * @param string $state
   */
  public function setState($state)
  {
    $this->state = $state;
  }
  /**
   * @return string
   */
  public function getState()
  {
    return $this->state;
  }
  /**
   * Output only. Timestamp when the policy orchestrator resource was last
   * modified.
   *
   * @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(GoogleCloudOsconfigV2PolicyOrchestrator::class, 'Google_Service_OSConfig_GoogleCloudOsconfigV2PolicyOrchestrator');
← Back