source: vendor/google/apiclient-services/src/PolicySimulator/GoogleCloudPolicysimulatorV1ReplayResult.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.9 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\PolicySimulator;
19
20class GoogleCloudPolicysimulatorV1ReplayResult extends \Google\Model
21{
22 protected $accessTupleType = GoogleCloudPolicysimulatorV1AccessTuple::class;
23 protected $accessTupleDataType = '';
24 protected $diffType = GoogleCloudPolicysimulatorV1ReplayDiff::class;
25 protected $diffDataType = '';
26 protected $errorType = GoogleRpcStatus::class;
27 protected $errorDataType = '';
28 protected $lastSeenDateType = GoogleTypeDate::class;
29 protected $lastSeenDateDataType = '';
30 /**
31 * @var string
32 */
33 public $name;
34 /**
35 * @var string
36 */
37 public $parent;
38
39 /**
40 * @param GoogleCloudPolicysimulatorV1AccessTuple
41 */
42 public function setAccessTuple(GoogleCloudPolicysimulatorV1AccessTuple $accessTuple)
43 {
44 $this->accessTuple = $accessTuple;
45 }
46 /**
47 * @return GoogleCloudPolicysimulatorV1AccessTuple
48 */
49 public function getAccessTuple()
50 {
51 return $this->accessTuple;
52 }
53 /**
54 * @param GoogleCloudPolicysimulatorV1ReplayDiff
55 */
56 public function setDiff(GoogleCloudPolicysimulatorV1ReplayDiff $diff)
57 {
58 $this->diff = $diff;
59 }
60 /**
61 * @return GoogleCloudPolicysimulatorV1ReplayDiff
62 */
63 public function getDiff()
64 {
65 return $this->diff;
66 }
67 /**
68 * @param GoogleRpcStatus
69 */
70 public function setError(GoogleRpcStatus $error)
71 {
72 $this->error = $error;
73 }
74 /**
75 * @return GoogleRpcStatus
76 */
77 public function getError()
78 {
79 return $this->error;
80 }
81 /**
82 * @param GoogleTypeDate
83 */
84 public function setLastSeenDate(GoogleTypeDate $lastSeenDate)
85 {
86 $this->lastSeenDate = $lastSeenDate;
87 }
88 /**
89 * @return GoogleTypeDate
90 */
91 public function getLastSeenDate()
92 {
93 return $this->lastSeenDate;
94 }
95 /**
96 * @param string
97 */
98 public function setName($name)
99 {
100 $this->name = $name;
101 }
102 /**
103 * @return string
104 */
105 public function getName()
106 {
107 return $this->name;
108 }
109 /**
110 * @param string
111 */
112 public function setParent($parent)
113 {
114 $this->parent = $parent;
115 }
116 /**
117 * @return string
118 */
119 public function getParent()
120 {
121 return $this->parent;
122 }
123}
124
125// Adding a class alias for backwards compatibility with the previous class name.
126class_alias(GoogleCloudPolicysimulatorV1ReplayResult::class, 'Google_Service_PolicySimulator_GoogleCloudPolicysimulatorV1ReplayResult');
Note: See TracBrowser for help on using the repository browser.