Skip to content

Commit f4d48d0

Browse files
1 parent ab10510 commit f4d48d0

2 files changed

Lines changed: 203 additions & 0 deletions

File tree

Lines changed: 136 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,136 @@
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\TravelImpactModel;
19+
20+
class McpToolDataHandlingProfile extends \Google\Model
21+
{
22+
/**
23+
* The default value. This value is unused.
24+
*/
25+
public const INPUT_DATA_ACCESS_LEVEL_DATA_ACCESS_LEVEL_UNSPECIFIED = 'DATA_ACCESS_LEVEL_UNSPECIFIED';
26+
/**
27+
* Public data.
28+
*/
29+
public const INPUT_DATA_ACCESS_LEVEL_DATA_ACCESS_LEVEL_PUBLIC = 'DATA_ACCESS_LEVEL_PUBLIC';
30+
/**
31+
* Confidential data.
32+
*/
33+
public const INPUT_DATA_ACCESS_LEVEL_DATA_ACCESS_LEVEL_CONFIDENTIAL = 'DATA_ACCESS_LEVEL_CONFIDENTIAL';
34+
/**
35+
* Need-to-know data.
36+
*/
37+
public const INPUT_DATA_ACCESS_LEVEL_DATA_ACCESS_LEVEL_NEED_TO_KNOW = 'DATA_ACCESS_LEVEL_NEED_TO_KNOW';
38+
/**
39+
* Personally Identifiable Information (PII) data.
40+
*/
41+
public const INPUT_DATA_ACCESS_LEVEL_DATA_ACCESS_LEVEL_PII = 'DATA_ACCESS_LEVEL_PII';
42+
/**
43+
* User data.
44+
*/
45+
public const INPUT_DATA_ACCESS_LEVEL_DATA_ACCESS_LEVEL_USER = 'DATA_ACCESS_LEVEL_USER';
46+
/**
47+
* The tool does not access any data.
48+
*/
49+
public const INPUT_DATA_ACCESS_LEVEL_DATA_ACCESS_LEVEL_NO_DATA_ACCESS = 'DATA_ACCESS_LEVEL_NO_DATA_ACCESS';
50+
/**
51+
* The default value. This value is unused.
52+
*/
53+
public const OUTPUT_DATA_ACCESS_LEVEL_DATA_ACCESS_LEVEL_UNSPECIFIED = 'DATA_ACCESS_LEVEL_UNSPECIFIED';
54+
/**
55+
* Public data.
56+
*/
57+
public const OUTPUT_DATA_ACCESS_LEVEL_DATA_ACCESS_LEVEL_PUBLIC = 'DATA_ACCESS_LEVEL_PUBLIC';
58+
/**
59+
* Confidential data.
60+
*/
61+
public const OUTPUT_DATA_ACCESS_LEVEL_DATA_ACCESS_LEVEL_CONFIDENTIAL = 'DATA_ACCESS_LEVEL_CONFIDENTIAL';
62+
/**
63+
* Need-to-know data.
64+
*/
65+
public const OUTPUT_DATA_ACCESS_LEVEL_DATA_ACCESS_LEVEL_NEED_TO_KNOW = 'DATA_ACCESS_LEVEL_NEED_TO_KNOW';
66+
/**
67+
* Personally Identifiable Information (PII) data.
68+
*/
69+
public const OUTPUT_DATA_ACCESS_LEVEL_DATA_ACCESS_LEVEL_PII = 'DATA_ACCESS_LEVEL_PII';
70+
/**
71+
* User data.
72+
*/
73+
public const OUTPUT_DATA_ACCESS_LEVEL_DATA_ACCESS_LEVEL_USER = 'DATA_ACCESS_LEVEL_USER';
74+
/**
75+
* The tool does not access any data.
76+
*/
77+
public const OUTPUT_DATA_ACCESS_LEVEL_DATA_ACCESS_LEVEL_NO_DATA_ACCESS = 'DATA_ACCESS_LEVEL_NO_DATA_ACCESS';
78+
/**
79+
* // The data access level of the tool's inputs.
80+
*
81+
* @var string
82+
*/
83+
public $inputDataAccessLevel;
84+
/**
85+
* The data access level of the tool's outputs.
86+
*
87+
* @var string
88+
*/
89+
public $outputDataAccessLevel;
90+
91+
/**
92+
* // The data access level of the tool's inputs.
93+
*
94+
* Accepted values: DATA_ACCESS_LEVEL_UNSPECIFIED, DATA_ACCESS_LEVEL_PUBLIC,
95+
* DATA_ACCESS_LEVEL_CONFIDENTIAL, DATA_ACCESS_LEVEL_NEED_TO_KNOW,
96+
* DATA_ACCESS_LEVEL_PII, DATA_ACCESS_LEVEL_USER,
97+
* DATA_ACCESS_LEVEL_NO_DATA_ACCESS
98+
*
99+
* @param self::INPUT_DATA_ACCESS_LEVEL_* $inputDataAccessLevel
100+
*/
101+
public function setInputDataAccessLevel($inputDataAccessLevel)
102+
{
103+
$this->inputDataAccessLevel = $inputDataAccessLevel;
104+
}
105+
/**
106+
* @return self::INPUT_DATA_ACCESS_LEVEL_*
107+
*/
108+
public function getInputDataAccessLevel()
109+
{
110+
return $this->inputDataAccessLevel;
111+
}
112+
/**
113+
* The data access level of the tool's outputs.
114+
*
115+
* Accepted values: DATA_ACCESS_LEVEL_UNSPECIFIED, DATA_ACCESS_LEVEL_PUBLIC,
116+
* DATA_ACCESS_LEVEL_CONFIDENTIAL, DATA_ACCESS_LEVEL_NEED_TO_KNOW,
117+
* DATA_ACCESS_LEVEL_PII, DATA_ACCESS_LEVEL_USER,
118+
* DATA_ACCESS_LEVEL_NO_DATA_ACCESS
119+
*
120+
* @param self::OUTPUT_DATA_ACCESS_LEVEL_* $outputDataAccessLevel
121+
*/
122+
public function setOutputDataAccessLevel($outputDataAccessLevel)
123+
{
124+
$this->outputDataAccessLevel = $outputDataAccessLevel;
125+
}
126+
/**
127+
* @return self::OUTPUT_DATA_ACCESS_LEVEL_*
128+
*/
129+
public function getOutputDataAccessLevel()
130+
{
131+
return $this->outputDataAccessLevel;
132+
}
133+
}
134+
135+
// Adding a class alias for backwards compatibility with the previous class name.
136+
class_alias(McpToolDataHandlingProfile::class, 'Google_Service_TravelImpactModel_McpToolDataHandlingProfile');
Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
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\TravelImpactModel;
19+
20+
class McpToolLifecycleProfile extends \Google\Model
21+
{
22+
/**
23+
* The default value. This value is unused.
24+
*/
25+
public const LAUNCH_STATE_LAUNCH_STATE_UNSPECIFIED = 'LAUNCH_STATE_UNSPECIFIED';
26+
/**
27+
* The tool is currently in development.
28+
*/
29+
public const LAUNCH_STATE_LAUNCH_STATE_DEVELOPMENT = 'LAUNCH_STATE_DEVELOPMENT';
30+
/**
31+
* The tool is in production preview.
32+
*/
33+
public const LAUNCH_STATE_LAUNCH_STATE_PRODUCTION_PREVIEW = 'LAUNCH_STATE_PRODUCTION_PREVIEW';
34+
/**
35+
* The tool is generally available.
36+
*/
37+
public const LAUNCH_STATE_LAUNCH_STATE_GENERAL_AVAILABILITY = 'LAUNCH_STATE_GENERAL_AVAILABILITY';
38+
/**
39+
* Output only. The current launch state of the MCP tool.
40+
*
41+
* @var string
42+
*/
43+
public $launchState;
44+
45+
/**
46+
* Output only. The current launch state of the MCP tool.
47+
*
48+
* Accepted values: LAUNCH_STATE_UNSPECIFIED, LAUNCH_STATE_DEVELOPMENT,
49+
* LAUNCH_STATE_PRODUCTION_PREVIEW, LAUNCH_STATE_GENERAL_AVAILABILITY
50+
*
51+
* @param self::LAUNCH_STATE_* $launchState
52+
*/
53+
public function setLaunchState($launchState)
54+
{
55+
$this->launchState = $launchState;
56+
}
57+
/**
58+
* @return self::LAUNCH_STATE_*
59+
*/
60+
public function getLaunchState()
61+
{
62+
return $this->launchState;
63+
}
64+
}
65+
66+
// Adding a class alias for backwards compatibility with the previous class name.
67+
class_alias(McpToolLifecycleProfile::class, 'Google_Service_TravelImpactModel_McpToolLifecycleProfile');

0 commit comments

Comments
 (0)