Skip to content

Commit 40eeecc

Browse files
committed
Generate current sources
1 parent db42ac2 commit 40eeecc

File tree

168 files changed

+37037
-1606
lines changed

Some content is hidden

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

168 files changed

+37037
-1606
lines changed

GoogleAPIClientForREST.podspec

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -199,6 +199,11 @@ Pod::Spec.new do |s|
199199
sp.source_files = 'Sources/GeneratedServices/ApigeeRegistry/**/*.{h,m}'
200200
sp.public_header_files = 'Sources/GeneratedServices/ApigeeRegistry/Public/GoogleAPIClientForREST/*.h'
201201
end
202+
s.subspec 'APIhub' do |sp|
203+
sp.dependency 'GoogleAPIClientForREST/Core'
204+
sp.source_files = 'Sources/GeneratedServices/APIhub/**/*.{h,m}'
205+
sp.public_header_files = 'Sources/GeneratedServices/APIhub/Public/GoogleAPIClientForREST/*.h'
206+
end
202207
s.subspec 'ApiKeysService' do |sp|
203208
sp.dependency 'GoogleAPIClientForREST/Core'
204209
sp.source_files = 'Sources/GeneratedServices/ApiKeysService/**/*.{h,m}'
@@ -824,6 +829,11 @@ Pod::Spec.new do |s|
824829
sp.source_files = 'Sources/GeneratedServices/FirebaseAppDistribution/**/*.{h,m}'
825830
sp.public_header_files = 'Sources/GeneratedServices/FirebaseAppDistribution/Public/GoogleAPIClientForREST/*.h'
826831
end
832+
s.subspec 'FirebaseAppHosting' do |sp|
833+
sp.dependency 'GoogleAPIClientForREST/Core'
834+
sp.source_files = 'Sources/GeneratedServices/FirebaseAppHosting/**/*.{h,m}'
835+
sp.public_header_files = 'Sources/GeneratedServices/FirebaseAppHosting/Public/GoogleAPIClientForREST/*.h'
836+
end
827837
s.subspec 'FirebaseCloudMessaging' do |sp|
828838
sp.dependency 'GoogleAPIClientForREST/Core'
829839
sp.source_files = 'Sources/GeneratedServices/FirebaseCloudMessaging/**/*.{h,m}'

Package.swift

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,10 @@ let package = Package(
129129
name: "GoogleAPIClientForREST_ApigeeRegistry",
130130
targets: ["GoogleAPIClientForREST_ApigeeRegistry"]
131131
),
132+
.library(
133+
name: "GoogleAPIClientForREST_APIhub",
134+
targets: ["GoogleAPIClientForREST_APIhub"]
135+
),
132136
.library(
133137
name: "GoogleAPIClientForREST_ApiKeysService",
134138
targets: ["GoogleAPIClientForREST_ApiKeysService"]
@@ -629,6 +633,10 @@ let package = Package(
629633
name: "GoogleAPIClientForREST_FirebaseAppDistribution",
630634
targets: ["GoogleAPIClientForREST_FirebaseAppDistribution"]
631635
),
636+
.library(
637+
name: "GoogleAPIClientForREST_FirebaseAppHosting",
638+
targets: ["GoogleAPIClientForREST_FirebaseAppHosting"]
639+
),
632640
.library(
633641
name: "GoogleAPIClientForREST_FirebaseCloudMessaging",
634642
targets: ["GoogleAPIClientForREST_FirebaseCloudMessaging"]
@@ -1407,6 +1415,12 @@ let package = Package(
14071415
path: "Sources/GeneratedServices/ApigeeRegistry",
14081416
publicHeadersPath: "Public"
14091417
),
1418+
.target(
1419+
name: "GoogleAPIClientForREST_APIhub",
1420+
dependencies: ["GoogleAPIClientForRESTCore"],
1421+
path: "Sources/GeneratedServices/APIhub",
1422+
publicHeadersPath: "Public"
1423+
),
14101424
.target(
14111425
name: "GoogleAPIClientForREST_ApiKeysService",
14121426
dependencies: ["GoogleAPIClientForRESTCore"],
@@ -2157,6 +2171,12 @@ let package = Package(
21572171
path: "Sources/GeneratedServices/FirebaseAppDistribution",
21582172
publicHeadersPath: "Public"
21592173
),
2174+
.target(
2175+
name: "GoogleAPIClientForREST_FirebaseAppHosting",
2176+
dependencies: ["GoogleAPIClientForRESTCore"],
2177+
path: "Sources/GeneratedServices/FirebaseAppHosting",
2178+
publicHeadersPath: "Public"
2179+
),
21602180
.target(
21612181
name: "GoogleAPIClientForREST_FirebaseCloudMessaging",
21622182
dependencies: ["GoogleAPIClientForRESTCore"],

Sources/GeneratedServices/AIPlatformNotebooks/GTLRAIPlatformNotebooksObjects.m

Lines changed: 31 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,6 @@
4343
// GTLRAIPlatformNotebooks_ConfidentialInstanceConfig.confidentialInstanceType
4444
NSString * const kGTLRAIPlatformNotebooks_ConfidentialInstanceConfig_ConfidentialInstanceType_ConfidentialInstanceTypeUnspecified = @"CONFIDENTIAL_INSTANCE_TYPE_UNSPECIFIED";
4545
NSString * const kGTLRAIPlatformNotebooks_ConfidentialInstanceConfig_ConfidentialInstanceType_Sev = @"SEV";
46-
NSString * const kGTLRAIPlatformNotebooks_ConfidentialInstanceConfig_ConfidentialInstanceType_SevSnp = @"SEV_SNP";
47-
NSString * const kGTLRAIPlatformNotebooks_ConfidentialInstanceConfig_ConfidentialInstanceType_Tdx = @"TDX";
4846

4947
// GTLRAIPlatformNotebooks_DataDisk.diskEncryption
5048
NSString * const kGTLRAIPlatformNotebooks_DataDisk_DiskEncryption_Cmek = @"CMEK";
@@ -91,6 +89,12 @@
9189
NSString * const kGTLRAIPlatformNotebooks_NetworkInterface_NicType_NicTypeUnspecified = @"NIC_TYPE_UNSPECIFIED";
9290
NSString * const kGTLRAIPlatformNotebooks_NetworkInterface_NicType_VirtioNet = @"VIRTIO_NET";
9391

92+
// GTLRAIPlatformNotebooks_ReservationAffinity.consumeReservationType
93+
NSString * const kGTLRAIPlatformNotebooks_ReservationAffinity_ConsumeReservationType_ReservationAny = @"RESERVATION_ANY";
94+
NSString * const kGTLRAIPlatformNotebooks_ReservationAffinity_ConsumeReservationType_ReservationNone = @"RESERVATION_NONE";
95+
NSString * const kGTLRAIPlatformNotebooks_ReservationAffinity_ConsumeReservationType_ReservationSpecific = @"RESERVATION_SPECIFIC";
96+
NSString * const kGTLRAIPlatformNotebooks_ReservationAffinity_ConsumeReservationType_ReservationUnspecified = @"RESERVATION_UNSPECIFIED";
97+
9498
// GTLRAIPlatformNotebooks_UpgradeHistoryEntry.action
9599
NSString * const kGTLRAIPlatformNotebooks_UpgradeHistoryEntry_Action_ActionUnspecified = @"ACTION_UNSPECIFIED";
96100
NSString * const kGTLRAIPlatformNotebooks_UpgradeHistoryEntry_Action_Rollback = @"ROLLBACK";
@@ -175,7 +179,7 @@ @implementation GTLRAIPlatformNotebooks_CheckInstanceUpgradabilityResponse
175179
//
176180

177181
@implementation GTLRAIPlatformNotebooks_ConfidentialInstanceConfig
178-
@dynamic confidentialInstanceType, enableConfidentialCompute;
182+
@dynamic confidentialInstanceType;
179183
@end
180184

181185

@@ -306,8 +310,8 @@ @implementation GTLRAIPlatformNotebooks_GceSetup
306310
@dynamic acceleratorConfigs, bootDisk, confidentialInstanceConfig,
307311
containerImage, dataDisks, disablePublicIp, enableIpForwarding,
308312
gpuDriverConfig, machineType, metadata, minCpuPlatform,
309-
networkInterfaces, serviceAccounts, shieldedInstanceConfig, tags,
310-
vmImage;
313+
networkInterfaces, reservationAffinity, serviceAccounts,
314+
shieldedInstanceConfig, tags, vmImage;
311315

312316
+ (NSDictionary *)arrayPropertyToClassMap {
313317
NSDictionary<NSString *, Class> *map = @{
@@ -363,10 +367,10 @@ @implementation GTLRAIPlatformNotebooks_ImageRelease
363367
//
364368

365369
@implementation GTLRAIPlatformNotebooks_Instance
366-
@dynamic createTime, creator, disableProxyAccess, enableThirdPartyIdentity,
367-
gceSetup, healthInfo, healthState, identifier, instanceOwners, labels,
368-
name, proxyUri, satisfiesPzi, satisfiesPzs, state, thirdPartyProxyUrl,
369-
updateTime, upgradeHistory;
370+
@dynamic createTime, creator, disableProxyAccess, enableDeletionProtection,
371+
enableThirdPartyIdentity, gceSetup, healthInfo, healthState,
372+
identifier, instanceOwners, labels, name, proxyUri, satisfiesPzi,
373+
satisfiesPzs, state, thirdPartyProxyUrl, updateTime, upgradeHistory;
370374

371375
+ (NSDictionary *)propertyToJSONKeyMap {
372376
return @{ @"identifier" : @"id" };
@@ -615,6 +619,24 @@ @implementation GTLRAIPlatformNotebooks_ReportInstanceInfoSystemRequest
615619
@end
616620

617621

622+
// ----------------------------------------------------------------------------
623+
//
624+
// GTLRAIPlatformNotebooks_ReservationAffinity
625+
//
626+
627+
@implementation GTLRAIPlatformNotebooks_ReservationAffinity
628+
@dynamic consumeReservationType, key, values;
629+
630+
+ (NSDictionary *)arrayPropertyToClassMap {
631+
NSDictionary<NSString *, Class> *map = @{
632+
@"values" : [NSString class]
633+
};
634+
return map;
635+
}
636+
637+
@end
638+
639+
618640
// ----------------------------------------------------------------------------
619641
//
620642
// GTLRAIPlatformNotebooks_ResetInstanceRequest

Sources/GeneratedServices/AIPlatformNotebooks/GTLRAIPlatformNotebooksQuery.m

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -533,7 +533,14 @@ + (instancetype)queryWithObject:(GTLRAIPlatformNotebooks_UpgradeInstanceSystemRe
533533

534534
@implementation GTLRAIPlatformNotebooksQuery_ProjectsLocationsList
535535

536-
@dynamic filter, name, pageSize, pageToken;
536+
@dynamic extraLocationTypes, filter, name, pageSize, pageToken;
537+
538+
+ (NSDictionary *)arrayPropertyToClassMap {
539+
NSDictionary<NSString *, Class> *map = @{
540+
@"extraLocationTypes" : [NSString class]
541+
};
542+
return map;
543+
}
537544

538545
+ (instancetype)queryWithName:(NSString *)name {
539546
NSArray *pathParams = @[ @"name" ];

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

Lines changed: 90 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@
4141
@class GTLRAIPlatformNotebooks_Operation_Metadata;
4242
@class GTLRAIPlatformNotebooks_Operation_Response;
4343
@class GTLRAIPlatformNotebooks_Policy;
44+
@class GTLRAIPlatformNotebooks_ReservationAffinity;
4445
@class GTLRAIPlatformNotebooks_ServiceAccount;
4546
@class GTLRAIPlatformNotebooks_ShieldedInstanceConfig;
4647
@class GTLRAIPlatformNotebooks_Snapshot;
@@ -213,18 +214,6 @@ FOUNDATION_EXTERN NSString * const kGTLRAIPlatformNotebooks_ConfidentialInstance
213214
* Value: "SEV"
214215
*/
215216
FOUNDATION_EXTERN NSString * const kGTLRAIPlatformNotebooks_ConfidentialInstanceConfig_ConfidentialInstanceType_Sev;
216-
/**
217-
* AMD Secure Encrypted Virtualization - Secure Nested Paging.
218-
*
219-
* Value: "SEV_SNP"
220-
*/
221-
FOUNDATION_EXTERN NSString * const kGTLRAIPlatformNotebooks_ConfidentialInstanceConfig_ConfidentialInstanceType_SevSnp;
222-
/**
223-
* Intel Trust Domain eXtension.
224-
*
225-
* Value: "TDX"
226-
*/
227-
FOUNDATION_EXTERN NSString * const kGTLRAIPlatformNotebooks_ConfidentialInstanceConfig_ConfidentialInstanceType_Tdx;
228217

229218
// ----------------------------------------------------------------------------
230219
// GTLRAIPlatformNotebooks_DataDisk.diskEncryption
@@ -458,6 +447,35 @@ FOUNDATION_EXTERN NSString * const kGTLRAIPlatformNotebooks_NetworkInterface_Nic
458447
*/
459448
FOUNDATION_EXTERN NSString * const kGTLRAIPlatformNotebooks_NetworkInterface_NicType_VirtioNet;
460449

450+
// ----------------------------------------------------------------------------
451+
// GTLRAIPlatformNotebooks_ReservationAffinity.consumeReservationType
452+
453+
/**
454+
* Consume any reservation available.
455+
*
456+
* Value: "RESERVATION_ANY"
457+
*/
458+
FOUNDATION_EXTERN NSString * const kGTLRAIPlatformNotebooks_ReservationAffinity_ConsumeReservationType_ReservationAny;
459+
/**
460+
* Do not consume from any allocated capacity.
461+
*
462+
* Value: "RESERVATION_NONE"
463+
*/
464+
FOUNDATION_EXTERN NSString * const kGTLRAIPlatformNotebooks_ReservationAffinity_ConsumeReservationType_ReservationNone;
465+
/**
466+
* Must consume from a specific reservation. Must specify key value fields for
467+
* specifying the reservations.
468+
*
469+
* Value: "RESERVATION_SPECIFIC"
470+
*/
471+
FOUNDATION_EXTERN NSString * const kGTLRAIPlatformNotebooks_ReservationAffinity_ConsumeReservationType_ReservationSpecific;
472+
/**
473+
* Default type.
474+
*
475+
* Value: "RESERVATION_UNSPECIFIED"
476+
*/
477+
FOUNDATION_EXTERN NSString * const kGTLRAIPlatformNotebooks_ReservationAffinity_ConsumeReservationType_ReservationUnspecified;
478+
461479
// ----------------------------------------------------------------------------
462480
// GTLRAIPlatformNotebooks_UpgradeHistoryEntry.action
463481

@@ -780,22 +798,9 @@ FOUNDATION_EXTERN NSString * const kGTLRAIPlatformNotebooks_UpgradeHistoryEntry_
780798
* "CONFIDENTIAL_INSTANCE_TYPE_UNSPECIFIED")
781799
* @arg @c kGTLRAIPlatformNotebooks_ConfidentialInstanceConfig_ConfidentialInstanceType_Sev
782800
* AMD Secure Encrypted Virtualization. (Value: "SEV")
783-
* @arg @c kGTLRAIPlatformNotebooks_ConfidentialInstanceConfig_ConfidentialInstanceType_SevSnp
784-
* AMD Secure Encrypted Virtualization - Secure Nested Paging. (Value:
785-
* "SEV_SNP")
786-
* @arg @c kGTLRAIPlatformNotebooks_ConfidentialInstanceConfig_ConfidentialInstanceType_Tdx
787-
* Intel Trust Domain eXtension. (Value: "TDX")
788801
*/
789802
@property(nonatomic, copy, nullable) NSString *confidentialInstanceType;
790803

791-
/**
792-
* Optional. Defines whether the instance should have confidential compute
793-
* enabled.
794-
*
795-
* Uses NSNumber of boolValue.
796-
*/
797-
@property(nonatomic, strong, nullable) NSNumber *enableConfidentialCompute;
798-
799804
@end
800805

801806

@@ -1161,6 +1166,11 @@ FOUNDATION_EXTERN NSString * const kGTLRAIPlatformNotebooks_UpgradeHistoryEntry_
11611166
*/
11621167
@property(nonatomic, strong, nullable) NSArray *networkInterfaces;
11631168

1169+
/**
1170+
* Optional. Specifies the reservations that this instance can consume from.
1171+
*/
1172+
@property(nonatomic, strong, nullable) GTLRAIPlatformNotebooks_ReservationAffinity *reservationAffinity;
1173+
11641174
/**
11651175
* Optional. The service account that serves as an identity for the VM
11661176
* instance. Currently supports only one service account.
@@ -1259,6 +1269,15 @@ FOUNDATION_EXTERN NSString * const kGTLRAIPlatformNotebooks_UpgradeHistoryEntry_
12591269
*/
12601270
@property(nonatomic, strong, nullable) NSNumber *disableProxyAccess;
12611271

1272+
/**
1273+
* Optional. If true, deletion protection will be enabled for this Workbench
1274+
* Instance. If false, deletion protection will be disabled for this Workbench
1275+
* Instance.
1276+
*
1277+
* Uses NSNumber of boolValue.
1278+
*/
1279+
@property(nonatomic, strong, nullable) NSNumber *enableDeletionProtection;
1280+
12621281
/**
12631282
* Optional. Flag that specifies that a notebook can be accessed with third
12641283
* party identity provider.
@@ -1310,7 +1329,7 @@ FOUNDATION_EXTERN NSString * const kGTLRAIPlatformNotebooks_UpgradeHistoryEntry_
13101329
@property(nonatomic, copy, nullable) NSString *identifier;
13111330

13121331
/**
1313-
* Optional. Input only. The owner of this instance after creation. Format:
1332+
* Optional. The owner of this instance after creation. Format:
13141333
* `alias\@example.com` Currently supports one owner only. If not specified,
13151334
* all of the service account users of your VM instance's service account can
13161335
* use the instance.
@@ -1830,6 +1849,49 @@ FOUNDATION_EXTERN NSString * const kGTLRAIPlatformNotebooks_UpgradeHistoryEntry_
18301849
@end
18311850

18321851

1852+
/**
1853+
* A reservation that an instance can consume from.
1854+
*/
1855+
@interface GTLRAIPlatformNotebooks_ReservationAffinity : GTLRObject
1856+
1857+
/**
1858+
* Required. Specifies the type of reservation from which this instance can
1859+
* consume resources: RESERVATION_ANY (default), RESERVATION_SPECIFIC, or
1860+
* RESERVATION_NONE. See Consuming reserved instances for examples.
1861+
*
1862+
* Likely values:
1863+
* @arg @c kGTLRAIPlatformNotebooks_ReservationAffinity_ConsumeReservationType_ReservationAny
1864+
* Consume any reservation available. (Value: "RESERVATION_ANY")
1865+
* @arg @c kGTLRAIPlatformNotebooks_ReservationAffinity_ConsumeReservationType_ReservationNone
1866+
* Do not consume from any allocated capacity. (Value:
1867+
* "RESERVATION_NONE")
1868+
* @arg @c kGTLRAIPlatformNotebooks_ReservationAffinity_ConsumeReservationType_ReservationSpecific
1869+
* Must consume from a specific reservation. Must specify key value
1870+
* fields for specifying the reservations. (Value:
1871+
* "RESERVATION_SPECIFIC")
1872+
* @arg @c kGTLRAIPlatformNotebooks_ReservationAffinity_ConsumeReservationType_ReservationUnspecified
1873+
* Default type. (Value: "RESERVATION_UNSPECIFIED")
1874+
*/
1875+
@property(nonatomic, copy, nullable) NSString *consumeReservationType;
1876+
1877+
/**
1878+
* Optional. Corresponds to the label key of a reservation resource. To target
1879+
* a RESERVATION_SPECIFIC by name, use compute.googleapis.com/reservation-name
1880+
* as the key and specify the name of your reservation as its value.
1881+
*/
1882+
@property(nonatomic, copy, nullable) NSString *key;
1883+
1884+
/**
1885+
* Optional. Corresponds to the label values of a reservation resource. This
1886+
* can be either a name to a reservation in the same project or
1887+
* "projects/different-project/reservations/some-reservation-name" to target a
1888+
* shared reservation in the same zone but in a different project.
1889+
*/
1890+
@property(nonatomic, strong, nullable) NSArray *values;
1891+
1892+
@end
1893+
1894+
18331895
/**
18341896
* Request for resetting a notebook instance
18351897
*/
@@ -1923,7 +1985,7 @@ FOUNDATION_EXTERN NSString * const kGTLRAIPlatformNotebooks_UpgradeHistoryEntry_
19231985
* Enables monitoring and attestation of the boot integrity of the VM instance.
19241986
* The attestation is performed against the integrity policy baseline. This
19251987
* baseline is initially derived from the implicitly trusted boot image when
1926-
* the VM instance is created. Enabled by default.
1988+
* the VM instance is created.
19271989
*
19281990
* Uses NSNumber of boolValue.
19291991
*/
@@ -1940,8 +2002,7 @@ FOUNDATION_EXTERN NSString * const kGTLRAIPlatformNotebooks_UpgradeHistoryEntry_
19402002
@property(nonatomic, strong, nullable) NSNumber *enableSecureBoot;
19412003

19422004
/**
1943-
* Optional. Defines whether the VM instance has the vTPM enabled. Enabled by
1944-
* default.
2005+
* Optional. Defines whether the VM instance has the vTPM enabled.
19452006
*
19462007
* Uses NSNumber of boolValue.
19472008
*/

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -791,6 +791,12 @@ NS_ASSUME_NONNULL_BEGIN
791791
*/
792792
@interface GTLRAIPlatformNotebooksQuery_ProjectsLocationsList : GTLRAIPlatformNotebooksQuery
793793

794+
/**
795+
* Optional. A list of extra location types that should be used as conditions
796+
* for controlling the visibility of the locations.
797+
*/
798+
@property(nonatomic, strong, nullable) NSArray *extraLocationTypes;
799+
794800
/**
795801
* A filter to narrow down results to a preferred subset. The filtering
796802
* language accepts strings like `"displayName=tokyo"`, and is documented in

0 commit comments

Comments
 (0)