Skip to content

Commit

Permalink
Update generated services.
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasvl committed May 7, 2024
1 parent 49bc4ee commit dfd34ea
Show file tree
Hide file tree
Showing 233 changed files with 74,579 additions and 367,154 deletions.
5 changes: 5 additions & 0 deletions GoogleAPIClientForREST.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -564,6 +564,11 @@ Pod::Spec.new do |s|
sp.source_files = 'Sources/GeneratedServices/Compute/**/*.{h,m}'
sp.public_header_files = 'Sources/GeneratedServices/Compute/Public/GoogleAPIClientForREST/*.h'
end
s.subspec 'Config' do |sp|
sp.dependency 'GoogleAPIClientForREST/Core'
sp.source_files = 'Sources/GeneratedServices/Config/**/*.{h,m}'
sp.public_header_files = 'Sources/GeneratedServices/Config/Public/GoogleAPIClientForREST/*.h'
end
s.subspec 'Connectors' do |sp|
sp.dependency 'GoogleAPIClientForREST/Core'
sp.source_files = 'Sources/GeneratedServices/Connectors/**/*.{h,m}'
Expand Down
10 changes: 10 additions & 0 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -421,6 +421,10 @@ let package = Package(
name: "GoogleAPIClientForREST_Compute",
targets: ["GoogleAPIClientForREST_Compute"]
),
.library(
name: "GoogleAPIClientForREST_Config",
targets: ["GoogleAPIClientForREST_Config"]
),
.library(
name: "GoogleAPIClientForREST_Connectors",
targets: ["GoogleAPIClientForREST_Connectors"]
Expand Down Expand Up @@ -1773,6 +1777,12 @@ let package = Package(
path: "Sources/GeneratedServices/Compute",
publicHeadersPath: "Public"
),
.target(
name: "GoogleAPIClientForREST_Config",
dependencies: ["GoogleAPIClientForRESTCore"],
path: "Sources/GeneratedServices/Config",
publicHeadersPath: "Public"
),
.target(
name: "GoogleAPIClientForREST_Connectors",
dependencies: ["GoogleAPIClientForRESTCore"],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
NSString * const kGTLRAccessApproval_SignatureInfo_GoogleKeyAlgorithm_Aes256Ctr = @"AES_256_CTR";
NSString * const kGTLRAccessApproval_SignatureInfo_GoogleKeyAlgorithm_Aes256Gcm = @"AES_256_GCM";
NSString * const kGTLRAccessApproval_SignatureInfo_GoogleKeyAlgorithm_CryptoKeyVersionAlgorithmUnspecified = @"CRYPTO_KEY_VERSION_ALGORITHM_UNSPECIFIED";
NSString * const kGTLRAccessApproval_SignatureInfo_GoogleKeyAlgorithm_EcSignEd25519 = @"EC_SIGN_ED25519";
NSString * const kGTLRAccessApproval_SignatureInfo_GoogleKeyAlgorithm_EcSignP256Sha256 = @"EC_SIGN_P256_SHA256";
NSString * const kGTLRAccessApproval_SignatureInfo_GoogleKeyAlgorithm_EcSignP384Sha384 = @"EC_SIGN_P384_SHA384";
NSString * const kGTLRAccessApproval_SignatureInfo_GoogleKeyAlgorithm_EcSignSecp256k1Sha256 = @"EC_SIGN_SECP256K1_SHA256";
Expand Down Expand Up @@ -213,7 +214,7 @@ @implementation GTLRAccessApproval_Settings
@dynamic activeKeyVersion, ancestorHasActiveKeyVersion, enrolledAncestor,
enrolledServices, invalidKeyVersion, name, notificationEmails,
notificationPubsubTopic, preferNoBroadApprovalRequests,
preferredRequestExpirationDays;
preferredRequestExpirationDays, requireCustomerVisibleJustification;

+ (NSDictionary<NSString *, Class> *)arrayPropertyToClassMap {
NSDictionary<NSString *, Class> *map = @{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,12 @@ FOUNDATION_EXTERN NSString * const kGTLRAccessApproval_SignatureInfo_GoogleKeyAl
* Value: "CRYPTO_KEY_VERSION_ALGORITHM_UNSPECIFIED"
*/
FOUNDATION_EXTERN NSString * const kGTLRAccessApproval_SignatureInfo_GoogleKeyAlgorithm_CryptoKeyVersionAlgorithmUnspecified;
/**
* EdDSA on the Curve25519 in pure mode (taking data as input).
*
* Value: "EC_SIGN_ED25519"
*/
FOUNDATION_EXTERN NSString * const kGTLRAccessApproval_SignatureInfo_GoogleKeyAlgorithm_EcSignEd25519;
/**
* ECDSA on the NIST P-256 curve with a SHA256 digest. Other hash functions can
* also be used:
Expand Down Expand Up @@ -751,6 +757,14 @@ FOUNDATION_EXTERN NSString * const kGTLRAccessApproval_SignatureInfo_GoogleKeyAl
*/
@property(nonatomic, strong, nullable) NSNumber *preferredRequestExpirationDays;

/**
* Optional. A setting to require approval request justifications to be
* customer visible.
*
* Uses NSNumber of boolValue.
*/
@property(nonatomic, strong, nullable) NSNumber *requireCustomerVisibleJustification;

@end


Expand Down Expand Up @@ -785,6 +799,9 @@ FOUNDATION_EXTERN NSString * const kGTLRAccessApproval_SignatureInfo_GoogleKeyAl
* "AES_256_GCM")
* @arg @c kGTLRAccessApproval_SignatureInfo_GoogleKeyAlgorithm_CryptoKeyVersionAlgorithmUnspecified
* Not specified. (Value: "CRYPTO_KEY_VERSION_ALGORITHM_UNSPECIFIED")
* @arg @c kGTLRAccessApproval_SignatureInfo_GoogleKeyAlgorithm_EcSignEd25519
* EdDSA on the Curve25519 in pure mode (taking data as input). (Value:
* "EC_SIGN_ED25519")
* @arg @c kGTLRAccessApproval_SignatureInfo_GoogleKeyAlgorithm_EcSignP256Sha256
* ECDSA on the NIST P-256 curve with a SHA256 digest. Other hash
* functions can also be used:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,16 @@ @implementation GTLRAccessContextManager_ApiOperation
@end


// ----------------------------------------------------------------------------
//
// GTLRAccessContextManager_Application
//

@implementation GTLRAccessContextManager_Application
@dynamic clientId, name;
@end


// ----------------------------------------------------------------------------
//
// GTLRAccessContextManager_AuditConfig
Expand Down Expand Up @@ -429,12 +439,14 @@ @implementation GTLRAccessContextManager_Expr
//

@implementation GTLRAccessContextManager_GcpUserAccessBinding
@dynamic accessLevels, dryRunAccessLevels, groupKey, name;
@dynamic accessLevels, dryRunAccessLevels, groupKey, name,
restrictedClientApplications;

+ (NSDictionary<NSString *, Class> *)arrayPropertyToClassMap {
NSDictionary<NSString *, Class> *map = @{
@"accessLevels" : [NSString class],
@"dryRunAccessLevels" : [NSString class]
@"dryRunAccessLevels" : [NSString class],
@"restrictedClientApplications" : [GTLRAccessContextManager_Application class]
};
return map;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
@class GTLRAccessContextManager_AccessLevel;
@class GTLRAccessContextManager_AccessPolicy;
@class GTLRAccessContextManager_ApiOperation;
@class GTLRAccessContextManager_Application;
@class GTLRAccessContextManager_AuditConfig;
@class GTLRAccessContextManager_AuditLogConfig;
@class GTLRAccessContextManager_AuthorizedOrgsDesc;
Expand Down Expand Up @@ -558,6 +559,20 @@ FOUNDATION_EXTERN NSString * const kGTLRAccessContextManager_SupportedService_Su
@end


/**
* An application that accesses Google Cloud APIs.
*/
@interface GTLRAccessContextManager_Application : GTLRObject

/** The OAuth client ID of the application. */
@property(nonatomic, copy, nullable) NSString *clientId;

/** The name of the application. Example: "Cloud Console" */
@property(nonatomic, copy, nullable) NSString *name;

@end


/**
* Specifies the audit configuration for a service. The configuration
* determines which permission types are logged, and what identities, if any,
Expand Down Expand Up @@ -995,8 +1010,11 @@ FOUNDATION_EXTERN NSString * const kGTLRAccessContextManager_SupportedService_Su
@interface GTLRAccessContextManager_EgressFrom : GTLRObject

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

Expand Down Expand Up @@ -1117,8 +1135,9 @@ FOUNDATION_EXTERN NSString * const kGTLRAccessContextManager_SupportedService_Su

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

/**
* Optional. A list of applications that are subject to this binding's
* restrictions. If the list is empty, the binding restrictions will
* universally apply to all applications.
*/
@property(nonatomic, strong, nullable) NSArray<GTLRAccessContextManager_Application *> *restrictedClientApplications;

@end


Expand Down Expand Up @@ -1302,8 +1328,11 @@ FOUNDATION_EXTERN NSString * const kGTLRAccessContextManager_SupportedService_Su
@interface GTLRAccessContextManager_IngressFrom : GTLRObject

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

Expand Down
Loading

0 comments on commit dfd34ea

Please sign in to comment.