Skip to content

Commit dfd34ea

Browse files
committed
Update generated services.
1 parent 49bc4ee commit dfd34ea

File tree

233 files changed

+74579
-367154
lines changed

Some content is hidden

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

233 files changed

+74579
-367154
lines changed

GoogleAPIClientForREST.podspec

+5
Original file line numberDiff line numberDiff line change
@@ -564,6 +564,11 @@ Pod::Spec.new do |s|
564564
sp.source_files = 'Sources/GeneratedServices/Compute/**/*.{h,m}'
565565
sp.public_header_files = 'Sources/GeneratedServices/Compute/Public/GoogleAPIClientForREST/*.h'
566566
end
567+
s.subspec 'Config' do |sp|
568+
sp.dependency 'GoogleAPIClientForREST/Core'
569+
sp.source_files = 'Sources/GeneratedServices/Config/**/*.{h,m}'
570+
sp.public_header_files = 'Sources/GeneratedServices/Config/Public/GoogleAPIClientForREST/*.h'
571+
end
567572
s.subspec 'Connectors' do |sp|
568573
sp.dependency 'GoogleAPIClientForREST/Core'
569574
sp.source_files = 'Sources/GeneratedServices/Connectors/**/*.{h,m}'

Package.swift

+10
Original file line numberDiff line numberDiff line change
@@ -421,6 +421,10 @@ let package = Package(
421421
name: "GoogleAPIClientForREST_Compute",
422422
targets: ["GoogleAPIClientForREST_Compute"]
423423
),
424+
.library(
425+
name: "GoogleAPIClientForREST_Config",
426+
targets: ["GoogleAPIClientForREST_Config"]
427+
),
424428
.library(
425429
name: "GoogleAPIClientForREST_Connectors",
426430
targets: ["GoogleAPIClientForREST_Connectors"]
@@ -1773,6 +1777,12 @@ let package = Package(
17731777
path: "Sources/GeneratedServices/Compute",
17741778
publicHeadersPath: "Public"
17751779
),
1780+
.target(
1781+
name: "GoogleAPIClientForREST_Config",
1782+
dependencies: ["GoogleAPIClientForRESTCore"],
1783+
path: "Sources/GeneratedServices/Config",
1784+
publicHeadersPath: "Public"
1785+
),
17761786
.target(
17771787
name: "GoogleAPIClientForREST_Connectors",
17781788
dependencies: ["GoogleAPIClientForRESTCore"],

Sources/GeneratedServices/AccessApproval/GTLRAccessApprovalObjects.m

+2-1
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434
NSString * const kGTLRAccessApproval_SignatureInfo_GoogleKeyAlgorithm_Aes256Ctr = @"AES_256_CTR";
3535
NSString * const kGTLRAccessApproval_SignatureInfo_GoogleKeyAlgorithm_Aes256Gcm = @"AES_256_GCM";
3636
NSString * const kGTLRAccessApproval_SignatureInfo_GoogleKeyAlgorithm_CryptoKeyVersionAlgorithmUnspecified = @"CRYPTO_KEY_VERSION_ALGORITHM_UNSPECIFIED";
37+
NSString * const kGTLRAccessApproval_SignatureInfo_GoogleKeyAlgorithm_EcSignEd25519 = @"EC_SIGN_ED25519";
3738
NSString * const kGTLRAccessApproval_SignatureInfo_GoogleKeyAlgorithm_EcSignP256Sha256 = @"EC_SIGN_P256_SHA256";
3839
NSString * const kGTLRAccessApproval_SignatureInfo_GoogleKeyAlgorithm_EcSignP384Sha384 = @"EC_SIGN_P384_SHA384";
3940
NSString * const kGTLRAccessApproval_SignatureInfo_GoogleKeyAlgorithm_EcSignSecp256k1Sha256 = @"EC_SIGN_SECP256K1_SHA256";
@@ -213,7 +214,7 @@ @implementation GTLRAccessApproval_Settings
213214
@dynamic activeKeyVersion, ancestorHasActiveKeyVersion, enrolledAncestor,
214215
enrolledServices, invalidKeyVersion, name, notificationEmails,
215216
notificationPubsubTopic, preferNoBroadApprovalRequests,
216-
preferredRequestExpirationDays;
217+
preferredRequestExpirationDays, requireCustomerVisibleJustification;
217218

218219
+ (NSDictionary<NSString *, Class> *)arrayPropertyToClassMap {
219220
NSDictionary<NSString *, Class> *map = @{

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

+17
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,12 @@ FOUNDATION_EXTERN NSString * const kGTLRAccessApproval_SignatureInfo_GoogleKeyAl
152152
* Value: "CRYPTO_KEY_VERSION_ALGORITHM_UNSPECIFIED"
153153
*/
154154
FOUNDATION_EXTERN NSString * const kGTLRAccessApproval_SignatureInfo_GoogleKeyAlgorithm_CryptoKeyVersionAlgorithmUnspecified;
155+
/**
156+
* EdDSA on the Curve25519 in pure mode (taking data as input).
157+
*
158+
* Value: "EC_SIGN_ED25519"
159+
*/
160+
FOUNDATION_EXTERN NSString * const kGTLRAccessApproval_SignatureInfo_GoogleKeyAlgorithm_EcSignEd25519;
155161
/**
156162
* ECDSA on the NIST P-256 curve with a SHA256 digest. Other hash functions can
157163
* also be used:
@@ -751,6 +757,14 @@ FOUNDATION_EXTERN NSString * const kGTLRAccessApproval_SignatureInfo_GoogleKeyAl
751757
*/
752758
@property(nonatomic, strong, nullable) NSNumber *preferredRequestExpirationDays;
753759

760+
/**
761+
* Optional. A setting to require approval request justifications to be
762+
* customer visible.
763+
*
764+
* Uses NSNumber of boolValue.
765+
*/
766+
@property(nonatomic, strong, nullable) NSNumber *requireCustomerVisibleJustification;
767+
754768
@end
755769

756770

@@ -785,6 +799,9 @@ FOUNDATION_EXTERN NSString * const kGTLRAccessApproval_SignatureInfo_GoogleKeyAl
785799
* "AES_256_GCM")
786800
* @arg @c kGTLRAccessApproval_SignatureInfo_GoogleKeyAlgorithm_CryptoKeyVersionAlgorithmUnspecified
787801
* Not specified. (Value: "CRYPTO_KEY_VERSION_ALGORITHM_UNSPECIFIED")
802+
* @arg @c kGTLRAccessApproval_SignatureInfo_GoogleKeyAlgorithm_EcSignEd25519
803+
* EdDSA on the Curve25519 in pure mode (taking data as input). (Value:
804+
* "EC_SIGN_ED25519")
788805
* @arg @c kGTLRAccessApproval_SignatureInfo_GoogleKeyAlgorithm_EcSignP256Sha256
789806
* ECDSA on the NIST P-256 curve with a SHA256 digest. Other hash
790807
* functions can also be used:

Sources/GeneratedServices/AccessContextManager/GTLRAccessContextManagerObjects.m

+14-2
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,16 @@ @implementation GTLRAccessContextManager_ApiOperation
153153
@end
154154

155155

156+
// ----------------------------------------------------------------------------
157+
//
158+
// GTLRAccessContextManager_Application
159+
//
160+
161+
@implementation GTLRAccessContextManager_Application
162+
@dynamic clientId, name;
163+
@end
164+
165+
156166
// ----------------------------------------------------------------------------
157167
//
158168
// GTLRAccessContextManager_AuditConfig
@@ -429,12 +439,14 @@ @implementation GTLRAccessContextManager_Expr
429439
//
430440

431441
@implementation GTLRAccessContextManager_GcpUserAccessBinding
432-
@dynamic accessLevels, dryRunAccessLevels, groupKey, name;
442+
@dynamic accessLevels, dryRunAccessLevels, groupKey, name,
443+
restrictedClientApplications;
433444

434445
+ (NSDictionary<NSString *, Class> *)arrayPropertyToClassMap {
435446
NSDictionary<NSString *, Class> *map = @{
436447
@"accessLevels" : [NSString class],
437-
@"dryRunAccessLevels" : [NSString class]
448+
@"dryRunAccessLevels" : [NSString class],
449+
@"restrictedClientApplications" : [GTLRAccessContextManager_Application class]
438450
};
439451
return map;
440452
}

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

+35-6
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
@class GTLRAccessContextManager_AccessLevel;
2727
@class GTLRAccessContextManager_AccessPolicy;
2828
@class GTLRAccessContextManager_ApiOperation;
29+
@class GTLRAccessContextManager_Application;
2930
@class GTLRAccessContextManager_AuditConfig;
3031
@class GTLRAccessContextManager_AuditLogConfig;
3132
@class GTLRAccessContextManager_AuthorizedOrgsDesc;
@@ -558,6 +559,20 @@ FOUNDATION_EXTERN NSString * const kGTLRAccessContextManager_SupportedService_Su
558559
@end
559560

560561

562+
/**
563+
* An application that accesses Google Cloud APIs.
564+
*/
565+
@interface GTLRAccessContextManager_Application : GTLRObject
566+
567+
/** The OAuth client ID of the application. */
568+
@property(nonatomic, copy, nullable) NSString *clientId;
569+
570+
/** The name of the application. Example: "Cloud Console" */
571+
@property(nonatomic, copy, nullable) NSString *name;
572+
573+
@end
574+
575+
561576
/**
562577
* Specifies the audit configuration for a service. The configuration
563578
* determines which permission types are logged, and what identities, if any,
@@ -995,8 +1010,11 @@ FOUNDATION_EXTERN NSString * const kGTLRAccessContextManager_SupportedService_Su
9951010
@interface GTLRAccessContextManager_EgressFrom : GTLRObject
9961011

9971012
/**
998-
* A list of identities that are allowed access through this [EgressPolicy], in
999-
* the format of `user:{email_id}` or `serviceAccount:{email_id}`.
1013+
* A list of identities that are allowed access through [EgressPolicy].
1014+
* Identities can be an individual user, service account, Google group, or
1015+
* third-party identity. The `v1` identities that have the prefix `user`,
1016+
* `group`, `serviceAccount`, `principal`, and `principalSet` in
1017+
* https://cloud.google.com/iam/docs/principal-identifiers#v1 are supported.
10001018
*/
10011019
@property(nonatomic, strong, nullable) NSArray<NSString *> *identities;
10021020

@@ -1117,8 +1135,9 @@ FOUNDATION_EXTERN NSString * const kGTLRAccessContextManager_SupportedService_Su
11171135

11181136
/**
11191137
* A list of external resources that are allowed to be accessed. Only AWS and
1120-
* Azure resources are supported. For Amazon S3, the supported format is
1121-
* s3://BUCKET_NAME. For Azure Storage, the supported format is
1138+
* Azure resources are supported. For Amazon S3, the supported formats are
1139+
* s3://BUCKET_NAME, s3a://BUCKET_NAME, and s3n://BUCKET_NAME. For Azure
1140+
* Storage, the supported format is
11221141
* azure://myaccount.blob.core.windows.net/CONTAINER_NAME. A request matches if
11231142
* it contains an external resource in this list (Example: s3://bucket/path).
11241143
* Currently '*' is not allowed.
@@ -1245,6 +1264,13 @@ FOUNDATION_EXTERN NSString * const kGTLRAccessContextManager_SupportedService_Su
12451264
*/
12461265
@property(nonatomic, copy, nullable) NSString *name;
12471266

1267+
/**
1268+
* Optional. A list of applications that are subject to this binding's
1269+
* restrictions. If the list is empty, the binding restrictions will
1270+
* universally apply to all applications.
1271+
*/
1272+
@property(nonatomic, strong, nullable) NSArray<GTLRAccessContextManager_Application *> *restrictedClientApplications;
1273+
12481274
@end
12491275

12501276

@@ -1302,8 +1328,11 @@ FOUNDATION_EXTERN NSString * const kGTLRAccessContextManager_SupportedService_Su
13021328
@interface GTLRAccessContextManager_IngressFrom : GTLRObject
13031329

13041330
/**
1305-
* A list of identities that are allowed access through this ingress policy, in
1306-
* the format of `user:{email_id}` or `serviceAccount:{email_id}`.
1331+
* A list of identities that are allowed access through [IngressPolicy].
1332+
* Identities can be an individual user, service account, Google group, or
1333+
* third-party identity. The `v1` identities that have the prefix `user`,
1334+
* `group`, `serviceAccount`, `principal`, and `principalSet` in
1335+
* https://cloud.google.com/iam/docs/principal-identifiers#v1 are supported.
13071336
*/
13081337
@property(nonatomic, strong, nullable) NSArray<NSString *> *identities;
13091338

0 commit comments

Comments
 (0)