[
MAINHACK
]
Mail Test
BC
Config Scan
HOME
Create...
New File
New Folder
Viewing / Editing File: VisibilityRule.php
<?php # Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/api/visibility.proto namespace Google\Api; use Google\Protobuf\Internal\GPBType; use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; /** * A visibility rule provides visibility configuration for an individual API * element. * * Generated from protobuf message <code>google.api.VisibilityRule</code> */ class VisibilityRule extends \Google\Protobuf\Internal\Message { /** * Selects methods, messages, fields, enums, etc. to which this rule applies. * Refer to [selector][google.api.DocumentationRule.selector] for syntax * details. * * Generated from protobuf field <code>string selector = 1;</code> */ protected $selector = ''; /** * A comma-separated list of visibility labels that apply to the `selector`. * Any of the listed labels can be used to grant the visibility. * If a rule has multiple labels, removing one of the labels but not all of * them can break clients. * Example: * visibility: * rules: * - selector: google.calendar.Calendar.EnhancedSearch * restriction: INTERNAL, PREVIEW * Removing INTERNAL from this restriction will break clients that rely on * this method and only had access to it through INTERNAL. * * Generated from protobuf field <code>string restriction = 2;</code> */ protected $restriction = ''; /** * Constructor. * * @param array $data { * Optional. Data for populating the Message object. * * @type string $selector * Selects methods, messages, fields, enums, etc. to which this rule applies. * Refer to [selector][google.api.DocumentationRule.selector] for syntax * details. * @type string $restriction * A comma-separated list of visibility labels that apply to the `selector`. * Any of the listed labels can be used to grant the visibility. * If a rule has multiple labels, removing one of the labels but not all of * them can break clients. * Example: * visibility: * rules: * - selector: google.calendar.Calendar.EnhancedSearch * restriction: INTERNAL, PREVIEW * Removing INTERNAL from this restriction will break clients that rely on * this method and only had access to it through INTERNAL. * } */ public function __construct($data = NULL) { \GPBMetadata\Google\Api\Visibility::initOnce(); parent::__construct($data); } /** * Selects methods, messages, fields, enums, etc. to which this rule applies. * Refer to [selector][google.api.DocumentationRule.selector] for syntax * details. * * Generated from protobuf field <code>string selector = 1;</code> * @return string */ public function getSelector() { return $this->selector; } /** * Selects methods, messages, fields, enums, etc. to which this rule applies. * Refer to [selector][google.api.DocumentationRule.selector] for syntax * details. * * Generated from protobuf field <code>string selector = 1;</code> * @param string $var * @return $this */ public function setSelector($var) { GPBUtil::checkString($var, True); $this->selector = $var; return $this; } /** * A comma-separated list of visibility labels that apply to the `selector`. * Any of the listed labels can be used to grant the visibility. * If a rule has multiple labels, removing one of the labels but not all of * them can break clients. * Example: * visibility: * rules: * - selector: google.calendar.Calendar.EnhancedSearch * restriction: INTERNAL, PREVIEW * Removing INTERNAL from this restriction will break clients that rely on * this method and only had access to it through INTERNAL. * * Generated from protobuf field <code>string restriction = 2;</code> * @return string */ public function getRestriction() { return $this->restriction; } /** * A comma-separated list of visibility labels that apply to the `selector`. * Any of the listed labels can be used to grant the visibility. * If a rule has multiple labels, removing one of the labels but not all of * them can break clients. * Example: * visibility: * rules: * - selector: google.calendar.Calendar.EnhancedSearch * restriction: INTERNAL, PREVIEW * Removing INTERNAL from this restriction will break clients that rely on * this method and only had access to it through INTERNAL. * * Generated from protobuf field <code>string restriction = 2;</code> * @param string $var * @return $this */ public function setRestriction($var) { GPBUtil::checkString($var, True); $this->restriction = $var; return $this; } }
Save Changes
Cancel / Back
Close ×
Server Info
Hostname: server1.winmanyltd.com
Server IP: 203.161.60.52
PHP Version: 8.3.27
Server Software: Apache
System: Linux server1.winmanyltd.com 4.18.0-553.22.1.el8_10.x86_64 #1 SMP Tue Sep 24 05:16:59 EDT 2024 x86_64
HDD Total: 117.98 GB
HDD Free: 59.41 GB
Domains on IP: N/A (Requires external lookup)
System Features
Safe Mode:
Off
disable_functions:
None
allow_url_fopen:
On
allow_url_include:
Off
magic_quotes_gpc:
Off
register_globals:
Off
open_basedir:
None
cURL:
Enabled
ZipArchive:
Enabled
MySQLi:
Enabled
PDO:
Enabled
wget:
Yes
curl (cmd):
Yes
perl:
Yes
python:
Yes (py3)
gcc:
Yes
pkexec:
Yes
git:
Yes
User Info
Username: eliosofonline
User ID (UID): 1002
Group ID (GID): 1003
Script Owner UID: 1002
Current Dir Owner: 1002