Skip to content

Commit

Permalink
Generate current service sources.
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasvl committed Jan 5, 2024
1 parent cbfb18f commit a91e1a0
Show file tree
Hide file tree
Showing 281 changed files with 47,421 additions and 6,743 deletions.
10 changes: 10 additions & 0 deletions GoogleAPIClientForREST.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,11 @@ Pod::Spec.new do |s|
sp.source_files = 'Sources/GeneratedServices/Appengine/**/*.{h,m}'
sp.public_header_files = 'Sources/GeneratedServices/Appengine/Public/GoogleAPIClientForREST/*.h'
end
s.subspec 'AppHub' do |sp|
sp.dependency 'GoogleAPIClientForREST/Core'
sp.source_files = 'Sources/GeneratedServices/AppHub/**/*.{h,m}'
sp.public_header_files = 'Sources/GeneratedServices/AppHub/Public/GoogleAPIClientForREST/*.h'
end
s.subspec 'Area120Tables' do |sp|
sp.dependency 'GoogleAPIClientForREST/Core'
sp.source_files = 'Sources/GeneratedServices/Area120Tables/**/*.{h,m}'
Expand Down Expand Up @@ -1359,6 +1364,11 @@ Pod::Spec.new do |s|
sp.source_files = 'Sources/GeneratedServices/VMwareEngine/**/*.{h,m}'
sp.public_header_files = 'Sources/GeneratedServices/VMwareEngine/Public/GoogleAPIClientForREST/*.h'
end
s.subspec 'Walletobjects' do |sp|
sp.dependency 'GoogleAPIClientForREST/Core'
sp.source_files = 'Sources/GeneratedServices/Walletobjects/**/*.{h,m}'
sp.public_header_files = 'Sources/GeneratedServices/Walletobjects/Public/GoogleAPIClientForREST/*.h'
end
s.subspec 'Webfonts' do |sp|
sp.dependency 'GoogleAPIClientForREST/Core'
sp.source_files = 'Sources/GeneratedServices/Webfonts/**/*.{h,m}'
Expand Down
20 changes: 20 additions & 0 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,10 @@ let package = Package(
name: "GoogleAPIClientForREST_Appengine",
targets: ["GoogleAPIClientForREST_Appengine"]
),
.library(
name: "GoogleAPIClientForREST_AppHub",
targets: ["GoogleAPIClientForREST_AppHub"]
),
.library(
name: "GoogleAPIClientForREST_Area120Tables",
targets: ["GoogleAPIClientForREST_Area120Tables"]
Expand Down Expand Up @@ -1065,6 +1069,10 @@ let package = Package(
name: "GoogleAPIClientForREST_VMwareEngine",
targets: ["GoogleAPIClientForREST_VMwareEngine"]
),
.library(
name: "GoogleAPIClientForREST_Walletobjects",
targets: ["GoogleAPIClientForREST_Walletobjects"]
),
.library(
name: "GoogleAPIClientForREST_Webfonts",
targets: ["GoogleAPIClientForREST_Webfonts"]
Expand Down Expand Up @@ -1292,6 +1300,12 @@ let package = Package(
path: "Sources/GeneratedServices/Appengine",
publicHeadersPath: "Public"
),
.target(
name: "GoogleAPIClientForREST_AppHub",
dependencies: ["GoogleAPIClientForRESTCore"],
path: "Sources/GeneratedServices/AppHub",
publicHeadersPath: "Public"
),
.target(
name: "GoogleAPIClientForREST_Area120Tables",
dependencies: ["GoogleAPIClientForRESTCore"],
Expand Down Expand Up @@ -2702,6 +2716,12 @@ let package = Package(
path: "Sources/GeneratedServices/VMwareEngine",
publicHeadersPath: "Public"
),
.target(
name: "GoogleAPIClientForREST_Walletobjects",
dependencies: ["GoogleAPIClientForRESTCore"],
path: "Sources/GeneratedServices/Walletobjects",
publicHeadersPath: "Public"
),
.target(
name: "GoogleAPIClientForREST_Webfonts",
dependencies: ["GoogleAPIClientForRESTCore"],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,7 @@ @implementation GTLRAIPlatformNotebooks_ImageRelease
@implementation GTLRAIPlatformNotebooks_Instance
@dynamic createTime, creator, disableProxyAccess, gceSetup, healthInfo,
healthState, identifier, instanceOwners, labels, name, proxyUri, state,
updateTime, upgradeHistory;
thirdPartyProxyUrl, updateTime, upgradeHistory;

+ (NSDictionary<NSString *, NSString *> *)propertyToJSONKeyMap {
return @{ @"identifier" : @"id" };
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -553,9 +553,25 @@ FOUNDATION_EXTERN NSString * const kGTLRAIPlatformNotebooks_UpgradeHistoryEntry_
* `group:{emailid}`: An email address that represents a Google group. For
* example, `admins\@example.com`. * `domain:{domain}`: The G Suite domain
* (primary) that represents all the users of that domain. For example,
* `google.com` or `example.com`. * `deleted:user:{emailid}?uid={uniqueid}`: An
* email address (plus unique identifier) representing a user that has been
* recently deleted. For example,
* `google.com` or `example.com`. *
* `principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`:
* A single identity in a workforce identity pool. *
* `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/group/{group_id}`:
* All workforce identities in a group. *
* `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/attribute.{attribute_name}/{attribute_value}`:
* All workforce identities with a specific attribute value. *
* `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/
* *`: All identities in a workforce identity pool. *
* `principal://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/subject/{subject_attribute_value}`:
* A single identity in a workload identity pool. *
* `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/group/{group_id}`:
* A workload identity pool group. *
* `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/attribute.{attribute_name}/{attribute_value}`:
* All identities in a workload identity pool with a certain attribute. *
* `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/
* *`: All identities in a workload identity pool. *
* `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique
* identifier) representing a user that has been recently deleted. For example,
* `alice\@example.com?uid=123456789012345678901`. If the user is recovered,
* this value reverts to `user:{emailid}` and the recovered user retains the
* role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An
Expand All @@ -569,7 +585,10 @@ FOUNDATION_EXTERN NSString * const kGTLRAIPlatformNotebooks_UpgradeHistoryEntry_
* recently deleted. For example,
* `admins\@example.com?uid=123456789012345678901`. If the group is recovered,
* this value reverts to `group:{emailid}` and the recovered group retains the
* role in the binding.
* role in the binding. *
* `deleted:principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`:
* Deleted single identity in a workforce identity pool. For example,
* `deleted:principal://iam.googleapis.com/locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value`.
*/
@property(nonatomic, strong, nullable) NSArray<NSString *> *members;

Expand Down Expand Up @@ -1216,6 +1235,12 @@ FOUNDATION_EXTERN NSString * const kGTLRAIPlatformNotebooks_UpgradeHistoryEntry_
*/
@property(nonatomic, copy, nullable) NSString *state;

/**
* Output only. The workforce pools proxy endpoint that is used to access the
* Jupyter notebook.
*/
@property(nonatomic, copy, nullable) NSString *thirdPartyProxyUrl;

/** Output only. Instance update time. */
@property(nonatomic, strong, nullable) GTLRDateTime *updateTime;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
// Constants

// GTLRAccessApproval_AccessReason.type
NSString * const kGTLRAccessApproval_AccessReason_Type_CloudInitiatedAccess = @"CLOUD_INITIATED_ACCESS";
NSString * const kGTLRAccessApproval_AccessReason_Type_CustomerInitiatedSupport = @"CUSTOMER_INITIATED_SUPPORT";
NSString * const kGTLRAccessApproval_AccessReason_Type_GoogleInitiatedReview = @"GOOGLE_INITIATED_REVIEW";
NSString * const kGTLRAccessApproval_AccessReason_Type_GoogleInitiatedService = @"GOOGLE_INITIATED_SERVICE";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,16 @@ NS_ASSUME_NONNULL_BEGIN
// ----------------------------------------------------------------------------
// GTLRAccessApproval_AccessReason.type

/**
* Similar to 'GOOGLE_INITIATED_SERVICE' or 'GOOGLE_INITIATED_REVIEW', but
* meant to reflect when the cloud operator is not Google (namely, a TPC
* operator), and accessed customer data in order to diagnose or resolve a
* suspected issue in services or a known outage, or for security, fraud,
* abuse, or compliance review purposes.
*
* Value: "CLOUD_INITIATED_ACCESS"
*/
FOUNDATION_EXTERN NSString * const kGTLRAccessApproval_AccessReason_Type_CloudInitiatedAccess;
/**
* Customer made a request or raised an issue that required the principal to
* access customer data. `detail` is of the form ("#####" is the issue ID): *
Expand Down Expand Up @@ -360,6 +370,13 @@ FOUNDATION_EXTERN NSString * const kGTLRAccessApproval_SignatureInfo_GoogleKeyAl
* Type of access justification.
*
* Likely values:
* @arg @c kGTLRAccessApproval_AccessReason_Type_CloudInitiatedAccess Similar
* to 'GOOGLE_INITIATED_SERVICE' or 'GOOGLE_INITIATED_REVIEW', but meant
* to reflect when the cloud operator is not Google (namely, a TPC
* operator), and accessed customer data in order to diagnose or resolve
* a suspected issue in services or a known outage, or for security,
* fraud, abuse, or compliance review purposes. (Value:
* "CLOUD_INITIATED_ACCESS")
* @arg @c kGTLRAccessApproval_AccessReason_Type_CustomerInitiatedSupport
* Customer made a request or raised an issue that required the principal
* to access customer data. `detail` is of the form ("#####" is the issue
Expand Down Expand Up @@ -866,8 +883,9 @@ FOUNDATION_EXTERN NSString * const kGTLRAccessApproval_SignatureInfo_GoogleKeyAl
@property(nonatomic, copy, nullable) NSString *googlePublicKeyPem;

/**
* The serialized ApprovalRequest message without the approve.signature_info
* field. This to allow the customer to verify signatures if they want to.
* The ApprovalRequest that is serialized without the SignatureInfo message
* field. This data is used with the hashing algorithm to generate the digital
* signature, and it can be used for signature verification.
*
* Contains encoded binary data; GTLRBase64 can encode/decode (probably
* web-safe format).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,16 @@
NSString * const kGTLRAccessContextManager_ServicePerimeter_PerimeterType_PerimeterTypeBridge = @"PERIMETER_TYPE_BRIDGE";
NSString * const kGTLRAccessContextManager_ServicePerimeter_PerimeterType_PerimeterTypeRegular = @"PERIMETER_TYPE_REGULAR";

// GTLRAccessContextManager_SupportedService.supportStage
NSString * const kGTLRAccessContextManager_SupportedService_SupportStage_Alpha = @"ALPHA";
NSString * const kGTLRAccessContextManager_SupportedService_SupportStage_Beta = @"BETA";
NSString * const kGTLRAccessContextManager_SupportedService_SupportStage_Deprecated = @"DEPRECATED";
NSString * const kGTLRAccessContextManager_SupportedService_SupportStage_EarlyAccess = @"EARLY_ACCESS";
NSString * const kGTLRAccessContextManager_SupportedService_SupportStage_Ga = @"GA";
NSString * const kGTLRAccessContextManager_SupportedService_SupportStage_LaunchStageUnspecified = @"LAUNCH_STAGE_UNSPECIFIED";
NSString * const kGTLRAccessContextManager_SupportedService_SupportStage_Prelaunch = @"PRELAUNCH";
NSString * const kGTLRAccessContextManager_SupportedService_SupportStage_Unimplemented = @"UNIMPLEMENTED";

// ----------------------------------------------------------------------------
//
// GTLRAccessContextManager_AccessLevel
Expand Down Expand Up @@ -643,6 +653,28 @@ + (NSString *)collectionItemsKey {
@end


// ----------------------------------------------------------------------------
//
// GTLRAccessContextManager_ListSupportedServicesResponse
//

@implementation GTLRAccessContextManager_ListSupportedServicesResponse
@dynamic nextPageToken, supportedServices;

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

+ (NSString *)collectionItemsKey {
return @"supportedServices";
}

@end


// ----------------------------------------------------------------------------
//
// GTLRAccessContextManager_MethodSelector
Expand Down Expand Up @@ -894,6 +926,25 @@ + (Class)classForAdditionalProperties {
@end


// ----------------------------------------------------------------------------
//
// GTLRAccessContextManager_SupportedService
//

@implementation GTLRAccessContextManager_SupportedService
@dynamic availableOnRestrictedVip, knownLimitations, name, supportedMethods,
supportStage, title;

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

@end


// ----------------------------------------------------------------------------
//
// GTLRAccessContextManager_TestIamPermissionsRequest
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -876,3 +876,39 @@ + (instancetype)queryWithObject:(GTLRAccessContextManager_GcpUserAccessBinding *
}

@end

@implementation GTLRAccessContextManagerQuery_ServicesGet

@dynamic name;

+ (instancetype)queryWithName:(NSString *)name {
NSArray *pathParams = @[ @"name" ];
NSString *pathURITemplate = @"v1/services/{name}";
GTLRAccessContextManagerQuery_ServicesGet *query =
[[self alloc] initWithPathURITemplate:pathURITemplate
HTTPMethod:nil
pathParameterNames:pathParams];
query.name = name;
query.expectedObjectClass = [GTLRAccessContextManager_SupportedService class];
query.loggingName = @"accesscontextmanager.services.get";
return query;
}

@end

@implementation GTLRAccessContextManagerQuery_ServicesList

@dynamic pageSize, pageToken;

+ (instancetype)query {
NSString *pathURITemplate = @"v1/services";
GTLRAccessContextManagerQuery_ServicesList *query =
[[self alloc] initWithPathURITemplate:pathURITemplate
HTTPMethod:nil
pathParameterNames:nil];
query.expectedObjectClass = [GTLRAccessContextManager_ListSupportedServicesResponse class];
query.loggingName = @"accesscontextmanager.services.list";
return query;
}

@end
Loading

0 comments on commit a91e1a0

Please sign in to comment.