diff --git a/Iot/src/V1/BindDeviceToGatewayRequest.php b/Iot/src/V1/BindDeviceToGatewayRequest.php
index ef92cf752a33..b22e325919a3 100644
--- a/Iot/src/V1/BindDeviceToGatewayRequest.php
+++ b/Iot/src/V1/BindDeviceToGatewayRequest.php
@@ -21,14 +21,14 @@ class BindDeviceToGatewayRequest extends \Google\Protobuf\Internal\Message
*
* Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
*/
- private $parent = '';
+ protected $parent = '';
/**
* Required. The value of `gateway_id` can be either the device numeric ID or the
* user-defined device identifier.
*
* Generated from protobuf field string gateway_id = 2 [(.google.api.field_behavior) = REQUIRED];
*/
- private $gateway_id = '';
+ protected $gateway_id = '';
/**
* Required. The device to associate with the specified gateway. The value of
* `device_id` can be either the device numeric ID or the user-defined device
@@ -36,7 +36,7 @@ class BindDeviceToGatewayRequest extends \Google\Protobuf\Internal\Message
*
* Generated from protobuf field string device_id = 3 [(.google.api.field_behavior) = REQUIRED];
*/
- private $device_id = '';
+ protected $device_id = '';
/**
* Constructor.
diff --git a/Iot/src/V1/CreateDeviceRegistryRequest.php b/Iot/src/V1/CreateDeviceRegistryRequest.php
index 23e8daa81609..c73f9070c25d 100644
--- a/Iot/src/V1/CreateDeviceRegistryRequest.php
+++ b/Iot/src/V1/CreateDeviceRegistryRequest.php
@@ -21,7 +21,7 @@ class CreateDeviceRegistryRequest extends \Google\Protobuf\Internal\Message
*
* Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
*/
- private $parent = '';
+ protected $parent = '';
/**
* Required. The device registry. The field `name` must be empty. The server will
* generate that field from the device registry `id` provided and the
@@ -29,7 +29,7 @@ class CreateDeviceRegistryRequest extends \Google\Protobuf\Internal\Message
*
* Generated from protobuf field .google.cloud.iot.v1.DeviceRegistry device_registry = 2 [(.google.api.field_behavior) = REQUIRED];
*/
- private $device_registry = null;
+ protected $device_registry = null;
/**
* Constructor.
diff --git a/Iot/src/V1/CreateDeviceRequest.php b/Iot/src/V1/CreateDeviceRequest.php
index f6edfb04eec2..de79eb43eb37 100644
--- a/Iot/src/V1/CreateDeviceRequest.php
+++ b/Iot/src/V1/CreateDeviceRequest.php
@@ -22,7 +22,7 @@ class CreateDeviceRequest extends \Google\Protobuf\Internal\Message
*
* Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
*/
- private $parent = '';
+ protected $parent = '';
/**
* Required. The device registration details. The field `name` must be empty. The server
* generates `name` from the device registry `id` and the
@@ -30,7 +30,7 @@ class CreateDeviceRequest extends \Google\Protobuf\Internal\Message
*
* Generated from protobuf field .google.cloud.iot.v1.Device device = 2 [(.google.api.field_behavior) = REQUIRED];
*/
- private $device = null;
+ protected $device = null;
/**
* Constructor.
diff --git a/Iot/src/V1/DeleteDeviceRegistryRequest.php b/Iot/src/V1/DeleteDeviceRegistryRequest.php
index 4dd2d0d779eb..1320cdd106cc 100644
--- a/Iot/src/V1/DeleteDeviceRegistryRequest.php
+++ b/Iot/src/V1/DeleteDeviceRegistryRequest.php
@@ -21,7 +21,7 @@ class DeleteDeviceRegistryRequest extends \Google\Protobuf\Internal\Message
*
* Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
*/
- private $name = '';
+ protected $name = '';
/**
* Constructor.
diff --git a/Iot/src/V1/DeleteDeviceRequest.php b/Iot/src/V1/DeleteDeviceRequest.php
index 8e243f605e9f..469fde59413a 100644
--- a/Iot/src/V1/DeleteDeviceRequest.php
+++ b/Iot/src/V1/DeleteDeviceRequest.php
@@ -22,7 +22,7 @@ class DeleteDeviceRequest extends \Google\Protobuf\Internal\Message
*
* Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
*/
- private $name = '';
+ protected $name = '';
/**
* Constructor.
diff --git a/Iot/src/V1/Device.php b/Iot/src/V1/Device.php
index 5a60843b8dfd..7f05490e6a5a 100644
--- a/Iot/src/V1/Device.php
+++ b/Iot/src/V1/Device.php
@@ -21,7 +21,7 @@ class Device extends \Google\Protobuf\Internal\Message
*
* Generated from protobuf field string id = 1;
*/
- private $id = '';
+ protected $id = '';
/**
* The resource path name. For example,
* `projects/p1/locations/us-central1/registries/registry0/devices/dev0` or
@@ -31,14 +31,14 @@ class Device extends \Google\Protobuf\Internal\Message
*
* Generated from protobuf field string name = 2;
*/
- private $name = '';
+ protected $name = '';
/**
* [Output only] A server-defined unique numeric ID for the device. This is a
* more compact way to identify devices, and it is globally unique.
*
* Generated from protobuf field uint64 num_id = 3;
*/
- private $num_id = 0;
+ protected $num_id = 0;
/**
* The credentials used to authenticate this device. To allow credential
* rotation without interruption, multiple device credentials can be bound to
@@ -59,7 +59,7 @@ class Device extends \Google\Protobuf\Internal\Message
*
* Generated from protobuf field .google.protobuf.Timestamp last_heartbeat_time = 7;
*/
- private $last_heartbeat_time = null;
+ protected $last_heartbeat_time = null;
/**
* [Output only] The last time a telemetry event was received. Timestamps are
* periodically collected and written to storage; they may be stale by a few
@@ -67,7 +67,7 @@ class Device extends \Google\Protobuf\Internal\Message
*
* Generated from protobuf field .google.protobuf.Timestamp last_event_time = 8;
*/
- private $last_event_time = null;
+ protected $last_event_time = null;
/**
* [Output only] The last time a state event was received. Timestamps are
* periodically collected and written to storage; they may be stale by a few
@@ -75,7 +75,7 @@ class Device extends \Google\Protobuf\Internal\Message
*
* Generated from protobuf field .google.protobuf.Timestamp last_state_time = 20;
*/
- private $last_state_time = null;
+ protected $last_state_time = null;
/**
* [Output only] The last time a cloud-to-device config version acknowledgment
* was received from the device. This field is only for configurations
@@ -83,14 +83,14 @@ class Device extends \Google\Protobuf\Internal\Message
*
* Generated from protobuf field .google.protobuf.Timestamp last_config_ack_time = 14;
*/
- private $last_config_ack_time = null;
+ protected $last_config_ack_time = null;
/**
* [Output only] The last time a cloud-to-device config version was sent to
* the device.
*
* Generated from protobuf field .google.protobuf.Timestamp last_config_send_time = 18;
*/
- private $last_config_send_time = null;
+ protected $last_config_send_time = null;
/**
* If a device is blocked, connections or requests from this device will fail.
* Can be used to temporarily prevent the device from connecting if, for
@@ -98,7 +98,7 @@ class Device extends \Google\Protobuf\Internal\Message
*
* Generated from protobuf field bool blocked = 19;
*/
- private $blocked = false;
+ protected $blocked = false;
/**
* [Output only] The time the most recent error occurred, such as a failure to
* publish to Cloud Pub/Sub. This field is the timestamp of
@@ -106,7 +106,7 @@ class Device extends \Google\Protobuf\Internal\Message
*
* Generated from protobuf field .google.protobuf.Timestamp last_error_time = 10;
*/
- private $last_error_time = null;
+ protected $last_error_time = null;
/**
* [Output only] The error message of the most recent error, such as a failure
* to publish to Cloud Pub/Sub. 'last_error_time' is the timestamp of this
@@ -116,7 +116,7 @@ class Device extends \Google\Protobuf\Internal\Message
*
* Generated from protobuf field .google.rpc.Status last_error_status = 11;
*/
- private $last_error_status = null;
+ protected $last_error_status = null;
/**
* The most recent device configuration, which is eventually sent from
* Cloud IoT Core to the device. If not present on creation, the
@@ -126,14 +126,14 @@ class Device extends \Google\Protobuf\Internal\Message
*
* Generated from protobuf field .google.cloud.iot.v1.DeviceConfig config = 13;
*/
- private $config = null;
+ protected $config = null;
/**
* [Output only] The state most recently received from the device. If no state
* has been reported, this field is not present.
*
* Generated from protobuf field .google.cloud.iot.v1.DeviceState state = 16;
*/
- private $state = null;
+ protected $state = null;
/**
* **Beta Feature**
* The logging verbosity for device activity. If unspecified,
@@ -141,7 +141,7 @@ class Device extends \Google\Protobuf\Internal\Message
*
* Generated from protobuf field .google.cloud.iot.v1.LogLevel log_level = 21;
*/
- private $log_level = 0;
+ protected $log_level = 0;
/**
* The metadata key-value pairs assigned to the device. This metadata is not
* interpreted or indexed by Cloud IoT Core. It can be used to add contextual
@@ -161,7 +161,7 @@ class Device extends \Google\Protobuf\Internal\Message
*
* Generated from protobuf field .google.cloud.iot.v1.GatewayConfig gateway_config = 24;
*/
- private $gateway_config = null;
+ protected $gateway_config = null;
/**
* Constructor.
diff --git a/Iot/src/V1/DeviceConfig.php b/Iot/src/V1/DeviceConfig.php
index 51b06b40535a..faf39757243b 100644
--- a/Iot/src/V1/DeviceConfig.php
+++ b/Iot/src/V1/DeviceConfig.php
@@ -23,14 +23,14 @@ class DeviceConfig extends \Google\Protobuf\Internal\Message
*
* Generated from protobuf field int64 version = 1;
*/
- private $version = 0;
+ protected $version = 0;
/**
* [Output only] The time at which this configuration version was updated in
* Cloud IoT Core. This timestamp is set by the server.
*
* Generated from protobuf field .google.protobuf.Timestamp cloud_update_time = 2;
*/
- private $cloud_update_time = null;
+ protected $cloud_update_time = null;
/**
* [Output only] The time at which Cloud IoT Core received the
* acknowledgment from the device, indicating that the device has received
@@ -44,13 +44,13 @@ class DeviceConfig extends \Google\Protobuf\Internal\Message
*
* Generated from protobuf field .google.protobuf.Timestamp device_ack_time = 3;
*/
- private $device_ack_time = null;
+ protected $device_ack_time = null;
/**
* The device configuration data.
*
* Generated from protobuf field bytes binary_data = 4;
*/
- private $binary_data = '';
+ protected $binary_data = '';
/**
* Constructor.
diff --git a/Iot/src/V1/DeviceCredential.php b/Iot/src/V1/DeviceCredential.php
index 50bb4c8bf76c..c2170256e8f3 100644
--- a/Iot/src/V1/DeviceCredential.php
+++ b/Iot/src/V1/DeviceCredential.php
@@ -22,7 +22,7 @@ class DeviceCredential extends \Google\Protobuf\Internal\Message
*
* Generated from protobuf field .google.protobuf.Timestamp expiration_time = 6;
*/
- private $expiration_time = null;
+ protected $expiration_time = null;
protected $credential;
/**
diff --git a/Iot/src/V1/DeviceRegistry.php b/Iot/src/V1/DeviceRegistry.php
index cc4aa6674d01..712b52d72ba0 100644
--- a/Iot/src/V1/DeviceRegistry.php
+++ b/Iot/src/V1/DeviceRegistry.php
@@ -20,14 +20,14 @@ class DeviceRegistry extends \Google\Protobuf\Internal\Message
*
* Generated from protobuf field string id = 1;
*/
- private $id = '';
+ protected $id = '';
/**
* The resource path name. For example,
* `projects/example-project/locations/us-central1/registries/my-registry`.
*
* Generated from protobuf field string name = 2;
*/
- private $name = '';
+ protected $name = '';
/**
* The configuration for notification of telemetry events received from the
* device. All telemetry events that were successfully published by the
@@ -52,19 +52,19 @@ class DeviceRegistry extends \Google\Protobuf\Internal\Message
*
* Generated from protobuf field .google.cloud.iot.v1.StateNotificationConfig state_notification_config = 7;
*/
- private $state_notification_config = null;
+ protected $state_notification_config = null;
/**
* The MQTT configuration for this device registry.
*
* Generated from protobuf field .google.cloud.iot.v1.MqttConfig mqtt_config = 4;
*/
- private $mqtt_config = null;
+ protected $mqtt_config = null;
/**
* The DeviceService (HTTP) configuration for this device registry.
*
* Generated from protobuf field .google.cloud.iot.v1.HttpConfig http_config = 9;
*/
- private $http_config = null;
+ protected $http_config = null;
/**
* **Beta Feature**
* The default logging verbosity for activity from devices in this registry.
@@ -72,7 +72,7 @@ class DeviceRegistry extends \Google\Protobuf\Internal\Message
*
* Generated from protobuf field .google.cloud.iot.v1.LogLevel log_level = 11;
*/
- private $log_level = 0;
+ protected $log_level = 0;
/**
* The credentials used to verify the device credentials. No more than 10
* credentials can be bound to a single registry at a time. The verification
diff --git a/Iot/src/V1/DeviceState.php b/Iot/src/V1/DeviceState.php
index d58a94be1b77..0d299bd2a1d0 100644
--- a/Iot/src/V1/DeviceState.php
+++ b/Iot/src/V1/DeviceState.php
@@ -21,13 +21,13 @@ class DeviceState extends \Google\Protobuf\Internal\Message
*
* Generated from protobuf field .google.protobuf.Timestamp update_time = 1;
*/
- private $update_time = null;
+ protected $update_time = null;
/**
* The device state data.
*
* Generated from protobuf field bytes binary_data = 2;
*/
- private $binary_data = '';
+ protected $binary_data = '';
/**
* Constructor.
diff --git a/Iot/src/V1/EventNotificationConfig.php b/Iot/src/V1/EventNotificationConfig.php
index bdef53e7afc1..b34728a02e7f 100644
--- a/Iot/src/V1/EventNotificationConfig.php
+++ b/Iot/src/V1/EventNotificationConfig.php
@@ -23,14 +23,14 @@ class EventNotificationConfig extends \Google\Protobuf\Internal\Message
*
* Generated from protobuf field string subfolder_matches = 2;
*/
- private $subfolder_matches = '';
+ protected $subfolder_matches = '';
/**
* A Cloud Pub/Sub topic name. For example,
* `projects/myProject/topics/deviceEvents`.
*
* Generated from protobuf field string pubsub_topic_name = 1;
*/
- private $pubsub_topic_name = '';
+ protected $pubsub_topic_name = '';
/**
* Constructor.
diff --git a/Iot/src/V1/GatewayConfig.php b/Iot/src/V1/GatewayConfig.php
index a2574fc4ab1f..d14612fc135c 100644
--- a/Iot/src/V1/GatewayConfig.php
+++ b/Iot/src/V1/GatewayConfig.php
@@ -20,27 +20,27 @@ class GatewayConfig extends \Google\Protobuf\Internal\Message
*
* Generated from protobuf field .google.cloud.iot.v1.GatewayType gateway_type = 1;
*/
- private $gateway_type = 0;
+ protected $gateway_type = 0;
/**
* Indicates how to authorize and/or authenticate devices to access the
* gateway.
*
* Generated from protobuf field .google.cloud.iot.v1.GatewayAuthMethod gateway_auth_method = 2;
*/
- private $gateway_auth_method = 0;
+ protected $gateway_auth_method = 0;
/**
* [Output only] The ID of the gateway the device accessed most recently.
*
* Generated from protobuf field string last_accessed_gateway_id = 3;
*/
- private $last_accessed_gateway_id = '';
+ protected $last_accessed_gateway_id = '';
/**
* [Output only] The most recent time at which the device accessed the gateway
* specified in `last_accessed_gateway`.
*
* Generated from protobuf field .google.protobuf.Timestamp last_accessed_gateway_time = 4;
*/
- private $last_accessed_gateway_time = null;
+ protected $last_accessed_gateway_time = null;
/**
* Constructor.
diff --git a/Iot/src/V1/GetDeviceRegistryRequest.php b/Iot/src/V1/GetDeviceRegistryRequest.php
index 7d77a9578b79..f951e10ce054 100644
--- a/Iot/src/V1/GetDeviceRegistryRequest.php
+++ b/Iot/src/V1/GetDeviceRegistryRequest.php
@@ -21,7 +21,7 @@ class GetDeviceRegistryRequest extends \Google\Protobuf\Internal\Message
*
* Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
*/
- private $name = '';
+ protected $name = '';
/**
* Constructor.
diff --git a/Iot/src/V1/GetDeviceRequest.php b/Iot/src/V1/GetDeviceRequest.php
index 1b75dece27bc..4e277015467f 100644
--- a/Iot/src/V1/GetDeviceRequest.php
+++ b/Iot/src/V1/GetDeviceRequest.php
@@ -22,14 +22,14 @@ class GetDeviceRequest extends \Google\Protobuf\Internal\Message
*
* Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
*/
- private $name = '';
+ protected $name = '';
/**
* The fields of the `Device` resource to be returned in the response. If the
* field mask is unset or empty, all fields are returned.
*
* Generated from protobuf field .google.protobuf.FieldMask field_mask = 2;
*/
- private $field_mask = null;
+ protected $field_mask = null;
/**
* Constructor.
diff --git a/Iot/src/V1/HttpConfig.php b/Iot/src/V1/HttpConfig.php
index 0ce7898291bd..dd5bab2c0ced 100644
--- a/Iot/src/V1/HttpConfig.php
+++ b/Iot/src/V1/HttpConfig.php
@@ -21,7 +21,7 @@ class HttpConfig extends \Google\Protobuf\Internal\Message
*
* Generated from protobuf field .google.cloud.iot.v1.HttpState http_enabled_state = 1;
*/
- private $http_enabled_state = 0;
+ protected $http_enabled_state = 0;
/**
* Constructor.
diff --git a/Iot/src/V1/ListDeviceConfigVersionsRequest.php b/Iot/src/V1/ListDeviceConfigVersionsRequest.php
index d88c6ddb9cc9..4d839db838ea 100644
--- a/Iot/src/V1/ListDeviceConfigVersionsRequest.php
+++ b/Iot/src/V1/ListDeviceConfigVersionsRequest.php
@@ -22,7 +22,7 @@ class ListDeviceConfigVersionsRequest extends \Google\Protobuf\Internal\Message
*
* Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
*/
- private $name = '';
+ protected $name = '';
/**
* The number of versions to list. Versions are listed in decreasing order of
* the version number. The maximum number of versions retained is 10. If this
@@ -30,7 +30,7 @@ class ListDeviceConfigVersionsRequest extends \Google\Protobuf\Internal\Message
*
* Generated from protobuf field int32 num_versions = 2;
*/
- private $num_versions = 0;
+ protected $num_versions = 0;
/**
* Constructor.
diff --git a/Iot/src/V1/ListDeviceRegistriesRequest.php b/Iot/src/V1/ListDeviceRegistriesRequest.php
index a156e0dcf676..b5df1c07d235 100644
--- a/Iot/src/V1/ListDeviceRegistriesRequest.php
+++ b/Iot/src/V1/ListDeviceRegistriesRequest.php
@@ -21,7 +21,7 @@ class ListDeviceRegistriesRequest extends \Google\Protobuf\Internal\Message
*
* Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
*/
- private $parent = '';
+ protected $parent = '';
/**
* The maximum number of registries to return in the response. If this value
* is zero, the service will select a default size. A call may return fewer
@@ -30,7 +30,7 @@ class ListDeviceRegistriesRequest extends \Google\Protobuf\Internal\Message
*
* Generated from protobuf field int32 page_size = 2;
*/
- private $page_size = 0;
+ protected $page_size = 0;
/**
* The value returned by the last `ListDeviceRegistriesResponse`; indicates
* that this is a continuation of a prior `ListDeviceRegistries` call and
@@ -38,7 +38,7 @@ class ListDeviceRegistriesRequest extends \Google\Protobuf\Internal\Message
*
* Generated from protobuf field string page_token = 3;
*/
- private $page_token = '';
+ protected $page_token = '';
/**
* Constructor.
diff --git a/Iot/src/V1/ListDeviceRegistriesResponse.php b/Iot/src/V1/ListDeviceRegistriesResponse.php
index 5b2b03554c47..7e68c09fabc2 100644
--- a/Iot/src/V1/ListDeviceRegistriesResponse.php
+++ b/Iot/src/V1/ListDeviceRegistriesResponse.php
@@ -28,7 +28,7 @@ class ListDeviceRegistriesResponse extends \Google\Protobuf\Internal\Message
*
* Generated from protobuf field string next_page_token = 2;
*/
- private $next_page_token = '';
+ protected $next_page_token = '';
/**
* Constructor.
diff --git a/Iot/src/V1/ListDeviceStatesRequest.php b/Iot/src/V1/ListDeviceStatesRequest.php
index 21c62a5f3f91..e0287af6f36d 100644
--- a/Iot/src/V1/ListDeviceStatesRequest.php
+++ b/Iot/src/V1/ListDeviceStatesRequest.php
@@ -22,7 +22,7 @@ class ListDeviceStatesRequest extends \Google\Protobuf\Internal\Message
*
* Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
*/
- private $name = '';
+ protected $name = '';
/**
* The number of states to list. States are listed in descending order of
* update time. The maximum number of states retained is 10. If this
@@ -30,7 +30,7 @@ class ListDeviceStatesRequest extends \Google\Protobuf\Internal\Message
*
* Generated from protobuf field int32 num_states = 2;
*/
- private $num_states = 0;
+ protected $num_states = 0;
/**
* Constructor.
diff --git a/Iot/src/V1/ListDevicesRequest.php b/Iot/src/V1/ListDevicesRequest.php
index 2513879fdbd7..eea8c0cd496c 100644
--- a/Iot/src/V1/ListDevicesRequest.php
+++ b/Iot/src/V1/ListDevicesRequest.php
@@ -21,7 +21,7 @@ class ListDevicesRequest extends \Google\Protobuf\Internal\Message
*
* Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
*/
- private $parent = '';
+ protected $parent = '';
/**
* A list of device numeric IDs. If empty, this field is ignored. Maximum
* IDs: 10,000.
@@ -43,13 +43,13 @@ class ListDevicesRequest extends \Google\Protobuf\Internal\Message
*
* Generated from protobuf field .google.protobuf.FieldMask field_mask = 4;
*/
- private $field_mask = null;
+ protected $field_mask = null;
/**
* Options related to gateways.
*
* Generated from protobuf field .google.cloud.iot.v1.GatewayListOptions gateway_list_options = 6;
*/
- private $gateway_list_options = null;
+ protected $gateway_list_options = null;
/**
* The maximum number of devices to return in the response. If this value
* is zero, the service will select a default size. A call may return fewer
@@ -58,7 +58,7 @@ class ListDevicesRequest extends \Google\Protobuf\Internal\Message
*
* Generated from protobuf field int32 page_size = 100;
*/
- private $page_size = 0;
+ protected $page_size = 0;
/**
* The value returned by the last `ListDevicesResponse`; indicates
* that this is a continuation of a prior `ListDevices` call and
@@ -66,7 +66,7 @@ class ListDevicesRequest extends \Google\Protobuf\Internal\Message
*
* Generated from protobuf field string page_token = 101;
*/
- private $page_token = '';
+ protected $page_token = '';
/**
* Constructor.
diff --git a/Iot/src/V1/ListDevicesResponse.php b/Iot/src/V1/ListDevicesResponse.php
index 09ae3419ec88..103b2b970e8c 100644
--- a/Iot/src/V1/ListDevicesResponse.php
+++ b/Iot/src/V1/ListDevicesResponse.php
@@ -27,7 +27,7 @@ class ListDevicesResponse extends \Google\Protobuf\Internal\Message
*
* Generated from protobuf field string next_page_token = 2;
*/
- private $next_page_token = '';
+ protected $next_page_token = '';
/**
* Constructor.
diff --git a/Iot/src/V1/ModifyCloudToDeviceConfigRequest.php b/Iot/src/V1/ModifyCloudToDeviceConfigRequest.php
index a0b5597583cd..f9b87692e059 100644
--- a/Iot/src/V1/ModifyCloudToDeviceConfigRequest.php
+++ b/Iot/src/V1/ModifyCloudToDeviceConfigRequest.php
@@ -22,7 +22,7 @@ class ModifyCloudToDeviceConfigRequest extends \Google\Protobuf\Internal\Message
*
* Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
*/
- private $name = '';
+ protected $name = '';
/**
* The version number to update. If this value is zero, it will not check the
* version number of the server and will always update the current version;
@@ -32,13 +32,13 @@ class ModifyCloudToDeviceConfigRequest extends \Google\Protobuf\Internal\Message
*
* Generated from protobuf field int64 version_to_update = 2;
*/
- private $version_to_update = 0;
+ protected $version_to_update = 0;
/**
* Required. The configuration data for the device.
*
* Generated from protobuf field bytes binary_data = 3 [(.google.api.field_behavior) = REQUIRED];
*/
- private $binary_data = '';
+ protected $binary_data = '';
/**
* Constructor.
diff --git a/Iot/src/V1/MqttConfig.php b/Iot/src/V1/MqttConfig.php
index afd4563dae9c..77e319da0575 100644
--- a/Iot/src/V1/MqttConfig.php
+++ b/Iot/src/V1/MqttConfig.php
@@ -21,7 +21,7 @@ class MqttConfig extends \Google\Protobuf\Internal\Message
*
* Generated from protobuf field .google.cloud.iot.v1.MqttState mqtt_enabled_state = 1;
*/
- private $mqtt_enabled_state = 0;
+ protected $mqtt_enabled_state = 0;
/**
* Constructor.
diff --git a/Iot/src/V1/PublicKeyCertificate.php b/Iot/src/V1/PublicKeyCertificate.php
index c7cdaeeec5e1..4d1cc0c8314a 100644
--- a/Iot/src/V1/PublicKeyCertificate.php
+++ b/Iot/src/V1/PublicKeyCertificate.php
@@ -20,19 +20,19 @@ class PublicKeyCertificate extends \Google\Protobuf\Internal\Message
*
* Generated from protobuf field .google.cloud.iot.v1.PublicKeyCertificateFormat format = 1;
*/
- private $format = 0;
+ protected $format = 0;
/**
* The certificate data.
*
* Generated from protobuf field string certificate = 2;
*/
- private $certificate = '';
+ protected $certificate = '';
/**
* [Output only] The certificate details. Used only for X.509 certificates.
*
* Generated from protobuf field .google.cloud.iot.v1.X509CertificateDetails x509_details = 3;
*/
- private $x509_details = null;
+ protected $x509_details = null;
/**
* Constructor.
diff --git a/Iot/src/V1/PublicKeyCredential.php b/Iot/src/V1/PublicKeyCredential.php
index d1eb693dc74c..b0f2278b40bf 100644
--- a/Iot/src/V1/PublicKeyCredential.php
+++ b/Iot/src/V1/PublicKeyCredential.php
@@ -20,13 +20,13 @@ class PublicKeyCredential extends \Google\Protobuf\Internal\Message
*
* Generated from protobuf field .google.cloud.iot.v1.PublicKeyFormat format = 1;
*/
- private $format = 0;
+ protected $format = 0;
/**
* The key data.
*
* Generated from protobuf field string key = 2;
*/
- private $key = '';
+ protected $key = '';
/**
* Constructor.
diff --git a/Iot/src/V1/SendCommandToDeviceRequest.php b/Iot/src/V1/SendCommandToDeviceRequest.php
index 8e227763d955..f00ff670f653 100644
--- a/Iot/src/V1/SendCommandToDeviceRequest.php
+++ b/Iot/src/V1/SendCommandToDeviceRequest.php
@@ -22,13 +22,13 @@ class SendCommandToDeviceRequest extends \Google\Protobuf\Internal\Message
*
* Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
*/
- private $name = '';
+ protected $name = '';
/**
* Required. The command data to send to the device.
*
* Generated from protobuf field bytes binary_data = 2 [(.google.api.field_behavior) = REQUIRED];
*/
- private $binary_data = '';
+ protected $binary_data = '';
/**
* Optional subfolder for the command. If empty, the command will be delivered
* to the /devices/{device-id}/commands topic, otherwise it will be delivered
@@ -38,7 +38,7 @@ class SendCommandToDeviceRequest extends \Google\Protobuf\Internal\Message
*
* Generated from protobuf field string subfolder = 3;
*/
- private $subfolder = '';
+ protected $subfolder = '';
/**
* Constructor.
diff --git a/Iot/src/V1/StateNotificationConfig.php b/Iot/src/V1/StateNotificationConfig.php
index bc409d30fd41..11d23dc3089d 100644
--- a/Iot/src/V1/StateNotificationConfig.php
+++ b/Iot/src/V1/StateNotificationConfig.php
@@ -21,7 +21,7 @@ class StateNotificationConfig extends \Google\Protobuf\Internal\Message
*
* Generated from protobuf field string pubsub_topic_name = 1;
*/
- private $pubsub_topic_name = '';
+ protected $pubsub_topic_name = '';
/**
* Constructor.
diff --git a/Iot/src/V1/UnbindDeviceFromGatewayRequest.php b/Iot/src/V1/UnbindDeviceFromGatewayRequest.php
index b05938f710ca..a06e4442b852 100644
--- a/Iot/src/V1/UnbindDeviceFromGatewayRequest.php
+++ b/Iot/src/V1/UnbindDeviceFromGatewayRequest.php
@@ -21,14 +21,14 @@ class UnbindDeviceFromGatewayRequest extends \Google\Protobuf\Internal\Message
*
* Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
*/
- private $parent = '';
+ protected $parent = '';
/**
* Required. The value of `gateway_id` can be either the device numeric ID or the
* user-defined device identifier.
*
* Generated from protobuf field string gateway_id = 2 [(.google.api.field_behavior) = REQUIRED];
*/
- private $gateway_id = '';
+ protected $gateway_id = '';
/**
* Required. The device to disassociate from the specified gateway. The value of
* `device_id` can be either the device numeric ID or the user-defined device
@@ -36,7 +36,7 @@ class UnbindDeviceFromGatewayRequest extends \Google\Protobuf\Internal\Message
*
* Generated from protobuf field string device_id = 3 [(.google.api.field_behavior) = REQUIRED];
*/
- private $device_id = '';
+ protected $device_id = '';
/**
* Constructor.
diff --git a/Iot/src/V1/UpdateDeviceRegistryRequest.php b/Iot/src/V1/UpdateDeviceRegistryRequest.php
index d3f09526df72..507fe9eaf3d0 100644
--- a/Iot/src/V1/UpdateDeviceRegistryRequest.php
+++ b/Iot/src/V1/UpdateDeviceRegistryRequest.php
@@ -22,7 +22,7 @@ class UpdateDeviceRegistryRequest extends \Google\Protobuf\Internal\Message
*
* Generated from protobuf field .google.cloud.iot.v1.DeviceRegistry device_registry = 1 [(.google.api.field_behavior) = REQUIRED];
*/
- private $device_registry = null;
+ protected $device_registry = null;
/**
* Required. Only updates the `device_registry` fields indicated by this mask.
* The field mask must not be empty, and it must not contain fields that
@@ -32,7 +32,7 @@ class UpdateDeviceRegistryRequest extends \Google\Protobuf\Internal\Message
*
* Generated from protobuf field .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
*/
- private $update_mask = null;
+ protected $update_mask = null;
/**
* Constructor.
diff --git a/Iot/src/V1/UpdateDeviceRequest.php b/Iot/src/V1/UpdateDeviceRequest.php
index defbc1fccc3d..8a1d726d6d3e 100644
--- a/Iot/src/V1/UpdateDeviceRequest.php
+++ b/Iot/src/V1/UpdateDeviceRequest.php
@@ -23,7 +23,7 @@ class UpdateDeviceRequest extends \Google\Protobuf\Internal\Message
*
* Generated from protobuf field .google.cloud.iot.v1.Device device = 2 [(.google.api.field_behavior) = REQUIRED];
*/
- private $device = null;
+ protected $device = null;
/**
* Required. Only updates the `device` fields indicated by this mask.
* The field mask must not be empty, and it must not contain fields that
@@ -32,7 +32,7 @@ class UpdateDeviceRequest extends \Google\Protobuf\Internal\Message
*
* Generated from protobuf field .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED];
*/
- private $update_mask = null;
+ protected $update_mask = null;
/**
* Constructor.
diff --git a/Iot/src/V1/X509CertificateDetails.php b/Iot/src/V1/X509CertificateDetails.php
index cbc4f7d9bd1e..b4dc9790ca2b 100644
--- a/Iot/src/V1/X509CertificateDetails.php
+++ b/Iot/src/V1/X509CertificateDetails.php
@@ -20,37 +20,37 @@ class X509CertificateDetails extends \Google\Protobuf\Internal\Message
*
* Generated from protobuf field string issuer = 1;
*/
- private $issuer = '';
+ protected $issuer = '';
/**
* The entity the certificate and public key belong to.
*
* Generated from protobuf field string subject = 2;
*/
- private $subject = '';
+ protected $subject = '';
/**
* The time the certificate becomes valid.
*
* Generated from protobuf field .google.protobuf.Timestamp start_time = 3;
*/
- private $start_time = null;
+ protected $start_time = null;
/**
* The time the certificate becomes invalid.
*
* Generated from protobuf field .google.protobuf.Timestamp expiry_time = 4;
*/
- private $expiry_time = null;
+ protected $expiry_time = null;
/**
* The algorithm used to sign the certificate.
*
* Generated from protobuf field string signature_algorithm = 5;
*/
- private $signature_algorithm = '';
+ protected $signature_algorithm = '';
/**
* The type of public key in the certificate.
*
* Generated from protobuf field string public_key_type = 6;
*/
- private $public_key_type = '';
+ protected $public_key_type = '';
/**
* Constructor.
diff --git a/Iot/synth.metadata b/Iot/synth.metadata
index 188d8ce0bf1a..ba529224d9f7 100644
--- a/Iot/synth.metadata
+++ b/Iot/synth.metadata
@@ -1,19 +1,19 @@
{
- "updateTime": "2019-11-14T19:22:28.579186Z",
+ "updateTime": "2020-01-17T11:01:59.629248Z",
"sources": [
{
"generator": {
"name": "artman",
- "version": "0.41.1",
- "dockerImage": "googleapis/artman@sha256:545c758c76c3f779037aa259023ec3d1ef2d57d2c8cd00a222cb187d63ceac5e"
+ "version": "0.44.1",
+ "dockerImage": "googleapis/artman@sha256:5599b61e56a372d21b671969ee915fbca0f6c3a0daaeb898d01f8f685f1bbc8b"
}
},
{
"git": {
"name": "googleapis",
"remote": "https://github.com/googleapis/googleapis.git",
- "sha": "1935fb8889686f5c9d107f11b3c6870fc3aa7cdc",
- "internalRef": "280451656"
+ "sha": "58e770d568a2b78168ddc19a874178fee8265a9d",
+ "internalRef": "290146169"
}
}
],
@@ -28,5 +28,217 @@
"config": "google/cloud/iot/artman_cloudiot.yaml"
}
}
+ ],
+ "newFiles": [
+ {
+ "path": ".gitattributes"
+ },
+ {
+ "path": ".github/pull_request_template.md"
+ },
+ {
+ "path": "CONTRIBUTING.md"
+ },
+ {
+ "path": "LICENSE"
+ },
+ {
+ "path": "README.md"
+ },
+ {
+ "path": "VERSION"
+ },
+ {
+ "path": "composer.json"
+ },
+ {
+ "path": "metadata/V1/DeviceManager.php"
+ },
+ {
+ "path": "metadata/V1/Resources.php"
+ },
+ {
+ "path": "phpunit-snippets.xml.dist"
+ },
+ {
+ "path": "phpunit-system.xml.dist"
+ },
+ {
+ "path": "phpunit.xml.dist"
+ },
+ {
+ "path": "src/V1/BindDeviceToGatewayRequest.php"
+ },
+ {
+ "path": "src/V1/BindDeviceToGatewayResponse.php"
+ },
+ {
+ "path": "src/V1/CreateDeviceRegistryRequest.php"
+ },
+ {
+ "path": "src/V1/CreateDeviceRequest.php"
+ },
+ {
+ "path": "src/V1/DeleteDeviceRegistryRequest.php"
+ },
+ {
+ "path": "src/V1/DeleteDeviceRequest.php"
+ },
+ {
+ "path": "src/V1/Device.php"
+ },
+ {
+ "path": "src/V1/DeviceConfig.php"
+ },
+ {
+ "path": "src/V1/DeviceCredential.php"
+ },
+ {
+ "path": "src/V1/DeviceManagerClient.php"
+ },
+ {
+ "path": "src/V1/DeviceManagerGrpcClient.php"
+ },
+ {
+ "path": "src/V1/DeviceRegistry.php"
+ },
+ {
+ "path": "src/V1/DeviceState.php"
+ },
+ {
+ "path": "src/V1/EventNotificationConfig.php"
+ },
+ {
+ "path": "src/V1/Gapic/DeviceManagerGapicClient.php"
+ },
+ {
+ "path": "src/V1/GatewayAuthMethod.php"
+ },
+ {
+ "path": "src/V1/GatewayConfig.php"
+ },
+ {
+ "path": "src/V1/GatewayListOptions.php"
+ },
+ {
+ "path": "src/V1/GatewayType.php"
+ },
+ {
+ "path": "src/V1/GetDeviceRegistryRequest.php"
+ },
+ {
+ "path": "src/V1/GetDeviceRequest.php"
+ },
+ {
+ "path": "src/V1/HttpConfig.php"
+ },
+ {
+ "path": "src/V1/HttpState.php"
+ },
+ {
+ "path": "src/V1/ListDeviceConfigVersionsRequest.php"
+ },
+ {
+ "path": "src/V1/ListDeviceConfigVersionsResponse.php"
+ },
+ {
+ "path": "src/V1/ListDeviceRegistriesRequest.php"
+ },
+ {
+ "path": "src/V1/ListDeviceRegistriesResponse.php"
+ },
+ {
+ "path": "src/V1/ListDeviceStatesRequest.php"
+ },
+ {
+ "path": "src/V1/ListDeviceStatesResponse.php"
+ },
+ {
+ "path": "src/V1/ListDevicesRequest.php"
+ },
+ {
+ "path": "src/V1/ListDevicesResponse.php"
+ },
+ {
+ "path": "src/V1/LogLevel.php"
+ },
+ {
+ "path": "src/V1/ModifyCloudToDeviceConfigRequest.php"
+ },
+ {
+ "path": "src/V1/MqttConfig.php"
+ },
+ {
+ "path": "src/V1/MqttState.php"
+ },
+ {
+ "path": "src/V1/PublicKeyCertificate.php"
+ },
+ {
+ "path": "src/V1/PublicKeyCertificateFormat.php"
+ },
+ {
+ "path": "src/V1/PublicKeyCredential.php"
+ },
+ {
+ "path": "src/V1/PublicKeyFormat.php"
+ },
+ {
+ "path": "src/V1/README.md"
+ },
+ {
+ "path": "src/V1/RegistryCredential.php"
+ },
+ {
+ "path": "src/V1/SendCommandToDeviceRequest.php"
+ },
+ {
+ "path": "src/V1/SendCommandToDeviceResponse.php"
+ },
+ {
+ "path": "src/V1/StateNotificationConfig.php"
+ },
+ {
+ "path": "src/V1/UnbindDeviceFromGatewayRequest.php"
+ },
+ {
+ "path": "src/V1/UnbindDeviceFromGatewayResponse.php"
+ },
+ {
+ "path": "src/V1/UpdateDeviceRegistryRequest.php"
+ },
+ {
+ "path": "src/V1/UpdateDeviceRequest.php"
+ },
+ {
+ "path": "src/V1/X509CertificateDetails.php"
+ },
+ {
+ "path": "src/V1/resources/device_manager_client_config.json"
+ },
+ {
+ "path": "src/V1/resources/device_manager_descriptor_config.php"
+ },
+ {
+ "path": "src/V1/resources/device_manager_rest_client_config.php"
+ },
+ {
+ "path": "synth.metadata"
+ },
+ {
+ "path": "synth.py"
+ },
+ {
+ "path": "tests/System/V1/DeviceManagerSmokeTest.php"
+ },
+ {
+ "path": "tests/System/bootstrap.php"
+ },
+ {
+ "path": "tests/Unit/V1/DeviceManagerClientPartialVeneerTest.php"
+ },
+ {
+ "path": "tests/Unit/V1/DeviceManagerClientTest.php"
+ }
]
}
\ No newline at end of file