Skip to content

Generate current service sources. #680

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 7, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
5 changes: 5 additions & 0 deletions GoogleAPIClientForREST.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -1389,6 +1389,11 @@ Pod::Spec.new do |s|
sp.source_files = 'Sources/GeneratedServices/Storage/**/*.{h,m}'
sp.public_header_files = 'Sources/GeneratedServices/Storage/Public/GoogleAPIClientForREST/*.h'
end
s.subspec 'StorageBatchOperations' do |sp|
sp.dependency 'GoogleAPIClientForREST/Core'
sp.source_files = 'Sources/GeneratedServices/StorageBatchOperations/**/*.{h,m}'
sp.public_header_files = 'Sources/GeneratedServices/StorageBatchOperations/Public/GoogleAPIClientForREST/*.h'
end
s.subspec 'StorageTransfer' do |sp|
sp.dependency 'GoogleAPIClientForREST/Core'
sp.source_files = 'Sources/GeneratedServices/StorageTransfer/**/*.{h,m}'
Expand Down
10 changes: 10 additions & 0 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -1081,6 +1081,10 @@ let package = Package(
name: "GoogleAPIClientForREST_Storage",
targets: ["GoogleAPIClientForREST_Storage"]
),
.library(
name: "GoogleAPIClientForREST_StorageBatchOperations",
targets: ["GoogleAPIClientForREST_StorageBatchOperations"]
),
.library(
name: "GoogleAPIClientForREST_StorageTransfer",
targets: ["GoogleAPIClientForREST_StorageTransfer"]
Expand Down Expand Up @@ -2831,6 +2835,12 @@ let package = Package(
path: "Sources/GeneratedServices/Storage",
publicHeadersPath: "Public"
),
.target(
name: "GoogleAPIClientForREST_StorageBatchOperations",
dependencies: ["GoogleAPIClientForRESTCore"],
path: "Sources/GeneratedServices/StorageBatchOperations",
publicHeadersPath: "Public"
),
.target(
name: "GoogleAPIClientForREST_StorageTransfer",
dependencies: ["GoogleAPIClientForRESTCore"],
Expand Down
9 changes: 8 additions & 1 deletion Sources/GeneratedServices/APIGateway/GTLRAPIGatewayQuery.m
Original file line number Diff line number Diff line change
Expand Up @@ -611,7 +611,14 @@ + (instancetype)queryWithName:(NSString *)name {

@implementation GTLRAPIGatewayQuery_ProjectsLocationsList

@dynamic filter, name, pageSize, pageToken;
@dynamic extraLocationTypes, filter, name, pageSize, pageToken;

+ (NSDictionary *)arrayPropertyToClassMap {
NSDictionary *map = @{
@"extraLocationTypes" : [NSString class]
};
return map;
}

+ (instancetype)queryWithName:(NSString *)name {
NSArray *pathParams = @[ @"name" ];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1064,6 +1064,12 @@ FOUNDATION_EXTERN NSString * const kGTLRAPIGatewayViewFull;
*/
@interface GTLRAPIGatewayQuery_ProjectsLocationsList : GTLRAPIGatewayQuery

/**
* Optional. A list of extra location types that should be used as conditions
* for controlling the visibility of the locations.
*/
@property(nonatomic, strong, nullable) NSArray *extraLocationTypes;

/**
* A filter to narrow down results to a preferred subset. The filtering
* language accepts strings like `"displayName=tokyo"`, and is documented in
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,13 @@
NSString * const kGTLRAccessApproval_AccessReason_Type_ThirdPartyDataRequest = @"THIRD_PARTY_DATA_REQUEST";
NSString * const kGTLRAccessApproval_AccessReason_Type_TypeUnspecified = @"TYPE_UNSPECIFIED";

// GTLRAccessApproval_CustomerApprovalApprovalPolicy.justificationBasedApprovalPolicy
NSString * const kGTLRAccessApproval_CustomerApprovalApprovalPolicy_JustificationBasedApprovalPolicy_JustificationBasedApprovalEnabledAll = @"JUSTIFICATION_BASED_APPROVAL_ENABLED_ALL";
NSString * const kGTLRAccessApproval_CustomerApprovalApprovalPolicy_JustificationBasedApprovalPolicy_JustificationBasedApprovalEnabledExternalJustifications = @"JUSTIFICATION_BASED_APPROVAL_ENABLED_EXTERNAL_JUSTIFICATIONS";
NSString * const kGTLRAccessApproval_CustomerApprovalApprovalPolicy_JustificationBasedApprovalPolicy_JustificationBasedApprovalInherited = @"JUSTIFICATION_BASED_APPROVAL_INHERITED";
NSString * const kGTLRAccessApproval_CustomerApprovalApprovalPolicy_JustificationBasedApprovalPolicy_JustificationBasedApprovalNotEnabled = @"JUSTIFICATION_BASED_APPROVAL_NOT_ENABLED";
NSString * const kGTLRAccessApproval_CustomerApprovalApprovalPolicy_JustificationBasedApprovalPolicy_JustificationBasedApprovalPolicyUnspecified = @"JUSTIFICATION_BASED_APPROVAL_POLICY_UNSPECIFIED";

// GTLRAccessApproval_EnrolledService.enrollmentLevel
NSString * const kGTLRAccessApproval_EnrolledService_EnrollmentLevel_BlockAll = @"BLOCK_ALL";
NSString * const kGTLRAccessApproval_EnrolledService_EnrollmentLevel_EnrollmentLevelUnspecified = @"ENROLLMENT_LEVEL_UNSPECIFIED";
Expand Down Expand Up @@ -120,7 +127,8 @@ @implementation GTLRAccessApproval_ApproveApprovalRequestMessage
//

@implementation GTLRAccessApproval_ApproveDecision
@dynamic approveTime, autoApproved, expireTime, invalidateTime, signatureInfo;
@dynamic approveTime, autoApproved, expireTime, invalidateTime, policyApproved,
signatureInfo;
@end


Expand All @@ -134,6 +142,16 @@ @implementation GTLRAccessApproval_AugmentedInfo
@end


// ----------------------------------------------------------------------------
//
// GTLRAccessApproval_CustomerApprovalApprovalPolicy
//

@implementation GTLRAccessApproval_CustomerApprovalApprovalPolicy
@dynamic justificationBasedApprovalPolicy;
@end


// ----------------------------------------------------------------------------
//
// GTLRAccessApproval_DismissApprovalRequestMessage
Expand Down Expand Up @@ -229,11 +247,11 @@ @implementation GTLRAccessApproval_ServiceAccount
//

@implementation GTLRAccessApproval_Settings
@dynamic activeKeyVersion, ancestorHasActiveKeyVersion, enrolledAncestor,
enrolledServices, invalidKeyVersion, name, notificationEmails,
notificationPubsubTopic, preferNoBroadApprovalRequests,
preferredRequestExpirationDays, requestScopeMaxWidthPreference,
requireCustomerVisibleJustification;
@dynamic activeKeyVersion, ancestorHasActiveKeyVersion, approvalPolicy,
effectiveApprovalPolicy, enrolledAncestor, enrolledServices,
invalidKeyVersion, name, notificationEmails, notificationPubsubTopic,
preferNoBroadApprovalRequests, preferredRequestExpirationDays,
requestScopeMaxWidthPreference, requireCustomerVisibleJustification;

+ (NSDictionary *)arrayPropertyToClassMap {
NSDictionary *map = @{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
@class GTLRAccessApproval_ApprovalRequest;
@class GTLRAccessApproval_ApproveDecision;
@class GTLRAccessApproval_AugmentedInfo;
@class GTLRAccessApproval_CustomerApprovalApprovalPolicy;
@class GTLRAccessApproval_DismissDecision;
@class GTLRAccessApproval_EnrolledService;
@class GTLRAccessApproval_ResourceProperties;
Expand Down Expand Up @@ -92,6 +93,40 @@ FOUNDATION_EXTERN NSString * const kGTLRAccessApproval_AccessReason_Type_ThirdPa
*/
FOUNDATION_EXTERN NSString * const kGTLRAccessApproval_AccessReason_Type_TypeUnspecified;

// ----------------------------------------------------------------------------
// GTLRAccessApproval_CustomerApprovalApprovalPolicy.justificationBasedApprovalPolicy

/**
* Instant approval is enabled for all accesses.
*
* Value: "JUSTIFICATION_BASED_APPROVAL_ENABLED_ALL"
*/
FOUNDATION_EXTERN NSString * const kGTLRAccessApproval_CustomerApprovalApprovalPolicy_JustificationBasedApprovalPolicy_JustificationBasedApprovalEnabledAll;
/**
* Instant approval is enabled for external justifications.
*
* Value: "JUSTIFICATION_BASED_APPROVAL_ENABLED_EXTERNAL_JUSTIFICATIONS"
*/
FOUNDATION_EXTERN NSString * const kGTLRAccessApproval_CustomerApprovalApprovalPolicy_JustificationBasedApprovalPolicy_JustificationBasedApprovalEnabledExternalJustifications;
/**
* Instant approval is inherited from the parent.
*
* Value: "JUSTIFICATION_BASED_APPROVAL_INHERITED"
*/
FOUNDATION_EXTERN NSString * const kGTLRAccessApproval_CustomerApprovalApprovalPolicy_JustificationBasedApprovalPolicy_JustificationBasedApprovalInherited;
/**
* Instant approval is not enabled for any accesses.
*
* Value: "JUSTIFICATION_BASED_APPROVAL_NOT_ENABLED"
*/
FOUNDATION_EXTERN NSString * const kGTLRAccessApproval_CustomerApprovalApprovalPolicy_JustificationBasedApprovalPolicy_JustificationBasedApprovalNotEnabled;
/**
* Default value for proto.
*
* Value: "JUSTIFICATION_BASED_APPROVAL_POLICY_UNSPECIFIED"
*/
FOUNDATION_EXTERN NSString * const kGTLRAccessApproval_CustomerApprovalApprovalPolicy_JustificationBasedApprovalPolicy_JustificationBasedApprovalPolicyUnspecified;

// ----------------------------------------------------------------------------
// GTLRAccessApproval_EnrolledService.enrollmentLevel

Expand Down Expand Up @@ -547,6 +582,13 @@ FOUNDATION_EXTERN NSString * const kGTLRAccessApproval_SignatureInfo_GoogleKeyAl
/** If set, denotes the timestamp at which the approval is invalidated. */
@property(nonatomic, strong, nullable) GTLRDateTime *invalidateTime;

/**
* True when the request has been approved by the customer's defined policy.
*
* Uses NSNumber of boolValue.
*/
@property(nonatomic, strong, nullable) NSNumber *policyApproved;

/** The signature for the ApprovalRequest and details on how it was signed. */
@property(nonatomic, strong, nullable) GTLRAccessApproval_SignatureInfo *signatureInfo;

Expand All @@ -567,6 +609,36 @@ FOUNDATION_EXTERN NSString * const kGTLRAccessApproval_SignatureInfo_GoogleKeyAl
@end


/**
* Represents all the policies that can be set for Customer Approval.
*/
@interface GTLRAccessApproval_CustomerApprovalApprovalPolicy : GTLRObject

/**
* Optional. Policy for approval based on the justification given.
*
* Likely values:
* @arg @c kGTLRAccessApproval_CustomerApprovalApprovalPolicy_JustificationBasedApprovalPolicy_JustificationBasedApprovalEnabledAll
* Instant approval is enabled for all accesses. (Value:
* "JUSTIFICATION_BASED_APPROVAL_ENABLED_ALL")
* @arg @c kGTLRAccessApproval_CustomerApprovalApprovalPolicy_JustificationBasedApprovalPolicy_JustificationBasedApprovalEnabledExternalJustifications
* Instant approval is enabled for external justifications. (Value:
* "JUSTIFICATION_BASED_APPROVAL_ENABLED_EXTERNAL_JUSTIFICATIONS")
* @arg @c kGTLRAccessApproval_CustomerApprovalApprovalPolicy_JustificationBasedApprovalPolicy_JustificationBasedApprovalInherited
* Instant approval is inherited from the parent. (Value:
* "JUSTIFICATION_BASED_APPROVAL_INHERITED")
* @arg @c kGTLRAccessApproval_CustomerApprovalApprovalPolicy_JustificationBasedApprovalPolicy_JustificationBasedApprovalNotEnabled
* Instant approval is not enabled for any accesses. (Value:
* "JUSTIFICATION_BASED_APPROVAL_NOT_ENABLED")
* @arg @c kGTLRAccessApproval_CustomerApprovalApprovalPolicy_JustificationBasedApprovalPolicy_JustificationBasedApprovalPolicyUnspecified
* Default value for proto. (Value:
* "JUSTIFICATION_BASED_APPROVAL_POLICY_UNSPECIFIED")
*/
@property(nonatomic, copy, nullable) NSString *justificationBasedApprovalPolicy;

@end


/**
* Request to dismiss an approval request.
*/
Expand Down Expand Up @@ -744,6 +816,15 @@ FOUNDATION_EXTERN NSString * const kGTLRAccessApproval_SignatureInfo_GoogleKeyAl
*/
@property(nonatomic, strong, nullable) NSNumber *ancestorHasActiveKeyVersion;

/** Optional. Policy for approval. This contains all policies. */
@property(nonatomic, strong, nullable) GTLRAccessApproval_CustomerApprovalApprovalPolicy *approvalPolicy;

/**
* Output only. Policy for approval included inherited settings to understand
* the exact policy applied to this resource. This is a read-only field.
*/
@property(nonatomic, strong, nullable) GTLRAccessApproval_CustomerApprovalApprovalPolicy *effectiveApprovalPolicy;

/**
* Output only. This field is read only (not settable via
* UpdateAccessApprovalSettings method). If the field is true, that indicates
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1540,13 +1540,12 @@ FOUNDATION_EXTERN NSString * const kGTLRAccessContextManagerAccessLevelFormatLev
* Optional. This field controls whether or not certain repeated settings in
* the update request overwrite or append to existing settings on the binding.
* If true, then append. Otherwise overwrite. So far, only
* scoped_access_settings with reauth_settings supports appending. Global
* scoped_access_settings with session_settings supports appending. Global
* access_levels, access_levels in scoped_access_settings,
* dry_run_access_levels, reauth_settings, and session_settings are not
* compatible with append functionality, and the request will return an error
* if append=true when these settings are in the update_mask. The request will
* also return an error if append=true when "scoped_access_settings" is not set
* in the update_mask.
* dry_run_access_levels, and session_settings are not compatible with append
* functionality, and the request will return an error if append=true when
* these settings are in the update_mask. The request will also return an error
* if append=true when "scoped_access_settings" is not set in the update_mask.
*/
@property(nonatomic, assign) BOOL append;

Expand All @@ -1563,8 +1562,8 @@ FOUNDATION_EXTERN NSString * const kGTLRAccessContextManagerAccessLevelFormatLev
* Required. Only the fields specified in this mask are updated. Because name
* and group_key cannot be changed, update_mask is required and may only
* contain the following fields: `access_levels`, `dry_run_access_levels`,
* `reauth_settings` `session_settings`, `scoped_access_settings`. update_mask
* { paths: "access_levels" }
* `session_settings`, `scoped_access_settings`. update_mask { paths:
* "access_levels" }
*
* String format is a comma-separated list of fields.
*/
Expand Down
Loading