Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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-rev20260524-2.0.0</version>
<version>v1-rev20260625-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-rev20260524-2.0.0'
implementation 'com.google.apis:google-api-services-storage:v1-rev20260625-2.0.0'
}
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13933,332 +13933,6 @@ public Update set(String parameterName, Object value) {
return (Update) super.set(parameterName, value);
}
}
/**
* Watch for changes on all objects in a bucket.
*
* Create a request for the method "objects.watchAll".
*
* This request holds the parameters needed by the storage server. After setting any optional
* parameters, call the {@link WatchAll#execute()} method to invoke the remote operation.
*
* @param bucket Name of the bucket in which to look for objects.
* @param content the {@link com.google.api.services.storage.model.Channel}
* @return the request
*/
public WatchAll watchAll(java.lang.String bucket, com.google.api.services.storage.model.Channel content) throws java.io.IOException {
WatchAll result = new WatchAll(bucket, content);
initialize(result);
return result;
}

public class WatchAll extends StorageRequest<com.google.api.services.storage.model.Channel> {

private static final String REST_PATH = "b/{bucket}/o/watch";

/**
* Watch for changes on all objects in a bucket.
*
* Create a request for the method "objects.watchAll".
*
* This request holds the parameters needed by the the storage server. After setting any optional
* parameters, call the {@link WatchAll#execute()} method to invoke the remote operation. <p>
* {@link
* WatchAll#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)}
* must be called to initialize this instance immediately after invoking the constructor. </p>
*
* @param bucket Name of the bucket in which to look for objects.
* @param content the {@link com.google.api.services.storage.model.Channel}
* @since 1.13
*/
protected WatchAll(java.lang.String bucket, com.google.api.services.storage.model.Channel content) {
super(Storage.this, "POST", REST_PATH, content, com.google.api.services.storage.model.Channel.class);
this.bucket = com.google.api.client.util.Preconditions.checkNotNull(bucket, "Required parameter bucket must be specified.");
}

@Override
public WatchAll setAlt(java.lang.String alt) {
return (WatchAll) super.setAlt(alt);
}

@Override
public WatchAll setFields(java.lang.String fields) {
return (WatchAll) super.setFields(fields);
}

@Override
public WatchAll setKey(java.lang.String key) {
return (WatchAll) super.setKey(key);
}

@Override
public WatchAll setOauthToken(java.lang.String oauthToken) {
return (WatchAll) super.setOauthToken(oauthToken);
}

@Override
public WatchAll setPrettyPrint(java.lang.Boolean prettyPrint) {
return (WatchAll) super.setPrettyPrint(prettyPrint);
}

@Override
public WatchAll setQuotaUser(java.lang.String quotaUser) {
return (WatchAll) super.setQuotaUser(quotaUser);
}

@Override
public WatchAll setUploadType(java.lang.String uploadType) {
return (WatchAll) super.setUploadType(uploadType);
}

@Override
public WatchAll setUserIp(java.lang.String userIp) {
return (WatchAll) super.setUserIp(userIp);
}

/** Name of the bucket in which to look for objects. */
@com.google.api.client.util.Key
private java.lang.String bucket;

/** Name of the bucket in which to look for objects.
*/
public java.lang.String getBucket() {
return bucket;
}

/** Name of the bucket in which to look for objects. */
public WatchAll setBucket(java.lang.String bucket) {
this.bucket = bucket;
return this;
}

/**
* Returns results in a directory-like mode. items will contain only objects whose names,
* aside from the prefix, do not contain delimiter. Objects whose names, aside from the
* prefix, contain delimiter will have their name, truncated after the delimiter, returned in
* prefixes. Duplicate prefixes are omitted.
*/
@com.google.api.client.util.Key
private java.lang.String delimiter;

/** Returns results in a directory-like mode. items will contain only objects whose names, aside from
the prefix, do not contain delimiter. Objects whose names, aside from the prefix, contain delimiter
will have their name, truncated after the delimiter, returned in prefixes. Duplicate prefixes are
omitted.
*/
public java.lang.String getDelimiter() {
return delimiter;
}

/**
* Returns results in a directory-like mode. items will contain only objects whose names,
* aside from the prefix, do not contain delimiter. Objects whose names, aside from the
* prefix, contain delimiter will have their name, truncated after the delimiter, returned in
* prefixes. Duplicate prefixes are omitted.
*/
public WatchAll setDelimiter(java.lang.String delimiter) {
this.delimiter = delimiter;
return this;
}

/**
* Filter results to objects whose names are lexicographically before endOffset. If
* startOffset is also set, the objects listed will have names between startOffset (inclusive)
* and endOffset (exclusive).
*/
@com.google.api.client.util.Key
private java.lang.String endOffset;

/** Filter results to objects whose names are lexicographically before endOffset. If startOffset is
also set, the objects listed will have names between startOffset (inclusive) and endOffset
(exclusive).
*/
public java.lang.String getEndOffset() {
return endOffset;
}

/**
* Filter results to objects whose names are lexicographically before endOffset. If
* startOffset is also set, the objects listed will have names between startOffset (inclusive)
* and endOffset (exclusive).
*/
public WatchAll setEndOffset(java.lang.String endOffset) {
this.endOffset = endOffset;
return this;
}

/**
* If true, objects that end in exactly one instance of delimiter will have their metadata
* included in items in addition to prefixes.
*/
@com.google.api.client.util.Key
private java.lang.Boolean includeTrailingDelimiter;

/** If true, objects that end in exactly one instance of delimiter will have their metadata included in
items in addition to prefixes.
*/
public java.lang.Boolean getIncludeTrailingDelimiter() {
return includeTrailingDelimiter;
}

/**
* If true, objects that end in exactly one instance of delimiter will have their metadata
* included in items in addition to prefixes.
*/
public WatchAll setIncludeTrailingDelimiter(java.lang.Boolean includeTrailingDelimiter) {
this.includeTrailingDelimiter = includeTrailingDelimiter;
return this;
}

/**
* Maximum number of items plus prefixes to return in a single page of responses. As duplicate
* prefixes are omitted, fewer total results may be returned than requested. The service will
* use this parameter or 1,000 items, whichever is smaller.
*/
@com.google.api.client.util.Key
private java.lang.Long maxResults;

/** Maximum number of items plus prefixes to return in a single page of responses. As duplicate
prefixes are omitted, fewer total results may be returned than requested. The service will use this
parameter or 1,000 items, whichever is smaller. [default: 1000] [minimum: 0]
*/
public java.lang.Long getMaxResults() {
return maxResults;
}

/**
* Maximum number of items plus prefixes to return in a single page of responses. As duplicate
* prefixes are omitted, fewer total results may be returned than requested. The service will
* use this parameter or 1,000 items, whichever is smaller.
*/
public WatchAll setMaxResults(java.lang.Long maxResults) {
this.maxResults = maxResults;
return this;
}

/**
* A previously-returned page token representing part of the larger set of results to view.
*/
@com.google.api.client.util.Key
private java.lang.String pageToken;

/** A previously-returned page token representing part of the larger set of results to view.
*/
public java.lang.String getPageToken() {
return pageToken;
}

/**
* A previously-returned page token representing part of the larger set of results to view.
*/
public WatchAll setPageToken(java.lang.String pageToken) {
this.pageToken = pageToken;
return this;
}

/** Filter results to objects whose names begin with this prefix. */
@com.google.api.client.util.Key
private java.lang.String prefix;

/** Filter results to objects whose names begin with this prefix.
*/
public java.lang.String getPrefix() {
return prefix;
}

/** Filter results to objects whose names begin with this prefix. */
public WatchAll setPrefix(java.lang.String prefix) {
this.prefix = prefix;
return this;
}

/** Set of properties to return. Defaults to noAcl. */
@com.google.api.client.util.Key
private java.lang.String projection;

/** Set of properties to return. Defaults to noAcl.
*/
public java.lang.String getProjection() {
return projection;
}

/** Set of properties to return. Defaults to noAcl. */
public WatchAll setProjection(java.lang.String projection) {
this.projection = projection;
return this;
}

/**
* Filter results to objects whose names are lexicographically equal to or after startOffset.
* If endOffset is also set, the objects listed will have names between startOffset
* (inclusive) and endOffset (exclusive).
*/
@com.google.api.client.util.Key
private java.lang.String startOffset;

/** Filter results to objects whose names are lexicographically equal to or after startOffset. If
endOffset is also set, the objects listed will have names between startOffset (inclusive) and
endOffset (exclusive).
*/
public java.lang.String getStartOffset() {
return startOffset;
}

/**
* Filter results to objects whose names are lexicographically equal to or after startOffset.
* If endOffset is also set, the objects listed will have names between startOffset
* (inclusive) and endOffset (exclusive).
*/
public WatchAll setStartOffset(java.lang.String startOffset) {
this.startOffset = startOffset;
return this;
}

/** The project to be billed for this request. Required for Requester Pays buckets. */
@com.google.api.client.util.Key
private java.lang.String userProject;

/** The project to be billed for this request. Required for Requester Pays buckets.
*/
public java.lang.String getUserProject() {
return userProject;
}

/** The project to be billed for this request. Required for Requester Pays buckets. */
public WatchAll setUserProject(java.lang.String userProject) {
this.userProject = userProject;
return this;
}

/**
* If true, lists all versions of an object as distinct results. The default is false. For
* more information, see [Object Versioning](https://cloud.google.com/storage/docs/object-
* versioning).
*/
@com.google.api.client.util.Key
private java.lang.Boolean versions;

/** If true, lists all versions of an object as distinct results. The default is false. For more
information, see [Object Versioning](https://cloud.google.com/storage/docs/object-versioning).
*/
public java.lang.Boolean getVersions() {
return versions;
}

/**
* If true, lists all versions of an object as distinct results. The default is false. For
* more information, see [Object Versioning](https://cloud.google.com/storage/docs/object-
* versioning).
*/
public WatchAll setVersions(java.lang.Boolean versions) {
this.versions = versions;
return this;
}

@Override
public WatchAll set(String parameterName, Object value) {
return (WatchAll) super.set(parameterName, value);
}
}

}

Expand Down
4 changes: 2 additions & 2 deletions clients/google-api-services-storage/v1/2.0.0/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@

<groupId>com.google.apis</groupId>
<artifactId>google-api-services-storage</artifactId>
<version>v1-rev20260524-2.0.0</version>
<name>Cloud Storage JSON API v1-rev20260524-2.0.0</name>
<version>v1-rev20260625-2.0.0</version>
<name>Cloud Storage JSON API v1-rev20260625-2.0.0</name>
<packaging>jar</packaging>

<inceptionYear>2011</inceptionYear>
Expand Down
4 changes: 2 additions & 2 deletions clients/google-api-services-storage/v1/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-rev20260524-2.0.0</version>
<version>v1-rev20260625-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-rev20260524-2.0.0'
implementation 'com.google.apis:google-api-services-storage:v1-rev20260625-2.0.0'
}
```

Expand Down
Loading