google-cloud-retail 1.1.0 → 1.2.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1196cb92f561986cfb3df2dd69f1746fc6f9454b9fc0e896d957bd57a3c4dea9
4
- data.tar.gz: eea570b24f3a396ba110294168dcff6ff34c67f5c676edd1b7396b84aeda6afa
3
+ metadata.gz: 0f18433ca0e5f4eb2ed5d4595ff7faad42a2cfa53ee1433e3a6c256062fe1aa2
4
+ data.tar.gz: e2c00b435c297f181594e20b1dbe7be4603ad16217478afc89adda8b71d3657d
5
5
  SHA512:
6
- metadata.gz: c245f549bc5eb8cbe9d09c9d600abca7fa6de463f5c4451877ac59d13ceb830a414f2046847dd8f336ea2416fabb1d696b655fcc3a445efaf4cfebfe1de45a28
7
- data.tar.gz: 31092fac6a9879a7992532ba42dc854b427434a33a31366328fa5928092f2e2791bd26f5ebbac27c4a4d786fd6cae8174bf9363b16f88a835e34e6ad6f75fea2
6
+ metadata.gz: 96b308400bcb07c3a35654c13741fee60d8763bb985fc139e4827e7f2843ab2271b5a6ea2d5b5de8d45dcdc069ddfd01c27d9a61bce1fa6063484b3c5eb06ffc
7
+ data.tar.gz: d1bb31c54a4f31531b937bee0ae3931cbebe37b733ee7a59cfca78b09346c48d2b07dc7c2a1be0d5f6878ce4a5be4c2fae60742710b6c067b92391165b1215ab
data/.yardopts CHANGED
@@ -1,5 +1,5 @@
1
1
  --no-private
2
- --title=Retail API
2
+ --title="Retail 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.
data/README.md CHANGED
@@ -11,7 +11,7 @@ verisoned gems in as dependencies, and provides high-level methods for
11
11
  constructing clients. More information on versioned clients can be found below
12
12
  in the section titled *Which client should I use?*.
13
13
 
14
- View the [Client Library Documentation](https://googleapis.dev/ruby/google-cloud-retail/latest)
14
+ View the [Client Library Documentation](https://cloud.google.com/ruby/docs/reference/google-cloud-retail/latest)
15
15
  for this library, google-cloud-retail, to see the convenience methods for
16
16
  constructing client objects. Reference documentation for the client objects
17
17
  themselves can be found in the client library documentation for the versioned
@@ -20,7 +20,7 @@
20
20
  module Google
21
21
  module Cloud
22
22
  module Retail
23
- VERSION = "1.1.0"
23
+ VERSION = "1.2.0"
24
24
  end
25
25
  end
26
26
  end
@@ -90,8 +90,7 @@ module Google
90
90
  # Auto-completion service for retail.
91
91
  #
92
92
  # This feature is only available for users who have Retail Search enabled.
93
- # Contact Retail Support (retail-search-support@google.com) if you are
94
- # interested in using Retail Search.
93
+ # Please enable Retail Search on Cloud Console before using this feature.
95
94
  #
96
95
  # @param version [::String, ::Symbol] The API version to connect to. Optional.
97
96
  # Defaults to `:v2`.
@@ -185,8 +184,7 @@ module Google
185
184
  # Service for search.
186
185
  #
187
186
  # This feature is only available for users who have Retail Search enabled.
188
- # Contact Retail Support (retail-search-support@google.com) if you are
189
- # interested in using Retail Search.
187
+ # Please enable Retail Search on Cloud Console before using this feature.
190
188
  #
191
189
  # @param version [::String, ::Symbol] The API version to connect to. Optional.
192
190
  # Defaults to `:v2`.
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-retail
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.2.0
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-08-06 00:00:00.000000000 Z
11
+ date: 2022-03-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-cloud-core
@@ -190,7 +190,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
190
190
  - !ruby/object:Gem::Version
191
191
  version: '0'
192
192
  requirements: []
193
- rubygems_version: 3.2.17
193
+ rubygems_version: 3.3.5
194
194
  signing_key:
195
195
  specification_version: 4
196
196
  summary: API Client library for the Retail API