Skip to content

Commit bcb0439

Browse files
committed
Generate current service sources.
1 parent b2f2385 commit bcb0439

File tree

185 files changed

+46410
-77892
lines changed

Some content is hidden

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

185 files changed

+46410
-77892
lines changed

Sources/GeneratedServices/AIPlatformNotebooks/GTLRAIPlatformNotebooksObjects.m

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -585,6 +585,16 @@ @implementation GTLRAIPlatformNotebooks_ResetInstanceRequest
585585
@end
586586

587587

588+
// ----------------------------------------------------------------------------
589+
//
590+
// GTLRAIPlatformNotebooks_ResizeDiskRequest
591+
//
592+
593+
@implementation GTLRAIPlatformNotebooks_ResizeDiskRequest
594+
@dynamic bootDisk, dataDisk;
595+
@end
596+
597+
588598
// ----------------------------------------------------------------------------
589599
//
590600
// GTLRAIPlatformNotebooks_RollbackInstanceRequest

Sources/GeneratedServices/AIPlatformNotebooks/GTLRAIPlatformNotebooksQuery.m

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -288,6 +288,33 @@ + (instancetype)queryWithObject:(GTLRAIPlatformNotebooks_ResetInstanceRequest *)
288288

289289
@end
290290

291+
@implementation GTLRAIPlatformNotebooksQuery_ProjectsLocationsInstancesResizeDisk
292+
293+
@dynamic notebookInstance;
294+
295+
+ (instancetype)queryWithObject:(GTLRAIPlatformNotebooks_ResizeDiskRequest *)object
296+
notebookInstance:(NSString *)notebookInstance {
297+
if (object == nil) {
298+
#if defined(DEBUG) && DEBUG
299+
NSAssert(object != nil, @"Got a nil object");
300+
#endif
301+
return nil;
302+
}
303+
NSArray *pathParams = @[ @"notebookInstance" ];
304+
NSString *pathURITemplate = @"v2/{+notebookInstance}:resizeDisk";
305+
GTLRAIPlatformNotebooksQuery_ProjectsLocationsInstancesResizeDisk *query =
306+
[[self alloc] initWithPathURITemplate:pathURITemplate
307+
HTTPMethod:@"POST"
308+
pathParameterNames:pathParams];
309+
query.bodyObject = object;
310+
query.notebookInstance = notebookInstance;
311+
query.expectedObjectClass = [GTLRAIPlatformNotebooks_Operation class];
312+
query.loggingName = @"notebooks.projects.locations.instances.resizeDisk";
313+
return query;
314+
}
315+
316+
@end
317+
291318
@implementation GTLRAIPlatformNotebooksQuery_ProjectsLocationsInstancesRollback
292319

293320
@dynamic name;

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

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1685,6 +1685,20 @@ FOUNDATION_EXTERN NSString * const kGTLRAIPlatformNotebooks_UpgradeHistoryEntry_
16851685
@end
16861686

16871687

1688+
/**
1689+
* Request for resizing the notebook instance disks
1690+
*/
1691+
@interface GTLRAIPlatformNotebooks_ResizeDiskRequest : GTLRObject
1692+
1693+
/** Required. The boot disk to be resized. Only disk_size_gb will be used. */
1694+
@property(nonatomic, strong, nullable) GTLRAIPlatformNotebooks_BootDisk *bootDisk;
1695+
1696+
/** Required. The data disk to be resized. Only disk_size_gb will be used. */
1697+
@property(nonatomic, strong, nullable) GTLRAIPlatformNotebooks_DataDisk *dataDisk;
1698+
1699+
@end
1700+
1701+
16881702
/**
16891703
* Request for rollbacking a notebook instance
16901704
*/

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

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -464,6 +464,39 @@ NS_ASSUME_NONNULL_BEGIN
464464

465465
@end
466466

467+
/**
468+
* Resize a notebook instance disk to a higher capacity.
469+
*
470+
* Method: notebooks.projects.locations.instances.resizeDisk
471+
*
472+
* Authorization scope(s):
473+
* @c kGTLRAuthScopeAIPlatformNotebooksCloudPlatform
474+
*/
475+
@interface GTLRAIPlatformNotebooksQuery_ProjectsLocationsInstancesResizeDisk : GTLRAIPlatformNotebooksQuery
476+
477+
/**
478+
* Required. Format:
479+
* `projects/{project_id}/locations/{location}/instances/{instance_id}`
480+
*/
481+
@property(nonatomic, copy, nullable) NSString *notebookInstance;
482+
483+
/**
484+
* Fetches a @c GTLRAIPlatformNotebooks_Operation.
485+
*
486+
* Resize a notebook instance disk to a higher capacity.
487+
*
488+
* @param object The @c GTLRAIPlatformNotebooks_ResizeDiskRequest to include in
489+
* the query.
490+
* @param notebookInstance Required. Format:
491+
* `projects/{project_id}/locations/{location}/instances/{instance_id}`
492+
*
493+
* @return GTLRAIPlatformNotebooksQuery_ProjectsLocationsInstancesResizeDisk
494+
*/
495+
+ (instancetype)queryWithObject:(GTLRAIPlatformNotebooks_ResizeDiskRequest *)object
496+
notebookInstance:(NSString *)notebookInstance;
497+
498+
@end
499+
467500
/**
468501
* Rollbacks a notebook instance to the previous version.
469502
*

Sources/GeneratedServices/APIGateway/Public/GoogleAPIClientForREST/GTLRAPIGatewayObjects.h

Lines changed: 23 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -535,9 +535,25 @@ FOUNDATION_EXTERN NSString * const kGTLRAPIGateway_Gateway_State_Updating;
535535
* `group:{emailid}`: An email address that represents a Google group. For
536536
* example, `admins\@example.com`. * `domain:{domain}`: The G Suite domain
537537
* (primary) that represents all the users of that domain. For example,
538-
* `google.com` or `example.com`. * `deleted:user:{emailid}?uid={uniqueid}`: An
539-
* email address (plus unique identifier) representing a user that has been
540-
* recently deleted. For example,
538+
* `google.com` or `example.com`. *
539+
* `principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`:
540+
* A single identity in a workforce identity pool. *
541+
* `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/group/{group_id}`:
542+
* All workforce identities in a group. *
543+
* `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/attribute.{attribute_name}/{attribute_value}`:
544+
* All workforce identities with a specific attribute value. *
545+
* `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/
546+
* *`: All identities in a workforce identity pool. *
547+
* `principal://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/subject/{subject_attribute_value}`:
548+
* A single identity in a workload identity pool. *
549+
* `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/group/{group_id}`:
550+
* A workload identity pool group. *
551+
* `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/attribute.{attribute_name}/{attribute_value}`:
552+
* All identities in a workload identity pool with a certain attribute. *
553+
* `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/
554+
* *`: All identities in a workload identity pool. *
555+
* `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique
556+
* identifier) representing a user that has been recently deleted. For example,
541557
* `alice\@example.com?uid=123456789012345678901`. If the user is recovered,
542558
* this value reverts to `user:{emailid}` and the recovered user retains the
543559
* role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An
@@ -551,7 +567,10 @@ FOUNDATION_EXTERN NSString * const kGTLRAPIGateway_Gateway_State_Updating;
551567
* recently deleted. For example,
552568
* `admins\@example.com?uid=123456789012345678901`. If the group is recovered,
553569
* this value reverts to `group:{emailid}` and the recovered group retains the
554-
* role in the binding.
570+
* role in the binding. *
571+
* `deleted:principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`:
572+
* Deleted single identity in a workforce identity pool. For example,
573+
* `deleted:principal://iam.googleapis.com/locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value`.
555574
*/
556575
@property(nonatomic, strong, nullable) NSArray *members;
557576

Sources/GeneratedServices/AccessApproval/Public/GoogleAPIClientForREST/GTLRAccessApprovalObjects.h

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,10 @@ NS_ASSUME_NONNULL_BEGIN
3737
// GTLRAccessApproval_AccessReason.type
3838

3939
/**
40-
* Similar to 'GOOGLE_INITIATED_SERVICE' or 'GOOGLE_INITIATED_REVIEW', but
41-
* meant to reflect when the cloud operator is not Google (namely, a TPC
42-
* operator), and accessed customer data in order to diagnose or resolve a
43-
* suspected issue in services or a known outage, or for security, fraud,
44-
* abuse, or compliance review purposes.
40+
* Similar to 'GOOGLE_INITIATED_SERVICE' or 'GOOGLE_INITIATED_REVIEW', but with
41+
* universe agnostic naming. The principal accessed customer data in order to
42+
* diagnose or resolve a suspected issue in services or a known outage, or for
43+
* security, fraud, abuse, or compliance review purposes.
4544
*
4645
* Value: "CLOUD_INITIATED_ACCESS"
4746
*/
@@ -371,12 +370,11 @@ FOUNDATION_EXTERN NSString * const kGTLRAccessApproval_SignatureInfo_GoogleKeyAl
371370
*
372371
* Likely values:
373372
* @arg @c kGTLRAccessApproval_AccessReason_Type_CloudInitiatedAccess Similar
374-
* to 'GOOGLE_INITIATED_SERVICE' or 'GOOGLE_INITIATED_REVIEW', but meant
375-
* to reflect when the cloud operator is not Google (namely, a TPC
376-
* operator), and accessed customer data in order to diagnose or resolve
377-
* a suspected issue in services or a known outage, or for security,
378-
* fraud, abuse, or compliance review purposes. (Value:
379-
* "CLOUD_INITIATED_ACCESS")
373+
* to 'GOOGLE_INITIATED_SERVICE' or 'GOOGLE_INITIATED_REVIEW', but with
374+
* universe agnostic naming. The principal accessed customer data in
375+
* order to diagnose or resolve a suspected issue in services or a known
376+
* outage, or for security, fraud, abuse, or compliance review purposes.
377+
* (Value: "CLOUD_INITIATED_ACCESS")
380378
* @arg @c kGTLRAccessApproval_AccessReason_Type_CustomerInitiatedSupport
381379
* Customer made a request or raised an issue that required the principal
382380
* to access customer data. `detail` is of the form ("#####" is the issue

0 commit comments

Comments
 (0)