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\ServiceUsage;
19
20class BackendRule extends \Google\Model
21{
22  /**
23   * @var string
24   */
25  public $address;
26  public $deadline;
27  /**
28   * @var bool
29   */
30  public $disableAuth;
31  /**
32   * @var string
33   */
34  public $jwtAudience;
35  public $operationDeadline;
36  /**
37   * @var string
38   */
39  public $pathTranslation;
40  /**
41   * @var string
42   */
43  public $protocol;
44  /**
45   * @var string
46   */
47  public $selector;
48
49  /**
50   * @param string
51   */
52  public function setAddress($address)
53  {
54    $this->address = $address;
55  }
56  /**
57   * @return string
58   */
59  public function getAddress()
60  {
61    return $this->address;
62  }
63  public function setDeadline($deadline)
64  {
65    $this->deadline = $deadline;
66  }
67  public function getDeadline()
68  {
69    return $this->deadline;
70  }
71  /**
72   * @param bool
73   */
74  public function setDisableAuth($disableAuth)
75  {
76    $this->disableAuth = $disableAuth;
77  }
78  /**
79   * @return bool
80   */
81  public function getDisableAuth()
82  {
83    return $this->disableAuth;
84  }
85  /**
86   * @param string
87   */
88  public function setJwtAudience($jwtAudience)
89  {
90    $this->jwtAudience = $jwtAudience;
91  }
92  /**
93   * @return string
94   */
95  public function getJwtAudience()
96  {
97    return $this->jwtAudience;
98  }
99  public function setOperationDeadline($operationDeadline)
100  {
101    $this->operationDeadline = $operationDeadline;
102  }
103  public function getOperationDeadline()
104  {
105    return $this->operationDeadline;
106  }
107  /**
108   * @param string
109   */
110  public function setPathTranslation($pathTranslation)
111  {
112    $this->pathTranslation = $pathTranslation;
113  }
114  /**
115   * @return string
116   */
117  public function getPathTranslation()
118  {
119    return $this->pathTranslation;
120  }
121  /**
122   * @param string
123   */
124  public function setProtocol($protocol)
125  {
126    $this->protocol = $protocol;
127  }
128  /**
129   * @return string
130   */
131  public function getProtocol()
132  {
133    return $this->protocol;
134  }
135  /**
136   * @param string
137   */
138  public function setSelector($selector)
139  {
140    $this->selector = $selector;
141  }
142  /**
143   * @return string
144   */
145  public function getSelector()
146  {
147    return $this->selector;
148  }
149}
150
151// Adding a class alias for backwards compatibility with the previous class name.
152class_alias(BackendRule::class, 'Google_Service_ServiceUsage_BackendRule');
153