Skip to content

Commit 43fec7f

Browse files
[CHANGE ME] Re-generated talent to pick up changes in the API or client library generator.
1 parent 15074d2 commit 43fec7f

File tree

3 files changed

+9
-10
lines changed

3 files changed

+9
-10
lines changed

talent/google/cloud/talent_v4beta1/gapic/profile_service_client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -885,7 +885,7 @@ def search_profiles(
885885
886886
Returns:
887887
A :class:`~google.gax.PageIterator` instance. By default, this
888-
is an iterable of :class:`~google.cloud.talent_v4beta1.types.HistogramQueryResult` instances.
888+
is an iterable of :class:`~google.cloud.talent_v4beta1.types.SummarizedProfile` instances.
889889
This object can also be configured to iterate over the pages
890890
of the response through the `options` parameter.
891891
@@ -940,7 +940,7 @@ def search_profiles(
940940
metadata=metadata,
941941
),
942942
request=request,
943-
items_field="histogram_query_results",
943+
items_field="summarized_profiles",
944944
request_token_field="page_token",
945945
response_token_field="next_page_token",
946946
)

talent/synth.metadata

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"updateTime": "2019-05-09T18:09:29.492318Z",
2+
"updateTime": "2019-05-14T12:28:18.397277Z",
33
"sources": [
44
{
55
"generator": {
@@ -12,8 +12,8 @@
1212
"git": {
1313
"name": "googleapis",
1414
"remote": "https://github.com/googleapis/googleapis.git",
15-
"sha": "f86c9531dc49d41267e2117ece1ea29840f15ce3",
16-
"internalRef": "247457584"
15+
"sha": "ffa256646fb15c4a6c720f0ed8f984a0ea513416",
16+
"internalRef": "248066377"
1717
}
1818
},
1919
{

talent/tests/unit/gapic/v4beta1/test_profile_service_client_v4beta1.py

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020

2121
from google.cloud import talent_v4beta1
2222
from google.cloud.talent_v4beta1.proto import common_pb2
23-
from google.cloud.talent_v4beta1.proto import histogram_pb2
2423
from google.cloud.talent_v4beta1.proto import profile_pb2
2524
from google.cloud.talent_v4beta1.proto import profile_service_pb2
2625
from google.protobuf import empty_pb2
@@ -303,12 +302,12 @@ def test_search_profiles(self):
303302
# Setup Expected Response
304303
estimated_total_size = 1882144769
305304
next_page_token = ""
306-
histogram_query_results_element = {}
307-
histogram_query_results = [histogram_query_results_element]
305+
summarized_profiles_element = {}
306+
summarized_profiles = [summarized_profiles_element]
308307
expected_response = {
309308
"estimated_total_size": estimated_total_size,
310309
"next_page_token": next_page_token,
311-
"histogram_query_results": histogram_query_results,
310+
"summarized_profiles": summarized_profiles,
312311
}
313312
expected_response = profile_service_pb2.SearchProfilesResponse(
314313
**expected_response
@@ -329,7 +328,7 @@ def test_search_profiles(self):
329328
resources = list(paged_list_response)
330329
assert len(resources) == 1
331330

332-
assert expected_response.histogram_query_results[0] == resources[0]
331+
assert expected_response.summarized_profiles[0] == resources[0]
333332

334333
assert len(channel.requests) == 1
335334
expected_request = profile_service_pb2.SearchProfilesRequest(

0 commit comments

Comments
 (0)