google-cloud-automl-v1beta1 0.5.4 → 0.5.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a658059d4f930bcf6f2aade3dcc580fa9f8a85f48230ae72918380759a2bd02c
4
- data.tar.gz: bd7b0b0b93a21f33e39847d30ebb75b02b73e35ba4ef72a1cac382b1e23bf78f
3
+ metadata.gz: a3910f8bd8e3ae6566026b1811121deeafef75f7085b27e30bd81f691571a373
4
+ data.tar.gz: cad4d3e1f34f1e5455bf402ee4a1891e7eec25f51cdf506fb38fe2c7e5cd81c8
5
5
  SHA512:
6
- metadata.gz: cff76841f0bbadaafa30b5dec8b3d3648d4bf1d1d81bf8ddb2b13878b989e10896e00eaeadb7980955c043719ece73b23361ae6be820d70349646be72f684f3b
7
- data.tar.gz: c170b66a6f6529803542c031cf2049e60513fb8f971ec3ac68bc4d7394bc52e61cda3130b0f1f6a53029708fd78252751e7565e6d7d1d754f6b96384de5379e3
6
+ metadata.gz: 491b334b855e1095b7c214923cf4f8725f55b7a79fa8417858db65a45d2f41f46598e2fa574ecac9dc2502187b8b094c8ea3c3e7279b9b2e7e5784405c44f160
7
+ data.tar.gz: 8ea5f2f8cda4028c61c51e98e86acc99ca1f05406a238fc97292a2dcc4b724e1a9ac34bec9236bf0a546ce2bf6d6bde2fc36c30a72ca1d20cbb01e7f4c8a25d7
data/.yardopts CHANGED
@@ -1,5 +1,5 @@
1
1
  --no-private
2
- --title=Cloud AutoML V1beta1 API
2
+ --title="Cloud AutoML V1beta1 API"
3
3
  --exclude _pb\.rb$
4
4
  --markup markdown
5
5
  --markup-provider redcarpet
data/AUTHENTICATION.md CHANGED
@@ -120,15 +120,6 @@ To configure your system for this, simply:
120
120
  **NOTE:** This is _not_ recommended for running in production. The Cloud SDK
121
121
  *should* only be used during development.
122
122
 
123
- [gce-how-to]: https://cloud.google.com/compute/docs/authentication#using
124
- [dev-console]: https://console.cloud.google.com/project
125
-
126
- [enable-apis]: https://raw.githubusercontent.com/GoogleCloudPlatform/gcloud-common/master/authentication/enable-apis.png
127
-
128
- [create-new-service-account]: https://raw.githubusercontent.com/GoogleCloudPlatform/gcloud-common/master/authentication/create-new-service-account.png
129
- [create-new-service-account-existing-keys]: https://raw.githubusercontent.com/GoogleCloudPlatform/gcloud-common/master/authentication/create-new-service-account-existing-keys.png
130
- [reuse-service-account]: https://raw.githubusercontent.com/GoogleCloudPlatform/gcloud-common/master/authentication/reuse-service-account.png
131
-
132
123
  ## Creating a Service Account
133
124
 
134
125
  Google Cloud requires **Service Account Credentials** to
@@ -139,31 +130,22 @@ If you are not running this client within
139
130
  [Google Cloud Platform environments](#google-cloud-platform-environments), you
140
131
  need a Google Developers service account.
141
132
 
142
- 1. Visit the [Google Developers Console][dev-console].
133
+ 1. Visit the [Google Cloud Console](https://console.cloud.google.com/project).
143
134
  2. Create a new project or click on an existing project.
144
- 3. Activate the slide-out navigation tray and select **API Manager**. From
135
+ 3. Activate the menu in the upper left and select **APIs & Services**. From
145
136
  here, you will enable the APIs that your application requires.
146
137
 
147
- ![Enable the APIs that your application requires][enable-apis]
148
-
149
138
  *Note: You may need to enable billing in order to use these services.*
150
139
 
151
140
  4. Select **Credentials** from the side navigation.
152
141
 
153
- You should see a screen like one of the following.
154
-
155
- ![Create a new service account][create-new-service-account]
156
-
157
- ![Create a new service account With Existing Keys][create-new-service-account-existing-keys]
158
-
159
- Find the "Add credentials" drop down and select "Service account" to be
160
- guided through downloading a new JSON key file.
142
+ Find the "Create credentials" drop down near the top of the page, and select
143
+ "Service account" to be guided through downloading a new JSON key file.
161
144
 
162
145
  If you want to re-use an existing service account, you can easily generate a
163
- new key file. Just select the account you wish to re-use, and click "Generate
164
- new JSON key":
165
-
166
- ![Re-use an existing service account][reuse-service-account]
146
+ new key file. Just select the account you wish to re-use, click the pencil
147
+ tool on the right side to edit the service account, select the **Keys** tab,
148
+ and then select **Add Key**.
167
149
 
168
150
  The key file you download will be used by this library to authenticate API
169
151
  requests and should be stored in a secure location.
@@ -232,6 +232,7 @@ module Google
232
232
 
233
233
  @operations_client = Operations.new do |config|
234
234
  config.credentials = credentials
235
+ config.quota_project = @quota_project_id
235
236
  config.endpoint = @config.endpoint
236
237
  end
237
238
 
@@ -449,10 +450,11 @@ module Google
449
450
  # An expression for filtering the results of the request.
450
451
  #
451
452
  # * `dataset_metadata` - for existence of the case (e.g.
452
- # image_classification_dataset_metadata:*). Some examples of using the filter are:
453
+ # `image_classification_dataset_metadata:*`). Some examples of
454
+ # using the filter are:
453
455
  #
454
456
  # * `translation_dataset_metadata:*` --> The dataset has
455
- # translation_dataset_metadata.
457
+ # `translation_dataset_metadata`.
456
458
  # @param page_size [::Integer]
457
459
  # Requested page size. Server may return fewer results than requested.
458
460
  # If unspecified, server will pick a default size.
@@ -1768,11 +1770,11 @@ module Google
1768
1770
  # An expression for filtering the results of the request.
1769
1771
  #
1770
1772
  # * `model_metadata` - for existence of the case (e.g.
1771
- # video_classification_model_metadata:*).
1773
+ # `video_classification_model_metadata:*`).
1772
1774
  # * `dataset_id` - for = or !=. Some examples of using the filter are:
1773
1775
  #
1774
1776
  # * `image_classification_model_metadata:*` --> The model has
1775
- # image_classification_model_metadata.
1777
+ # `image_classification_model_metadata`.
1776
1778
  # * `dataset_id=5` --> The model was created from a dataset with ID 5.
1777
1779
  # @param page_size [::Integer]
1778
1780
  # Requested page size.
@@ -142,6 +142,7 @@ module Google
142
142
 
143
143
  @operations_client = Operations.new do |config|
144
144
  config.credentials = credentials
145
+ config.quota_project = @quota_project_id
145
146
  config.endpoint = @config.endpoint
146
147
  end
147
148
 
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module AutoML
23
23
  module V1beta1
24
- VERSION = "0.5.4"
24
+ VERSION = "0.5.5"
25
25
  end
26
26
  end
27
27
  end
@@ -33,11 +33,7 @@ module Google
33
33
  # // For Kubernetes resources, the format is {api group}/{kind}.
34
34
  # option (google.api.resource) = {
35
35
  # type: "pubsub.googleapis.com/Topic"
36
- # name_descriptor: {
37
- # pattern: "projects/{project}/topics/{topic}"
38
- # parent_type: "cloudresourcemanager.googleapis.com/Project"
39
- # parent_name_extractor: "projects/{project}"
40
- # }
36
+ # pattern: "projects/{project}/topics/{topic}"
41
37
  # };
42
38
  # }
43
39
  #
@@ -45,10 +41,7 @@ module Google
45
41
  #
46
42
  # resources:
47
43
  # - type: "pubsub.googleapis.com/Topic"
48
- # name_descriptor:
49
- # - pattern: "projects/{project}/topics/{topic}"
50
- # parent_type: "cloudresourcemanager.googleapis.com/Project"
51
- # parent_name_extractor: "projects/{project}"
44
+ # pattern: "projects/{project}/topics/{topic}"
52
45
  #
53
46
  # Sometimes, resources have multiple patterns, typically because they can
54
47
  # live under multiple parents.
@@ -58,26 +51,10 @@ module Google
58
51
  # message LogEntry {
59
52
  # option (google.api.resource) = {
60
53
  # type: "logging.googleapis.com/LogEntry"
61
- # name_descriptor: {
62
- # pattern: "projects/{project}/logs/{log}"
63
- # parent_type: "cloudresourcemanager.googleapis.com/Project"
64
- # parent_name_extractor: "projects/{project}"
65
- # }
66
- # name_descriptor: {
67
- # pattern: "folders/{folder}/logs/{log}"
68
- # parent_type: "cloudresourcemanager.googleapis.com/Folder"
69
- # parent_name_extractor: "folders/{folder}"
70
- # }
71
- # name_descriptor: {
72
- # pattern: "organizations/{organization}/logs/{log}"
73
- # parent_type: "cloudresourcemanager.googleapis.com/Organization"
74
- # parent_name_extractor: "organizations/{organization}"
75
- # }
76
- # name_descriptor: {
77
- # pattern: "billingAccounts/{billing_account}/logs/{log}"
78
- # parent_type: "billing.googleapis.com/BillingAccount"
79
- # parent_name_extractor: "billingAccounts/{billing_account}"
80
- # }
54
+ # pattern: "projects/{project}/logs/{log}"
55
+ # pattern: "folders/{folder}/logs/{log}"
56
+ # pattern: "organizations/{organization}/logs/{log}"
57
+ # pattern: "billingAccounts/{billing_account}/logs/{log}"
81
58
  # };
82
59
  # }
83
60
  #
@@ -85,48 +62,10 @@ module Google
85
62
  #
86
63
  # resources:
87
64
  # - type: 'logging.googleapis.com/LogEntry'
88
- # name_descriptor:
89
- # - pattern: "projects/{project}/logs/{log}"
90
- # parent_type: "cloudresourcemanager.googleapis.com/Project"
91
- # parent_name_extractor: "projects/{project}"
92
- # - pattern: "folders/{folder}/logs/{log}"
93
- # parent_type: "cloudresourcemanager.googleapis.com/Folder"
94
- # parent_name_extractor: "folders/{folder}"
95
- # - pattern: "organizations/{organization}/logs/{log}"
96
- # parent_type: "cloudresourcemanager.googleapis.com/Organization"
97
- # parent_name_extractor: "organizations/{organization}"
98
- # - pattern: "billingAccounts/{billing_account}/logs/{log}"
99
- # parent_type: "billing.googleapis.com/BillingAccount"
100
- # parent_name_extractor: "billingAccounts/{billing_account}"
101
- #
102
- # For flexible resources, the resource name doesn't contain parent names, but
103
- # the resource itself has parents for policy evaluation.
104
- #
105
- # Example:
106
- #
107
- # message Shelf {
108
- # option (google.api.resource) = {
109
- # type: "library.googleapis.com/Shelf"
110
- # name_descriptor: {
111
- # pattern: "shelves/{shelf}"
112
- # parent_type: "cloudresourcemanager.googleapis.com/Project"
113
- # }
114
- # name_descriptor: {
115
- # pattern: "shelves/{shelf}"
116
- # parent_type: "cloudresourcemanager.googleapis.com/Folder"
117
- # }
118
- # };
119
- # }
120
- #
121
- # The ResourceDescriptor Yaml config will look like:
122
- #
123
- # resources:
124
- # - type: 'library.googleapis.com/Shelf'
125
- # name_descriptor:
126
- # - pattern: "shelves/{shelf}"
127
- # parent_type: "cloudresourcemanager.googleapis.com/Project"
128
- # - pattern: "shelves/{shelf}"
129
- # parent_type: "cloudresourcemanager.googleapis.com/Folder"
65
+ # pattern: "projects/{project}/logs/{log}"
66
+ # pattern: "folders/{folder}/logs/{log}"
67
+ # pattern: "organizations/{organization}/logs/{log}"
68
+ # pattern: "billingAccounts/{billing_account}/logs/{log}"
130
69
  # @!attribute [rw] type
131
70
  # @return [::String]
132
71
  # The resource type. It must be in the format of
@@ -51,10 +51,11 @@ module Google
51
51
  # An expression for filtering the results of the request.
52
52
  #
53
53
  # * `dataset_metadata` - for existence of the case (e.g.
54
- # image_classification_dataset_metadata:*). Some examples of using the filter are:
54
+ # `image_classification_dataset_metadata:*`). Some examples of
55
+ # using the filter are:
55
56
  #
56
57
  # * `translation_dataset_metadata:*` --> The dataset has
57
- # translation_dataset_metadata.
58
+ # `translation_dataset_metadata`.
58
59
  # @!attribute [rw] page_size
59
60
  # @return [::Integer]
60
61
  # Requested page size. Server may return fewer results than requested.
@@ -293,11 +294,11 @@ module Google
293
294
  # An expression for filtering the results of the request.
294
295
  #
295
296
  # * `model_metadata` - for existence of the case (e.g.
296
- # video_classification_model_metadata:*).
297
+ # `video_classification_model_metadata:*`).
297
298
  # * `dataset_id` - for = or !=. Some examples of using the filter are:
298
299
  #
299
300
  # * `image_classification_model_metadata:*` --> The model has
300
- # image_classification_model_metadata.
301
+ # `image_classification_model_metadata`.
301
302
  # * `dataset_id=5` --> The model was created from a dataset with ID 5.
302
303
  # @!attribute [rw] page_size
303
304
  # @return [::Integer]
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-automl-v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.4
4
+ version: 0.5.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-11-08 00:00:00.000000000 Z
11
+ date: 2022-01-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common
@@ -274,7 +274,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
274
274
  - !ruby/object:Gem::Version
275
275
  version: '0'
276
276
  requirements: []
277
- rubygems_version: 3.2.17
277
+ rubygems_version: 3.3.4
278
278
  signing_key:
279
279
  specification_version: 4
280
280
  summary: API Client library for the Cloud AutoML V1beta1 API