📂 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: Operation.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 Operation extends \Google\Model
{
  /**
   * If the value is `false`, it means the operation is still in progress. If
   * `true`, the operation is completed, and either `error` or `response` is
   * available.
   *
   * @var bool
   */
  public $done;
  protected $errorType = Status::class;
  protected $errorDataType = '';
  /**
   * Service-specific metadata associated with the operation. It typically
   * contains progress information and common metadata such as create time. Some
   * services might not provide such metadata. Any method that returns a long-
   * running operation should document the metadata type, if any.
   *
   * @var array[]
   */
  public $metadata;
  /**
   * The server-assigned name, which is only unique within the same service that
   * originally returns it. If you use the default HTTP mapping, the `name`
   * should be a resource name ending with `operations/{unique_id}`.
   *
   * @var string
   */
  public $name;
  /**
   * The normal, successful response of the operation. If the original method
   * returns no data on success, such as `Delete`, the response is
   * `google.protobuf.Empty`. If the original method is standard
   * `Get`/`Create`/`Update`, the response should be the resource. For other
   * methods, the response should have the type `XxxResponse`, where `Xxx` is
   * the original method name. For example, if the original method name is
   * `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
   *
   * @var array[]
   */
  public $response;

  /**
   * If the value is `false`, it means the operation is still in progress. If
   * `true`, the operation is completed, and either `error` or `response` is
   * available.
   *
   * @param bool $done
   */
  public function setDone($done)
  {
    $this->done = $done;
  }
  /**
   * @return bool
   */
  public function getDone()
  {
    return $this->done;
  }
  /**
   * The error result of the operation in case of failure or cancellation.
   *
   * @param Status $error
   */
  public function setError(Status $error)
  {
    $this->error = $error;
  }
  /**
   * @return Status
   */
  public function getError()
  {
    return $this->error;
  }
  /**
   * Service-specific metadata associated with the operation. It typically
   * contains progress information and common metadata such as create time. Some
   * services might not provide such metadata. Any method that returns a long-
   * running operation should document the metadata type, if any.
   *
   * @param array[] $metadata
   */
  public function setMetadata($metadata)
  {
    $this->metadata = $metadata;
  }
  /**
   * @return array[]
   */
  public function getMetadata()
  {
    return $this->metadata;
  }
  /**
   * The server-assigned name, which is only unique within the same service that
   * originally returns it. If you use the default HTTP mapping, the `name`
   * should be a resource name ending with `operations/{unique_id}`.
   *
   * @param string $name
   */
  public function setName($name)
  {
    $this->name = $name;
  }
  /**
   * @return string
   */
  public function getName()
  {
    return $this->name;
  }
  /**
   * The normal, successful response of the operation. If the original method
   * returns no data on success, such as `Delete`, the response is
   * `google.protobuf.Empty`. If the original method is standard
   * `Get`/`Create`/`Update`, the response should be the resource. For other
   * methods, the response should have the type `XxxResponse`, where `Xxx` is
   * the original method name. For example, if the original method name is
   * `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
   *
   * @param array[] $response
   */
  public function setResponse($response)
  {
    $this->response = $response;
  }
  /**
   * @return array[]
   */
  public function getResponse()
  {
    return $this->response;
  }
}

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