googleanalytics
/
lib
/
analytics-admin
/
vendor
/
google
/
common-protos
/
src
/
Api
/
LogDescriptor.php
googleanalytics
/
lib
/
analytics-admin
/
vendor
/
google
/
common-protos
/
src
/
Api
Last commit date
BackendRule
3 years ago
Billing
3 years ago
Distribution
3 years ago
Expr
3 years ago
LabelDescriptor
3 years ago
Logging
3 years ago
MetricDescriptor
3 years ago
Monitoring
3 years ago
Property
3 years ago
ResourceDescriptor
3 years ago
Advice.php
3 years ago
AuthProvider.php
3 years ago
AuthRequirement.php
3 years ago
Authentication.php
3 years ago
AuthenticationRule.php
3 years ago
Backend.php
3 years ago
BackendRule.php
3 years ago
BackendRule_PathTranslation.php
3 years ago
Billing.php
3 years ago
Billing_BillingDestination.php
3 years ago
ChangeType.php
3 years ago
ConfigChange.php
3 years ago
Context.php
3 years ago
ContextRule.php
3 years ago
Control.php
3 years ago
CustomHttpPattern.php
3 years ago
Distribution.php
3 years ago
Distribution_BucketOptions.php
3 years ago
Distribution_BucketOptions_Explicit.php
3 years ago
Distribution_BucketOptions_Exponential.php
3 years ago
Distribution_BucketOptions_Linear.php
3 years ago
Distribution_Exemplar.php
3 years ago
Distribution_Range.php
3 years ago
Documentation.php
3 years ago
DocumentationRule.php
3 years ago
Endpoint.php
3 years ago
FieldBehavior.php
3 years ago
Http.php
3 years ago
HttpBody.php
3 years ago
HttpRule.php
3 years ago
LabelDescriptor.php
3 years ago
LabelDescriptor_ValueType.php
3 years ago
LaunchStage.php
3 years ago
LogDescriptor.php
3 years ago
Logging.php
3 years ago
Logging_LoggingDestination.php
3 years ago
Metric.php
3 years ago
MetricDescriptor.php
3 years ago
MetricDescriptor_MetricDescriptorMetadata.php
3 years ago
MetricDescriptor_MetricKind.php
3 years ago
MetricDescriptor_ValueType.php
3 years ago
MetricRule.php
3 years ago
MonitoredResource.php
3 years ago
MonitoredResourceDescriptor.php
3 years ago
MonitoredResourceMetadata.php
3 years ago
Monitoring.php
3 years ago
Monitoring_MonitoringDestination.php
3 years ago
OAuthRequirements.php
3 years ago
Page.php
3 years ago
ProjectProperties.php
3 years ago
Property.php
3 years ago
Property_PropertyType.php
3 years ago
Quota.php
3 years ago
QuotaLimit.php
3 years ago
ResourceDescriptor.php
3 years ago
ResourceDescriptor_History.php
3 years ago
ResourceReference.php
3 years ago
RoutingParameter.php
3 years ago
RoutingRule.php
3 years ago
Service.php
3 years ago
SourceInfo.php
3 years ago
SystemParameter.php
3 years ago
SystemParameterRule.php
3 years ago
SystemParameters.php
3 years ago
Usage.php
3 years ago
UsageRule.php
3 years ago
LogDescriptor.php
204 lines
| 1 | <?php |
| 2 | # Generated by the protocol buffer compiler. DO NOT EDIT! |
| 3 | # source: google/api/log.proto |
| 4 | |
| 5 | namespace Google\Api; |
| 6 | |
| 7 | use Google\Protobuf\Internal\GPBType; |
| 8 | use Google\Protobuf\Internal\RepeatedField; |
| 9 | use Google\Protobuf\Internal\GPBUtil; |
| 10 | |
| 11 | /** |
| 12 | * A description of a log type. Example in YAML format: |
| 13 | * - name: library.googleapis.com/activity_history |
| 14 | * description: The history of borrowing and returning library items. |
| 15 | * display_name: Activity |
| 16 | * labels: |
| 17 | * - key: /customer_id |
| 18 | * description: Identifier of a library customer |
| 19 | * |
| 20 | * Generated from protobuf message <code>google.api.LogDescriptor</code> |
| 21 | */ |
| 22 | class LogDescriptor extends \Google\Protobuf\Internal\Message |
| 23 | { |
| 24 | /** |
| 25 | * The name of the log. It must be less than 512 characters long and can |
| 26 | * include the following characters: upper- and lower-case alphanumeric |
| 27 | * characters [A-Za-z0-9], and punctuation characters including |
| 28 | * slash, underscore, hyphen, period [/_-.]. |
| 29 | * |
| 30 | * Generated from protobuf field <code>string name = 1;</code> |
| 31 | */ |
| 32 | private $name = ''; |
| 33 | /** |
| 34 | * The set of labels that are available to describe a specific log entry. |
| 35 | * Runtime requests that contain labels not specified here are |
| 36 | * considered invalid. |
| 37 | * |
| 38 | * Generated from protobuf field <code>repeated .google.api.LabelDescriptor labels = 2;</code> |
| 39 | */ |
| 40 | private $labels; |
| 41 | /** |
| 42 | * A human-readable description of this log. This information appears in |
| 43 | * the documentation and can contain details. |
| 44 | * |
| 45 | * Generated from protobuf field <code>string description = 3;</code> |
| 46 | */ |
| 47 | private $description = ''; |
| 48 | /** |
| 49 | * The human-readable name for this log. This information appears on |
| 50 | * the user interface and should be concise. |
| 51 | * |
| 52 | * Generated from protobuf field <code>string display_name = 4;</code> |
| 53 | */ |
| 54 | private $display_name = ''; |
| 55 | |
| 56 | /** |
| 57 | * Constructor. |
| 58 | * |
| 59 | * @param array $data { |
| 60 | * Optional. Data for populating the Message object. |
| 61 | * |
| 62 | * @type string $name |
| 63 | * The name of the log. It must be less than 512 characters long and can |
| 64 | * include the following characters: upper- and lower-case alphanumeric |
| 65 | * characters [A-Za-z0-9], and punctuation characters including |
| 66 | * slash, underscore, hyphen, period [/_-.]. |
| 67 | * @type \Google\Api\LabelDescriptor[]|\Google\Protobuf\Internal\RepeatedField $labels |
| 68 | * The set of labels that are available to describe a specific log entry. |
| 69 | * Runtime requests that contain labels not specified here are |
| 70 | * considered invalid. |
| 71 | * @type string $description |
| 72 | * A human-readable description of this log. This information appears in |
| 73 | * the documentation and can contain details. |
| 74 | * @type string $display_name |
| 75 | * The human-readable name for this log. This information appears on |
| 76 | * the user interface and should be concise. |
| 77 | * } |
| 78 | */ |
| 79 | public function __construct($data = NULL) { |
| 80 | \GPBMetadata\Google\Api\Log::initOnce(); |
| 81 | parent::__construct($data); |
| 82 | } |
| 83 | |
| 84 | /** |
| 85 | * The name of the log. It must be less than 512 characters long and can |
| 86 | * include the following characters: upper- and lower-case alphanumeric |
| 87 | * characters [A-Za-z0-9], and punctuation characters including |
| 88 | * slash, underscore, hyphen, period [/_-.]. |
| 89 | * |
| 90 | * Generated from protobuf field <code>string name = 1;</code> |
| 91 | * @return string |
| 92 | */ |
| 93 | public function getName() |
| 94 | { |
| 95 | return $this->name; |
| 96 | } |
| 97 | |
| 98 | /** |
| 99 | * The name of the log. It must be less than 512 characters long and can |
| 100 | * include the following characters: upper- and lower-case alphanumeric |
| 101 | * characters [A-Za-z0-9], and punctuation characters including |
| 102 | * slash, underscore, hyphen, period [/_-.]. |
| 103 | * |
| 104 | * Generated from protobuf field <code>string name = 1;</code> |
| 105 | * @param string $var |
| 106 | * @return $this |
| 107 | */ |
| 108 | public function setName($var) |
| 109 | { |
| 110 | GPBUtil::checkString($var, True); |
| 111 | $this->name = $var; |
| 112 | |
| 113 | return $this; |
| 114 | } |
| 115 | |
| 116 | /** |
| 117 | * The set of labels that are available to describe a specific log entry. |
| 118 | * Runtime requests that contain labels not specified here are |
| 119 | * considered invalid. |
| 120 | * |
| 121 | * Generated from protobuf field <code>repeated .google.api.LabelDescriptor labels = 2;</code> |
| 122 | * @return \Google\Protobuf\Internal\RepeatedField |
| 123 | */ |
| 124 | public function getLabels() |
| 125 | { |
| 126 | return $this->labels; |
| 127 | } |
| 128 | |
| 129 | /** |
| 130 | * The set of labels that are available to describe a specific log entry. |
| 131 | * Runtime requests that contain labels not specified here are |
| 132 | * considered invalid. |
| 133 | * |
| 134 | * Generated from protobuf field <code>repeated .google.api.LabelDescriptor labels = 2;</code> |
| 135 | * @param \Google\Api\LabelDescriptor[]|\Google\Protobuf\Internal\RepeatedField $var |
| 136 | * @return $this |
| 137 | */ |
| 138 | public function setLabels($var) |
| 139 | { |
| 140 | $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Api\LabelDescriptor::class); |
| 141 | $this->labels = $arr; |
| 142 | |
| 143 | return $this; |
| 144 | } |
| 145 | |
| 146 | /** |
| 147 | * A human-readable description of this log. This information appears in |
| 148 | * the documentation and can contain details. |
| 149 | * |
| 150 | * Generated from protobuf field <code>string description = 3;</code> |
| 151 | * @return string |
| 152 | */ |
| 153 | public function getDescription() |
| 154 | { |
| 155 | return $this->description; |
| 156 | } |
| 157 | |
| 158 | /** |
| 159 | * A human-readable description of this log. This information appears in |
| 160 | * the documentation and can contain details. |
| 161 | * |
| 162 | * Generated from protobuf field <code>string description = 3;</code> |
| 163 | * @param string $var |
| 164 | * @return $this |
| 165 | */ |
| 166 | public function setDescription($var) |
| 167 | { |
| 168 | GPBUtil::checkString($var, True); |
| 169 | $this->description = $var; |
| 170 | |
| 171 | return $this; |
| 172 | } |
| 173 | |
| 174 | /** |
| 175 | * The human-readable name for this log. This information appears on |
| 176 | * the user interface and should be concise. |
| 177 | * |
| 178 | * Generated from protobuf field <code>string display_name = 4;</code> |
| 179 | * @return string |
| 180 | */ |
| 181 | public function getDisplayName() |
| 182 | { |
| 183 | return $this->display_name; |
| 184 | } |
| 185 | |
| 186 | /** |
| 187 | * The human-readable name for this log. This information appears on |
| 188 | * the user interface and should be concise. |
| 189 | * |
| 190 | * Generated from protobuf field <code>string display_name = 4;</code> |
| 191 | * @param string $var |
| 192 | * @return $this |
| 193 | */ |
| 194 | public function setDisplayName($var) |
| 195 | { |
| 196 | GPBUtil::checkString($var, True); |
| 197 | $this->display_name = $var; |
| 198 | |
| 199 | return $this; |
| 200 | } |
| 201 | |
| 202 | } |
| 203 | |
| 204 |