Skip to content
Closed
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-serviceconsumermanagement</artifactId>
<version>v1-rev20251023-2.0.0</version>
<version>v1-rev20260210-2.0.0</version>
</dependency>
</dependencies>
</project>
Expand All @@ -35,7 +35,7 @@ repositories {
mavenCentral()
}
dependencies {
implementation 'com.google.apis:google-api-services-serviceconsumermanagement:v1-rev20251023-2.0.0'
implementation 'com.google.apis:google-api-services-serviceconsumermanagement:v1-rev20260210-2.0.0'
}
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ public class ServiceConsumerManagement extends com.google.api.client.googleapis.
* {@code com.google.api.client.extensions.appengine.http.UrlFetchTransport}</li>
* <li>Android: {@code newCompatibleTransport} from
* {@code com.google.api.client.extensions.android.http.AndroidHttp}</li>
* <li>Java: {@link com.google.api.client.googleapis.javanet.GoogleNetHttpTransport#newTrustedTransport()}
* <li>Java: {@code com.google.api.client.http.javanet.NetHttpTransport}</li>
* </li>
* </ul>
* @param jsonFactory JSON factory, which may be:
Expand Down Expand Up @@ -756,30 +756,31 @@ public List setPageToken(java.lang.String pageToken) {

/**
* When set to `true`, operations that are reachable are returned as normal, and those that
* are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can
* only be `true` when reading across collections e.g. when `parent` is set to
* `"projects/example/locations/-"`. This field is not by default supported and will result in
* are unreachable are returned in the ListOperationsResponse.unreachable field. This can only
* be `true` when reading across collections. For example, when `parent` is set to
* `"projects/example/locations/-"`. This field is not supported by default and will result in
* an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or
* product specific documentation.
*/
@com.google.api.client.util.Key
private java.lang.Boolean returnPartialSuccess;

/** When set to `true`, operations that are reachable are returned as normal, and those that are
unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true`
when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This
field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless
explicitly documented otherwise in service or product specific documentation.
unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true`
when reading across collections. For example, when `parent` is set to
`"projects/example/locations/-"`. This field is not supported by default and will result in an
`UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific
documentation.
*/
public java.lang.Boolean getReturnPartialSuccess() {
return returnPartialSuccess;
}

/**
* When set to `true`, operations that are reachable are returned as normal, and those that
* are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can
* only be `true` when reading across collections e.g. when `parent` is set to
* `"projects/example/locations/-"`. This field is not by default supported and will result in
* are unreachable are returned in the ListOperationsResponse.unreachable field. This can only
* be `true` when reading across collections. For example, when `parent` is set to
* `"projects/example/locations/-"`. This field is not supported by default and will result in
* an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or
* product specific documentation.
*/
Expand Down Expand Up @@ -961,24 +962,24 @@ public Search setParent(java.lang.String parent) {

/**
* Optional. The maximum number of results returned by this request. Currently, the default
* maximum is set to 1000. If `page_size` isn't provided or the size provided is a number
* larger than 1000, it's automatically set to 1000.
* maximum is set to 256. If `page_size` <= 256, the request proceeds. Else, the request fails
* with an `TU_INVALID_PAGE_SIZE` error.
*/
@com.google.api.client.util.Key
private java.lang.Integer pageSize;

/** Optional. The maximum number of results returned by this request. Currently, the default maximum is
set to 1000. If `page_size` isn't provided or the size provided is a number larger than 1000, it's
automatically set to 1000.
set to 256. If `page_size` <= 256, the request proceeds. Else, the request fails with an
`TU_INVALID_PAGE_SIZE` error.
*/
public java.lang.Integer getPageSize() {
return pageSize;
}

/**
* Optional. The maximum number of results returned by this request. Currently, the default
* maximum is set to 1000. If `page_size` isn't provided or the size provided is a number
* larger than 1000, it's automatically set to 1000.
* maximum is set to 256. If `page_size` <= 256, the request proceeds. Else, the request fails
* with an `TU_INVALID_PAGE_SIZE` error.
*/
public Search setPageSize(java.lang.Integer pageSize) {
this.pageSize = pageSize;
Expand Down Expand Up @@ -2543,8 +2544,7 @@ private static String chooseEndpoint(com.google.api.client.http.HttpTransport tr
* {@code com.google.api.client.extensions.appengine.http.UrlFetchTransport}</li>
* <li>Android: {@code newCompatibleTransport} from
* {@code com.google.api.client.extensions.android.http.AndroidHttp}</li>
* <li>Java: {@link com.google.api.client.googleapis.javanet.GoogleNetHttpTransport#newTrustedTransport()}
* </li>
* <li>Java: {@code com.google.api.client.http.javanet.NetHttpTransport}</li>
* </ul>
* @param jsonFactory JSON factory, which may be:
* <ul>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,13 @@ public final class Aspect extends com.google.api.client.json.GenericJson {
@com.google.api.client.util.Key
private java.lang.String kind;

/**
* Optional. Rules of the Configuration.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.util.List<AspectRule> rules;

/**
* Content of the configuration. The underlying schema should be defined by Aspect owners as
* protobuf message under `google/api/configaspects/proto`.
Expand All @@ -63,6 +70,23 @@ public Aspect setKind(java.lang.String kind) {
return this;
}

/**
* Optional. Rules of the Configuration.
* @return value or {@code null} for none
*/
public java.util.List<AspectRule> getRules() {
return rules;
}

/**
* Optional. Rules of the Configuration.
* @param rules rules or {@code null} for none
*/
public Aspect setRules(java.util.List<AspectRule> rules) {
this.rules = rules;
return this;
}

/**
* Content of the configuration. The underlying schema should be defined by Aspect owners as
* protobuf message under `google/api/configaspects/proto`.
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,97 @@
/*
* 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.serviceconsumermanagement.v1.model;

/**
* Rule-based configuration for an aspect.
*
* <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 Service Consumer Management 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 AspectRule extends com.google.api.client.json.GenericJson {

/**
* Required. Rules of the configuration. The underlying schema should be defined by Aspect owners
* as protobuf message under `google/api/configaspects/proto`.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.util.Map<String, java.lang.Object> config;

/**
* Required. Selects the RPC methods to which this rule applies. Refer to selector for syntax
* details.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String selector;

/**
* Required. Rules of the configuration. The underlying schema should be defined by Aspect owners
* as protobuf message under `google/api/configaspects/proto`.
* @return value or {@code null} for none
*/
public java.util.Map<String, java.lang.Object> getConfig() {
return config;
}

/**
* Required. Rules of the configuration. The underlying schema should be defined by Aspect owners
* as protobuf message under `google/api/configaspects/proto`.
* @param config config or {@code null} for none
*/
public AspectRule setConfig(java.util.Map<String, java.lang.Object> config) {
this.config = config;
return this;
}

/**
* Required. Selects the RPC methods to which this rule applies. Refer to selector for syntax
* details.
* @return value or {@code null} for none
*/
public java.lang.String getSelector() {
return selector;
}

/**
* Required. Selects the RPC methods to which this rule applies. Refer to selector for syntax
* details.
* @param selector selector or {@code null} for none
*/
public AspectRule setSelector(java.lang.String selector) {
this.selector = selector;
return this;
}

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

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

}
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@
public final class Control extends com.google.api.client.json.GenericJson {

/**
* The service controller environment to use. If empty, no control plane feature (like quota and
* The service controller environment to use. If empty, no control plane features (like quota and
* billing) will be enabled. The recommended value for most services is
* servicecontrol.googleapis.com
* servicecontrol.googleapis.com.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
Expand All @@ -48,19 +48,19 @@ public final class Control extends com.google.api.client.json.GenericJson {
private java.util.List<MethodPolicy> methodPolicies;

/**
* The service controller environment to use. If empty, no control plane feature (like quota and
* The service controller environment to use. If empty, no control plane features (like quota and
* billing) will be enabled. The recommended value for most services is
* servicecontrol.googleapis.com
* servicecontrol.googleapis.com.
* @return value or {@code null} for none
*/
public java.lang.String getEnvironment() {
return environment;
}

/**
* The service controller environment to use. If empty, no control plane feature (like quota and
* The service controller environment to use. If empty, no control plane features (like quota and
* billing) will be enabled. The recommended value for most services is
* servicecontrol.googleapis.com
* servicecontrol.googleapis.com.
* @param environment environment or {@code null} for none
*/
public Control setEnvironment(java.lang.String environment) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public final class ListOperationsResponse extends com.google.api.client.json.Gen

/**
* Unordered list. Unreachable resources. Populated when the request sets
* `ListOperationsRequest.return_partial_success` and reads across collections e.g. when
* `ListOperationsRequest.return_partial_success` and reads across collections. For example, when
* attempting to list all resources across all supported locations.
* The value may be {@code null}.
*/
Expand Down Expand Up @@ -89,7 +89,7 @@ public ListOperationsResponse setOperations(java.util.List<Operation> operations

/**
* Unordered list. Unreachable resources. Populated when the request sets
* `ListOperationsRequest.return_partial_success` and reads across collections e.g. when
* `ListOperationsRequest.return_partial_success` and reads across collections. For example, when
* attempting to list all resources across all supported locations.
* @return value or {@code null} for none
*/
Expand All @@ -99,7 +99,7 @@ public java.util.List<java.lang.String> getUnreachable() {

/**
* Unordered list. Unreachable resources. Populated when the request sets
* `ListOperationsRequest.return_partial_success` and reads across collections e.g. when
* `ListOperationsRequest.return_partial_success` and reads across collections. For example, when
* attempting to list all resources across all supported locations.
* @param unreachable unreachable or {@code null} for none
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,12 @@ public final class Service extends com.google.api.client.json.GenericJson {

/**
* Configuration for network endpoints. If this is empty, then an endpoint with the same name as
* the service is automatically generated to service all defined APIs.
* the service is automatically generated to service all defined APIs. WARNING: Defining any
* entries in the `endpoints` list disables the automatic generation of default endpoint
* variations (e.g., `{service}.clients6.google.com`, `content-{service}.googleapis.com`, and mTLS
* variants like `{service}.mtls.googleapis.com`). To retain these default variations, you are
* required to explicitly include your main service endpoint (e.g., `myservice.googleapis.com`) in
* this list alongside any other custom endpoints (like REP, GFE, etc.).
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
Expand Down Expand Up @@ -210,7 +215,7 @@ public final class Service extends com.google.api.client.json.GenericJson {

/**
* Defines the monitored resources used by this service. This is required by the
* Service.monitoring and Service.logging configurations.
* `Service.monitoring` and `Service.logging` configurations.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
Expand Down Expand Up @@ -494,7 +499,12 @@ public Service setDocumentation(Documentation documentation) {

/**
* Configuration for network endpoints. If this is empty, then an endpoint with the same name as
* the service is automatically generated to service all defined APIs.
* the service is automatically generated to service all defined APIs. WARNING: Defining any
* entries in the `endpoints` list disables the automatic generation of default endpoint
* variations (e.g., `{service}.clients6.google.com`, `content-{service}.googleapis.com`, and mTLS
* variants like `{service}.mtls.googleapis.com`). To retain these default variations, you are
* required to explicitly include your main service endpoint (e.g., `myservice.googleapis.com`) in
* this list alongside any other custom endpoints (like REP, GFE, etc.).
* @return value or {@code null} for none
*/
public java.util.List<Endpoint> getEndpoints() {
Expand All @@ -503,7 +513,12 @@ public java.util.List<Endpoint> getEndpoints() {

/**
* Configuration for network endpoints. If this is empty, then an endpoint with the same name as
* the service is automatically generated to service all defined APIs.
* the service is automatically generated to service all defined APIs. WARNING: Defining any
* entries in the `endpoints` list disables the automatic generation of default endpoint
* variations (e.g., `{service}.clients6.google.com`, `content-{service}.googleapis.com`, and mTLS
* variants like `{service}.mtls.googleapis.com`). To retain these default variations, you are
* required to explicitly include your main service endpoint (e.g., `myservice.googleapis.com`) in
* this list alongside any other custom endpoints (like REP, GFE, etc.).
* @param endpoints endpoints or {@code null} for none
*/
public Service setEndpoints(java.util.List<Endpoint> endpoints) {
Expand Down Expand Up @@ -625,7 +640,7 @@ public Service setMetrics(java.util.List<MetricDescriptor> metrics) {

/**
* Defines the monitored resources used by this service. This is required by the
* Service.monitoring and Service.logging configurations.
* `Service.monitoring` and `Service.logging` configurations.
* @return value or {@code null} for none
*/
public java.util.List<MonitoredResourceDescriptor> getMonitoredResources() {
Expand All @@ -634,7 +649,7 @@ public java.util.List<MonitoredResourceDescriptor> getMonitoredResources() {

/**
* Defines the monitored resources used by this service. This is required by the
* Service.monitoring and Service.logging configurations.
* `Service.monitoring` and `Service.logging` configurations.
* @param monitoredResources monitoredResources or {@code null} for none
*/
public Service setMonitoredResources(java.util.List<MonitoredResourceDescriptor> monitoredResources) {
Expand Down
Loading
Loading