8000 Add toString methods for object lifecycle classes by JesseLovelace · Pull Request #6838 · googleapis/google-cloud-java · GitHub
[go: up one dir, main page]

Skip to content

Conversation

@JesseLovelace
Copy link
Contributor
@JesseLovelace JesseLovelace commented Nov 20, 2019

Adds toString methods for object lifecycle classes. Strings will take the form "Action when condition". This was discovered while updating Java samples

For example "Delete when object is 10 days old and storage class is coldline", "Set storage class to COLDLINE when object is not live"

@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Nov 20, 2019
Copy link
Contributor
@elharo elharo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[ERROR] To fix formatting errors, run "mvn com.coveo:fmt-maven-plugin:format"
[ERROR] Non complying file: /tmpfs/src/github/google-cloud-java/google-cloud-clients/google-cloud-storage/src/main/java/com/google/cloud/storage/BucketInfo.java

I wish we hadn't used so many inner classes here, but otherwise looks fine.

@JesseLovelace
Copy link
Contributor Author

Dropping this for now since it's inconsistent with other toString methods in this library

@JesseLovelace
Copy link
Contributor Author

Replaced by #6856

@Neenu1995 Neenu1995 deleted the lifecycletostring branch July 6, 2022 17:49
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.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

0