Skip to content

Commit 0eca8cb

Browse files
committed
Generate current services.
1 parent 6a46e06 commit 0eca8cb

File tree

228 files changed

+61794
-37608
lines changed

Some content is hidden

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

228 files changed

+61794
-37608
lines changed

Sources/GeneratedServices/APIhub/GTLRAPIhubObjects.m

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -378,6 +378,16 @@ @implementation GTLRAPIhub_GoogleCloudApihubV1AddonConfig
378378
@end
379379

380380

381+
// ----------------------------------------------------------------------------
382+
//
383+
// GTLRAPIhub_GoogleCloudApihubV1AgentRegistrySyncConfig
384+
//
385+
386+
@implementation GTLRAPIhub_GoogleCloudApihubV1AgentRegistrySyncConfig
387+
@dynamic disabled;
388+
@end
389+
390+
381391
// ----------------------------------------------------------------------------
382392
//
383393
// GTLRAPIhub_GoogleCloudApihubV1AllDataAddonConfig
@@ -705,7 +715,8 @@ @implementation GTLRAPIhub_GoogleCloudApihubV1CollectApiDataRequest
705715
//
706716

707717
@implementation GTLRAPIhub_GoogleCloudApihubV1Config
708-
@dynamic cmekKeyName, disableSearch, encryptionType, vertexLocation;
718+
@dynamic agentRegistrySyncConfig, cmekKeyName, disableSearch, encryptionType,
719+
vertexLocation;
709720
@end
710721

711722

Sources/GeneratedServices/APIhub/GTLRAPIhubQuery.m

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

181181
@end
182182

183+
@implementation GTLRAPIhubQuery_ProjectsLocationsApiHubInstancesPatch
184+
185+
@dynamic name, updateMask;
186+
187+
+ (instancetype)queryWithObject:(GTLRAPIhub_GoogleCloudApihubV1ApiHubInstance *)object
188+
name:(NSString *)name {
189+
if (object == nil) {
190+
#if defined(DEBUG) && DEBUG
191+
NSAssert(object != nil, @"Got a nil object");
192+
#endif
193+
return nil;
194+
}
195+
NSArray *pathParams = @[ @"name" ];
196+
NSString *pathURITemplate = @"v1/{+name}";
197+
GTLRAPIhubQuery_ProjectsLocationsApiHubInstancesPatch *query =
198+
[[self alloc] initWithPathURITemplate:pathURITemplate
199+
HTTPMethod:@"PATCH"
200+
pathParameterNames:pathParams];
201+
query.bodyObject = object;
202+
query.name = name;
203+
query.expectedObjectClass = [GTLRAPIhub_GoogleLongrunningOperation class];
204+
query.loggingName = @"apihub.projects.locations.apiHubInstances.patch";
205+
return query;
206+
}
207+
208+
@end
209+
183210
@implementation GTLRAPIhubQuery_ProjectsLocationsApisCreate
184211

185212
@dynamic apiId, parent;

Sources/GeneratedServices/APIhub/Public/GoogleAPIClientForREST/GTLRAPIhubObjects.h

Lines changed: 33 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
@class GTLRAPIhub_GoogleCloudApihubV1AdditionalSpecContent_Labels;
1818
@class GTLRAPIhub_GoogleCloudApihubV1Addon;
1919
@class GTLRAPIhub_GoogleCloudApihubV1AddonConfig;
20+
@class GTLRAPIhub_GoogleCloudApihubV1AgentRegistrySyncConfig;
2021
@class GTLRAPIhub_GoogleCloudApihubV1AllDataAddonConfig;
2122
@class GTLRAPIhub_GoogleCloudApihubV1AllowedValue;
2223
@class GTLRAPIhub_GoogleCloudApihubV1Api;
@@ -1748,6 +1749,22 @@ FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1SummaryEntry_S
17481749
@end
17491750

17501751

1752+
/**
1753+
* The configuration for Agent Registry sync.
1754+
*/
1755+
@interface GTLRAPIhub_GoogleCloudApihubV1AgentRegistrySyncConfig : GTLRObject
1756+
1757+
/**
1758+
* Optional. If true, the MCP data sync to the Agent Registry will be disabled.
1759+
* The default value is false.
1760+
*
1761+
* Uses NSNumber of boolValue.
1762+
*/
1763+
@property(nonatomic, strong, nullable) NSNumber *disabled;
1764+
1765+
@end
1766+
1767+
17511768
/**
17521769
* Configuration for addons which act on all data in the API hub. This is used
17531770
* to specify if the addon is enabled for all data in the API hub.
@@ -2333,10 +2350,10 @@ FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1SummaryEntry_S
23332350
*/
23342351
@interface GTLRAPIhub_GoogleCloudApihubV1ApiView : GTLRObject
23352352

2336-
/** Output only. MCP server view. */
2353+
/** MCP server view. */
23372354
@property(nonatomic, strong, nullable) GTLRAPIhub_GoogleCloudApihubV1FlattenedApiVersionDeploymentView *mcpServerView;
23382355

2339-
/** Output only. MCP tools view. */
2356+
/** MCP tools view. */
23402357
@property(nonatomic, strong, nullable) GTLRAPIhub_GoogleCloudApihubV1FlattenedApiVersionOperationDeploymentView *mcpToolView;
23412358

23422359
@end
@@ -2632,6 +2649,12 @@ FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1SummaryEntry_S
26322649
*/
26332650
@interface GTLRAPIhub_GoogleCloudApihubV1Config : GTLRObject
26342651

2652+
/**
2653+
* Optional. The configuration for syncing MCP data in the API Hub instance to
2654+
* the Agent Registry.
2655+
*/
2656+
@property(nonatomic, strong, nullable) GTLRAPIhub_GoogleCloudApihubV1AgentRegistrySyncConfig *agentRegistrySyncConfig;
2657+
26352658
/**
26362659
* Optional. The Customer Managed Encryption Key (CMEK) used for data
26372660
* encryption. The CMEK name should follow the format of
@@ -3750,13 +3773,13 @@ FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1SummaryEntry_S
37503773
*/
37513774
@interface GTLRAPIhub_GoogleCloudApihubV1FlattenedApiVersionDeploymentView : GTLRObject
37523775

3753-
/** The API. */
3776+
/** Optional. The API. */
37543777
@property(nonatomic, strong, nullable) GTLRAPIhub_GoogleCloudApihubV1Api *api;
37553778

3756-
/** The deployment. */
3779+
/** Optional. The deployment. */
37573780
@property(nonatomic, strong, nullable) GTLRAPIhub_GoogleCloudApihubV1Deployment *deployment;
37583781

3759-
/** The version. */
3782+
/** Optional. The version. */
37603783
@property(nonatomic, strong, nullable) GTLRAPIhub_GoogleCloudApihubV1Version *version;
37613784

37623785
@end
@@ -3769,16 +3792,16 @@ FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1SummaryEntry_S
37693792
*/
37703793
@interface GTLRAPIhub_GoogleCloudApihubV1FlattenedApiVersionOperationDeploymentView : GTLRObject
37713794

3772-
/** The API. */
3795+
/** Optional. The API. */
37733796
@property(nonatomic, strong, nullable) GTLRAPIhub_GoogleCloudApihubV1Api *api;
37743797

3775-
/** The API operation. */
3798+
/** Optional. The API operation. */
37763799
@property(nonatomic, strong, nullable) GTLRAPIhub_GoogleCloudApihubV1ApiOperation *apiOperation;
37773800

3778-
/** The deployment. */
3801+
/** Optional. The deployment. */
37793802
@property(nonatomic, strong, nullable) GTLRAPIhub_GoogleCloudApihubV1Deployment *deployment;
37803803

3781-
/** The version. */
3804+
/** Optional. The version. */
37823805
@property(nonatomic, strong, nullable) GTLRAPIhub_GoogleCloudApihubV1Version *version;
37833806

37843807
@end
@@ -5614,7 +5637,7 @@ FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1SummaryEntry_S
56145637
@interface GTLRAPIhub_GoogleCloudApihubV1RetrieveApiViewsResponse : GTLRCollectionObject
56155638

56165639
/**
5617-
* The list of API views.
5640+
* Output only. The list of API views.
56185641
*
56195642
* @note This property is used to support NSFastEnumeration and indexed
56205643
* subscripting on this class.

Sources/GeneratedServices/APIhub/Public/GoogleAPIClientForREST/GTLRAPIhubQuery.h

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -351,6 +351,50 @@ FOUNDATION_EXTERN NSString * const kGTLRAPIhubViewMcpTool;
351351

352352
@end
353353

354+
/**
355+
* Update an Api Hub instance. The following fields in the ApiHubInstance can
356+
* be updated: * disable_search * vertex_location * agent_registry_sync_config
357+
* The update_mask should be used to specify the fields being updated.
358+
*
359+
* Method: apihub.projects.locations.apiHubInstances.patch
360+
*
361+
* Authorization scope(s):
362+
* @c kGTLRAuthScopeAPIhubCloudPlatform
363+
*/
364+
@interface GTLRAPIhubQuery_ProjectsLocationsApiHubInstancesPatch : GTLRAPIhubQuery
365+
366+
/**
367+
* Identifier. Format:
368+
* `projects/{project}/locations/{location}/apiHubInstances/{apiHubInstance}`.
369+
*/
370+
@property(nonatomic, copy, nullable) NSString *name;
371+
372+
/**
373+
* Optional. The list of fields to update.
374+
*
375+
* String format is a comma-separated list of fields.
376+
*/
377+
@property(nonatomic, copy, nullable) NSString *updateMask;
378+
379+
/**
380+
* Fetches a @c GTLRAPIhub_GoogleLongrunningOperation.
381+
*
382+
* Update an Api Hub instance. The following fields in the ApiHubInstance can
383+
* be updated: * disable_search * vertex_location * agent_registry_sync_config
384+
* The update_mask should be used to specify the fields being updated.
385+
*
386+
* @param object The @c GTLRAPIhub_GoogleCloudApihubV1ApiHubInstance to include
387+
* in the query.
388+
* @param name Identifier. Format:
389+
* `projects/{project}/locations/{location}/apiHubInstances/{apiHubInstance}`.
390+
*
391+
* @return GTLRAPIhubQuery_ProjectsLocationsApiHubInstancesPatch
392+
*/
393+
+ (instancetype)queryWithObject:(GTLRAPIhub_GoogleCloudApihubV1ApiHubInstance *)object
394+
name:(NSString *)name;
395+
396+
@end
397+
354398
/**
355399
* Create an API resource in the API hub. Once an API resource is created,
356400
* versions can be added to it.

Sources/GeneratedServices/AccessContextManager/GTLRAccessContextManagerObjects.m

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -727,6 +727,24 @@ + (NSString *)collectionItemsKey {
727727
@end
728728

729729

730+
// ----------------------------------------------------------------------------
731+
//
732+
// GTLRAccessContextManager_ListSupportedPermissionsResponse
733+
//
734+
735+
@implementation GTLRAccessContextManager_ListSupportedPermissionsResponse
736+
@dynamic nextPageToken, supportedPermissions;
737+
738+
+ (NSDictionary<NSString *, Class> *)arrayPropertyToClassMap {
739+
NSDictionary<NSString *, Class> *map = @{
740+
@"supportedPermissions" : [NSString class]
741+
};
742+
return map;
743+
}
744+
745+
@end
746+
747+
730748
// ----------------------------------------------------------------------------
731749
//
732750
// GTLRAccessContextManager_ListSupportedServicesResponse

Sources/GeneratedServices/AccessContextManager/GTLRAccessContextManagerQuery.m

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -885,6 +885,23 @@ + (instancetype)queryWithObject:(GTLRAccessContextManager_GcpUserAccessBinding *
885885

886886
@end
887887

888+
@implementation GTLRAccessContextManagerQuery_PermissionsList
889+
890+
@dynamic pageSize, pageToken;
891+
892+
+ (instancetype)query {
893+
NSString *pathURITemplate = @"v1/permissions";
894+
GTLRAccessContextManagerQuery_PermissionsList *query =
895+
[[self alloc] initWithPathURITemplate:pathURITemplate
896+
HTTPMethod:nil
897+
pathParameterNames:nil];
898+
query.expectedObjectClass = [GTLRAccessContextManager_ListSupportedPermissionsResponse class];
899+
query.loggingName = @"accesscontextmanager.permissions.list";
900+
return query;
901+
}
902+
903+
@end
904+
888905
@implementation GTLRAccessContextManagerQuery_ServicesGet
889906

890907
@dynamic name;

Sources/GeneratedServices/AccessContextManager/Public/GoogleAPIClientForREST/GTLRAccessContextManagerObjects.h

Lines changed: 21 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1125,10 +1125,8 @@ FOUNDATION_EXTERN NSString * const kGTLRAccessContextManager_SupportedService_Su
11251125
/**
11261126
* A list of identities that are allowed access through [EgressPolicy].
11271127
* Identities can be an individual user, service account, Google group, or
1128-
* third-party identity. For third-party identity, only single identities are
1129-
* supported and other identity types are not supported. The `v1` identities
1130-
* that have the prefix `user`, `group`, `serviceAccount`, and `principal` in
1131-
* https://cloud.google.com/iam/docs/principal-identifiers#v1 are supported.
1128+
* third-party identity. For the list of supported identity types, see
1129+
* https://docs.cloud.google.com/vpc-service-controls/docs/supported-identities.
11321130
*/
11331131
@property(nonatomic, strong, nullable) NSArray<NSString *> *identities;
11341132

@@ -1479,10 +1477,8 @@ FOUNDATION_EXTERN NSString * const kGTLRAccessContextManager_SupportedService_Su
14791477
/**
14801478
* A list of identities that are allowed access through [IngressPolicy].
14811479
* Identities can be an individual user, service account, Google group, or
1482-
* third-party identity. For third-party identity, only single identities are
1483-
* supported and other identity types are not supported. The `v1` identities
1484-
* that have the prefix `user`, `group`, `serviceAccount`, and `principal` in
1485-
* https://cloud.google.com/iam/docs/principal-identifiers#v1 are supported.
1480+
* third-party identity. For the list of supported identity types, see
1481+
* https://docs.cloud.google.com/vpc-service-controls/docs/supported-identities.
14861482
*/
14871483
@property(nonatomic, strong, nullable) NSArray<NSString *> *identities;
14881484

@@ -1778,6 +1774,23 @@ FOUNDATION_EXTERN NSString * const kGTLRAccessContextManager_SupportedService_Su
17781774
@end
17791775

17801776

1777+
/**
1778+
* A response to `ListSupportedPermissionsRequest`.
1779+
*/
1780+
@interface GTLRAccessContextManager_ListSupportedPermissionsResponse : GTLRObject
1781+
1782+
/**
1783+
* The pagination token to retrieve the next page of results. If the value is
1784+
* empty, no further results remain.
1785+
*/
1786+
@property(nonatomic, copy, nullable) NSString *nextPageToken;
1787+
1788+
/** List of VPC-SC supported permissions. */
1789+
@property(nonatomic, strong, nullable) NSArray<NSString *> *supportedPermissions;
1790+
1791+
@end
1792+
1793+
17811794
/**
17821795
* A response to `ListSupportedServicesRequest`.
17831796
*

Sources/GeneratedServices/AccessContextManager/Public/GoogleAPIClientForREST/GTLRAccessContextManagerQuery.h

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1603,6 +1603,36 @@ FOUNDATION_EXTERN NSString * const kGTLRAccessContextManagerAccessLevelFormatLev
16031603

16041604
@end
16051605

1606+
/**
1607+
* Lists all supported permissions in VPCSC Granular Controls.
1608+
*
1609+
* Method: accesscontextmanager.permissions.list
1610+
*
1611+
* Authorization scope(s):
1612+
* @c kGTLRAuthScopeAccessContextManagerCloudPlatform
1613+
*/
1614+
@interface GTLRAccessContextManagerQuery_PermissionsList : GTLRAccessContextManagerQuery
1615+
1616+
/**
1617+
* Optional. This flag specifies the maximum number of services to return per
1618+
* page. Default is 100.
1619+
*/
1620+
@property(nonatomic, assign) NSInteger pageSize;
1621+
1622+
/** Optional. Token to start on a later page. Default is the first page. */
1623+
@property(nonatomic, copy, nullable) NSString *pageToken;
1624+
1625+
/**
1626+
* Fetches a @c GTLRAccessContextManager_ListSupportedPermissionsResponse.
1627+
*
1628+
* Lists all supported permissions in VPCSC Granular Controls.
1629+
*
1630+
* @return GTLRAccessContextManagerQuery_PermissionsList
1631+
*/
1632+
+ (instancetype)query;
1633+
1634+
@end
1635+
16061636
/**
16071637
* Returns a VPC-SC supported service based on the service name.
16081638
*

0 commit comments

Comments
 (0)