You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Tim's explanation of the string variant of cancel(String "id") is that it is a name provided by the user on create, in the case of the Python samples a UUID. The .jobId() is the other kind. If you can't ever set / create with a name/id, then what's the point of the string method?
I presume, I could perhaps, use .jobId().toString(), in the snippets, but that just seems weird.
It's also terribly possible that I'm not understanding something, but Tim couldn't find it either, and wrote another issue for it.
Activity
lesv commentedon Sep 16, 2016
@tswast FYI
mziccard commentedon Sep 16, 2016
Where? and why is
cancelchallenging?lesv commentedon Sep 17, 2016
Tim's explanation of the string variant of
cancel(String "id")is that it is a name provided by the user on create, in the case of the Python samples a UUID. The.jobId()is the other kind. If you can't ever set / create with a name/id, then what's the point of the string method?I presume, I could perhaps, use
.jobId().toString(), in the snippets, but that just seems weird.It's also terribly possible that I'm not understanding something, but Tim couldn't find it either, and wrote another issue for it.
mziccard commentedon Sep 17, 2016
But you can create a job passing your own name:
deps: update dependency com.google.api.grpc:proto-google-cloud-orgpol…
chore(main): release 3.5.0 (#1305)
chore(bazel): update protobuf to v3.21.12 (#1257)
deps: update dependency com.google.cloud:google-cloud-logging to v3.1…
chore(main): release 0.131.0-alpha (#1249)
chore(deps): update dependency com.google.cloud:libraries-bom to v26.…
chore(deps): update dependency org.apache.maven.plugins:maven-gpg-plu…
chore(bazel): update protobuf to v3.21.12 (googleapis#1257)
chore(deps): update dependency org.apache.maven.plugins:maven-gpg-plu…
chore(main): release 2.11.1-SNAPSHOT (googleapis#1257)
deps: update dependency com.google.cloud:google-cloud-shared-dependen…
chore(main): release 0.127.4 (#1255)
deps: update dependency com.google.cloud:google-cloud-shared-dependen…
chore(main): release 0.127.4 (#1255)
chore(deps): update dependency com.google.cloud:google-cloud-pubsub t…
chore(deps): update dependency com.google.cloud:google-cloud-pubsub t…