Skip to content

Commit

Permalink
Generate current service sources.
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasvl committed Feb 20, 2024
1 parent de69487 commit 37abc66
Show file tree
Hide file tree
Showing 174 changed files with 93,900 additions and 3,535 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -594,11 +594,7 @@ FOUNDATION_EXTERN NSString * const kGTLRAIPlatformNotebooks_UpgradeHistoryEntry_

/**
* Role that is assigned to the list of `members`, or principals. For example,
* `roles/viewer`, `roles/editor`, or `roles/owner`. For an overview of the IAM
* roles and permissions, see the [IAM
* documentation](https://cloud.google.com/iam/docs/roles-overview). For a list
* of the available pre-defined roles, see
* [here](https://cloud.google.com/iam/docs/understanding-roles).
* `roles/viewer`, `roles/editor`, or `roles/owner`.
*/
@property(nonatomic, copy, nullable) NSString *role;

Expand Down
358 changes: 312 additions & 46 deletions Sources/GeneratedServices/Aiplatform/GTLRAiplatformObjects.m

Large diffs are not rendered by default.

159 changes: 158 additions & 1 deletion Sources/GeneratedServices/Aiplatform/GTLRAiplatformQuery.m
Original file line number Diff line number Diff line change
Expand Up @@ -1834,6 +1834,33 @@ + (instancetype)queryWithObject:(GTLRAiplatform_GoogleCloudAiplatformV1ExplainRe

@end

@implementation GTLRAiplatformQuery_ProjectsLocationsEndpointsGenerateContent

@dynamic model;

+ (instancetype)queryWithObject:(GTLRAiplatform_GoogleCloudAiplatformV1GenerateContentRequest *)object
model:(NSString *)model {
if (object == nil) {
#if defined(DEBUG) && DEBUG
NSAssert(object != nil, @"Got a nil object");
#endif
return nil;
}
NSArray *pathParams = @[ @"model" ];
NSString *pathURITemplate = @"v1/{+model}:generateContent";
GTLRAiplatformQuery_ProjectsLocationsEndpointsGenerateContent *query =
[[self alloc] initWithPathURITemplate:pathURITemplate
HTTPMethod:@"POST"
pathParameterNames:pathParams];
query.bodyObject = object;
query.model = model;
query.expectedObjectClass = [GTLRAiplatform_GoogleCloudAiplatformV1GenerateContentResponse class];
query.loggingName = @"aiplatform.projects.locations.endpoints.generateContent";
return query;
}

@end

@implementation GTLRAiplatformQuery_ProjectsLocationsEndpointsGet

@dynamic name;
Expand Down Expand Up @@ -2856,6 +2883,33 @@ + (instancetype)queryWithObject:(GTLRAiplatform_GoogleCloudAiplatformV1FeatureVi

@end

@implementation GTLRAiplatformQuery_ProjectsLocationsFeatureOnlineStoresFeatureViewsSearchNearestEntities

@dynamic featureView;

+ (instancetype)queryWithObject:(GTLRAiplatform_GoogleCloudAiplatformV1SearchNearestEntitiesRequest *)object
featureView:(NSString *)featureView {
if (object == nil) {
#if defined(DEBUG) && DEBUG
NSAssert(object != nil, @"Got a nil object");
#endif
return nil;
}
NSArray *pathParams = @[ @"featureView" ];
NSString *pathURITemplate = @"v1/{+featureView}:searchNearestEntities";
GTLRAiplatformQuery_ProjectsLocationsFeatureOnlineStoresFeatureViewsSearchNearestEntities *query =
[[self alloc] initWithPathURITemplate:pathURITemplate
HTTPMethod:@"POST"
pathParameterNames:pathParams];
query.bodyObject = object;
query.featureView = featureView;
query.expectedObjectClass = [GTLRAiplatform_GoogleCloudAiplatformV1SearchNearestEntitiesResponse class];
query.loggingName = @"aiplatform.projects.locations.featureOnlineStores.featureViews.searchNearestEntities";
return query;
}

@end

@implementation GTLRAiplatformQuery_ProjectsLocationsFeatureOnlineStoresFeatureViewsSync

@dynamic featureView;
Expand Down Expand Up @@ -6767,6 +6821,29 @@ + (instancetype)queryWithName:(NSString *)name {

@end

@implementation GTLRAiplatformQuery_ProjectsLocationsModelsGetIamPolicy

@dynamic optionsRequestedPolicyVersion, resource;

+ (NSDictionary<NSString *, NSString *> *)parameterNameMap {
return @{ @"optionsRequestedPolicyVersion" : @"options.requestedPolicyVersion" };
}

+ (instancetype)queryWithResource:(NSString *)resource {
NSArray *pathParams = @[ @"resource" ];
NSString *pathURITemplate = @"v1/{+resource}:getIamPolicy";
GTLRAiplatformQuery_ProjectsLocationsModelsGetIamPolicy *query =
[[self alloc] initWithPathURITemplate:pathURITemplate
HTTPMethod:@"POST"
pathParameterNames:pathParams];
query.resource = resource;
query.expectedObjectClass = [GTLRAiplatform_GoogleIamV1Policy class];
query.loggingName = @"aiplatform.projects.locations.models.getIamPolicy";
return query;
}

@end

@implementation GTLRAiplatformQuery_ProjectsLocationsModelsList

@dynamic filter, orderBy, pageSize, pageToken, parent, readMask;
Expand Down Expand Up @@ -6954,6 +7031,59 @@ + (instancetype)queryWithObject:(GTLRAiplatform_GoogleCloudAiplatformV1Model *)o

@end

@implementation GTLRAiplatformQuery_ProjectsLocationsModelsSetIamPolicy

@dynamic resource;

+ (instancetype)queryWithObject:(GTLRAiplatform_GoogleIamV1SetIamPolicyRequest *)object
resource:(NSString *)resource {
if (object == nil) {
#if defined(DEBUG) && DEBUG
NSAssert(object != nil, @"Got a nil object");
#endif
return nil;
}
NSArray *pathParams = @[ @"resource" ];
NSString *pathURITemplate = @"v1/{+resource}:setIamPolicy";
GTLRAiplatformQuery_ProjectsLocationsModelsSetIamPolicy *query =
[[self alloc] initWithPathURITemplate:pathURITemplate
HTTPMethod:@"POST"
pathParameterNames:pathParams];
query.bodyObject = object;
query.resource = resource;
query.expectedObjectClass = [GTLRAiplatform_GoogleIamV1Policy class];
query.loggingName = @"aiplatform.projects.locations.models.setIamPolicy";
return query;
}

@end

@implementation GTLRAiplatformQuery_ProjectsLocationsModelsTestIamPermissions

@dynamic permissions, resource;

+ (NSDictionary<NSString *, Class> *)arrayPropertyToClassMap {
NSDictionary<NSString *, Class> *map = @{
@"permissions" : [NSString class]
};
return map;
}

+ (instancetype)queryWithResource:(NSString *)resource {
NSArray *pathParams = @[ @"resource" ];
NSString *pathURITemplate = @"v1/{+resource}:testIamPermissions";
GTLRAiplatformQuery_ProjectsLocationsModelsTestIamPermissions *query =
[[self alloc] initWithPathURITemplate:pathURITemplate
HTTPMethod:@"POST"
pathParameterNames:pathParams];
query.resource = resource;
query.expectedObjectClass = [GTLRAiplatform_GoogleIamV1TestIamPermissionsResponse class];
query.loggingName = @"aiplatform.projects.locations.models.testIamPermissions";
return query;
}

@end

@implementation GTLRAiplatformQuery_ProjectsLocationsModelsUpdateExplanationDataset

@dynamic model;
Expand Down Expand Up @@ -7579,7 +7709,7 @@ + (instancetype)queryWithObject:(GTLRAiplatform_GoogleCloudAiplatformV1CancelPip

@implementation GTLRAiplatformQuery_ProjectsLocationsPipelineJobsCreate

@dynamic parent, pipelineJobId, preflightValidations;
@dynamic parent, pipelineJobId;

+ (instancetype)queryWithObject:(GTLRAiplatform_GoogleCloudAiplatformV1PipelineJob *)object
parent:(NSString *)parent {
Expand Down Expand Up @@ -7810,6 +7940,33 @@ + (instancetype)queryWithObject:(GTLRAiplatform_GoogleCloudAiplatformV1CountToke

@end

@implementation GTLRAiplatformQuery_ProjectsLocationsPublishersModelsGenerateContent

@dynamic model;

+ (instancetype)queryWithObject:(GTLRAiplatform_GoogleCloudAiplatformV1GenerateContentRequest *)object
model:(NSString *)model {
if (object == nil) {
#if defined(DEBUG) && DEBUG
NSAssert(object != nil, @"Got a nil object");
#endif
return nil;
}
NSArray *pathParams = @[ @"model" ];
NSString *pathURITemplate = @"v1/{+model}:generateContent";
GTLRAiplatformQuery_ProjectsLocationsPublishersModelsGenerateContent *query =
[[self alloc] initWithPathURITemplate:pathURITemplate
HTTPMethod:@"POST"
pathParameterNames:pathParams];
query.bodyObject = object;
query.model = model;
query.expectedObjectClass = [GTLRAiplatform_GoogleCloudAiplatformV1GenerateContentResponse class];
query.loggingName = @"aiplatform.projects.locations.publishers.models.generateContent";
return query;
}

@end

@implementation GTLRAiplatformQuery_ProjectsLocationsPublishersModelsPredict

@dynamic endpoint;
Expand Down
Loading

0 comments on commit 37abc66

Please sign in to comment.