Skip to content

Commit 35d61dd

Browse files
committed
Generate current service sources.
1 parent e41f525 commit 35d61dd

File tree

247 files changed

+43109
-6628
lines changed

Some content is hidden

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

247 files changed

+43109
-6628
lines changed

GoogleAPIClientForREST.podspec

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -239,6 +239,11 @@ Pod::Spec.new do |s|
239239
sp.source_files = 'Sources/GeneratedServices/BigQueryConnectionService/**/*.{h,m}'
240240
sp.public_header_files = 'Sources/GeneratedServices/BigQueryConnectionService/Public/GoogleAPIClientForREST/*.h'
241241
end
242+
s.subspec 'BigQueryDataPolicyService' do |sp|
243+
sp.dependency 'GoogleAPIClientForREST/Core'
244+
sp.source_files = 'Sources/GeneratedServices/BigQueryDataPolicyService/**/*.{h,m}'
245+
sp.public_header_files = 'Sources/GeneratedServices/BigQueryDataPolicyService/Public/GoogleAPIClientForREST/*.h'
246+
end
242247
s.subspec 'BigQueryDataTransfer' do |sp|
243248
sp.dependency 'GoogleAPIClientForREST/Core'
244249
sp.source_files = 'Sources/GeneratedServices/BigQueryDataTransfer/**/*.{h,m}'
@@ -924,6 +929,11 @@ Pod::Spec.new do |s|
924929
sp.source_files = 'Sources/GeneratedServices/Logging/**/*.{h,m}'
925930
sp.public_header_files = 'Sources/GeneratedServices/Logging/Public/GoogleAPIClientForREST/*.h'
926931
end
932+
s.subspec 'Looker' do |sp|
933+
sp.dependency 'GoogleAPIClientForREST/Core'
934+
sp.source_files = 'Sources/GeneratedServices/Looker/**/*.{h,m}'
935+
sp.public_header_files = 'Sources/GeneratedServices/Looker/Public/GoogleAPIClientForREST/*.h'
936+
end
927937
s.subspec 'ManagedServiceforMicrosoftActiveDirectoryConsumerAPI' do |sp|
928938
sp.dependency 'GoogleAPIClientForREST/Core'
929939
sp.source_files = 'Sources/GeneratedServices/ManagedServiceforMicrosoftActiveDirectoryConsumerAPI/**/*.{h,m}'

Package.swift

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,10 @@ let package = Package(
169169
name: "GoogleAPIClientForREST_BigQueryConnectionService",
170170
targets: ["GoogleAPIClientForREST_BigQueryConnectionService"]
171171
),
172+
.library(
173+
name: "GoogleAPIClientForREST_BigQueryDataPolicyService",
174+
targets: ["GoogleAPIClientForREST_BigQueryDataPolicyService"]
175+
),
172176
.library(
173177
name: "GoogleAPIClientForREST_BigQueryDataTransfer",
174178
targets: ["GoogleAPIClientForREST_BigQueryDataTransfer"]
@@ -717,6 +721,10 @@ let package = Package(
717721
name: "GoogleAPIClientForREST_Logging",
718722
targets: ["GoogleAPIClientForREST_Logging"]
719723
),
724+
.library(
725+
name: "GoogleAPIClientForREST_Looker",
726+
targets: ["GoogleAPIClientForREST_Looker"]
727+
),
720728
.library(
721729
name: "GoogleAPIClientForREST_ManagedServiceforMicrosoftActiveDirectoryConsumerAPI",
722730
targets: ["GoogleAPIClientForREST_ManagedServiceforMicrosoftActiveDirectoryConsumerAPI"]
@@ -1350,6 +1358,12 @@ let package = Package(
13501358
path: "Sources/GeneratedServices/BigQueryConnectionService",
13511359
publicHeadersPath: "Public"
13521360
),
1361+
.target(
1362+
name: "GoogleAPIClientForREST_BigQueryDataPolicyService",
1363+
dependencies: ["GoogleAPIClientForRESTCore"],
1364+
path: "Sources/GeneratedServices/BigQueryDataPolicyService",
1365+
publicHeadersPath: "Public"
1366+
),
13531367
.target(
13541368
name: "GoogleAPIClientForREST_BigQueryDataTransfer",
13551369
dependencies: ["GoogleAPIClientForRESTCore"],
@@ -2172,6 +2186,12 @@ let package = Package(
21722186
path: "Sources/GeneratedServices/Logging",
21732187
publicHeadersPath: "Public"
21742188
),
2189+
.target(
2190+
name: "GoogleAPIClientForREST_Looker",
2191+
dependencies: ["GoogleAPIClientForRESTCore"],
2192+
path: "Sources/GeneratedServices/Looker",
2193+
publicHeadersPath: "Public"
2194+
),
21752195
.target(
21762196
name: "GoogleAPIClientForREST_ManagedServiceforMicrosoftActiveDirectoryConsumerAPI",
21772197
dependencies: ["GoogleAPIClientForRESTCore"],

Sources/GeneratedServices/AIPlatformNotebooks/GTLRAIPlatformNotebooksObjects.m

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,24 @@ @implementation GTLRAIPlatformNotebooks_CheckInstanceUpgradabilityResponse
151151
@end
152152

153153

154+
// ----------------------------------------------------------------------------
155+
//
156+
// GTLRAIPlatformNotebooks_Config
157+
//
158+
159+
@implementation GTLRAIPlatformNotebooks_Config
160+
@dynamic availableImages, defaultValues, supportedValues;
161+
162+
+ (NSDictionary<NSString *, Class> *)arrayPropertyToClassMap {
163+
NSDictionary<NSString *, Class> *map = @{
164+
@"availableImages" : [GTLRAIPlatformNotebooks_ImageRelease class]
165+
};
166+
return map;
167+
}
168+
169+
@end
170+
171+
154172
// ----------------------------------------------------------------------------
155173
//
156174
// GTLRAIPlatformNotebooks_ContainerImage
@@ -171,6 +189,16 @@ @implementation GTLRAIPlatformNotebooks_DataDisk
171189
@end
172190

173191

192+
// ----------------------------------------------------------------------------
193+
//
194+
// GTLRAIPlatformNotebooks_DefaultValues
195+
//
196+
197+
@implementation GTLRAIPlatformNotebooks_DefaultValues
198+
@dynamic machineType;
199+
@end
200+
201+
174202
// ----------------------------------------------------------------------------
175203
//
176204
// GTLRAIPlatformNotebooks_DiagnoseInstanceRequest
@@ -289,6 +317,16 @@ @implementation GTLRAIPlatformNotebooks_GPUDriverConfig
289317
@end
290318

291319

320+
// ----------------------------------------------------------------------------
321+
//
322+
// GTLRAIPlatformNotebooks_ImageRelease
323+
//
324+
325+
@implementation GTLRAIPlatformNotebooks_ImageRelease
326+
@dynamic imageName, releaseName;
327+
@end
328+
329+
292330
// ----------------------------------------------------------------------------
293331
//
294332
// GTLRAIPlatformNotebooks_Instance
@@ -645,6 +683,25 @@ @implementation GTLRAIPlatformNotebooks_StopInstanceRequest
645683
@end
646684

647685

686+
// ----------------------------------------------------------------------------
687+
//
688+
// GTLRAIPlatformNotebooks_SupportedValues
689+
//
690+
691+
@implementation GTLRAIPlatformNotebooks_SupportedValues
692+
@dynamic acceleratorTypes, machineTypes;
693+
694+
+ (NSDictionary<NSString *, Class> *)arrayPropertyToClassMap {
695+
NSDictionary<NSString *, Class> *map = @{
696+
@"acceleratorTypes" : [NSString class],
697+
@"machineTypes" : [NSString class]
698+
};
699+
return map;
700+
}
701+
702+
@end
703+
704+
648705
// ----------------------------------------------------------------------------
649706
//
650707
// GTLRAIPlatformNotebooks_TestIamPermissionsRequest

Sources/GeneratedServices/AIPlatformNotebooks/GTLRAIPlatformNotebooksQuery.m

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,25 @@ + (instancetype)queryWithName:(NSString *)name {
146146

147147
@end
148148

149+
@implementation GTLRAIPlatformNotebooksQuery_ProjectsLocationsInstancesGetConfig
150+
151+
@dynamic name;
152+
153+
+ (instancetype)queryWithName:(NSString *)name {
154+
NSArray *pathParams = @[ @"name" ];
155+
NSString *pathURITemplate = @"v2/{+name}/instances:getConfig";
156+
GTLRAIPlatformNotebooksQuery_ProjectsLocationsInstancesGetConfig *query =
157+
[[self alloc] initWithPathURITemplate:pathURITemplate
158+
HTTPMethod:nil
159+
pathParameterNames:pathParams];
160+
query.name = name;
161+
query.expectedObjectClass = [GTLRAIPlatformNotebooks_Config class];
162+
query.loggingName = @"notebooks.projects.locations.instances.getConfig";
163+
return query;
164+
}
165+
166+
@end
167+
149168
@implementation GTLRAIPlatformNotebooksQuery_ProjectsLocationsInstancesGetIamPolicy
150169

151170
@dynamic optionsRequestedPolicyVersion, resource;

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

Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,15 @@
1919
@class GTLRAIPlatformNotebooks_BootDisk;
2020
@class GTLRAIPlatformNotebooks_ContainerImage;
2121
@class GTLRAIPlatformNotebooks_DataDisk;
22+
@class GTLRAIPlatformNotebooks_DefaultValues;
2223
@class GTLRAIPlatformNotebooks_DiagnosticConfig;
2324
@class GTLRAIPlatformNotebooks_Event;
2425
@class GTLRAIPlatformNotebooks_Event_Details;
2526
@class GTLRAIPlatformNotebooks_Expr;
2627
@class GTLRAIPlatformNotebooks_GceSetup;
2728
@class GTLRAIPlatformNotebooks_GceSetup_Metadata;
2829
@class GTLRAIPlatformNotebooks_GPUDriverConfig;
30+
@class GTLRAIPlatformNotebooks_ImageRelease;
2931
@class GTLRAIPlatformNotebooks_Instance;
3032
@class GTLRAIPlatformNotebooks_Instance_HealthInfo;
3133
@class GTLRAIPlatformNotebooks_Instance_Labels;
@@ -41,6 +43,7 @@
4143
@class GTLRAIPlatformNotebooks_ShieldedInstanceConfig;
4244
@class GTLRAIPlatformNotebooks_Status;
4345
@class GTLRAIPlatformNotebooks_Status_Details_Item;
46+
@class GTLRAIPlatformNotebooks_SupportedValues;
4447
@class GTLRAIPlatformNotebooks_UpgradeHistoryEntry;
4548
@class GTLRAIPlatformNotebooks_VmImage;
4649

@@ -674,6 +677,23 @@ FOUNDATION_EXTERN NSString * const kGTLRAIPlatformNotebooks_UpgradeHistoryEntry_
674677
@end
675678

676679

680+
/**
681+
* Response for getting WbI configurations in a location
682+
*/
683+
@interface GTLRAIPlatformNotebooks_Config : GTLRObject
684+
685+
/** Output only. The list of available images to create a WbI. */
686+
@property(nonatomic, strong, nullable) NSArray<GTLRAIPlatformNotebooks_ImageRelease *> *availableImages;
687+
688+
/** Output only. The default values for configuration. */
689+
@property(nonatomic, strong, nullable) GTLRAIPlatformNotebooks_DefaultValues *defaultValues;
690+
691+
/** Output only. The supported values for configuration. */
692+
@property(nonatomic, strong, nullable) GTLRAIPlatformNotebooks_SupportedValues *supportedValues;
693+
694+
@end
695+
696+
677697
/**
678698
* Definition of a container image for starting a notebook instance with the
679699
* environment installed in a container.
@@ -751,6 +771,20 @@ FOUNDATION_EXTERN NSString * const kGTLRAIPlatformNotebooks_UpgradeHistoryEntry_
751771
@end
752772

753773

774+
/**
775+
* DefaultValues represents the default configuration values.
776+
*/
777+
@interface GTLRAIPlatformNotebooks_DefaultValues : GTLRObject
778+
779+
/**
780+
* Output only. The default machine type used by the backend if not provided by
781+
* the user.
782+
*/
783+
@property(nonatomic, copy, nullable) NSString *machineType;
784+
785+
@end
786+
787+
754788
/**
755789
* Request for creating a notebook instance diagnostic file.
756790
*/
@@ -1047,6 +1081,23 @@ FOUNDATION_EXTERN NSString * const kGTLRAIPlatformNotebooks_UpgradeHistoryEntry_
10471081
@end
10481082

10491083

1084+
/**
1085+
* ConfigImage represents an image release available to create a WbI
1086+
*/
1087+
@interface GTLRAIPlatformNotebooks_ImageRelease : GTLRObject
1088+
1089+
/**
1090+
* Output only. The name of the image of the form
1091+
* workbench-instances-vYYYYmmdd--
1092+
*/
1093+
@property(nonatomic, copy, nullable) NSString *imageName;
1094+
1095+
/** Output only. The release of the image of the form m123 */
1096+
@property(nonatomic, copy, nullable) NSString *releaseName;
1097+
1098+
@end
1099+
1100+
10501101
/**
10511102
* The definition of a notebook instance.
10521103
*/
@@ -1756,6 +1807,20 @@ FOUNDATION_EXTERN NSString * const kGTLRAIPlatformNotebooks_UpgradeHistoryEntry_
17561807
@end
17571808

17581809

1810+
/**
1811+
* SupportedValues represents the values supported by the configuration.
1812+
*/
1813+
@interface GTLRAIPlatformNotebooks_SupportedValues : GTLRObject
1814+
1815+
/** Output only. The accelerator types supported by WbI. */
1816+
@property(nonatomic, strong, nullable) NSArray<NSString *> *acceleratorTypes;
1817+
1818+
/** Output only. The machine types supported by WbI. */
1819+
@property(nonatomic, strong, nullable) NSArray<NSString *> *machineTypes;
1820+
1821+
@end
1822+
1823+
17591824
/**
17601825
* Request message for `TestIamPermissions` method.
17611826
*/

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

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -221,6 +221,38 @@ NS_ASSUME_NONNULL_BEGIN
221221

222222
@end
223223

224+
/**
225+
* Gets general backend configurations that might also affect the frontend.
226+
* Location is required by CCFE. Although we could bypass it to send location-
227+
* less request directly to the backend job, we would need CPE (go/cloud-cpe).
228+
* Having the location might also be useful depending on the query.
229+
*
230+
* Method: notebooks.projects.locations.instances.getConfig
231+
*
232+
* Authorization scope(s):
233+
* @c kGTLRAuthScopeAIPlatformNotebooksCloudPlatform
234+
*/
235+
@interface GTLRAIPlatformNotebooksQuery_ProjectsLocationsInstancesGetConfig : GTLRAIPlatformNotebooksQuery
236+
237+
/** Required. Format: `projects/{project_id}/locations/{location}` */
238+
@property(nonatomic, copy, nullable) NSString *name;
239+
240+
/**
241+
* Fetches a @c GTLRAIPlatformNotebooks_Config.
242+
*
243+
* Gets general backend configurations that might also affect the frontend.
244+
* Location is required by CCFE. Although we could bypass it to send location-
245+
* less request directly to the backend job, we would need CPE (go/cloud-cpe).
246+
* Having the location might also be useful depending on the query.
247+
*
248+
* @param name Required. Format: `projects/{project_id}/locations/{location}`
249+
*
250+
* @return GTLRAIPlatformNotebooksQuery_ProjectsLocationsInstancesGetConfig
251+
*/
252+
+ (instancetype)queryWithName:(NSString *)name;
253+
254+
@end
255+
224256
/**
225257
* Gets the access control policy for a resource. Returns an empty policy if
226258
* the resource exists and does not have a policy set.

0 commit comments

Comments
 (0)