[
MAINHACK
]
Mail Test
BC
Config Scan
HOME
Create...
New File
New Folder
Viewing / Editing File: ResourceReference.php
<?php # Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/api/resource.proto namespace Google\Api; use Google\Protobuf\Internal\GPBType; use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; /** * Defines a proto annotation that describes a string field that refers to * an API resource. * * Generated from protobuf message <code>google.api.ResourceReference</code> */ class ResourceReference extends \Google\Protobuf\Internal\Message { /** * The resource type that the annotated field references. * Example: * message Subscription { * string topic = 2 [(google.api.resource_reference) = { * type: "pubsub.googleapis.com/Topic" * }]; * } * Occasionally, a field may reference an arbitrary resource. In this case, * APIs use the special value * in their resource reference. * Example: * message GetIamPolicyRequest { * string resource = 2 [(google.api.resource_reference) = { * type: "*" * }]; * } * * Generated from protobuf field <code>string type = 1;</code> */ protected $type = ''; /** * The resource type of a child collection that the annotated field * references. This is useful for annotating the `parent` field that * doesn't have a fixed resource type. * Example: * message ListLogEntriesRequest { * string parent = 1 [(google.api.resource_reference) = { * child_type: "logging.googleapis.com/LogEntry" * }; * } * * Generated from protobuf field <code>string child_type = 2;</code> */ protected $child_type = ''; /** * Constructor. * * @param array $data { * Optional. Data for populating the Message object. * * @type string $type * The resource type that the annotated field references. * Example: * message Subscription { * string topic = 2 [(google.api.resource_reference) = { * type: "pubsub.googleapis.com/Topic" * }]; * } * Occasionally, a field may reference an arbitrary resource. In this case, * APIs use the special value * in their resource reference. * Example: * message GetIamPolicyRequest { * string resource = 2 [(google.api.resource_reference) = { * type: "*" * }]; * } * @type string $child_type * The resource type of a child collection that the annotated field * references. This is useful for annotating the `parent` field that * doesn't have a fixed resource type. * Example: * message ListLogEntriesRequest { * string parent = 1 [(google.api.resource_reference) = { * child_type: "logging.googleapis.com/LogEntry" * }; * } * } */ public function __construct($data = NULL) { \GPBMetadata\Google\Api\Resource::initOnce(); parent::__construct($data); } /** * The resource type that the annotated field references. * Example: * message Subscription { * string topic = 2 [(google.api.resource_reference) = { * type: "pubsub.googleapis.com/Topic" * }]; * } * Occasionally, a field may reference an arbitrary resource. In this case, * APIs use the special value * in their resource reference. * Example: * message GetIamPolicyRequest { * string resource = 2 [(google.api.resource_reference) = { * type: "*" * }]; * } * * Generated from protobuf field <code>string type = 1;</code> * @return string */ public function getType() { return $this->type; } /** * The resource type that the annotated field references. * Example: * message Subscription { * string topic = 2 [(google.api.resource_reference) = { * type: "pubsub.googleapis.com/Topic" * }]; * } * Occasionally, a field may reference an arbitrary resource. In this case, * APIs use the special value * in their resource reference. * Example: * message GetIamPolicyRequest { * string resource = 2 [(google.api.resource_reference) = { * type: "*" * }]; * } * * Generated from protobuf field <code>string type = 1;</code> * @param string $var * @return $this */ public function setType($var) { GPBUtil::checkString($var, True); $this->type = $var; return $this; } /** * The resource type of a child collection that the annotated field * references. This is useful for annotating the `parent` field that * doesn't have a fixed resource type. * Example: * message ListLogEntriesRequest { * string parent = 1 [(google.api.resource_reference) = { * child_type: "logging.googleapis.com/LogEntry" * }; * } * * Generated from protobuf field <code>string child_type = 2;</code> * @return string */ public function getChildType() { return $this->child_type; } /** * The resource type of a child collection that the annotated field * references. This is useful for annotating the `parent` field that * doesn't have a fixed resource type. * Example: * message ListLogEntriesRequest { * string parent = 1 [(google.api.resource_reference) = { * child_type: "logging.googleapis.com/LogEntry" * }; * } * * Generated from protobuf field <code>string child_type = 2;</code> * @param string $var * @return $this */ public function setChildType($var) { GPBUtil::checkString($var, True); $this->child_type = $var; return $this; } }
Save Changes
Cancel / Back
Close ×
Server Info
Hostname: premium320.web-hosting.com
Server IP: 66.29.153.54
PHP Version: 8.2.29
Server Software: LiteSpeed
System: Linux premium320.web-hosting.com 4.18.0-553.50.1.lve.el8.x86_64 #1 SMP Thu Apr 17 19:10:24 UTC 2025 x86_64
HDD Total: 97.87 GB
HDD Free: 76.85 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:
No
git:
Yes
User Info
Username: aoneqssk
User ID (UID): 1285
Group ID (GID): 1290
Script Owner UID: 1285
Current Dir Owner: 1285