Skip to content

Commit

Permalink
Regenerate current services.
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasvl committed May 10, 2024
1 parent 7f1307c commit d46fb27
Show file tree
Hide file tree
Showing 67 changed files with 23,064 additions and 36,842 deletions.
12,484 changes: 4,642 additions & 7,842 deletions Sources/GeneratedServices/Aiplatform/GTLRAiplatformObjects.m

Large diffs are not rendered by default.

27 changes: 27 additions & 0 deletions Sources/GeneratedServices/Aiplatform/GTLRAiplatformQuery.m
Original file line number Diff line number Diff line change
Expand Up @@ -1006,6 +1006,33 @@ + (instancetype)queryWithParent:(NSString *)parent {

@end

@implementation GTLRAiplatformQuery_ProjectsLocationsDatasetsDatasetVersionsPatch

@dynamic name, updateMask;

+ (instancetype)queryWithObject:(GTLRAiplatform_GoogleCloudAiplatformV1DatasetVersion *)object
name:(NSString *)name {
if (object == nil) {
#if defined(DEBUG) && DEBUG
NSAssert(object != nil, @"Got a nil object");
#endif
return nil;
}
NSArray *pathParams = @[ @"name" ];
NSString *pathURITemplate = @"v1/{+name}";
GTLRAiplatformQuery_ProjectsLocationsDatasetsDatasetVersionsPatch *query =
[[self alloc] initWithPathURITemplate:pathURITemplate
HTTPMethod:@"PATCH"
pathParameterNames:pathParams];
query.bodyObject = object;
query.name = name;
query.expectedObjectClass = [GTLRAiplatform_GoogleCloudAiplatformV1DatasetVersion class];
query.loggingName = @"aiplatform.projects.locations.datasets.datasetVersions.patch";
return query;
}

@end

@implementation GTLRAiplatformQuery_ProjectsLocationsDatasetsDatasetVersionsRestore

@dynamic name;
Expand Down
45,303 changes: 16,535 additions & 28,768 deletions Sources/GeneratedServices/Aiplatform/Public/GoogleAPIClientForREST/GTLRAiplatformObjects.h

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -2002,6 +2002,44 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatformViewPublisherModelViewUnspecif

@end

/**
* Updates a DatasetVersion.
*
* Method: aiplatform.projects.locations.datasets.datasetVersions.patch
*
* Authorization scope(s):
* @c kGTLRAuthScopeAiplatformCloudPlatform
*/
@interface GTLRAiplatformQuery_ProjectsLocationsDatasetsDatasetVersionsPatch : GTLRAiplatformQuery

/** Output only. The resource name of the DatasetVersion. */
@property(nonatomic, copy, nullable) NSString *name;

/**
* Required. The update mask applies to the resource. For the `FieldMask`
* definition, see google.protobuf.FieldMask. Updatable fields: *
* `display_name`
*
* String format is a comma-separated list of fields.
*/
@property(nonatomic, copy, nullable) NSString *updateMask;

/**
* Fetches a @c GTLRAiplatform_GoogleCloudAiplatformV1DatasetVersion.
*
* Updates a DatasetVersion.
*
* @param object The @c GTLRAiplatform_GoogleCloudAiplatformV1DatasetVersion to
* include in the query.
* @param name Output only. The resource name of the DatasetVersion.
*
* @return GTLRAiplatformQuery_ProjectsLocationsDatasetsDatasetVersionsPatch
*/
+ (instancetype)queryWithObject:(GTLRAiplatform_GoogleCloudAiplatformV1DatasetVersion *)object
name:(NSString *)name;

@end

/**
* Restores a dataset version.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2571,7 +2571,8 @@ GTLR_DEPRECATED


/**
* Information specific to a subscription in canceled state.
* Information specific to a subscription in the SUBSCRIPTION_STATE_CANCELED or
* SUBSCRIPTION_STATE_EXPIRED state.
*/
@interface GTLRAndroidPublisher_CanceledStateContext : GTLRObject

Expand Down
3 changes: 2 additions & 1 deletion Sources/GeneratedServices/Apigee/GTLRApigeeObjects.m
Original file line number Diff line number Diff line change
Expand Up @@ -4125,7 +4125,7 @@ @implementation GTLRApigee_GoogleCloudApigeeV1SecurityActionAllow

@implementation GTLRApigee_GoogleCloudApigeeV1SecurityActionConditionConfig
@dynamic accessTokens, apiKeys, apiProducts, asns, botReasons, developerApps,
developers, ipAddressRanges, regionCodes, userAgents;
developers, httpMethods, ipAddressRanges, regionCodes, userAgents;

+ (NSDictionary<NSString *, Class> *)arrayPropertyToClassMap {
NSDictionary<NSString *, Class> *map = @{
Expand All @@ -4136,6 +4136,7 @@ @implementation GTLRApigee_GoogleCloudApigeeV1SecurityActionConditionConfig
@"botReasons" : [NSString class],
@"developerApps" : [NSString class],
@"developers" : [NSString class],
@"httpMethods" : [NSString class],
@"ipAddressRanges" : [NSString class],
@"regionCodes" : [NSString class],
@"userAgents" : [NSString class]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9781,6 +9781,13 @@ FOUNDATION_EXTERN NSString * const kGTLRApigee_GoogleIamV1AuditLogConfig_LogType
/** Optional. A list of developers. Limit 1000 per action. */
@property(nonatomic, strong, nullable) NSArray<NSString *> *developers;

/**
* Optional. Act only on particular HTTP methods. E.g. A read-only API can
* block POST/PUT/DELETE methods. Accepted values are: GET, HEAD, POST, PUT,
* DELETE, CONNECT, OPTIONS, TRACE and PATCH.
*/
@property(nonatomic, strong, nullable) NSArray<NSString *> *httpMethods;

/**
* Optional. A list of IP addresses. This could be either IPv4 or IPv6. Limited
* to 100 per action.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1118,8 +1118,8 @@ @implementation GTLRArtifactRegistry_RemoteRepositoryConfig
@implementation GTLRArtifactRegistry_Repository
@dynamic cleanupPolicies, cleanupPolicyDryRun, createTime, descriptionProperty,
disallowUnspecifiedMode, dockerConfig, format, kmsKeyName, labels,
mavenConfig, mode, name, remoteRepositoryConfig, satisfiesPzs,
sizeBytes, updateTime, virtualRepositoryConfig;
mavenConfig, mode, name, remoteRepositoryConfig, satisfiesPzi,
satisfiesPzs, sizeBytes, updateTime, virtualRepositoryConfig;

+ (NSDictionary<NSString *, NSString *> *)propertyToJSONKeyMap {
return @{ @"descriptionProperty" : @"description" };
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,34 +29,6 @@ @implementation GTLRArtifactRegistryQuery

@end

@implementation GTLRArtifactRegistryQuery_MediaDownload

@dynamic name;

+ (instancetype)queryWithName:(NSString *)name {
NSArray *pathParams = @[ @"name" ];
NSString *pathURITemplate = @"v1/{+name}:download";
GTLRArtifactRegistryQuery_MediaDownload *query =
[[self alloc] initWithPathURITemplate:pathURITemplate
HTTPMethod:nil
pathParameterNames:pathParams];
query.name = name;
query.expectedObjectClass = [GTLRArtifactRegistry_DownloadFileResponse class];
query.loggingName = @"artifactregistry.media.download";
return query;
}

+ (instancetype)queryForMediaWithName:(NSString *)name {
GTLRArtifactRegistryQuery_MediaDownload *query =
[self queryWithName:name];
query.downloadAsDataObjectType = @"media";
query.useMediaDownloadService = YES;
query.loggingName = @"Download artifactregistry.media.download";
return query;
}

@end

@implementation GTLRArtifactRegistryQuery_ProjectsGetProjectSettings

@dynamic name;
Expand Down Expand Up @@ -292,6 +264,34 @@ + (instancetype)queryWithParent:(NSString *)parent {

@end

@implementation GTLRArtifactRegistryQuery_ProjectsLocationsRepositoriesFilesDownload

@dynamic name;

+ (instancetype)queryWithName:(NSString *)name {
NSArray *pathParams = @[ @"name" ];
NSString *pathURITemplate = @"v1/{+name}:download";
GTLRArtifactRegistryQuery_ProjectsLocationsRepositoriesFilesDownload *query =
[[self alloc] initWithPathURITemplate:pathURITemplate
HTTPMethod:nil
pathParameterNames:pathParams];
query.name = name;
query.expectedObjectClass = [GTLRArtifactRegistry_DownloadFileResponse class];
query.loggingName = @"artifactregistry.projects.locations.repositories.files.download";
return query;
}

+ (instancetype)queryForMediaWithName:(NSString *)name {
GTLRArtifactRegistryQuery_ProjectsLocationsRepositoriesFilesDownload *query =
[self queryWithName:name];
query.downloadAsDataObjectType = @"media";
query.useMediaDownloadService = YES;
query.loggingName = @"Download artifactregistry.projects.locations.repositories.files.download";
return query;
}

@end

@implementation GTLRArtifactRegistryQuery_ProjectsLocationsRepositoriesFilesGet

@dynamic name;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1051,7 +1051,7 @@ FOUNDATION_EXTERN NSString * const kGTLRArtifactRegistry_YumArtifact_PackageType

/**
* The name of the file, for example:
* "projects/p1/locations/us-central1/repositories/repo1/files/a%2Fb%2Fc.txt".
* `projects/p1/locations/us-central1/repositories/repo1/files/a%2Fb%2Fc.txt`.
* If the file ID part contains slashes, they are escaped.
*/
@property(nonatomic, copy, nullable) NSString *name;
Expand Down Expand Up @@ -2413,13 +2413,21 @@ FOUNDATION_EXTERN NSString * const kGTLRArtifactRegistry_YumArtifact_PackageType

/**
* The name of the repository, for example:
* `projects/p1/locations/us-central1/repositories/repo1`.
* `projects/p1/locations/us-central1/repositories/repo1`. For each location in
* a project, repository names must be unique.
*/
@property(nonatomic, copy, nullable) NSString *name;

/** Configuration specific for a Remote Repository. */
@property(nonatomic, strong, nullable) GTLRArtifactRegistry_RemoteRepositoryConfig *remoteRepositoryConfig;

/**
* Output only. If set, the repository satisfies physical zone isolation.
*
* Uses NSNumber of boolValue.
*/
@property(nonatomic, strong, nullable) NSNumber *satisfiesPzi;

/**
* Output only. If set, the repository satisfies physical zone separation.
*
Expand Down Expand Up @@ -2937,7 +2945,7 @@ FOUNDATION_EXTERN NSString * const kGTLRArtifactRegistry_YumArtifact_PackageType


/**
* Virtual repository configuration.
* LINT.IfChange Virtual repository configuration.
*/
@interface GTLRArtifactRegistry_VirtualRepositoryConfig : GTLRObject

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,44 +63,6 @@ FOUNDATION_EXTERN NSString * const kGTLRArtifactRegistryViewVersionViewUnspecifi

@end

/**
* Download a file.
*
* Method: artifactregistry.media.download
*
* Authorization scope(s):
* @c kGTLRAuthScopeArtifactRegistryCloudPlatform
* @c kGTLRAuthScopeArtifactRegistryCloudPlatformReadOnly
*/
@interface GTLRArtifactRegistryQuery_MediaDownload : GTLRArtifactRegistryQuery

/** Required. The name of the file to download. */
@property(nonatomic, copy, nullable) NSString *name;

/**
* Fetches a @c GTLRArtifactRegistry_DownloadFileResponse.
*
* Download a file.
*
* @param name Required. The name of the file to download.
*
* @return GTLRArtifactRegistryQuery_MediaDownload
*/
+ (instancetype)queryWithName:(NSString *)name;

/**
* Fetches the requested resource data as a @c GTLRDataObject.
*
* Download a file.
*
* @param name Required. The name of the file to download.
*
* @return GTLRArtifactRegistryQuery_MediaDownload
*/
+ (instancetype)queryForMediaWithName:(NSString *)name;

@end

/**
* Retrieves the Settings for the Project.
*
Expand Down Expand Up @@ -479,6 +441,44 @@ FOUNDATION_EXTERN NSString * const kGTLRArtifactRegistryViewVersionViewUnspecifi

@end

/**
* Download a file.
*
* Method: artifactregistry.projects.locations.repositories.files.download
*
* Authorization scope(s):
* @c kGTLRAuthScopeArtifactRegistryCloudPlatform
* @c kGTLRAuthScopeArtifactRegistryCloudPlatformReadOnly
*/
@interface GTLRArtifactRegistryQuery_ProjectsLocationsRepositoriesFilesDownload : GTLRArtifactRegistryQuery

/** Required. The name of the file to download. */
@property(nonatomic, copy, nullable) NSString *name;

/**
* Fetches a @c GTLRArtifactRegistry_DownloadFileResponse.
*
* Download a file.
*
* @param name Required. The name of the file to download.
*
* @return GTLRArtifactRegistryQuery_ProjectsLocationsRepositoriesFilesDownload
*/
+ (instancetype)queryWithName:(NSString *)name;

/**
* Fetches the requested resource data as a @c GTLRDataObject.
*
* Download a file.
*
* @param name Required. The name of the file to download.
*
* @return GTLRArtifactRegistryQuery_ProjectsLocationsRepositoriesFilesDownload
*/
+ (instancetype)queryForMediaWithName:(NSString *)name;

@end

/**
* Gets a file.
*
Expand Down Expand Up @@ -1512,7 +1512,8 @@ FOUNDATION_EXTERN NSString * const kGTLRArtifactRegistryViewVersionViewUnspecifi

/**
* The name of the repository, for example:
* `projects/p1/locations/us-central1/repositories/repo1`.
* `projects/p1/locations/us-central1/repositories/repo1`. For each location in
* a project, repository names must be unique.
*/
@property(nonatomic, copy, nullable) NSString *name;

Expand All @@ -1532,7 +1533,8 @@ FOUNDATION_EXTERN NSString * const kGTLRArtifactRegistryViewVersionViewUnspecifi
* @param object The @c GTLRArtifactRegistry_Repository to include in the
* query.
* @param name The name of the repository, for example:
* `projects/p1/locations/us-central1/repositories/repo1`.
* `projects/p1/locations/us-central1/repositories/repo1`. For each location
* in a project, repository names must be unique.
*
* @return GTLRArtifactRegistryQuery_ProjectsLocationsRepositoriesPatch
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -749,9 +749,18 @@ + (NSString *)collectionItemsKey {
//

@implementation GTLRAuthorizedBuyersMarketplace_MarketplaceTargeting
@dynamic daypartTargeting, geoTargeting, inventorySizeTargeting,
inventoryTypeTargeting, placementTargeting, technologyTargeting,
userListTargeting, videoTargeting;
@dynamic daypartTargeting, excludedSensitiveCategoryIds, geoTargeting,
inventorySizeTargeting, inventoryTypeTargeting, placementTargeting,
technologyTargeting, userListTargeting, verticalTargeting,
videoTargeting;

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

@end


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ @implementation GTLRAuthorizedBuyersMarketplaceQuery

@implementation GTLRAuthorizedBuyersMarketplaceQuery_BiddersAuctionPackagesList

@dynamic filter, pageSize, pageToken, parent;
@dynamic filter, orderBy, pageSize, pageToken, parent;

+ (instancetype)queryWithParent:(NSString *)parent {
NSArray *pathParams = @[ @"parent" ];
Expand Down Expand Up @@ -76,7 +76,7 @@ + (instancetype)queryWithName:(NSString *)name {

@implementation GTLRAuthorizedBuyersMarketplaceQuery_BuyersAuctionPackagesList

@dynamic filter, pageSize, pageToken, parent;
@dynamic filter, orderBy, pageSize, pageToken, parent;

+ (instancetype)queryWithParent:(NSString *)parent {
NSArray *pathParams = @[ @"parent" ];
Expand Down
Loading

0 comments on commit d46fb27

Please sign in to comment.