Skip to content

Commit

Permalink
chore: regenerate storage client (#18115)
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-code-bot authored Sep 17, 2023
1 parent b2d1445 commit 8244580
Show file tree
Hide file tree
Showing 5 changed files with 400 additions and 4 deletions.
4 changes: 2 additions & 2 deletions clients/google-api-services-storage/v1/2.0.0/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
<dependency>
<groupId>com.google.apis</groupId>
<artifactId>google-api-services-storage</artifactId>
<version>v1-rev20230907-2.0.0</version>
<version>v1-rev20230914-2.0.0</version>
</dependency>
</dependencies>
</project>
Expand All @@ -35,7 +35,7 @@ repositories {
mavenCentral()
}
dependencies {
implementation 'com.google.apis:google-api-services-storage:v1-rev20230907-2.0.0'
implementation 'com.google.apis:google-api-services-storage:v1-rev20230914-2.0.0'
}
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1601,6 +1601,49 @@ public Insert setProject(java.lang.String project) {
return this;
}

/** When set to true, object retention is enabled for this bucket. */
@com.google.api.client.util.Key
private java.lang.Boolean enableObjectRetention;

/** When set to true, object retention is enabled for this bucket. [default: false]
*/
public java.lang.Boolean getEnableObjectRetention() {
return enableObjectRetention;
}

/** When set to true, object retention is enabled for this bucket. */
public Insert setEnableObjectRetention(java.lang.Boolean enableObjectRetention) {
this.enableObjectRetention = enableObjectRetention;
return this;
}

/**
* Convenience method that returns only {@link Boolean#TRUE} or {@link Boolean#FALSE}.
*
* <p>
* Boolean properties can have four possible values:
* {@code null}, {@link com.google.api.client.util.Data#NULL_BOOLEAN}, {@link Boolean#TRUE}
* or {@link Boolean#FALSE}.
* </p>
*
* <p>
* This method returns {@link Boolean#TRUE} if the default of the property is {@link Boolean#TRUE}
* and it is {@code null} or {@link com.google.api.client.util.Data#NULL_BOOLEAN}.
* {@link Boolean#FALSE} is returned if the default of the property is {@link Boolean#FALSE} and
* it is {@code null} or {@link com.google.api.client.util.Data#NULL_BOOLEAN}.
* </p>
*
* <p>
* When set to true, object retention is enabled for this bucket.
* </p>
*/
public boolean isEnableObjectRetention() {
if (enableObjectRetention == null || enableObjectRetention == com.google.api.client.util.Data.NULL_BOOLEAN) {
return false;
}
return enableObjectRetention;
}

/** Apply a predefined set of access controls to this bucket. */
@com.google.api.client.util.Key
private java.lang.String predefinedAcl;
Expand Down Expand Up @@ -8145,6 +8188,29 @@ public Patch setIfMetagenerationNotMatch(java.lang.Long ifMetagenerationNotMatch
return this;
}

/**
* Must be true to remove the retention configuration, reduce its unlocked retention period,
* or change its mode from unlocked to locked.
*/
@com.google.api.client.util.Key
private java.lang.Boolean overrideUnlockedRetention;

/** Must be true to remove the retention configuration, reduce its unlocked retention period, or change
its mode from unlocked to locked.
*/
public java.lang.Boolean getOverrideUnlockedRetention() {
return overrideUnlockedRetention;
}

/**
* Must be true to remove the retention configuration, reduce its unlocked retention period,
* or change its mode from unlocked to locked.
*/
public Patch setOverrideUnlockedRetention(java.lang.Boolean overrideUnlockedRetention) {
this.overrideUnlockedRetention = overrideUnlockedRetention;
return this;
}

/** Apply a predefined set of access controls to this object. */
@com.google.api.client.util.Key
private java.lang.String predefinedAcl;
Expand Down Expand Up @@ -9658,6 +9724,29 @@ public Update setIfMetagenerationNotMatch(java.lang.Long ifMetagenerationNotMatc
return this;
}

/**
* Must be true to remove the retention configuration, reduce its unlocked retention period,
* or change its mode from unlocked to locked.
*/
@com.google.api.client.util.Key
private java.lang.Boolean overrideUnlockedRetention;

/** Must be true to remove the retention configuration, reduce its unlocked retention period, or change
its mode from unlocked to locked.
*/
public java.lang.Boolean getOverrideUnlockedRetention() {
return overrideUnlockedRetention;
}

/**
* Must be true to remove the retention configuration, reduce its unlocked retention period,
* or change its mode from unlocked to locked.
*/
public Update setOverrideUnlockedRetention(java.lang.Boolean overrideUnlockedRetention) {
this.overrideUnlockedRetention = overrideUnlockedRetention;
return this;
}

/** Apply a predefined set of access controls to this object. */
@com.google.api.client.util.Key
private java.lang.String predefinedAcl;
Expand Down
Loading

0 comments on commit 8244580

Please sign in to comment.