[
MAINHACK
]
Mail Test
BC
Config Scan
HOME
Create...
New File
New Folder
Viewing / Editing File: ContextRule.php
<?php # Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/api/context.proto namespace Google\Api; use Google\Protobuf\Internal\GPBType; use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; /** * A context rule provides information about the context for an individual API * element. * * Generated from protobuf message <code>google.api.ContextRule</code> */ class ContextRule extends \Google\Protobuf\Internal\Message { /** * Selects the methods 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 list of full type names of requested contexts, only the requested context * will be made available to the backend. * * Generated from protobuf field <code>repeated string requested = 2;</code> */ private $requested; /** * A list of full type names of provided contexts. It is used to support * propagating HTTP headers and ETags from the response extension. * * Generated from protobuf field <code>repeated string provided = 3;</code> */ private $provided; /** * A list of full type names or extension IDs of extensions allowed in grpc * side channel from client to backend. * * Generated from protobuf field <code>repeated string allowed_request_extensions = 4;</code> */ private $allowed_request_extensions; /** * A list of full type names or extension IDs of extensions allowed in grpc * side channel from backend to client. * * Generated from protobuf field <code>repeated string allowed_response_extensions = 5;</code> */ private $allowed_response_extensions; /** * Constructor. * * @param array $data { * Optional. Data for populating the Message object. * * @type string $selector * Selects the methods to which this rule applies. * Refer to [selector][google.api.DocumentationRule.selector] for syntax * details. * @type array<string>|\Google\Protobuf\Internal\RepeatedField $requested * A list of full type names of requested contexts, only the requested context * will be made available to the backend. * @type array<string>|\Google\Protobuf\Internal\RepeatedField $provided * A list of full type names of provided contexts. It is used to support * propagating HTTP headers and ETags from the response extension. * @type array<string>|\Google\Protobuf\Internal\RepeatedField $allowed_request_extensions * A list of full type names or extension IDs of extensions allowed in grpc * side channel from client to backend. * @type array<string>|\Google\Protobuf\Internal\RepeatedField $allowed_response_extensions * A list of full type names or extension IDs of extensions allowed in grpc * side channel from backend to client. * } */ public function __construct($data = NULL) { \GPBMetadata\Google\Api\Context::initOnce(); parent::__construct($data); } /** * Selects the methods 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 the methods 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 list of full type names of requested contexts, only the requested context * will be made available to the backend. * * Generated from protobuf field <code>repeated string requested = 2;</code> * @return \Google\Protobuf\Internal\RepeatedField */ public function getRequested() { return $this->requested; } /** * A list of full type names of requested contexts, only the requested context * will be made available to the backend. * * Generated from protobuf field <code>repeated string requested = 2;</code> * @param array<string>|\Google\Protobuf\Internal\RepeatedField $var * @return $this */ public function setRequested($var) { $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); $this->requested = $arr; return $this; } /** * A list of full type names of provided contexts. It is used to support * propagating HTTP headers and ETags from the response extension. * * Generated from protobuf field <code>repeated string provided = 3;</code> * @return \Google\Protobuf\Internal\RepeatedField */ public function getProvided() { return $this->provided; } /** * A list of full type names of provided contexts. It is used to support * propagating HTTP headers and ETags from the response extension. * * Generated from protobuf field <code>repeated string provided = 3;</code> * @param array<string>|\Google\Protobuf\Internal\RepeatedField $var * @return $this */ public function setProvided($var) { $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); $this->provided = $arr; return $this; } /** * A list of full type names or extension IDs of extensions allowed in grpc * side channel from client to backend. * * Generated from protobuf field <code>repeated string allowed_request_extensions = 4;</code> * @return \Google\Protobuf\Internal\RepeatedField */ public function getAllowedRequestExtensions() { return $this->allowed_request_extensions; } /** * A list of full type names or extension IDs of extensions allowed in grpc * side channel from client to backend. * * Generated from protobuf field <code>repeated string allowed_request_extensions = 4;</code> * @param array<string>|\Google\Protobuf\Internal\RepeatedField $var * @return $this */ public function setAllowedRequestExtensions($var) { $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); $this->allowed_request_extensions = $arr; return $this; } /** * A list of full type names or extension IDs of extensions allowed in grpc * side channel from backend to client. * * Generated from protobuf field <code>repeated string allowed_response_extensions = 5;</code> * @return \Google\Protobuf\Internal\RepeatedField */ public function getAllowedResponseExtensions() { return $this->allowed_response_extensions; } /** * A list of full type names or extension IDs of extensions allowed in grpc * side channel from backend to client. * * Generated from protobuf field <code>repeated string allowed_response_extensions = 5;</code> * @param array<string>|\Google\Protobuf\Internal\RepeatedField $var * @return $this */ public function setAllowedResponseExtensions($var) { $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); $this->allowed_response_extensions = $arr; 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.81 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