diff --git a/google-api-grpc/proto-google-cloud-iot-v1/src/main/proto/google/cloud/iot/v1/device_manager.proto b/google-api-grpc/proto-google-cloud-iot-v1/src/main/proto/google/cloud/iot/v1/device_manager.proto index 12e5a973dd7f..27ec0f0301d0 100644 --- a/google-api-grpc/proto-google-cloud-iot-v1/src/main/proto/google/cloud/iot/v1/device_manager.proto +++ b/google-api-grpc/proto-google-cloud-iot-v1/src/main/proto/google/cloud/iot/v1/device_manager.proto @@ -33,11 +33,11 @@ option java_multiple_files = true; option java_outer_classname = "DeviceManagerProto"; option java_package = "com.google.cloud.iot.v1"; - // Internet of Things (IoT) service. Securely connect and manage IoT devices. service DeviceManager { // Creates a device registry that contains devices. - rpc CreateDeviceRegistry(CreateDeviceRegistryRequest) returns (DeviceRegistry) { + rpc CreateDeviceRegistry(CreateDeviceRegistryRequest) + returns (DeviceRegistry) { option (google.api.http) = { post: "/v1/{parent=projects/*/locations/*}/registries" body: "device_registry" @@ -52,7 +52,8 @@ service DeviceManager { } // Updates a device registry configuration. - rpc UpdateDeviceRegistry(UpdateDeviceRegistryRequest) returns (DeviceRegistry) { + rpc UpdateDeviceRegistry(UpdateDeviceRegistryRequest) + returns (DeviceRegistry) { option (google.api.http) = { patch: "/v1/{device_registry.name=projects/*/locations/*/registries/*}" body: "device_registry" @@ -60,14 +61,16 @@ service DeviceManager { } // Deletes a device registry configuration. - rpc DeleteDeviceRegistry(DeleteDeviceRegistryRequest) returns (google.protobuf.Empty) { + rpc DeleteDeviceRegistry(DeleteDeviceRegistryRequest) + returns (google.protobuf.Empty) { option (google.api.http) = { delete: "/v1/{name=projects/*/locations/*/registries/*}" }; } // Lists device registries. - rpc ListDeviceRegistries(ListDeviceRegistriesRequest) returns (ListDeviceRegistriesResponse) { + rpc ListDeviceRegistries(ListDeviceRegistriesRequest) + returns (ListDeviceRegistriesResponse) { option (google.api.http) = { get: "/v1/{parent=projects/*/locations/*}/registries" }; @@ -123,7 +126,8 @@ service DeviceManager { // Modifies the configuration for the device, which is eventually sent from // the Cloud IoT Core servers. Returns the modified configuration version and // its metadata. - rpc ModifyCloudToDeviceConfig(ModifyCloudToDeviceConfigRequest) returns (DeviceConfig) { + rpc ModifyCloudToDeviceConfig(ModifyCloudToDeviceConfigRequest) + returns (DeviceConfig) { option (google.api.http) = { post: "/v1/{name=projects/*/locations/*/registries/*/devices/*}:modifyCloudToDeviceConfig" body: "*" @@ -136,7 +140,8 @@ service DeviceManager { // Lists the last few versions of the device configuration in descending // order (i.e.: newest first). - rpc ListDeviceConfigVersions(ListDeviceConfigVersionsRequest) returns (ListDeviceConfigVersionsResponse) { + rpc ListDeviceConfigVersions(ListDeviceConfigVersionsRequest) + returns (ListDeviceConfigVersionsResponse) { option (google.api.http) = { get: "/v1/{name=projects/*/locations/*/registries/*/devices/*}/configVersions" additional_bindings { @@ -147,7 +152,8 @@ service DeviceManager { // Lists the last few versions of the device state in descending order (i.e.: // newest first). - rpc ListDeviceStates(ListDeviceStatesRequest) returns (ListDeviceStatesResponse) { + rpc ListDeviceStates(ListDeviceStatesRequest) + returns (ListDeviceStatesResponse) { option (google.api.http) = { get: "/v1/{name=projects/*/locations/*/registries/*/devices/*}/states" additional_bindings { @@ -158,7 +164,8 @@ service DeviceManager { // Sets the access control policy on the specified resource. Replaces any // existing policy. - rpc SetIamPolicy(google.iam.v1.SetIamPolicyRequest) returns (google.iam.v1.Policy) { + rpc SetIamPolicy(google.iam.v1.SetIamPolicyRequest) + returns (google.iam.v1.Policy) { option (google.api.http) = { post: "/v1/{resource=projects/*/locations/*/registries/*}:setIamPolicy" body: "*" @@ -172,7 +179,8 @@ service DeviceManager { // Gets the access control policy for a resource. // Returns an empty policy if the resource exists and does not have a policy // set. - rpc GetIamPolicy(google.iam.v1.GetIamPolicyRequest) returns (google.iam.v1.Policy) { + rpc GetIamPolicy(google.iam.v1.GetIamPolicyRequest) + returns (google.iam.v1.Policy) { option (google.api.http) = { post: "/v1/{resource=projects/*/locations/*/registries/*}:getIamPolicy" body: "*" @@ -186,7 +194,8 @@ service DeviceManager { // Returns permissions that a caller has on the specified resource. // If the resource does not exist, this will return an empty set of // permissions, not a NOT_FOUND error. - rpc TestIamPermissions(google.iam.v1.TestIamPermissionsRequest) returns (google.iam.v1.TestIamPermissionsResponse) { + rpc TestIamPermissions(google.iam.v1.TestIamPermissionsRequest) + returns (google.iam.v1.TestIamPermissionsResponse) { option (google.api.http) = { post: "/v1/{resource=projects/*/locations/*/registries/*}:testIamPermissions" body: "*" @@ -210,7 +219,8 @@ service DeviceManager { // method will return FAILED_PRECONDITION. Otherwise, this method will // return OK. If the subscription is QoS 1, at least once delivery will be // guaranteed; for QoS 0, no acknowledgment will be expected from the device. - rpc SendCommandToDevice(SendCommandToDeviceRequest) returns (SendCommandToDeviceResponse) { + rpc SendCommandToDevice(SendCommandToDeviceRequest) + returns (SendCommandToDeviceResponse) { option (google.api.http) = { post: "/v1/{name=projects/*/locations/*/registries/*/devices/*}:sendCommandToDevice" body: "*" @@ -222,7 +232,8 @@ service DeviceManager { } // Associates the device with the gateway. - rpc BindDeviceToGateway(BindDeviceToGatewayRequest) returns (BindDeviceToGatewayResponse) { + rpc BindDeviceToGateway(BindDeviceToGatewayRequest) + returns (BindDeviceToGatewayResponse) { option (google.api.http) = { post: "/v1/{parent=projects/*/locations/*/registries/*}:bindDeviceToGateway" body: "*" @@ -234,7 +245,8 @@ service DeviceManager { } // Deletes the association between the device and the gateway. - rpc UnbindDeviceFromGateway(UnbindDeviceFromGatewayRequest) returns (UnbindDeviceFromGatewayResponse) { + rpc UnbindDeviceFromGateway(UnbindDeviceFromGatewayRequest) + returns (UnbindDeviceFromGatewayResponse) { option (google.api.http) = { post: "/v1/{parent=projects/*/locations/*/registries/*}:unbindDeviceFromGateway" body: "*" @@ -509,9 +521,7 @@ message SendCommandToDeviceRequest { } // Response for `SendCommandToDevice`. -message SendCommandToDeviceResponse { - -} +message SendCommandToDeviceResponse {} // Request for `BindDeviceToGateway`. message BindDeviceToGatewayRequest { @@ -530,9 +540,7 @@ message BindDeviceToGatewayRequest { } // Response for `BindDeviceToGateway`. -message BindDeviceToGatewayResponse { - -} +message BindDeviceToGatewayResponse {} // Request for `UnbindDeviceFromGateway`. message UnbindDeviceFromGatewayRequest { @@ -551,6 +559,4 @@ message UnbindDeviceFromGatewayRequest { } // Response for `UnbindDeviceFromGateway`. -message UnbindDeviceFromGatewayResponse { - -} +message UnbindDeviceFromGatewayResponse {} diff --git a/google-api-grpc/proto-google-cloud-iot-v1/src/main/proto/google/cloud/iot/v1/resources.proto b/google-api-grpc/proto-google-cloud-iot-v1/src/main/proto/google/cloud/iot/v1/resources.proto index a362ca26b391..2a91e989e984 100644 --- a/google-api-grpc/proto-google-cloud-iot-v1/src/main/proto/google/cloud/iot/v1/resources.proto +++ b/google-api-grpc/proto-google-cloud-iot-v1/src/main/proto/google/cloud/iot/v1/resources.proto @@ -27,7 +27,6 @@ option java_multiple_files = true; option java_outer_classname = "ResourcesProto"; option java_package = "com.google.cloud.iot.v1"; - // The device resource. message Device { // The user-defined device identifier. The device ID must be unique diff --git a/google-cloud-clients/google-cloud-iot/synth.metadata b/google-cloud-clients/google-cloud-iot/synth.metadata index 9b6def21ed8f..225cdd01fc39 100644 --- a/google-cloud-clients/google-cloud-iot/synth.metadata +++ b/google-cloud-clients/google-cloud-iot/synth.metadata @@ -1,19 +1,19 @@ { - "updateTime": "2019-01-17T08:44:51.668915Z", + "updateTime": "2019-02-26T08:44:30.879833Z", "sources": [ { "generator": { "name": "artman", - "version": "0.16.6", - "dockerImage": "googleapis/artman@sha256:12722f2ca3fbc3b53cc6aa5f0e569d7d221b46bd876a2136497089dec5e3634e" + "version": "0.16.14", + "dockerImage": "googleapis/artman@sha256:f3d61ae45abaeefb6be5f228cda22732c2f1b00fb687c79c4bd4f2c42bb1e1a7" } }, { "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "0ac60e21a1aa86c07c1836865b35308ba8178b05", - "internalRef": "229626798" + "sha": "29f098cb03a9983cc9cb15993de5da64419046f2", + "internalRef": "235621085" } } ],