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\CloudDataplex;
19
20class GoogleCloudDataplexV1DiscoveryEvent extends \Google\Model
21{
22  protected $actionType = GoogleCloudDataplexV1DiscoveryEventActionDetails::class;
23  protected $actionDataType = '';
24  /**
25   * @var string
26   */
27  public $assetId;
28  protected $configType = GoogleCloudDataplexV1DiscoveryEventConfigDetails::class;
29  protected $configDataType = '';
30  /**
31   * @var string
32   */
33  public $dataLocation;
34  protected $entityType = GoogleCloudDataplexV1DiscoveryEventEntityDetails::class;
35  protected $entityDataType = '';
36  /**
37   * @var string
38   */
39  public $lakeId;
40  /**
41   * @var string
42   */
43  public $message;
44  protected $partitionType = GoogleCloudDataplexV1DiscoveryEventPartitionDetails::class;
45  protected $partitionDataType = '';
46  /**
47   * @var string
48   */
49  public $type;
50  /**
51   * @var string
52   */
53  public $zoneId;
54
55  /**
56   * @param GoogleCloudDataplexV1DiscoveryEventActionDetails
57   */
58  public function setAction(GoogleCloudDataplexV1DiscoveryEventActionDetails $action)
59  {
60    $this->action = $action;
61  }
62  /**
63   * @return GoogleCloudDataplexV1DiscoveryEventActionDetails
64   */
65  public function getAction()
66  {
67    return $this->action;
68  }
69  /**
70   * @param string
71   */
72  public function setAssetId($assetId)
73  {
74    $this->assetId = $assetId;
75  }
76  /**
77   * @return string
78   */
79  public function getAssetId()
80  {
81    return $this->assetId;
82  }
83  /**
84   * @param GoogleCloudDataplexV1DiscoveryEventConfigDetails
85   */
86  public function setConfig(GoogleCloudDataplexV1DiscoveryEventConfigDetails $config)
87  {
88    $this->config = $config;
89  }
90  /**
91   * @return GoogleCloudDataplexV1DiscoveryEventConfigDetails
92   */
93  public function getConfig()
94  {
95    return $this->config;
96  }
97  /**
98   * @param string
99   */
100  public function setDataLocation($dataLocation)
101  {
102    $this->dataLocation = $dataLocation;
103  }
104  /**
105   * @return string
106   */
107  public function getDataLocation()
108  {
109    return $this->dataLocation;
110  }
111  /**
112   * @param GoogleCloudDataplexV1DiscoveryEventEntityDetails
113   */
114  public function setEntity(GoogleCloudDataplexV1DiscoveryEventEntityDetails $entity)
115  {
116    $this->entity = $entity;
117  }
118  /**
119   * @return GoogleCloudDataplexV1DiscoveryEventEntityDetails
120   */
121  public function getEntity()
122  {
123    return $this->entity;
124  }
125  /**
126   * @param string
127   */
128  public function setLakeId($lakeId)
129  {
130    $this->lakeId = $lakeId;
131  }
132  /**
133   * @return string
134   */
135  public function getLakeId()
136  {
137    return $this->lakeId;
138  }
139  /**
140   * @param string
141   */
142  public function setMessage($message)
143  {
144    $this->message = $message;
145  }
146  /**
147   * @return string
148   */
149  public function getMessage()
150  {
151    return $this->message;
152  }
153  /**
154   * @param GoogleCloudDataplexV1DiscoveryEventPartitionDetails
155   */
156  public function setPartition(GoogleCloudDataplexV1DiscoveryEventPartitionDetails $partition)
157  {
158    $this->partition = $partition;
159  }
160  /**
161   * @return GoogleCloudDataplexV1DiscoveryEventPartitionDetails
162   */
163  public function getPartition()
164  {
165    return $this->partition;
166  }
167  /**
168   * @param string
169   */
170  public function setType($type)
171  {
172    $this->type = $type;
173  }
174  /**
175   * @return string
176   */
177  public function getType()
178  {
179    return $this->type;
180  }
181  /**
182   * @param string
183   */
184  public function setZoneId($zoneId)
185  {
186    $this->zoneId = $zoneId;
187  }
188  /**
189   * @return string
190   */
191  public function getZoneId()
192  {
193    return $this->zoneId;
194  }
195}
196
197// Adding a class alias for backwards compatibility with the previous class name.
198class_alias(GoogleCloudDataplexV1DiscoveryEvent::class, 'Google_Service_CloudDataplex_GoogleCloudDataplexV1DiscoveryEvent');
199