PluginProbe
Media Cloud Sync / 1.4.2
Media Cloud Sync v1.4.2
1.4.2 1.4.1 1.4.0 1.3.12 1.3.11 1.3.10 trunk 1.0.0 1.0.1 1.0.2 1.0.3 1.1.0 1.1.1 1.2.0 1.2.10 1.2.11 1.2.12 1.2.13 1.2.2 1.2.3 1.2.4 1.2.5 1.2.6 1.2.7 1.2.8 All 36 releases
← All changes | includes/sdk/google/google/common-protos/src/Api/Logging/LoggingDestination.php +10 -10 1.2.6 → 1.4.2 View file →
@@ -1,13 +1,13 @@
1 1 <?php
2 2
3 3 # Generated by the protocol buffer compiler. DO NOT EDIT!
4 4 # source: google/api/logging.proto
5 -namespace Dudlewebs\WPMCS\Google\Api\Logging;
5 +namespace Dudlewebs\WPMCS\GCP\Google\Api\Logging;
6 6
7 -use Dudlewebs\WPMCS\Google\Protobuf\Internal\GPBType;
8 -use Dudlewebs\WPMCS\Google\Protobuf\Internal\RepeatedField;
9 -use Dudlewebs\WPMCS\Google\Protobuf\Internal\GPBUtil;
7 +use Dudlewebs\WPMCS\GCP\Google\Protobuf\Internal\GPBType;
8 +use Dudlewebs\WPMCS\GCP\Google\Protobuf\Internal\GPBUtil;
9 +use Dudlewebs\WPMCS\GCP\Google\Protobuf\RepeatedField;
10 10 /**
11 11 * Configuration of a specific logging destination (the producer project
12 12 * or the consumer project).
13 13 *
@@ -12,9 +12,9 @@
12 12 * or the consumer project).
13 13 *
14 14 * Generated from protobuf message <code>google.api.Logging.LoggingDestination</code>
15 15 */
16 -class LoggingDestination extends \Dudlewebs\WPMCS\Google\Protobuf\Internal\Message
16 +class LoggingDestination extends \Dudlewebs\WPMCS\GCP\Google\Protobuf\Internal\Message
17 17 {
18 18 /**
19 19 * The monitored resource type. The type must be defined in the
20 20 * [Service.monitored_resources][google.api.Service.monitored_resources]
@@ -41,9 +41,9 @@
41 41 * @type string $monitored_resource
42 42 * The monitored resource type. The type must be defined in the
43 43 * [Service.monitored_resources][google.api.Service.monitored_resources]
44 44 * section.
45 - * @type array<string>|\Google\Protobuf\Internal\RepeatedField $logs
45 + * @type string[] $logs
46 46 * Names of the logs to be sent to this destination. Each name must
47 47 * be defined in the [Service.logs][google.api.Service.logs] section. If the
48 48 * log name is not a domain scoped name, it will be automatically prefixed
49 49 * with the service name followed by "/".
@@ -50,9 +50,9 @@
50 50 * }
51 51 */
52 52 public function __construct($data = NULL)
53 53 {
54 - \Dudlewebs\WPMCS\GPBMetadata\Google\Api\Logging::initOnce();
54 + \Dudlewebs\WPMCS\GCP\GPBMetadata\Google\Api\Logging::initOnce();
55 55 parent::__construct($data);
56 56 }
57 57 /**
58 58 * The monitored resource type. The type must be defined in the
@@ -87,9 +87,9 @@
87 87 * log name is not a domain scoped name, it will be automatically prefixed
88 88 * with the service name followed by "/".
89 89 *
90 90 * Generated from protobuf field <code>repeated string logs = 1;</code>
91 - * @return \Google\Protobuf\Internal\RepeatedField
91 + * @return RepeatedField<string>
92 92 */
93 93 public function getLogs()
94 94 {
95 95 return $this->logs;
@@ -100,14 +100,14 @@
100 100 * log name is not a domain scoped name, it will be automatically prefixed
101 101 * with the service name followed by "/".
102 102 *
103 103 * Generated from protobuf field <code>repeated string logs = 1;</code>
104 - * @param array<string>|\Google\Protobuf\Internal\RepeatedField $var
104 + * @param string[] $var
105 105 * @return $this
106 106 */
107 107 public function setLogs($var)
108 108 {
109 - $arr = GPBUtil::checkRepeatedField($var, \Dudlewebs\WPMCS\Google\Protobuf\Internal\GPBType::STRING);
109 + $arr = GPBUtil::checkRepeatedField($var, \Dudlewebs\WPMCS\GCP\Google\Protobuf\Internal\GPBType::STRING);
110 110 $this->logs = $arr;
111 111 return $this;
112 112 }
113 113 }