Skip to content

Commit 64130fa

Browse files
feat: Automated regeneration of retail v2alpha client (#5704)
1 parent b46dc19 commit 64130fa

File tree

4 files changed

+17
-14
lines changed

4 files changed

+17
-14
lines changed

generated/google-apis-retail_v2alpha/CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
# Release history for google-apis-retail_v2alpha
22

3-
### v0.12.0 (2021-06-29)
3+
### v0.12.0 (2021-07-03)
44

5+
* Regenerated from discovery document revision 20210625
56
* Regenerated using generator version 0.4.0
67

78
### v0.11.0 (2021-06-24)

generated/google-apis-retail_v2alpha/lib/google/apis/retail_v2alpha/classes.rb

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1061,11 +1061,11 @@ class GoogleCloudRetailV2alphaPredictRequest
10611061
# blocks all prediction results. * `priceRerankLevel`: String. Default empty. If
10621062
# set to be non-empty, then it needs to be one of `'no-price-reranking', 'low-
10631063
# price-reranking', 'medium-price-reranking', 'high-price-reranking'`. This
1064-
# gives request level control and adjust prediction results based on product
1064+
# gives request-level control and adjusts prediction results based on product
10651065
# price. * `diversityLevel`: String. Default empty. If set to be non-empty, then
10661066
# it needs to be one of `'no-diversity', 'low-diversity', 'medium-diversity', '
1067-
# high-diversity', 'auto-diversity'`. This gives request level control and
1068-
# adjust prediction results based on product category.
1067+
# high-diversity', 'auto-diversity'`. This gives request-level control and
1068+
# adjusts prediction results based on product category.
10691069
# Corresponds to the JSON property `params`
10701070
# @return [Hash<String,Object>]
10711071
attr_accessor :params
@@ -1945,21 +1945,23 @@ class GoogleCloudRetailV2alphaUserInfo
19451945
attr_accessor :direct_user_request
19461946
alias_method :direct_user_request?, :direct_user_request
19471947

1948-
# The end user's IP address. This field is used to extract location information
1949-
# for personalization. This field must be either an IPv4 address (e.g. "104.133.
1950-
# 9.80") or an IPv6 address (e.g. "2001:0db8:85a3:0000:0000:8a2e:0370:7334").
1948+
# The end user's IP address. Required for getting SearchRespons.
1949+
# sponsored_results. This field is used to extract location information for
1950+
# personalization. This field must be either an IPv4 address (e.g. "104.133.9.80"
1951+
# ) or an IPv6 address (e.g. "2001:0db8:85a3:0000:0000:8a2e:0370:7334").
19511952
# Otherwise, an INVALID_ARGUMENT error is returned. This should not be set when
19521953
# using the JavaScript tag in UserEventService.CollectUserEvent or if
19531954
# direct_user_request is set.
19541955
# Corresponds to the JSON property `ipAddress`
19551956
# @return [String]
19561957
attr_accessor :ip_address
19571958

1958-
# User agent as included in the HTTP header. The field must be a UTF-8 encoded
1959-
# string with a length limit of 1,000 characters. Otherwise, an INVALID_ARGUMENT
1960-
# error is returned. This should not be set when using the client side event
1961-
# reporting with GTM or JavaScript tag in UserEventService.CollectUserEvent or
1962-
# if direct_user_request is set.
1959+
# User agent as included in the HTTP header. Required for getting SearchRespons.
1960+
# sponsored_results. The field must be a UTF-8 encoded string with a length
1961+
# limit of 1,000 characters. Otherwise, an INVALID_ARGUMENT error is returned.
1962+
# This should not be set when using the client side event reporting with GTM or
1963+
# JavaScript tag in UserEventService.CollectUserEvent or if direct_user_request
1964+
# is set.
19631965
# Corresponds to the JSON property `userAgent`
19641966
# @return [String]
19651967
attr_accessor :user_agent

generated/google-apis-retail_v2alpha/lib/google/apis/retail_v2alpha/gem_version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ module RetailV2alpha
2222
GENERATOR_VERSION = "0.4.0"
2323

2424
# Revision of the discovery document this client was generated from
25-
REVISION = "20210614"
25+
REVISION = "20210625"
2626
end
2727
end
2828
end

generated/google-apis-retail_v2alpha/synth.metadata

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"git": {
55
"name": ".",
66
"remote": "https://github.com/googleapis/google-api-ruby-client.git",
7-
"sha": "ed76f358588b86466c5a622aa7381acf29768b03"
7+
"sha": "45462a0e10b2028c97608566274d1d0fdc818a56"
88
}
99
}
1010
]

0 commit comments

Comments
 (0)