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\Recommender;
19
20class GoogleCloudRecommenderV1Operation extends \Google\Model
21{
22  /**
23   * @var string
24   */
25  public $action;
26  /**
27   * @var string
28   */
29  public $path;
30  /**
31   * @var array[]
32   */
33  public $pathFilters;
34  protected $pathValueMatchersType = GoogleCloudRecommenderV1ValueMatcher::class;
35  protected $pathValueMatchersDataType = 'map';
36  /**
37   * @var string
38   */
39  public $resource;
40  /**
41   * @var string
42   */
43  public $resourceType;
44  /**
45   * @var string
46   */
47  public $sourcePath;
48  /**
49   * @var string
50   */
51  public $sourceResource;
52  /**
53   * @var array
54   */
55  public $value;
56  protected $valueMatcherType = GoogleCloudRecommenderV1ValueMatcher::class;
57  protected $valueMatcherDataType = '';
58
59  /**
60   * @param string
61   */
62  public function setAction($action)
63  {
64    $this->action = $action;
65  }
66  /**
67   * @return string
68   */
69  public function getAction()
70  {
71    return $this->action;
72  }
73  /**
74   * @param string
75   */
76  public function setPath($path)
77  {
78    $this->path = $path;
79  }
80  /**
81   * @return string
82   */
83  public function getPath()
84  {
85    return $this->path;
86  }
87  /**
88   * @param array[]
89   */
90  public function setPathFilters($pathFilters)
91  {
92    $this->pathFilters = $pathFilters;
93  }
94  /**
95   * @return array[]
96   */
97  public function getPathFilters()
98  {
99    return $this->pathFilters;
100  }
101  /**
102   * @param GoogleCloudRecommenderV1ValueMatcher[]
103   */
104  public function setPathValueMatchers($pathValueMatchers)
105  {
106    $this->pathValueMatchers = $pathValueMatchers;
107  }
108  /**
109   * @return GoogleCloudRecommenderV1ValueMatcher[]
110   */
111  public function getPathValueMatchers()
112  {
113    return $this->pathValueMatchers;
114  }
115  /**
116   * @param string
117   */
118  public function setResource($resource)
119  {
120    $this->resource = $resource;
121  }
122  /**
123   * @return string
124   */
125  public function getResource()
126  {
127    return $this->resource;
128  }
129  /**
130   * @param string
131   */
132  public function setResourceType($resourceType)
133  {
134    $this->resourceType = $resourceType;
135  }
136  /**
137   * @return string
138   */
139  public function getResourceType()
140  {
141    return $this->resourceType;
142  }
143  /**
144   * @param string
145   */
146  public function setSourcePath($sourcePath)
147  {
148    $this->sourcePath = $sourcePath;
149  }
150  /**
151   * @return string
152   */
153  public function getSourcePath()
154  {
155    return $this->sourcePath;
156  }
157  /**
158   * @param string
159   */
160  public function setSourceResource($sourceResource)
161  {
162    $this->sourceResource = $sourceResource;
163  }
164  /**
165   * @return string
166   */
167  public function getSourceResource()
168  {
169    return $this->sourceResource;
170  }
171  /**
172   * @param array
173   */
174  public function setValue($value)
175  {
176    $this->value = $value;
177  }
178  /**
179   * @return array
180   */
181  public function getValue()
182  {
183    return $this->value;
184  }
185  /**
186   * @param GoogleCloudRecommenderV1ValueMatcher
187   */
188  public function setValueMatcher(GoogleCloudRecommenderV1ValueMatcher $valueMatcher)
189  {
190    $this->valueMatcher = $valueMatcher;
191  }
192  /**
193   * @return GoogleCloudRecommenderV1ValueMatcher
194   */
195  public function getValueMatcher()
196  {
197    return $this->valueMatcher;
198  }
199}
200
201// Adding a class alias for backwards compatibility with the previous class name.
202class_alias(GoogleCloudRecommenderV1Operation::class, 'Google_Service_Recommender_GoogleCloudRecommenderV1Operation');
203