Skip to content

Commit fad3ec7

Browse files
committed
Update services.
1 parent 3981bee commit fad3ec7

File tree

206 files changed

+27603
-2863
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

206 files changed

+27603
-2863
lines changed

GoogleAPIClientForREST.podspec

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1165,6 +1165,11 @@ Pod::Spec.new do |s|
11651165
sp.source_files = 'Sources/GeneratedServices/Parallelstore/**/*.{h,m}'
11661166
sp.public_header_files = 'Sources/GeneratedServices/Parallelstore/Public/GoogleAPIClientForREST/*.h'
11671167
end
1168+
s.subspec 'ParameterManager' do |sp|
1169+
sp.dependency 'GoogleAPIClientForREST/Core'
1170+
sp.source_files = 'Sources/GeneratedServices/ParameterManager/**/*.{h,m}'
1171+
sp.public_header_files = 'Sources/GeneratedServices/ParameterManager/Public/GoogleAPIClientForREST/*.h'
1172+
end
11681173
s.subspec 'PaymentsResellerSubscription' do |sp|
11691174
sp.dependency 'GoogleAPIClientForREST/Core'
11701175
sp.source_files = 'Sources/GeneratedServices/PaymentsResellerSubscription/**/*.{h,m}'

Package.swift

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -901,6 +901,10 @@ let package = Package(
901901
name: "GoogleAPIClientForREST_Parallelstore",
902902
targets: ["GoogleAPIClientForREST_Parallelstore"]
903903
),
904+
.library(
905+
name: "GoogleAPIClientForREST_ParameterManager",
906+
targets: ["GoogleAPIClientForREST_ParameterManager"]
907+
),
904908
.library(
905909
name: "GoogleAPIClientForREST_PaymentsResellerSubscription",
906910
targets: ["GoogleAPIClientForREST_PaymentsResellerSubscription"]
@@ -2581,6 +2585,12 @@ let package = Package(
25812585
path: "Sources/GeneratedServices/Parallelstore",
25822586
publicHeadersPath: "Public"
25832587
),
2588+
.target(
2589+
name: "GoogleAPIClientForREST_ParameterManager",
2590+
dependencies: ["GoogleAPIClientForRESTCore"],
2591+
path: "Sources/GeneratedServices/ParameterManager",
2592+
publicHeadersPath: "Public"
2593+
),
25842594
.target(
25852595
name: "GoogleAPIClientForREST_PaymentsResellerSubscription",
25862596
dependencies: ["GoogleAPIClientForRESTCore"],

Sources/GeneratedServices/AIPlatformNotebooks/GTLRAIPlatformNotebooksObjects.m

Lines changed: 73 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,45 @@ @implementation GTLRAIPlatformNotebooks_CancelOperationRequest
163163
@end
164164

165165

166+
// ----------------------------------------------------------------------------
167+
//
168+
// GTLRAIPlatformNotebooks_CheckAuthorizationRequest
169+
//
170+
171+
@implementation GTLRAIPlatformNotebooks_CheckAuthorizationRequest
172+
@dynamic authorizationDetails;
173+
@end
174+
175+
176+
// ----------------------------------------------------------------------------
177+
//
178+
// GTLRAIPlatformNotebooks_CheckAuthorizationRequest_AuthorizationDetails
179+
//
180+
181+
@implementation GTLRAIPlatformNotebooks_CheckAuthorizationRequest_AuthorizationDetails
182+
183+
+ (Class)classForAdditionalProperties {
184+
return [NSString class];
185+
}
186+
187+
@end
188+
189+
190+
// ----------------------------------------------------------------------------
191+
//
192+
// GTLRAIPlatformNotebooks_CheckAuthorizationResponse
193+
//
194+
195+
@implementation GTLRAIPlatformNotebooks_CheckAuthorizationResponse
196+
@dynamic createTime, oauthUri, success;
197+
198+
+ (NSDictionary<NSString *, NSString *> *)propertyToJSONKeyMap {
199+
return @{ @"oauthUri" : @"oauth_uri" };
200+
}
201+
202+
@end
203+
204+
166205
// ----------------------------------------------------------------------------
167206
//
168207
// GTLRAIPlatformNotebooks_CheckInstanceUpgradabilityResponse
@@ -341,6 +380,36 @@ + (Class)classForAdditionalProperties {
341380
@end
342381

343382

383+
// ----------------------------------------------------------------------------
384+
//
385+
// GTLRAIPlatformNotebooks_GenerateAccessTokenRequest
386+
//
387+
388+
@implementation GTLRAIPlatformNotebooks_GenerateAccessTokenRequest
389+
@dynamic vmToken;
390+
@end
391+
392+
393+
// ----------------------------------------------------------------------------
394+
//
395+
// GTLRAIPlatformNotebooks_GenerateAccessTokenResponse
396+
//
397+
398+
@implementation GTLRAIPlatformNotebooks_GenerateAccessTokenResponse
399+
@dynamic accessToken, expiresIn, scope, tokenType;
400+
401+
+ (NSDictionary<NSString *, NSString *> *)propertyToJSONKeyMap {
402+
NSDictionary<NSString *, NSString *> *map = @{
403+
@"accessToken" : @"access_token",
404+
@"expiresIn" : @"expires_in",
405+
@"tokenType" : @"token_type"
406+
};
407+
return map;
408+
}
409+
410+
@end
411+
412+
344413
// ----------------------------------------------------------------------------
345414
//
346415
// GTLRAIPlatformNotebooks_GPUDriverConfig
@@ -368,9 +437,10 @@ @implementation GTLRAIPlatformNotebooks_ImageRelease
368437

369438
@implementation GTLRAIPlatformNotebooks_Instance
370439
@dynamic createTime, creator, disableProxyAccess, enableDeletionProtection,
371-
enableThirdPartyIdentity, gceSetup, healthInfo, healthState,
372-
identifier, instanceOwners, labels, name, proxyUri, satisfiesPzi,
373-
satisfiesPzs, state, thirdPartyProxyUrl, updateTime, upgradeHistory;
440+
enableManagedEuc, enableThirdPartyIdentity, gceSetup, healthInfo,
441+
healthState, identifier, instanceOwners, labels, name, proxyUri,
442+
satisfiesPzi, satisfiesPzs, state, thirdPartyProxyUrl, updateTime,
443+
upgradeHistory;
374444

375445
+ (NSDictionary<NSString *, NSString *> *)propertyToJSONKeyMap {
376446
return @{ @"identifier" : @"id" };

Sources/GeneratedServices/AIPlatformNotebooks/GTLRAIPlatformNotebooksQuery.m

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,33 @@ + (instancetype)queryWithName:(NSString *)name {
3535

3636
@end
3737

38+
@implementation GTLRAIPlatformNotebooksQuery_ProjectsLocationsInstancesCheckAuthorization
39+
40+
@dynamic name;
41+
42+
+ (instancetype)queryWithObject:(GTLRAIPlatformNotebooks_CheckAuthorizationRequest *)object
43+
name:(NSString *)name {
44+
if (object == nil) {
45+
#if defined(DEBUG) && DEBUG
46+
NSAssert(object != nil, @"Got a nil object");
47+
#endif
48+
return nil;
49+
}
50+
NSArray *pathParams = @[ @"name" ];
51+
NSString *pathURITemplate = @"v2/{+name}:checkAuthorization";
52+
GTLRAIPlatformNotebooksQuery_ProjectsLocationsInstancesCheckAuthorization *query =
53+
[[self alloc] initWithPathURITemplate:pathURITemplate
54+
HTTPMethod:@"POST"
55+
pathParameterNames:pathParams];
56+
query.bodyObject = object;
57+
query.name = name;
58+
query.expectedObjectClass = [GTLRAIPlatformNotebooks_CheckAuthorizationResponse class];
59+
query.loggingName = @"notebooks.projects.locations.instances.checkAuthorization";
60+
return query;
61+
}
62+
63+
@end
64+
3865
@implementation GTLRAIPlatformNotebooksQuery_ProjectsLocationsInstancesCheckUpgradability
3966

4067
@dynamic notebookInstance;
@@ -127,6 +154,33 @@ + (instancetype)queryWithObject:(GTLRAIPlatformNotebooks_DiagnoseInstanceRequest
127154

128155
@end
129156

157+
@implementation GTLRAIPlatformNotebooksQuery_ProjectsLocationsInstancesGenerateAccessToken
158+
159+
@dynamic name;
160+
161+
+ (instancetype)queryWithObject:(GTLRAIPlatformNotebooks_GenerateAccessTokenRequest *)object
162+
name:(NSString *)name {
163+
if (object == nil) {
164+
#if defined(DEBUG) && DEBUG
165+
NSAssert(object != nil, @"Got a nil object");
166+
#endif
167+
return nil;
168+
}
169+
NSArray *pathParams = @[ @"name" ];
170+
NSString *pathURITemplate = @"v2/{+name}:generateAccessToken";
171+
GTLRAIPlatformNotebooksQuery_ProjectsLocationsInstancesGenerateAccessToken *query =
172+
[[self alloc] initWithPathURITemplate:pathURITemplate
173+
HTTPMethod:@"POST"
174+
pathParameterNames:pathParams];
175+
query.bodyObject = object;
176+
query.name = name;
177+
query.expectedObjectClass = [GTLRAIPlatformNotebooks_GenerateAccessTokenResponse class];
178+
query.loggingName = @"notebooks.projects.locations.instances.generateAccessToken";
179+
return query;
180+
}
181+
182+
@end
183+
130184
@implementation GTLRAIPlatformNotebooksQuery_ProjectsLocationsInstancesGet
131185

132186
@dynamic name;

Sources/GeneratedServices/AIPlatformNotebooks/Public/GoogleAPIClientForREST/GTLRAIPlatformNotebooksObjects.h

Lines changed: 107 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
@class GTLRAIPlatformNotebooks_AccessConfig;
1919
@class GTLRAIPlatformNotebooks_Binding;
2020
@class GTLRAIPlatformNotebooks_BootDisk;
21+
@class GTLRAIPlatformNotebooks_CheckAuthorizationRequest_AuthorizationDetails;
2122
@class GTLRAIPlatformNotebooks_ConfidentialInstanceConfig;
2223
@class GTLRAIPlatformNotebooks_ContainerImage;
2324
@class GTLRAIPlatformNotebooks_DataDisk;
@@ -753,6 +754,58 @@ FOUNDATION_EXTERN NSString * const kGTLRAIPlatformNotebooks_UpgradeHistoryEntry_
753754
@end
754755

755756

757+
/**
758+
* Request message for checking authorization for the instance owner.
759+
*/
760+
@interface GTLRAIPlatformNotebooks_CheckAuthorizationRequest : GTLRObject
761+
762+
/**
763+
* Optional. The details of the OAuth authorization response. This may include
764+
* additional params such as dry_run, version_info, origin, propagate, etc.
765+
*/
766+
@property(nonatomic, strong, nullable) GTLRAIPlatformNotebooks_CheckAuthorizationRequest_AuthorizationDetails *authorizationDetails;
767+
768+
@end
769+
770+
771+
/**
772+
* Optional. The details of the OAuth authorization response. This may include
773+
* additional params such as dry_run, version_info, origin, propagate, etc.
774+
*
775+
* @note This class is documented as having more properties of NSString. Use @c
776+
* -additionalJSONKeys and @c -additionalPropertyForName: to get the list
777+
* of properties and then fetch them; or @c -additionalProperties to
778+
* fetch them all at once.
779+
*/
780+
@interface GTLRAIPlatformNotebooks_CheckAuthorizationRequest_AuthorizationDetails : GTLRObject
781+
@end
782+
783+
784+
/**
785+
* Response message for checking authorization for the instance owner.
786+
*/
787+
@interface GTLRAIPlatformNotebooks_CheckAuthorizationResponse : GTLRObject
788+
789+
/** Output only. Timestamp when this Authorization request was created. */
790+
@property(nonatomic, strong, nullable) GTLRDateTime *createTime;
791+
792+
/**
793+
* If the user has not completed OAuth consent, then the oauth_url is returned.
794+
* Otherwise, this field is not set.
795+
*/
796+
@property(nonatomic, copy, nullable) NSString *oauthUri;
797+
798+
/**
799+
* Success indicates that the user completed OAuth consent and access tokens
800+
* can be generated.
801+
*
802+
* Uses NSNumber of boolValue.
803+
*/
804+
@property(nonatomic, strong, nullable) NSNumber *success;
805+
806+
@end
807+
808+
756809
/**
757810
* Response for checking if a notebook instance is upgradeable.
758811
*/
@@ -1207,6 +1260,53 @@ FOUNDATION_EXTERN NSString * const kGTLRAIPlatformNotebooks_UpgradeHistoryEntry_
12071260
@end
12081261

12091262

1263+
/**
1264+
* Request message for generating an EUC for the instance owner.
1265+
*/
1266+
@interface GTLRAIPlatformNotebooks_GenerateAccessTokenRequest : GTLRObject
1267+
1268+
/**
1269+
* Required. The VM identity token (a JWT) for authenticating the VM.
1270+
* https://cloud.google.com/compute/docs/instances/verifying-instance-identity
1271+
*/
1272+
@property(nonatomic, copy, nullable) NSString *vmToken;
1273+
1274+
@end
1275+
1276+
1277+
/**
1278+
* Response message for generating an EUC for the instance owner.
1279+
*/
1280+
@interface GTLRAIPlatformNotebooks_GenerateAccessTokenResponse : GTLRObject
1281+
1282+
/**
1283+
* Short-lived access token string which may be used to access Google APIs.
1284+
*/
1285+
@property(nonatomic, copy, nullable) NSString *accessToken;
1286+
1287+
/**
1288+
* The time in seconds when the access token expires. Typically that's 3600.
1289+
*
1290+
* Uses NSNumber of intValue.
1291+
*/
1292+
@property(nonatomic, strong, nullable) NSNumber *expiresIn;
1293+
1294+
/**
1295+
* Space-separated list of scopes contained in the returned token.
1296+
* https://cloud.google.com/docs/authentication/token-types#access-contents
1297+
*/
1298+
@property(nonatomic, copy, nullable) NSString *scope;
1299+
1300+
/**
1301+
* Type of the returned access token (e.g. "Bearer"). It specifies how the
1302+
* token must be used. Bearer tokens may be used by any entity without proof of
1303+
* identity.
1304+
*/
1305+
@property(nonatomic, copy, nullable) NSString *tokenType;
1306+
1307+
@end
1308+
1309+
12101310
/**
12111311
* A GPU driver configuration
12121312
*/
@@ -1278,6 +1378,13 @@ FOUNDATION_EXTERN NSString * const kGTLRAIPlatformNotebooks_UpgradeHistoryEntry_
12781378
*/
12791379
@property(nonatomic, strong, nullable) NSNumber *enableDeletionProtection;
12801380

1381+
/**
1382+
* Optional. Flag to enable managed end user credentials for the instance.
1383+
*
1384+
* Uses NSNumber of boolValue.
1385+
*/
1386+
@property(nonatomic, strong, nullable) NSNumber *enableManagedEuc;
1387+
12811388
/**
12821389
* Optional. Flag that specifies that a notebook can be accessed with third
12831390
* party identity provider.

0 commit comments

Comments
 (0)