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\Eventarc;
|
---|
19 |
|
---|
20 | class GoogleCloudEventarcV1PipelineDestination extends \Google\Model
|
---|
21 | {
|
---|
22 | protected $authenticationConfigType = GoogleCloudEventarcV1PipelineDestinationAuthenticationConfig::class;
|
---|
23 | protected $authenticationConfigDataType = '';
|
---|
24 | protected $httpEndpointType = GoogleCloudEventarcV1PipelineDestinationHttpEndpoint::class;
|
---|
25 | protected $httpEndpointDataType = '';
|
---|
26 | /**
|
---|
27 | * @var string
|
---|
28 | */
|
---|
29 | public $messageBus;
|
---|
30 | protected $networkConfigType = GoogleCloudEventarcV1PipelineDestinationNetworkConfig::class;
|
---|
31 | protected $networkConfigDataType = '';
|
---|
32 | protected $outputPayloadFormatType = GoogleCloudEventarcV1PipelineMessagePayloadFormat::class;
|
---|
33 | protected $outputPayloadFormatDataType = '';
|
---|
34 | /**
|
---|
35 | * @var string
|
---|
36 | */
|
---|
37 | public $topic;
|
---|
38 | /**
|
---|
39 | * @var string
|
---|
40 | */
|
---|
41 | public $workflow;
|
---|
42 |
|
---|
43 | /**
|
---|
44 | * @param GoogleCloudEventarcV1PipelineDestinationAuthenticationConfig
|
---|
45 | */
|
---|
46 | public function setAuthenticationConfig(GoogleCloudEventarcV1PipelineDestinationAuthenticationConfig $authenticationConfig)
|
---|
47 | {
|
---|
48 | $this->authenticationConfig = $authenticationConfig;
|
---|
49 | }
|
---|
50 | /**
|
---|
51 | * @return GoogleCloudEventarcV1PipelineDestinationAuthenticationConfig
|
---|
52 | */
|
---|
53 | public function getAuthenticationConfig()
|
---|
54 | {
|
---|
55 | return $this->authenticationConfig;
|
---|
56 | }
|
---|
57 | /**
|
---|
58 | * @param GoogleCloudEventarcV1PipelineDestinationHttpEndpoint
|
---|
59 | */
|
---|
60 | public function setHttpEndpoint(GoogleCloudEventarcV1PipelineDestinationHttpEndpoint $httpEndpoint)
|
---|
61 | {
|
---|
62 | $this->httpEndpoint = $httpEndpoint;
|
---|
63 | }
|
---|
64 | /**
|
---|
65 | * @return GoogleCloudEventarcV1PipelineDestinationHttpEndpoint
|
---|
66 | */
|
---|
67 | public function getHttpEndpoint()
|
---|
68 | {
|
---|
69 | return $this->httpEndpoint;
|
---|
70 | }
|
---|
71 | /**
|
---|
72 | * @param string
|
---|
73 | */
|
---|
74 | public function setMessageBus($messageBus)
|
---|
75 | {
|
---|
76 | $this->messageBus = $messageBus;
|
---|
77 | }
|
---|
78 | /**
|
---|
79 | * @return string
|
---|
80 | */
|
---|
81 | public function getMessageBus()
|
---|
82 | {
|
---|
83 | return $this->messageBus;
|
---|
84 | }
|
---|
85 | /**
|
---|
86 | * @param GoogleCloudEventarcV1PipelineDestinationNetworkConfig
|
---|
87 | */
|
---|
88 | public function setNetworkConfig(GoogleCloudEventarcV1PipelineDestinationNetworkConfig $networkConfig)
|
---|
89 | {
|
---|
90 | $this->networkConfig = $networkConfig;
|
---|
91 | }
|
---|
92 | /**
|
---|
93 | * @return GoogleCloudEventarcV1PipelineDestinationNetworkConfig
|
---|
94 | */
|
---|
95 | public function getNetworkConfig()
|
---|
96 | {
|
---|
97 | return $this->networkConfig;
|
---|
98 | }
|
---|
99 | /**
|
---|
100 | * @param GoogleCloudEventarcV1PipelineMessagePayloadFormat
|
---|
101 | */
|
---|
102 | public function setOutputPayloadFormat(GoogleCloudEventarcV1PipelineMessagePayloadFormat $outputPayloadFormat)
|
---|
103 | {
|
---|
104 | $this->outputPayloadFormat = $outputPayloadFormat;
|
---|
105 | }
|
---|
106 | /**
|
---|
107 | * @return GoogleCloudEventarcV1PipelineMessagePayloadFormat
|
---|
108 | */
|
---|
109 | public function getOutputPayloadFormat()
|
---|
110 | {
|
---|
111 | return $this->outputPayloadFormat;
|
---|
112 | }
|
---|
113 | /**
|
---|
114 | * @param string
|
---|
115 | */
|
---|
116 | public function setTopic($topic)
|
---|
117 | {
|
---|
118 | $this->topic = $topic;
|
---|
119 | }
|
---|
120 | /**
|
---|
121 | * @return string
|
---|
122 | */
|
---|
123 | public function getTopic()
|
---|
124 | {
|
---|
125 | return $this->topic;
|
---|
126 | }
|
---|
127 | /**
|
---|
128 | * @param string
|
---|
129 | */
|
---|
130 | public function setWorkflow($workflow)
|
---|
131 | {
|
---|
132 | $this->workflow = $workflow;
|
---|
133 | }
|
---|
134 | /**
|
---|
135 | * @return string
|
---|
136 | */
|
---|
137 | public function getWorkflow()
|
---|
138 | {
|
---|
139 | return $this->workflow;
|
---|
140 | }
|
---|
141 | }
|
---|
142 |
|
---|
143 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
144 | class_alias(GoogleCloudEventarcV1PipelineDestination::class, 'Google_Service_Eventarc_GoogleCloudEventarcV1PipelineDestination');
|
---|