@@ -63,44 +63,6 @@ FOUNDATION_EXTERN NSString * const kGTLRArtifactRegistryViewVersionViewUnspecifi
63
63
64
64
@end
65
65
66
- /**
67
- * Download a file.
68
- *
69
- * Method: artifactregistry.media.download
70
- *
71
- * Authorization scope(s):
72
- * @c kGTLRAuthScopeArtifactRegistryCloudPlatform
73
- * @c kGTLRAuthScopeArtifactRegistryCloudPlatformReadOnly
74
- */
75
- @interface GTLRArtifactRegistryQuery_MediaDownload : GTLRArtifactRegistryQuery
76
-
77
- /** Required. The name of the file to download. */
78
- @property(nonatomic, copy, nullable) NSString *name;
79
-
80
- /**
81
- * Fetches a @c GTLRArtifactRegistry_DownloadFileResponse.
82
- *
83
- * Download a file.
84
- *
85
- * @param name Required. The name of the file to download.
86
- *
87
- * @return GTLRArtifactRegistryQuery_MediaDownload
88
- */
89
- + (instancetype)queryWithName:(NSString *)name;
90
-
91
- /**
92
- * Fetches the requested resource data as a @c GTLRDataObject.
93
- *
94
- * Download a file.
95
- *
96
- * @param name Required. The name of the file to download.
97
- *
98
- * @return GTLRArtifactRegistryQuery_MediaDownload
99
- */
100
- + (instancetype)queryForMediaWithName:(NSString *)name;
101
-
102
- @end
103
-
104
66
/**
105
67
* Retrieves the Settings for the Project.
106
68
*
@@ -479,6 +441,44 @@ FOUNDATION_EXTERN NSString * const kGTLRArtifactRegistryViewVersionViewUnspecifi
479
441
480
442
@end
481
443
444
+ /**
445
+ * Download a file.
446
+ *
447
+ * Method: artifactregistry.projects.locations.repositories.files.download
448
+ *
449
+ * Authorization scope(s):
450
+ * @c kGTLRAuthScopeArtifactRegistryCloudPlatform
451
+ * @c kGTLRAuthScopeArtifactRegistryCloudPlatformReadOnly
452
+ */
453
+ @interface GTLRArtifactRegistryQuery_ProjectsLocationsRepositoriesFilesDownload : GTLRArtifactRegistryQuery
454
+
455
+ /** Required. The name of the file to download. */
456
+ @property(nonatomic, copy, nullable) NSString *name;
457
+
458
+ /**
459
+ * Fetches a @c GTLRArtifactRegistry_DownloadFileResponse.
460
+ *
461
+ * Download a file.
462
+ *
463
+ * @param name Required. The name of the file to download.
464
+ *
465
+ * @return GTLRArtifactRegistryQuery_ProjectsLocationsRepositoriesFilesDownload
466
+ */
467
+ + (instancetype)queryWithName:(NSString *)name;
468
+
469
+ /**
470
+ * Fetches the requested resource data as a @c GTLRDataObject.
471
+ *
472
+ * Download a file.
473
+ *
474
+ * @param name Required. The name of the file to download.
475
+ *
476
+ * @return GTLRArtifactRegistryQuery_ProjectsLocationsRepositoriesFilesDownload
477
+ */
478
+ + (instancetype)queryForMediaWithName:(NSString *)name;
479
+
480
+ @end
481
+
482
482
/**
483
483
* Gets a file.
484
484
*
@@ -1512,7 +1512,8 @@ FOUNDATION_EXTERN NSString * const kGTLRArtifactRegistryViewVersionViewUnspecifi
1512
1512
1513
1513
/**
1514
1514
* The name of the repository, for example:
1515
- * `projects/p1/locations/us-central1/repositories/repo1`.
1515
+ * `projects/p1/locations/us-central1/repositories/repo1`. For each location in
1516
+ * a project, repository names must be unique.
1516
1517
*/
1517
1518
@property(nonatomic, copy, nullable) NSString *name;
1518
1519
@@ -1532,7 +1533,8 @@ FOUNDATION_EXTERN NSString * const kGTLRArtifactRegistryViewVersionViewUnspecifi
1532
1533
* @param object The @c GTLRArtifactRegistry_Repository to include in the
1533
1534
* query.
1534
1535
* @param name The name of the repository, for example:
1535
- * `projects/p1/locations/us-central1/repositories/repo1`.
1536
+ * `projects/p1/locations/us-central1/repositories/repo1`. For each location
1537
+ * in a project, repository names must be unique.
1536
1538
*
1537
1539
* @return GTLRArtifactRegistryQuery_ProjectsLocationsRepositoriesPatch
1538
1540
*/
0 commit comments