📂 File Browser

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

📁 Directories

📁 Resource/ 🔓 Open

📄 Files

🐘 Actor.php
▶ Open 📄 View Source
🐘 Attachment.php
▶ Open 📄 View Source
🐘 Blobstore2Info.php
▶ Open 📄 View Source
🐘 CaseClassification.php
▶ Open 📄 View Source
🐘 CloseCaseRequest.php
▶ Open 📄 View Source
🐘 CloudsupportCase.php
▶ Open 📄 View Source
🐘 Comment.php
▶ Open 📄 View Source
🐘 CompositeMedia.php
▶ Open 📄 View Source
🐘 ContentTypeInfo.php
▶ Open 📄 View Source
🐘 CreateAttachmentRequest.php
▶ Open 📄 View Source
🐘 DiffChecksumsResponse.php
▶ Open 📄 View Source
🐘 DiffDownloadResponse.php
▶ Open 📄 View Source
🐘 DiffUploadRequest.php
▶ Open 📄 View Source
🐘 DiffUploadResponse.php
▶ Open 📄 View Source
🐘 DiffVersionResponse.php
▶ Open 📄 View Source
🐘 DownloadParameters.php
▶ Open 📄 View Source
🐘 EscalateCaseRequest.php
▶ Open 📄 View Source
🐘 Escalation.php
▶ Open 📄 View Source
🐘 ListAttachmentsResponse.php
▶ Open 📄 View Source
🐘 ListCasesResponse.php
▶ Open 📄 View Source
🐘 ListCommentsResponse.php
▶ Open 📄 View Source
🐘 Media.php
▶ Open 📄 View Source
🐘 ObjectId.php
▶ Open 📄 View Source
🐘 SearchCaseClassificationsResponse.php
▶ Open 📄 View Source
🐘 SearchCasesResponse.php
▶ Open 📄 View Source
🐘 WorkflowOperationMetadata.php
▶ Open 📄 View Source

📄 Source: CreateAttachmentRequest.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\CloudSupport;

class CreateAttachmentRequest extends \Google\Model
{
  protected $attachmentType = Attachment::class;
  protected $attachmentDataType = '';

  /**
   * Required. The attachment to be created.
   *
   * @param Attachment $attachment
   */
  public function setAttachment(Attachment $attachment)
  {
    $this->attachment = $attachment;
  }
  /**
   * @return Attachment
   */
  public function getAttachment()
  {
    return $this->attachment;
  }
}

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