mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-03 09:49:28 +02:00
Update
This commit is contained in:
parent
7b1f1b00fa
commit
1fe791261a
289 changed files with 9403 additions and 1842 deletions
2
composer.lock
generated
2
composer.lock
generated
|
@ -6610,5 +6610,5 @@
|
|||
"platform-overrides": {
|
||||
"php": "8"
|
||||
},
|
||||
"plugin-api-version": "2.6.0"
|
||||
"plugin-api-version": "2.3.0"
|
||||
}
|
||||
|
|
|
@ -194,7 +194,7 @@ function cleanString($text)
|
|||
if (empty($text)) {
|
||||
return '';
|
||||
}
|
||||
if(!is_string($text)){
|
||||
if (!is_string($text)) {
|
||||
return $text;
|
||||
}
|
||||
$utf8 = [
|
||||
|
@ -222,22 +222,83 @@ function cleanString($text)
|
|||
'/[’‘‹›‚]/u' => ' ', // Literally a single quote
|
||||
'/[“”«»„]/u' => ' ', // Double quote
|
||||
'/ /' => ' ', // nonbreaking space (equiv. to 0x160)
|
||||
'/Є/' => 'YE', '/І/' => 'I', '/Ѓ/' => 'G', '/і/' => 'i', '/№/' => '#', '/є/' => 'ye', '/ѓ/' => 'g',
|
||||
'/А/' => 'A', '/Б/' => 'B', '/В/' => 'V', '/Г/' => 'G', '/Д/' => 'D',
|
||||
'/Е/' => 'E', '/Ё/' => 'YO', '/Ж/' => 'ZH',
|
||||
'/З/' => 'Z', '/И/' => 'I', '/Й/' => 'J', '/К/' => 'K', '/Л/' => 'L',
|
||||
'/М/' => 'M', '/Н/' => 'N', '/О/' => 'O', '/П/' => 'P', '/Р/' => 'R',
|
||||
'/С/' => 'S', '/Т/' => 'T', '/У/' => 'U', '/Ф/' => 'F', '/Х/' => 'H',
|
||||
'/Ц/' => 'C', '/Ч/' => 'CH', '/Ш/' => 'SH', '/Щ/' => 'SHH', '/Ъ/' => '',
|
||||
'/Ы/' => 'Y', '/Ь/' => '', '/Э/' => 'E', '/Ю/' => 'YU', '/Я/' => 'YA',
|
||||
'/а/' => 'a', '/б/' => 'b', '/в/' => 'v', '/г/' => 'g', '/д/' => 'd',
|
||||
'/е/' => 'e', '/ё/' => 'yo', '/ж/' => 'zh',
|
||||
'/з/' => 'z', '/и/' => 'i', '/й/' => 'j', '/к/' => 'k', '/л/' => 'l',
|
||||
'/м/' => 'm', '/н/' => 'n', '/о/' => 'o', '/п/' => 'p', '/р/' => 'r',
|
||||
'/с/' => 's', '/т/' => 't', '/у/' => 'u', '/ф/' => 'f', '/х/' => 'h',
|
||||
'/ц/' => 'c', '/ч/' => 'ch', '/ш/' => 'sh', '/щ/' => 'shh', '/ъ/' => '',
|
||||
'/ы/' => 'y', '/ь/' => '', '/э/' => 'e', '/ю/' => 'yu', '/я/' => 'ya',
|
||||
'/—/' => '-', '/«/' => '', '/»/' => '', '/…/' => '',
|
||||
'/Є/' => 'YE',
|
||||
'/І/' => 'I',
|
||||
'/Ѓ/' => 'G',
|
||||
'/і/' => 'i',
|
||||
'/№/' => '#',
|
||||
'/є/' => 'ye',
|
||||
'/ѓ/' => 'g',
|
||||
'/А/' => 'A',
|
||||
'/Б/' => 'B',
|
||||
'/В/' => 'V',
|
||||
'/Г/' => 'G',
|
||||
'/Д/' => 'D',
|
||||
'/Е/' => 'E',
|
||||
'/Ё/' => 'YO',
|
||||
'/Ж/' => 'ZH',
|
||||
'/З/' => 'Z',
|
||||
'/И/' => 'I',
|
||||
'/Й/' => 'J',
|
||||
'/К/' => 'K',
|
||||
'/Л/' => 'L',
|
||||
'/М/' => 'M',
|
||||
'/Н/' => 'N',
|
||||
'/О/' => 'O',
|
||||
'/П/' => 'P',
|
||||
'/Р/' => 'R',
|
||||
'/С/' => 'S',
|
||||
'/Т/' => 'T',
|
||||
'/У/' => 'U',
|
||||
'/Ф/' => 'F',
|
||||
'/Х/' => 'H',
|
||||
'/Ц/' => 'C',
|
||||
'/Ч/' => 'CH',
|
||||
'/Ш/' => 'SH',
|
||||
'/Щ/' => 'SHH',
|
||||
'/Ъ/' => '',
|
||||
'/Ы/' => 'Y',
|
||||
'/Ь/' => '',
|
||||
'/Э/' => 'E',
|
||||
'/Ю/' => 'YU',
|
||||
'/Я/' => 'YA',
|
||||
'/а/' => 'a',
|
||||
'/б/' => 'b',
|
||||
'/в/' => 'v',
|
||||
'/г/' => 'g',
|
||||
'/д/' => 'd',
|
||||
'/е/' => 'e',
|
||||
'/ё/' => 'yo',
|
||||
'/ж/' => 'zh',
|
||||
'/з/' => 'z',
|
||||
'/и/' => 'i',
|
||||
'/й/' => 'j',
|
||||
'/к/' => 'k',
|
||||
'/л/' => 'l',
|
||||
'/м/' => 'm',
|
||||
'/н/' => 'n',
|
||||
'/о/' => 'o',
|
||||
'/п/' => 'p',
|
||||
'/р/' => 'r',
|
||||
'/с/' => 's',
|
||||
'/т/' => 't',
|
||||
'/у/' => 'u',
|
||||
'/ф/' => 'f',
|
||||
'/х/' => 'h',
|
||||
'/ц/' => 'c',
|
||||
'/ч/' => 'ch',
|
||||
'/ш/' => 'sh',
|
||||
'/щ/' => 'shh',
|
||||
'/ъ/' => '',
|
||||
'/ы/' => 'y',
|
||||
'/ь/' => '',
|
||||
'/э/' => 'e',
|
||||
'/ю/' => 'yu',
|
||||
'/я/' => 'ya',
|
||||
'/—/' => '-',
|
||||
'/«/' => '',
|
||||
'/»/' => '',
|
||||
'/…/' => '',
|
||||
];
|
||||
return preg_replace(array_keys($utf8), array_values($utf8), $text);
|
||||
}
|
||||
|
@ -281,7 +342,7 @@ function safeString($text, $strict = false, $try = 0)
|
|||
|
||||
function cleanURLName($name, $replaceChar = '-')
|
||||
{
|
||||
if(!is_string($name)){
|
||||
if (!is_string($name)) {
|
||||
return $name;
|
||||
}
|
||||
$name = preg_replace('/[!#$&\'()*+,\\/:;=?@[\\]%"\/\\\\ ]+/', $replaceChar, trim(mb_strtolower(cleanString($name))));
|
||||
|
@ -738,7 +799,7 @@ function getVideosURLPDF($fileName)
|
|||
'url' => $source['url'],
|
||||
'type' => 'pdf',
|
||||
];
|
||||
$files = array_merge($files, array('jpg'=>ImagesPlaceHolders::getPdfLandscape(ImagesPlaceHolders::$RETURN_ARRAY)));
|
||||
$files = array_merge($files, array('jpg' => ImagesPlaceHolders::getPdfLandscape(ImagesPlaceHolders::$RETURN_ARRAY)));
|
||||
$time = microtime();
|
||||
$time = explode(' ', $time);
|
||||
$time = $time[1] + $time[0];
|
||||
|
@ -771,12 +832,12 @@ function getVideosURLIMAGE($fileName)
|
|||
'type' => 'image',
|
||||
];
|
||||
if (file_exists($file)) {
|
||||
$files = array_merge($files, array('jpg'=>$files["image"]));
|
||||
$files = array_merge($files, array('jpg' => $files["image"]));
|
||||
break;
|
||||
}
|
||||
}
|
||||
if(empty($files["jpg"])){
|
||||
$files = array_merge($files, array('jpg'=>ImagesPlaceHolders::getImageLandscape(ImagesPlaceHolders::$RETURN_ARRAY)));
|
||||
if (empty($files["jpg"])) {
|
||||
$files = array_merge($files, array('jpg' => ImagesPlaceHolders::getImageLandscape(ImagesPlaceHolders::$RETURN_ARRAY)));
|
||||
}
|
||||
$time = microtime();
|
||||
$time = explode(' ', $time);
|
||||
|
@ -814,7 +875,7 @@ function getVideosURLZIP($fileName)
|
|||
}
|
||||
}
|
||||
|
||||
$files = array_merge($files, array('jpg'=>ImagesPlaceHolders::getZipLandscape(ImagesPlaceHolders::$RETURN_ARRAY)));
|
||||
$files = array_merge($files, array('jpg' => ImagesPlaceHolders::getZipLandscape(ImagesPlaceHolders::$RETURN_ARRAY)));
|
||||
$time = microtime();
|
||||
$time = explode(' ', $time);
|
||||
$time = $time[1] + $time[0];
|
||||
|
@ -834,7 +895,7 @@ function getVideosURLArticle($fileName)
|
|||
$time = explode(' ', $time);
|
||||
$time = $time[1] + $time[0];
|
||||
$start = $time;
|
||||
$files = array('jpg'=>ImagesPlaceHolders::getArticlesLandscape(ImagesPlaceHolders::$RETURN_ARRAY));
|
||||
$files = array('jpg' => ImagesPlaceHolders::getArticlesLandscape(ImagesPlaceHolders::$RETURN_ARRAY));
|
||||
$time = microtime();
|
||||
$time = explode(' ', $time);
|
||||
$time = $time[1] + $time[0];
|
||||
|
@ -888,7 +949,7 @@ function getVideosURLAudio($fileName, $fileNameisThePath = false)
|
|||
];
|
||||
}
|
||||
|
||||
$files = array_merge($files, array('jpg'=>ImagesPlaceHolders::getAudioLandscape(ImagesPlaceHolders::$RETURN_ARRAY)));
|
||||
$files = array_merge($files, array('jpg' => ImagesPlaceHolders::getAudioLandscape(ImagesPlaceHolders::$RETURN_ARRAY)));
|
||||
$time = microtime();
|
||||
$time = explode(' ', $time);
|
||||
$time = $time[1] + $time[0];
|
||||
|
@ -994,7 +1055,8 @@ function getAudioOrVideoURLOnly($fileName, $recreateCache = false)
|
|||
return $allFiles;
|
||||
}
|
||||
|
||||
function getVideos_IdFromFilename($fileName){
|
||||
function getVideos_IdFromFilename($fileName)
|
||||
{
|
||||
$cleanfilename = Video::getCleanFilenameFromFile($fileName);
|
||||
$video = Video::getVideoFromFileNameLight($cleanfilename);
|
||||
return $video['id'];
|
||||
|
@ -1070,7 +1132,7 @@ function getVideosURL_V2($fileName, $recreateCache = false, $checkFiles = true)
|
|||
$timeName = "getVideosURL_V2::VideoHLS::getSourceFile($fileName)";
|
||||
TimeLogStart($timeName);
|
||||
$files = VideoHLS::getSourceFile($fileName, true);
|
||||
if(!is_array($files)){
|
||||
if (!is_array($files)) {
|
||||
$files = [];
|
||||
}
|
||||
TimeLogEnd($timeName, __LINE__);
|
||||
|
@ -1192,7 +1254,7 @@ function getVideosURL_V2($fileName, $recreateCache = false, $checkFiles = true)
|
|||
if (empty($files) || empty($files['jpg'])) {
|
||||
// sort by resolution
|
||||
$files['jpg'] = ImagesPlaceHolders::getVideoPlaceholder(ImagesPlaceHolders::$RETURN_ARRAY);
|
||||
}else
|
||||
} else
|
||||
if (is_array($files)) {
|
||||
// sort by resolution
|
||||
uasort($files, "sortVideosURL");
|
||||
|
@ -1201,12 +1263,12 @@ function getVideosURL_V2($fileName, $recreateCache = false, $checkFiles = true)
|
|||
return $getVideosURL_V2Array[$cleanfilename];
|
||||
}
|
||||
|
||||
function checkIfFilesAreValid($files){
|
||||
function checkIfFilesAreValid($files)
|
||||
{
|
||||
foreach ($files as $value) {
|
||||
if(($value['type'] == 'video' || $value['type'] == 'audio') && @filesize($value['path'])<20){
|
||||
if (($value['type'] == 'video' || $value['type'] == 'audio') && @filesize($value['path']) < 20) {
|
||||
$video = Video::getVideoFromFileNameLight($value['filename']);
|
||||
Video::clearCache($video['id']);
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -1329,7 +1391,7 @@ function getSources($fileName, $returnArray = false, $try = 0)
|
|||
$obj->res = 0;
|
||||
$sourcesArray["mp4"] = $obj;
|
||||
$sources["mp4"] = "<source src=\"\" type=\"{$obj->type}\" label=\"{$obj->label}\" res=\"{$obj->res}\">";
|
||||
$return = $returnArray ? $sourcesArray : PHP_EOL.implode(PHP_EOL, $sources).PHP_EOL;
|
||||
$return = $returnArray ? $sourcesArray : PHP_EOL . implode(PHP_EOL, $sources) . PHP_EOL;
|
||||
}
|
||||
}
|
||||
return $return;
|
||||
|
@ -1606,7 +1668,7 @@ function isValidM3U8Link($url, $skipFileNameCheck = false, $timeout = 3)
|
|||
return false;
|
||||
}
|
||||
if (preg_match('/.m3u8$/i', $url)) {
|
||||
if(empty($skipFileNameCheck) ){
|
||||
if (empty($skipFileNameCheck)) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
@ -1761,7 +1823,7 @@ function url_get_contents($url, $ctx = "", $timeout = 0, $debug = false, $mantai
|
|||
try {
|
||||
if ($debug) {
|
||||
$tmp = file_get_contents($url, false, $context);
|
||||
}else{
|
||||
} else {
|
||||
$tmp = @file_get_contents($url, false, $context);
|
||||
}
|
||||
if ($tmp !== false) {
|
||||
|
@ -1774,7 +1836,7 @@ function url_get_contents($url, $ctx = "", $timeout = 0, $debug = false, $mantai
|
|||
}
|
||||
if ($debug) {
|
||||
$error = error_get_last();
|
||||
_error_log("url_get_contents: ERROR file_get_contents($url) ".json_encode($error));
|
||||
_error_log("url_get_contents: ERROR file_get_contents($url) " . json_encode($error));
|
||||
}
|
||||
} catch (ErrorException $e) {
|
||||
if ($debug) {
|
||||
|
@ -2058,10 +2120,11 @@ function removeQueryStringParameter($url, $varname)
|
|||
$port = ":{$parsedUrl['port']}";
|
||||
}
|
||||
$query = fixURLQuery($query);
|
||||
return $scheme . '//' . $parsedUrl['host']. $port . $path . $query;
|
||||
return $scheme . '//' . $parsedUrl['host'] . $port . $path . $query;
|
||||
}
|
||||
|
||||
function isParamInUrl($url, $paramName) {
|
||||
function isParamInUrl($url, $paramName)
|
||||
{
|
||||
// Parse the URL and return its components
|
||||
$urlComponents = parse_url($url);
|
||||
|
||||
|
@ -2134,7 +2197,8 @@ function addQueryStringParameter($url, $varname, $value)
|
|||
return $scheme . '//' . $parsedUrl['host'] . $port . $path . $query;
|
||||
}
|
||||
|
||||
function fixURLQuery($query){
|
||||
function fixURLQuery($query)
|
||||
{
|
||||
return str_replace(array('%5B', '%5D'), array('[', ']'), $query);
|
||||
}
|
||||
|
||||
|
@ -2201,13 +2265,13 @@ function getPorts()
|
|||
$ports = array();
|
||||
$ports[80] = 'Apache http';
|
||||
$ports[443] = 'Apache https';
|
||||
if(AVideoPlugin::isEnabledByName('Live')){
|
||||
if (AVideoPlugin::isEnabledByName('Live')) {
|
||||
$ports[8080] = 'NGINX http';
|
||||
$ports[8443] = 'NGINX https';
|
||||
$ports[1935] = 'RTMP';
|
||||
}
|
||||
|
||||
if($obj = AVideoPlugin::getDataObjectIfEnabled('YPTSocket')){
|
||||
if ($obj = AVideoPlugin::getDataObjectIfEnabled('YPTSocket')) {
|
||||
$ports[$obj->port] = 'Socket';
|
||||
}
|
||||
return $ports;
|
||||
|
@ -2221,7 +2285,7 @@ function checkPorts()
|
|||
$ports[] = $key;
|
||||
}
|
||||
//postVariables($url, $array, $httpcodeOnly = true, $timeout = 10)
|
||||
$response = postVariables('https://search.ypt.me/checkPorts.json.php', $ports, false, count($ports)*4);
|
||||
$response = postVariables('https://search.ypt.me/checkPorts.json.php', $ports, false, count($ports) * 4);
|
||||
return $response;
|
||||
}
|
||||
|
||||
|
@ -2346,13 +2410,13 @@ function siteMap()
|
|||
_error_log("siteMap: getAllVideos total={$total}");
|
||||
|
||||
$descriptionLimit = 2048;
|
||||
if($total>2000){
|
||||
if ($total > 2000) {
|
||||
$descriptionLimit = 128;
|
||||
}else if($total>1000){
|
||||
} else if ($total > 1000) {
|
||||
$descriptionLimit = 256;
|
||||
}else if($total>500){
|
||||
} else if ($total > 500) {
|
||||
$descriptionLimit = 512;
|
||||
}else if($total>200){
|
||||
} else if ($total > 200) {
|
||||
$descriptionLimit = 1024;
|
||||
}
|
||||
foreach ($rows as $video) {
|
||||
|
@ -2458,13 +2522,13 @@ function object_to_array($obj, $level = 0)
|
|||
$ret = (array) $obj;
|
||||
foreach ($ret as &$item) {
|
||||
//recursively process EACH element regardless of type
|
||||
$item = object_to_array($item, $level +1);
|
||||
$item = object_to_array($item, $level + 1);
|
||||
}
|
||||
return $ret;
|
||||
}
|
||||
//otherwise (i.e. for scalar values) return without modification
|
||||
else {
|
||||
if(empty($level) && empty($obj)){
|
||||
if (empty($level) && empty($obj)) {
|
||||
$obj = array();
|
||||
}
|
||||
return $obj;
|
||||
|
@ -2700,26 +2764,26 @@ function ogSite()
|
|||
global $global, $config, $advancedCustom;
|
||||
$videos_id = getVideos_id();
|
||||
include_once $global['systemRootPath'] . 'objects/functionsOpenGraph.php';
|
||||
if(empty($videos_id)){
|
||||
if (empty($videos_id)) {
|
||||
$isLive = isLive(true);
|
||||
//var_dump($isLive);exit;
|
||||
if(!empty($isLive) && !empty($isLive['liveLink'])){
|
||||
if (!empty($isLive) && !empty($isLive['liveLink'])) {
|
||||
echo getOpenGraphLiveLink($isLive['liveLink']);
|
||||
}else if(!empty($isLive) && !empty($isLive['live_schedule'])){
|
||||
} else if (!empty($isLive) && !empty($isLive['live_schedule'])) {
|
||||
echo getOpenGraphLiveSchedule($isLive['live_schedule']);
|
||||
}else if(!empty($isLive) && !empty($isLive['cleanKey'])){
|
||||
} else if (!empty($isLive) && !empty($isLive['cleanKey'])) {
|
||||
echo getOpenGraphLive();
|
||||
}else if ($users_id = isChannel()) {
|
||||
} else if ($users_id = isChannel()) {
|
||||
echo getOpenGraphChannel($users_id);
|
||||
}else if(!empty($_REQUEST['catName'])){
|
||||
} else if (!empty($_REQUEST['catName'])) {
|
||||
$category = Category::getCategoryByName($_REQUEST['catName']);
|
||||
echo getOpenGraphCategory($category['id']);
|
||||
}else if(!empty($_REQUEST['tags_id']) && class_exists('Tags') && class_exists('VideoTags')){
|
||||
} else if (!empty($_REQUEST['tags_id']) && class_exists('Tags') && class_exists('VideoTags')) {
|
||||
echo getOpenGraphTag($_REQUEST['tags_id']);
|
||||
}else{
|
||||
} else {
|
||||
echo getOpenGraphSite();
|
||||
}
|
||||
}else{
|
||||
} else {
|
||||
echo getOpenGraphVideo($videos_id);
|
||||
}
|
||||
}
|
||||
|
@ -2792,9 +2856,9 @@ function getLdJson($videos_id)
|
|||
)
|
||||
)
|
||||
);
|
||||
if(AVideoPlugin::isEnabledByName('Bookmark')){
|
||||
if (AVideoPlugin::isEnabledByName('Bookmark')) {
|
||||
$chapters = Bookmark::generateChaptersJSONLD($videos_id);
|
||||
if(!empty($chapters)){
|
||||
if (!empty($chapters)) {
|
||||
$data['videoChapter'] = $chapters;
|
||||
}
|
||||
}
|
||||
|
@ -2873,7 +2937,7 @@ function postVariables($url, $array, $httpcodeOnly = true, $timeout = 10)
|
|||
// execute!
|
||||
$response = curl_exec($ch);
|
||||
|
||||
if(!$response){
|
||||
if (!$response) {
|
||||
$error_msg = curl_error($ch);
|
||||
$error_num = curl_errno($ch);
|
||||
_error_log("postVariables: {$url} [$error_num] - $error_msg");
|
||||
|
@ -2963,7 +3027,7 @@ function clearCache($firstPageOnly = false)
|
|||
return false;
|
||||
}
|
||||
$start = microtime(true);
|
||||
_error_log('clearCache starts '.$firstPageOnly);
|
||||
_error_log('clearCache starts ' . $firstPageOnly);
|
||||
file_put_contents($lockFile, time());
|
||||
|
||||
$dir = getVideosDir() . "cache" . DIRECTORY_SEPARATOR;
|
||||
|
@ -2989,7 +3053,7 @@ function clearCache($firstPageOnly = false)
|
|||
}
|
||||
ObjectYPT::deleteCache("getEncoderURL");
|
||||
ObjectYPT::deleteAllSessionCache();
|
||||
if(class_exists('Live')){
|
||||
if (class_exists('Live')) {
|
||||
Live::checkAllFromStats();
|
||||
}
|
||||
unlink($lockFile);
|
||||
|
@ -3028,10 +3092,10 @@ function encrypt_decrypt($string, $action, $useOldSalt = false)
|
|||
if (empty($secret_iv)) {
|
||||
$secret_iv = '1234567890abcdef';
|
||||
}
|
||||
if($useOldSalt){
|
||||
if ($useOldSalt) {
|
||||
$salt = $global['salt'];
|
||||
}else{
|
||||
$salt = empty($global['saltV2'])?$global['salt']:$global['saltV2'];
|
||||
} else {
|
||||
$salt = empty($global['saltV2']) ? $global['salt'] : $global['saltV2'];
|
||||
}
|
||||
// hash
|
||||
$key = hash('sha256', $salt);
|
||||
|
@ -3044,7 +3108,7 @@ function encrypt_decrypt($string, $action, $useOldSalt = false)
|
|||
$output = base64_encode($output);
|
||||
} elseif ($action == 'decrypt') {
|
||||
$output = openssl_decrypt(base64_decode($string), $encrypt_method, $key, 0, $iv);
|
||||
if(empty($output) && $useOldSalt === false){
|
||||
if (empty($output) && $useOldSalt === false) {
|
||||
return encrypt_decrypt($string, $action, true);
|
||||
}
|
||||
}
|
||||
|
@ -3267,7 +3331,7 @@ function isWebRTC()
|
|||
return !empty($isWebRTC);
|
||||
}
|
||||
|
||||
function isLive($forceGetInfo=false)
|
||||
function isLive($forceGetInfo = false)
|
||||
{
|
||||
global $isLive, $global;
|
||||
if (empty($forceGetInfo) && !empty($global['doNotLoadPlayer'])) {
|
||||
|
@ -3449,7 +3513,7 @@ function getSelfURI()
|
|||
$url = rtrim($url, '?');
|
||||
|
||||
preg_match('/view\/modeYoutube.php\?v=([^&]+)/', $url, $matches);
|
||||
if(!empty($matches[1])){
|
||||
if (!empty($matches[1])) {
|
||||
$url = "{$global['webSiteRootURL']}video/{$matches[1]}";
|
||||
}
|
||||
return fixTestURL($url);
|
||||
|
@ -3473,7 +3537,7 @@ function URLsAreSameVideo($url1, $url2)
|
|||
function getVideos_id($returnPlaylistVideosIDIfIsSerie = false)
|
||||
{
|
||||
global $_getVideos_id, $global;
|
||||
if(!empty($global['isForbidden'])){
|
||||
if (!empty($global['isForbidden'])) {
|
||||
return 0;
|
||||
}
|
||||
$videos_id = false;
|
||||
|
@ -3511,10 +3575,10 @@ function getVideos_id($returnPlaylistVideosIDIfIsSerie = false)
|
|||
$plp = new PlayListPlayer(@$_REQUEST['playlists_id'], @$_REQUEST['tags_id'], true);
|
||||
|
||||
if (!$plp->canSee()) {
|
||||
forbiddenPage(_('You cannot see this playlist').' '.basename(__FILE__).' '.implode(', ', $plp->canNotSeeReason()));
|
||||
forbiddenPage(_('You cannot see this playlist') . ' ' . basename(__FILE__) . ' ' . implode(', ', $plp->canNotSeeReason()));
|
||||
}
|
||||
$video = $plp->getCurrentVideo();
|
||||
if(!empty($video)){
|
||||
if (!empty($video)) {
|
||||
$videos_id = $video['id'];
|
||||
}
|
||||
}
|
||||
|
@ -3532,25 +3596,25 @@ function getUsers_idOwnerFromRequest()
|
|||
global $isChannel;
|
||||
$videos_id = getVideos_id();
|
||||
|
||||
if(!empty($videos_id)){
|
||||
if (!empty($videos_id)) {
|
||||
$video = new Video('', '', $videos_id);
|
||||
return $video->getUsers_id();
|
||||
}
|
||||
$live = isLive();
|
||||
if(!empty($live)){
|
||||
if(!empty($live['users_id'])){
|
||||
if (!empty($live)) {
|
||||
if (!empty($live['users_id'])) {
|
||||
return $live['users_id'];
|
||||
}
|
||||
if(!empty($live['live_schedule'])){
|
||||
if (!empty($live['live_schedule'])) {
|
||||
return Live_schedule::getUsers_idOrCompany($live['live_schedule']);
|
||||
}
|
||||
if(!empty($live['key'])){
|
||||
if (!empty($live['key'])) {
|
||||
$row = LiveTransmition::keyExists($live['key']);
|
||||
return $row['users_id'];
|
||||
}
|
||||
}
|
||||
|
||||
if(!empty($isChannel) && !isVideo()) {
|
||||
if (!empty($isChannel) && !isVideo()) {
|
||||
if (!empty($_GET['channelName'])) {
|
||||
$_GET['channelName'] = xss_esc($_GET['channelName']);
|
||||
$user = User::getChannelOwner($_GET['channelName']);
|
||||
|
@ -3607,14 +3671,14 @@ function getPlayListCurrentVideosId($setVideos_id = true)
|
|||
{
|
||||
$playListData = getPlayListData();
|
||||
$playlist_index = getPlayListIndex();
|
||||
if(empty($playListData) && !empty($_REQUEST['playlist_id']) && class_exists('PlayList')){
|
||||
if (empty($playListData) && !empty($_REQUEST['playlist_id']) && class_exists('PlayList')) {
|
||||
$videosArrayId = PlayList::getVideosIdFromPlaylist($_REQUEST['playlist_id']);
|
||||
$videos_id = $videosArrayId[$playlist_index];
|
||||
}else {
|
||||
} else {
|
||||
if (empty($playListData[$playlist_index])) {
|
||||
//var_dump($playlist_index, $playListData);
|
||||
return false;
|
||||
}else{
|
||||
} else {
|
||||
$videos_id = $playListData[$playlist_index]->getVideos_id();
|
||||
}
|
||||
}
|
||||
|
@ -3894,7 +3958,7 @@ function doNOTOrganizeHTMLIfIsPagination()
|
|||
|
||||
function getCurrentPage($forceURL = false)
|
||||
{
|
||||
if($forceURL){
|
||||
if ($forceURL) {
|
||||
resetCurrentPage();
|
||||
}
|
||||
global $lastCurrent;
|
||||
|
@ -3904,7 +3968,7 @@ function getCurrentPage($forceURL = false)
|
|||
if (!empty($_REQUEST['current']) && $_REQUEST['current'] > $current) {
|
||||
$current = intval($_REQUEST['current']);
|
||||
}
|
||||
}else if (!empty($_REQUEST['current'])) {
|
||||
} else if (!empty($_REQUEST['current'])) {
|
||||
$current = intval($_REQUEST['current']);
|
||||
} elseif (!empty($_POST['current'])) {
|
||||
$current = intval($_POST['current']);
|
||||
|
@ -3927,8 +3991,8 @@ function getCurrentPage($forceURL = false)
|
|||
_error_log("getCurrentPage current>100 ERROR bot die [{$current}] " . getSelfURI() . ' ' . $_SERVER['HTTP_USER_AGENT']);
|
||||
exit;
|
||||
}
|
||||
if(isset($_GET['isInfiniteScroll'])){
|
||||
if($current < $_GET['isInfiniteScroll']){
|
||||
if (isset($_GET['isInfiniteScroll'])) {
|
||||
if ($current < $_GET['isInfiniteScroll']) {
|
||||
$current = intval($_GET['isInfiniteScroll']);
|
||||
}
|
||||
}
|
||||
|
@ -3957,7 +4021,7 @@ function getTrendingLimitDate()
|
|||
function unsetCurrentPage()
|
||||
{
|
||||
global $_currentPage;
|
||||
if(!isset($_currentPage)){
|
||||
if (!isset($_currentPage)) {
|
||||
$_currentPage = getCurrentPage();
|
||||
}
|
||||
$_REQUEST['current'] = 1;
|
||||
|
@ -3969,7 +4033,7 @@ function unsetCurrentPage()
|
|||
function resetCurrentPage()
|
||||
{
|
||||
global $_currentPage;
|
||||
if(isset($_currentPage)){
|
||||
if (isset($_currentPage)) {
|
||||
$_REQUEST['current'] = $_currentPage;
|
||||
$_POST['current'] = $_currentPage;
|
||||
$_GET['current'] = $_currentPage;
|
||||
|
@ -4072,7 +4136,7 @@ function getInputPassword($id, $attributes = 'class="form-control"', $placeholde
|
|||
if (empty($placeholder)) {
|
||||
$placeholder = __("Password");
|
||||
}
|
||||
if(!$autofill){
|
||||
if (!$autofill) {
|
||||
$attributes .= ' autocomplete="new-password" autofill="off" ';
|
||||
echo '<input type="password" name="fakepassword" id="fakepassword" style="display:none;">';
|
||||
}
|
||||
|
@ -4286,7 +4350,7 @@ function isShareEnabled()
|
|||
return empty($advancedCustom->disableShareOnly) && empty($advancedCustom->disableShareAndPlaylist);
|
||||
}
|
||||
|
||||
function getSharePopupButton($videos_id, $url = '', $title = '', $class='')
|
||||
function getSharePopupButton($videos_id, $url = '', $title = '', $class = '')
|
||||
{
|
||||
global $global, $advancedCustom;
|
||||
if (!isShareEnabled()) {
|
||||
|
@ -4490,7 +4554,7 @@ function gotToLoginAndComeBackHere($msg = '')
|
|||
setAlertMessage($msg, $type = "msg");
|
||||
$url = "{$global['webSiteRootURL']}user?redirectUri=" . urlencode(getSelfURI());
|
||||
$url = addQueryStringParameter($url, 'comebackhere', 1);
|
||||
_error_log("gotToLoginAndComeBackHere($msg) ".getRealIpAddr().' '.json_encode(debug_backtrace()));
|
||||
_error_log("gotToLoginAndComeBackHere($msg) " . getRealIpAddr() . ' ' . json_encode(debug_backtrace()));
|
||||
header("Location: {$url}");
|
||||
exit;
|
||||
}
|
||||
|
@ -4901,7 +4965,8 @@ function getTinyMCE($id, $simpleMode = false, $allowAttributes = false, $allowCS
|
|||
'simpleMode' => $simpleMode,
|
||||
'allowAttributes' => $allowAttributes,
|
||||
'allowCSS' => $allowCSS,
|
||||
'allowAllTags' => $allowAllTags]);
|
||||
'allowAllTags' => $allowAllTags
|
||||
]);
|
||||
return $contents;
|
||||
}
|
||||
|
||||
|
@ -5032,13 +5097,13 @@ function getThemesSeparated()
|
|||
$_getThemesDark = [];
|
||||
foreach (glob("{$global['systemRootPath']}view/css/custom/*.css") as $filename) {
|
||||
$fileEx = basename($filename, ".css");
|
||||
if(in_array($fileEx, AVideoConf::DARKTHEMES)){
|
||||
if (in_array($fileEx, AVideoConf::DARKTHEMES)) {
|
||||
$_getThemesDark[] = $fileEx;
|
||||
}else{
|
||||
} else {
|
||||
$_getThemesLight[] = $fileEx;
|
||||
}
|
||||
}
|
||||
return array('light'=>$_getThemesLight, 'dark'=>$_getThemesDark);
|
||||
return array('light' => $_getThemesLight, 'dark' => $_getThemesDark);
|
||||
}
|
||||
|
||||
|
||||
|
@ -5055,7 +5120,7 @@ function getCurrentTheme()
|
|||
|
||||
if (!empty($_COOKIE['themeMode'])) {
|
||||
return $config->getAlternativeTheme();
|
||||
}else{
|
||||
} else {
|
||||
return $config->getDefaultTheme();
|
||||
}
|
||||
}
|
||||
|
@ -5103,7 +5168,7 @@ function isURL200($url, $forceRecheck = false)
|
|||
//_error_log('isURL200: '.$value);
|
||||
}
|
||||
}
|
||||
if($object->result){
|
||||
if ($object->result) {
|
||||
foreach ($headers as $value) {
|
||||
if (preg_match('/Content-Length: ?([0-9]+)/', $value, $matches)) {
|
||||
$object->contentLenght = $matches[1];
|
||||
|
@ -5116,12 +5181,11 @@ function isURL200($url, $forceRecheck = false)
|
|||
|
||||
ObjectYPT::setCacheGlobal($name, json_encode($object));
|
||||
|
||||
if($object->contentLenght === null){
|
||||
if ($object->contentLenght === null) {
|
||||
return $object->result;
|
||||
}else{
|
||||
} else {
|
||||
return $object->contentLenght;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
function isURL200Clear()
|
||||
|
@ -5353,7 +5417,7 @@ function getStatsNotifications($force_recreate = false, $listItIfIsAdminOrOwner
|
|||
}
|
||||
TimeLogEnd($timeName, __LINE__);
|
||||
if ($isLiveEnabled) {
|
||||
if(!empty($_REQUEST['debug'])){
|
||||
if (!empty($_REQUEST['debug'])) {
|
||||
_error_log('getStatsNotifications: 1 ' . json_encode(debug_backtrace(DEBUG_BACKTRACE_IGNORE_ARGS)));
|
||||
}
|
||||
$json = Live::getStats();
|
||||
|
@ -5441,7 +5505,7 @@ function getStatsNotifications($force_recreate = false, $listItIfIsAdminOrOwner
|
|||
if (!$isListed) {
|
||||
$json['hidden_applications'][] = $value;
|
||||
unset($json['applications'][$key]);
|
||||
}else{
|
||||
} else {
|
||||
$json['applications'][$key]['isListed'] = $isListed;
|
||||
}
|
||||
}
|
||||
|
@ -5453,13 +5517,13 @@ function getStatsNotifications($force_recreate = false, $listItIfIsAdminOrOwner
|
|||
}
|
||||
TimeLogEnd($timeName, __LINE__);
|
||||
$json['timezone'] = date_default_timezone_get();
|
||||
if(!isset($json['error'])){
|
||||
if (!isset($json['error'])) {
|
||||
$json['error'] = false;
|
||||
}
|
||||
if(!isset($json['msg'])){
|
||||
if (!isset($json['msg'])) {
|
||||
$json['msg'] = '';
|
||||
}
|
||||
if(!isset($json['nclients'])){
|
||||
if (!isset($json['nclients'])) {
|
||||
$json['nclients'] = $json['countLiveStream'];
|
||||
}
|
||||
$__getStatsNotifications__ = $json;
|
||||
|
@ -5533,7 +5597,7 @@ function getHTMLTitle($titleArray)
|
|||
{
|
||||
global $config, $global;
|
||||
|
||||
if(!empty($_REQUEST['catName'])){
|
||||
if (!empty($_REQUEST['catName'])) {
|
||||
$cat = Category::getCategoryByName($_REQUEST['catName']);
|
||||
$titleArray[] = $cat['name'];
|
||||
}
|
||||
|
@ -5544,7 +5608,7 @@ function getHTMLTitle($titleArray)
|
|||
$titleArray[] = $config->getWebSiteTitle();
|
||||
$cleanTitleArray = array();
|
||||
foreach ($titleArray as $value) {
|
||||
if(!empty($value) && !in_array($value, $cleanTitleArray)){
|
||||
if (!empty($value) && !in_array($value, $cleanTitleArray)) {
|
||||
$cleanTitleArray[] = $value;
|
||||
}
|
||||
}
|
||||
|
@ -5988,7 +6052,7 @@ function getURL($relativePath, $ignoreCDN = false)
|
|||
|
||||
function fixTestURL($text)
|
||||
{
|
||||
if(empty($text) || !is_string($text)){
|
||||
if (empty($text) || !is_string($text)) {
|
||||
return $text;
|
||||
}
|
||||
if (isAVideoMobileApp() || !empty($_REQUEST['isAVideoMobileApp'])) {
|
||||
|
@ -6095,14 +6159,14 @@ function useVideoHashOrLogin()
|
|||
return User::loginFromRequest();
|
||||
}
|
||||
|
||||
function strip_specific_tags($string, $tags_to_strip = ['script', 'style', 'iframe', 'object', 'applet', 'link'], $removeContent=true)
|
||||
function strip_specific_tags($string, $tags_to_strip = ['script', 'style', 'iframe', 'object', 'applet', 'link'], $removeContent = true)
|
||||
{
|
||||
if (empty($string)) {
|
||||
return '';
|
||||
}
|
||||
foreach ($tags_to_strip as $tag) {
|
||||
$replacement = '$1';
|
||||
if($removeContent){
|
||||
if ($removeContent) {
|
||||
$replacement = '';
|
||||
}
|
||||
$string = preg_replace('/<' . $tag . '[^>]*>(.*?)<\/' . $tag . '>/s', $replacement, $string);
|
||||
|
@ -6420,7 +6484,7 @@ function deleteMediaSessionPosters($imagePath)
|
|||
foreach ($sizes as $value) {
|
||||
$destination = str_replace('.jpg', "_{$value}.jpg", $imagePath);
|
||||
|
||||
_error_log("deleteMediaSessionPosters ($destination) unlink line=".__LINE__);
|
||||
_error_log("deleteMediaSessionPosters ($destination) unlink line=" . __LINE__);
|
||||
@unlink($destination);
|
||||
}
|
||||
}
|
||||
|
@ -6952,11 +7016,11 @@ function generateHorizontalFlickity($items)
|
|||
$initialIndex = 0;
|
||||
foreach ($items as $key => $item) {
|
||||
$isActive = false;
|
||||
if(!empty($item['isActive'])){
|
||||
if (!empty($item['isActive'])) {
|
||||
$isActive = true;
|
||||
}
|
||||
$class = 'btn-default';
|
||||
if($isActive){
|
||||
if ($isActive) {
|
||||
$class = 'btn-primary';
|
||||
$initialIndex = $key;
|
||||
}
|
||||
|
@ -6970,8 +7034,8 @@ function generateHorizontalFlickity($items)
|
|||
} else {
|
||||
echo ' data-toggle="tooltip" ';
|
||||
}
|
||||
if(!empty($item['onclick'])){
|
||||
echo 'onclick="'.$item['onclick'].'"';
|
||||
if (!empty($item['onclick'])) {
|
||||
echo 'onclick="' . $item['onclick'] . '"';
|
||||
} ?>
|
||||
class="btn <?php echo $class; ?>">
|
||||
<?php echo $item['label']; ?>
|
||||
|
@ -6997,7 +7061,7 @@ function generateHorizontalFlickity($items)
|
|||
//initialIndex: <?php echo $initialIndex; ?>,
|
||||
});
|
||||
|
||||
$carousel.flickity( 'selectCell', <?php echo $initialIndex; ?> );
|
||||
$carousel.flickity('selectCell', <?php echo $initialIndex; ?>);
|
||||
});
|
||||
</script>
|
||||
<?php
|
||||
|
@ -7009,24 +7073,26 @@ function generateHorizontalFlickity($items)
|
|||
$generateHorizontalFlickityLoaded = 1;
|
||||
}
|
||||
|
||||
function saveRequestVars(){
|
||||
function saveRequestVars()
|
||||
{
|
||||
global $savedRequestVars;
|
||||
|
||||
$array = array('GET', 'POST', 'REQUEST');
|
||||
|
||||
foreach ($array as $value) {
|
||||
eval('$savedRequestVars[$value] = $_'.$value.';');
|
||||
eval('$savedRequestVars[$value] = $_' . $value . ';');
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
function restoreRequestVars(){
|
||||
function restoreRequestVars()
|
||||
{
|
||||
global $savedRequestVars;
|
||||
|
||||
$array = array('GET', 'POST', 'REQUEST');
|
||||
|
||||
foreach ($array as $value) {
|
||||
eval('$_'.$value.' = $savedRequestVars[$value];');
|
||||
eval('$_' . $value . ' = $savedRequestVars[$value];');
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -7034,12 +7100,13 @@ function getMVideo($htmlMediaTag)
|
|||
{
|
||||
global $global;
|
||||
$filePath = "{$global['systemRootPath']}objects/functionGetMVideo.php";
|
||||
$contents = getIncludeFileContent( $filePath, ['htmlMediaTag' => $htmlMediaTag] );
|
||||
$contents = getIncludeFileContent($filePath, ['htmlMediaTag' => $htmlMediaTag]);
|
||||
return $contents;
|
||||
}
|
||||
|
||||
function getDeviceName() {
|
||||
if(empty($_SERVER['HTTP_USER_AGENT'])){
|
||||
function getDeviceName()
|
||||
{
|
||||
if (empty($_SERVER['HTTP_USER_AGENT'])) {
|
||||
return 'unknown';
|
||||
}
|
||||
$userAgent = strtolower($_SERVER['HTTP_USER_AGENT']);
|
||||
|
@ -7062,30 +7129,34 @@ function getDeviceName() {
|
|||
}
|
||||
}
|
||||
|
||||
function getValueOrBlank($array, $default=''){
|
||||
function getValueOrBlank($array, $default = '')
|
||||
{
|
||||
$text = $default;
|
||||
foreach ($array as $value) {
|
||||
if(!empty($_REQUEST[$value])){
|
||||
if (!empty($_REQUEST[$value])) {
|
||||
$text = $_REQUEST[$value];
|
||||
}
|
||||
}
|
||||
return $text;
|
||||
}
|
||||
|
||||
function getRequestUniqueString(){
|
||||
$text = getValueOrBlank(['app_bundle','ads_app_bundle', 'publisher_app_bundle']);
|
||||
function getRequestUniqueString()
|
||||
{
|
||||
$text = getValueOrBlank(['app_bundle', 'ads_app_bundle', 'publisher_app_bundle']);
|
||||
$text = getValueOrBlank(['ads_did']);
|
||||
$text .= getValueOrBlank(['platform']);
|
||||
$text .= isForKidsSet()?'forKids':'';
|
||||
$text .= isForKidsSet() ? 'forKids' : '';
|
||||
return $text;
|
||||
}
|
||||
|
||||
function isForKidsSet(){
|
||||
function isForKidsSet()
|
||||
{
|
||||
return !empty($_COOKIE['forKids']) || (!empty($_REQUEST['forKids']) && intval($_REQUEST['forKids']) > 0);
|
||||
}
|
||||
|
||||
function calculateCenterCrop($originalWidth, $originalHeight, $aspectRatio) {
|
||||
if( $aspectRatio == Video::ASPECT_RATIO_ORIGINAL){
|
||||
function calculateCenterCrop($originalWidth, $originalHeight, $aspectRatio)
|
||||
{
|
||||
if ($aspectRatio == Video::ASPECT_RATIO_ORIGINAL) {
|
||||
return ['newWidth' => intval($originalWidth), 'newHeight' => intval($originalHeight), 'x' => 0, 'y' => 0];
|
||||
}
|
||||
|
||||
|
@ -7127,7 +7198,8 @@ function calculateCenterCrop($originalWidth, $originalHeight, $aspectRatio) {
|
|||
return ['newWidth' => intval($newWidth), 'newHeight' => intval($newHeight), 'x' => intval($x), 'y' => intval($y)];
|
||||
}
|
||||
|
||||
function getTourHelpButton($stepsFileRelativePath, $class = 'btn btn-default'){
|
||||
function getTourHelpButton($stepsFileRelativePath, $class = 'btn btn-default')
|
||||
{
|
||||
/*
|
||||
[
|
||||
{
|
||||
|
@ -7140,25 +7212,66 @@ function getTourHelpButton($stepsFileRelativePath, $class = 'btn btn-default'){
|
|||
}
|
||||
]
|
||||
*/
|
||||
return "<button class=\"startTourBtn {$class}\" onclick=\"startTour('{$stepsFileRelativePath}')\"><i class=\"fa-solid fa-circle-question\"></i> ".__('Help')."</button>";
|
||||
return "<button class=\"startTourBtn {$class}\" onclick=\"startTour('{$stepsFileRelativePath}')\"><i class=\"fa-solid fa-circle-question\"></i> " . __('Help') . "</button>";
|
||||
}
|
||||
|
||||
function getInfoButton($info){
|
||||
$html = '<button class="btn btn-default btn-block infoButton" data-toggle="tooltip" title="'.__('Info').'"><i class="fa-solid fa-circle-info"></i><div class="hidden">'.$info.'</div></button>';
|
||||
function getInfoButton($info)
|
||||
{
|
||||
$html = '<button class="btn btn-default btn-block infoButton" data-toggle="tooltip" title="' . __('Info') . '"><i class="fa-solid fa-circle-info"></i><div class="hidden">' . $info . '</div></button>';
|
||||
return $html;
|
||||
}
|
||||
|
||||
require_once __DIR__.'/functionsSecurity.php';
|
||||
require_once __DIR__.'/functionsMySQL.php';
|
||||
require_once __DIR__.'/functionsDocker.php';
|
||||
require_once __DIR__.'/functionsImages.php';
|
||||
require_once __DIR__.'/functionsExec.php';
|
||||
require_once __DIR__.'/functionsLogs.php';
|
||||
require_once __DIR__.'/functionsMail.php';
|
||||
require_once __DIR__.'/functionsFile.php';
|
||||
require_once __DIR__.'/functionsFFMPEG.php';
|
||||
require_once __DIR__.'/functionsSocket.php';
|
||||
require_once __DIR__.'/functionsPHP.php';
|
||||
require_once __DIR__.'/functionsAVideo.php';
|
||||
require_once __DIR__.'/functionsBrowser.php';
|
||||
require_once __DIR__.'/functionsHuman.php';
|
||||
function mkSubCategory($catId)
|
||||
{
|
||||
|
||||
global $global, $parsed_cats;
|
||||
unset($_REQUEST['parentsOnly']);
|
||||
|
||||
$cacheName = "mkSubCategory_{$catId}";
|
||||
$cache = ObjectYPT::getCache($cacheName, rand(300, 600));
|
||||
if(!empty($cache)){
|
||||
return $cache;
|
||||
}
|
||||
$subcats = Category::getChildCategories($catId);
|
||||
$html = '';
|
||||
if (!empty($subcats)) {
|
||||
$html .= "<ul class=\"nav\" style='margin-bottom: 0px; list-style-type: none;'>";
|
||||
foreach ($subcats as $subcat) {
|
||||
if ($subcat['parentId'] != $catId) {
|
||||
continue;
|
||||
}
|
||||
if (empty($subcat['total'])) {
|
||||
continue;
|
||||
}
|
||||
if (is_array($parsed_cats) && in_array($subcat['id'], $parsed_cats)) {
|
||||
continue;
|
||||
}
|
||||
//$parsed_cats[] = $subcat['id'];
|
||||
$html .= '<li class="navsub-toggle ' . ($subcat['clean_name'] == @$_REQUEST['catName'] ? "active" : "") . '">';
|
||||
$html .= '<a href="' . $global['webSiteRootURL'] . 'cat/' . $subcat['clean_name'] . '" >';
|
||||
$html .= '<i class="' . (empty($subcat['iconClass']) ? "fa fa-folder" : $subcat['iconClass']) . '"></i> <span class="menuLabel">' . __($subcat['name']) . ' <span class="badge">' . $subcat['total'] . '</span></span>';
|
||||
$html .= '</a>';
|
||||
$html .= mkSubCategory($subcat['id']);
|
||||
$html .= '</li>';
|
||||
}
|
||||
$html .= "</ul>";
|
||||
}
|
||||
|
||||
ObjectYPT::setCache($cacheName, $html);
|
||||
return $html;
|
||||
}
|
||||
|
||||
require_once __DIR__ . '/functionsSecurity.php';
|
||||
require_once __DIR__ . '/functionsMySQL.php';
|
||||
require_once __DIR__ . '/functionsDocker.php';
|
||||
require_once __DIR__ . '/functionsImages.php';
|
||||
require_once __DIR__ . '/functionsExec.php';
|
||||
require_once __DIR__ . '/functionsLogs.php';
|
||||
require_once __DIR__ . '/functionsMail.php';
|
||||
require_once __DIR__ . '/functionsFile.php';
|
||||
require_once __DIR__ . '/functionsFFMPEG.php';
|
||||
require_once __DIR__ . '/functionsSocket.php';
|
||||
require_once __DIR__ . '/functionsPHP.php';
|
||||
require_once __DIR__ . '/functionsAVideo.php';
|
||||
require_once __DIR__ . '/functionsBrowser.php';
|
||||
require_once __DIR__ . '/functionsHuman.php';
|
||||
|
|
|
@ -5,6 +5,8 @@ use Aws\AwsClient;
|
|||
|
||||
/**
|
||||
* This client is used to interact with the **Amazon Bedrock** service.
|
||||
* @method \Aws\Result batchDeleteEvaluationJob(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise batchDeleteEvaluationJobAsync(array $args = [])
|
||||
* @method \Aws\Result createEvaluationJob(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise createEvaluationJobAsync(array $args = [])
|
||||
* @method \Aws\Result createGuardrail(array $args = [])
|
||||
|
@ -15,6 +17,8 @@ use Aws\AwsClient;
|
|||
* @method \GuzzleHttp\Promise\Promise createModelCopyJobAsync(array $args = [])
|
||||
* @method \Aws\Result createModelCustomizationJob(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise createModelCustomizationJobAsync(array $args = [])
|
||||
* @method \Aws\Result createModelImportJob(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise createModelImportJobAsync(array $args = [])
|
||||
* @method \Aws\Result createModelInvocationJob(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise createModelInvocationJobAsync(array $args = [])
|
||||
* @method \Aws\Result createProvisionedModelThroughput(array $args = [])
|
||||
|
@ -23,6 +27,8 @@ use Aws\AwsClient;
|
|||
* @method \GuzzleHttp\Promise\Promise deleteCustomModelAsync(array $args = [])
|
||||
* @method \Aws\Result deleteGuardrail(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise deleteGuardrailAsync(array $args = [])
|
||||
* @method \Aws\Result deleteImportedModel(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise deleteImportedModelAsync(array $args = [])
|
||||
* @method \Aws\Result deleteModelInvocationLoggingConfiguration(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise deleteModelInvocationLoggingConfigurationAsync(array $args = [])
|
||||
* @method \Aws\Result deleteProvisionedModelThroughput(array $args = [])
|
||||
|
@ -35,10 +41,14 @@ use Aws\AwsClient;
|
|||
* @method \GuzzleHttp\Promise\Promise getFoundationModelAsync(array $args = [])
|
||||
* @method \Aws\Result getGuardrail(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise getGuardrailAsync(array $args = [])
|
||||
* @method \Aws\Result getImportedModel(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise getImportedModelAsync(array $args = [])
|
||||
* @method \Aws\Result getModelCopyJob(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise getModelCopyJobAsync(array $args = [])
|
||||
* @method \Aws\Result getModelCustomizationJob(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise getModelCustomizationJobAsync(array $args = [])
|
||||
* @method \Aws\Result getModelImportJob(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise getModelImportJobAsync(array $args = [])
|
||||
* @method \Aws\Result getModelInvocationJob(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise getModelInvocationJobAsync(array $args = [])
|
||||
* @method \Aws\Result getModelInvocationLoggingConfiguration(array $args = [])
|
||||
|
@ -53,10 +63,14 @@ use Aws\AwsClient;
|
|||
* @method \GuzzleHttp\Promise\Promise listFoundationModelsAsync(array $args = [])
|
||||
* @method \Aws\Result listGuardrails(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise listGuardrailsAsync(array $args = [])
|
||||
* @method \Aws\Result listImportedModels(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise listImportedModelsAsync(array $args = [])
|
||||
* @method \Aws\Result listModelCopyJobs(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise listModelCopyJobsAsync(array $args = [])
|
||||
* @method \Aws\Result listModelCustomizationJobs(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise listModelCustomizationJobsAsync(array $args = [])
|
||||
* @method \Aws\Result listModelImportJobs(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise listModelImportJobsAsync(array $args = [])
|
||||
* @method \Aws\Result listModelInvocationJobs(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise listModelInvocationJobsAsync(array $args = [])
|
||||
* @method \Aws\Result listProvisionedModelThroughputs(array $args = [])
|
||||
|
|
|
@ -1249,7 +1249,7 @@ class ClientResolver
|
|||
\Aws\boolean_value($_SERVER["AWS_SUPPRESS_PHP_DEPRECATION_WARNING"]);
|
||||
} elseif (!empty($_ENV["AWS_SUPPRESS_PHP_DEPRECATION_WARNING"])) {
|
||||
$args['suppress_php_deprecation_warning'] =
|
||||
\Aws\boolean_value($_SERVER["AWS_SUPPRESS_PHP_DEPRECATION_WARNING"]);
|
||||
\Aws\boolean_value($_ENV["AWS_SUPPRESS_PHP_DEPRECATION_WARNING"]);
|
||||
}
|
||||
|
||||
if ($args['suppress_php_deprecation_warning'] === false
|
||||
|
|
|
@ -1,45 +0,0 @@
|
|||
<?php
|
||||
namespace Aws\CodeStar;
|
||||
|
||||
use Aws\AwsClient;
|
||||
|
||||
/**
|
||||
* This client is used to interact with the **AWS CodeStar** service.
|
||||
* @method \Aws\Result associateTeamMember(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise associateTeamMemberAsync(array $args = [])
|
||||
* @method \Aws\Result createProject(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise createProjectAsync(array $args = [])
|
||||
* @method \Aws\Result createUserProfile(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise createUserProfileAsync(array $args = [])
|
||||
* @method \Aws\Result deleteProject(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise deleteProjectAsync(array $args = [])
|
||||
* @method \Aws\Result deleteUserProfile(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise deleteUserProfileAsync(array $args = [])
|
||||
* @method \Aws\Result describeProject(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise describeProjectAsync(array $args = [])
|
||||
* @method \Aws\Result describeUserProfile(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise describeUserProfileAsync(array $args = [])
|
||||
* @method \Aws\Result disassociateTeamMember(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise disassociateTeamMemberAsync(array $args = [])
|
||||
* @method \Aws\Result listProjects(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise listProjectsAsync(array $args = [])
|
||||
* @method \Aws\Result listResources(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise listResourcesAsync(array $args = [])
|
||||
* @method \Aws\Result listTagsForProject(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise listTagsForProjectAsync(array $args = [])
|
||||
* @method \Aws\Result listTeamMembers(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise listTeamMembersAsync(array $args = [])
|
||||
* @method \Aws\Result listUserProfiles(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise listUserProfilesAsync(array $args = [])
|
||||
* @method \Aws\Result tagProject(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise tagProjectAsync(array $args = [])
|
||||
* @method \Aws\Result untagProject(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise untagProjectAsync(array $args = [])
|
||||
* @method \Aws\Result updateProject(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise updateProjectAsync(array $args = [])
|
||||
* @method \Aws\Result updateTeamMember(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise updateTeamMemberAsync(array $args = [])
|
||||
* @method \Aws\Result updateUserProfile(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise updateUserProfileAsync(array $args = [])
|
||||
*/
|
||||
class CodeStarClient extends AwsClient {}
|
|
@ -1,9 +0,0 @@
|
|||
<?php
|
||||
namespace Aws\CodeStar\Exception;
|
||||
|
||||
use Aws\Exception\AwsException;
|
||||
|
||||
/**
|
||||
* Represents an error interacting with the **AWS CodeStar** service.
|
||||
*/
|
||||
class CodeStarException extends AwsException {}
|
4
vendor/aws/aws-sdk-php/src/Sdk.php
vendored
4
vendor/aws/aws-sdk-php/src/Sdk.php
vendored
|
@ -166,8 +166,6 @@ namespace Aws;
|
|||
* @method \Aws\MultiRegionClient createMultiRegionCodeGuruSecurity(array $args = [])
|
||||
* @method \Aws\CodePipeline\CodePipelineClient createCodePipeline(array $args = [])
|
||||
* @method \Aws\MultiRegionClient createMultiRegionCodePipeline(array $args = [])
|
||||
* @method \Aws\CodeStar\CodeStarClient createCodeStar(array $args = [])
|
||||
* @method \Aws\MultiRegionClient createMultiRegionCodeStar(array $args = [])
|
||||
* @method \Aws\CodeStarNotifications\CodeStarNotificationsClient createCodeStarNotifications(array $args = [])
|
||||
* @method \Aws\MultiRegionClient createMultiRegionCodeStarNotifications(array $args = [])
|
||||
* @method \Aws\CodeStarconnections\CodeStarconnectionsClient createCodeStarconnections(array $args = [])
|
||||
|
@ -777,7 +775,7 @@ namespace Aws;
|
|||
*/
|
||||
class Sdk
|
||||
{
|
||||
const VERSION = '3.320.3';
|
||||
const VERSION = '3.320.7';
|
||||
|
||||
/** @var array Arguments for creating clients */
|
||||
private $args;
|
||||
|
|
6
vendor/aws/aws-sdk-php/src/Waiter.php
vendored
6
vendor/aws/aws-sdk-php/src/Waiter.php
vendored
|
@ -256,6 +256,12 @@ class Waiter implements PromisorInterface
|
|||
*/
|
||||
private function matchesError($result, array $acceptor)
|
||||
{
|
||||
// If expected is true then the $result should be an instance of
|
||||
// AwsException, otherwise it should not.
|
||||
if (isset($acceptor['expected']) && is_bool($acceptor['expected'])) {
|
||||
return $acceptor['expected'] === ($result instanceof AwsException);
|
||||
}
|
||||
|
||||
if ($result instanceof AwsException) {
|
||||
return $result->isConnectionError()
|
||||
|| $result->getAwsErrorCode() == $acceptor['expected'];
|
||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -1,3 +1,3 @@
|
|||
<?php
|
||||
// This file was auto-generated from sdk-root/src/data/bedrock/2023-04-20/paginators-1.json
|
||||
return [ 'pagination' => [ 'ListCustomModels' => [ 'input_token' => 'nextToken', 'output_token' => 'nextToken', 'limit_key' => 'maxResults', 'result_key' => 'modelSummaries', ], 'ListEvaluationJobs' => [ 'input_token' => 'nextToken', 'output_token' => 'nextToken', 'limit_key' => 'maxResults', 'result_key' => 'jobSummaries', ], 'ListGuardrails' => [ 'input_token' => 'nextToken', 'output_token' => 'nextToken', 'limit_key' => 'maxResults', 'result_key' => 'guardrails', ], 'ListModelCopyJobs' => [ 'input_token' => 'nextToken', 'output_token' => 'nextToken', 'limit_key' => 'maxResults', 'result_key' => 'modelCopyJobSummaries', ], 'ListModelCustomizationJobs' => [ 'input_token' => 'nextToken', 'output_token' => 'nextToken', 'limit_key' => 'maxResults', 'result_key' => 'modelCustomizationJobSummaries', ], 'ListModelInvocationJobs' => [ 'input_token' => 'nextToken', 'output_token' => 'nextToken', 'limit_key' => 'maxResults', 'result_key' => 'invocationJobSummaries', ], 'ListProvisionedModelThroughputs' => [ 'input_token' => 'nextToken', 'output_token' => 'nextToken', 'limit_key' => 'maxResults', 'result_key' => 'provisionedModelSummaries', ], ],];
|
||||
return [ 'pagination' => [ 'ListCustomModels' => [ 'input_token' => 'nextToken', 'output_token' => 'nextToken', 'limit_key' => 'maxResults', 'result_key' => 'modelSummaries', ], 'ListEvaluationJobs' => [ 'input_token' => 'nextToken', 'output_token' => 'nextToken', 'limit_key' => 'maxResults', 'result_key' => 'jobSummaries', ], 'ListGuardrails' => [ 'input_token' => 'nextToken', 'output_token' => 'nextToken', 'limit_key' => 'maxResults', 'result_key' => 'guardrails', ], 'ListImportedModels' => [ 'input_token' => 'nextToken', 'output_token' => 'nextToken', 'limit_key' => 'maxResults', 'result_key' => 'modelSummaries', ], 'ListModelCopyJobs' => [ 'input_token' => 'nextToken', 'output_token' => 'nextToken', 'limit_key' => 'maxResults', 'result_key' => 'modelCopyJobSummaries', ], 'ListModelCustomizationJobs' => [ 'input_token' => 'nextToken', 'output_token' => 'nextToken', 'limit_key' => 'maxResults', 'result_key' => 'modelCustomizationJobSummaries', ], 'ListModelImportJobs' => [ 'input_token' => 'nextToken', 'output_token' => 'nextToken', 'limit_key' => 'maxResults', 'result_key' => 'modelImportJobSummaries', ], 'ListModelInvocationJobs' => [ 'input_token' => 'nextToken', 'output_token' => 'nextToken', 'limit_key' => 'maxResults', 'result_key' => 'invocationJobSummaries', ], 'ListProvisionedModelThroughputs' => [ 'input_token' => 'nextToken', 'output_token' => 'nextToken', 'limit_key' => 'maxResults', 'result_key' => 'provisionedModelSummaries', ], ],];
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -1,3 +0,0 @@
|
|||
<?php
|
||||
// This file was auto-generated from sdk-root/src/data/codestar/2017-04-19/endpoint-rule-set-1.json
|
||||
return [ 'version' => '1.0', 'parameters' => [ 'Region' => [ 'builtIn' => 'AWS::Region', 'required' => false, 'documentation' => 'The AWS region used to dispatch the request.', 'type' => 'String', ], 'UseDualStack' => [ 'builtIn' => 'AWS::UseDualStack', 'required' => true, 'default' => false, 'documentation' => 'When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.', 'type' => 'Boolean', ], 'UseFIPS' => [ 'builtIn' => 'AWS::UseFIPS', 'required' => true, 'default' => false, 'documentation' => 'When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.', 'type' => 'Boolean', ], 'Endpoint' => [ 'builtIn' => 'SDK::Endpoint', 'required' => false, 'documentation' => 'Override the endpoint used to send this request', 'type' => 'String', ], ], 'rules' => [ [ 'conditions' => [ [ 'fn' => 'isSet', 'argv' => [ [ 'ref' => 'Endpoint', ], ], ], ], 'type' => 'tree', 'rules' => [ [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ [ 'ref' => 'UseFIPS', ], true, ], ], ], 'error' => 'Invalid Configuration: FIPS and custom endpoint are not supported', 'type' => 'error', ], [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ [ 'ref' => 'UseDualStack', ], true, ], ], ], 'error' => 'Invalid Configuration: Dualstack and custom endpoint are not supported', 'type' => 'error', ], [ 'conditions' => [], 'endpoint' => [ 'url' => [ 'ref' => 'Endpoint', ], 'properties' => [], 'headers' => [], ], 'type' => 'endpoint', ], ], ], [ 'conditions' => [ [ 'fn' => 'isSet', 'argv' => [ [ 'ref' => 'Region', ], ], ], ], 'type' => 'tree', 'rules' => [ [ 'conditions' => [ [ 'fn' => 'aws.partition', 'argv' => [ [ 'ref' => 'Region', ], ], 'assign' => 'PartitionResult', ], ], 'type' => 'tree', 'rules' => [ [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ [ 'ref' => 'UseFIPS', ], true, ], ], [ 'fn' => 'booleanEquals', 'argv' => [ [ 'ref' => 'UseDualStack', ], true, ], ], ], 'type' => 'tree', 'rules' => [ [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ true, [ 'fn' => 'getAttr', 'argv' => [ [ 'ref' => 'PartitionResult', ], 'supportsFIPS', ], ], ], ], [ 'fn' => 'booleanEquals', 'argv' => [ true, [ 'fn' => 'getAttr', 'argv' => [ [ 'ref' => 'PartitionResult', ], 'supportsDualStack', ], ], ], ], ], 'type' => 'tree', 'rules' => [ [ 'conditions' => [], 'endpoint' => [ 'url' => 'https://codestar-fips.{Region}.{PartitionResult#dualStackDnsSuffix}', 'properties' => [], 'headers' => [], ], 'type' => 'endpoint', ], ], ], [ 'conditions' => [], 'error' => 'FIPS and DualStack are enabled, but this partition does not support one or both', 'type' => 'error', ], ], ], [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ [ 'ref' => 'UseFIPS', ], true, ], ], ], 'type' => 'tree', 'rules' => [ [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ true, [ 'fn' => 'getAttr', 'argv' => [ [ 'ref' => 'PartitionResult', ], 'supportsFIPS', ], ], ], ], ], 'type' => 'tree', 'rules' => [ [ 'conditions' => [], 'endpoint' => [ 'url' => 'https://codestar-fips.{Region}.{PartitionResult#dnsSuffix}', 'properties' => [], 'headers' => [], ], 'type' => 'endpoint', ], ], ], [ 'conditions' => [], 'error' => 'FIPS is enabled but this partition does not support FIPS', 'type' => 'error', ], ], ], [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ [ 'ref' => 'UseDualStack', ], true, ], ], ], 'type' => 'tree', 'rules' => [ [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ true, [ 'fn' => 'getAttr', 'argv' => [ [ 'ref' => 'PartitionResult', ], 'supportsDualStack', ], ], ], ], ], 'type' => 'tree', 'rules' => [ [ 'conditions' => [], 'endpoint' => [ 'url' => 'https://codestar.{Region}.{PartitionResult#dualStackDnsSuffix}', 'properties' => [], 'headers' => [], ], 'type' => 'endpoint', ], ], ], [ 'conditions' => [], 'error' => 'DualStack is enabled but this partition does not support DualStack', 'type' => 'error', ], ], ], [ 'conditions' => [], 'endpoint' => [ 'url' => 'https://codestar.{Region}.{PartitionResult#dnsSuffix}', 'properties' => [], 'headers' => [], ], 'type' => 'endpoint', ], ], ], ], ], [ 'conditions' => [], 'error' => 'Invalid Configuration: Missing Region', 'type' => 'error', ], ],];
|
|
@ -1,3 +0,0 @@
|
|||
<?php
|
||||
// This file was auto-generated from sdk-root/src/data/codestar/2017-04-19/paginators-1.json
|
||||
return [ 'pagination' => [],];
|
|
@ -1,3 +0,0 @@
|
|||
<?php
|
||||
// This file was auto-generated from sdk-root/src/data/codestar/2017-04-19/smoke.json
|
||||
return [ 'version' => 1, 'defaultRegion' => 'us-west-2', 'testCases' => [ [ 'operationName' => 'ListProjects', 'input' => [], 'errorExpectedFromService' => false, ], ],];
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -1,3 +1,3 @@
|
|||
<?php
|
||||
// This file was auto-generated from sdk-root/src/data/emr-containers/2020-10-01/endpoint-rule-set-1.json
|
||||
return [ 'version' => '1.0', 'parameters' => [ 'Region' => [ 'builtIn' => 'AWS::Region', 'required' => false, 'documentation' => 'The AWS region used to dispatch the request.', 'type' => 'String', ], 'UseDualStack' => [ 'builtIn' => 'AWS::UseDualStack', 'required' => true, 'default' => false, 'documentation' => 'When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.', 'type' => 'Boolean', ], 'UseFIPS' => [ 'builtIn' => 'AWS::UseFIPS', 'required' => true, 'default' => false, 'documentation' => 'When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.', 'type' => 'Boolean', ], 'Endpoint' => [ 'builtIn' => 'SDK::Endpoint', 'required' => false, 'documentation' => 'Override the endpoint used to send this request', 'type' => 'String', ], ], 'rules' => [ [ 'conditions' => [ [ 'fn' => 'isSet', 'argv' => [ [ 'ref' => 'Endpoint', ], ], ], ], 'rules' => [ [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ [ 'ref' => 'UseFIPS', ], true, ], ], ], 'error' => 'Invalid Configuration: FIPS and custom endpoint are not supported', 'type' => 'error', ], [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ [ 'ref' => 'UseDualStack', ], true, ], ], ], 'error' => 'Invalid Configuration: Dualstack and custom endpoint are not supported', 'type' => 'error', ], [ 'conditions' => [], 'endpoint' => [ 'url' => [ 'ref' => 'Endpoint', ], 'properties' => [], 'headers' => [], ], 'type' => 'endpoint', ], ], 'type' => 'tree', ], [ 'conditions' => [ [ 'fn' => 'isSet', 'argv' => [ [ 'ref' => 'Region', ], ], ], ], 'rules' => [ [ 'conditions' => [ [ 'fn' => 'aws.partition', 'argv' => [ [ 'ref' => 'Region', ], ], 'assign' => 'PartitionResult', ], ], 'rules' => [ [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ [ 'ref' => 'UseFIPS', ], true, ], ], [ 'fn' => 'booleanEquals', 'argv' => [ [ 'ref' => 'UseDualStack', ], true, ], ], ], 'rules' => [ [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ true, [ 'fn' => 'getAttr', 'argv' => [ [ 'ref' => 'PartitionResult', ], 'supportsFIPS', ], ], ], ], [ 'fn' => 'booleanEquals', 'argv' => [ true, [ 'fn' => 'getAttr', 'argv' => [ [ 'ref' => 'PartitionResult', ], 'supportsDualStack', ], ], ], ], ], 'rules' => [ [ 'conditions' => [], 'endpoint' => [ 'url' => 'https://emr-containers-fips.{Region}.{PartitionResult#dualStackDnsSuffix}', 'properties' => [], 'headers' => [], ], 'type' => 'endpoint', ], ], 'type' => 'tree', ], [ 'conditions' => [], 'error' => 'FIPS and DualStack are enabled, but this partition does not support one or both', 'type' => 'error', ], ], 'type' => 'tree', ], [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ [ 'ref' => 'UseFIPS', ], true, ], ], ], 'rules' => [ [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ [ 'fn' => 'getAttr', 'argv' => [ [ 'ref' => 'PartitionResult', ], 'supportsFIPS', ], ], true, ], ], ], 'rules' => [ [ 'conditions' => [], 'endpoint' => [ 'url' => 'https://emr-containers-fips.{Region}.{PartitionResult#dnsSuffix}', 'properties' => [], 'headers' => [], ], 'type' => 'endpoint', ], ], 'type' => 'tree', ], [ 'conditions' => [], 'error' => 'FIPS is enabled but this partition does not support FIPS', 'type' => 'error', ], ], 'type' => 'tree', ], [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ [ 'ref' => 'UseDualStack', ], true, ], ], ], 'rules' => [ [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ true, [ 'fn' => 'getAttr', 'argv' => [ [ 'ref' => 'PartitionResult', ], 'supportsDualStack', ], ], ], ], ], 'rules' => [ [ 'conditions' => [], 'endpoint' => [ 'url' => 'https://emr-containers.{Region}.{PartitionResult#dualStackDnsSuffix}', 'properties' => [], 'headers' => [], ], 'type' => 'endpoint', ], ], 'type' => 'tree', ], [ 'conditions' => [], 'error' => 'DualStack is enabled but this partition does not support DualStack', 'type' => 'error', ], ], 'type' => 'tree', ], [ 'conditions' => [], 'endpoint' => [ 'url' => 'https://emr-containers.{Region}.{PartitionResult#dnsSuffix}', 'properties' => [], 'headers' => [], ], 'type' => 'endpoint', ], ], 'type' => 'tree', ], ], 'type' => 'tree', ], [ 'conditions' => [], 'error' => 'Invalid Configuration: Missing Region', 'type' => 'error', ], ],];
|
||||
return [ 'version' => '1.0', 'parameters' => [ 'Region' => [ 'builtIn' => 'AWS::Region', 'required' => false, 'documentation' => 'The AWS region used to dispatch the request.', 'type' => 'String', ], 'UseDualStack' => [ 'builtIn' => 'AWS::UseDualStack', 'required' => true, 'default' => false, 'documentation' => 'When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.', 'type' => 'Boolean', ], 'UseFIPS' => [ 'builtIn' => 'AWS::UseFIPS', 'required' => true, 'default' => false, 'documentation' => 'When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.', 'type' => 'Boolean', ], 'Endpoint' => [ 'builtIn' => 'SDK::Endpoint', 'required' => false, 'documentation' => 'Override the endpoint used to send this request', 'type' => 'String', ], ], 'rules' => [ [ 'conditions' => [ [ 'fn' => 'isSet', 'argv' => [ [ 'ref' => 'Endpoint', ], ], ], ], 'rules' => [ [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ [ 'ref' => 'UseFIPS', ], true, ], ], ], 'error' => 'Invalid Configuration: FIPS and custom endpoint are not supported', 'type' => 'error', ], [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ [ 'ref' => 'UseDualStack', ], true, ], ], ], 'error' => 'Invalid Configuration: Dualstack and custom endpoint are not supported', 'type' => 'error', ], [ 'conditions' => [], 'endpoint' => [ 'url' => [ 'ref' => 'Endpoint', ], 'properties' => [], 'headers' => [], ], 'type' => 'endpoint', ], ], 'type' => 'tree', ], [ 'conditions' => [ [ 'fn' => 'isSet', 'argv' => [ [ 'ref' => 'Region', ], ], ], ], 'rules' => [ [ 'conditions' => [ [ 'fn' => 'aws.partition', 'argv' => [ [ 'ref' => 'Region', ], ], 'assign' => 'PartitionResult', ], ], 'rules' => [ [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ [ 'ref' => 'UseFIPS', ], true, ], ], [ 'fn' => 'booleanEquals', 'argv' => [ [ 'ref' => 'UseDualStack', ], true, ], ], ], 'rules' => [ [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ true, [ 'fn' => 'getAttr', 'argv' => [ [ 'ref' => 'PartitionResult', ], 'supportsFIPS', ], ], ], ], [ 'fn' => 'booleanEquals', 'argv' => [ true, [ 'fn' => 'getAttr', 'argv' => [ [ 'ref' => 'PartitionResult', ], 'supportsDualStack', ], ], ], ], ], 'rules' => [ [ 'conditions' => [], 'endpoint' => [ 'url' => 'https://emr-containers-fips.{Region}.{PartitionResult#dualStackDnsSuffix}', 'properties' => [], 'headers' => [], ], 'type' => 'endpoint', ], ], 'type' => 'tree', ], [ 'conditions' => [], 'error' => 'FIPS and DualStack are enabled, but this partition does not support one or both', 'type' => 'error', ], ], 'type' => 'tree', ], [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ [ 'ref' => 'UseFIPS', ], true, ], ], ], 'rules' => [ [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ [ 'fn' => 'getAttr', 'argv' => [ [ 'ref' => 'PartitionResult', ], 'supportsFIPS', ], ], true, ], ], ], 'rules' => [ [ 'conditions' => [ [ 'fn' => 'stringEquals', 'argv' => [ [ 'ref' => 'Region', ], 'us-gov-east-1', ], ], ], 'endpoint' => [ 'url' => 'https://emr-containers.us-gov-east-1.amazonaws.com', 'properties' => [], 'headers' => [], ], 'type' => 'endpoint', ], [ 'conditions' => [ [ 'fn' => 'stringEquals', 'argv' => [ [ 'ref' => 'Region', ], 'us-gov-west-1', ], ], ], 'endpoint' => [ 'url' => 'https://emr-containers.us-gov-west-1.amazonaws.com', 'properties' => [], 'headers' => [], ], 'type' => 'endpoint', ], [ 'conditions' => [], 'endpoint' => [ 'url' => 'https://emr-containers-fips.{Region}.{PartitionResult#dnsSuffix}', 'properties' => [], 'headers' => [], ], 'type' => 'endpoint', ], ], 'type' => 'tree', ], [ 'conditions' => [], 'error' => 'FIPS is enabled but this partition does not support FIPS', 'type' => 'error', ], ], 'type' => 'tree', ], [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ [ 'ref' => 'UseDualStack', ], true, ], ], ], 'rules' => [ [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ true, [ 'fn' => 'getAttr', 'argv' => [ [ 'ref' => 'PartitionResult', ], 'supportsDualStack', ], ], ], ], ], 'rules' => [ [ 'conditions' => [], 'endpoint' => [ 'url' => 'https://emr-containers.{Region}.{PartitionResult#dualStackDnsSuffix}', 'properties' => [], 'headers' => [], ], 'type' => 'endpoint', ], ], 'type' => 'tree', ], [ 'conditions' => [], 'error' => 'DualStack is enabled but this partition does not support DualStack', 'type' => 'error', ], ], 'type' => 'tree', ], [ 'conditions' => [], 'endpoint' => [ 'url' => 'https://emr-containers.{Region}.{PartitionResult#dnsSuffix}', 'properties' => [], 'headers' => [], ], 'type' => 'endpoint', ], ], 'type' => 'tree', ], ], 'type' => 'tree', ], [ 'conditions' => [], 'error' => 'Invalid Configuration: Missing Region', 'type' => 'error', ], ],];
|
||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -1,3 +1,3 @@
|
|||
<?php
|
||||
// This file was auto-generated from sdk-root/src/data/partitions.json
|
||||
return [ 'partitions' => [ [ 'id' => 'aws', 'outputs' => [ 'dnsSuffix' => 'amazonaws.com', 'dualStackDnsSuffix' => 'api.aws', 'implicitGlobalRegion' => 'us-east-1', 'name' => 'aws', 'supportsDualStack' => true, 'supportsFIPS' => true, ], 'regionRegex' => '^(us|eu|ap|sa|ca|me|af|il)\\-\\w+\\-\\d+$', 'regions' => [ 'af-south-1' => [ 'description' => 'Africa (Cape Town)', ], 'ap-east-1' => [ 'description' => 'Asia Pacific (Hong Kong)', ], 'ap-northeast-1' => [ 'description' => 'Asia Pacific (Tokyo)', ], 'ap-northeast-2' => [ 'description' => 'Asia Pacific (Seoul)', ], 'ap-northeast-3' => [ 'description' => 'Asia Pacific (Osaka)', ], 'ap-south-1' => [ 'description' => 'Asia Pacific (Mumbai)', ], 'ap-south-2' => [ 'description' => 'Asia Pacific (Hyderabad)', ], 'ap-southeast-1' => [ 'description' => 'Asia Pacific (Singapore)', ], 'ap-southeast-2' => [ 'description' => 'Asia Pacific (Sydney)', ], 'ap-southeast-3' => [ 'description' => 'Asia Pacific (Jakarta)', ], 'ap-southeast-4' => [ 'description' => 'Asia Pacific (Melbourne)', ], 'aws-global' => [ 'description' => 'AWS Standard global region', ], 'ca-central-1' => [ 'description' => 'Canada (Central)', ], 'ca-west-1' => [ 'description' => 'Canada West (Calgary)', ], 'eu-central-1' => [ 'description' => 'Europe (Frankfurt)', ], 'eu-central-2' => [ 'description' => 'Europe (Zurich)', ], 'eu-north-1' => [ 'description' => 'Europe (Stockholm)', ], 'eu-south-1' => [ 'description' => 'Europe (Milan)', ], 'eu-south-2' => [ 'description' => 'Europe (Spain)', ], 'eu-west-1' => [ 'description' => 'Europe (Ireland)', ], 'eu-west-2' => [ 'description' => 'Europe (London)', ], 'eu-west-3' => [ 'description' => 'Europe (Paris)', ], 'il-central-1' => [ 'description' => 'Israel (Tel Aviv)', ], 'me-central-1' => [ 'description' => 'Middle East (UAE)', ], 'me-south-1' => [ 'description' => 'Middle East (Bahrain)', ], 'sa-east-1' => [ 'description' => 'South America (Sao Paulo)', ], 'us-east-1' => [ 'description' => 'US East (N. Virginia)', ], 'us-east-2' => [ 'description' => 'US East (Ohio)', ], 'us-west-1' => [ 'description' => 'US West (N. California)', ], 'us-west-2' => [ 'description' => 'US West (Oregon)', ], ], ], [ 'id' => 'aws-cn', 'outputs' => [ 'dnsSuffix' => 'amazonaws.com.cn', 'dualStackDnsSuffix' => 'api.amazonwebservices.com.cn', 'implicitGlobalRegion' => 'cn-northwest-1', 'name' => 'aws-cn', 'supportsDualStack' => true, 'supportsFIPS' => true, ], 'regionRegex' => '^cn\\-\\w+\\-\\d+$', 'regions' => [ 'aws-cn-global' => [ 'description' => 'AWS China global region', ], 'cn-north-1' => [ 'description' => 'China (Beijing)', ], 'cn-northwest-1' => [ 'description' => 'China (Ningxia)', ], ], ], [ 'id' => 'aws-us-gov', 'outputs' => [ 'dnsSuffix' => 'amazonaws.com', 'dualStackDnsSuffix' => 'api.aws', 'implicitGlobalRegion' => 'us-gov-west-1', 'name' => 'aws-us-gov', 'supportsDualStack' => true, 'supportsFIPS' => true, ], 'regionRegex' => '^us\\-gov\\-\\w+\\-\\d+$', 'regions' => [ 'aws-us-gov-global' => [ 'description' => 'AWS GovCloud (US) global region', ], 'us-gov-east-1' => [ 'description' => 'AWS GovCloud (US-East)', ], 'us-gov-west-1' => [ 'description' => 'AWS GovCloud (US-West)', ], ], ], [ 'id' => 'aws-iso', 'outputs' => [ 'dnsSuffix' => 'c2s.ic.gov', 'dualStackDnsSuffix' => 'c2s.ic.gov', 'implicitGlobalRegion' => 'us-iso-east-1', 'name' => 'aws-iso', 'supportsDualStack' => false, 'supportsFIPS' => true, ], 'regionRegex' => '^us\\-iso\\-\\w+\\-\\d+$', 'regions' => [ 'aws-iso-global' => [ 'description' => 'AWS ISO (US) global region', ], 'us-iso-east-1' => [ 'description' => 'US ISO East', ], 'us-iso-west-1' => [ 'description' => 'US ISO WEST', ], ], ], [ 'id' => 'aws-iso-b', 'outputs' => [ 'dnsSuffix' => 'sc2s.sgov.gov', 'dualStackDnsSuffix' => 'sc2s.sgov.gov', 'implicitGlobalRegion' => 'us-isob-east-1', 'name' => 'aws-iso-b', 'supportsDualStack' => false, 'supportsFIPS' => true, ], 'regionRegex' => '^us\\-isob\\-\\w+\\-\\d+$', 'regions' => [ 'aws-iso-b-global' => [ 'description' => 'AWS ISOB (US) global region', ], 'us-isob-east-1' => [ 'description' => 'US ISOB East (Ohio)', ], ], ], [ 'id' => 'aws-iso-e', 'outputs' => [ 'dnsSuffix' => 'cloud.adc-e.uk', 'dualStackDnsSuffix' => 'cloud.adc-e.uk', 'implicitGlobalRegion' => 'eu-isoe-west-1', 'name' => 'aws-iso-e', 'supportsDualStack' => false, 'supportsFIPS' => true, ], 'regionRegex' => '^eu\\-isoe\\-\\w+\\-\\d+$', 'regions' => [ 'eu-isoe-west-1' => [ 'description' => 'EU ISOE West', ], ], ], [ 'id' => 'aws-iso-f', 'outputs' => [ 'dnsSuffix' => 'csp.hci.ic.gov', 'dualStackDnsSuffix' => 'csp.hci.ic.gov', 'implicitGlobalRegion' => 'us-isof-south-1', 'name' => 'aws-iso-f', 'supportsDualStack' => false, 'supportsFIPS' => true, ], 'regionRegex' => '^us\\-isof\\-\\w+\\-\\d+$', 'regions' => [], ], ], 'version' => '1.1',];
|
||||
return [ 'partitions' => [ [ 'id' => 'aws', 'outputs' => [ 'dnsSuffix' => 'amazonaws.com', 'dualStackDnsSuffix' => 'api.aws', 'implicitGlobalRegion' => 'us-east-1', 'name' => 'aws', 'supportsDualStack' => true, 'supportsFIPS' => true, ], 'regionRegex' => '^(us|eu|ap|sa|ca|me|af|il)\\-\\w+\\-\\d+$', 'regions' => [ 'af-south-1' => [ 'description' => 'Africa (Cape Town)', ], 'ap-east-1' => [ 'description' => 'Asia Pacific (Hong Kong)', ], 'ap-northeast-1' => [ 'description' => 'Asia Pacific (Tokyo)', ], 'ap-northeast-2' => [ 'description' => 'Asia Pacific (Seoul)', ], 'ap-northeast-3' => [ 'description' => 'Asia Pacific (Osaka)', ], 'ap-south-1' => [ 'description' => 'Asia Pacific (Mumbai)', ], 'ap-south-2' => [ 'description' => 'Asia Pacific (Hyderabad)', ], 'ap-southeast-1' => [ 'description' => 'Asia Pacific (Singapore)', ], 'ap-southeast-2' => [ 'description' => 'Asia Pacific (Sydney)', ], 'ap-southeast-3' => [ 'description' => 'Asia Pacific (Jakarta)', ], 'ap-southeast-4' => [ 'description' => 'Asia Pacific (Melbourne)', ], 'ap-southeast-5' => [ 'description' => 'Asia Pacific (Malaysia)', ], 'aws-global' => [ 'description' => 'AWS Standard global region', ], 'ca-central-1' => [ 'description' => 'Canada (Central)', ], 'ca-west-1' => [ 'description' => 'Canada West (Calgary)', ], 'eu-central-1' => [ 'description' => 'Europe (Frankfurt)', ], 'eu-central-2' => [ 'description' => 'Europe (Zurich)', ], 'eu-north-1' => [ 'description' => 'Europe (Stockholm)', ], 'eu-south-1' => [ 'description' => 'Europe (Milan)', ], 'eu-south-2' => [ 'description' => 'Europe (Spain)', ], 'eu-west-1' => [ 'description' => 'Europe (Ireland)', ], 'eu-west-2' => [ 'description' => 'Europe (London)', ], 'eu-west-3' => [ 'description' => 'Europe (Paris)', ], 'il-central-1' => [ 'description' => 'Israel (Tel Aviv)', ], 'me-central-1' => [ 'description' => 'Middle East (UAE)', ], 'me-south-1' => [ 'description' => 'Middle East (Bahrain)', ], 'sa-east-1' => [ 'description' => 'South America (Sao Paulo)', ], 'us-east-1' => [ 'description' => 'US East (N. Virginia)', ], 'us-east-2' => [ 'description' => 'US East (Ohio)', ], 'us-west-1' => [ 'description' => 'US West (N. California)', ], 'us-west-2' => [ 'description' => 'US West (Oregon)', ], ], ], [ 'id' => 'aws-cn', 'outputs' => [ 'dnsSuffix' => 'amazonaws.com.cn', 'dualStackDnsSuffix' => 'api.amazonwebservices.com.cn', 'implicitGlobalRegion' => 'cn-northwest-1', 'name' => 'aws-cn', 'supportsDualStack' => true, 'supportsFIPS' => true, ], 'regionRegex' => '^cn\\-\\w+\\-\\d+$', 'regions' => [ 'aws-cn-global' => [ 'description' => 'AWS China global region', ], 'cn-north-1' => [ 'description' => 'China (Beijing)', ], 'cn-northwest-1' => [ 'description' => 'China (Ningxia)', ], ], ], [ 'id' => 'aws-us-gov', 'outputs' => [ 'dnsSuffix' => 'amazonaws.com', 'dualStackDnsSuffix' => 'api.aws', 'implicitGlobalRegion' => 'us-gov-west-1', 'name' => 'aws-us-gov', 'supportsDualStack' => true, 'supportsFIPS' => true, ], 'regionRegex' => '^us\\-gov\\-\\w+\\-\\d+$', 'regions' => [ 'aws-us-gov-global' => [ 'description' => 'AWS GovCloud (US) global region', ], 'us-gov-east-1' => [ 'description' => 'AWS GovCloud (US-East)', ], 'us-gov-west-1' => [ 'description' => 'AWS GovCloud (US-West)', ], ], ], [ 'id' => 'aws-iso', 'outputs' => [ 'dnsSuffix' => 'c2s.ic.gov', 'dualStackDnsSuffix' => 'c2s.ic.gov', 'implicitGlobalRegion' => 'us-iso-east-1', 'name' => 'aws-iso', 'supportsDualStack' => false, 'supportsFIPS' => true, ], 'regionRegex' => '^us\\-iso\\-\\w+\\-\\d+$', 'regions' => [ 'aws-iso-global' => [ 'description' => 'AWS ISO (US) global region', ], 'us-iso-east-1' => [ 'description' => 'US ISO East', ], 'us-iso-west-1' => [ 'description' => 'US ISO WEST', ], ], ], [ 'id' => 'aws-iso-b', 'outputs' => [ 'dnsSuffix' => 'sc2s.sgov.gov', 'dualStackDnsSuffix' => 'sc2s.sgov.gov', 'implicitGlobalRegion' => 'us-isob-east-1', 'name' => 'aws-iso-b', 'supportsDualStack' => false, 'supportsFIPS' => true, ], 'regionRegex' => '^us\\-isob\\-\\w+\\-\\d+$', 'regions' => [ 'aws-iso-b-global' => [ 'description' => 'AWS ISOB (US) global region', ], 'us-isob-east-1' => [ 'description' => 'US ISOB East (Ohio)', ], ], ], [ 'id' => 'aws-iso-e', 'outputs' => [ 'dnsSuffix' => 'cloud.adc-e.uk', 'dualStackDnsSuffix' => 'cloud.adc-e.uk', 'implicitGlobalRegion' => 'eu-isoe-west-1', 'name' => 'aws-iso-e', 'supportsDualStack' => false, 'supportsFIPS' => true, ], 'regionRegex' => '^eu\\-isoe\\-\\w+\\-\\d+$', 'regions' => [ 'eu-isoe-west-1' => [ 'description' => 'EU ISOE West', ], ], ], [ 'id' => 'aws-iso-f', 'outputs' => [ 'dnsSuffix' => 'csp.hci.ic.gov', 'dualStackDnsSuffix' => 'csp.hci.ic.gov', 'implicitGlobalRegion' => 'us-isof-south-1', 'name' => 'aws-iso-f', 'supportsDualStack' => false, 'supportsFIPS' => true, ], 'regionRegex' => '^us\\-isof\\-\\w+\\-\\d+$', 'regions' => [], ], ], 'version' => '1.1',];
|
||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
28
vendor/composer/installed.json
vendored
28
vendor/composer/installed.json
vendored
|
@ -288,17 +288,17 @@
|
|||
},
|
||||
{
|
||||
"name": "aws/aws-sdk-php",
|
||||
"version": "3.320.3",
|
||||
"version_normalized": "3.320.3.0",
|
||||
"version": "3.320.7",
|
||||
"version_normalized": "3.320.7.0",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/aws/aws-sdk-php.git",
|
||||
"reference": "afe137e61b0b536c93a71ce3bb3cdac2e92ae789"
|
||||
"reference": "702b9955160d2dacdf2cdf4d4476fcf95eae1aaf"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/aws/aws-sdk-php/zipball/afe137e61b0b536c93a71ce3bb3cdac2e92ae789",
|
||||
"reference": "afe137e61b0b536c93a71ce3bb3cdac2e92ae789",
|
||||
"url": "https://api.github.com/repos/aws/aws-sdk-php/zipball/702b9955160d2dacdf2cdf4d4476fcf95eae1aaf",
|
||||
"reference": "702b9955160d2dacdf2cdf4d4476fcf95eae1aaf",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
|
@ -339,7 +339,7 @@
|
|||
"ext-openssl": "Allows working with CloudFront private distributions and verifying received SNS messages",
|
||||
"ext-sockets": "To use client-side monitoring"
|
||||
},
|
||||
"time": "2024-08-19T18:05:46+00:00",
|
||||
"time": "2024-08-23T18:13:50+00:00",
|
||||
"type": "library",
|
||||
"extra": {
|
||||
"branch-alias": {
|
||||
|
@ -383,7 +383,7 @@
|
|||
"support": {
|
||||
"forum": "https://forums.aws.amazon.com/forum.jspa?forumID=80",
|
||||
"issues": "https://github.com/aws/aws-sdk-php/issues",
|
||||
"source": "https://github.com/aws/aws-sdk-php/tree/3.320.3"
|
||||
"source": "https://github.com/aws/aws-sdk-php/tree/3.320.7"
|
||||
},
|
||||
"install-path": "../aws/aws-sdk-php"
|
||||
},
|
||||
|
@ -1528,17 +1528,17 @@
|
|||
},
|
||||
{
|
||||
"name": "google/apiclient-services",
|
||||
"version": "v0.369.0",
|
||||
"version_normalized": "0.369.0.0",
|
||||
"version": "v0.370.0",
|
||||
"version_normalized": "0.370.0.0",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/googleapis/google-api-php-client-services.git",
|
||||
"reference": "002f610e4c3acf0636b4fb1f46314a2097e1c8b4"
|
||||
"reference": "25ad8515701dd832313d0f5f0a828670d60e541a"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/googleapis/google-api-php-client-services/zipball/002f610e4c3acf0636b4fb1f46314a2097e1c8b4",
|
||||
"reference": "002f610e4c3acf0636b4fb1f46314a2097e1c8b4",
|
||||
"url": "https://api.github.com/repos/googleapis/google-api-php-client-services/zipball/25ad8515701dd832313d0f5f0a828670d60e541a",
|
||||
"reference": "25ad8515701dd832313d0f5f0a828670d60e541a",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
|
@ -1547,7 +1547,7 @@
|
|||
"require-dev": {
|
||||
"phpunit/phpunit": "^9.6"
|
||||
},
|
||||
"time": "2024-08-14T20:31:16+00:00",
|
||||
"time": "2024-08-26T01:04:18+00:00",
|
||||
"type": "library",
|
||||
"installation-source": "dist",
|
||||
"autoload": {
|
||||
|
@ -1569,7 +1569,7 @@
|
|||
],
|
||||
"support": {
|
||||
"issues": "https://github.com/googleapis/google-api-php-client-services/issues",
|
||||
"source": "https://github.com/googleapis/google-api-php-client-services/tree/v0.369.0"
|
||||
"source": "https://github.com/googleapis/google-api-php-client-services/tree/v0.370.0"
|
||||
},
|
||||
"install-path": "../google/apiclient-services"
|
||||
},
|
||||
|
|
16
vendor/composer/installed.php
vendored
16
vendor/composer/installed.php
vendored
|
@ -5,7 +5,7 @@
|
|||
'type' => 'project',
|
||||
'install_path' => __DIR__ . '/../../',
|
||||
'aliases' => array(),
|
||||
'reference' => '91ac7ba0187c463139a1b2d19483ab2d8b74eab2',
|
||||
'reference' => '7b1f1b00fa0275f3cd36d4cd1ff649fb279e2b91',
|
||||
'name' => 'wwbn/avideo',
|
||||
'dev' => true,
|
||||
),
|
||||
|
@ -47,12 +47,12 @@
|
|||
'dev_requirement' => false,
|
||||
),
|
||||
'aws/aws-sdk-php' => array(
|
||||
'pretty_version' => '3.320.3',
|
||||
'version' => '3.320.3.0',
|
||||
'pretty_version' => '3.320.7',
|
||||
'version' => '3.320.7.0',
|
||||
'type' => 'library',
|
||||
'install_path' => __DIR__ . '/../aws/aws-sdk-php',
|
||||
'aliases' => array(),
|
||||
'reference' => 'afe137e61b0b536c93a71ce3bb3cdac2e92ae789',
|
||||
'reference' => '702b9955160d2dacdf2cdf4d4476fcf95eae1aaf',
|
||||
'dev_requirement' => false,
|
||||
),
|
||||
'beberlei/assert' => array(
|
||||
|
@ -218,12 +218,12 @@
|
|||
'dev_requirement' => false,
|
||||
),
|
||||
'google/apiclient-services' => array(
|
||||
'pretty_version' => 'v0.369.0',
|
||||
'version' => '0.369.0.0',
|
||||
'pretty_version' => 'v0.370.0',
|
||||
'version' => '0.370.0.0',
|
||||
'type' => 'library',
|
||||
'install_path' => __DIR__ . '/../google/apiclient-services',
|
||||
'aliases' => array(),
|
||||
'reference' => '002f610e4c3acf0636b4fb1f46314a2097e1c8b4',
|
||||
'reference' => '25ad8515701dd832313d0f5f0a828670d60e541a',
|
||||
'dev_requirement' => false,
|
||||
),
|
||||
'google/auth' => array(
|
||||
|
@ -932,7 +932,7 @@
|
|||
'type' => 'project',
|
||||
'install_path' => __DIR__ . '/../../',
|
||||
'aliases' => array(),
|
||||
'reference' => '91ac7ba0187c463139a1b2d19483ab2d8b74eab2',
|
||||
'reference' => '7b1f1b00fa0275f3cd36d4cd1ff649fb279e2b91',
|
||||
'dev_requirement' => false,
|
||||
),
|
||||
),
|
||||
|
|
|
@ -268,6 +268,16 @@ class AIPlatformNotebooks extends \Google\Service
|
|||
'required' => true,
|
||||
],
|
||||
],
|
||||
],'restore' => [
|
||||
'path' => 'v2/{+name}:restore',
|
||||
'httpMethod' => 'POST',
|
||||
'parameters' => [
|
||||
'name' => [
|
||||
'location' => 'path',
|
||||
'type' => 'string',
|
||||
'required' => true,
|
||||
],
|
||||
],
|
||||
],'rollback' => [
|
||||
'path' => 'v2/{+name}:rollback',
|
||||
'httpMethod' => 'POST',
|
||||
|
|
|
@ -27,6 +27,7 @@ use Google\Service\AIPlatformNotebooks\Policy;
|
|||
use Google\Service\AIPlatformNotebooks\ReportInstanceInfoSystemRequest;
|
||||
use Google\Service\AIPlatformNotebooks\ResetInstanceRequest;
|
||||
use Google\Service\AIPlatformNotebooks\ResizeDiskRequest;
|
||||
use Google\Service\AIPlatformNotebooks\RestoreInstanceRequest;
|
||||
use Google\Service\AIPlatformNotebooks\RollbackInstanceRequest;
|
||||
use Google\Service\AIPlatformNotebooks\SetIamPolicyRequest;
|
||||
use Google\Service\AIPlatformNotebooks\StartInstanceRequest;
|
||||
|
@ -274,6 +275,22 @@ class ProjectsLocationsInstances extends \Google\Service\Resource
|
|||
$params = array_merge($params, $optParams);
|
||||
return $this->call('resizeDisk', [$params], Operation::class);
|
||||
}
|
||||
/**
|
||||
* RestoreInstance restores an Instance from a BackupSource. (instances.restore)
|
||||
*
|
||||
* @param string $name Required. Format:
|
||||
* `projects/{project_id}/locations/{location}/instances/{instance_id}`
|
||||
* @param RestoreInstanceRequest $postBody
|
||||
* @param array $optParams Optional parameters.
|
||||
* @return Operation
|
||||
* @throws \Google\Service\Exception
|
||||
*/
|
||||
public function restore($name, RestoreInstanceRequest $postBody, $optParams = [])
|
||||
{
|
||||
$params = ['name' => $name, 'postBody' => $postBody];
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('restore', [$params], Operation::class);
|
||||
}
|
||||
/**
|
||||
* Rollbacks a notebook instance to the previous version. (instances.rollback)
|
||||
*
|
||||
|
|
42
vendor/google/apiclient-services/src/AIPlatformNotebooks/RestoreInstanceRequest.php
vendored
Normal file
42
vendor/google/apiclient-services/src/AIPlatformNotebooks/RestoreInstanceRequest.php
vendored
Normal file
|
@ -0,0 +1,42 @@
|
|||
<?php
|
||||
/*
|
||||
* Copyright 2014 Google Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||
* use this file except in compliance with the License. You may obtain a copy of
|
||||
* the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
* License for the specific language governing permissions and limitations under
|
||||
* the License.
|
||||
*/
|
||||
|
||||
namespace Google\Service\AIPlatformNotebooks;
|
||||
|
||||
class RestoreInstanceRequest extends \Google\Model
|
||||
{
|
||||
protected $snapshotType = Snapshot::class;
|
||||
protected $snapshotDataType = '';
|
||||
|
||||
/**
|
||||
* @param Snapshot
|
||||
*/
|
||||
public function setSnapshot(Snapshot $snapshot)
|
||||
{
|
||||
$this->snapshot = $snapshot;
|
||||
}
|
||||
/**
|
||||
* @return Snapshot
|
||||
*/
|
||||
public function getSnapshot()
|
||||
{
|
||||
return $this->snapshot;
|
||||
}
|
||||
}
|
||||
|
||||
// Adding a class alias for backwards compatibility with the previous class name.
|
||||
class_alias(RestoreInstanceRequest::class, 'Google_Service_AIPlatformNotebooks_RestoreInstanceRequest');
|
62
vendor/google/apiclient-services/src/AIPlatformNotebooks/Snapshot.php
vendored
Normal file
62
vendor/google/apiclient-services/src/AIPlatformNotebooks/Snapshot.php
vendored
Normal file
|
@ -0,0 +1,62 @@
|
|||
<?php
|
||||
/*
|
||||
* Copyright 2014 Google Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||
* use this file except in compliance with the License. You may obtain a copy of
|
||||
* the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
* License for the specific language governing permissions and limitations under
|
||||
* the License.
|
||||
*/
|
||||
|
||||
namespace Google\Service\AIPlatformNotebooks;
|
||||
|
||||
class Snapshot extends \Google\Model
|
||||
{
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $projectId;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $snapshotId;
|
||||
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setProjectId($projectId)
|
||||
{
|
||||
$this->projectId = $projectId;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getProjectId()
|
||||
{
|
||||
return $this->projectId;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setSnapshotId($snapshotId)
|
||||
{
|
||||
$this->snapshotId = $snapshotId;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getSnapshotId()
|
||||
{
|
||||
return $this->snapshotId;
|
||||
}
|
||||
}
|
||||
|
||||
// Adding a class alias for backwards compatibility with the previous class name.
|
||||
class_alias(Snapshot::class, 'Google_Service_AIPlatformNotebooks_Snapshot');
|
|
@ -31,6 +31,8 @@ class ApprovalRequest extends \Google\Model
|
|||
* @var string
|
||||
*/
|
||||
public $requestTime;
|
||||
protected $requestedAugmentedInfoType = AugmentedInfo::class;
|
||||
protected $requestedAugmentedInfoDataType = '';
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
|
@ -106,6 +108,20 @@ class ApprovalRequest extends \Google\Model
|
|||
{
|
||||
return $this->requestTime;
|
||||
}
|
||||
/**
|
||||
* @param AugmentedInfo
|
||||
*/
|
||||
public function setRequestedAugmentedInfo(AugmentedInfo $requestedAugmentedInfo)
|
||||
{
|
||||
$this->requestedAugmentedInfo = $requestedAugmentedInfo;
|
||||
}
|
||||
/**
|
||||
* @return AugmentedInfo
|
||||
*/
|
||||
public function getRequestedAugmentedInfo()
|
||||
{
|
||||
return $this->requestedAugmentedInfo;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
|
|
44
vendor/google/apiclient-services/src/AccessApproval/AugmentedInfo.php
vendored
Normal file
44
vendor/google/apiclient-services/src/AccessApproval/AugmentedInfo.php
vendored
Normal file
|
@ -0,0 +1,44 @@
|
|||
<?php
|
||||
/*
|
||||
* Copyright 2014 Google Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||
* use this file except in compliance with the License. You may obtain a copy of
|
||||
* the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
* License for the specific language governing permissions and limitations under
|
||||
* the License.
|
||||
*/
|
||||
|
||||
namespace Google\Service\AccessApproval;
|
||||
|
||||
class AugmentedInfo extends \Google\Model
|
||||
{
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $command;
|
||||
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setCommand($command)
|
||||
{
|
||||
$this->command = $command;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getCommand()
|
||||
{
|
||||
return $this->command;
|
||||
}
|
||||
}
|
||||
|
||||
// Adding a class alias for backwards compatibility with the previous class name.
|
||||
class_alias(AugmentedInfo::class, 'Google_Service_AccessApproval_AugmentedInfo');
|
|
@ -23,6 +23,10 @@ class TelephonyInfo extends \Google\Model
|
|||
* @var string
|
||||
*/
|
||||
public $carrierName;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $iccId;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
|
@ -42,6 +46,20 @@ class TelephonyInfo extends \Google\Model
|
|||
{
|
||||
return $this->carrierName;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setIccId($iccId)
|
||||
{
|
||||
$this->iccId = $iccId;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getIccId()
|
||||
{
|
||||
return $this->iccId;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
|
|
44
vendor/google/apiclient-services/src/AndroidPublisher/ExternalOfferInitialAcquisitionDetails.php
vendored
Normal file
44
vendor/google/apiclient-services/src/AndroidPublisher/ExternalOfferInitialAcquisitionDetails.php
vendored
Normal file
|
@ -0,0 +1,44 @@
|
|||
<?php
|
||||
/*
|
||||
* Copyright 2014 Google Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||
* use this file except in compliance with the License. You may obtain a copy of
|
||||
* the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
* License for the specific language governing permissions and limitations under
|
||||
* the License.
|
||||
*/
|
||||
|
||||
namespace Google\Service\AndroidPublisher;
|
||||
|
||||
class ExternalOfferInitialAcquisitionDetails extends \Google\Model
|
||||
{
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $externalTransactionId;
|
||||
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setExternalTransactionId($externalTransactionId)
|
||||
{
|
||||
$this->externalTransactionId = $externalTransactionId;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getExternalTransactionId()
|
||||
{
|
||||
return $this->externalTransactionId;
|
||||
}
|
||||
}
|
||||
|
||||
// Adding a class alias for backwards compatibility with the previous class name.
|
||||
class_alias(ExternalOfferInitialAcquisitionDetails::class, 'Google_Service_AndroidPublisher_ExternalOfferInitialAcquisitionDetails');
|
|
@ -27,6 +27,8 @@ class ExternalTransaction extends \Google\Model
|
|||
protected $currentPreTaxAmountDataType = '';
|
||||
protected $currentTaxAmountType = Price::class;
|
||||
protected $currentTaxAmountDataType = '';
|
||||
protected $externalOfferInitialAcquisitionDetailsType = ExternalOfferInitialAcquisitionDetails::class;
|
||||
protected $externalOfferInitialAcquisitionDetailsDataType = '';
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
|
@ -102,6 +104,20 @@ class ExternalTransaction extends \Google\Model
|
|||
{
|
||||
return $this->currentTaxAmount;
|
||||
}
|
||||
/**
|
||||
* @param ExternalOfferInitialAcquisitionDetails
|
||||
*/
|
||||
public function setExternalOfferInitialAcquisitionDetails(ExternalOfferInitialAcquisitionDetails $externalOfferInitialAcquisitionDetails)
|
||||
{
|
||||
$this->externalOfferInitialAcquisitionDetails = $externalOfferInitialAcquisitionDetails;
|
||||
}
|
||||
/**
|
||||
* @return ExternalOfferInitialAcquisitionDetails
|
||||
*/
|
||||
public function getExternalOfferInitialAcquisitionDetails()
|
||||
{
|
||||
return $this->externalOfferInitialAcquisitionDetails;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
|
|
|
@ -57,9 +57,8 @@ class EditsBundles extends \Google\Service\Resource
|
|||
* @param string $editId Identifier of the edit.
|
||||
* @param array $optParams Optional parameters.
|
||||
*
|
||||
* @opt_param bool ackBundleInstallationWarning Must be set to true if the app
|
||||
* bundle installation may trigger a warning on user devices (for example, if
|
||||
* installation size may be over a threshold, typically 100 MB).
|
||||
* @opt_param bool ackBundleInstallationWarning Deprecated. The installation
|
||||
* warning has been removed, it's not necessary to set this field anymore.
|
||||
* @opt_param string deviceTierConfigId Device tier config (DTC) to be used for
|
||||
* generating deliverables (APKs). Contains id of the DTC or "LATEST" for last
|
||||
* uploaded DTC.
|
||||
|
|
|
@ -19,9 +19,25 @@ namespace Google\Service\AndroidPublisher;
|
|||
|
||||
class RevocationContext extends \Google\Model
|
||||
{
|
||||
protected $fullRefundType = RevocationContextFullRefund::class;
|
||||
protected $fullRefundDataType = '';
|
||||
protected $proratedRefundType = RevocationContextProratedRefund::class;
|
||||
protected $proratedRefundDataType = '';
|
||||
|
||||
/**
|
||||
* @param RevocationContextFullRefund
|
||||
*/
|
||||
public function setFullRefund(RevocationContextFullRefund $fullRefund)
|
||||
{
|
||||
$this->fullRefund = $fullRefund;
|
||||
}
|
||||
/**
|
||||
* @return RevocationContextFullRefund
|
||||
*/
|
||||
public function getFullRefund()
|
||||
{
|
||||
return $this->fullRefund;
|
||||
}
|
||||
/**
|
||||
* @param RevocationContextProratedRefund
|
||||
*/
|
||||
|
|
25
vendor/google/apiclient-services/src/AndroidPublisher/RevocationContextFullRefund.php
vendored
Normal file
25
vendor/google/apiclient-services/src/AndroidPublisher/RevocationContextFullRefund.php
vendored
Normal file
|
@ -0,0 +1,25 @@
|
|||
<?php
|
||||
/*
|
||||
* Copyright 2014 Google Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||
* use this file except in compliance with the License. You may obtain a copy of
|
||||
* the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
* License for the specific language governing permissions and limitations under
|
||||
* the License.
|
||||
*/
|
||||
|
||||
namespace Google\Service\AndroidPublisher;
|
||||
|
||||
class RevocationContextFullRefund extends \Google\Model
|
||||
{
|
||||
}
|
||||
|
||||
// Adding a class alias for backwards compatibility with the previous class name.
|
||||
class_alias(RevocationContextFullRefund::class, 'Google_Service_AndroidPublisher_RevocationContextFullRefund');
|
|
@ -85,11 +85,33 @@ class ProjectsLocationsRepositoriesFiles extends \Google\Service\Resource
|
|||
*
|
||||
* @opt_param string filter An expression for filtering the results of the
|
||||
* request. Filter rules are case insensitive. The fields eligible for filtering
|
||||
* are: * `name` * `owner` An example of using a filter: *
|
||||
* `name="projects/p1/locations/us-central1/repositories/repo1/files/a/b"` -->
|
||||
* Files with an ID starting with "a/b/". * `owner="projects/p1/locations/us-
|
||||
* central1/repositories/repo1/packages/pkg1/versions/1.0"` --> Files owned by
|
||||
* the version `1.0` in package `pkg1`.
|
||||
* are: * `name` * `owner` * `annotations` Examples of using a filter: To filter
|
||||
* the results of your request to files with the name "my_file.txt" in project
|
||||
* my-project in the us-central region, in repository my-repo, append the
|
||||
* following filter expression to your request: * `name="projects/my-
|
||||
* project/locations/us-central1/repositories/my-repo/files/my-file.txt"` You
|
||||
* can also use wildcards to match any number of characters before or after the
|
||||
* value: * `name="projects/my-project/locations/us-central1/repositories/my-
|
||||
* repo/files/my-*"` * `name="projects/my-project/locations/us-
|
||||
* central1/repositories/my-repo/filesfile.txt"` * `name="projects/my-
|
||||
* project/locations/us-central1/repositories/my-repo/filesfile*"` To filter the
|
||||
* results of your request to files owned by the version `1.0` in package
|
||||
* `pkg1`, append the following filter expression to your request: *
|
||||
* `owner="projects/my-project/locations/us-central1/repositories/my-
|
||||
* repo/packages/my-package/versions/1.0"` To filter the results of your request
|
||||
* to files with the annotation key-value pair
|
||||
* [`external_link`:`external_link_value`], append the following filter
|
||||
* expression to your request: * "annotations.external_link:external_link_value"
|
||||
* To filter just for a specific annotation key `external_link`, append the
|
||||
* following filter expression to your request: * "annotations.external_link" If
|
||||
* the annotation key or value contains special characters, you can escape them
|
||||
* by surrounding the value with backticks. For example, to filter the results
|
||||
* of your request to files with the annotation key-value pair
|
||||
* [`external.link`:`https://example.com/my-file`], append the following filter
|
||||
* expression to your request: *
|
||||
* "annotations.`external.link`:`https://example.com/my-file`" You can also
|
||||
* filter with annotations with a wildcard to match any number of characters
|
||||
* before or after the value: * "annotations.*_link:`*example.com*`"
|
||||
* @opt_param string orderBy The field to order the results by.
|
||||
* @opt_param int pageSize The maximum number of files to return. Maximum page
|
||||
* size is 1,000.
|
||||
|
|
|
@ -87,10 +87,22 @@ class ProjectsLocationsRepositoriesPackagesTags extends \Google\Service\Resource
|
|||
*
|
||||
* @opt_param string filter An expression for filtering the results of the
|
||||
* request. Filter rules are case insensitive. The fields eligible for filtering
|
||||
* are: * `version` An example of using a filter: *
|
||||
* `version="projects/p1/locations/us-
|
||||
* central1/repositories/repo1/packages/pkg1/versions/1.0"` --> Tags that are
|
||||
* applied to the version `1.0` in package `pkg1`.
|
||||
* are: * `name` * `version` Examples of using a filter: To filter the results
|
||||
* of your request to tags with the name "my-tag" in package "my-package" in
|
||||
* repository "my-repo" in project "my-project" in the us-central region, append
|
||||
* the following filter expression to your request: * `name="projects/my-
|
||||
* project/locations/us-central1/repositories/my-repo/packages/my-
|
||||
* package/tags/my-tag"` You can also use wildcards to match any number of
|
||||
* characters before or after the value: * `name="projects/my-
|
||||
* project/locations/us-central1/repositories/my-repo/packages/my-
|
||||
* package/tags/my*"` * `name="projects/my-project/locations/us-
|
||||
* central1/repositories/my-repo/packages/my-package/tagstag"` *
|
||||
* `name="projects/my-project/locations/us-central1/repositories/my-
|
||||
* repo/packages/my-package/tagstag*"` To filter the results of your request to
|
||||
* tags applied to the version `1.0` in package `my-package`, append the
|
||||
* following filter expression to your request: * `version="projects/my-
|
||||
* project/locations/us-central1/repositories/my-repo/packages/my-
|
||||
* package/versions/1.0"`
|
||||
* @opt_param int pageSize The maximum number of tags to return. Maximum page
|
||||
* size is 1,000.
|
||||
* @opt_param string pageToken The next_page_token value returned from a
|
||||
|
|
|
@ -72,6 +72,10 @@ class GoogleCloudAssuredworkloadsV1Workload extends \Google\Collection
|
|||
public $partner;
|
||||
protected $partnerPermissionsType = GoogleCloudAssuredworkloadsV1WorkloadPartnerPermissions::class;
|
||||
protected $partnerPermissionsDataType = '';
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $partnerServicesBillingAccount;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
|
@ -301,6 +305,20 @@ class GoogleCloudAssuredworkloadsV1Workload extends \Google\Collection
|
|||
{
|
||||
return $this->partnerPermissions;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setPartnerServicesBillingAccount($partnerServicesBillingAccount)
|
||||
{
|
||||
$this->partnerServicesBillingAccount = $partnerServicesBillingAccount;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getPartnerServicesBillingAccount()
|
||||
{
|
||||
return $this->partnerServicesBillingAccount;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
|
|
|
@ -23,14 +23,6 @@ class BackupRule extends \Google\Model
|
|||
* @var int
|
||||
*/
|
||||
public $backupRetentionDays;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $backupVault;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $backupVaultServiceAccount;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
|
@ -52,34 +44,6 @@ class BackupRule extends \Google\Model
|
|||
{
|
||||
return $this->backupRetentionDays;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setBackupVault($backupVault)
|
||||
{
|
||||
$this->backupVault = $backupVault;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getBackupVault()
|
||||
{
|
||||
return $this->backupVault;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setBackupVaultServiceAccount($backupVaultServiceAccount)
|
||||
{
|
||||
$this->backupVaultServiceAccount = $backupVaultServiceAccount;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getBackupVaultServiceAccount()
|
||||
{
|
||||
return $this->backupVaultServiceAccount;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
|
|
|
@ -47,10 +47,6 @@ class BackupVault extends \Google\Model
|
|||
* @var string
|
||||
*/
|
||||
public $effectiveTime;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $enforcedRetentionDuration;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
|
@ -182,20 +178,6 @@ class BackupVault extends \Google\Model
|
|||
{
|
||||
return $this->effectiveTime;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setEnforcedRetentionDuration($enforcedRetentionDuration)
|
||||
{
|
||||
$this->enforcedRetentionDuration = $enforcedRetentionDuration;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getEnforcedRetentionDuration()
|
||||
{
|
||||
return $this->enforcedRetentionDuration;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
|
|
|
@ -19,10 +19,6 @@ namespace Google\Service\Backupdr;
|
|||
|
||||
class RuleConfigInfo extends \Google\Model
|
||||
{
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $dataSource;
|
||||
protected $lastBackupErrorType = Status::class;
|
||||
protected $lastBackupErrorDataType = '';
|
||||
/**
|
||||
|
@ -38,20 +34,6 @@ class RuleConfigInfo extends \Google\Model
|
|||
*/
|
||||
public $ruleId;
|
||||
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setDataSource($dataSource)
|
||||
{
|
||||
$this->dataSource = $dataSource;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getDataSource()
|
||||
{
|
||||
return $this->dataSource;
|
||||
}
|
||||
/**
|
||||
* @param Status
|
||||
*/
|
||||
|
|
|
@ -19,6 +19,10 @@ namespace Google\Service\Batch;
|
|||
|
||||
class InstancePolicyOrTemplate extends \Google\Model
|
||||
{
|
||||
/**
|
||||
* @var bool
|
||||
*/
|
||||
public $blockProjectSshKeys;
|
||||
/**
|
||||
* @var bool
|
||||
*/
|
||||
|
@ -34,6 +38,20 @@ class InstancePolicyOrTemplate extends \Google\Model
|
|||
protected $policyType = InstancePolicy::class;
|
||||
protected $policyDataType = '';
|
||||
|
||||
/**
|
||||
* @param bool
|
||||
*/
|
||||
public function setBlockProjectSshKeys($blockProjectSshKeys)
|
||||
{
|
||||
$this->blockProjectSshKeys = $blockProjectSshKeys;
|
||||
}
|
||||
/**
|
||||
* @return bool
|
||||
*/
|
||||
public function getBlockProjectSshKeys()
|
||||
{
|
||||
return $this->blockProjectSshKeys;
|
||||
}
|
||||
/**
|
||||
* @param bool
|
||||
*/
|
||||
|
|
44
vendor/google/apiclient-services/src/Bigquery/DataPolicyOption.php
vendored
Normal file
44
vendor/google/apiclient-services/src/Bigquery/DataPolicyOption.php
vendored
Normal file
|
@ -0,0 +1,44 @@
|
|||
<?php
|
||||
/*
|
||||
* Copyright 2014 Google Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||
* use this file except in compliance with the License. You may obtain a copy of
|
||||
* the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
* License for the specific language governing permissions and limitations under
|
||||
* the License.
|
||||
*/
|
||||
|
||||
namespace Google\Service\Bigquery;
|
||||
|
||||
class DataPolicyOption extends \Google\Model
|
||||
{
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $name;
|
||||
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setName($name)
|
||||
{
|
||||
$this->name = $name;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getName()
|
||||
{
|
||||
return $this->name;
|
||||
}
|
||||
}
|
||||
|
||||
// Adding a class alias for backwards compatibility with the previous class name.
|
||||
class_alias(DataPolicyOption::class, 'Google_Service_Bigquery_DataPolicyOption');
|
|
@ -26,6 +26,8 @@ class TableFieldSchema extends \Google\Collection
|
|||
* @var string
|
||||
*/
|
||||
public $collation;
|
||||
protected $dataPoliciesType = DataPolicyOption::class;
|
||||
protected $dataPoliciesDataType = 'array';
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
|
@ -40,8 +42,6 @@ class TableFieldSchema extends \Google\Collection
|
|||
* @var string
|
||||
*/
|
||||
public $foreignTypeDefinition;
|
||||
protected $identityColumnInfoType = IdentityColumnInfo::class;
|
||||
protected $identityColumnInfoDataType = '';
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
|
@ -103,6 +103,20 @@ class TableFieldSchema extends \Google\Collection
|
|||
{
|
||||
return $this->collation;
|
||||
}
|
||||
/**
|
||||
* @param DataPolicyOption[]
|
||||
*/
|
||||
public function setDataPolicies($dataPolicies)
|
||||
{
|
||||
$this->dataPolicies = $dataPolicies;
|
||||
}
|
||||
/**
|
||||
* @return DataPolicyOption[]
|
||||
*/
|
||||
public function getDataPolicies()
|
||||
{
|
||||
return $this->dataPolicies;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
|
@ -159,20 +173,6 @@ class TableFieldSchema extends \Google\Collection
|
|||
{
|
||||
return $this->foreignTypeDefinition;
|
||||
}
|
||||
/**
|
||||
* @param IdentityColumnInfo
|
||||
*/
|
||||
public function setIdentityColumnInfo(IdentityColumnInfo $identityColumnInfo)
|
||||
{
|
||||
$this->identityColumnInfo = $identityColumnInfo;
|
||||
}
|
||||
/**
|
||||
* @return IdentityColumnInfo
|
||||
*/
|
||||
public function getIdentityColumnInfo()
|
||||
{
|
||||
return $this->identityColumnInfo;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
|
|
|
@ -19,6 +19,10 @@ namespace Google\Service\BigtableAdmin;
|
|||
|
||||
class Backup extends \Google\Model
|
||||
{
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $backupType;
|
||||
protected $encryptionInfoType = EncryptionInfo::class;
|
||||
protected $encryptionInfoDataType = '';
|
||||
/**
|
||||
|
@ -29,6 +33,10 @@ class Backup extends \Google\Model
|
|||
* @var string
|
||||
*/
|
||||
public $expireTime;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $hotToStandardTime;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
|
@ -54,6 +62,20 @@ class Backup extends \Google\Model
|
|||
*/
|
||||
public $state;
|
||||
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setBackupType($backupType)
|
||||
{
|
||||
$this->backupType = $backupType;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getBackupType()
|
||||
{
|
||||
return $this->backupType;
|
||||
}
|
||||
/**
|
||||
* @param EncryptionInfo
|
||||
*/
|
||||
|
@ -96,6 +118,20 @@ class Backup extends \Google\Model
|
|||
{
|
||||
return $this->expireTime;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setHotToStandardTime($hotToStandardTime)
|
||||
{
|
||||
$this->hotToStandardTime = $hotToStandardTime;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getHotToStandardTime()
|
||||
{
|
||||
return $this->hotToStandardTime;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
|
|
|
@ -38,6 +38,10 @@ class CertificateDescription extends \Google\Collection
|
|||
protected $subjectDescriptionDataType = '';
|
||||
protected $subjectKeyIdType = KeyId::class;
|
||||
protected $subjectKeyIdDataType = '';
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $tbsCertificateDigest;
|
||||
protected $x509DescriptionType = X509Parameters::class;
|
||||
protected $x509DescriptionDataType = '';
|
||||
|
||||
|
@ -139,6 +143,20 @@ class CertificateDescription extends \Google\Collection
|
|||
{
|
||||
return $this->subjectKeyId;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setTbsCertificateDigest($tbsCertificateDigest)
|
||||
{
|
||||
$this->tbsCertificateDigest = $tbsCertificateDigest;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getTbsCertificateDigest()
|
||||
{
|
||||
return $this->tbsCertificateDigest;
|
||||
}
|
||||
/**
|
||||
* @param X509Parameters
|
||||
*/
|
||||
|
|
|
@ -40,7 +40,7 @@ class CustomersTelemetryUsers extends \Google\Service\Resource
|
|||
* Supported read_mask paths are: - name - org_unit_id - user_id - user_email -
|
||||
* user_device.device_id - user_device.audio_status_report -
|
||||
* user_device.device_activity_report - user_device.network_bandwidth_report -
|
||||
* user_device.peripherals_report
|
||||
* user_device.peripherals_report - user_device.app_report
|
||||
* @return GoogleChromeManagementV1TelemetryUser
|
||||
* @throws \Google\Service\Exception
|
||||
*/
|
||||
|
@ -66,7 +66,7 @@ class CustomersTelemetryUsers extends \Google\Service\Resource
|
|||
* Supported read_mask paths are: - name - org_unit_id - user_id - user_email -
|
||||
* user_device.device_id - user_device.audio_status_report -
|
||||
* user_device.device_activity_report - user_device.network_bandwidth_report -
|
||||
* user_device.peripherals_report
|
||||
* user_device.peripherals_report - user_device.app_report
|
||||
* @return GoogleChromeManagementV1ListTelemetryUsersResponse
|
||||
* @throws \Google\Service\Exception
|
||||
*/
|
||||
|
|
131
vendor/google/apiclient-services/src/CloudAlloyDBAdmin/ClusterUpgradeDetails.php
vendored
Normal file
131
vendor/google/apiclient-services/src/CloudAlloyDBAdmin/ClusterUpgradeDetails.php
vendored
Normal file
|
@ -0,0 +1,131 @@
|
|||
<?php
|
||||
/*
|
||||
* Copyright 2014 Google Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||
* use this file except in compliance with the License. You may obtain a copy of
|
||||
* the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
* License for the specific language governing permissions and limitations under
|
||||
* the License.
|
||||
*/
|
||||
|
||||
namespace Google\Service\CloudAlloyDBAdmin;
|
||||
|
||||
class ClusterUpgradeDetails extends \Google\Collection
|
||||
{
|
||||
protected $collection_key = 'stageInfo';
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $clusterType;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $databaseVersion;
|
||||
protected $instanceUpgradeDetailsType = InstanceUpgradeDetails::class;
|
||||
protected $instanceUpgradeDetailsDataType = 'array';
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $name;
|
||||
protected $stageInfoType = StageInfo::class;
|
||||
protected $stageInfoDataType = 'array';
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $upgradeStatus;
|
||||
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setClusterType($clusterType)
|
||||
{
|
||||
$this->clusterType = $clusterType;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getClusterType()
|
||||
{
|
||||
return $this->clusterType;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setDatabaseVersion($databaseVersion)
|
||||
{
|
||||
$this->databaseVersion = $databaseVersion;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getDatabaseVersion()
|
||||
{
|
||||
return $this->databaseVersion;
|
||||
}
|
||||
/**
|
||||
* @param InstanceUpgradeDetails[]
|
||||
*/
|
||||
public function setInstanceUpgradeDetails($instanceUpgradeDetails)
|
||||
{
|
||||
$this->instanceUpgradeDetails = $instanceUpgradeDetails;
|
||||
}
|
||||
/**
|
||||
* @return InstanceUpgradeDetails[]
|
||||
*/
|
||||
public function getInstanceUpgradeDetails()
|
||||
{
|
||||
return $this->instanceUpgradeDetails;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setName($name)
|
||||
{
|
||||
$this->name = $name;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getName()
|
||||
{
|
||||
return $this->name;
|
||||
}
|
||||
/**
|
||||
* @param StageInfo[]
|
||||
*/
|
||||
public function setStageInfo($stageInfo)
|
||||
{
|
||||
$this->stageInfo = $stageInfo;
|
||||
}
|
||||
/**
|
||||
* @return StageInfo[]
|
||||
*/
|
||||
public function getStageInfo()
|
||||
{
|
||||
return $this->stageInfo;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setUpgradeStatus($upgradeStatus)
|
||||
{
|
||||
$this->upgradeStatus = $upgradeStatus;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getUpgradeStatus()
|
||||
{
|
||||
return $this->upgradeStatus;
|
||||
}
|
||||
}
|
||||
|
||||
// Adding a class alias for backwards compatibility with the previous class name.
|
||||
class_alias(ClusterUpgradeDetails::class, 'Google_Service_CloudAlloyDBAdmin_ClusterUpgradeDetails');
|
80
vendor/google/apiclient-services/src/CloudAlloyDBAdmin/InstanceUpgradeDetails.php
vendored
Normal file
80
vendor/google/apiclient-services/src/CloudAlloyDBAdmin/InstanceUpgradeDetails.php
vendored
Normal file
|
@ -0,0 +1,80 @@
|
|||
<?php
|
||||
/*
|
||||
* Copyright 2014 Google Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||
* use this file except in compliance with the License. You may obtain a copy of
|
||||
* the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
* License for the specific language governing permissions and limitations under
|
||||
* the License.
|
||||
*/
|
||||
|
||||
namespace Google\Service\CloudAlloyDBAdmin;
|
||||
|
||||
class InstanceUpgradeDetails extends \Google\Model
|
||||
{
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $instanceType;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $name;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $upgradeStatus;
|
||||
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setInstanceType($instanceType)
|
||||
{
|
||||
$this->instanceType = $instanceType;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getInstanceType()
|
||||
{
|
||||
return $this->instanceType;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setName($name)
|
||||
{
|
||||
$this->name = $name;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getName()
|
||||
{
|
||||
return $this->name;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setUpgradeStatus($upgradeStatus)
|
||||
{
|
||||
$this->upgradeStatus = $upgradeStatus;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getUpgradeStatus()
|
||||
{
|
||||
return $this->upgradeStatus;
|
||||
}
|
||||
}
|
||||
|
||||
// Adding a class alias for backwards compatibility with the previous class name.
|
||||
class_alias(InstanceUpgradeDetails::class, 'Google_Service_CloudAlloyDBAdmin_InstanceUpgradeDetails');
|
|
@ -17,8 +17,13 @@
|
|||
|
||||
namespace Google\Service\CloudAlloyDBAdmin;
|
||||
|
||||
class RestartInstanceRequest extends \Google\Model
|
||||
class RestartInstanceRequest extends \Google\Collection
|
||||
{
|
||||
protected $collection_key = 'nodeIds';
|
||||
/**
|
||||
* @var string[]
|
||||
*/
|
||||
public $nodeIds;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
|
@ -28,6 +33,20 @@ class RestartInstanceRequest extends \Google\Model
|
|||
*/
|
||||
public $validateOnly;
|
||||
|
||||
/**
|
||||
* @param string[]
|
||||
*/
|
||||
public function setNodeIds($nodeIds)
|
||||
{
|
||||
$this->nodeIds = $nodeIds;
|
||||
}
|
||||
/**
|
||||
* @return string[]
|
||||
*/
|
||||
public function getNodeIds()
|
||||
{
|
||||
return $this->nodeIds;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
|
|
80
vendor/google/apiclient-services/src/CloudAlloyDBAdmin/StageInfo.php
vendored
Normal file
80
vendor/google/apiclient-services/src/CloudAlloyDBAdmin/StageInfo.php
vendored
Normal file
|
@ -0,0 +1,80 @@
|
|||
<?php
|
||||
/*
|
||||
* Copyright 2014 Google Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||
* use this file except in compliance with the License. You may obtain a copy of
|
||||
* the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
* License for the specific language governing permissions and limitations under
|
||||
* the License.
|
||||
*/
|
||||
|
||||
namespace Google\Service\CloudAlloyDBAdmin;
|
||||
|
||||
class StageInfo extends \Google\Model
|
||||
{
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $logsUrl;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $stage;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $status;
|
||||
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setLogsUrl($logsUrl)
|
||||
{
|
||||
$this->logsUrl = $logsUrl;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getLogsUrl()
|
||||
{
|
||||
return $this->logsUrl;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setStage($stage)
|
||||
{
|
||||
$this->stage = $stage;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getStage()
|
||||
{
|
||||
return $this->stage;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setStatus($status)
|
||||
{
|
||||
$this->status = $status;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getStatus()
|
||||
{
|
||||
return $this->status;
|
||||
}
|
||||
}
|
||||
|
||||
// Adding a class alias for backwards compatibility with the previous class name.
|
||||
class_alias(StageInfo::class, 'Google_Service_CloudAlloyDBAdmin_StageInfo');
|
|
@ -19,23 +19,23 @@ namespace Google\Service\CloudAlloyDBAdmin;
|
|||
|
||||
class StorageDatabasecenterPartnerapiV1mainCustomMetadataData extends \Google\Collection
|
||||
{
|
||||
protected $collection_key = 'databaseMetadata';
|
||||
protected $databaseMetadataType = StorageDatabasecenterPartnerapiV1mainDatabaseMetadata::class;
|
||||
protected $databaseMetadataDataType = 'array';
|
||||
protected $collection_key = 'internalResourceMetadata';
|
||||
protected $internalResourceMetadataType = StorageDatabasecenterPartnerapiV1mainInternalResourceMetadata::class;
|
||||
protected $internalResourceMetadataDataType = 'array';
|
||||
|
||||
/**
|
||||
* @param StorageDatabasecenterPartnerapiV1mainDatabaseMetadata[]
|
||||
* @param StorageDatabasecenterPartnerapiV1mainInternalResourceMetadata[]
|
||||
*/
|
||||
public function setDatabaseMetadata($databaseMetadata)
|
||||
public function setInternalResourceMetadata($internalResourceMetadata)
|
||||
{
|
||||
$this->databaseMetadata = $databaseMetadata;
|
||||
$this->internalResourceMetadata = $internalResourceMetadata;
|
||||
}
|
||||
/**
|
||||
* @return StorageDatabasecenterPartnerapiV1mainDatabaseMetadata[]
|
||||
* @return StorageDatabasecenterPartnerapiV1mainInternalResourceMetadata[]
|
||||
*/
|
||||
public function getDatabaseMetadata()
|
||||
public function getInternalResourceMetadata()
|
||||
{
|
||||
return $this->databaseMetadata;
|
||||
return $this->internalResourceMetadata;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -62,6 +62,10 @@ class StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData exte
|
|||
* @var string
|
||||
*/
|
||||
public $signalId;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $signalSeverity;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
|
@ -225,6 +229,20 @@ class StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData exte
|
|||
{
|
||||
return $this->signalId;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setSignalSeverity($signalSeverity)
|
||||
{
|
||||
$this->signalSeverity = $signalSeverity;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getSignalSeverity()
|
||||
{
|
||||
return $this->signalSeverity;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
|
|
|
@ -0,0 +1,108 @@
|
|||
<?php
|
||||
/*
|
||||
* Copyright 2014 Google Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||
* use this file except in compliance with the License. You may obtain a copy of
|
||||
* the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
* License for the specific language governing permissions and limitations under
|
||||
* the License.
|
||||
*/
|
||||
|
||||
namespace Google\Service\CloudAlloyDBAdmin;
|
||||
|
||||
class StorageDatabasecenterPartnerapiV1mainInternalResourceMetadata extends \Google\Model
|
||||
{
|
||||
protected $backupConfigurationType = StorageDatabasecenterPartnerapiV1mainBackupConfiguration::class;
|
||||
protected $backupConfigurationDataType = '';
|
||||
protected $backupRunType = StorageDatabasecenterPartnerapiV1mainBackupRun::class;
|
||||
protected $backupRunDataType = '';
|
||||
protected $productType = StorageDatabasecenterProtoCommonProduct::class;
|
||||
protected $productDataType = '';
|
||||
protected $resourceIdType = StorageDatabasecenterPartnerapiV1mainDatabaseResourceId::class;
|
||||
protected $resourceIdDataType = '';
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $resourceName;
|
||||
|
||||
/**
|
||||
* @param StorageDatabasecenterPartnerapiV1mainBackupConfiguration
|
||||
*/
|
||||
public function setBackupConfiguration(StorageDatabasecenterPartnerapiV1mainBackupConfiguration $backupConfiguration)
|
||||
{
|
||||
$this->backupConfiguration = $backupConfiguration;
|
||||
}
|
||||
/**
|
||||
* @return StorageDatabasecenterPartnerapiV1mainBackupConfiguration
|
||||
*/
|
||||
public function getBackupConfiguration()
|
||||
{
|
||||
return $this->backupConfiguration;
|
||||
}
|
||||
/**
|
||||
* @param StorageDatabasecenterPartnerapiV1mainBackupRun
|
||||
*/
|
||||
public function setBackupRun(StorageDatabasecenterPartnerapiV1mainBackupRun $backupRun)
|
||||
{
|
||||
$this->backupRun = $backupRun;
|
||||
}
|
||||
/**
|
||||
* @return StorageDatabasecenterPartnerapiV1mainBackupRun
|
||||
*/
|
||||
public function getBackupRun()
|
||||
{
|
||||
return $this->backupRun;
|
||||
}
|
||||
/**
|
||||
* @param StorageDatabasecenterProtoCommonProduct
|
||||
*/
|
||||
public function setProduct(StorageDatabasecenterProtoCommonProduct $product)
|
||||
{
|
||||
$this->product = $product;
|
||||
}
|
||||
/**
|
||||
* @return StorageDatabasecenterProtoCommonProduct
|
||||
*/
|
||||
public function getProduct()
|
||||
{
|
||||
return $this->product;
|
||||
}
|
||||
/**
|
||||
* @param StorageDatabasecenterPartnerapiV1mainDatabaseResourceId
|
||||
*/
|
||||
public function setResourceId(StorageDatabasecenterPartnerapiV1mainDatabaseResourceId $resourceId)
|
||||
{
|
||||
$this->resourceId = $resourceId;
|
||||
}
|
||||
/**
|
||||
* @return StorageDatabasecenterPartnerapiV1mainDatabaseResourceId
|
||||
*/
|
||||
public function getResourceId()
|
||||
{
|
||||
return $this->resourceId;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setResourceName($resourceName)
|
||||
{
|
||||
$this->resourceName = $resourceName;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getResourceName()
|
||||
{
|
||||
return $this->resourceName;
|
||||
}
|
||||
}
|
||||
|
||||
// Adding a class alias for backwards compatibility with the previous class name.
|
||||
class_alias(StorageDatabasecenterPartnerapiV1mainInternalResourceMetadata::class, 'Google_Service_CloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainInternalResourceMetadata');
|
|
@ -23,6 +23,10 @@ class TrialMetadata extends \Google\Model
|
|||
* @var string
|
||||
*/
|
||||
public $endTime;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $graceEndTime;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
|
@ -46,6 +50,20 @@ class TrialMetadata extends \Google\Model
|
|||
{
|
||||
return $this->endTime;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setGraceEndTime($graceEndTime)
|
||||
{
|
||||
$this->graceEndTime = $graceEndTime;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getGraceEndTime()
|
||||
{
|
||||
return $this->graceEndTime;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
|
|
79
vendor/google/apiclient-services/src/CloudAlloyDBAdmin/UpgradeClusterResponse.php
vendored
Normal file
79
vendor/google/apiclient-services/src/CloudAlloyDBAdmin/UpgradeClusterResponse.php
vendored
Normal file
|
@ -0,0 +1,79 @@
|
|||
<?php
|
||||
/*
|
||||
* Copyright 2014 Google Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||
* use this file except in compliance with the License. You may obtain a copy of
|
||||
* the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
* License for the specific language governing permissions and limitations under
|
||||
* the License.
|
||||
*/
|
||||
|
||||
namespace Google\Service\CloudAlloyDBAdmin;
|
||||
|
||||
class UpgradeClusterResponse extends \Google\Collection
|
||||
{
|
||||
protected $collection_key = 'clusterUpgradeDetails';
|
||||
protected $clusterUpgradeDetailsType = ClusterUpgradeDetails::class;
|
||||
protected $clusterUpgradeDetailsDataType = 'array';
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $message;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $status;
|
||||
|
||||
/**
|
||||
* @param ClusterUpgradeDetails[]
|
||||
*/
|
||||
public function setClusterUpgradeDetails($clusterUpgradeDetails)
|
||||
{
|
||||
$this->clusterUpgradeDetails = $clusterUpgradeDetails;
|
||||
}
|
||||
/**
|
||||
* @return ClusterUpgradeDetails[]
|
||||
*/
|
||||
public function getClusterUpgradeDetails()
|
||||
{
|
||||
return $this->clusterUpgradeDetails;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setMessage($message)
|
||||
{
|
||||
$this->message = $message;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getMessage()
|
||||
{
|
||||
return $this->message;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setStatus($status)
|
||||
{
|
||||
$this->status = $status;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getStatus()
|
||||
{
|
||||
return $this->status;
|
||||
}
|
||||
}
|
||||
|
||||
// Adding a class alias for backwards compatibility with the previous class name.
|
||||
class_alias(UpgradeClusterResponse::class, 'Google_Service_CloudAlloyDBAdmin_UpgradeClusterResponse');
|
|
@ -201,7 +201,27 @@ class CloudAsset extends \Google\Service
|
|||
'operations',
|
||||
[
|
||||
'methods' => [
|
||||
'get' => [
|
||||
'cancel' => [
|
||||
'path' => 'v1/{+name}:cancel',
|
||||
'httpMethod' => 'POST',
|
||||
'parameters' => [
|
||||
'name' => [
|
||||
'location' => 'path',
|
||||
'type' => 'string',
|
||||
'required' => true,
|
||||
],
|
||||
],
|
||||
],'delete' => [
|
||||
'path' => 'v1/{+name}',
|
||||
'httpMethod' => 'DELETE',
|
||||
'parameters' => [
|
||||
'name' => [
|
||||
'location' => 'path',
|
||||
'type' => 'string',
|
||||
'required' => true,
|
||||
],
|
||||
],
|
||||
],'get' => [
|
||||
'path' => 'v1/{+name}',
|
||||
'httpMethod' => 'GET',
|
||||
'parameters' => [
|
||||
|
|
42
vendor/google/apiclient-services/src/CloudAsset/AssetEnrichment.php
vendored
Normal file
42
vendor/google/apiclient-services/src/CloudAsset/AssetEnrichment.php
vendored
Normal file
|
@ -0,0 +1,42 @@
|
|||
<?php
|
||||
/*
|
||||
* Copyright 2014 Google Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||
* use this file except in compliance with the License. You may obtain a copy of
|
||||
* the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
* License for the specific language governing permissions and limitations under
|
||||
* the License.
|
||||
*/
|
||||
|
||||
namespace Google\Service\CloudAsset;
|
||||
|
||||
class AssetEnrichment extends \Google\Model
|
||||
{
|
||||
protected $resourceOwnersType = ResourceOwners::class;
|
||||
protected $resourceOwnersDataType = '';
|
||||
|
||||
/**
|
||||
* @param ResourceOwners
|
||||
*/
|
||||
public function setResourceOwners(ResourceOwners $resourceOwners)
|
||||
{
|
||||
$this->resourceOwners = $resourceOwners;
|
||||
}
|
||||
/**
|
||||
* @return ResourceOwners
|
||||
*/
|
||||
public function getResourceOwners()
|
||||
{
|
||||
return $this->resourceOwners;
|
||||
}
|
||||
}
|
||||
|
||||
// Adding a class alias for backwards compatibility with the previous class name.
|
||||
class_alias(AssetEnrichment::class, 'Google_Service_CloudAsset_AssetEnrichment');
|
25
vendor/google/apiclient-services/src/CloudAsset/CancelOperationRequest.php
vendored
Normal file
25
vendor/google/apiclient-services/src/CloudAsset/CancelOperationRequest.php
vendored
Normal file
|
@ -0,0 +1,25 @@
|
|||
<?php
|
||||
/*
|
||||
* Copyright 2014 Google Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||
* use this file except in compliance with the License. You may obtain a copy of
|
||||
* the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
* License for the specific language governing permissions and limitations under
|
||||
* the License.
|
||||
*/
|
||||
|
||||
namespace Google\Service\CloudAsset;
|
||||
|
||||
class CancelOperationRequest extends \Google\Model
|
||||
{
|
||||
}
|
||||
|
||||
// Adding a class alias for backwards compatibility with the previous class name.
|
||||
class_alias(CancelOperationRequest::class, 'Google_Service_CloudAsset_CancelOperationRequest');
|
|
@ -17,6 +17,8 @@
|
|||
|
||||
namespace Google\Service\CloudAsset\Resource;
|
||||
|
||||
use Google\Service\CloudAsset\CancelOperationRequest;
|
||||
use Google\Service\CloudAsset\CloudassetEmpty;
|
||||
use Google\Service\CloudAsset\Operation;
|
||||
|
||||
/**
|
||||
|
@ -29,6 +31,46 @@ use Google\Service\CloudAsset\Operation;
|
|||
*/
|
||||
class Operations extends \Google\Service\Resource
|
||||
{
|
||||
/**
|
||||
* Starts asynchronous cancellation on a long-running operation. The server
|
||||
* makes a best effort to cancel the operation, but success is not guaranteed.
|
||||
* If the server doesn't support this method, it returns
|
||||
* `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or
|
||||
* other methods to check whether the cancellation succeeded or whether the
|
||||
* operation completed despite cancellation. On successful cancellation, the
|
||||
* operation is not deleted; instead, it becomes an operation with an
|
||||
* Operation.error value with a google.rpc.Status.code of 1, corresponding to
|
||||
* `Code.CANCELLED`. (operations.cancel)
|
||||
*
|
||||
* @param string $name The name of the operation resource to be cancelled.
|
||||
* @param CancelOperationRequest $postBody
|
||||
* @param array $optParams Optional parameters.
|
||||
* @return CloudassetEmpty
|
||||
* @throws \Google\Service\Exception
|
||||
*/
|
||||
public function cancel($name, CancelOperationRequest $postBody, $optParams = [])
|
||||
{
|
||||
$params = ['name' => $name, 'postBody' => $postBody];
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('cancel', [$params], CloudassetEmpty::class);
|
||||
}
|
||||
/**
|
||||
* Deletes a long-running operation. This method indicates that the client is no
|
||||
* longer interested in the operation result. It does not cancel the operation.
|
||||
* If the server doesn't support this method, it returns
|
||||
* `google.rpc.Code.UNIMPLEMENTED`. (operations.delete)
|
||||
*
|
||||
* @param string $name The name of the operation resource to be deleted.
|
||||
* @param array $optParams Optional parameters.
|
||||
* @return CloudassetEmpty
|
||||
* @throws \Google\Service\Exception
|
||||
*/
|
||||
public function delete($name, $optParams = [])
|
||||
{
|
||||
$params = ['name' => $name];
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('delete', [$params], CloudassetEmpty::class);
|
||||
}
|
||||
/**
|
||||
* Gets the latest state of a long-running operation. Clients can use this
|
||||
* method to poll the operation result at intervals as recommended by the API
|
||||
|
|
45
vendor/google/apiclient-services/src/CloudAsset/ResourceOwners.php
vendored
Normal file
45
vendor/google/apiclient-services/src/CloudAsset/ResourceOwners.php
vendored
Normal file
|
@ -0,0 +1,45 @@
|
|||
<?php
|
||||
/*
|
||||
* Copyright 2014 Google Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||
* use this file except in compliance with the License. You may obtain a copy of
|
||||
* the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
* License for the specific language governing permissions and limitations under
|
||||
* the License.
|
||||
*/
|
||||
|
||||
namespace Google\Service\CloudAsset;
|
||||
|
||||
class ResourceOwners extends \Google\Collection
|
||||
{
|
||||
protected $collection_key = 'resourceOwners';
|
||||
/**
|
||||
* @var string[]
|
||||
*/
|
||||
public $resourceOwners;
|
||||
|
||||
/**
|
||||
* @param string[]
|
||||
*/
|
||||
public function setResourceOwners($resourceOwners)
|
||||
{
|
||||
$this->resourceOwners = $resourceOwners;
|
||||
}
|
||||
/**
|
||||
* @return string[]
|
||||
*/
|
||||
public function getResourceOwners()
|
||||
{
|
||||
return $this->resourceOwners;
|
||||
}
|
||||
}
|
||||
|
||||
// Adding a class alias for backwards compatibility with the previous class name.
|
||||
class_alias(ResourceOwners::class, 'Google_Service_CloudAsset_ResourceOwners');
|
|
@ -44,6 +44,8 @@ class ResourceSearchResult extends \Google\Collection
|
|||
public $displayName;
|
||||
protected $effectiveTagsType = EffectiveTagDetails::class;
|
||||
protected $effectiveTagsDataType = 'array';
|
||||
protected $enrichmentsType = AssetEnrichment::class;
|
||||
protected $enrichmentsDataType = 'array';
|
||||
/**
|
||||
* @var string[]
|
||||
*/
|
||||
|
@ -217,6 +219,20 @@ class ResourceSearchResult extends \Google\Collection
|
|||
{
|
||||
return $this->effectiveTags;
|
||||
}
|
||||
/**
|
||||
* @param AssetEnrichment[]
|
||||
*/
|
||||
public function setEnrichments($enrichments)
|
||||
{
|
||||
$this->enrichments = $enrichments;
|
||||
}
|
||||
/**
|
||||
* @return AssetEnrichment[]
|
||||
*/
|
||||
public function getEnrichments()
|
||||
{
|
||||
return $this->enrichments;
|
||||
}
|
||||
/**
|
||||
* @param string[]
|
||||
*/
|
||||
|
|
|
@ -39,6 +39,7 @@ class CloudDataplex extends \Google\Service
|
|||
"https://www.googleapis.com/auth/cloud-platform";
|
||||
|
||||
public $organizations_locations_encryptionConfigs;
|
||||
public $organizations_locations_operations;
|
||||
public $projects_locations;
|
||||
public $projects_locations_aspectTypes;
|
||||
public $projects_locations_dataAttributeBindings;
|
||||
|
@ -48,8 +49,11 @@ class CloudDataplex extends \Google\Service
|
|||
public $projects_locations_dataTaxonomies_attributes;
|
||||
public $projects_locations_entryGroups;
|
||||
public $projects_locations_entryGroups_entries;
|
||||
public $projects_locations_entryLinkTypes;
|
||||
public $projects_locations_entryTypes;
|
||||
public $projects_locations_glossaries;
|
||||
public $projects_locations_glossaries_categories;
|
||||
public $projects_locations_glossaries_terms;
|
||||
public $projects_locations_governanceRules;
|
||||
public $projects_locations_lakes;
|
||||
public $projects_locations_lakes_actions;
|
||||
|
@ -130,6 +134,68 @@ class CloudDataplex extends \Google\Service
|
|||
]
|
||||
]
|
||||
);
|
||||
$this->organizations_locations_operations = new CloudDataplex\Resource\OrganizationsLocationsOperations(
|
||||
$this,
|
||||
$this->serviceName,
|
||||
'operations',
|
||||
[
|
||||
'methods' => [
|
||||
'cancel' => [
|
||||
'path' => 'v1/{+name}:cancel',
|
||||
'httpMethod' => 'POST',
|
||||
'parameters' => [
|
||||
'name' => [
|
||||
'location' => 'path',
|
||||
'type' => 'string',
|
||||
'required' => true,
|
||||
],
|
||||
],
|
||||
],'delete' => [
|
||||
'path' => 'v1/{+name}',
|
||||
'httpMethod' => 'DELETE',
|
||||
'parameters' => [
|
||||
'name' => [
|
||||
'location' => 'path',
|
||||
'type' => 'string',
|
||||
'required' => true,
|
||||
],
|
||||
],
|
||||
],'get' => [
|
||||
'path' => 'v1/{+name}',
|
||||
'httpMethod' => 'GET',
|
||||
'parameters' => [
|
||||
'name' => [
|
||||
'location' => 'path',
|
||||
'type' => 'string',
|
||||
'required' => true,
|
||||
],
|
||||
],
|
||||
],'listOperations' => [
|
||||
'path' => 'v1/{+name}',
|
||||
'httpMethod' => 'GET',
|
||||
'parameters' => [
|
||||
'name' => [
|
||||
'location' => 'path',
|
||||
'type' => 'string',
|
||||
'required' => true,
|
||||
],
|
||||
'filter' => [
|
||||
'location' => 'query',
|
||||
'type' => 'string',
|
||||
],
|
||||
'pageSize' => [
|
||||
'location' => 'query',
|
||||
'type' => 'integer',
|
||||
],
|
||||
'pageToken' => [
|
||||
'location' => 'query',
|
||||
'type' => 'string',
|
||||
],
|
||||
],
|
||||
],
|
||||
]
|
||||
]
|
||||
);
|
||||
$this->projects_locations = new CloudDataplex\Resource\ProjectsLocations(
|
||||
$this,
|
||||
$this->serviceName,
|
||||
|
@ -1193,6 +1259,50 @@ class CloudDataplex extends \Google\Service
|
|||
]
|
||||
]
|
||||
);
|
||||
$this->projects_locations_entryLinkTypes = new CloudDataplex\Resource\ProjectsLocationsEntryLinkTypes(
|
||||
$this,
|
||||
$this->serviceName,
|
||||
'entryLinkTypes',
|
||||
[
|
||||
'methods' => [
|
||||
'getIamPolicy' => [
|
||||
'path' => 'v1/{+resource}:getIamPolicy',
|
||||
'httpMethod' => 'GET',
|
||||
'parameters' => [
|
||||
'resource' => [
|
||||
'location' => 'path',
|
||||
'type' => 'string',
|
||||
'required' => true,
|
||||
],
|
||||
'options.requestedPolicyVersion' => [
|
||||
'location' => 'query',
|
||||
'type' => 'integer',
|
||||
],
|
||||
],
|
||||
],'setIamPolicy' => [
|
||||
'path' => 'v1/{+resource}:setIamPolicy',
|
||||
'httpMethod' => 'POST',
|
||||
'parameters' => [
|
||||
'resource' => [
|
||||
'location' => 'path',
|
||||
'type' => 'string',
|
||||
'required' => true,
|
||||
],
|
||||
],
|
||||
],'testIamPermissions' => [
|
||||
'path' => 'v1/{+resource}:testIamPermissions',
|
||||
'httpMethod' => 'POST',
|
||||
'parameters' => [
|
||||
'resource' => [
|
||||
'location' => 'path',
|
||||
'type' => 'string',
|
||||
'required' => true,
|
||||
],
|
||||
],
|
||||
],
|
||||
]
|
||||
]
|
||||
);
|
||||
$this->projects_locations_entryTypes = new CloudDataplex\Resource\ProjectsLocationsEntryTypes(
|
||||
$this,
|
||||
$this->serviceName,
|
||||
|
@ -1367,6 +1477,94 @@ class CloudDataplex extends \Google\Service
|
|||
]
|
||||
]
|
||||
);
|
||||
$this->projects_locations_glossaries_categories = new CloudDataplex\Resource\ProjectsLocationsGlossariesCategories(
|
||||
$this,
|
||||
$this->serviceName,
|
||||
'categories',
|
||||
[
|
||||
'methods' => [
|
||||
'getIamPolicy' => [
|
||||
'path' => 'v1/{+resource}:getIamPolicy',
|
||||
'httpMethod' => 'GET',
|
||||
'parameters' => [
|
||||
'resource' => [
|
||||
'location' => 'path',
|
||||
'type' => 'string',
|
||||
'required' => true,
|
||||
],
|
||||
'options.requestedPolicyVersion' => [
|
||||
'location' => 'query',
|
||||
'type' => 'integer',
|
||||
],
|
||||
],
|
||||
],'setIamPolicy' => [
|
||||
'path' => 'v1/{+resource}:setIamPolicy',
|
||||
'httpMethod' => 'POST',
|
||||
'parameters' => [
|
||||
'resource' => [
|
||||
'location' => 'path',
|
||||
'type' => 'string',
|
||||
'required' => true,
|
||||
],
|
||||
],
|
||||
],'testIamPermissions' => [
|
||||
'path' => 'v1/{+resource}:testIamPermissions',
|
||||
'httpMethod' => 'POST',
|
||||
'parameters' => [
|
||||
'resource' => [
|
||||
'location' => 'path',
|
||||
'type' => 'string',
|
||||
'required' => true,
|
||||
],
|
||||
],
|
||||
],
|
||||
]
|
||||
]
|
||||
);
|
||||
$this->projects_locations_glossaries_terms = new CloudDataplex\Resource\ProjectsLocationsGlossariesTerms(
|
||||
$this,
|
||||
$this->serviceName,
|
||||
'terms',
|
||||
[
|
||||
'methods' => [
|
||||
'getIamPolicy' => [
|
||||
'path' => 'v1/{+resource}:getIamPolicy',
|
||||
'httpMethod' => 'GET',
|
||||
'parameters' => [
|
||||
'resource' => [
|
||||
'location' => 'path',
|
||||
'type' => 'string',
|
||||
'required' => true,
|
||||
],
|
||||
'options.requestedPolicyVersion' => [
|
||||
'location' => 'query',
|
||||
'type' => 'integer',
|
||||
],
|
||||
],
|
||||
],'setIamPolicy' => [
|
||||
'path' => 'v1/{+resource}:setIamPolicy',
|
||||
'httpMethod' => 'POST',
|
||||
'parameters' => [
|
||||
'resource' => [
|
||||
'location' => 'path',
|
||||
'type' => 'string',
|
||||
'required' => true,
|
||||
],
|
||||
],
|
||||
],'testIamPermissions' => [
|
||||
'path' => 'v1/{+resource}:testIamPermissions',
|
||||
'httpMethod' => 'POST',
|
||||
'parameters' => [
|
||||
'resource' => [
|
||||
'location' => 'path',
|
||||
'type' => 'string',
|
||||
'required' => true,
|
||||
],
|
||||
],
|
||||
],
|
||||
]
|
||||
]
|
||||
);
|
||||
$this->projects_locations_governanceRules = new CloudDataplex\Resource\ProjectsLocationsGovernanceRules(
|
||||
$this,
|
||||
$this->serviceName,
|
||||
|
|
|
@ -0,0 +1,109 @@
|
|||
<?php
|
||||
/*
|
||||
* Copyright 2014 Google Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||
* use this file except in compliance with the License. You may obtain a copy of
|
||||
* the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
* License for the specific language governing permissions and limitations under
|
||||
* the License.
|
||||
*/
|
||||
|
||||
namespace Google\Service\CloudDataplex;
|
||||
|
||||
class CloudReliabilityZicyWs3DataplaneProtosAssetLocation extends \Google\Collection
|
||||
{
|
||||
protected $collection_key = 'parentAsset';
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $ccfeRmsPath;
|
||||
protected $expectedType = CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectations::class;
|
||||
protected $expectedDataType = '';
|
||||
protected $extraParametersType = CloudReliabilityZicyWs3DataplaneProtosExtraParameter::class;
|
||||
protected $extraParametersDataType = 'array';
|
||||
protected $locationDataType = CloudReliabilityZicyWs3DataplaneProtosLocationData::class;
|
||||
protected $locationDataDataType = 'array';
|
||||
protected $parentAssetType = CloudReliabilityZicyWs3DataplaneProtosCloudAsset::class;
|
||||
protected $parentAssetDataType = 'array';
|
||||
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setCcfeRmsPath($ccfeRmsPath)
|
||||
{
|
||||
$this->ccfeRmsPath = $ccfeRmsPath;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getCcfeRmsPath()
|
||||
{
|
||||
return $this->ccfeRmsPath;
|
||||
}
|
||||
/**
|
||||
* @param CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectations
|
||||
*/
|
||||
public function setExpected(CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectations $expected)
|
||||
{
|
||||
$this->expected = $expected;
|
||||
}
|
||||
/**
|
||||
* @return CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectations
|
||||
*/
|
||||
public function getExpected()
|
||||
{
|
||||
return $this->expected;
|
||||
}
|
||||
/**
|
||||
* @param CloudReliabilityZicyWs3DataplaneProtosExtraParameter[]
|
||||
*/
|
||||
public function setExtraParameters($extraParameters)
|
||||
{
|
||||
$this->extraParameters = $extraParameters;
|
||||
}
|
||||
/**
|
||||
* @return CloudReliabilityZicyWs3DataplaneProtosExtraParameter[]
|
||||
*/
|
||||
public function getExtraParameters()
|
||||
{
|
||||
return $this->extraParameters;
|
||||
}
|
||||
/**
|
||||
* @param CloudReliabilityZicyWs3DataplaneProtosLocationData[]
|
||||
*/
|
||||
public function setLocationData($locationData)
|
||||
{
|
||||
$this->locationData = $locationData;
|
||||
}
|
||||
/**
|
||||
* @return CloudReliabilityZicyWs3DataplaneProtosLocationData[]
|
||||
*/
|
||||
public function getLocationData()
|
||||
{
|
||||
return $this->locationData;
|
||||
}
|
||||
/**
|
||||
* @param CloudReliabilityZicyWs3DataplaneProtosCloudAsset[]
|
||||
*/
|
||||
public function setParentAsset($parentAsset)
|
||||
{
|
||||
$this->parentAsset = $parentAsset;
|
||||
}
|
||||
/**
|
||||
* @return CloudReliabilityZicyWs3DataplaneProtosCloudAsset[]
|
||||
*/
|
||||
public function getParentAsset()
|
||||
{
|
||||
return $this->parentAsset;
|
||||
}
|
||||
}
|
||||
|
||||
// Adding a class alias for backwards compatibility with the previous class name.
|
||||
class_alias(CloudReliabilityZicyWs3DataplaneProtosAssetLocation::class, 'Google_Service_CloudDataplex_CloudReliabilityZicyWs3DataplaneProtosAssetLocation');
|
|
@ -0,0 +1,168 @@
|
|||
<?php
|
||||
/*
|
||||
* Copyright 2014 Google Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||
* use this file except in compliance with the License. You may obtain a copy of
|
||||
* the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
* License for the specific language governing permissions and limitations under
|
||||
* the License.
|
||||
*/
|
||||
|
||||
namespace Google\Service\CloudDataplex;
|
||||
|
||||
class CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectations extends \Google\Model
|
||||
{
|
||||
protected $requirementOverrideType = CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectationsRequirementOverride::class;
|
||||
protected $requirementOverrideDataType = '';
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $ziOrgPolicy;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $ziRegionPolicy;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $ziRegionState;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $zoneIsolation;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $zoneSeparation;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $zsOrgPolicy;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $zsRegionState;
|
||||
|
||||
/**
|
||||
* @param CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectationsRequirementOverride
|
||||
*/
|
||||
public function setRequirementOverride(CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectationsRequirementOverride $requirementOverride)
|
||||
{
|
||||
$this->requirementOverride = $requirementOverride;
|
||||
}
|
||||
/**
|
||||
* @return CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectationsRequirementOverride
|
||||
*/
|
||||
public function getRequirementOverride()
|
||||
{
|
||||
return $this->requirementOverride;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setZiOrgPolicy($ziOrgPolicy)
|
||||
{
|
||||
$this->ziOrgPolicy = $ziOrgPolicy;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getZiOrgPolicy()
|
||||
{
|
||||
return $this->ziOrgPolicy;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setZiRegionPolicy($ziRegionPolicy)
|
||||
{
|
||||
$this->ziRegionPolicy = $ziRegionPolicy;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getZiRegionPolicy()
|
||||
{
|
||||
return $this->ziRegionPolicy;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setZiRegionState($ziRegionState)
|
||||
{
|
||||
$this->ziRegionState = $ziRegionState;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getZiRegionState()
|
||||
{
|
||||
return $this->ziRegionState;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setZoneIsolation($zoneIsolation)
|
||||
{
|
||||
$this->zoneIsolation = $zoneIsolation;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getZoneIsolation()
|
||||
{
|
||||
return $this->zoneIsolation;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setZoneSeparation($zoneSeparation)
|
||||
{
|
||||
$this->zoneSeparation = $zoneSeparation;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getZoneSeparation()
|
||||
{
|
||||
return $this->zoneSeparation;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setZsOrgPolicy($zsOrgPolicy)
|
||||
{
|
||||
$this->zsOrgPolicy = $zsOrgPolicy;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getZsOrgPolicy()
|
||||
{
|
||||
return $this->zsOrgPolicy;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setZsRegionState($zsRegionState)
|
||||
{
|
||||
$this->zsRegionState = $zsRegionState;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getZsRegionState()
|
||||
{
|
||||
return $this->zsRegionState;
|
||||
}
|
||||
}
|
||||
|
||||
// Adding a class alias for backwards compatibility with the previous class name.
|
||||
class_alias(CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectations::class, 'Google_Service_CloudDataplex_CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectations');
|
|
@ -0,0 +1,62 @@
|
|||
<?php
|
||||
/*
|
||||
* Copyright 2014 Google Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||
* use this file except in compliance with the License. You may obtain a copy of
|
||||
* the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
* License for the specific language governing permissions and limitations under
|
||||
* the License.
|
||||
*/
|
||||
|
||||
namespace Google\Service\CloudDataplex;
|
||||
|
||||
class CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectationsRequirementOverride extends \Google\Model
|
||||
{
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $ziOverride;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $zsOverride;
|
||||
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setZiOverride($ziOverride)
|
||||
{
|
||||
$this->ziOverride = $ziOverride;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getZiOverride()
|
||||
{
|
||||
return $this->ziOverride;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setZsOverride($zsOverride)
|
||||
{
|
||||
$this->zsOverride = $zsOverride;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getZsOverride()
|
||||
{
|
||||
return $this->zsOverride;
|
||||
}
|
||||
}
|
||||
|
||||
// Adding a class alias for backwards compatibility with the previous class name.
|
||||
class_alias(CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectationsRequirementOverride::class, 'Google_Service_CloudDataplex_CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectationsRequirementOverride');
|
|
@ -0,0 +1,45 @@
|
|||
<?php
|
||||
/*
|
||||
* Copyright 2014 Google Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||
* use this file except in compliance with the License. You may obtain a copy of
|
||||
* the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
* License for the specific language governing permissions and limitations under
|
||||
* the License.
|
||||
*/
|
||||
|
||||
namespace Google\Service\CloudDataplex;
|
||||
|
||||
class CloudReliabilityZicyWs3DataplaneProtosBlobstoreLocation extends \Google\Collection
|
||||
{
|
||||
protected $collection_key = 'policyId';
|
||||
/**
|
||||
* @var string[]
|
||||
*/
|
||||
public $policyId;
|
||||
|
||||
/**
|
||||
* @param string[]
|
||||
*/
|
||||
public function setPolicyId($policyId)
|
||||
{
|
||||
$this->policyId = $policyId;
|
||||
}
|
||||
/**
|
||||
* @return string[]
|
||||
*/
|
||||
public function getPolicyId()
|
||||
{
|
||||
return $this->policyId;
|
||||
}
|
||||
}
|
||||
|
||||
// Adding a class alias for backwards compatibility with the previous class name.
|
||||
class_alias(CloudReliabilityZicyWs3DataplaneProtosBlobstoreLocation::class, 'Google_Service_CloudDataplex_CloudReliabilityZicyWs3DataplaneProtosBlobstoreLocation');
|
|
@ -0,0 +1,62 @@
|
|||
<?php
|
||||
/*
|
||||
* Copyright 2014 Google Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||
* use this file except in compliance with the License. You may obtain a copy of
|
||||
* the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
* License for the specific language governing permissions and limitations under
|
||||
* the License.
|
||||
*/
|
||||
|
||||
namespace Google\Service\CloudDataplex;
|
||||
|
||||
class CloudReliabilityZicyWs3DataplaneProtosCloudAsset extends \Google\Model
|
||||
{
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $assetName;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $assetType;
|
||||
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setAssetName($assetName)
|
||||
{
|
||||
$this->assetName = $assetName;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getAssetName()
|
||||
{
|
||||
return $this->assetName;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setAssetType($assetType)
|
||||
{
|
||||
$this->assetType = $assetType;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getAssetType()
|
||||
{
|
||||
return $this->assetType;
|
||||
}
|
||||
}
|
||||
|
||||
// Adding a class alias for backwards compatibility with the previous class name.
|
||||
class_alias(CloudReliabilityZicyWs3DataplaneProtosCloudAsset::class, 'Google_Service_CloudDataplex_CloudReliabilityZicyWs3DataplaneProtosCloudAsset');
|
|
@ -0,0 +1,43 @@
|
|||
<?php
|
||||
/*
|
||||
* Copyright 2014 Google Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||
* use this file except in compliance with the License. You may obtain a copy of
|
||||
* the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
* License for the specific language governing permissions and limitations under
|
||||
* the License.
|
||||
*/
|
||||
|
||||
namespace Google\Service\CloudDataplex;
|
||||
|
||||
class CloudReliabilityZicyWs3DataplaneProtosCloudAssetComposition extends \Google\Collection
|
||||
{
|
||||
protected $collection_key = 'childAsset';
|
||||
protected $childAssetType = CloudReliabilityZicyWs3DataplaneProtosCloudAsset::class;
|
||||
protected $childAssetDataType = 'array';
|
||||
|
||||
/**
|
||||
* @param CloudReliabilityZicyWs3DataplaneProtosCloudAsset[]
|
||||
*/
|
||||
public function setChildAsset($childAsset)
|
||||
{
|
||||
$this->childAsset = $childAsset;
|
||||
}
|
||||
/**
|
||||
* @return CloudReliabilityZicyWs3DataplaneProtosCloudAsset[]
|
||||
*/
|
||||
public function getChildAsset()
|
||||
{
|
||||
return $this->childAsset;
|
||||
}
|
||||
}
|
||||
|
||||
// Adding a class alias for backwards compatibility with the previous class name.
|
||||
class_alias(CloudReliabilityZicyWs3DataplaneProtosCloudAssetComposition::class, 'Google_Service_CloudDataplex_CloudReliabilityZicyWs3DataplaneProtosCloudAssetComposition');
|
|
@ -0,0 +1,43 @@
|
|||
<?php
|
||||
/*
|
||||
* Copyright 2014 Google Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||
* use this file except in compliance with the License. You may obtain a copy of
|
||||
* the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
* License for the specific language governing permissions and limitations under
|
||||
* the License.
|
||||
*/
|
||||
|
||||
namespace Google\Service\CloudDataplex;
|
||||
|
||||
class CloudReliabilityZicyWs3DataplaneProtosDirectLocationAssignment extends \Google\Collection
|
||||
{
|
||||
protected $collection_key = 'location';
|
||||
protected $locationType = CloudReliabilityZicyWs3DataplaneProtosLocationAssignment::class;
|
||||
protected $locationDataType = 'array';
|
||||
|
||||
/**
|
||||
* @param CloudReliabilityZicyWs3DataplaneProtosLocationAssignment[]
|
||||
*/
|
||||
public function setLocation($location)
|
||||
{
|
||||
$this->location = $location;
|
||||
}
|
||||
/**
|
||||
* @return CloudReliabilityZicyWs3DataplaneProtosLocationAssignment[]
|
||||
*/
|
||||
public function getLocation()
|
||||
{
|
||||
return $this->location;
|
||||
}
|
||||
}
|
||||
|
||||
// Adding a class alias for backwards compatibility with the previous class name.
|
||||
class_alias(CloudReliabilityZicyWs3DataplaneProtosDirectLocationAssignment::class, 'Google_Service_CloudDataplex_CloudReliabilityZicyWs3DataplaneProtosDirectLocationAssignment');
|
|
@ -0,0 +1,42 @@
|
|||
<?php
|
||||
/*
|
||||
* Copyright 2014 Google Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||
* use this file except in compliance with the License. You may obtain a copy of
|
||||
* the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
* License for the specific language governing permissions and limitations under
|
||||
* the License.
|
||||
*/
|
||||
|
||||
namespace Google\Service\CloudDataplex;
|
||||
|
||||
class CloudReliabilityZicyWs3DataplaneProtosExtraParameter extends \Google\Model
|
||||
{
|
||||
protected $regionalMigDistributionPolicyType = CloudReliabilityZicyWs3DataplaneProtosRegionalMigDistributionPolicy::class;
|
||||
protected $regionalMigDistributionPolicyDataType = '';
|
||||
|
||||
/**
|
||||
* @param CloudReliabilityZicyWs3DataplaneProtosRegionalMigDistributionPolicy
|
||||
*/
|
||||
public function setRegionalMigDistributionPolicy(CloudReliabilityZicyWs3DataplaneProtosRegionalMigDistributionPolicy $regionalMigDistributionPolicy)
|
||||
{
|
||||
$this->regionalMigDistributionPolicy = $regionalMigDistributionPolicy;
|
||||
}
|
||||
/**
|
||||
* @return CloudReliabilityZicyWs3DataplaneProtosRegionalMigDistributionPolicy
|
||||
*/
|
||||
public function getRegionalMigDistributionPolicy()
|
||||
{
|
||||
return $this->regionalMigDistributionPolicy;
|
||||
}
|
||||
}
|
||||
|
||||
// Adding a class alias for backwards compatibility with the previous class name.
|
||||
class_alias(CloudReliabilityZicyWs3DataplaneProtosExtraParameter::class, 'Google_Service_CloudDataplex_CloudReliabilityZicyWs3DataplaneProtosExtraParameter');
|
|
@ -0,0 +1,62 @@
|
|||
<?php
|
||||
/*
|
||||
* Copyright 2014 Google Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||
* use this file except in compliance with the License. You may obtain a copy of
|
||||
* the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
* License for the specific language governing permissions and limitations under
|
||||
* the License.
|
||||
*/
|
||||
|
||||
namespace Google\Service\CloudDataplex;
|
||||
|
||||
class CloudReliabilityZicyWs3DataplaneProtosLocationAssignment extends \Google\Model
|
||||
{
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $location;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $locationType;
|
||||
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setLocation($location)
|
||||
{
|
||||
$this->location = $location;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getLocation()
|
||||
{
|
||||
return $this->location;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setLocationType($locationType)
|
||||
{
|
||||
$this->locationType = $locationType;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getLocationType()
|
||||
{
|
||||
return $this->locationType;
|
||||
}
|
||||
}
|
||||
|
||||
// Adding a class alias for backwards compatibility with the previous class name.
|
||||
class_alias(CloudReliabilityZicyWs3DataplaneProtosLocationAssignment::class, 'Google_Service_CloudDataplex_CloudReliabilityZicyWs3DataplaneProtosLocationAssignment');
|
|
@ -0,0 +1,122 @@
|
|||
<?php
|
||||
/*
|
||||
* Copyright 2014 Google Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||
* use this file except in compliance with the License. You may obtain a copy of
|
||||
* the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
* License for the specific language governing permissions and limitations under
|
||||
* the License.
|
||||
*/
|
||||
|
||||
namespace Google\Service\CloudDataplex;
|
||||
|
||||
class CloudReliabilityZicyWs3DataplaneProtosLocationData extends \Google\Model
|
||||
{
|
||||
protected $blobstoreLocationType = CloudReliabilityZicyWs3DataplaneProtosBlobstoreLocation::class;
|
||||
protected $blobstoreLocationDataType = '';
|
||||
protected $childAssetLocationType = CloudReliabilityZicyWs3DataplaneProtosCloudAssetComposition::class;
|
||||
protected $childAssetLocationDataType = '';
|
||||
protected $directLocationType = CloudReliabilityZicyWs3DataplaneProtosDirectLocationAssignment::class;
|
||||
protected $directLocationDataType = '';
|
||||
protected $gcpProjectProxyType = CloudReliabilityZicyWs3DataplaneProtosTenantProjectProxy::class;
|
||||
protected $gcpProjectProxyDataType = '';
|
||||
protected $placerLocationType = CloudReliabilityZicyWs3DataplaneProtosPlacerLocation::class;
|
||||
protected $placerLocationDataType = '';
|
||||
protected $spannerLocationType = CloudReliabilityZicyWs3DataplaneProtosSpannerLocation::class;
|
||||
protected $spannerLocationDataType = '';
|
||||
|
||||
/**
|
||||
* @param CloudReliabilityZicyWs3DataplaneProtosBlobstoreLocation
|
||||
*/
|
||||
public function setBlobstoreLocation(CloudReliabilityZicyWs3DataplaneProtosBlobstoreLocation $blobstoreLocation)
|
||||
{
|
||||
$this->blobstoreLocation = $blobstoreLocation;
|
||||
}
|
||||
/**
|
||||
* @return CloudReliabilityZicyWs3DataplaneProtosBlobstoreLocation
|
||||
*/
|
||||
public function getBlobstoreLocation()
|
||||
{
|
||||
return $this->blobstoreLocation;
|
||||
}
|
||||
/**
|
||||
* @param CloudReliabilityZicyWs3DataplaneProtosCloudAssetComposition
|
||||
*/
|
||||
public function setChildAssetLocation(CloudReliabilityZicyWs3DataplaneProtosCloudAssetComposition $childAssetLocation)
|
||||
{
|
||||
$this->childAssetLocation = $childAssetLocation;
|
||||
}
|
||||
/**
|
||||
* @return CloudReliabilityZicyWs3DataplaneProtosCloudAssetComposition
|
||||
*/
|
||||
public function getChildAssetLocation()
|
||||
{
|
||||
return $this->childAssetLocation;
|
||||
}
|
||||
/**
|
||||
* @param CloudReliabilityZicyWs3DataplaneProtosDirectLocationAssignment
|
||||
*/
|
||||
public function setDirectLocation(CloudReliabilityZicyWs3DataplaneProtosDirectLocationAssignment $directLocation)
|
||||
{
|
||||
$this->directLocation = $directLocation;
|
||||
}
|
||||
/**
|
||||
* @return CloudReliabilityZicyWs3DataplaneProtosDirectLocationAssignment
|
||||
*/
|
||||
public function getDirectLocation()
|
||||
{
|
||||
return $this->directLocation;
|
||||
}
|
||||
/**
|
||||
* @param CloudReliabilityZicyWs3DataplaneProtosTenantProjectProxy
|
||||
*/
|
||||
public function setGcpProjectProxy(CloudReliabilityZicyWs3DataplaneProtosTenantProjectProxy $gcpProjectProxy)
|
||||
{
|
||||
$this->gcpProjectProxy = $gcpProjectProxy;
|
||||
}
|
||||
/**
|
||||
* @return CloudReliabilityZicyWs3DataplaneProtosTenantProjectProxy
|
||||
*/
|
||||
public function getGcpProjectProxy()
|
||||
{
|
||||
return $this->gcpProjectProxy;
|
||||
}
|
||||
/**
|
||||
* @param CloudReliabilityZicyWs3DataplaneProtosPlacerLocation
|
||||
*/
|
||||
public function setPlacerLocation(CloudReliabilityZicyWs3DataplaneProtosPlacerLocation $placerLocation)
|
||||
{
|
||||
$this->placerLocation = $placerLocation;
|
||||
}
|
||||
/**
|
||||
* @return CloudReliabilityZicyWs3DataplaneProtosPlacerLocation
|
||||
*/
|
||||
public function getPlacerLocation()
|
||||
{
|
||||
return $this->placerLocation;
|
||||
}
|
||||
/**
|
||||
* @param CloudReliabilityZicyWs3DataplaneProtosSpannerLocation
|
||||
*/
|
||||
public function setSpannerLocation(CloudReliabilityZicyWs3DataplaneProtosSpannerLocation $spannerLocation)
|
||||
{
|
||||
$this->spannerLocation = $spannerLocation;
|
||||
}
|
||||
/**
|
||||
* @return CloudReliabilityZicyWs3DataplaneProtosSpannerLocation
|
||||
*/
|
||||
public function getSpannerLocation()
|
||||
{
|
||||
return $this->spannerLocation;
|
||||
}
|
||||
}
|
||||
|
||||
// Adding a class alias for backwards compatibility with the previous class name.
|
||||
class_alias(CloudReliabilityZicyWs3DataplaneProtosLocationData::class, 'Google_Service_CloudDataplex_CloudReliabilityZicyWs3DataplaneProtosLocationData');
|
|
@ -0,0 +1,44 @@
|
|||
<?php
|
||||
/*
|
||||
* Copyright 2014 Google Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||
* use this file except in compliance with the License. You may obtain a copy of
|
||||
* the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
* License for the specific language governing permissions and limitations under
|
||||
* the License.
|
||||
*/
|
||||
|
||||
namespace Google\Service\CloudDataplex;
|
||||
|
||||
class CloudReliabilityZicyWs3DataplaneProtosPlacerLocation extends \Google\Model
|
||||
{
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $placerConfig;
|
||||
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setPlacerConfig($placerConfig)
|
||||
{
|
||||
$this->placerConfig = $placerConfig;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getPlacerConfig()
|
||||
{
|
||||
return $this->placerConfig;
|
||||
}
|
||||
}
|
||||
|
||||
// Adding a class alias for backwards compatibility with the previous class name.
|
||||
class_alias(CloudReliabilityZicyWs3DataplaneProtosPlacerLocation::class, 'Google_Service_CloudDataplex_CloudReliabilityZicyWs3DataplaneProtosPlacerLocation');
|
|
@ -0,0 +1,61 @@
|
|||
<?php
|
||||
/*
|
||||
* Copyright 2014 Google Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||
* use this file except in compliance with the License. You may obtain a copy of
|
||||
* the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
* License for the specific language governing permissions and limitations under
|
||||
* the License.
|
||||
*/
|
||||
|
||||
namespace Google\Service\CloudDataplex;
|
||||
|
||||
class CloudReliabilityZicyWs3DataplaneProtosRegionalMigDistributionPolicy extends \Google\Collection
|
||||
{
|
||||
protected $collection_key = 'zones';
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $targetShape;
|
||||
protected $zonesType = CloudReliabilityZicyWs3DataplaneProtosZoneConfiguration::class;
|
||||
protected $zonesDataType = 'array';
|
||||
|
||||
/**
|
||||
* @param int
|
||||
*/
|
||||
public function setTargetShape($targetShape)
|
||||
{
|
||||
$this->targetShape = $targetShape;
|
||||
}
|
||||
/**
|
||||
* @return int
|
||||
*/
|
||||
public function getTargetShape()
|
||||
{
|
||||
return $this->targetShape;
|
||||
}
|
||||
/**
|
||||
* @param CloudReliabilityZicyWs3DataplaneProtosZoneConfiguration[]
|
||||
*/
|
||||
public function setZones($zones)
|
||||
{
|
||||
$this->zones = $zones;
|
||||
}
|
||||
/**
|
||||
* @return CloudReliabilityZicyWs3DataplaneProtosZoneConfiguration[]
|
||||
*/
|
||||
public function getZones()
|
||||
{
|
||||
return $this->zones;
|
||||
}
|
||||
}
|
||||
|
||||
// Adding a class alias for backwards compatibility with the previous class name.
|
||||
class_alias(CloudReliabilityZicyWs3DataplaneProtosRegionalMigDistributionPolicy::class, 'Google_Service_CloudDataplex_CloudReliabilityZicyWs3DataplaneProtosRegionalMigDistributionPolicy');
|
|
@ -0,0 +1,63 @@
|
|||
<?php
|
||||
/*
|
||||
* Copyright 2014 Google Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||
* use this file except in compliance with the License. You may obtain a copy of
|
||||
* the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
* License for the specific language governing permissions and limitations under
|
||||
* the License.
|
||||
*/
|
||||
|
||||
namespace Google\Service\CloudDataplex;
|
||||
|
||||
class CloudReliabilityZicyWs3DataplaneProtosSpannerLocation extends \Google\Collection
|
||||
{
|
||||
protected $collection_key = 'dbName';
|
||||
/**
|
||||
* @var string[]
|
||||
*/
|
||||
public $backupName;
|
||||
/**
|
||||
* @var string[]
|
||||
*/
|
||||
public $dbName;
|
||||
|
||||
/**
|
||||
* @param string[]
|
||||
*/
|
||||
public function setBackupName($backupName)
|
||||
{
|
||||
$this->backupName = $backupName;
|
||||
}
|
||||
/**
|
||||
* @return string[]
|
||||
*/
|
||||
public function getBackupName()
|
||||
{
|
||||
return $this->backupName;
|
||||
}
|
||||
/**
|
||||
* @param string[]
|
||||
*/
|
||||
public function setDbName($dbName)
|
||||
{
|
||||
$this->dbName = $dbName;
|
||||
}
|
||||
/**
|
||||
* @return string[]
|
||||
*/
|
||||
public function getDbName()
|
||||
{
|
||||
return $this->dbName;
|
||||
}
|
||||
}
|
||||
|
||||
// Adding a class alias for backwards compatibility with the previous class name.
|
||||
class_alias(CloudReliabilityZicyWs3DataplaneProtosSpannerLocation::class, 'Google_Service_CloudDataplex_CloudReliabilityZicyWs3DataplaneProtosSpannerLocation');
|
|
@ -0,0 +1,45 @@
|
|||
<?php
|
||||
/*
|
||||
* Copyright 2014 Google Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||
* use this file except in compliance with the License. You may obtain a copy of
|
||||
* the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
* License for the specific language governing permissions and limitations under
|
||||
* the License.
|
||||
*/
|
||||
|
||||
namespace Google\Service\CloudDataplex;
|
||||
|
||||
class CloudReliabilityZicyWs3DataplaneProtosTenantProjectProxy extends \Google\Collection
|
||||
{
|
||||
protected $collection_key = 'projectNumbers';
|
||||
/**
|
||||
* @var string[]
|
||||
*/
|
||||
public $projectNumbers;
|
||||
|
||||
/**
|
||||
* @param string[]
|
||||
*/
|
||||
public function setProjectNumbers($projectNumbers)
|
||||
{
|
||||
$this->projectNumbers = $projectNumbers;
|
||||
}
|
||||
/**
|
||||
* @return string[]
|
||||
*/
|
||||
public function getProjectNumbers()
|
||||
{
|
||||
return $this->projectNumbers;
|
||||
}
|
||||
}
|
||||
|
||||
// Adding a class alias for backwards compatibility with the previous class name.
|
||||
class_alias(CloudReliabilityZicyWs3DataplaneProtosTenantProjectProxy::class, 'Google_Service_CloudDataplex_CloudReliabilityZicyWs3DataplaneProtosTenantProjectProxy');
|
|
@ -0,0 +1,44 @@
|
|||
<?php
|
||||
/*
|
||||
* Copyright 2014 Google Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||
* use this file except in compliance with the License. You may obtain a copy of
|
||||
* the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
* License for the specific language governing permissions and limitations under
|
||||
* the License.
|
||||
*/
|
||||
|
||||
namespace Google\Service\CloudDataplex;
|
||||
|
||||
class CloudReliabilityZicyWs3DataplaneProtosZoneConfiguration extends \Google\Model
|
||||
{
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $zone;
|
||||
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setZone($zone)
|
||||
{
|
||||
$this->zone = $zone;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getZone()
|
||||
{
|
||||
return $this->zone;
|
||||
}
|
||||
}
|
||||
|
||||
// Adding a class alias for backwards compatibility with the previous class name.
|
||||
class_alias(CloudReliabilityZicyWs3DataplaneProtosZoneConfiguration::class, 'Google_Service_CloudDataplex_CloudReliabilityZicyWs3DataplaneProtosZoneConfiguration');
|
114
vendor/google/apiclient-services/src/CloudDataplex/Resource/OrganizationsLocationsOperations.php
vendored
Normal file
114
vendor/google/apiclient-services/src/CloudDataplex/Resource/OrganizationsLocationsOperations.php
vendored
Normal file
|
@ -0,0 +1,114 @@
|
|||
<?php
|
||||
/*
|
||||
* Copyright 2014 Google Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||
* use this file except in compliance with the License. You may obtain a copy of
|
||||
* the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
* License for the specific language governing permissions and limitations under
|
||||
* the License.
|
||||
*/
|
||||
|
||||
namespace Google\Service\CloudDataplex\Resource;
|
||||
|
||||
use Google\Service\CloudDataplex\DataplexEmpty;
|
||||
use Google\Service\CloudDataplex\GoogleLongrunningCancelOperationRequest;
|
||||
use Google\Service\CloudDataplex\GoogleLongrunningListOperationsResponse;
|
||||
use Google\Service\CloudDataplex\GoogleLongrunningOperation;
|
||||
|
||||
/**
|
||||
* The "operations" collection of methods.
|
||||
* Typical usage is:
|
||||
* <code>
|
||||
* $dataplexService = new Google\Service\CloudDataplex(...);
|
||||
* $operations = $dataplexService->organizations_locations_operations;
|
||||
* </code>
|
||||
*/
|
||||
class OrganizationsLocationsOperations extends \Google\Service\Resource
|
||||
{
|
||||
/**
|
||||
* Starts asynchronous cancellation on a long-running operation. The server
|
||||
* makes a best effort to cancel the operation, but success is not guaranteed.
|
||||
* If the server doesn't support this method, it returns
|
||||
* google.rpc.Code.UNIMPLEMENTED. Clients can use Operations.GetOperation or
|
||||
* other methods to check whether the cancellation succeeded or whether the
|
||||
* operation completed despite cancellation. On successful cancellation, the
|
||||
* operation is not deleted; instead, it becomes an operation with an
|
||||
* Operation.error value with a google.rpc.Status.code of 1, corresponding to
|
||||
* Code.CANCELLED. (operations.cancel)
|
||||
*
|
||||
* @param string $name The name of the operation resource to be cancelled.
|
||||
* @param GoogleLongrunningCancelOperationRequest $postBody
|
||||
* @param array $optParams Optional parameters.
|
||||
* @return DataplexEmpty
|
||||
* @throws \Google\Service\Exception
|
||||
*/
|
||||
public function cancel($name, GoogleLongrunningCancelOperationRequest $postBody, $optParams = [])
|
||||
{
|
||||
$params = ['name' => $name, 'postBody' => $postBody];
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('cancel', [$params], DataplexEmpty::class);
|
||||
}
|
||||
/**
|
||||
* Deletes a long-running operation. This method indicates that the client is no
|
||||
* longer interested in the operation result. It does not cancel the operation.
|
||||
* If the server doesn't support this method, it returns
|
||||
* google.rpc.Code.UNIMPLEMENTED. (operations.delete)
|
||||
*
|
||||
* @param string $name The name of the operation resource to be deleted.
|
||||
* @param array $optParams Optional parameters.
|
||||
* @return DataplexEmpty
|
||||
* @throws \Google\Service\Exception
|
||||
*/
|
||||
public function delete($name, $optParams = [])
|
||||
{
|
||||
$params = ['name' => $name];
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('delete', [$params], DataplexEmpty::class);
|
||||
}
|
||||
/**
|
||||
* Gets the latest state of a long-running operation. Clients can use this
|
||||
* method to poll the operation result at intervals as recommended by the API
|
||||
* service. (operations.get)
|
||||
*
|
||||
* @param string $name The name of the operation resource.
|
||||
* @param array $optParams Optional parameters.
|
||||
* @return GoogleLongrunningOperation
|
||||
* @throws \Google\Service\Exception
|
||||
*/
|
||||
public function get($name, $optParams = [])
|
||||
{
|
||||
$params = ['name' => $name];
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('get', [$params], GoogleLongrunningOperation::class);
|
||||
}
|
||||
/**
|
||||
* Lists operations that match the specified filter in the request. If the
|
||||
* server doesn't support this method, it returns UNIMPLEMENTED.
|
||||
* (operations.listOperations)
|
||||
*
|
||||
* @param string $name The name of the operation's parent resource.
|
||||
* @param array $optParams Optional parameters.
|
||||
*
|
||||
* @opt_param string filter The standard list filter.
|
||||
* @opt_param int pageSize The standard list page size.
|
||||
* @opt_param string pageToken The standard list page token.
|
||||
* @return GoogleLongrunningListOperationsResponse
|
||||
* @throws \Google\Service\Exception
|
||||
*/
|
||||
public function listOperations($name, $optParams = [])
|
||||
{
|
||||
$params = ['name' => $name];
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('listOperations', [$params], GoogleLongrunningListOperationsResponse::class);
|
||||
}
|
||||
}
|
||||
|
||||
// Adding a class alias for backwards compatibility with the previous class name.
|
||||
class_alias(OrganizationsLocationsOperations::class, 'Google_Service_CloudDataplex_Resource_OrganizationsLocationsOperations');
|
111
vendor/google/apiclient-services/src/CloudDataplex/Resource/ProjectsLocationsEntryLinkTypes.php
vendored
Normal file
111
vendor/google/apiclient-services/src/CloudDataplex/Resource/ProjectsLocationsEntryLinkTypes.php
vendored
Normal file
|
@ -0,0 +1,111 @@
|
|||
<?php
|
||||
/*
|
||||
* Copyright 2014 Google Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||
* use this file except in compliance with the License. You may obtain a copy of
|
||||
* the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
* License for the specific language governing permissions and limitations under
|
||||
* the License.
|
||||
*/
|
||||
|
||||
namespace Google\Service\CloudDataplex\Resource;
|
||||
|
||||
use Google\Service\CloudDataplex\GoogleIamV1Policy;
|
||||
use Google\Service\CloudDataplex\GoogleIamV1SetIamPolicyRequest;
|
||||
use Google\Service\CloudDataplex\GoogleIamV1TestIamPermissionsRequest;
|
||||
use Google\Service\CloudDataplex\GoogleIamV1TestIamPermissionsResponse;
|
||||
|
||||
/**
|
||||
* The "entryLinkTypes" collection of methods.
|
||||
* Typical usage is:
|
||||
* <code>
|
||||
* $dataplexService = new Google\Service\CloudDataplex(...);
|
||||
* $entryLinkTypes = $dataplexService->projects_locations_entryLinkTypes;
|
||||
* </code>
|
||||
*/
|
||||
class ProjectsLocationsEntryLinkTypes extends \Google\Service\Resource
|
||||
{
|
||||
/**
|
||||
* Gets the access control policy for a resource. Returns an empty policy if the
|
||||
* resource exists and does not have a policy set. (entryLinkTypes.getIamPolicy)
|
||||
*
|
||||
* @param string $resource REQUIRED: The resource for which the policy is being
|
||||
* requested. See Resource names
|
||||
* (https://cloud.google.com/apis/design/resource_names) for the appropriate
|
||||
* value for this field.
|
||||
* @param array $optParams Optional parameters.
|
||||
*
|
||||
* @opt_param int options.requestedPolicyVersion Optional. The maximum policy
|
||||
* version that will be used to format the policy.Valid values are 0, 1, and 3.
|
||||
* Requests specifying an invalid value will be rejected.Requests for policies
|
||||
* with any conditional role bindings must specify version 3. Policies with no
|
||||
* conditional role bindings may specify any valid value or leave the field
|
||||
* unset.The policy in the response might use the policy version that you
|
||||
* specified, or it might use a lower policy version. For example, if you
|
||||
* specify version 3, but the policy has no conditional role bindings, the
|
||||
* response uses version 1.To learn which resources support conditions in their
|
||||
* IAM policies, see the IAM documentation
|
||||
* (https://cloud.google.com/iam/help/conditions/resource-policies).
|
||||
* @return GoogleIamV1Policy
|
||||
* @throws \Google\Service\Exception
|
||||
*/
|
||||
public function getIamPolicy($resource, $optParams = [])
|
||||
{
|
||||
$params = ['resource' => $resource];
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('getIamPolicy', [$params], GoogleIamV1Policy::class);
|
||||
}
|
||||
/**
|
||||
* Sets the access control policy on the specified resource. Replaces any
|
||||
* existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED
|
||||
* errors. (entryLinkTypes.setIamPolicy)
|
||||
*
|
||||
* @param string $resource REQUIRED: The resource for which the policy is being
|
||||
* specified. See Resource names
|
||||
* (https://cloud.google.com/apis/design/resource_names) for the appropriate
|
||||
* value for this field.
|
||||
* @param GoogleIamV1SetIamPolicyRequest $postBody
|
||||
* @param array $optParams Optional parameters.
|
||||
* @return GoogleIamV1Policy
|
||||
* @throws \Google\Service\Exception
|
||||
*/
|
||||
public function setIamPolicy($resource, GoogleIamV1SetIamPolicyRequest $postBody, $optParams = [])
|
||||
{
|
||||
$params = ['resource' => $resource, 'postBody' => $postBody];
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('setIamPolicy', [$params], GoogleIamV1Policy::class);
|
||||
}
|
||||
/**
|
||||
* Returns permissions that a caller has on the specified resource. If the
|
||||
* resource does not exist, this will return an empty set of permissions, not a
|
||||
* NOT_FOUND error.Note: This operation is designed to be used for building
|
||||
* permission-aware UIs and command-line tools, not for authorization checking.
|
||||
* This operation may "fail open" without warning.
|
||||
* (entryLinkTypes.testIamPermissions)
|
||||
*
|
||||
* @param string $resource REQUIRED: The resource for which the policy detail is
|
||||
* being requested. See Resource names
|
||||
* (https://cloud.google.com/apis/design/resource_names) for the appropriate
|
||||
* value for this field.
|
||||
* @param GoogleIamV1TestIamPermissionsRequest $postBody
|
||||
* @param array $optParams Optional parameters.
|
||||
* @return GoogleIamV1TestIamPermissionsResponse
|
||||
* @throws \Google\Service\Exception
|
||||
*/
|
||||
public function testIamPermissions($resource, GoogleIamV1TestIamPermissionsRequest $postBody, $optParams = [])
|
||||
{
|
||||
$params = ['resource' => $resource, 'postBody' => $postBody];
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('testIamPermissions', [$params], GoogleIamV1TestIamPermissionsResponse::class);
|
||||
}
|
||||
}
|
||||
|
||||
// Adding a class alias for backwards compatibility with the previous class name.
|
||||
class_alias(ProjectsLocationsEntryLinkTypes::class, 'Google_Service_CloudDataplex_Resource_ProjectsLocationsEntryLinkTypes');
|
|
@ -0,0 +1,111 @@
|
|||
<?php
|
||||
/*
|
||||
* Copyright 2014 Google Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||
* use this file except in compliance with the License. You may obtain a copy of
|
||||
* the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
* License for the specific language governing permissions and limitations under
|
||||
* the License.
|
||||
*/
|
||||
|
||||
namespace Google\Service\CloudDataplex\Resource;
|
||||
|
||||
use Google\Service\CloudDataplex\GoogleIamV1Policy;
|
||||
use Google\Service\CloudDataplex\GoogleIamV1SetIamPolicyRequest;
|
||||
use Google\Service\CloudDataplex\GoogleIamV1TestIamPermissionsRequest;
|
||||
use Google\Service\CloudDataplex\GoogleIamV1TestIamPermissionsResponse;
|
||||
|
||||
/**
|
||||
* The "categories" collection of methods.
|
||||
* Typical usage is:
|
||||
* <code>
|
||||
* $dataplexService = new Google\Service\CloudDataplex(...);
|
||||
* $categories = $dataplexService->projects_locations_glossaries_categories;
|
||||
* </code>
|
||||
*/
|
||||
class ProjectsLocationsGlossariesCategories extends \Google\Service\Resource
|
||||
{
|
||||
/**
|
||||
* Gets the access control policy for a resource. Returns an empty policy if the
|
||||
* resource exists and does not have a policy set. (categories.getIamPolicy)
|
||||
*
|
||||
* @param string $resource REQUIRED: The resource for which the policy is being
|
||||
* requested. See Resource names
|
||||
* (https://cloud.google.com/apis/design/resource_names) for the appropriate
|
||||
* value for this field.
|
||||
* @param array $optParams Optional parameters.
|
||||
*
|
||||
* @opt_param int options.requestedPolicyVersion Optional. The maximum policy
|
||||
* version that will be used to format the policy.Valid values are 0, 1, and 3.
|
||||
* Requests specifying an invalid value will be rejected.Requests for policies
|
||||
* with any conditional role bindings must specify version 3. Policies with no
|
||||
* conditional role bindings may specify any valid value or leave the field
|
||||
* unset.The policy in the response might use the policy version that you
|
||||
* specified, or it might use a lower policy version. For example, if you
|
||||
* specify version 3, but the policy has no conditional role bindings, the
|
||||
* response uses version 1.To learn which resources support conditions in their
|
||||
* IAM policies, see the IAM documentation
|
||||
* (https://cloud.google.com/iam/help/conditions/resource-policies).
|
||||
* @return GoogleIamV1Policy
|
||||
* @throws \Google\Service\Exception
|
||||
*/
|
||||
public function getIamPolicy($resource, $optParams = [])
|
||||
{
|
||||
$params = ['resource' => $resource];
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('getIamPolicy', [$params], GoogleIamV1Policy::class);
|
||||
}
|
||||
/**
|
||||
* Sets the access control policy on the specified resource. Replaces any
|
||||
* existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED
|
||||
* errors. (categories.setIamPolicy)
|
||||
*
|
||||
* @param string $resource REQUIRED: The resource for which the policy is being
|
||||
* specified. See Resource names
|
||||
* (https://cloud.google.com/apis/design/resource_names) for the appropriate
|
||||
* value for this field.
|
||||
* @param GoogleIamV1SetIamPolicyRequest $postBody
|
||||
* @param array $optParams Optional parameters.
|
||||
* @return GoogleIamV1Policy
|
||||
* @throws \Google\Service\Exception
|
||||
*/
|
||||
public function setIamPolicy($resource, GoogleIamV1SetIamPolicyRequest $postBody, $optParams = [])
|
||||
{
|
||||
$params = ['resource' => $resource, 'postBody' => $postBody];
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('setIamPolicy', [$params], GoogleIamV1Policy::class);
|
||||
}
|
||||
/**
|
||||
* Returns permissions that a caller has on the specified resource. If the
|
||||
* resource does not exist, this will return an empty set of permissions, not a
|
||||
* NOT_FOUND error.Note: This operation is designed to be used for building
|
||||
* permission-aware UIs and command-line tools, not for authorization checking.
|
||||
* This operation may "fail open" without warning.
|
||||
* (categories.testIamPermissions)
|
||||
*
|
||||
* @param string $resource REQUIRED: The resource for which the policy detail is
|
||||
* being requested. See Resource names
|
||||
* (https://cloud.google.com/apis/design/resource_names) for the appropriate
|
||||
* value for this field.
|
||||
* @param GoogleIamV1TestIamPermissionsRequest $postBody
|
||||
* @param array $optParams Optional parameters.
|
||||
* @return GoogleIamV1TestIamPermissionsResponse
|
||||
* @throws \Google\Service\Exception
|
||||
*/
|
||||
public function testIamPermissions($resource, GoogleIamV1TestIamPermissionsRequest $postBody, $optParams = [])
|
||||
{
|
||||
$params = ['resource' => $resource, 'postBody' => $postBody];
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('testIamPermissions', [$params], GoogleIamV1TestIamPermissionsResponse::class);
|
||||
}
|
||||
}
|
||||
|
||||
// Adding a class alias for backwards compatibility with the previous class name.
|
||||
class_alias(ProjectsLocationsGlossariesCategories::class, 'Google_Service_CloudDataplex_Resource_ProjectsLocationsGlossariesCategories');
|
110
vendor/google/apiclient-services/src/CloudDataplex/Resource/ProjectsLocationsGlossariesTerms.php
vendored
Normal file
110
vendor/google/apiclient-services/src/CloudDataplex/Resource/ProjectsLocationsGlossariesTerms.php
vendored
Normal file
|
@ -0,0 +1,110 @@
|
|||
<?php
|
||||
/*
|
||||
* Copyright 2014 Google Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||
* use this file except in compliance with the License. You may obtain a copy of
|
||||
* the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
* License for the specific language governing permissions and limitations under
|
||||
* the License.
|
||||
*/
|
||||
|
||||
namespace Google\Service\CloudDataplex\Resource;
|
||||
|
||||
use Google\Service\CloudDataplex\GoogleIamV1Policy;
|
||||
use Google\Service\CloudDataplex\GoogleIamV1SetIamPolicyRequest;
|
||||
use Google\Service\CloudDataplex\GoogleIamV1TestIamPermissionsRequest;
|
||||
use Google\Service\CloudDataplex\GoogleIamV1TestIamPermissionsResponse;
|
||||
|
||||
/**
|
||||
* The "terms" collection of methods.
|
||||
* Typical usage is:
|
||||
* <code>
|
||||
* $dataplexService = new Google\Service\CloudDataplex(...);
|
||||
* $terms = $dataplexService->projects_locations_glossaries_terms;
|
||||
* </code>
|
||||
*/
|
||||
class ProjectsLocationsGlossariesTerms extends \Google\Service\Resource
|
||||
{
|
||||
/**
|
||||
* Gets the access control policy for a resource. Returns an empty policy if the
|
||||
* resource exists and does not have a policy set. (terms.getIamPolicy)
|
||||
*
|
||||
* @param string $resource REQUIRED: The resource for which the policy is being
|
||||
* requested. See Resource names
|
||||
* (https://cloud.google.com/apis/design/resource_names) for the appropriate
|
||||
* value for this field.
|
||||
* @param array $optParams Optional parameters.
|
||||
*
|
||||
* @opt_param int options.requestedPolicyVersion Optional. The maximum policy
|
||||
* version that will be used to format the policy.Valid values are 0, 1, and 3.
|
||||
* Requests specifying an invalid value will be rejected.Requests for policies
|
||||
* with any conditional role bindings must specify version 3. Policies with no
|
||||
* conditional role bindings may specify any valid value or leave the field
|
||||
* unset.The policy in the response might use the policy version that you
|
||||
* specified, or it might use a lower policy version. For example, if you
|
||||
* specify version 3, but the policy has no conditional role bindings, the
|
||||
* response uses version 1.To learn which resources support conditions in their
|
||||
* IAM policies, see the IAM documentation
|
||||
* (https://cloud.google.com/iam/help/conditions/resource-policies).
|
||||
* @return GoogleIamV1Policy
|
||||
* @throws \Google\Service\Exception
|
||||
*/
|
||||
public function getIamPolicy($resource, $optParams = [])
|
||||
{
|
||||
$params = ['resource' => $resource];
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('getIamPolicy', [$params], GoogleIamV1Policy::class);
|
||||
}
|
||||
/**
|
||||
* Sets the access control policy on the specified resource. Replaces any
|
||||
* existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED
|
||||
* errors. (terms.setIamPolicy)
|
||||
*
|
||||
* @param string $resource REQUIRED: The resource for which the policy is being
|
||||
* specified. See Resource names
|
||||
* (https://cloud.google.com/apis/design/resource_names) for the appropriate
|
||||
* value for this field.
|
||||
* @param GoogleIamV1SetIamPolicyRequest $postBody
|
||||
* @param array $optParams Optional parameters.
|
||||
* @return GoogleIamV1Policy
|
||||
* @throws \Google\Service\Exception
|
||||
*/
|
||||
public function setIamPolicy($resource, GoogleIamV1SetIamPolicyRequest $postBody, $optParams = [])
|
||||
{
|
||||
$params = ['resource' => $resource, 'postBody' => $postBody];
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('setIamPolicy', [$params], GoogleIamV1Policy::class);
|
||||
}
|
||||
/**
|
||||
* Returns permissions that a caller has on the specified resource. If the
|
||||
* resource does not exist, this will return an empty set of permissions, not a
|
||||
* NOT_FOUND error.Note: This operation is designed to be used for building
|
||||
* permission-aware UIs and command-line tools, not for authorization checking.
|
||||
* This operation may "fail open" without warning. (terms.testIamPermissions)
|
||||
*
|
||||
* @param string $resource REQUIRED: The resource for which the policy detail is
|
||||
* being requested. See Resource names
|
||||
* (https://cloud.google.com/apis/design/resource_names) for the appropriate
|
||||
* value for this field.
|
||||
* @param GoogleIamV1TestIamPermissionsRequest $postBody
|
||||
* @param array $optParams Optional parameters.
|
||||
* @return GoogleIamV1TestIamPermissionsResponse
|
||||
* @throws \Google\Service\Exception
|
||||
*/
|
||||
public function testIamPermissions($resource, GoogleIamV1TestIamPermissionsRequest $postBody, $optParams = [])
|
||||
{
|
||||
$params = ['resource' => $resource, 'postBody' => $postBody];
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('testIamPermissions', [$params], GoogleIamV1TestIamPermissionsResponse::class);
|
||||
}
|
||||
}
|
||||
|
||||
// Adding a class alias for backwards compatibility with the previous class name.
|
||||
class_alias(ProjectsLocationsGlossariesTerms::class, 'Google_Service_CloudDataplex_Resource_ProjectsLocationsGlossariesTerms');
|
|
@ -28,6 +28,8 @@ class Cluster extends \Google\Collection
|
|||
* @var string
|
||||
*/
|
||||
public $createTime;
|
||||
protected $crossClusterReplicationConfigType = CrossClusterReplicationConfig::class;
|
||||
protected $crossClusterReplicationConfigDataType = '';
|
||||
/**
|
||||
* @var bool
|
||||
*/
|
||||
|
@ -110,6 +112,20 @@ class Cluster extends \Google\Collection
|
|||
{
|
||||
return $this->createTime;
|
||||
}
|
||||
/**
|
||||
* @param CrossClusterReplicationConfig
|
||||
*/
|
||||
public function setCrossClusterReplicationConfig(CrossClusterReplicationConfig $crossClusterReplicationConfig)
|
||||
{
|
||||
$this->crossClusterReplicationConfig = $crossClusterReplicationConfig;
|
||||
}
|
||||
/**
|
||||
* @return CrossClusterReplicationConfig
|
||||
*/
|
||||
public function getCrossClusterReplicationConfig()
|
||||
{
|
||||
return $this->crossClusterReplicationConfig;
|
||||
}
|
||||
/**
|
||||
* @param bool
|
||||
*/
|
||||
|
|
111
vendor/google/apiclient-services/src/CloudRedis/CrossClusterReplicationConfig.php
vendored
Normal file
111
vendor/google/apiclient-services/src/CloudRedis/CrossClusterReplicationConfig.php
vendored
Normal file
|
@ -0,0 +1,111 @@
|
|||
<?php
|
||||
/*
|
||||
* Copyright 2014 Google Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||
* use this file except in compliance with the License. You may obtain a copy of
|
||||
* the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
* License for the specific language governing permissions and limitations under
|
||||
* the License.
|
||||
*/
|
||||
|
||||
namespace Google\Service\CloudRedis;
|
||||
|
||||
class CrossClusterReplicationConfig extends \Google\Collection
|
||||
{
|
||||
protected $collection_key = 'secondaryClusters';
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $clusterRole;
|
||||
protected $membershipType = Membership::class;
|
||||
protected $membershipDataType = '';
|
||||
protected $primaryClusterType = RemoteCluster::class;
|
||||
protected $primaryClusterDataType = '';
|
||||
protected $secondaryClustersType = RemoteCluster::class;
|
||||
protected $secondaryClustersDataType = 'array';
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $updateTime;
|
||||
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setClusterRole($clusterRole)
|
||||
{
|
||||
$this->clusterRole = $clusterRole;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getClusterRole()
|
||||
{
|
||||
return $this->clusterRole;
|
||||
}
|
||||
/**
|
||||
* @param Membership
|
||||
*/
|
||||
public function setMembership(Membership $membership)
|
||||
{
|
||||
$this->membership = $membership;
|
||||
}
|
||||
/**
|
||||
* @return Membership
|
||||
*/
|
||||
public function getMembership()
|
||||
{
|
||||
return $this->membership;
|
||||
}
|
||||
/**
|
||||
* @param RemoteCluster
|
||||
*/
|
||||
public function setPrimaryCluster(RemoteCluster $primaryCluster)
|
||||
{
|
||||
$this->primaryCluster = $primaryCluster;
|
||||
}
|
||||
/**
|
||||
* @return RemoteCluster
|
||||
*/
|
||||
public function getPrimaryCluster()
|
||||
{
|
||||
return $this->primaryCluster;
|
||||
}
|
||||
/**
|
||||
* @param RemoteCluster[]
|
||||
*/
|
||||
public function setSecondaryClusters($secondaryClusters)
|
||||
{
|
||||
$this->secondaryClusters = $secondaryClusters;
|
||||
}
|
||||
/**
|
||||
* @return RemoteCluster[]
|
||||
*/
|
||||
public function getSecondaryClusters()
|
||||
{
|
||||
return $this->secondaryClusters;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setUpdateTime($updateTime)
|
||||
{
|
||||
$this->updateTime = $updateTime;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getUpdateTime()
|
||||
{
|
||||
return $this->updateTime;
|
||||
}
|
||||
}
|
||||
|
||||
// Adding a class alias for backwards compatibility with the previous class name.
|
||||
class_alias(CrossClusterReplicationConfig::class, 'Google_Service_CloudRedis_CrossClusterReplicationConfig');
|
|
@ -19,23 +19,23 @@ namespace Google\Service\CloudRedis;
|
|||
|
||||
class CustomMetadataData extends \Google\Collection
|
||||
{
|
||||
protected $collection_key = 'databaseMetadata';
|
||||
protected $databaseMetadataType = DatabaseMetadata::class;
|
||||
protected $databaseMetadataDataType = 'array';
|
||||
protected $collection_key = 'internalResourceMetadata';
|
||||
protected $internalResourceMetadataType = InternalResourceMetadata::class;
|
||||
protected $internalResourceMetadataDataType = 'array';
|
||||
|
||||
/**
|
||||
* @param DatabaseMetadata[]
|
||||
* @param InternalResourceMetadata[]
|
||||
*/
|
||||
public function setDatabaseMetadata($databaseMetadata)
|
||||
public function setInternalResourceMetadata($internalResourceMetadata)
|
||||
{
|
||||
$this->databaseMetadata = $databaseMetadata;
|
||||
$this->internalResourceMetadata = $internalResourceMetadata;
|
||||
}
|
||||
/**
|
||||
* @return DatabaseMetadata[]
|
||||
* @return InternalResourceMetadata[]
|
||||
*/
|
||||
public function getDatabaseMetadata()
|
||||
public function getInternalResourceMetadata()
|
||||
{
|
||||
return $this->databaseMetadata;
|
||||
return $this->internalResourceMetadata;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -62,6 +62,10 @@ class DatabaseResourceHealthSignalData extends \Google\Collection
|
|||
* @var string
|
||||
*/
|
||||
public $signalId;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $signalSeverity;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
|
@ -225,6 +229,20 @@ class DatabaseResourceHealthSignalData extends \Google\Collection
|
|||
{
|
||||
return $this->signalId;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setSignalSeverity($signalSeverity)
|
||||
{
|
||||
$this->signalSeverity = $signalSeverity;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getSignalSeverity()
|
||||
{
|
||||
return $this->signalSeverity;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue