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
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-accesscontextmanager</artifactId>
<version>v1-rev20251112-2.0.0</version>
<version>v1-rev20260215-2.0.0</version>
</dependency>
</dependencies>
</project>
Expand All @@ -35,7 +35,7 @@ repositories {
mavenCentral()
}
dependencies {
implementation 'com.google.apis:google-api-services-accesscontextmanager:v1-rev20251112-2.0.0'
implementation 'com.google.apis:google-api-services-accesscontextmanager:v1-rev20260215-2.0.0'
}
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6093,6 +6093,174 @@ public Patch set(String parameterName, Object value) {
}
}

/**
* An accessor for creating requests from the Permissions collection.
*
* <p>The typical use is:</p>
* <pre>
* {@code AccessContextManager accesscontextmanager = new AccessContextManager(...);}
* {@code AccessContextManager.Permissions.List request = accesscontextmanager.permissions().list(parameters ...)}
* </pre>
*
* @return the resource collection
*/
public Permissions permissions() {
return new Permissions();
}

/**
* The "permissions" collection of methods.
*/
public class Permissions {

/**
* Lists all supported permissions in VPCSC Granular Controls.
*
* Create a request for the method "permissions.list".
*
* This request holds the parameters needed by the accesscontextmanager server. After setting any
* optional parameters, call the {@link List#execute()} method to invoke the remote operation.
*
* @return the request
*/
public List list() throws java.io.IOException {
List result = new List();
initialize(result);
return result;
}

public class List extends AccessContextManagerRequest<com.google.api.services.accesscontextmanager.v1.model.ListSupportedPermissionsResponse> {

private static final String REST_PATH = "v1/permissions";

/**
* Lists all supported permissions in VPCSC Granular Controls.
*
* Create a request for the method "permissions.list".
*
* This request holds the parameters needed by the the accesscontextmanager server. After setting
* any optional parameters, call the {@link List#execute()} method to invoke the remote operation.
* <p> {@link
* List#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must be
* called to initialize this instance immediately after invoking the constructor. </p>
*
* @since 1.13
*/
protected List() {
super(AccessContextManager.this, "GET", REST_PATH, null, com.google.api.services.accesscontextmanager.v1.model.ListSupportedPermissionsResponse.class);
}

@Override
public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException {
return super.executeUsingHead();
}

@Override
public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException {
return super.buildHttpRequestUsingHead();
}

@Override
public List set$Xgafv(java.lang.String $Xgafv) {
return (List) super.set$Xgafv($Xgafv);
}

@Override
public List setAccessToken(java.lang.String accessToken) {
return (List) super.setAccessToken(accessToken);
}

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

@Override
public List setCallback(java.lang.String callback) {
return (List) super.setCallback(callback);
}

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

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

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

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

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

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

@Override
public List setUploadProtocol(java.lang.String uploadProtocol) {
return (List) super.setUploadProtocol(uploadProtocol);
}

/**
* Optional. This flag specifies the maximum number of services to return per page. Default is
* 100.
*/
@com.google.api.client.util.Key
private java.lang.Integer pageSize;

/** Optional. This flag specifies the maximum number of services to return per page. Default is 100.
*/
public java.lang.Integer getPageSize() {
return pageSize;
}

/**
* Optional. This flag specifies the maximum number of services to return per page. Default is
* 100.
*/
public List setPageSize(java.lang.Integer pageSize) {
this.pageSize = pageSize;
return this;
}

/** Optional. Token to start on a later page. Default is the first page. */
@com.google.api.client.util.Key
private java.lang.String pageToken;

/** Optional. Token to start on a later page. Default is the first page.
*/
public java.lang.String getPageToken() {
return pageToken;
}

/** Optional. Token to start on a later page. Default is the first page. */
public List setPageToken(java.lang.String pageToken) {
this.pageToken = pageToken;
return this;
}

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

}

/**
* An accessor for creating requests from the Services collection.
*
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,94 @@
/*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under the License
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
* or implied. See the License for the specific language governing permissions and limitations under
* the License.
*/
/*
* This code was generated by https://github.com/googleapis/google-api-java-client-services/
* Modify at your own risk.
*/

package com.google.api.services.accesscontextmanager.v1.model;

/**
* A response to `ListSupportedPermissionsRequest`.
*
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
* transmitted over HTTP when working with the Access Context Manager API. For a detailed
* explanation see:
* <a href="https://developers.google.com/api-client-library/java/google-http-java-client/json">https://developers.google.com/api-client-library/java/google-http-java-client/json</a>
* </p>
*
* @author Google, Inc.
*/
@SuppressWarnings("javadoc")
public final class ListSupportedPermissionsResponse extends com.google.api.client.json.GenericJson {

/**
* The pagination token to retrieve the next page of results. If the value is empty, no further
* results remain.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String nextPageToken;

/**
* List of VPC-SC supported permissions.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.util.List<java.lang.String> supportedPermissions;

/**
* The pagination token to retrieve the next page of results. If the value is empty, no further
* results remain.
* @return value or {@code null} for none
*/
public java.lang.String getNextPageToken() {
return nextPageToken;
}

/**
* The pagination token to retrieve the next page of results. If the value is empty, no further
* results remain.
* @param nextPageToken nextPageToken or {@code null} for none
*/
public ListSupportedPermissionsResponse setNextPageToken(java.lang.String nextPageToken) {
this.nextPageToken = nextPageToken;
return this;
}

/**
* List of VPC-SC supported permissions.
* @return value or {@code null} for none
*/
public java.util.List<java.lang.String> getSupportedPermissions() {
return supportedPermissions;
}

/**
* List of VPC-SC supported permissions.
* @param supportedPermissions supportedPermissions or {@code null} for none
*/
public ListSupportedPermissionsResponse setSupportedPermissions(java.util.List<java.lang.String> supportedPermissions) {
this.supportedPermissions = supportedPermissions;
return this;
}

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

@Override
public ListSupportedPermissionsResponse clone() {
return (ListSupportedPermissionsResponse) super.clone();
}

}
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-accesscontextmanager</artifactId>
<version>v1-rev20251112-2.0.0</version>
<name>Access Context Manager API v1-rev20251112-2.0.0</name>
<version>v1-rev20260215-2.0.0</version>
<name>Access Context Manager API v1-rev20260215-2.0.0</name>
<packaging>jar</packaging>

<inceptionYear>2011</inceptionYear>
Expand Down
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-accesscontextmanager</artifactId>
<version>v1-rev20251112-2.0.0</version>
<version>v1-rev20260215-2.0.0</version>
</dependency>
</dependencies>
</project>
Expand All @@ -35,7 +35,7 @@ repositories {
mavenCentral()
}
dependencies {
implementation 'com.google.apis:google-api-services-accesscontextmanager:v1-rev20251112-2.0.0'
implementation 'com.google.apis:google-api-services-accesscontextmanager:v1-rev20260215-2.0.0'
}
```

Expand Down