Skip to content

Commit 8ca092c

Browse files
1 parent 94e9903 commit 8ca092c

File tree

5 files changed

+133
-6
lines changed

5 files changed

+133
-6
lines changed

clients/google-api-services-storagetransfer/v1/2.0.0/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
2222
<dependency>
2323
<groupId>com.google.apis</groupId>
2424
<artifactId>google-api-services-storagetransfer</artifactId>
25-
<version>v1-rev20250503-2.0.0</version>
25+
<version>v1-rev20250510-2.0.0</version>
2626
</dependency>
2727
</dependencies>
2828
</project>
@@ -35,7 +35,7 @@ repositories {
3535
mavenCentral()
3636
}
3737
dependencies {
38-
implementation 'com.google.apis:google-api-services-storagetransfer:v1-rev20250503-2.0.0'
38+
implementation 'com.google.apis:google-api-services-storagetransfer:v1-rev20250510-2.0.0'
3939
}
4040
```
4141

clients/google-api-services-storagetransfer/v1/2.0.0/com/google/api/services/storagetransfer/v1/model/AzureBlobStorageData.java

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,15 @@ public final class AzureBlobStorageData extends com.google.api.client.json.Gener
6262
@com.google.api.client.util.Key
6363
private java.lang.String credentialsSecret;
6464

65+
/**
66+
* Optional. Federated identity config of a user registered Azure application. If
67+
* `federated_identity_config` is specified, do not specify azure_credentials or
68+
* credentials_secret.
69+
* The value may be {@code null}.
70+
*/
71+
@com.google.api.client.util.Key
72+
private FederatedIdentityConfig federatedIdentityConfig;
73+
6574
/**
6675
* Root path to transfer objects. Must be an empty string or full path name that ends with a '/'.
6776
* This field is treated as an object prefix. As such, it should generally not begin with a '/'.
@@ -142,6 +151,27 @@ public AzureBlobStorageData setCredentialsSecret(java.lang.String credentialsSec
142151
return this;
143152
}
144153

154+
/**
155+
* Optional. Federated identity config of a user registered Azure application. If
156+
* `federated_identity_config` is specified, do not specify azure_credentials or
157+
* credentials_secret.
158+
* @return value or {@code null} for none
159+
*/
160+
public FederatedIdentityConfig getFederatedIdentityConfig() {
161+
return federatedIdentityConfig;
162+
}
163+
164+
/**
165+
* Optional. Federated identity config of a user registered Azure application. If
166+
* `federated_identity_config` is specified, do not specify azure_credentials or
167+
* credentials_secret.
168+
* @param federatedIdentityConfig federatedIdentityConfig or {@code null} for none
169+
*/
170+
public AzureBlobStorageData setFederatedIdentityConfig(FederatedIdentityConfig federatedIdentityConfig) {
171+
this.federatedIdentityConfig = federatedIdentityConfig;
172+
return this;
173+
}
174+
145175
/**
146176
* Root path to transfer objects. Must be an empty string or full path name that ends with a '/'.
147177
* This field is treated as an object prefix. As such, it should generally not begin with a '/'.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,97 @@
1+
/*
2+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
3+
* in compliance with the License. You may obtain a copy of the License at
4+
*
5+
* http://www.apache.org/licenses/LICENSE-2.0
6+
*
7+
* Unless required by applicable law or agreed to in writing, software distributed under the License
8+
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
9+
* or implied. See the License for the specific language governing permissions and limitations under
10+
* the License.
11+
*/
12+
/*
13+
* This code was generated by https://github.com/googleapis/google-api-java-client-services/
14+
* Modify at your own risk.
15+
*/
16+
17+
package com.google.api.services.storagetransfer.v1.model;
18+
19+
/**
20+
* Identities of a user registered Azure application that enables identity federation to trust
21+
* tokens issued by the user's Google service account. For more information about Azure application
22+
* and identity federation, see [Register an application with the Microsoft identity platform]
23+
* (https://learn.microsoft.com/en-us/entra/identity-platform/quickstart-register-app) Azure RBAC
24+
* roles then need be assigned to the Azure application to authorize access to the user's Azure data
25+
* source. For more information about Azure RBAC roles for blobs, see [Manage Access Rights with
26+
* RBAC] (https://learn.microsoft.com/en-us/rest/api/storageservices/authorize-with-azure-active-
27+
* directory#manage-access-rights-with-rbac)
28+
*
29+
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
30+
* transmitted over HTTP when working with the Storage Transfer API. For a detailed explanation see:
31+
* <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>
32+
* </p>
33+
*
34+
* @author Google, Inc.
35+
*/
36+
@SuppressWarnings("javadoc")
37+
public final class FederatedIdentityConfig extends com.google.api.client.json.GenericJson {
38+
39+
/**
40+
* Required. Client (application) ID of the application with federated credentials.
41+
* The value may be {@code null}.
42+
*/
43+
@com.google.api.client.util.Key
44+
private java.lang.String clientId;
45+
46+
/**
47+
* Required. Tenant (directory) ID of the application with federated credentials.
48+
* The value may be {@code null}.
49+
*/
50+
@com.google.api.client.util.Key
51+
private java.lang.String tenantId;
52+
53+
/**
54+
* Required. Client (application) ID of the application with federated credentials.
55+
* @return value or {@code null} for none
56+
*/
57+
public java.lang.String getClientId() {
58+
return clientId;
59+
}
60+
61+
/**
62+
* Required. Client (application) ID of the application with federated credentials.
63+
* @param clientId clientId or {@code null} for none
64+
*/
65+
public FederatedIdentityConfig setClientId(java.lang.String clientId) {
66+
this.clientId = clientId;
67+
return this;
68+
}
69+
70+
/**
71+
* Required. Tenant (directory) ID of the application with federated credentials.
72+
* @return value or {@code null} for none
73+
*/
74+
public java.lang.String getTenantId() {
75+
return tenantId;
76+
}
77+
78+
/**
79+
* Required. Tenant (directory) ID of the application with federated credentials.
80+
* @param tenantId tenantId or {@code null} for none
81+
*/
82+
public FederatedIdentityConfig setTenantId(java.lang.String tenantId) {
83+
this.tenantId = tenantId;
84+
return this;
85+
}
86+
87+
@Override
88+
public FederatedIdentityConfig set(String fieldName, Object value) {
89+
return (FederatedIdentityConfig) super.set(fieldName, value);
90+
}
91+
92+
@Override
93+
public FederatedIdentityConfig clone() {
94+
return (FederatedIdentityConfig) super.clone();
95+
}
96+
97+
}

clients/google-api-services-storagetransfer/v1/2.0.0/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88

99
<groupId>com.google.apis</groupId>
1010
<artifactId>google-api-services-storagetransfer</artifactId>
11-
<version>v1-rev20250503-2.0.0</version>
12-
<name>Storage Transfer API v1-rev20250503-2.0.0</name>
11+
<version>v1-rev20250510-2.0.0</version>
12+
<name>Storage Transfer API v1-rev20250510-2.0.0</name>
1313
<packaging>jar</packaging>
1414

1515
<inceptionYear>2011</inceptionYear>

clients/google-api-services-storagetransfer/v1/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
2222
<dependency>
2323
<groupId>com.google.apis</groupId>
2424
<artifactId>google-api-services-storagetransfer</artifactId>
25-
<version>v1-rev20250503-2.0.0</version>
25+
<version>v1-rev20250510-2.0.0</version>
2626
</dependency>
2727
</dependencies>
2828
</project>
@@ -35,7 +35,7 @@ repositories {
3535
mavenCentral()
3636
}
3737
dependencies {
38-
implementation 'com.google.apis:google-api-services-storagetransfer:v1-rev20250503-2.0.0'
38+
implementation 'com.google.apis:google-api-services-storagetransfer:v1-rev20250510-2.0.0'
3939
}
4040
```
4141

0 commit comments

Comments
 (0)