google-cloud-automl-v1 0.5.1 → 0.6.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.
@@ -0,0 +1,66 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2023 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 "gapic/rest"
20
+ require "gapic/config"
21
+ require "gapic/config/method"
22
+
23
+ require "google/cloud/automl/v1/version"
24
+
25
+ require "google/cloud/automl/v1/automl/credentials"
26
+ require "google/cloud/automl/v1/automl/paths"
27
+ require "google/cloud/automl/v1/automl/rest/operations"
28
+ require "google/cloud/automl/v1/automl/rest/client"
29
+
30
+ module Google
31
+ module Cloud
32
+ module AutoML
33
+ module V1
34
+ ##
35
+ # AutoML Server API.
36
+ #
37
+ # The resource names are assigned by the server.
38
+ # The server never reuses names that it has created after the resources with
39
+ # those names are deleted.
40
+ #
41
+ # An ID of a resource is the last element of the item's resource name. For
42
+ # `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}`, then
43
+ # the id for the item is `{dataset_id}`.
44
+ #
45
+ # Currently the only supported `location_id` is "us-central1".
46
+ #
47
+ # On any input that is documented to expect a string parameter in
48
+ # snake_case or dash-case, either of those cases is accepted.
49
+ #
50
+ # To load this service and instantiate a REST client:
51
+ #
52
+ # require "google/cloud/automl/v1/automl/rest"
53
+ # client = ::Google::Cloud::AutoML::V1::AutoML::Rest::Client.new
54
+ #
55
+ module AutoML
56
+ # Client for the REST transport
57
+ module Rest
58
+ end
59
+ end
60
+ end
61
+ end
62
+ end
63
+ end
64
+
65
+ helper_path = ::File.join __dir__, "rest", "helpers.rb"
66
+ require "google/cloud/automl/v1/automl/rest/helpers" if ::File.file? helper_path
@@ -26,6 +26,7 @@ require "google/cloud/automl/v1/automl/credentials"
26
26
  require "google/cloud/automl/v1/automl/paths"
27
27
  require "google/cloud/automl/v1/automl/operations"
28
28
  require "google/cloud/automl/v1/automl/client"
29
+ require "google/cloud/automl/v1/automl/rest"
29
30
 
30
31
  module Google
31
32
  module Cloud
@@ -52,6 +53,11 @@ module Google
52
53
  # require "google/cloud/automl/v1/automl"
53
54
  # client = ::Google::Cloud::AutoML::V1::AutoML::Client.new
54
55
  #
56
+ # @example Load this service and instantiate a REST client
57
+ #
58
+ # require "google/cloud/automl/v1/automl/rest"
59
+ # client = ::Google::Cloud::AutoML::V1::AutoML::Rest::Client.new
60
+ #
55
61
  module AutoML
56
62
  end
57
63
  end