Skip to content

Conversation

@dhermes
Copy link
Contributor

@dhermes dhermes commented Dec 2, 2016

In the process, ditching hard deps on protobufs, grpcio, and google-gax in those packages. Also had
to upgrade calls to list_log_entries() based on: https://github.com/googleapis/api-client-staging/pull/118/files/2bcd2875a578ae525d2aabb862cf9c131b4665f5#r90422054

/cc @geigerj @bjwatson

@waprin I could not for the life of me figure out how to use resource_names instead of the deprecated project_ids. Can you explain? (Trying foo --> project/foo did not work)

In the process, ditching **hard** deps on protobufs,
grpcio, and google-gax in those packages. Also had
to upgrade calls to list_log_entries() based on

https://github.com/googleapis/api-client-staging/pull/118/files/2bcd2875a578ae525d2aabb862cf9c131b4665f5#r90422054
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Dec 2, 2016
@tseaver
Copy link
Contributor

tseaver commented Dec 2, 2016

@dhermes Should we work out what the story is supposed to be for resource_names before merging?

@dhermes
Copy link
Contributor Author

dhermes commented Dec 2, 2016

@tseaver The system tests are still passing, so I don't think it's necessary to block on that, though we should get it straightened out. (Was there a version bump for this API I wasn't aware of that deprecated the field?)

@waprin
Copy link
Contributor

waprin commented Dec 2, 2016

@dhermes did you try foo -> projects/foo ? (note the plural projects). Apologies if you just had a typo in your original message, but I do hope that was the problem since it's an easy fix :)

@dhermes
Copy link
Contributor Author

dhermes commented Dec 2, 2016

This is what I did before (I know because my chat log with @geigerj)

resource_names = ['project/' + project for project in projects]

@waprin Should we allow callers to send other resource types? I checked and only project IDs come through in the system tests.

@geigerj
Copy link
Contributor

geigerj commented Dec 2, 2016

@dhermes project/ -> projects/?

@dhermes
Copy link
Contributor Author

dhermes commented Dec 2, 2016

@geigerj Right that's what @waprin just said (and I confirmed I was holding the gun wrong before)

@waprin
Copy link
Contributor

waprin commented Dec 2, 2016

Docs look like there are some "orgazinations/" thing but I'm not familiar with it tbh, will have to ask around.

@dhermes
Copy link
Contributor Author

dhermes commented Dec 2, 2016

@tseaver Let's merge this and continue this discussion elsewhere (like a PR which converts projects to resource_names)

@tseaver
Copy link
Contributor

tseaver commented Dec 3, 2016

LGTM

@dhermes dhermes merged commit 7c73b58 into googleapis:master Dec 3, 2016
@dhermes dhermes deleted the update-gapic-0.14 branch December 3, 2016 00:03
richkadel pushed a commit to richkadel/google-cloud-python that referenced this pull request May 6, 2017
atulep pushed a commit that referenced this pull request Apr 3, 2023
Upgrading GAPIC deps to 0.14 series.
atulep pushed a commit that referenced this pull request Apr 18, 2023
Upgrading GAPIC deps to 0.14 series.
parthea pushed a commit that referenced this pull request Oct 22, 2023
Upgrading GAPIC deps to 0.14 series.
parthea pushed a commit that referenced this pull request Nov 24, 2025
Upgrading GAPIC deps to 0.14 series.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla: yes This human has signed the Contributor License Agreement. grpc

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants