PluginProbe ʕ •ᴥ•ʔ
ShareThis Dashboard for Google Analytics / trunk
ShareThis Dashboard for Google Analytics vtrunk
3.3.2 trunk 1.0.7 2.0.0 2.0.1 2.0.2 2.0.3 2.0.4 2.0.5 2.1 2.1.2 2.1.3 2.1.4 2.1.5 2.2.5 2.3.5 2.3.6 2.3.7 2.3.8 2.4.0 2.4.1 2.5.0 2.5.1 2.5.2 2.5.3 2.5.4 2.5.5 3.0.0 3.1.0 3.1.1 3.1.2 3.1.3 3.1.4 3.1.5 3.1.6 3.1.7 3.2.0 3.2.1 3.2.2 3.2.3 3.2.4 3.3.0 3.3.1
googleanalytics / lib / analytics-admin / vendor / google / common-protos / src / Api / Monitoring.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
Monitoring.php
160 lines
1 <?php
2 # Generated by the protocol buffer compiler. DO NOT EDIT!
3 # source: google/api/monitoring.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 * Monitoring configuration of the service.
13 * The example below shows how to configure monitored resources and metrics
14 * for monitoring. In the example, a monitored resource and two metrics are
15 * defined. The `library.googleapis.com/book/returned_count` metric is sent
16 * to both producer and consumer projects, whereas the
17 * `library.googleapis.com/book/overdue_count` metric is only sent to the
18 * consumer project.
19 * monitored_resources:
20 * - type: library.googleapis.com/branch
21 * labels:
22 * - key: /city
23 * description: The city where the library branch is located in.
24 * - key: /name
25 * description: The name of the branch.
26 * metrics:
27 * - name: library.googleapis.com/book/returned_count
28 * metric_kind: DELTA
29 * value_type: INT64
30 * labels:
31 * - key: /customer_id
32 * - name: library.googleapis.com/book/overdue_count
33 * metric_kind: GAUGE
34 * value_type: INT64
35 * labels:
36 * - key: /customer_id
37 * monitoring:
38 * producer_destinations:
39 * - monitored_resource: library.googleapis.com/branch
40 * metrics:
41 * - library.googleapis.com/book/returned_count
42 * consumer_destinations:
43 * - monitored_resource: library.googleapis.com/branch
44 * metrics:
45 * - library.googleapis.com/book/returned_count
46 * - library.googleapis.com/book/overdue_count
47 *
48 * Generated from protobuf message <code>google.api.Monitoring</code>
49 */
50 class Monitoring extends \Google\Protobuf\Internal\Message
51 {
52 /**
53 * Monitoring configurations for sending metrics to the producer project.
54 * There can be multiple producer destinations, each one must have a
55 * different monitored resource type. A metric can be used in at most
56 * one producer destination.
57 *
58 * Generated from protobuf field <code>repeated .google.api.Monitoring.MonitoringDestination producer_destinations = 1;</code>
59 */
60 private $producer_destinations;
61 /**
62 * Monitoring configurations for sending metrics to the consumer project.
63 * There can be multiple consumer destinations, each one must have a
64 * different monitored resource type. A metric can be used in at most
65 * one consumer destination.
66 *
67 * Generated from protobuf field <code>repeated .google.api.Monitoring.MonitoringDestination consumer_destinations = 2;</code>
68 */
69 private $consumer_destinations;
70
71 /**
72 * Constructor.
73 *
74 * @param array $data {
75 * Optional. Data for populating the Message object.
76 *
77 * @type \Google\Api\Monitoring\MonitoringDestination[]|\Google\Protobuf\Internal\RepeatedField $producer_destinations
78 * Monitoring configurations for sending metrics to the producer project.
79 * There can be multiple producer destinations, each one must have a
80 * different monitored resource type. A metric can be used in at most
81 * one producer destination.
82 * @type \Google\Api\Monitoring\MonitoringDestination[]|\Google\Protobuf\Internal\RepeatedField $consumer_destinations
83 * Monitoring configurations for sending metrics to the consumer project.
84 * There can be multiple consumer destinations, each one must have a
85 * different monitored resource type. A metric can be used in at most
86 * one consumer destination.
87 * }
88 */
89 public function __construct($data = NULL) {
90 \GPBMetadata\Google\Api\Monitoring::initOnce();
91 parent::__construct($data);
92 }
93
94 /**
95 * Monitoring configurations for sending metrics to the producer project.
96 * There can be multiple producer destinations, each one must have a
97 * different monitored resource type. A metric can be used in at most
98 * one producer destination.
99 *
100 * Generated from protobuf field <code>repeated .google.api.Monitoring.MonitoringDestination producer_destinations = 1;</code>
101 * @return \Google\Protobuf\Internal\RepeatedField
102 */
103 public function getProducerDestinations()
104 {
105 return $this->producer_destinations;
106 }
107
108 /**
109 * Monitoring configurations for sending metrics to the producer project.
110 * There can be multiple producer destinations, each one must have a
111 * different monitored resource type. A metric can be used in at most
112 * one producer destination.
113 *
114 * Generated from protobuf field <code>repeated .google.api.Monitoring.MonitoringDestination producer_destinations = 1;</code>
115 * @param \Google\Api\Monitoring\MonitoringDestination[]|\Google\Protobuf\Internal\RepeatedField $var
116 * @return $this
117 */
118 public function setProducerDestinations($var)
119 {
120 $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Api\Monitoring\MonitoringDestination::class);
121 $this->producer_destinations = $arr;
122
123 return $this;
124 }
125
126 /**
127 * Monitoring configurations for sending metrics to the consumer project.
128 * There can be multiple consumer destinations, each one must have a
129 * different monitored resource type. A metric can be used in at most
130 * one consumer destination.
131 *
132 * Generated from protobuf field <code>repeated .google.api.Monitoring.MonitoringDestination consumer_destinations = 2;</code>
133 * @return \Google\Protobuf\Internal\RepeatedField
134 */
135 public function getConsumerDestinations()
136 {
137 return $this->consumer_destinations;
138 }
139
140 /**
141 * Monitoring configurations for sending metrics to the consumer project.
142 * There can be multiple consumer destinations, each one must have a
143 * different monitored resource type. A metric can be used in at most
144 * one consumer destination.
145 *
146 * Generated from protobuf field <code>repeated .google.api.Monitoring.MonitoringDestination consumer_destinations = 2;</code>
147 * @param \Google\Api\Monitoring\MonitoringDestination[]|\Google\Protobuf\Internal\RepeatedField $var
148 * @return $this
149 */
150 public function setConsumerDestinations($var)
151 {
152 $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Api\Monitoring\MonitoringDestination::class);
153 $this->consumer_destinations = $arr;
154
155 return $this;
156 }
157
158 }
159
160