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 |
|
---|
18 | namespace Google\Service\CloudDataplex;
|
---|
19 |
|
---|
20 | class GoogleCloudDataplexV1StorageFormat extends \Google\Model
|
---|
21 | {
|
---|
22 | /**
|
---|
23 | * @var string
|
---|
24 | */
|
---|
25 | public $compressionFormat;
|
---|
26 | protected $csvType = GoogleCloudDataplexV1StorageFormatCsvOptions::class;
|
---|
27 | protected $csvDataType = '';
|
---|
28 | /**
|
---|
29 | * @var string
|
---|
30 | */
|
---|
31 | public $format;
|
---|
32 | protected $icebergType = GoogleCloudDataplexV1StorageFormatIcebergOptions::class;
|
---|
33 | protected $icebergDataType = '';
|
---|
34 | protected $jsonType = GoogleCloudDataplexV1StorageFormatJsonOptions::class;
|
---|
35 | protected $jsonDataType = '';
|
---|
36 | /**
|
---|
37 | * @var string
|
---|
38 | */
|
---|
39 | public $mimeType;
|
---|
40 |
|
---|
41 | /**
|
---|
42 | * @param string
|
---|
43 | */
|
---|
44 | public function setCompressionFormat($compressionFormat)
|
---|
45 | {
|
---|
46 | $this->compressionFormat = $compressionFormat;
|
---|
47 | }
|
---|
48 | /**
|
---|
49 | * @return string
|
---|
50 | */
|
---|
51 | public function getCompressionFormat()
|
---|
52 | {
|
---|
53 | return $this->compressionFormat;
|
---|
54 | }
|
---|
55 | /**
|
---|
56 | * @param GoogleCloudDataplexV1StorageFormatCsvOptions
|
---|
57 | */
|
---|
58 | public function setCsv(GoogleCloudDataplexV1StorageFormatCsvOptions $csv)
|
---|
59 | {
|
---|
60 | $this->csv = $csv;
|
---|
61 | }
|
---|
62 | /**
|
---|
63 | * @return GoogleCloudDataplexV1StorageFormatCsvOptions
|
---|
64 | */
|
---|
65 | public function getCsv()
|
---|
66 | {
|
---|
67 | return $this->csv;
|
---|
68 | }
|
---|
69 | /**
|
---|
70 | * @param string
|
---|
71 | */
|
---|
72 | public function setFormat($format)
|
---|
73 | {
|
---|
74 | $this->format = $format;
|
---|
75 | }
|
---|
76 | /**
|
---|
77 | * @return string
|
---|
78 | */
|
---|
79 | public function getFormat()
|
---|
80 | {
|
---|
81 | return $this->format;
|
---|
82 | }
|
---|
83 | /**
|
---|
84 | * @param GoogleCloudDataplexV1StorageFormatIcebergOptions
|
---|
85 | */
|
---|
86 | public function setIceberg(GoogleCloudDataplexV1StorageFormatIcebergOptions $iceberg)
|
---|
87 | {
|
---|
88 | $this->iceberg = $iceberg;
|
---|
89 | }
|
---|
90 | /**
|
---|
91 | * @return GoogleCloudDataplexV1StorageFormatIcebergOptions
|
---|
92 | */
|
---|
93 | public function getIceberg()
|
---|
94 | {
|
---|
95 | return $this->iceberg;
|
---|
96 | }
|
---|
97 | /**
|
---|
98 | * @param GoogleCloudDataplexV1StorageFormatJsonOptions
|
---|
99 | */
|
---|
100 | public function setJson(GoogleCloudDataplexV1StorageFormatJsonOptions $json)
|
---|
101 | {
|
---|
102 | $this->json = $json;
|
---|
103 | }
|
---|
104 | /**
|
---|
105 | * @return GoogleCloudDataplexV1StorageFormatJsonOptions
|
---|
106 | */
|
---|
107 | public function getJson()
|
---|
108 | {
|
---|
109 | return $this->json;
|
---|
110 | }
|
---|
111 | /**
|
---|
112 | * @param string
|
---|
113 | */
|
---|
114 | public function setMimeType($mimeType)
|
---|
115 | {
|
---|
116 | $this->mimeType = $mimeType;
|
---|
117 | }
|
---|
118 | /**
|
---|
119 | * @return string
|
---|
120 | */
|
---|
121 | public function getMimeType()
|
---|
122 | {
|
---|
123 | return $this->mimeType;
|
---|
124 | }
|
---|
125 | }
|
---|
126 |
|
---|
127 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
128 | class_alias(GoogleCloudDataplexV1StorageFormat::class, 'Google_Service_CloudDataplex_GoogleCloudDataplexV1StorageFormat');
|
---|