source: vendor/google/apiclient-services/src/Eventarc/Destination.php@ f9c482b

Last change on this file since f9c482b was f9c482b, checked in by Vlado 222039 <vlado.popovski@…>, 2 weeks ago

Upload new project files

  • Property mode set to 100644
File size: 2.6 KB
Line 
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\Eventarc;
19
20class Destination extends \Google\Model
21{
22 /**
23 * @var string
24 */
25 public $cloudFunction;
26 protected $cloudRunType = CloudRun::class;
27 protected $cloudRunDataType = '';
28 protected $gkeType = GKE::class;
29 protected $gkeDataType = '';
30 protected $httpEndpointType = HttpEndpoint::class;
31 protected $httpEndpointDataType = '';
32 protected $networkConfigType = NetworkConfig::class;
33 protected $networkConfigDataType = '';
34 /**
35 * @var string
36 */
37 public $workflow;
38
39 /**
40 * @param string
41 */
42 public function setCloudFunction($cloudFunction)
43 {
44 $this->cloudFunction = $cloudFunction;
45 }
46 /**
47 * @return string
48 */
49 public function getCloudFunction()
50 {
51 return $this->cloudFunction;
52 }
53 /**
54 * @param CloudRun
55 */
56 public function setCloudRun(CloudRun $cloudRun)
57 {
58 $this->cloudRun = $cloudRun;
59 }
60 /**
61 * @return CloudRun
62 */
63 public function getCloudRun()
64 {
65 return $this->cloudRun;
66 }
67 /**
68 * @param GKE
69 */
70 public function setGke(GKE $gke)
71 {
72 $this->gke = $gke;
73 }
74 /**
75 * @return GKE
76 */
77 public function getGke()
78 {
79 return $this->gke;
80 }
81 /**
82 * @param HttpEndpoint
83 */
84 public function setHttpEndpoint(HttpEndpoint $httpEndpoint)
85 {
86 $this->httpEndpoint = $httpEndpoint;
87 }
88 /**
89 * @return HttpEndpoint
90 */
91 public function getHttpEndpoint()
92 {
93 return $this->httpEndpoint;
94 }
95 /**
96 * @param NetworkConfig
97 */
98 public function setNetworkConfig(NetworkConfig $networkConfig)
99 {
100 $this->networkConfig = $networkConfig;
101 }
102 /**
103 * @return NetworkConfig
104 */
105 public function getNetworkConfig()
106 {
107 return $this->networkConfig;
108 }
109 /**
110 * @param string
111 */
112 public function setWorkflow($workflow)
113 {
114 $this->workflow = $workflow;
115 }
116 /**
117 * @return string
118 */
119 public function getWorkflow()
120 {
121 return $this->workflow;
122 }
123}
124
125// Adding a class alias for backwards compatibility with the previous class name.
126class_alias(Destination::class, 'Google_Service_Eventarc_Destination');
Note: See TracBrowser for help on using the repository browser.