<?php # Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/rpc/error_details.proto namespace Google\Rpc; use Google\Protobuf\Internal\GPBType; use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; /** * Provides links to documentation or for performing an out of band action. * For example, if a quota check failed with an error indicating the calling * project hasn't enabled the accessed service, this can contain a URL pointing * directly to the right place in the developer console to flip the bit. * * Generated from protobuf message <code>google.rpc.Help</code> */ class Help extends \Google\Protobuf\Internal\Message { /** * URL(s) pointing to additional information on handling the current error. * * Generated from protobuf field <code>repeated .google.rpc.Help.Link links = 1;</code> */ private $links; /** * Constructor. * * @param array $data { * Optional. Data for populating the Message object. * * @type \Google\Rpc\Help\Link[]|\Google\Protobuf\Internal\RepeatedField $links * URL(s) pointing to additional information on handling the current error. * } */ public function __construct($data = NULL) { \GPBMetadata\Google\Rpc\ErrorDetails::initOnce(); parent::__construct($data); } /** * URL(s) pointing to additional information on handling the current error. * * Generated from protobuf field <code>repeated .google.rpc.Help.Link links = 1;</code> * @return \Google\Protobuf\Internal\RepeatedField */ public function getLinks() { return $this->links; } /** * URL(s) pointing to additional information on handling the current error. * * Generated from protobuf field <code>repeated .google.rpc.Help.Link links = 1;</code> * @param \Google\Rpc\Help\Link[]|\Google\Protobuf\Internal\RepeatedField $var * @return $this */ public function setLinks($var) { $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Rpc\Help\Link::class); $this->links = $arr; return $this; } }
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
BadRequest | Folder | 2755 |
|
|
Help | Folder | 2755 |
|
|
PreconditionFailure | Folder | 2755 |
|
|
QuotaFailure | Folder | 2755 |
|
|
BadRequest.php | File | 2.08 KB | 0644 |
|
BadRequest_FieldViolation.php | File | 536 B | 0644 |
|
Code.php | File | 9.43 KB | 0644 |
|
DebugInfo.php | File | 2.71 KB | 0644 |
|
ErrorInfo.php | File | 7.94 KB | 0644 |
|
Help.php | File | 2.17 KB | 0644 |
|
Help_Link.php | File | 456 B | 0644 |
|
LocalizedMessage.php | File | 2.91 KB | 0644 |
|
PreconditionFailure.php | File | 2.15 KB | 0644 |
|
PreconditionFailure_Violation.php | File | 556 B | 0644 |
|
QuotaFailure.php | File | 2.35 KB | 0644 |
|
QuotaFailure_Violation.php | File | 521 B | 0644 |
|
RequestInfo.php | File | 3.4 KB | 0644 |
|
ResourceInfo.php | File | 6.58 KB | 0644 |
|
RetryInfo.php | File | 2.44 KB | 0644 |
|
Status.php | File | 5 KB | 0644 |
|