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\Dataflow;
|
---|
19 |
|
---|
20 | class JobMetadata extends \Google\Collection
|
---|
21 | {
|
---|
22 | protected $collection_key = 'spannerDetails';
|
---|
23 | protected $bigTableDetailsType = BigTableIODetails::class;
|
---|
24 | protected $bigTableDetailsDataType = 'array';
|
---|
25 | protected $bigqueryDetailsType = BigQueryIODetails::class;
|
---|
26 | protected $bigqueryDetailsDataType = 'array';
|
---|
27 | protected $datastoreDetailsType = DatastoreIODetails::class;
|
---|
28 | protected $datastoreDetailsDataType = 'array';
|
---|
29 | protected $fileDetailsType = FileIODetails::class;
|
---|
30 | protected $fileDetailsDataType = 'array';
|
---|
31 | protected $pubsubDetailsType = PubSubIODetails::class;
|
---|
32 | protected $pubsubDetailsDataType = 'array';
|
---|
33 | protected $sdkVersionType = SdkVersion::class;
|
---|
34 | protected $sdkVersionDataType = '';
|
---|
35 | protected $spannerDetailsType = SpannerIODetails::class;
|
---|
36 | protected $spannerDetailsDataType = 'array';
|
---|
37 | /**
|
---|
38 | * @var string[]
|
---|
39 | */
|
---|
40 | public $userDisplayProperties;
|
---|
41 |
|
---|
42 | /**
|
---|
43 | * @param BigTableIODetails[]
|
---|
44 | */
|
---|
45 | public function setBigTableDetails($bigTableDetails)
|
---|
46 | {
|
---|
47 | $this->bigTableDetails = $bigTableDetails;
|
---|
48 | }
|
---|
49 | /**
|
---|
50 | * @return BigTableIODetails[]
|
---|
51 | */
|
---|
52 | public function getBigTableDetails()
|
---|
53 | {
|
---|
54 | return $this->bigTableDetails;
|
---|
55 | }
|
---|
56 | /**
|
---|
57 | * @param BigQueryIODetails[]
|
---|
58 | */
|
---|
59 | public function setBigqueryDetails($bigqueryDetails)
|
---|
60 | {
|
---|
61 | $this->bigqueryDetails = $bigqueryDetails;
|
---|
62 | }
|
---|
63 | /**
|
---|
64 | * @return BigQueryIODetails[]
|
---|
65 | */
|
---|
66 | public function getBigqueryDetails()
|
---|
67 | {
|
---|
68 | return $this->bigqueryDetails;
|
---|
69 | }
|
---|
70 | /**
|
---|
71 | * @param DatastoreIODetails[]
|
---|
72 | */
|
---|
73 | public function setDatastoreDetails($datastoreDetails)
|
---|
74 | {
|
---|
75 | $this->datastoreDetails = $datastoreDetails;
|
---|
76 | }
|
---|
77 | /**
|
---|
78 | * @return DatastoreIODetails[]
|
---|
79 | */
|
---|
80 | public function getDatastoreDetails()
|
---|
81 | {
|
---|
82 | return $this->datastoreDetails;
|
---|
83 | }
|
---|
84 | /**
|
---|
85 | * @param FileIODetails[]
|
---|
86 | */
|
---|
87 | public function setFileDetails($fileDetails)
|
---|
88 | {
|
---|
89 | $this->fileDetails = $fileDetails;
|
---|
90 | }
|
---|
91 | /**
|
---|
92 | * @return FileIODetails[]
|
---|
93 | */
|
---|
94 | public function getFileDetails()
|
---|
95 | {
|
---|
96 | return $this->fileDetails;
|
---|
97 | }
|
---|
98 | /**
|
---|
99 | * @param PubSubIODetails[]
|
---|
100 | */
|
---|
101 | public function setPubsubDetails($pubsubDetails)
|
---|
102 | {
|
---|
103 | $this->pubsubDetails = $pubsubDetails;
|
---|
104 | }
|
---|
105 | /**
|
---|
106 | * @return PubSubIODetails[]
|
---|
107 | */
|
---|
108 | public function getPubsubDetails()
|
---|
109 | {
|
---|
110 | return $this->pubsubDetails;
|
---|
111 | }
|
---|
112 | /**
|
---|
113 | * @param SdkVersion
|
---|
114 | */
|
---|
115 | public function setSdkVersion(SdkVersion $sdkVersion)
|
---|
116 | {
|
---|
117 | $this->sdkVersion = $sdkVersion;
|
---|
118 | }
|
---|
119 | /**
|
---|
120 | * @return SdkVersion
|
---|
121 | */
|
---|
122 | public function getSdkVersion()
|
---|
123 | {
|
---|
124 | return $this->sdkVersion;
|
---|
125 | }
|
---|
126 | /**
|
---|
127 | * @param SpannerIODetails[]
|
---|
128 | */
|
---|
129 | public function setSpannerDetails($spannerDetails)
|
---|
130 | {
|
---|
131 | $this->spannerDetails = $spannerDetails;
|
---|
132 | }
|
---|
133 | /**
|
---|
134 | * @return SpannerIODetails[]
|
---|
135 | */
|
---|
136 | public function getSpannerDetails()
|
---|
137 | {
|
---|
138 | return $this->spannerDetails;
|
---|
139 | }
|
---|
140 | /**
|
---|
141 | * @param string[]
|
---|
142 | */
|
---|
143 | public function setUserDisplayProperties($userDisplayProperties)
|
---|
144 | {
|
---|
145 | $this->userDisplayProperties = $userDisplayProperties;
|
---|
146 | }
|
---|
147 | /**
|
---|
148 | * @return string[]
|
---|
149 | */
|
---|
150 | public function getUserDisplayProperties()
|
---|
151 | {
|
---|
152 | return $this->userDisplayProperties;
|
---|
153 | }
|
---|
154 | }
|
---|
155 |
|
---|
156 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
157 | class_alias(JobMetadata::class, 'Google_Service_Dataflow_JobMetadata');
|
---|