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 GoogleCloudDataplexV1ZoneDiscoverySpec extends \Google\Collection
|
---|
21 | {
|
---|
22 | protected $collection_key = 'includePatterns';
|
---|
23 | protected $csvOptionsType = GoogleCloudDataplexV1ZoneDiscoverySpecCsvOptions::class;
|
---|
24 | protected $csvOptionsDataType = '';
|
---|
25 | /**
|
---|
26 | * @var bool
|
---|
27 | */
|
---|
28 | public $enabled;
|
---|
29 | /**
|
---|
30 | * @var string[]
|
---|
31 | */
|
---|
32 | public $excludePatterns;
|
---|
33 | /**
|
---|
34 | * @var string[]
|
---|
35 | */
|
---|
36 | public $includePatterns;
|
---|
37 | protected $jsonOptionsType = GoogleCloudDataplexV1ZoneDiscoverySpecJsonOptions::class;
|
---|
38 | protected $jsonOptionsDataType = '';
|
---|
39 | /**
|
---|
40 | * @var string
|
---|
41 | */
|
---|
42 | public $schedule;
|
---|
43 |
|
---|
44 | /**
|
---|
45 | * @param GoogleCloudDataplexV1ZoneDiscoverySpecCsvOptions
|
---|
46 | */
|
---|
47 | public function setCsvOptions(GoogleCloudDataplexV1ZoneDiscoverySpecCsvOptions $csvOptions)
|
---|
48 | {
|
---|
49 | $this->csvOptions = $csvOptions;
|
---|
50 | }
|
---|
51 | /**
|
---|
52 | * @return GoogleCloudDataplexV1ZoneDiscoverySpecCsvOptions
|
---|
53 | */
|
---|
54 | public function getCsvOptions()
|
---|
55 | {
|
---|
56 | return $this->csvOptions;
|
---|
57 | }
|
---|
58 | /**
|
---|
59 | * @param bool
|
---|
60 | */
|
---|
61 | public function setEnabled($enabled)
|
---|
62 | {
|
---|
63 | $this->enabled = $enabled;
|
---|
64 | }
|
---|
65 | /**
|
---|
66 | * @return bool
|
---|
67 | */
|
---|
68 | public function getEnabled()
|
---|
69 | {
|
---|
70 | return $this->enabled;
|
---|
71 | }
|
---|
72 | /**
|
---|
73 | * @param string[]
|
---|
74 | */
|
---|
75 | public function setExcludePatterns($excludePatterns)
|
---|
76 | {
|
---|
77 | $this->excludePatterns = $excludePatterns;
|
---|
78 | }
|
---|
79 | /**
|
---|
80 | * @return string[]
|
---|
81 | */
|
---|
82 | public function getExcludePatterns()
|
---|
83 | {
|
---|
84 | return $this->excludePatterns;
|
---|
85 | }
|
---|
86 | /**
|
---|
87 | * @param string[]
|
---|
88 | */
|
---|
89 | public function setIncludePatterns($includePatterns)
|
---|
90 | {
|
---|
91 | $this->includePatterns = $includePatterns;
|
---|
92 | }
|
---|
93 | /**
|
---|
94 | * @return string[]
|
---|
95 | */
|
---|
96 | public function getIncludePatterns()
|
---|
97 | {
|
---|
98 | return $this->includePatterns;
|
---|
99 | }
|
---|
100 | /**
|
---|
101 | * @param GoogleCloudDataplexV1ZoneDiscoverySpecJsonOptions
|
---|
102 | */
|
---|
103 | public function setJsonOptions(GoogleCloudDataplexV1ZoneDiscoverySpecJsonOptions $jsonOptions)
|
---|
104 | {
|
---|
105 | $this->jsonOptions = $jsonOptions;
|
---|
106 | }
|
---|
107 | /**
|
---|
108 | * @return GoogleCloudDataplexV1ZoneDiscoverySpecJsonOptions
|
---|
109 | */
|
---|
110 | public function getJsonOptions()
|
---|
111 | {
|
---|
112 | return $this->jsonOptions;
|
---|
113 | }
|
---|
114 | /**
|
---|
115 | * @param string
|
---|
116 | */
|
---|
117 | public function setSchedule($schedule)
|
---|
118 | {
|
---|
119 | $this->schedule = $schedule;
|
---|
120 | }
|
---|
121 | /**
|
---|
122 | * @return string
|
---|
123 | */
|
---|
124 | public function getSchedule()
|
---|
125 | {
|
---|
126 | return $this->schedule;
|
---|
127 | }
|
---|
128 | }
|
---|
129 |
|
---|
130 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
131 | class_alias(GoogleCloudDataplexV1ZoneDiscoverySpec::class, 'Google_Service_CloudDataplex_GoogleCloudDataplexV1ZoneDiscoverySpec');
|
---|