File tree 2 files changed +38
-1
lines changed 2 files changed +38
-1
lines changed Original file line number Diff line number Diff line change 17
17
18
18
namespace Google \Service \Connectors ;
19
19
20
- class AuthCodeData extends \Google \Model
20
+ class AuthCodeData extends \Google \Collection
21
21
{
22
+ protected $ collection_key = 'scopes ' ;
22
23
/**
23
24
* @var string
24
25
*/
@@ -31,6 +32,10 @@ class AuthCodeData extends \Google\Model
31
32
* @var string
32
33
*/
33
34
public $ redirectUri ;
35
+ /**
36
+ * @var string[]
37
+ */
38
+ public $ scopes ;
34
39
35
40
/**
36
41
* @param string
@@ -74,6 +79,20 @@ public function getRedirectUri()
74
79
{
75
80
return $ this ->redirectUri ;
76
81
}
82
+ /**
83
+ * @param string[]
84
+ */
85
+ public function setScopes ($ scopes )
86
+ {
87
+ $ this ->scopes = $ scopes ;
88
+ }
89
+ /**
90
+ * @return string[]
91
+ */
92
+ public function getScopes ()
93
+ {
94
+ return $ this ->scopes ;
95
+ }
77
96
}
78
97
79
98
// Adding a class alias for backwards compatibility with the previous class name.
Original file line number Diff line number Diff line change @@ -24,6 +24,10 @@ class Instance extends \Google\Collection
24
24
* @var string
25
25
*/
26
26
public $ consumerDefinedName ;
27
+ /**
28
+ * @var string
29
+ */
30
+ public $ consumerProjectNumber ;
27
31
/**
28
32
* @var string
29
33
*/
@@ -93,6 +97,20 @@ public function getConsumerDefinedName()
93
97
{
94
98
return $ this ->consumerDefinedName ;
95
99
}
100
+ /**
101
+ * @param string
102
+ */
103
+ public function setConsumerProjectNumber ($ consumerProjectNumber )
104
+ {
105
+ $ this ->consumerProjectNumber = $ consumerProjectNumber ;
106
+ }
107
+ /**
108
+ * @return string
109
+ */
110
+ public function getConsumerProjectNumber ()
111
+ {
112
+ return $ this ->consumerProjectNumber ;
113
+ }
96
114
/**
97
115
* @param string
98
116
*/
You can’t perform that action at this time.
0 commit comments