google-cloud-automl-v1 1.8.1 → 2.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (81) hide show
  1. checksums.yaml +4 -4
  2. data/.yardopts +1 -4
  3. data/LICENSE.md +2 -2
  4. data/README.md +3 -153
  5. data/lib/google/cloud/automl/v1/version.rb +1 -1
  6. metadata +15 -115
  7. data/AUTHENTICATION.md +0 -122
  8. data/lib/google/cloud/automl/v1/_helpers.rb +0 -26
  9. data/lib/google/cloud/automl/v1/annotation_payload_pb.rb +0 -27
  10. data/lib/google/cloud/automl/v1/annotation_spec_pb.rb +0 -23
  11. data/lib/google/cloud/automl/v1/automl/client.rb +0 -2351
  12. data/lib/google/cloud/automl/v1/automl/credentials.rb +0 -51
  13. data/lib/google/cloud/automl/v1/automl/operations.rb +0 -851
  14. data/lib/google/cloud/automl/v1/automl/paths.rb +0 -130
  15. data/lib/google/cloud/automl/v1/automl/rest/client.rb +0 -2182
  16. data/lib/google/cloud/automl/v1/automl/rest/operations.rb +0 -1095
  17. data/lib/google/cloud/automl/v1/automl/rest/service_stub.rb +0 -1188
  18. data/lib/google/cloud/automl/v1/automl/rest.rb +0 -66
  19. data/lib/google/cloud/automl/v1/automl.rb +0 -69
  20. data/lib/google/cloud/automl/v1/classification_pb.rb +0 -26
  21. data/lib/google/cloud/automl/v1/data_items_pb.rb +0 -32
  22. data/lib/google/cloud/automl/v1/dataset_pb.rb +0 -27
  23. data/lib/google/cloud/automl/v1/detection_pb.rb +0 -26
  24. data/lib/google/cloud/automl/v1/geometry_pb.rb +0 -22
  25. data/lib/google/cloud/automl/v1/image_pb.rb +0 -29
  26. data/lib/google/cloud/automl/v1/io_pb.rb +0 -30
  27. data/lib/google/cloud/automl/v1/model_evaluation_pb.rb +0 -29
  28. data/lib/google/cloud/automl/v1/model_pb.rb +0 -28
  29. data/lib/google/cloud/automl/v1/operations_pb.rb +0 -37
  30. data/lib/google/cloud/automl/v1/prediction_service/client.rb +0 -770
  31. data/lib/google/cloud/automl/v1/prediction_service/credentials.rb +0 -51
  32. data/lib/google/cloud/automl/v1/prediction_service/operations.rb +0 -851
  33. data/lib/google/cloud/automl/v1/prediction_service/paths.rb +0 -52
  34. data/lib/google/cloud/automl/v1/prediction_service/rest/client.rb +0 -713
  35. data/lib/google/cloud/automl/v1/prediction_service/rest/operations.rb +0 -1095
  36. data/lib/google/cloud/automl/v1/prediction_service/rest/service_stub.rb +0 -205
  37. data/lib/google/cloud/automl/v1/prediction_service/rest.rb +0 -56
  38. data/lib/google/cloud/automl/v1/prediction_service.rb +0 -59
  39. data/lib/google/cloud/automl/v1/prediction_service_pb.rb +0 -33
  40. data/lib/google/cloud/automl/v1/prediction_service_services_pb.rb +0 -99
  41. data/lib/google/cloud/automl/v1/rest.rb +0 -38
  42. data/lib/google/cloud/automl/v1/service_pb.rb +0 -55
  43. data/lib/google/cloud/automl/v1/service_services_pb.rb +0 -136
  44. data/lib/google/cloud/automl/v1/text_extraction_pb.rb +0 -25
  45. data/lib/google/cloud/automl/v1/text_pb.rb +0 -28
  46. data/lib/google/cloud/automl/v1/text_segment_pb.rb +0 -21
  47. data/lib/google/cloud/automl/v1/text_sentiment_pb.rb +0 -24
  48. data/lib/google/cloud/automl/v1/translation_pb.rb +0 -27
  49. data/lib/google/cloud/automl/v1.rb +0 -46
  50. data/lib/google-cloud-automl-v1.rb +0 -21
  51. data/proto_docs/README.md +0 -4
  52. data/proto_docs/google/api/client.rb +0 -593
  53. data/proto_docs/google/api/field_behavior.rb +0 -85
  54. data/proto_docs/google/api/launch_stage.rb +0 -71
  55. data/proto_docs/google/api/resource.rb +0 -227
  56. data/proto_docs/google/cloud/automl/v1/annotation_payload.rb +0 -70
  57. data/proto_docs/google/cloud/automl/v1/annotation_spec.rb +0 -45
  58. data/proto_docs/google/cloud/automl/v1/classification.rb +0 -189
  59. data/proto_docs/google/cloud/automl/v1/data_items.rb +0 -202
  60. data/proto_docs/google/cloud/automl/v1/dataset.rb +0 -106
  61. data/proto_docs/google/cloud/automl/v1/detection.rb +0 -97
  62. data/proto_docs/google/cloud/automl/v1/geometry.rb +0 -53
  63. data/proto_docs/google/cloud/automl/v1/image.rb +0 -215
  64. data/proto_docs/google/cloud/automl/v1/io.rb +0 -1345
  65. data/proto_docs/google/cloud/automl/v1/model.rb +0 -121
  66. data/proto_docs/google/cloud/automl/v1/model_evaluation.rb +0 -100
  67. data/proto_docs/google/cloud/automl/v1/operations.rb +0 -197
  68. data/proto_docs/google/cloud/automl/v1/prediction_service.rb +0 -270
  69. data/proto_docs/google/cloud/automl/v1/service.rb +0 -326
  70. data/proto_docs/google/cloud/automl/v1/text.rb +0 -76
  71. data/proto_docs/google/cloud/automl/v1/text_extraction.rb +0 -73
  72. data/proto_docs/google/cloud/automl/v1/text_segment.rb +0 -44
  73. data/proto_docs/google/cloud/automl/v1/text_sentiment.rb +0 -82
  74. data/proto_docs/google/cloud/automl/v1/translation.rb +0 -79
  75. data/proto_docs/google/longrunning/operations.rb +0 -191
  76. data/proto_docs/google/protobuf/any.rb +0 -145
  77. data/proto_docs/google/protobuf/duration.rb +0 -98
  78. data/proto_docs/google/protobuf/empty.rb +0 -34
  79. data/proto_docs/google/protobuf/field_mask.rb +0 -229
  80. data/proto_docs/google/protobuf/timestamp.rb +0 -127
  81. data/proto_docs/google/rpc/status.rb +0 -48
@@ -1,130 +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 AutoML
23
- module V1
24
- module AutoML
25
- # Path helper methods for the AutoMl API.
26
- module Paths
27
- ##
28
- # Create a fully-qualified AnnotationSpec resource string.
29
- #
30
- # The resource will be in the following format:
31
- #
32
- # `projects/{project}/locations/{location}/datasets/{dataset}/annotationSpecs/{annotation_spec}`
33
- #
34
- # @param project [String]
35
- # @param location [String]
36
- # @param dataset [String]
37
- # @param annotation_spec [String]
38
- #
39
- # @return [::String]
40
- def annotation_spec_path project:, location:, dataset:, annotation_spec:
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, "dataset cannot contain /" if dataset.to_s.include? "/"
44
-
45
- "projects/#{project}/locations/#{location}/datasets/#{dataset}/annotationSpecs/#{annotation_spec}"
46
- end
47
-
48
- ##
49
- # Create a fully-qualified Dataset resource string.
50
- #
51
- # The resource will be in the following format:
52
- #
53
- # `projects/{project}/locations/{location}/datasets/{dataset}`
54
- #
55
- # @param project [String]
56
- # @param location [String]
57
- # @param dataset [String]
58
- #
59
- # @return [::String]
60
- def dataset_path project:, location:, dataset:
61
- raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
62
- raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
63
-
64
- "projects/#{project}/locations/#{location}/datasets/#{dataset}"
65
- end
66
-
67
- ##
68
- # Create a fully-qualified Location resource string.
69
- #
70
- # The resource will be in the following format:
71
- #
72
- # `projects/{project}/locations/{location}`
73
- #
74
- # @param project [String]
75
- # @param location [String]
76
- #
77
- # @return [::String]
78
- def location_path project:, location:
79
- raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
80
-
81
- "projects/#{project}/locations/#{location}"
82
- end
83
-
84
- ##
85
- # Create a fully-qualified Model resource string.
86
- #
87
- # The resource will be in the following format:
88
- #
89
- # `projects/{project}/locations/{location}/models/{model}`
90
- #
91
- # @param project [String]
92
- # @param location [String]
93
- # @param model [String]
94
- #
95
- # @return [::String]
96
- def model_path project:, location:, model:
97
- raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
98
- raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
99
-
100
- "projects/#{project}/locations/#{location}/models/#{model}"
101
- end
102
-
103
- ##
104
- # Create a fully-qualified ModelEvaluation resource string.
105
- #
106
- # The resource will be in the following format:
107
- #
108
- # `projects/{project}/locations/{location}/models/{model}/modelEvaluations/{model_evaluation}`
109
- #
110
- # @param project [String]
111
- # @param location [String]
112
- # @param model [String]
113
- # @param model_evaluation [String]
114
- #
115
- # @return [::String]
116
- def model_evaluation_path project:, location:, model:, model_evaluation:
117
- raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
118
- raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
119
- raise ::ArgumentError, "model cannot contain /" if model.to_s.include? "/"
120
-
121
- "projects/#{project}/locations/#{location}/models/#{model}/modelEvaluations/#{model_evaluation}"
122
- end
123
-
124
- extend self
125
- end
126
- end
127
- end
128
- end
129
- end
130
- end