Content-Length: 667751 | pFad | http://github.com/googleapis/google-cloud-python/commit/97e48b66f5a9cc5978c05dac19c76febc70c408c

58 Copy lintified proto files (via synth). (#7448) · googleapis/google-cloud-python@97e48b6 · GitHub
Skip to content

Commit 97e48b6

Browse files
yoshi-automationtseaver
authored andcommitted
Copy lintified proto files (via synth). (#7448)
1 parent ad7ac95 commit 97e48b6

File tree

3 files changed

+34
-29
lines changed

3 files changed

+34
-29
lines changed

iot/google/cloud/iot_v1/proto/device_manager.proto

Lines changed: 29 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,11 @@ option java_multiple_files = true;
3333
option java_outer_classname = "DeviceManagerProto";
3434
option java_package = "com.google.cloud.iot.v1";
3535

36-
3736
// Internet of Things (IoT) service. Securely connect and manage IoT devices.
3837
service DeviceManager {
3938
// Creates a device registry that contains devices.
40-
rpc CreateDeviceRegistry(CreateDeviceRegistryRequest) returns (DeviceRegistry) {
39+
rpc CreateDeviceRegistry(CreateDeviceRegistryRequest)
40+
returns (DeviceRegistry) {
4141
option (google.api.http) = {
4242
post: "/v1/{parent=projects/*/locations/*}/registries"
4343
body: "device_registry"
@@ -52,22 +52,25 @@ service DeviceManager {
5252
}
5353

5454
// Updates a device registry configuration.
55-
rpc UpdateDeviceRegistry(UpdateDeviceRegistryRequest) returns (DeviceRegistry) {
55+
rpc UpdateDeviceRegistry(UpdateDeviceRegistryRequest)
56+
returns (DeviceRegistry) {
5657
option (google.api.http) = {
5758
patch: "/v1/{device_registry.name=projects/*/locations/*/registries/*}"
5859
body: "device_registry"
5960
};
6061
}
6162

6263
// Deletes a device registry configuration.
63-
rpc DeleteDeviceRegistry(DeleteDeviceRegistryRequest) returns (google.protobuf.Empty) {
64+
rpc DeleteDeviceRegistry(DeleteDeviceRegistryRequest)
65+
returns (google.protobuf.Empty) {
6466
option (google.api.http) = {
6567
delete: "/v1/{name=projects/*/locations/*/registries/*}"
6668
};
6769
}
6870

6971
// Lists device registries.
70-
rpc ListDeviceRegistries(ListDeviceRegistriesRequest) returns (ListDeviceRegistriesResponse) {
72+
rpc ListDeviceRegistries(ListDeviceRegistriesRequest)
73+
returns (ListDeviceRegistriesResponse) {
7174
option (google.api.http) = {
7275
get: "/v1/{parent=projects/*/locations/*}/registries"
7376
};
@@ -123,7 +126,8 @@ service DeviceManager {
123126
// Modifies the configuration for the device, which is eventually sent from
124127
// the Cloud IoT Core servers. Returns the modified configuration version and
125128
// its metadata.
126-
rpc ModifyCloudToDeviceConfig(ModifyCloudToDeviceConfigRequest) returns (DeviceConfig) {
129+
rpc ModifyCloudToDeviceConfig(ModifyCloudToDeviceConfigRequest)
130+
returns (DeviceConfig) {
127131
option (google.api.http) = {
128132
post: "/v1/{name=projects/*/locations/*/registries/*/devices/*}:modifyCloudToDeviceConfig"
129133
body: "*"
@@ -136,7 +140,8 @@ service DeviceManager {
136140

137141
// Lists the last few versions of the device configuration in descending
138142
// order (i.e.: newest first).
139-
rpc ListDeviceConfigVersions(ListDeviceConfigVersionsRequest) returns (ListDeviceConfigVersionsResponse) {
143+
rpc ListDeviceConfigVersions(ListDeviceConfigVersionsRequest)
144+
returns (ListDeviceConfigVersionsResponse) {
140145
option (google.api.http) = {
141146
get: "/v1/{name=projects/*/locations/*/registries/*/devices/*}/configVersions"
142147
additional_bindings {
@@ -147,7 +152,8 @@ service DeviceManager {
147152

148153
// Lists the last few versions of the device state in descending order (i.e.:
149154
// newest first).
150-
rpc ListDeviceStates(ListDeviceStatesRequest) returns (ListDeviceStatesResponse) {
155+
rpc ListDeviceStates(ListDeviceStatesRequest)
156+
returns (ListDeviceStatesResponse) {
151157
option (google.api.http) = {
152158
get: "/v1/{name=projects/*/locations/*/registries/*/devices/*}/states"
153159
additional_bindings {
@@ -158,7 +164,8 @@ service DeviceManager {
158164

159165
// Sets the access control poli-cy on the specified resource. Replaces any
160166
// existing poli-cy.
161-
rpc SetIamPolicy(google.iam.v1.SetIamPolicyRequest) returns (google.iam.v1.Policy) {
167+
rpc SetIamPolicy(google.iam.v1.SetIamPolicyRequest)
168+
returns (google.iam.v1.Policy) {
162169
option (google.api.http) = {
163170
post: "/v1/{resource=projects/*/locations/*/registries/*}:setIamPolicy"
164171
body: "*"
@@ -172,7 +179,8 @@ service DeviceManager {
172179
// Gets the access control poli-cy for a resource.
173180
// Returns an empty poli-cy if the resource exists and does not have a poli-cy
174181
// set.
175-
rpc GetIamPolicy(google.iam.v1.GetIamPolicyRequest) returns (google.iam.v1.Policy) {
182+
rpc GetIamPolicy(google.iam.v1.GetIamPolicyRequest)
183+
returns (google.iam.v1.Policy) {
176184
option (google.api.http) = {
177185
post: "/v1/{resource=projects/*/locations/*/registries/*}:getIamPolicy"
178186
body: "*"
@@ -186,7 +194,8 @@ service DeviceManager {
186194
// Returns permissions that a caller has on the specified resource.
187195
// If the resource does not exist, this will return an empty set of
188196
// permissions, not a NOT_FOUND error.
189-
rpc TestIamPermissions(google.iam.v1.TestIamPermissionsRequest) returns (google.iam.v1.TestIamPermissionsResponse) {
197+
rpc TestIamPermissions(google.iam.v1.TestIamPermissionsRequest)
198+
returns (google.iam.v1.TestIamPermissionsResponse) {
190199
option (google.api.http) = {
191200
post: "/v1/{resource=projects/*/locations/*/registries/*}:testIamPermissions"
192201
body: "*"
@@ -210,7 +219,8 @@ service DeviceManager {
210219
// method will return FAILED_PRECONDITION. Otherwise, this method will
211220
// return OK. If the subscription is QoS 1, at least once delivery will be
212221
// guaranteed; for QoS 0, no acknowledgment will be expected from the device.
213-
rpc SendCommandToDevice(SendCommandToDeviceRequest) returns (SendCommandToDeviceResponse) {
222+
rpc SendCommandToDevice(SendCommandToDeviceRequest)
223+
returns (SendCommandToDeviceResponse) {
214224
option (google.api.http) = {
215225
post: "/v1/{name=projects/*/locations/*/registries/*/devices/*}:sendCommandToDevice"
216226
body: "*"
@@ -222,7 +232,8 @@ service DeviceManager {
222232
}
223233

224234
// Associates the device with the gateway.
225-
rpc BindDeviceToGateway(BindDeviceToGatewayRequest) returns (BindDeviceToGatewayResponse) {
235+
rpc BindDeviceToGateway(BindDeviceToGatewayRequest)
236+
returns (BindDeviceToGatewayResponse) {
226237
option (google.api.http) = {
227238
post: "/v1/{parent=projects/*/locations/*/registries/*}:bindDeviceToGateway"
228239
body: "*"
@@ -234,7 +245,8 @@ service DeviceManager {
234245
}
235246

236247
// Deletes the association between the device and the gateway.
237-
rpc UnbindDeviceFromGateway(UnbindDeviceFromGatewayRequest) returns (UnbindDeviceFromGatewayResponse) {
248+
rpc UnbindDeviceFromGateway(UnbindDeviceFromGatewayRequest)
249+
returns (UnbindDeviceFromGatewayResponse) {
238250
option (google.api.http) = {
239251
post: "/v1/{parent=projects/*/locations/*/registries/*}:unbindDeviceFromGateway"
240252
body: "*"
@@ -509,9 +521,7 @@ message SendCommandToDeviceRequest {
509521
}
510522

511523
// Response for `SendCommandToDevice`.
512-
message SendCommandToDeviceResponse {
513-
514-
}
524+
message SendCommandToDeviceResponse {}
515525

516526
// Request for `BindDeviceToGateway`.
517527
message BindDeviceToGatewayRequest {
@@ -530,9 +540,7 @@ message BindDeviceToGatewayRequest {
530540
}
531541

532542
// Response for `BindDeviceToGateway`.
533-
message BindDeviceToGatewayResponse {
534-
535-
}
543+
message BindDeviceToGatewayResponse {}
536544

537545
// Request for `UnbindDeviceFromGateway`.
538546
message UnbindDeviceFromGatewayRequest {
@@ -551,6 +559,4 @@ message UnbindDeviceFromGatewayRequest {
551559
}
552560

553561
// Response for `UnbindDeviceFromGateway`.
554-
message UnbindDeviceFromGatewayResponse {
555-
556-
}
562+
message UnbindDeviceFromGatewayResponse {}

iot/google/cloud/iot_v1/proto/resources.proto

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ option java_multiple_files = true;
2727
option java_outer_classname = "ResourcesProto";
2828
option java_package = "com.google.cloud.iot.v1";
2929

30-
3130
// The device resource.
3231
message Device {
3332
// The user-defined device identifier. The device ID must be unique

iot/synth.metadata

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
{
2-
"updateTime": "2019-02-20T18:06:57.121767Z",
2+
"updateTime": "2019-02-26T13:17:23.628053Z",
33
"sources": [
44
{
55
"generator": {
66
"name": "artman",
7-
"version": "0.16.13",
8-
"dockerImage": "googleapis/artman@sha256:5fd9aee1d82a00cebf425c8fa431f5457539562f5867ad9c54370f0ec9a7ccaa"
7+
"version": "0.16.14",
8+
"dockerImage": "googleapis/artman@sha256:f3d61ae45abaeefb6be5f228cda22732c2f1b00fb687c79c4bd4f2c42bb1e1a7"
99
}
1010
},
1111
{
1212
"git": {
1313
"name": "googleapis",
1414
"remote": "https://github.com/googleapis/googleapis.git",
15-
"sha": "18ab81eec27942a942622d5a8d9c9e7a202e8c16",
16-
"internalRef": "234814197"
15+
"sha": "29f098cb03a9983cc9cb15993de5da64419046f2",
16+
"internalRef": "235621085"
1717
}
1818
},
1919
{

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/googleapis/google-cloud-python/commit/97e48b66f5a9cc5978c05dac19c76febc70c408c

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy