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\CloudRun;
|
---|
19 |
|
---|
20 | class GoogleDevtoolsCloudbuildV1Artifacts extends \Google\Collection
|
---|
21 | {
|
---|
22 | protected $collection_key = 'pythonPackages';
|
---|
23 | /**
|
---|
24 | * @var string[]
|
---|
25 | */
|
---|
26 | public $images;
|
---|
27 | protected $mavenArtifactsType = GoogleDevtoolsCloudbuildV1MavenArtifact::class;
|
---|
28 | protected $mavenArtifactsDataType = 'array';
|
---|
29 | protected $npmPackagesType = GoogleDevtoolsCloudbuildV1NpmPackage::class;
|
---|
30 | protected $npmPackagesDataType = 'array';
|
---|
31 | protected $objectsType = GoogleDevtoolsCloudbuildV1ArtifactObjects::class;
|
---|
32 | protected $objectsDataType = '';
|
---|
33 | protected $pythonPackagesType = GoogleDevtoolsCloudbuildV1PythonPackage::class;
|
---|
34 | protected $pythonPackagesDataType = 'array';
|
---|
35 |
|
---|
36 | /**
|
---|
37 | * @param string[]
|
---|
38 | */
|
---|
39 | public function setImages($images)
|
---|
40 | {
|
---|
41 | $this->images = $images;
|
---|
42 | }
|
---|
43 | /**
|
---|
44 | * @return string[]
|
---|
45 | */
|
---|
46 | public function getImages()
|
---|
47 | {
|
---|
48 | return $this->images;
|
---|
49 | }
|
---|
50 | /**
|
---|
51 | * @param GoogleDevtoolsCloudbuildV1MavenArtifact[]
|
---|
52 | */
|
---|
53 | public function setMavenArtifacts($mavenArtifacts)
|
---|
54 | {
|
---|
55 | $this->mavenArtifacts = $mavenArtifacts;
|
---|
56 | }
|
---|
57 | /**
|
---|
58 | * @return GoogleDevtoolsCloudbuildV1MavenArtifact[]
|
---|
59 | */
|
---|
60 | public function getMavenArtifacts()
|
---|
61 | {
|
---|
62 | return $this->mavenArtifacts;
|
---|
63 | }
|
---|
64 | /**
|
---|
65 | * @param GoogleDevtoolsCloudbuildV1NpmPackage[]
|
---|
66 | */
|
---|
67 | public function setNpmPackages($npmPackages)
|
---|
68 | {
|
---|
69 | $this->npmPackages = $npmPackages;
|
---|
70 | }
|
---|
71 | /**
|
---|
72 | * @return GoogleDevtoolsCloudbuildV1NpmPackage[]
|
---|
73 | */
|
---|
74 | public function getNpmPackages()
|
---|
75 | {
|
---|
76 | return $this->npmPackages;
|
---|
77 | }
|
---|
78 | /**
|
---|
79 | * @param GoogleDevtoolsCloudbuildV1ArtifactObjects
|
---|
80 | */
|
---|
81 | public function setObjects(GoogleDevtoolsCloudbuildV1ArtifactObjects $objects)
|
---|
82 | {
|
---|
83 | $this->objects = $objects;
|
---|
84 | }
|
---|
85 | /**
|
---|
86 | * @return GoogleDevtoolsCloudbuildV1ArtifactObjects
|
---|
87 | */
|
---|
88 | public function getObjects()
|
---|
89 | {
|
---|
90 | return $this->objects;
|
---|
91 | }
|
---|
92 | /**
|
---|
93 | * @param GoogleDevtoolsCloudbuildV1PythonPackage[]
|
---|
94 | */
|
---|
95 | public function setPythonPackages($pythonPackages)
|
---|
96 | {
|
---|
97 | $this->pythonPackages = $pythonPackages;
|
---|
98 | }
|
---|
99 | /**
|
---|
100 | * @return GoogleDevtoolsCloudbuildV1PythonPackage[]
|
---|
101 | */
|
---|
102 | public function getPythonPackages()
|
---|
103 | {
|
---|
104 | return $this->pythonPackages;
|
---|
105 | }
|
---|
106 | }
|
---|
107 |
|
---|
108 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
109 | class_alias(GoogleDevtoolsCloudbuildV1Artifacts::class, 'Google_Service_CloudRun_GoogleDevtoolsCloudbuildV1Artifacts');
|
---|