Skip to content

Commit b0ad259

Browse files
1 parent afe8ef4 commit b0ad259

File tree

1 file changed

+41
-0
lines changed

1 file changed

+41
-0
lines changed

src/DLP/GooglePrivacyDlpV2InfoTypeDescription.php

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,22 @@
1919

2020
class GooglePrivacyDlpV2InfoTypeDescription extends \Google\Collection
2121
{
22+
/**
23+
* Unspecified.
24+
*/
25+
public const LAUNCH_STATUS_INFO_TYPE_LAUNCH_STATUS_UNSPECIFIED = 'INFO_TYPE_LAUNCH_STATUS_UNSPECIFIED';
26+
/**
27+
* InfoType is generally available.
28+
*/
29+
public const LAUNCH_STATUS_GENERAL_AVAILABILITY = 'GENERAL_AVAILABILITY';
30+
/**
31+
* InfoType is in public preview.
32+
*/
33+
public const LAUNCH_STATUS_PUBLIC_PREVIEW = 'PUBLIC_PREVIEW';
34+
/**
35+
* InfoType is in private preview.
36+
*/
37+
public const LAUNCH_STATUS_PRIVATE_PREVIEW = 'PRIVATE_PREVIEW';
2238
protected $collection_key = 'versions';
2339
protected $categoriesType = GooglePrivacyDlpV2InfoTypeCategory::class;
2440
protected $categoriesDataType = 'array';
@@ -41,6 +57,12 @@ class GooglePrivacyDlpV2InfoTypeDescription extends \Google\Collection
4157
* @var string
4258
*/
4359
public $example;
60+
/**
61+
* The launch status of the infoType.
62+
*
63+
* @var string
64+
*/
65+
public $launchStatus;
4466
protected $locationSupportType = GooglePrivacyDlpV2LocationSupport::class;
4567
protected $locationSupportDataType = '';
4668
/**
@@ -135,6 +157,25 @@ public function getExample()
135157
{
136158
return $this->example;
137159
}
160+
/**
161+
* The launch status of the infoType.
162+
*
163+
* Accepted values: INFO_TYPE_LAUNCH_STATUS_UNSPECIFIED, GENERAL_AVAILABILITY,
164+
* PUBLIC_PREVIEW, PRIVATE_PREVIEW
165+
*
166+
* @param self::LAUNCH_STATUS_* $launchStatus
167+
*/
168+
public function setLaunchStatus($launchStatus)
169+
{
170+
$this->launchStatus = $launchStatus;
171+
}
172+
/**
173+
* @return self::LAUNCH_STATUS_*
174+
*/
175+
public function getLaunchStatus()
176+
{
177+
return $this->launchStatus;
178+
}
138179
/**
139180
* Locations at which this feature can be used. May change over time.
140181
*

0 commit comments

Comments
 (0)