source: vendor/google/apiclient-services/src/Contentwarehouse/GoogleCloudContentwarehouseV1CreateDocumentRequest.php

Last change on this file was e3d4e0a, checked in by Vlado 222039 <vlado.popovski@…>, 2 weeks ago

Upload project files

  • Property mode set to 100644
File size: 3.0 KB
Line 
1<?php
2/*
3 * Copyright 2014 Google Inc.
4 *
5 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
6 * use this file except in compliance with the License. You may obtain a copy of
7 * the License at
8 *
9 * http://www.apache.org/licenses/LICENSE-2.0
10 *
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
13 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
14 * License for the specific language governing permissions and limitations under
15 * the License.
16 */
17
18namespace Google\Service\Contentwarehouse;
19
20class GoogleCloudContentwarehouseV1CreateDocumentRequest extends \Google\Model
21{
22 protected $cloudAiDocumentOptionType = GoogleCloudContentwarehouseV1CloudAIDocumentOption::class;
23 protected $cloudAiDocumentOptionDataType = '';
24 /**
25 * @var string
26 */
27 public $createMask;
28 protected $documentType = GoogleCloudContentwarehouseV1Document::class;
29 protected $documentDataType = '';
30 protected $policyType = GoogleIamV1Policy::class;
31 protected $policyDataType = '';
32 protected $requestMetadataType = GoogleCloudContentwarehouseV1RequestMetadata::class;
33 protected $requestMetadataDataType = '';
34
35 /**
36 * @param GoogleCloudContentwarehouseV1CloudAIDocumentOption
37 */
38 public function setCloudAiDocumentOption(GoogleCloudContentwarehouseV1CloudAIDocumentOption $cloudAiDocumentOption)
39 {
40 $this->cloudAiDocumentOption = $cloudAiDocumentOption;
41 }
42 /**
43 * @return GoogleCloudContentwarehouseV1CloudAIDocumentOption
44 */
45 public function getCloudAiDocumentOption()
46 {
47 return $this->cloudAiDocumentOption;
48 }
49 /**
50 * @param string
51 */
52 public function setCreateMask($createMask)
53 {
54 $this->createMask = $createMask;
55 }
56 /**
57 * @return string
58 */
59 public function getCreateMask()
60 {
61 return $this->createMask;
62 }
63 /**
64 * @param GoogleCloudContentwarehouseV1Document
65 */
66 public function setDocument(GoogleCloudContentwarehouseV1Document $document)
67 {
68 $this->document = $document;
69 }
70 /**
71 * @return GoogleCloudContentwarehouseV1Document
72 */
73 public function getDocument()
74 {
75 return $this->document;
76 }
77 /**
78 * @param GoogleIamV1Policy
79 */
80 public function setPolicy(GoogleIamV1Policy $policy)
81 {
82 $this->policy = $policy;
83 }
84 /**
85 * @return GoogleIamV1Policy
86 */
87 public function getPolicy()
88 {
89 return $this->policy;
90 }
91 /**
92 * @param GoogleCloudContentwarehouseV1RequestMetadata
93 */
94 public function setRequestMetadata(GoogleCloudContentwarehouseV1RequestMetadata $requestMetadata)
95 {
96 $this->requestMetadata = $requestMetadata;
97 }
98 /**
99 * @return GoogleCloudContentwarehouseV1RequestMetadata
100 */
101 public function getRequestMetadata()
102 {
103 return $this->requestMetadata;
104 }
105}
106
107// Adding a class alias for backwards compatibility with the previous class name.
108class_alias(GoogleCloudContentwarehouseV1CreateDocumentRequest::class, 'Google_Service_Contentwarehouse_GoogleCloudContentwarehouseV1CreateDocumentRequest');
Note: See TracBrowser for help on using the repository browser.