Skip to content

Commit 472a15b

Browse files
committed
Generate updated services for current sources.
1 parent d4f41bf commit 472a15b

File tree

295 files changed

+30998
-3698
lines changed

Some content is hidden

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

295 files changed

+30998
-3698
lines changed

GoogleAPIClientForREST.podspec

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -479,6 +479,11 @@ Pod::Spec.new do |s|
479479
sp.source_files = 'Sources/GeneratedServices/CloudLifeSciences/**/*.{h,m}'
480480
sp.public_header_files = 'Sources/GeneratedServices/CloudLifeSciences/Public/GoogleAPIClientForREST/*.h'
481481
end
482+
s.subspec 'CloudLocationFinder' do |sp|
483+
sp.dependency 'GoogleAPIClientForREST/Core'
484+
sp.source_files = 'Sources/GeneratedServices/CloudLocationFinder/**/*.{h,m}'
485+
sp.public_header_files = 'Sources/GeneratedServices/CloudLocationFinder/Public/GoogleAPIClientForREST/*.h'
486+
end
482487
s.subspec 'CloudMachineLearningEngine' do |sp|
483488
sp.dependency 'GoogleAPIClientForREST/Core'
484489
sp.source_files = 'Sources/GeneratedServices/CloudMachineLearningEngine/**/*.{h,m}'
@@ -1279,6 +1284,11 @@ Pod::Spec.new do |s|
12791284
sp.source_files = 'Sources/GeneratedServices/SA360/**/*.{h,m}'
12801285
sp.public_header_files = 'Sources/GeneratedServices/SA360/Public/GoogleAPIClientForREST/*.h'
12811286
end
1287+
s.subspec 'SaaSServiceManagement' do |sp|
1288+
sp.dependency 'GoogleAPIClientForREST/Core'
1289+
sp.source_files = 'Sources/GeneratedServices/SaaSServiceManagement/**/*.{h,m}'
1290+
sp.public_header_files = 'Sources/GeneratedServices/SaaSServiceManagement/Public/GoogleAPIClientForREST/*.h'
1291+
end
12821292
s.subspec 'Safebrowsing' do |sp|
12831293
sp.dependency 'GoogleAPIClientForREST/Core'
12841294
sp.source_files = 'Sources/GeneratedServices/Safebrowsing/**/*.{h,m}'

Package.swift

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -353,6 +353,10 @@ let package = Package(
353353
name: "GoogleAPIClientForREST_CloudLifeSciences",
354354
targets: ["GoogleAPIClientForREST_CloudLifeSciences"]
355355
),
356+
.library(
357+
name: "GoogleAPIClientForREST_CloudLocationFinder",
358+
targets: ["GoogleAPIClientForREST_CloudLocationFinder"]
359+
),
356360
.library(
357361
name: "GoogleAPIClientForREST_CloudMachineLearningEngine",
358362
targets: ["GoogleAPIClientForREST_CloudMachineLearningEngine"]
@@ -993,6 +997,10 @@ let package = Package(
993997
name: "GoogleAPIClientForREST_SA360",
994998
targets: ["GoogleAPIClientForREST_SA360"]
995999
),
1000+
.library(
1001+
name: "GoogleAPIClientForREST_SaaSServiceManagement",
1002+
targets: ["GoogleAPIClientForREST_SaaSServiceManagement"]
1003+
),
9961004
.library(
9971005
name: "GoogleAPIClientForREST_Safebrowsing",
9981006
targets: ["GoogleAPIClientForREST_Safebrowsing"]
@@ -1751,6 +1759,12 @@ let package = Package(
17511759
path: "Sources/GeneratedServices/CloudLifeSciences",
17521760
publicHeadersPath: "Public"
17531761
),
1762+
.target(
1763+
name: "GoogleAPIClientForREST_CloudLocationFinder",
1764+
dependencies: ["GoogleAPIClientForRESTCore"],
1765+
path: "Sources/GeneratedServices/CloudLocationFinder",
1766+
publicHeadersPath: "Public"
1767+
),
17541768
.target(
17551769
name: "GoogleAPIClientForREST_CloudMachineLearningEngine",
17561770
dependencies: ["GoogleAPIClientForRESTCore"],
@@ -2711,6 +2725,12 @@ let package = Package(
27112725
path: "Sources/GeneratedServices/SA360",
27122726
publicHeadersPath: "Public"
27132727
),
2728+
.target(
2729+
name: "GoogleAPIClientForREST_SaaSServiceManagement",
2730+
dependencies: ["GoogleAPIClientForRESTCore"],
2731+
path: "Sources/GeneratedServices/SaaSServiceManagement",
2732+
publicHeadersPath: "Public"
2733+
),
27142734
.target(
27152735
name: "GoogleAPIClientForREST_Safebrowsing",
27162736
dependencies: ["GoogleAPIClientForRESTCore"],

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

Lines changed: 20 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -222,10 +222,7 @@ NS_ASSUME_NONNULL_BEGIN
222222
@end
223223

224224
/**
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.
225+
* Returns various configuration parameters.
229226
*
230227
* Method: notebooks.projects.locations.instances.getConfig
231228
*
@@ -240,10 +237,7 @@ NS_ASSUME_NONNULL_BEGIN
240237
/**
241238
* Fetches a @c GTLRAIPlatformNotebooks_Config.
242239
*
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.
240+
* Returns various configuration parameters.
247241
*
248242
* @param name Required. Format: `projects/{project_id}/locations/{location}`
249243
*
@@ -371,7 +365,24 @@ NS_ASSUME_NONNULL_BEGIN
371365
@property(nonatomic, copy, nullable) NSString *requestId;
372366

373367
/**
374-
* Required. Mask used to update an instance
368+
* Required. Mask used to update an instance. Updatable fields: * `labels` *
369+
* `gce_setup.min_cpu_platform` * `gce_setup.metadata` *
370+
* `gce_setup.machine_type` * `gce_setup.accelerator_configs` *
371+
* `gce_setup.accelerator_configs.type` *
372+
* `gce_setup.accelerator_configs.core_count` * `gce_setup.gpu_driver_config` *
373+
* `gce_setup.gpu_driver_config.enable_gpu_driver` *
374+
* `gce_setup.gpu_driver_config.custom_gpu_driver_path` *
375+
* `gce_setup.shielded_instance_config` *
376+
* `gce_setup.shielded_instance_config.enable_secure_boot` *
377+
* `gce_setup.shielded_instance_config.enable_vtpm` *
378+
* `gce_setup.shielded_instance_config.enable_integrity_monitoring` *
379+
* `gce_setup.reservation_affinity` *
380+
* `gce_setup.reservation_affinity.consume_reservation_type` *
381+
* `gce_setup.reservation_affinity.key` *
382+
* `gce_setup.reservation_affinity.values` * `gce_setup.tags` *
383+
* `gce_setup.container_image` * `gce_setup.container_image.repository` *
384+
* `gce_setup.container_image.tag` * `gce_setup.disable_public_ip` *
385+
* `disable_proxy_access`
375386
*
376387
* String format is a comma-separated list of fields.
377388
*/

Sources/GeneratedServices/APIhub/GTLRAPIhubObjects.m

Lines changed: 32 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,16 @@
166166
NSString * const kGTLRAPIhub_GoogleCloudApihubV1OpenApiSpecDetails_Format_OpenApiSpec30 = @"OPEN_API_SPEC_3_0";
167167
NSString * const kGTLRAPIhub_GoogleCloudApihubV1OpenApiSpecDetails_Format_OpenApiSpec31 = @"OPEN_API_SPEC_3_1";
168168

169+
// GTLRAPIhub_GoogleCloudApihubV1Plugin.gatewayType
170+
NSString * const kGTLRAPIhub_GoogleCloudApihubV1Plugin_GatewayType_ApiDiscovery = @"API_DISCOVERY";
171+
NSString * const kGTLRAPIhub_GoogleCloudApihubV1Plugin_GatewayType_ApigeeEdgePrivateCloud = @"APIGEE_EDGE_PRIVATE_CLOUD";
172+
NSString * const kGTLRAPIhub_GoogleCloudApihubV1Plugin_GatewayType_ApigeeEdgePublicCloud = @"APIGEE_EDGE_PUBLIC_CLOUD";
173+
NSString * const kGTLRAPIhub_GoogleCloudApihubV1Plugin_GatewayType_ApigeeXAndHybrid = @"APIGEE_X_AND_HYBRID";
174+
NSString * const kGTLRAPIhub_GoogleCloudApihubV1Plugin_GatewayType_CloudApiGateway = @"CLOUD_API_GATEWAY";
175+
NSString * const kGTLRAPIhub_GoogleCloudApihubV1Plugin_GatewayType_CloudEndpoints = @"CLOUD_ENDPOINTS";
176+
NSString * const kGTLRAPIhub_GoogleCloudApihubV1Plugin_GatewayType_GatewayTypeUnspecified = @"GATEWAY_TYPE_UNSPECIFIED";
177+
NSString * const kGTLRAPIhub_GoogleCloudApihubV1Plugin_GatewayType_Others = @"OTHERS";
178+
169179
// GTLRAPIhub_GoogleCloudApihubV1Plugin.ownershipType
170180
NSString * const kGTLRAPIhub_GoogleCloudApihubV1Plugin_OwnershipType_OwnershipTypeUnspecified = @"OWNERSHIP_TYPE_UNSPECIFIED";
171181
NSString * const kGTLRAPIhub_GoogleCloudApihubV1Plugin_OwnershipType_SystemOwned = @"SYSTEM_OWNED";
@@ -204,6 +214,11 @@
204214
NSString * const kGTLRAPIhub_GoogleCloudApihubV1PluginInstanceAction_State_Error = @"ERROR";
205215
NSString * const kGTLRAPIhub_GoogleCloudApihubV1PluginInstanceAction_State_StateUnspecified = @"STATE_UNSPECIFIED";
206216

217+
// GTLRAPIhub_GoogleCloudApihubV1ResourceConfig.actionType
218+
NSString * const kGTLRAPIhub_GoogleCloudApihubV1ResourceConfig_ActionType_ActionTypeUnspecified = @"ACTION_TYPE_UNSPECIFIED";
219+
NSString * const kGTLRAPIhub_GoogleCloudApihubV1ResourceConfig_ActionType_SyncMetadata = @"SYNC_METADATA";
220+
NSString * const kGTLRAPIhub_GoogleCloudApihubV1ResourceConfig_ActionType_SyncRuntimeData = @"SYNC_RUNTIME_DATA";
221+
207222
// GTLRAPIhub_GoogleCloudApihubV1SourceMetadata.sourceType
208223
NSString * const kGTLRAPIhub_GoogleCloudApihubV1SourceMetadata_SourceType_Plugin = @"PLUGIN";
209224
NSString * const kGTLRAPIhub_GoogleCloudApihubV1SourceMetadata_SourceType_SourceTypeUnspecified = @"SOURCE_TYPE_UNSPECIFIED";
@@ -727,7 +742,8 @@ @implementation GTLRAPIhub_GoogleCloudApihubV1DependencyErrorDetail
727742
@implementation GTLRAPIhub_GoogleCloudApihubV1Deployment
728743
@dynamic apiVersions, attributes, createTime, deploymentType,
729744
descriptionProperty, displayName, documentation, endpoints,
730-
environment, name, resourceUri, slo, sourceMetadata, updateTime;
745+
environment, managementUrl, name, resourceUri, slo, sourceEnvironment,
746+
sourceMetadata, sourceProject, sourceUri, updateTime;
731747

732748
+ (NSDictionary<NSString *, NSString *> *)propertyToJSONKeyMap {
733749
return @{ @"descriptionProperty" : @"description" };
@@ -1437,8 +1453,8 @@ @implementation GTLRAPIhub_GoogleCloudApihubV1Path
14371453

14381454
@implementation GTLRAPIhub_GoogleCloudApihubV1Plugin
14391455
@dynamic actionsConfig, configTemplate, createTime, descriptionProperty,
1440-
displayName, documentation, hostingService, name, ownershipType,
1441-
pluginCategory, state, type, updateTime;
1456+
displayName, documentation, gatewayType, hostingService, name,
1457+
ownershipType, pluginCategory, state, type, updateTime;
14421458

14431459
+ (NSDictionary<NSString *, NSString *> *)propertyToJSONKeyMap {
14441460
return @{ @"descriptionProperty" : @"description" };
@@ -1480,7 +1496,7 @@ @implementation GTLRAPIhub_GoogleCloudApihubV1PluginActionConfig
14801496

14811497
@implementation GTLRAPIhub_GoogleCloudApihubV1PluginInstance
14821498
@dynamic actions, additionalConfig, authConfig, createTime, displayName,
1483-
errorMessage, name, state, updateTime;
1499+
errorMessage, name, sourceProjectId, state, updateTime;
14841500

14851501
+ (NSDictionary<NSString *, Class> *)arrayPropertyToClassMap {
14861502
NSDictionary<NSString *, Class> *map = @{
@@ -1512,8 +1528,8 @@ + (Class)classForAdditionalProperties {
15121528
//
15131529

15141530
@implementation GTLRAPIhub_GoogleCloudApihubV1PluginInstanceAction
1515-
@dynamic actionId, curationConfig, hubInstanceAction, scheduleCronExpression,
1516-
scheduleTimeZone, state;
1531+
@dynamic actionId, curationConfig, hubInstanceAction, resourceConfig,
1532+
scheduleCronExpression, scheduleTimeZone, serviceAccount, state;
15171533
@end
15181534

15191535

@@ -1557,6 +1573,16 @@ @implementation GTLRAPIhub_GoogleCloudApihubV1Range
15571573
@end
15581574

15591575

1576+
// ----------------------------------------------------------------------------
1577+
//
1578+
// GTLRAPIhub_GoogleCloudApihubV1ResourceConfig
1579+
//
1580+
1581+
@implementation GTLRAPIhub_GoogleCloudApihubV1ResourceConfig
1582+
@dynamic actionType, pubsubTopic;
1583+
@end
1584+
1585+
15601586
// ----------------------------------------------------------------------------
15611587
//
15621588
// GTLRAPIhub_GoogleCloudApihubV1RuntimeProjectAttachment

Sources/GeneratedServices/APIhub/GTLRAPIhubQuery.m

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1705,6 +1705,33 @@ + (instancetype)queryWithParent:(NSString *)parent {
17051705

17061706
@end
17071707

1708+
@implementation GTLRAPIhubQuery_ProjectsLocationsPluginsInstancesPatch
1709+
1710+
@dynamic name, updateMask;
1711+
1712+
+ (instancetype)queryWithObject:(GTLRAPIhub_GoogleCloudApihubV1PluginInstance *)object
1713+
name:(NSString *)name {
1714+
if (object == nil) {
1715+
#if defined(DEBUG) && DEBUG
1716+
NSAssert(object != nil, @"Got a nil object");
1717+
#endif
1718+
return nil;
1719+
}
1720+
NSArray *pathParams = @[ @"name" ];
1721+
NSString *pathURITemplate = @"v1/{+name}";
1722+
GTLRAPIhubQuery_ProjectsLocationsPluginsInstancesPatch *query =
1723+
[[self alloc] initWithPathURITemplate:pathURITemplate
1724+
HTTPMethod:@"PATCH"
1725+
pathParameterNames:pathParams];
1726+
query.bodyObject = object;
1727+
query.name = name;
1728+
query.expectedObjectClass = [GTLRAPIhub_GoogleCloudApihubV1PluginInstance class];
1729+
query.loggingName = @"apihub.projects.locations.plugins.instances.patch";
1730+
return query;
1731+
}
1732+
1733+
@end
1734+
17081735
@implementation GTLRAPIhubQuery_ProjectsLocationsPluginsList
17091736

17101737
@dynamic filter, pageSize, pageToken, parent;

0 commit comments

Comments
 (0)