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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,13 @@ public final class AuditLog extends com.google.api.client.json.GenericJson {
@com.google.api.client.util.Key
private java.util.List<AuthorizationInfo> authorizationInfo;

/**
* Information set when the caller is an agent.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private CallerAgent callerAgent;

/**
* Other service-specific data about the request, response, and other information associated with
* the current audited event.
Expand Down Expand Up @@ -221,6 +228,23 @@ public AuditLog setAuthorizationInfo(java.util.List<AuthorizationInfo> authoriza
return this;
}

/**
* Information set when the caller is an agent.
* @return value or {@code null} for none
*/
public CallerAgent getCallerAgent() {
return callerAgent;
}

/**
* Information set when the caller is an agent.
* @param callerAgent callerAgent or {@code null} for none
*/
public AuditLog setCallerAgent(CallerAgent callerAgent) {
this.callerAgent = callerAgent;
return this;
}

/**
* Other service-specific data about the request, response, and other information associated with
* the current audited event.
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
/*
* 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.servicecontrol.v1.model;

/**
* Information set when the caller is an agent.
*
* <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 Control 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 CallerAgent extends com.google.api.client.json.GenericJson {

/**
* The type of authority for the caller agent.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String authority;

/**
* The type of authority for the caller agent.
* @return value or {@code null} for none
*/
public java.lang.String getAuthority() {
return authority;
}

/**
* The type of authority for the caller agent.
* @param authority authority or {@code null} for none
*/
public CallerAgent setAuthority(java.lang.String authority) {
this.authority = authority;
return this;
}

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

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

}
4 changes: 2 additions & 2 deletions clients/google-api-services-servicecontrol/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-servicecontrol</artifactId>
<version>v1-rev20260914-2.0.0</version>
<name>Service Control API v1-rev20260914-2.0.0</name>
<version>v1-rev20261002-2.0.0</version>
<name>Service Control API v1-rev20261002-2.0.0</name>
<packaging>jar</packaging>

<inceptionYear>2011</inceptionYear>
Expand Down
4 changes: 2 additions & 2 deletions clients/google-api-services-servicecontrol/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-servicecontrol</artifactId>
<version>v1-rev20260914-2.0.0</version>
<version>v1-rev20261002-2.0.0</version>
</dependency>
</dependencies>
</project>
Expand All @@ -35,7 +35,7 @@ repositories {
mavenCentral()
}
dependencies {
implementation 'com.google.apis:google-api-services-servicecontrol:v1-rev20260914-2.0.0'
implementation 'com.google.apis:google-api-services-servicecontrol:v1-rev20261002-2.0.0'
}
```

Expand Down
Loading