google-cloud-iot-v1 0.9.1 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (36) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +3 -143
  3. data/lib/google/cloud/iot/v1/version.rb +3 -8
  4. metadata +15 -203
  5. data/.yardopts +0 -12
  6. data/AUTHENTICATION.md +0 -122
  7. data/lib/google/cloud/iot/v1/device_manager/client.rb +0 -2316
  8. data/lib/google/cloud/iot/v1/device_manager/credentials.rb +0 -52
  9. data/lib/google/cloud/iot/v1/device_manager/paths.rb +0 -90
  10. data/lib/google/cloud/iot/v1/device_manager/rest/client.rb +0 -2157
  11. data/lib/google/cloud/iot/v1/device_manager/rest/service_stub.rb +0 -1293
  12. data/lib/google/cloud/iot/v1/device_manager/rest.rb +0 -52
  13. data/lib/google/cloud/iot/v1/device_manager.rb +0 -55
  14. data/lib/google/cloud/iot/v1/device_manager_pb.rb +0 -77
  15. data/lib/google/cloud/iot/v1/device_manager_services_pb.rb +0 -102
  16. data/lib/google/cloud/iot/v1/resources_pb.rb +0 -68
  17. data/lib/google/cloud/iot/v1/rest.rb +0 -37
  18. data/lib/google/cloud/iot/v1.rb +0 -45
  19. data/lib/google-cloud-iot-v1.rb +0 -21
  20. data/proto_docs/README.md +0 -4
  21. data/proto_docs/google/api/client.rb +0 -395
  22. data/proto_docs/google/api/field_behavior.rb +0 -85
  23. data/proto_docs/google/api/launch_stage.rb +0 -71
  24. data/proto_docs/google/api/resource.rb +0 -222
  25. data/proto_docs/google/cloud/iot/v1/device_manager.rb +0 -399
  26. data/proto_docs/google/cloud/iot/v1/resources.rb +0 -517
  27. data/proto_docs/google/iam/v1/iam_policy.rb +0 -87
  28. data/proto_docs/google/iam/v1/options.rb +0 -50
  29. data/proto_docs/google/iam/v1/policy.rb +0 -426
  30. data/proto_docs/google/protobuf/any.rb +0 -144
  31. data/proto_docs/google/protobuf/duration.rb +0 -98
  32. data/proto_docs/google/protobuf/empty.rb +0 -34
  33. data/proto_docs/google/protobuf/field_mask.rb +0 -229
  34. data/proto_docs/google/protobuf/timestamp.rb +0 -127
  35. data/proto_docs/google/rpc/status.rb +0 -48
  36. data/proto_docs/google/type/expr.rb +0 -75
@@ -1,52 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- # Copyright 2020 Google LLC
4
- #
5
- # Licensed under the Apache License, Version 2.0 (the "License");
6
- # you may not use this file except in compliance with the License.
7
- # You may obtain a copy of the License at
8
- #
9
- # https://www.apache.org/licenses/LICENSE-2.0
10
- #
11
- # Unless required by applicable law or agreed to in writing, software
12
- # distributed under the License is distributed on an "AS IS" BASIS,
13
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
- # See the License for the specific language governing permissions and
15
- # limitations under the License.
16
-
17
- # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
-
19
- require "googleauth"
20
-
21
- module Google
22
- module Cloud
23
- module Iot
24
- module V1
25
- module DeviceManager
26
- # Credentials for the DeviceManager API.
27
- class Credentials < ::Google::Auth::Credentials
28
- self.scope = [
29
- "https://www.googleapis.com/auth/cloud-platform",
30
- "https://www.googleapis.com/auth/cloudiot"
31
- ]
32
- self.env_vars = [
33
- "IOT_CREDENTIALS",
34
- "IOT_KEYFILE",
35
- "GOOGLE_CLOUD_CREDENTIALS",
36
- "GOOGLE_CLOUD_KEYFILE",
37
- "GCLOUD_KEYFILE",
38
- "IOT_CREDENTIALS_JSON",
39
- "IOT_KEYFILE_JSON",
40
- "GOOGLE_CLOUD_CREDENTIALS_JSON",
41
- "GOOGLE_CLOUD_KEYFILE_JSON",
42
- "GCLOUD_KEYFILE_JSON"
43
- ]
44
- self.paths = [
45
- "~/.config/google_cloud/application_default_credentials.json"
46
- ]
47
- end
48
- end
49
- end
50
- end
51
- end
52
- end
@@ -1,90 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- # Copyright 2020 Google LLC
4
- #
5
- # Licensed under the Apache License, Version 2.0 (the "License");
6
- # you may not use this file except in compliance with the License.
7
- # You may obtain a copy of the License at
8
- #
9
- # https://www.apache.org/licenses/LICENSE-2.0
10
- #
11
- # Unless required by applicable law or agreed to in writing, software
12
- # distributed under the License is distributed on an "AS IS" BASIS,
13
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
- # See the License for the specific language governing permissions and
15
- # limitations under the License.
16
-
17
- # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
-
19
-
20
- module Google
21
- module Cloud
22
- module Iot
23
- module V1
24
- module DeviceManager
25
- # Path helper methods for the DeviceManager API.
26
- module Paths
27
- ##
28
- # Create a fully-qualified Device resource string.
29
- #
30
- # The resource will be in the following format:
31
- #
32
- # `projects/{project}/locations/{location}/registries/{registry}/devices/{device}`
33
- #
34
- # @param project [String]
35
- # @param location [String]
36
- # @param registry [String]
37
- # @param device [String]
38
- #
39
- # @return [::String]
40
- def device_path project:, location:, registry:, device:
41
- raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
42
- raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
43
- raise ::ArgumentError, "registry cannot contain /" if registry.to_s.include? "/"
44
-
45
- "projects/#{project}/locations/#{location}/registries/#{registry}/devices/#{device}"
46
- end
47
-
48
- ##
49
- # Create a fully-qualified Location resource string.
50
- #
51
- # The resource will be in the following format:
52
- #
53
- # `projects/{project}/locations/{location}`
54
- #
55
- # @param project [String]
56
- # @param location [String]
57
- #
58
- # @return [::String]
59
- def location_path project:, location:
60
- raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
61
-
62
- "projects/#{project}/locations/#{location}"
63
- end
64
-
65
- ##
66
- # Create a fully-qualified Registry resource string.
67
- #
68
- # The resource will be in the following format:
69
- #
70
- # `projects/{project}/locations/{location}/registries/{registry}`
71
- #
72
- # @param project [String]
73
- # @param location [String]
74
- # @param registry [String]
75
- #
76
- # @return [::String]
77
- def registry_path project:, location:, registry:
78
- raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
79
- raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
80
-
81
- "projects/#{project}/locations/#{location}/registries/#{registry}"
82
- end
83
-
84
- extend self
85
- end
86
- end
87
- end
88
- end
89
- end
90
- end