diff --git a/GoogleAPIClientForREST.podspec b/GoogleAPIClientForREST.podspec index 098c57d29..9795e8e12 100644 --- a/GoogleAPIClientForREST.podspec +++ b/GoogleAPIClientForREST.podspec @@ -1320,6 +1320,11 @@ Pod::Spec.new do |s| sp.source_files = 'Sources/GeneratedServices/SecretManager/**/*.{h,m}' sp.public_header_files = 'Sources/GeneratedServices/SecretManager/Public/GoogleAPIClientForREST/*.h' end + s.subspec 'SecureSourceManager' do |sp| + sp.dependency 'GoogleAPIClientForREST/Core' + sp.source_files = 'Sources/GeneratedServices/SecureSourceManager/**/*.{h,m}' + sp.public_header_files = 'Sources/GeneratedServices/SecureSourceManager/Public/GoogleAPIClientForREST/*.h' + end s.subspec 'SecurityCommandCenter' do |sp| sp.dependency 'GoogleAPIClientForREST/Core' sp.source_files = 'Sources/GeneratedServices/SecurityCommandCenter/**/*.{h,m}' diff --git a/Package.swift b/Package.swift index 37eae5884..7d2eba9f2 100644 --- a/Package.swift +++ b/Package.swift @@ -1025,6 +1025,10 @@ let package = Package( name: "GoogleAPIClientForREST_SecretManager", targets: ["GoogleAPIClientForREST_SecretManager"] ), + .library( + name: "GoogleAPIClientForREST_SecureSourceManager", + targets: ["GoogleAPIClientForREST_SecureSourceManager"] + ), .library( name: "GoogleAPIClientForREST_SecurityCommandCenter", targets: ["GoogleAPIClientForREST_SecurityCommandCenter"] @@ -2771,6 +2775,12 @@ let package = Package( path: "Sources/GeneratedServices/SecretManager", publicHeadersPath: "Public" ), + .target( + name: "GoogleAPIClientForREST_SecureSourceManager", + dependencies: ["GoogleAPIClientForRESTCore"], + path: "Sources/GeneratedServices/SecureSourceManager", + publicHeadersPath: "Public" + ), .target( name: "GoogleAPIClientForREST_SecurityCommandCenter", dependencies: ["GoogleAPIClientForRESTCore"], diff --git a/Sources/GeneratedServices/APIManagement/GTLRAPIManagementObjects.m b/Sources/GeneratedServices/APIManagement/GTLRAPIManagementObjects.m index aed7c0da1..a42c366a3 100644 --- a/Sources/GeneratedServices/APIManagement/GTLRAPIManagementObjects.m +++ b/Sources/GeneratedServices/APIManagement/GTLRAPIManagementObjects.m @@ -199,6 +199,17 @@ @implementation GTLRAPIManagement_EnableObservationJobRequest @end +// ---------------------------------------------------------------------------- +// +// GTLRAPIManagement_Entitlement +// + +@implementation GTLRAPIManagement_Entitlement +@dynamic apiObservationEntitled, billingProjectNumber, createTime, name, + updateTime; +@end + + // ---------------------------------------------------------------------------- // // GTLRAPIManagement_GclbObservationSource diff --git a/Sources/GeneratedServices/APIManagement/GTLRAPIManagementQuery.m b/Sources/GeneratedServices/APIManagement/GTLRAPIManagementQuery.m index 625a6c766..a077e68c3 100644 --- a/Sources/GeneratedServices/APIManagement/GTLRAPIManagementQuery.m +++ b/Sources/GeneratedServices/APIManagement/GTLRAPIManagementQuery.m @@ -36,6 +36,25 @@ + (instancetype)queryWithName:(NSString *)name { @end +@implementation GTLRAPIManagementQuery_ProjectsLocationsGetEntitlement + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1alpha/{+name}"; + GTLRAPIManagementQuery_ProjectsLocationsGetEntitlement *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRAPIManagement_Entitlement class]; + query.loggingName = @"apim.projects.locations.getEntitlement"; + return query; +} + +@end + @implementation GTLRAPIManagementQuery_ProjectsLocationsList @dynamic extraLocationTypes, filter, name, pageSize, pageToken; diff --git a/Sources/GeneratedServices/APIManagement/Public/GoogleAPIClientForREST/GTLRAPIManagementObjects.h b/Sources/GeneratedServices/APIManagement/Public/GoogleAPIClientForREST/GTLRAPIManagementObjects.h index 8e36f6cf1..59995ae16 100644 --- a/Sources/GeneratedServices/APIManagement/Public/GoogleAPIClientForREST/GTLRAPIManagementObjects.h +++ b/Sources/GeneratedServices/APIManagement/Public/GoogleAPIClientForREST/GTLRAPIManagementObjects.h @@ -533,6 +533,42 @@ FOUNDATION_EXTERN NSString * const kGTLRAPIManagement_TagAction_Action_Remove; @end +/** + * Entitlement stores data related to API Observation entitlement for a given + * project + */ +@interface GTLRAPIManagement_Entitlement : GTLRObject + +/** + * Whether API Observation is entitled. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *apiObservationEntitled; + +/** + * Project number of associated billing project that has Apigee and Advanced + * API Security entitled. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *billingProjectNumber; + +/** Output only. The time of the entitlement creation. */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; + +/** + * Identifier. The entitlement resource name + * `projects/{project}/locations/{location}/entitlement` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** Output only. The time of the entitlement update. */ +@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; + +@end + + /** * The GCLB observation source. */ diff --git a/Sources/GeneratedServices/APIManagement/Public/GoogleAPIClientForREST/GTLRAPIManagementQuery.h b/Sources/GeneratedServices/APIManagement/Public/GoogleAPIClientForREST/GTLRAPIManagementQuery.h index e5e9bdad6..e74d31a0e 100644 --- a/Sources/GeneratedServices/APIManagement/Public/GoogleAPIClientForREST/GTLRAPIManagementQuery.h +++ b/Sources/GeneratedServices/APIManagement/Public/GoogleAPIClientForREST/GTLRAPIManagementQuery.h @@ -60,6 +60,36 @@ NS_ASSUME_NONNULL_BEGIN @end +/** + * GetEntitlement returns the entitlement for the provided project. + * + * Method: apim.projects.locations.getEntitlement + * + * Authorization scope(s): + * @c kGTLRAuthScopeAPIManagementCloudPlatform + */ +@interface GTLRAPIManagementQuery_ProjectsLocationsGetEntitlement : GTLRAPIManagementQuery + +/** + * Required. The entitlement resource name Format: + * projects/{project}/locations/{location}/entitlement + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRAPIManagement_Entitlement. + * + * GetEntitlement returns the entitlement for the provided project. + * + * @param name Required. The entitlement resource name Format: + * projects/{project}/locations/{location}/entitlement + * + * @return GTLRAPIManagementQuery_ProjectsLocationsGetEntitlement + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + /** * Lists information about the supported locations for this service. * @@ -71,8 +101,8 @@ NS_ASSUME_NONNULL_BEGIN @interface GTLRAPIManagementQuery_ProjectsLocationsList : GTLRAPIManagementQuery /** - * Optional. A list of extra location types that should be used as conditions - * for controlling the visibility of the locations. + * Optional. Do not use this field. It is unsupported and is ignored unless + * explicitly documented otherwise. This is primarily for internal usage. */ @property(nonatomic, strong, nullable) NSArray *extraLocationTypes; diff --git a/Sources/GeneratedServices/APIhub/GTLRAPIhubObjects.m b/Sources/GeneratedServices/APIhub/GTLRAPIhubObjects.m index 916553a96..937f16544 100644 --- a/Sources/GeneratedServices/APIhub/GTLRAPIhubObjects.m +++ b/Sources/GeneratedServices/APIhub/GTLRAPIhubObjects.m @@ -122,11 +122,35 @@ NSString * const kGTLRAPIhub_GoogleCloudApihubV1DependencyErrorDetail_Error_SupplierNotFound = @"SUPPLIER_NOT_FOUND"; NSString * const kGTLRAPIhub_GoogleCloudApihubV1DependencyErrorDetail_Error_SupplierRecreated = @"SUPPLIER_RECREATED"; +// GTLRAPIhub_GoogleCloudApihubV1DiscoveredApiObservation.sourceTypes +NSString * const kGTLRAPIhub_GoogleCloudApihubV1DiscoveredApiObservation_SourceTypes_GcpIlb = @"GCP_ILB"; +NSString * const kGTLRAPIhub_GoogleCloudApihubV1DiscoveredApiObservation_SourceTypes_GcpXlb = @"GCP_XLB"; +NSString * const kGTLRAPIhub_GoogleCloudApihubV1DiscoveredApiObservation_SourceTypes_SourceTypeUnspecified = @"SOURCE_TYPE_UNSPECIFIED"; + +// GTLRAPIhub_GoogleCloudApihubV1DiscoveredApiObservation.style +NSString * const kGTLRAPIhub_GoogleCloudApihubV1DiscoveredApiObservation_Style_Graphql = @"GRAPHQL"; +NSString * const kGTLRAPIhub_GoogleCloudApihubV1DiscoveredApiObservation_Style_Grpc = @"GRPC"; +NSString * const kGTLRAPIhub_GoogleCloudApihubV1DiscoveredApiObservation_Style_Rest = @"REST"; +NSString * const kGTLRAPIhub_GoogleCloudApihubV1DiscoveredApiObservation_Style_StyleUnspecified = @"STYLE_UNSPECIFIED"; + +// GTLRAPIhub_GoogleCloudApihubV1DiscoveredApiOperation.classification +NSString * const kGTLRAPIhub_GoogleCloudApihubV1DiscoveredApiOperation_Classification_ClassificationUnspecified = @"CLASSIFICATION_UNSPECIFIED"; +NSString * const kGTLRAPIhub_GoogleCloudApihubV1DiscoveredApiOperation_Classification_Known = @"KNOWN"; +NSString * const kGTLRAPIhub_GoogleCloudApihubV1DiscoveredApiOperation_Classification_Unknown = @"UNKNOWN"; + // GTLRAPIhub_GoogleCloudApihubV1ExecutionStatus.currentExecutionState NSString * const kGTLRAPIhub_GoogleCloudApihubV1ExecutionStatus_CurrentExecutionState_CurrentExecutionStateUnspecified = @"CURRENT_EXECUTION_STATE_UNSPECIFIED"; NSString * const kGTLRAPIhub_GoogleCloudApihubV1ExecutionStatus_CurrentExecutionState_NotRunning = @"NOT_RUNNING"; NSString * const kGTLRAPIhub_GoogleCloudApihubV1ExecutionStatus_CurrentExecutionState_Running = @"RUNNING"; +// GTLRAPIhub_GoogleCloudApihubV1Header.dataType +NSString * const kGTLRAPIhub_GoogleCloudApihubV1Header_DataType_Bool = @"BOOL"; +NSString * const kGTLRAPIhub_GoogleCloudApihubV1Header_DataType_DataTypeUnspecified = @"DATA_TYPE_UNSPECIFIED"; +NSString * const kGTLRAPIhub_GoogleCloudApihubV1Header_DataType_Float = @"FLOAT"; +NSString * const kGTLRAPIhub_GoogleCloudApihubV1Header_DataType_Integer = @"INTEGER"; +NSString * const kGTLRAPIhub_GoogleCloudApihubV1Header_DataType_String = @"STRING"; +NSString * const kGTLRAPIhub_GoogleCloudApihubV1Header_DataType_Uuid = @"UUID"; + // GTLRAPIhub_GoogleCloudApihubV1HttpOperation.method NSString * const kGTLRAPIhub_GoogleCloudApihubV1HttpOperation_Method_Delete = @"DELETE"; NSString * const kGTLRAPIhub_GoogleCloudApihubV1HttpOperation_Method_Get = @"GET"; @@ -166,6 +190,14 @@ NSString * const kGTLRAPIhub_GoogleCloudApihubV1OpenApiSpecDetails_Format_OpenApiSpec30 = @"OPEN_API_SPEC_3_0"; NSString * const kGTLRAPIhub_GoogleCloudApihubV1OpenApiSpecDetails_Format_OpenApiSpec31 = @"OPEN_API_SPEC_3_1"; +// GTLRAPIhub_GoogleCloudApihubV1PathParam.dataType +NSString * const kGTLRAPIhub_GoogleCloudApihubV1PathParam_DataType_Bool = @"BOOL"; +NSString * const kGTLRAPIhub_GoogleCloudApihubV1PathParam_DataType_DataTypeUnspecified = @"DATA_TYPE_UNSPECIFIED"; +NSString * const kGTLRAPIhub_GoogleCloudApihubV1PathParam_DataType_Float = @"FLOAT"; +NSString * const kGTLRAPIhub_GoogleCloudApihubV1PathParam_DataType_Integer = @"INTEGER"; +NSString * const kGTLRAPIhub_GoogleCloudApihubV1PathParam_DataType_String = @"STRING"; +NSString * const kGTLRAPIhub_GoogleCloudApihubV1PathParam_DataType_Uuid = @"UUID"; + // GTLRAPIhub_GoogleCloudApihubV1Plugin.gatewayType NSString * const kGTLRAPIhub_GoogleCloudApihubV1Plugin_GatewayType_ApiDiscovery = @"API_DISCOVERY"; NSString * const kGTLRAPIhub_GoogleCloudApihubV1Plugin_GatewayType_ApigeeEdgePrivateCloud = @"APIGEE_EDGE_PRIVATE_CLOUD"; @@ -214,6 +246,14 @@ NSString * const kGTLRAPIhub_GoogleCloudApihubV1PluginInstanceAction_State_Error = @"ERROR"; NSString * const kGTLRAPIhub_GoogleCloudApihubV1PluginInstanceAction_State_StateUnspecified = @"STATE_UNSPECIFIED"; +// GTLRAPIhub_GoogleCloudApihubV1QueryParam.dataType +NSString * const kGTLRAPIhub_GoogleCloudApihubV1QueryParam_DataType_Bool = @"BOOL"; +NSString * const kGTLRAPIhub_GoogleCloudApihubV1QueryParam_DataType_DataTypeUnspecified = @"DATA_TYPE_UNSPECIFIED"; +NSString * const kGTLRAPIhub_GoogleCloudApihubV1QueryParam_DataType_Float = @"FLOAT"; +NSString * const kGTLRAPIhub_GoogleCloudApihubV1QueryParam_DataType_Integer = @"INTEGER"; +NSString * const kGTLRAPIhub_GoogleCloudApihubV1QueryParam_DataType_String = @"STRING"; +NSString * const kGTLRAPIhub_GoogleCloudApihubV1QueryParam_DataType_Uuid = @"UUID"; + // GTLRAPIhub_GoogleCloudApihubV1ResourceConfig.actionType NSString * const kGTLRAPIhub_GoogleCloudApihubV1ResourceConfig_ActionType_ActionTypeUnspecified = @"ACTION_TYPE_UNSPECIFIED"; NSString * const kGTLRAPIhub_GoogleCloudApihubV1ResourceConfig_ActionType_SyncMetadata = @"SYNC_METADATA"; @@ -804,6 +844,47 @@ @implementation GTLRAPIhub_GoogleCloudApihubV1DisablePluginRequest @end +// ---------------------------------------------------------------------------- +// +// GTLRAPIhub_GoogleCloudApihubV1DiscoveredApiObservation +// + +@implementation GTLRAPIhub_GoogleCloudApihubV1DiscoveredApiObservation +@dynamic apiOperationCount, createTime, hostname, knownOperationsCount, + lastEventDetectedTime, name, origin, serverIps, sourceLocations, + sourceMetadata, sourceTypes, style, unknownOperationsCount, updateTime; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"serverIps" : [NSString class], + @"sourceLocations" : [NSString class], + @"sourceTypes" : [NSString class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAPIhub_GoogleCloudApihubV1DiscoveredApiOperation +// + +@implementation GTLRAPIhub_GoogleCloudApihubV1DiscoveredApiOperation +@dynamic classification, count, createTime, firstSeenTime, httpOperation, + lastSeenTime, matchResults, name, sourceMetadata, updateTime; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"matchResults" : [GTLRAPIhub_GoogleCloudApihubV1MatchResult class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRAPIhub_GoogleCloudApihubV1Documentation @@ -929,6 +1010,16 @@ @implementation GTLRAPIhub_GoogleCloudApihubV1GoogleServiceAccountConfig @end +// ---------------------------------------------------------------------------- +// +// GTLRAPIhub_GoogleCloudApihubV1Header +// + +@implementation GTLRAPIhub_GoogleCloudApihubV1Header +@dynamic count, dataType, name; +@end + + // ---------------------------------------------------------------------------- // // GTLRAPIhub_GoogleCloudApihubV1HostingService @@ -959,6 +1050,100 @@ @implementation GTLRAPIhub_GoogleCloudApihubV1HttpOperation @end +// ---------------------------------------------------------------------------- +// +// GTLRAPIhub_GoogleCloudApihubV1HttpOperationDetails +// + +@implementation GTLRAPIhub_GoogleCloudApihubV1HttpOperationDetails +@dynamic httpOperation, pathParams, queryParams, request, response; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"pathParams" : [GTLRAPIhub_GoogleCloudApihubV1PathParam class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAPIhub_GoogleCloudApihubV1HttpOperationDetails_QueryParams +// + +@implementation GTLRAPIhub_GoogleCloudApihubV1HttpOperationDetails_QueryParams + ++ (Class)classForAdditionalProperties { + return [GTLRAPIhub_GoogleCloudApihubV1QueryParam class]; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAPIhub_GoogleCloudApihubV1HttpRequest +// + +@implementation GTLRAPIhub_GoogleCloudApihubV1HttpRequest +@dynamic headers; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAPIhub_GoogleCloudApihubV1HttpRequest_Headers +// + +@implementation GTLRAPIhub_GoogleCloudApihubV1HttpRequest_Headers + ++ (Class)classForAdditionalProperties { + return [GTLRAPIhub_GoogleCloudApihubV1Header class]; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAPIhub_GoogleCloudApihubV1HttpResponse +// + +@implementation GTLRAPIhub_GoogleCloudApihubV1HttpResponse +@dynamic headers, responseCodes; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAPIhub_GoogleCloudApihubV1HttpResponse_Headers +// + +@implementation GTLRAPIhub_GoogleCloudApihubV1HttpResponse_Headers + ++ (Class)classForAdditionalProperties { + return [GTLRAPIhub_GoogleCloudApihubV1Header class]; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAPIhub_GoogleCloudApihubV1HttpResponse_ResponseCodes +// + +@implementation GTLRAPIhub_GoogleCloudApihubV1HttpResponse_ResponseCodes + ++ (Class)classForAdditionalProperties { + return [NSNumber class]; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRAPIhub_GoogleCloudApihubV1Issue @@ -1147,6 +1332,50 @@ + (NSString *)collectionItemsKey { @end +// ---------------------------------------------------------------------------- +// +// GTLRAPIhub_GoogleCloudApihubV1ListDiscoveredApiObservationsResponse +// + +@implementation GTLRAPIhub_GoogleCloudApihubV1ListDiscoveredApiObservationsResponse +@dynamic discoveredApiObservations, nextPageToken; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"discoveredApiObservations" : [GTLRAPIhub_GoogleCloudApihubV1DiscoveredApiObservation class] + }; + return map; +} + ++ (NSString *)collectionItemsKey { + return @"discoveredApiObservations"; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAPIhub_GoogleCloudApihubV1ListDiscoveredApiOperationsResponse +// + +@implementation GTLRAPIhub_GoogleCloudApihubV1ListDiscoveredApiOperationsResponse +@dynamic discoveredApiOperations, nextPageToken; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"discoveredApiOperations" : [GTLRAPIhub_GoogleCloudApihubV1DiscoveredApiOperation class] + }; + return map; +} + ++ (NSString *)collectionItemsKey { + return @"discoveredApiOperations"; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRAPIhub_GoogleCloudApihubV1ListExternalApisResponse @@ -1321,6 +1550,16 @@ @implementation GTLRAPIhub_GoogleCloudApihubV1LookupRuntimeProjectAttachmentResp @end +// ---------------------------------------------------------------------------- +// +// GTLRAPIhub_GoogleCloudApihubV1MatchResult +// + +@implementation GTLRAPIhub_GoogleCloudApihubV1MatchResult +@dynamic name; +@end + + // ---------------------------------------------------------------------------- // // GTLRAPIhub_GoogleCloudApihubV1MultiIntValues @@ -1446,6 +1685,16 @@ @implementation GTLRAPIhub_GoogleCloudApihubV1Path @end +// ---------------------------------------------------------------------------- +// +// GTLRAPIhub_GoogleCloudApihubV1PathParam +// + +@implementation GTLRAPIhub_GoogleCloudApihubV1PathParam +@dynamic dataType, position; +@end + + // ---------------------------------------------------------------------------- // // GTLRAPIhub_GoogleCloudApihubV1Plugin @@ -1563,6 +1812,16 @@ @implementation GTLRAPIhub_GoogleCloudApihubV1Point @end +// ---------------------------------------------------------------------------- +// +// GTLRAPIhub_GoogleCloudApihubV1QueryParam +// + +@implementation GTLRAPIhub_GoogleCloudApihubV1QueryParam +@dynamic count, dataType, name; +@end + + // ---------------------------------------------------------------------------- // // GTLRAPIhub_GoogleCloudApihubV1Range diff --git a/Sources/GeneratedServices/APIhub/GTLRAPIhubQuery.m b/Sources/GeneratedServices/APIhub/GTLRAPIhubQuery.m index c1cd9cd53..7fabf4d09 100644 --- a/Sources/GeneratedServices/APIhub/GTLRAPIhubQuery.m +++ b/Sources/GeneratedServices/APIhub/GTLRAPIhubQuery.m @@ -1078,6 +1078,82 @@ + (instancetype)queryWithObject:(GTLRAPIhub_GoogleCloudApihubV1Deployment *)obje @end +@implementation GTLRAPIhubQuery_ProjectsLocationsDiscoveredApiObservationsDiscoveredApiOperationsGet + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRAPIhubQuery_ProjectsLocationsDiscoveredApiObservationsDiscoveredApiOperationsGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRAPIhub_GoogleCloudApihubV1DiscoveredApiOperation class]; + query.loggingName = @"apihub.projects.locations.discoveredApiObservations.discoveredApiOperations.get"; + return query; +} + +@end + +@implementation GTLRAPIhubQuery_ProjectsLocationsDiscoveredApiObservationsDiscoveredApiOperationsList + +@dynamic pageSize, pageToken, parent; + ++ (instancetype)queryWithParent:(NSString *)parent { + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v1/{+parent}/discoveredApiOperations"; + GTLRAPIhubQuery_ProjectsLocationsDiscoveredApiObservationsDiscoveredApiOperationsList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.parent = parent; + query.expectedObjectClass = [GTLRAPIhub_GoogleCloudApihubV1ListDiscoveredApiOperationsResponse class]; + query.loggingName = @"apihub.projects.locations.discoveredApiObservations.discoveredApiOperations.list"; + return query; +} + +@end + +@implementation GTLRAPIhubQuery_ProjectsLocationsDiscoveredApiObservationsGet + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRAPIhubQuery_ProjectsLocationsDiscoveredApiObservationsGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRAPIhub_GoogleCloudApihubV1DiscoveredApiObservation class]; + query.loggingName = @"apihub.projects.locations.discoveredApiObservations.get"; + return query; +} + +@end + +@implementation GTLRAPIhubQuery_ProjectsLocationsDiscoveredApiObservationsList + +@dynamic pageSize, pageToken, parent; + ++ (instancetype)queryWithParent:(NSString *)parent { + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v1/{+parent}/discoveredApiObservations"; + GTLRAPIhubQuery_ProjectsLocationsDiscoveredApiObservationsList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.parent = parent; + query.expectedObjectClass = [GTLRAPIhub_GoogleCloudApihubV1ListDiscoveredApiObservationsResponse class]; + query.loggingName = @"apihub.projects.locations.discoveredApiObservations.list"; + return query; +} + +@end + @implementation GTLRAPIhubQuery_ProjectsLocationsExternalApisCreate @dynamic externalApiId, parent; diff --git a/Sources/GeneratedServices/APIhub/Public/GoogleAPIClientForREST/GTLRAPIhubObjects.h b/Sources/GeneratedServices/APIhub/Public/GoogleAPIClientForREST/GTLRAPIhubObjects.h index 953c2e4e1..b0b4c46cf 100644 --- a/Sources/GeneratedServices/APIhub/Public/GoogleAPIClientForREST/GTLRAPIhubObjects.h +++ b/Sources/GeneratedServices/APIhub/Public/GoogleAPIClientForREST/GTLRAPIhubObjects.h @@ -47,6 +47,8 @@ @class GTLRAPIhub_GoogleCloudApihubV1Deployment; @class GTLRAPIhub_GoogleCloudApihubV1Deployment_Attributes; @class GTLRAPIhub_GoogleCloudApihubV1DeploymentMetadata; +@class GTLRAPIhub_GoogleCloudApihubV1DiscoveredApiObservation; +@class GTLRAPIhub_GoogleCloudApihubV1DiscoveredApiOperation; @class GTLRAPIhub_GoogleCloudApihubV1Documentation; @class GTLRAPIhub_GoogleCloudApihubV1Endpoint; @class GTLRAPIhub_GoogleCloudApihubV1EnumAttributeValues; @@ -54,12 +56,21 @@ @class GTLRAPIhub_GoogleCloudApihubV1ExternalApi; @class GTLRAPIhub_GoogleCloudApihubV1ExternalApi_Attributes; @class GTLRAPIhub_GoogleCloudApihubV1GoogleServiceAccountConfig; +@class GTLRAPIhub_GoogleCloudApihubV1Header; @class GTLRAPIhub_GoogleCloudApihubV1HostingService; @class GTLRAPIhub_GoogleCloudApihubV1HostProjectRegistration; @class GTLRAPIhub_GoogleCloudApihubV1HttpOperation; +@class GTLRAPIhub_GoogleCloudApihubV1HttpOperationDetails; +@class GTLRAPIhub_GoogleCloudApihubV1HttpOperationDetails_QueryParams; +@class GTLRAPIhub_GoogleCloudApihubV1HttpRequest; +@class GTLRAPIhub_GoogleCloudApihubV1HttpRequest_Headers; +@class GTLRAPIhub_GoogleCloudApihubV1HttpResponse; +@class GTLRAPIhub_GoogleCloudApihubV1HttpResponse_Headers; +@class GTLRAPIhub_GoogleCloudApihubV1HttpResponse_ResponseCodes; @class GTLRAPIhub_GoogleCloudApihubV1Issue; @class GTLRAPIhub_GoogleCloudApihubV1LastExecution; @class GTLRAPIhub_GoogleCloudApihubV1LintResponse; +@class GTLRAPIhub_GoogleCloudApihubV1MatchResult; @class GTLRAPIhub_GoogleCloudApihubV1MultiIntValues; @class GTLRAPIhub_GoogleCloudApihubV1MultiSelectValues; @class GTLRAPIhub_GoogleCloudApihubV1MultiStringValues; @@ -68,6 +79,7 @@ @class GTLRAPIhub_GoogleCloudApihubV1OperationDetails; @class GTLRAPIhub_GoogleCloudApihubV1Owner; @class GTLRAPIhub_GoogleCloudApihubV1Path; +@class GTLRAPIhub_GoogleCloudApihubV1PathParam; @class GTLRAPIhub_GoogleCloudApihubV1Plugin; @class GTLRAPIhub_GoogleCloudApihubV1PluginActionConfig; @class GTLRAPIhub_GoogleCloudApihubV1PluginInstance; @@ -76,6 +88,7 @@ @class GTLRAPIhub_GoogleCloudApihubV1PluginInstanceActionID; @class GTLRAPIhub_GoogleCloudApihubV1PluginInstanceActionSource; @class GTLRAPIhub_GoogleCloudApihubV1Point; +@class GTLRAPIhub_GoogleCloudApihubV1QueryParam; @class GTLRAPIhub_GoogleCloudApihubV1Range; @class GTLRAPIhub_GoogleCloudApihubV1ResourceConfig; @class GTLRAPIhub_GoogleCloudApihubV1RuntimeProjectAttachment; @@ -649,6 +662,78 @@ FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1DependencyErro */ FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1DependencyErrorDetail_Error_SupplierRecreated; +// ---------------------------------------------------------------------------- +// GTLRAPIhub_GoogleCloudApihubV1DiscoveredApiObservation.sourceTypes + +/** + * GCP internal load balancer. + * + * Value: "GCP_ILB" + */ +FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1DiscoveredApiObservation_SourceTypes_GcpIlb; +/** + * GCP external load balancer. + * + * Value: "GCP_XLB" + */ +FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1DiscoveredApiObservation_SourceTypes_GcpXlb; +/** + * Source type not specified. + * + * Value: "SOURCE_TYPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1DiscoveredApiObservation_SourceTypes_SourceTypeUnspecified; + +// ---------------------------------------------------------------------------- +// GTLRAPIhub_GoogleCloudApihubV1DiscoveredApiObservation.style + +/** + * Style is GraphQL API + * + * Value: "GRAPHQL" + */ +FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1DiscoveredApiObservation_Style_Graphql; +/** + * Style is Grpc API + * + * Value: "GRPC" + */ +FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1DiscoveredApiObservation_Style_Grpc; +/** + * Style is Rest API + * + * Value: "REST" + */ +FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1DiscoveredApiObservation_Style_Rest; +/** + * Unknown style + * + * Value: "STYLE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1DiscoveredApiObservation_Style_StyleUnspecified; + +// ---------------------------------------------------------------------------- +// GTLRAPIhub_GoogleCloudApihubV1DiscoveredApiOperation.classification + +/** + * Operation is not classified as known or unknown. + * + * Value: "CLASSIFICATION_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1DiscoveredApiOperation_Classification_ClassificationUnspecified; +/** + * Operation has a matched catalog operation. + * + * Value: "KNOWN" + */ +FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1DiscoveredApiOperation_Classification_Known; +/** + * Operation does not have a matched catalog operation. + * + * Value: "UNKNOWN" + */ +FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1DiscoveredApiOperation_Classification_Unknown; + // ---------------------------------------------------------------------------- // GTLRAPIhub_GoogleCloudApihubV1ExecutionStatus.currentExecutionState @@ -671,6 +756,46 @@ FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1ExecutionStatu */ FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1ExecutionStatus_CurrentExecutionState_Running; +// ---------------------------------------------------------------------------- +// GTLRAPIhub_GoogleCloudApihubV1Header.dataType + +/** + * Boolean data type + * + * Value: "BOOL" + */ +FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1Header_DataType_Bool; +/** + * Unspecified data type + * + * Value: "DATA_TYPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1Header_DataType_DataTypeUnspecified; +/** + * Float data type + * + * Value: "FLOAT" + */ +FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1Header_DataType_Float; +/** + * Integer data type + * + * Value: "INTEGER" + */ +FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1Header_DataType_Integer; +/** + * String data type + * + * Value: "STRING" + */ +FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1Header_DataType_String; +/** + * UUID data type + * + * Value: "UUID" + */ +FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1Header_DataType_Uuid; + // ---------------------------------------------------------------------------- // GTLRAPIhub_GoogleCloudApihubV1HttpOperation.method @@ -857,6 +982,46 @@ FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1OpenApiSpecDet */ FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1OpenApiSpecDetails_Format_OpenApiSpec31; +// ---------------------------------------------------------------------------- +// GTLRAPIhub_GoogleCloudApihubV1PathParam.dataType + +/** + * Boolean data type + * + * Value: "BOOL" + */ +FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1PathParam_DataType_Bool; +/** + * Unspecified data type + * + * Value: "DATA_TYPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1PathParam_DataType_DataTypeUnspecified; +/** + * Float data type + * + * Value: "FLOAT" + */ +FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1PathParam_DataType_Float; +/** + * Integer data type + * + * Value: "INTEGER" + */ +FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1PathParam_DataType_Integer; +/** + * String data type + * + * Value: "STRING" + */ +FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1PathParam_DataType_String; +/** + * UUID data type + * + * Value: "UUID" + */ +FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1PathParam_DataType_Uuid; + // ---------------------------------------------------------------------------- // GTLRAPIhub_GoogleCloudApihubV1Plugin.gatewayType @@ -1118,6 +1283,46 @@ FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1PluginInstance */ FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1PluginInstanceAction_State_StateUnspecified; +// ---------------------------------------------------------------------------- +// GTLRAPIhub_GoogleCloudApihubV1QueryParam.dataType + +/** + * Boolean data type + * + * Value: "BOOL" + */ +FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1QueryParam_DataType_Bool; +/** + * Unspecified data type + * + * Value: "DATA_TYPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1QueryParam_DataType_DataTypeUnspecified; +/** + * Float data type + * + * Value: "FLOAT" + */ +FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1QueryParam_DataType_Float; +/** + * Integer data type + * + * Value: "INTEGER" + */ +FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1QueryParam_DataType_Integer; +/** + * String data type + * + * Value: "STRING" + */ +FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1QueryParam_DataType_String; +/** + * UUID data type + * + * Value: "UUID" + */ +FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1QueryParam_DataType_Uuid; + // ---------------------------------------------------------------------------- // GTLRAPIhub_GoogleCloudApihubV1ResourceConfig.actionType @@ -2681,7 +2886,8 @@ FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1SummaryEntry_S * deployment. This maps to the following system defined attribute: * `projects/{project}/locations/{location}/attributes/system-management-url` * The number of values for this attribute will be based on the cardinality of - * the attribute. The same can be retrieved via GetAttribute API. + * the attribute. The same can be retrieved via GetAttribute API. The value of + * the attribute should be a valid URL. */ @property(nonatomic, strong, nullable) GTLRAPIhub_GoogleCloudApihubV1AttributeValues *managementUrl; @@ -2692,9 +2898,12 @@ FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1SummaryEntry_S @property(nonatomic, copy, nullable) NSString *name; /** - * Required. A uri that uniquely identfies the deployment within a particular - * gateway. For example, if the runtime resource is of type APIGEE_PROXY, then - * this field will be a combination of org, proxy name and environment. + * Required. The resource URI identifies the deployment within its gateway. For + * Apigee gateways, its recommended to use the format: + * organizations/{org}/environments/{env}/apis/{api}. For ex: if a proxy with + * name `orders` is deployed in `staging` environment of `cymbal` organization, + * the resource URI would be: + * `organizations/cymbal/environments/staging/apis/orders`. */ @property(nonatomic, copy, nullable) NSString *resourceUri; @@ -2733,7 +2942,9 @@ FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1SummaryEntry_S * attribute: * `projects/{project}/locations/{location}/attributes/system-source-uri` The * number of values for this attribute will be based on the cardinality of the - * attribute. The same can be retrieved via GetAttribute API. + * attribute. The same can be retrieved via GetAttribute API. The value of the + * attribute should be a valid URI, and in case of Cloud Storage URI, it should + * point to a Cloud Storage object, not a directory. */ @property(nonatomic, strong, nullable) GTLRAPIhub_GoogleCloudApihubV1AttributeValues *sourceUri; @@ -2809,6 +3020,165 @@ FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1SummaryEntry_S @end +/** + * Respresents an API Observation observed in one of the sources. + */ +@interface GTLRAPIhub_GoogleCloudApihubV1DiscoveredApiObservation : GTLRObject + +/** + * Optional. The number of observed API Operations. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *apiOperationCount; + +/** Output only. Create time stamp of the observation in API Hub. */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; + +/** Optional. The hostname of requests processed for this Observation. */ +@property(nonatomic, copy, nullable) NSString *hostname; + +/** + * Output only. The number of known API Operations. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *knownOperationsCount; + +/** Optional. Last event detected time stamp */ +@property(nonatomic, strong, nullable) GTLRDateTime *lastEventDetectedTime; + +/** + * Identifier. The name of the discovered API Observation. Format: + * `projects/{project}/locations/{location}/discoveredApiObservations/{discovered_api_observation}` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Optional. For an observation pushed from a gcp resource, this would be the + * gcp project id. + */ +@property(nonatomic, copy, nullable) NSString *origin; + +/** + * Optional. The IP address (IPv4 or IPv6) of the origin server that the + * request was sent to. This field can include port information. Examples: + * `"192.168.1.1"`, `"10.0.0.1:80"`, `"FE80::0202:B3FF:FE1E:8329"`. + */ +@property(nonatomic, strong, nullable) NSArray *serverIps; + +/** Optional. The location of the observation source. */ +@property(nonatomic, strong, nullable) NSArray *sourceLocations; + +/** + * Output only. The metadata of the source from which the observation was + * collected. + */ +@property(nonatomic, strong, nullable) GTLRAPIhub_GoogleCloudApihubV1SourceMetadata *sourceMetadata; + +/** + * Optional. The type of the source from which the observation was collected. + */ +@property(nonatomic, strong, nullable) NSArray *sourceTypes; + +/** + * Optional. Style of ApiObservation + * + * Likely values: + * @arg @c kGTLRAPIhub_GoogleCloudApihubV1DiscoveredApiObservation_Style_Graphql + * Style is GraphQL API (Value: "GRAPHQL") + * @arg @c kGTLRAPIhub_GoogleCloudApihubV1DiscoveredApiObservation_Style_Grpc + * Style is Grpc API (Value: "GRPC") + * @arg @c kGTLRAPIhub_GoogleCloudApihubV1DiscoveredApiObservation_Style_Rest + * Style is Rest API (Value: "REST") + * @arg @c kGTLRAPIhub_GoogleCloudApihubV1DiscoveredApiObservation_Style_StyleUnspecified + * Unknown style (Value: "STYLE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *style; + +/** + * Output only. The number of unknown API Operations. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *unknownOperationsCount; + +/** Output only. Update time stamp of the observation in API Hub. */ +@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; + +@end + + +/** + * DiscoveredApiOperation represents an API Operation observed in one of the + * sources. + */ +@interface GTLRAPIhub_GoogleCloudApihubV1DiscoveredApiOperation : GTLRObject + +/** + * Output only. The classification of the discovered API operation. + * + * Likely values: + * @arg @c kGTLRAPIhub_GoogleCloudApihubV1DiscoveredApiOperation_Classification_ClassificationUnspecified + * Operation is not classified as known or unknown. (Value: + * "CLASSIFICATION_UNSPECIFIED") + * @arg @c kGTLRAPIhub_GoogleCloudApihubV1DiscoveredApiOperation_Classification_Known + * Operation has a matched catalog operation. (Value: "KNOWN") + * @arg @c kGTLRAPIhub_GoogleCloudApihubV1DiscoveredApiOperation_Classification_Unknown + * Operation does not have a matched catalog operation. (Value: + * "UNKNOWN") + */ +@property(nonatomic, copy, nullable) NSString *classification; + +/** + * Optional. The number of occurrences of this API Operation. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *count; + +/** + * Output only. Create time stamp of the discovered API operation in API Hub. + */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; + +/** Optional. First seen time stamp */ +@property(nonatomic, strong, nullable) GTLRDateTime *firstSeenTime; + +/** Optional. An HTTP Operation. */ +@property(nonatomic, strong, nullable) GTLRAPIhub_GoogleCloudApihubV1HttpOperationDetails *httpOperation; + +/** Optional. Last seen time stamp */ +@property(nonatomic, strong, nullable) GTLRDateTime *lastSeenTime; + +/** + * Output only. The list of matched results for the discovered API operation. + * This will be populated only if the classification is known. The current + * usecase is for a single match. Keeping it repeated to support multiple + * matches in future. + */ +@property(nonatomic, strong, nullable) NSArray *matchResults; + +/** + * Identifier. The name of the discovered API Operation. Format: + * `projects/{project}/locations/{location}/discoveredApiObservations/{discovered_api_observation}/discoveredApiOperations/{discovered_api_operation}` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Output only. The metadata of the source from which the api operation was + * collected. + */ +@property(nonatomic, strong, nullable) GTLRAPIhub_GoogleCloudApihubV1SourceMetadata *sourceMetadata; + +/** + * Output only. Update time stamp of the discovered API operation in API Hub. + */ +@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; + +@end + + /** * Documentation details. */ @@ -2986,6 +3356,43 @@ FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1SummaryEntry_S @end +/** + * An aggregation of HTTP header occurrences. + */ +@interface GTLRAPIhub_GoogleCloudApihubV1Header : GTLRObject + +/** + * The number of occurrences of this Header across transactions. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *count; + +/** + * Data type of header + * + * Likely values: + * @arg @c kGTLRAPIhub_GoogleCloudApihubV1Header_DataType_Bool Boolean data + * type (Value: "BOOL") + * @arg @c kGTLRAPIhub_GoogleCloudApihubV1Header_DataType_DataTypeUnspecified + * Unspecified data type (Value: "DATA_TYPE_UNSPECIFIED") + * @arg @c kGTLRAPIhub_GoogleCloudApihubV1Header_DataType_Float Float data + * type (Value: "FLOAT") + * @arg @c kGTLRAPIhub_GoogleCloudApihubV1Header_DataType_Integer Integer + * data type (Value: "INTEGER") + * @arg @c kGTLRAPIhub_GoogleCloudApihubV1Header_DataType_String String data + * type (Value: "STRING") + * @arg @c kGTLRAPIhub_GoogleCloudApihubV1Header_DataType_Uuid UUID data type + * (Value: "UUID") + */ +@property(nonatomic, copy, nullable) NSString *dataType; + +/** Header name. */ +@property(nonatomic, copy, nullable) NSString *name; + +@end + + /** * The information related to the service implemented by the plugin developer, * used to invoke the plugin's functionality. @@ -3074,6 +3481,103 @@ FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1SummaryEntry_S @end +/** + * An HTTP-based API Operation, sometimes called a "REST" Operation. + */ +@interface GTLRAPIhub_GoogleCloudApihubV1HttpOperationDetails : GTLRObject + +/** Required. An HTTP Operation. */ +@property(nonatomic, strong, nullable) GTLRAPIhub_GoogleCloudApihubV1HttpOperation *httpOperation; + +/** Optional. Path params of HttpOperation */ +@property(nonatomic, strong, nullable) NSArray *pathParams; + +/** Optional. Query params of HttpOperation */ +@property(nonatomic, strong, nullable) GTLRAPIhub_GoogleCloudApihubV1HttpOperationDetails_QueryParams *queryParams; + +/** Optional. Request metadata. */ +@property(nonatomic, strong, nullable) GTLRAPIhub_GoogleCloudApihubV1HttpRequest *request; + +/** Optional. Response metadata. */ +@property(nonatomic, strong, nullable) GTLRAPIhub_GoogleCloudApihubV1HttpResponse *response; + +@end + + +/** + * Optional. Query params of HttpOperation + * + * @note This class is documented as having more properties of + * GTLRAPIhub_GoogleCloudApihubV1QueryParam. Use @c -additionalJSONKeys + * and @c -additionalPropertyForName: to get the list of properties and + * then fetch them; or @c -additionalProperties to fetch them all at + * once. + */ +@interface GTLRAPIhub_GoogleCloudApihubV1HttpOperationDetails_QueryParams : GTLRObject +@end + + +/** + * An aggregation of HTTP requests. + */ +@interface GTLRAPIhub_GoogleCloudApihubV1HttpRequest : GTLRObject + +/** Optional. Unordered map from header name to header metadata */ +@property(nonatomic, strong, nullable) GTLRAPIhub_GoogleCloudApihubV1HttpRequest_Headers *headers; + +@end + + +/** + * Optional. Unordered map from header name to header metadata + * + * @note This class is documented as having more properties of + * GTLRAPIhub_GoogleCloudApihubV1Header. Use @c -additionalJSONKeys and + * @c -additionalPropertyForName: to get the list of properties and then + * fetch them; or @c -additionalProperties to fetch them all at once. + */ +@interface GTLRAPIhub_GoogleCloudApihubV1HttpRequest_Headers : GTLRObject +@end + + +/** + * An aggregation of HTTP responses. + */ +@interface GTLRAPIhub_GoogleCloudApihubV1HttpResponse : GTLRObject + +/** Optional. Unordered map from header name to header metadata */ +@property(nonatomic, strong, nullable) GTLRAPIhub_GoogleCloudApihubV1HttpResponse_Headers *headers; + +/** Optional. Map of status code to observed count */ +@property(nonatomic, strong, nullable) GTLRAPIhub_GoogleCloudApihubV1HttpResponse_ResponseCodes *responseCodes; + +@end + + +/** + * Optional. Unordered map from header name to header metadata + * + * @note This class is documented as having more properties of + * GTLRAPIhub_GoogleCloudApihubV1Header. Use @c -additionalJSONKeys and + * @c -additionalPropertyForName: to get the list of properties and then + * fetch them; or @c -additionalProperties to fetch them all at once. + */ +@interface GTLRAPIhub_GoogleCloudApihubV1HttpResponse_Headers : GTLRObject +@end + + +/** + * Optional. Map of status code to observed count + * + * @note This class is documented as having more properties of NSNumber (Uses + * NSNumber of longLongValue.). Use @c -additionalJSONKeys and @c + * -additionalPropertyForName: to get the list of properties and then + * fetch them; or @c -additionalProperties to fetch them all at once. + */ +@interface GTLRAPIhub_GoogleCloudApihubV1HttpResponse_ResponseCodes : GTLRObject +@end + + /** * Issue contains the details of a single issue found by the linter. */ @@ -3366,6 +3870,61 @@ FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1SummaryEntry_S @end +/** + * Message for response to listing DiscoveredApiObservations + * + * @note This class supports NSFastEnumeration and indexed subscripting over + * its "discoveredApiObservations" property. If returned as the result of + * a query, it should support automatic pagination (when @c + * shouldFetchNextPages is enabled). + */ +@interface GTLRAPIhub_GoogleCloudApihubV1ListDiscoveredApiObservationsResponse : GTLRCollectionObject + +/** + * The DiscoveredApiObservation from the specified project and location. + * + * @note This property is used to support NSFastEnumeration and indexed + * subscripting on this class. + */ +@property(nonatomic, strong, nullable) NSArray *discoveredApiObservations; + +/** + * A token, which can be sent as `page_token` to retrieve the next page. If + * this field is omitted, there are no subsequent pages. + */ +@property(nonatomic, copy, nullable) NSString *nextPageToken; + +@end + + +/** + * Message for response to listing DiscoveredApiOperations + * + * @note This class supports NSFastEnumeration and indexed subscripting over + * its "discoveredApiOperations" property. If returned as the result of a + * query, it should support automatic pagination (when @c + * shouldFetchNextPages is enabled). + */ +@interface GTLRAPIhub_GoogleCloudApihubV1ListDiscoveredApiOperationsResponse : GTLRCollectionObject + +/** + * The DiscoveredApiOperations from the specified project, location and + * DiscoveredApiObservation. + * + * @note This property is used to support NSFastEnumeration and indexed + * subscripting on this class. + */ +@property(nonatomic, strong, nullable) NSArray *discoveredApiOperations; + +/** + * A token, which can be sent as `page_token` to retrieve the next page. If + * this field is omitted, there are no subsequent pages. + */ +@property(nonatomic, copy, nullable) NSString *nextPageToken; + +@end + + /** * The ListExternalApis method's response. * @@ -3577,6 +4136,21 @@ FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1SummaryEntry_S @end +/** + * MatchResult represents the result of matching a discovered API operation + * with a catalog API operation. + */ +@interface GTLRAPIhub_GoogleCloudApihubV1MatchResult : GTLRObject + +/** + * Output only. The name of the matched API Operation. Format: + * `projects/{project}/locations/{location}/apis/{api}/versions/{version}/operations/{operation}` + */ +@property(nonatomic, copy, nullable) NSString *name; + +@end + + /** * The config variable value of data type multi int. */ @@ -3777,12 +4351,46 @@ FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1SummaryEntry_S @end +/** + * HTTP Path parameter. + */ +@interface GTLRAPIhub_GoogleCloudApihubV1PathParam : GTLRObject + +/** + * Optional. Data type of path param + * + * Likely values: + * @arg @c kGTLRAPIhub_GoogleCloudApihubV1PathParam_DataType_Bool Boolean + * data type (Value: "BOOL") + * @arg @c kGTLRAPIhub_GoogleCloudApihubV1PathParam_DataType_DataTypeUnspecified + * Unspecified data type (Value: "DATA_TYPE_UNSPECIFIED") + * @arg @c kGTLRAPIhub_GoogleCloudApihubV1PathParam_DataType_Float Float data + * type (Value: "FLOAT") + * @arg @c kGTLRAPIhub_GoogleCloudApihubV1PathParam_DataType_Integer Integer + * data type (Value: "INTEGER") + * @arg @c kGTLRAPIhub_GoogleCloudApihubV1PathParam_DataType_String String + * data type (Value: "STRING") + * @arg @c kGTLRAPIhub_GoogleCloudApihubV1PathParam_DataType_Uuid UUID data + * type (Value: "UUID") + */ +@property(nonatomic, copy, nullable) NSString *dataType; + +/** + * Optional. Segment location in the path, 1-indexed + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *position; + +@end + + /** * A plugin resource in the API Hub. */ @interface GTLRAPIhub_GoogleCloudApihubV1Plugin : GTLRObject -/** Optional. The configuration of actions supported by the plugin. */ +/** Required. The configuration of actions supported by the plugin. */ @property(nonatomic, strong, nullable) NSArray *actionsConfig; /** Optional. The configuration template for the plugin. */ @@ -4026,7 +4634,8 @@ FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1SummaryEntry_S /** * Optional. The source project id of the plugin instance. This will be the id * of runtime project in case of gcp based plugins and org id in case of non - * gcp based plugins. This is a required field. + * gcp based plugins. This field will be a required field for Google provided + * on-ramp plugins. */ @property(nonatomic, copy, nullable) NSString *sourceProjectId; @@ -4231,6 +4840,44 @@ FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1SummaryEntry_S @end +/** + * An aggregation of HTTP query parameter occurrences. + */ +@interface GTLRAPIhub_GoogleCloudApihubV1QueryParam : GTLRObject + +/** + * Optional. The number of occurrences of this query parameter across + * transactions. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *count; + +/** + * Optional. Data type of path param + * + * Likely values: + * @arg @c kGTLRAPIhub_GoogleCloudApihubV1QueryParam_DataType_Bool Boolean + * data type (Value: "BOOL") + * @arg @c kGTLRAPIhub_GoogleCloudApihubV1QueryParam_DataType_DataTypeUnspecified + * Unspecified data type (Value: "DATA_TYPE_UNSPECIFIED") + * @arg @c kGTLRAPIhub_GoogleCloudApihubV1QueryParam_DataType_Float Float + * data type (Value: "FLOAT") + * @arg @c kGTLRAPIhub_GoogleCloudApihubV1QueryParam_DataType_Integer Integer + * data type (Value: "INTEGER") + * @arg @c kGTLRAPIhub_GoogleCloudApihubV1QueryParam_DataType_String String + * data type (Value: "STRING") + * @arg @c kGTLRAPIhub_GoogleCloudApihubV1QueryParam_DataType_Uuid UUID data + * type (Value: "UUID") + */ +@property(nonatomic, copy, nullable) NSString *dataType; + +/** Required. Name of query param */ +@property(nonatomic, copy, nullable) NSString *name; + +@end + + /** * Object describing where in the file the issue was found. */ diff --git a/Sources/GeneratedServices/APIhub/Public/GoogleAPIClientForREST/GTLRAPIhubQuery.h b/Sources/GeneratedServices/APIhub/Public/GoogleAPIClientForREST/GTLRAPIhubQuery.h index afaf5beab..e47dcab0c 100644 --- a/Sources/GeneratedServices/APIhub/Public/GoogleAPIClientForREST/GTLRAPIhubQuery.h +++ b/Sources/GeneratedServices/APIhub/Public/GoogleAPIClientForREST/GTLRAPIhubQuery.h @@ -2313,6 +2313,9 @@ NS_ASSUME_NONNULL_BEGIN * operators: `>` and `<`. * `resource_uri` - A URI to the deployment resource. * Allowed comparison operators: `=`. * `api_versions` - The API versions * linked to this deployment. Allowed comparison operators: `:`. * + * `source_project` - The project/organization at source for the deployment. + * Allowed comparison operators: `=`. * `source_environment` - The environment + * at source for the deployment. Allowed comparison operators: `=`. * * `deployment_type.enum_values.values.id` - The allowed value id of the * deployment_type attribute associated with the Deployment. Allowed comparison * operators: `:`. * `deployment_type.enum_values.values.display_name` - The @@ -2471,6 +2474,177 @@ NS_ASSUME_NONNULL_BEGIN @end +/** + * Gets a DiscoveredAPIOperation in a given project, location, ApiObservation + * and ApiOperation. + * + * Method: apihub.projects.locations.discoveredApiObservations.discoveredApiOperations.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeAPIhubCloudPlatform + */ +@interface GTLRAPIhubQuery_ProjectsLocationsDiscoveredApiObservationsDiscoveredApiOperationsGet : GTLRAPIhubQuery + +/** + * Required. The name of the DiscoveredApiOperation to retrieve. Format: + * projects/{project}/locations/{location}/discoveredApiObservations/{discovered_api_observation}/discoveredApiOperations/{discovered_api_operation} + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRAPIhub_GoogleCloudApihubV1DiscoveredApiOperation. + * + * Gets a DiscoveredAPIOperation in a given project, location, ApiObservation + * and ApiOperation. + * + * @param name Required. The name of the DiscoveredApiOperation to retrieve. + * Format: + * projects/{project}/locations/{location}/discoveredApiObservations/{discovered_api_observation}/discoveredApiOperations/{discovered_api_operation} + * + * @return GTLRAPIhubQuery_ProjectsLocationsDiscoveredApiObservationsDiscoveredApiOperationsGet + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Lists all the DiscoveredAPIOperations in a given project, location and + * ApiObservation. + * + * Method: apihub.projects.locations.discoveredApiObservations.discoveredApiOperations.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeAPIhubCloudPlatform + */ +@interface GTLRAPIhubQuery_ProjectsLocationsDiscoveredApiObservationsDiscoveredApiOperationsList : GTLRAPIhubQuery + +/** + * Optional. DiscoveredApiOperations will be returned. The maximum value is + * 1000; values above 1000 will be coerced to 1000. + */ +@property(nonatomic, assign) NSInteger pageSize; + +/** + * Optional. A page token, received from a previous + * `ListDiscoveredApiApiOperations` call. Provide this to retrieve the + * subsequent page. When paginating, all other parameters provided to + * `ListDiscoveredApiApiOperations` must match the call that provided the page + * token. + */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** + * Required. The parent, which owns this collection of DiscoveredApiOperations. + * Format: + * projects/{project}/locations/{location}/discoveredApiObservations/{discovered_api_observation} + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c + * GTLRAPIhub_GoogleCloudApihubV1ListDiscoveredApiOperationsResponse. + * + * Lists all the DiscoveredAPIOperations in a given project, location and + * ApiObservation. + * + * @param parent Required. The parent, which owns this collection of + * DiscoveredApiOperations. Format: + * projects/{project}/locations/{location}/discoveredApiObservations/{discovered_api_observation} + * + * @return GTLRAPIhubQuery_ProjectsLocationsDiscoveredApiObservationsDiscoveredApiOperationsList + * + * @note Automatic pagination will be done when @c shouldFetchNextPages is + * enabled. See @c shouldFetchNextPages on @c GTLRService for more + * information. + */ ++ (instancetype)queryWithParent:(NSString *)parent; + +@end + +/** + * Gets a DiscoveredAPIObservation in a given project, location and + * ApiObservation. + * + * Method: apihub.projects.locations.discoveredApiObservations.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeAPIhubCloudPlatform + */ +@interface GTLRAPIhubQuery_ProjectsLocationsDiscoveredApiObservationsGet : GTLRAPIhubQuery + +/** + * Required. The name of the DiscoveredApiObservation to retrieve. Format: + * projects/{project}/locations/{location}/discoveredApiObservations/{discovered_api_observation} + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRAPIhub_GoogleCloudApihubV1DiscoveredApiObservation. + * + * Gets a DiscoveredAPIObservation in a given project, location and + * ApiObservation. + * + * @param name Required. The name of the DiscoveredApiObservation to retrieve. + * Format: + * projects/{project}/locations/{location}/discoveredApiObservations/{discovered_api_observation} + * + * @return GTLRAPIhubQuery_ProjectsLocationsDiscoveredApiObservationsGet + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Lists all the DiscoveredAPIObservations in a given project and location. + * + * Method: apihub.projects.locations.discoveredApiObservations.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeAPIhubCloudPlatform + */ +@interface GTLRAPIhubQuery_ProjectsLocationsDiscoveredApiObservationsList : GTLRAPIhubQuery + +/** + * Optional. The maximum number of ApiObservations to return. The service may + * return fewer than this value. If unspecified, at most 10 ApiObservations + * will be returned. The maximum value is 1000; values above 1000 will be + * coerced to 1000. + */ +@property(nonatomic, assign) NSInteger pageSize; + +/** + * Optional. A page token, received from a previous `ListApiObservations` call. + * Provide this to retrieve the subsequent page. When paginating, all other + * parameters provided to `ListApiObservations` must match the call that + * provided the page token. + */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** + * Required. The parent, which owns this collection of ApiObservations. Format: + * projects/{project}/locations/{location} + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c + * GTLRAPIhub_GoogleCloudApihubV1ListDiscoveredApiObservationsResponse. + * + * Lists all the DiscoveredAPIObservations in a given project and location. + * + * @param parent Required. The parent, which owns this collection of + * ApiObservations. Format: projects/{project}/locations/{location} + * + * @return GTLRAPIhubQuery_ProjectsLocationsDiscoveredApiObservationsList + * + * @note Automatic pagination will be done when @c shouldFetchNextPages is + * enabled. See @c shouldFetchNextPages on @c GTLRService for more + * information. + */ ++ (instancetype)queryWithParent:(NSString *)parent; + +@end + /** * Create an External API resource in the API hub. * diff --git a/Sources/GeneratedServices/AdExchangeBuyerII/GTLRAdExchangeBuyerIIObjects.m b/Sources/GeneratedServices/AdExchangeBuyerII/GTLRAdExchangeBuyerIIObjects.m index b62f2a144..4b26aa824 100644 --- a/Sources/GeneratedServices/AdExchangeBuyerII/GTLRAdExchangeBuyerIIObjects.m +++ b/Sources/GeneratedServices/AdExchangeBuyerII/GTLRAdExchangeBuyerIIObjects.m @@ -401,6 +401,7 @@ NSString * const kGTLRAdExchangeBuyerII_NonBillableWinningBidStatusRow_Status_FatalVastError = @"FATAL_VAST_ERROR"; NSString * const kGTLRAdExchangeBuyerII_NonBillableWinningBidStatusRow_Status_InvalidImpression = @"INVALID_IMPRESSION"; NSString * const kGTLRAdExchangeBuyerII_NonBillableWinningBidStatusRow_Status_LostInMediation = @"LOST_IN_MEDIATION"; +NSString * const kGTLRAdExchangeBuyerII_NonBillableWinningBidStatusRow_Status_OverdeliveredImpression = @"OVERDELIVERED_IMPRESSION"; NSString * const kGTLRAdExchangeBuyerII_NonBillableWinningBidStatusRow_Status_StatusUnspecified = @"STATUS_UNSPECIFIED"; // GTLRAdExchangeBuyerII_Note.creatorRole diff --git a/Sources/GeneratedServices/AdExchangeBuyerII/Public/GoogleAPIClientForREST/GTLRAdExchangeBuyerIIObjects.h b/Sources/GeneratedServices/AdExchangeBuyerII/Public/GoogleAPIClientForREST/GTLRAdExchangeBuyerIIObjects.h index e3fa001bb..204febc58 100644 --- a/Sources/GeneratedServices/AdExchangeBuyerII/Public/GoogleAPIClientForREST/GTLRAdExchangeBuyerIIObjects.h +++ b/Sources/GeneratedServices/AdExchangeBuyerII/Public/GoogleAPIClientForREST/GTLRAdExchangeBuyerIIObjects.h @@ -2176,6 +2176,13 @@ FOUNDATION_EXTERN NSString * const kGTLRAdExchangeBuyerII_NonBillableWinningBidS * Value: "LOST_IN_MEDIATION" */ FOUNDATION_EXTERN NSString * const kGTLRAdExchangeBuyerII_NonBillableWinningBidStatusRow_Status_LostInMediation; +/** + * The impression was not billed because it exceeded a guaranteed deal delivery + * goal. + * + * Value: "OVERDELIVERED_IMPRESSION" + */ +FOUNDATION_EXTERN NSString * const kGTLRAdExchangeBuyerII_NonBillableWinningBidStatusRow_Status_OverdeliveredImpression; /** * A placeholder for an undefined status. This value will never be returned in * responses. @@ -5560,6 +5567,9 @@ FOUNDATION_EXTERN NSString * const kGTLRAdExchangeBuyerII_VideoTargeting_Targete * @arg @c kGTLRAdExchangeBuyerII_NonBillableWinningBidStatusRow_Status_LostInMediation * The buyer was not billed because the ad was outplaced in the mediation * waterfall. (Value: "LOST_IN_MEDIATION") + * @arg @c kGTLRAdExchangeBuyerII_NonBillableWinningBidStatusRow_Status_OverdeliveredImpression + * The impression was not billed because it exceeded a guaranteed deal + * delivery goal. (Value: "OVERDELIVERED_IMPRESSION") * @arg @c kGTLRAdExchangeBuyerII_NonBillableWinningBidStatusRow_Status_StatusUnspecified * A placeholder for an undefined status. This value will never be * returned in responses. (Value: "STATUS_UNSPECIFIED") diff --git a/Sources/GeneratedServices/Aiplatform/GTLRAiplatformObjects.m b/Sources/GeneratedServices/Aiplatform/GTLRAiplatformObjects.m index 0dc933088..6fd746548 100644 --- a/Sources/GeneratedServices/Aiplatform/GTLRAiplatformObjects.m +++ b/Sources/GeneratedServices/Aiplatform/GTLRAiplatformObjects.m @@ -86,6 +86,7 @@ NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Candidate_FinishReason_ImageSafety = @"IMAGE_SAFETY"; NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Candidate_FinishReason_MalformedFunctionCall = @"MALFORMED_FUNCTION_CALL"; NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Candidate_FinishReason_MaxTokens = @"MAX_TOKENS"; +NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Candidate_FinishReason_ModelArmor = @"MODEL_ARMOR"; NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Candidate_FinishReason_Other = @"OTHER"; NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Candidate_FinishReason_ProhibitedContent = @"PROHIBITED_CONTENT"; NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Candidate_FinishReason_Recitation = @"RECITATION"; @@ -149,6 +150,10 @@ NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1DataLabelingJob_State_JobStateUnspecified = @"JOB_STATE_UNSPECIFIED"; NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1DataLabelingJob_State_JobStateUpdating = @"JOB_STATE_UPDATING"; +// GTLRAiplatform_GoogleCloudAiplatformV1DeployedIndex.deploymentTier +NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1DeployedIndex_DeploymentTier_DeploymentTierUnspecified = @"DEPLOYMENT_TIER_UNSPECIFIED"; +NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1DeployedIndex_DeploymentTier_Storage = @"STORAGE"; + // GTLRAiplatform_GoogleCloudAiplatformV1DeployModelOperationMetadata.deploymentStage NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1DeployModelOperationMetadata_DeploymentStage_AddingNodesToCluster = @"ADDING_NODES_TO_CLUSTER"; NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1DeployModelOperationMetadata_DeploymentStage_CreatingServingCluster = @"CREATING_SERVING_CLUSTER"; @@ -324,6 +329,7 @@ NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1GenerateContentResponsePromptFeedback_BlockReason_BlockedReasonUnspecified = @"BLOCKED_REASON_UNSPECIFIED"; NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1GenerateContentResponsePromptFeedback_BlockReason_Blocklist = @"BLOCKLIST"; NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1GenerateContentResponsePromptFeedback_BlockReason_ImageSafety = @"IMAGE_SAFETY"; +NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1GenerateContentResponsePromptFeedback_BlockReason_ModelArmor = @"MODEL_ARMOR"; NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1GenerateContentResponsePromptFeedback_BlockReason_Other = @"OTHER"; NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1GenerateContentResponsePromptFeedback_BlockReason_ProhibitedContent = @"PROHIBITED_CONTENT"; NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1GenerateContentResponsePromptFeedback_BlockReason_Safety = @"SAFETY"; @@ -388,6 +394,7 @@ NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1MachineSpec_AcceleratorType_AcceleratorTypeUnspecified = @"ACCELERATOR_TYPE_UNSPECIFIED"; NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1MachineSpec_AcceleratorType_NvidiaA10080gb = @"NVIDIA_A100_80GB"; NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1MachineSpec_AcceleratorType_NvidiaB200 = @"NVIDIA_B200"; +NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1MachineSpec_AcceleratorType_NvidiaGb200 = @"NVIDIA_GB200"; NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1MachineSpec_AcceleratorType_NvidiaH10080gb = @"NVIDIA_H100_80GB"; NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1MachineSpec_AcceleratorType_NvidiaH100Mega80gb = @"NVIDIA_H100_MEGA_80GB"; NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1MachineSpec_AcceleratorType_NvidiaH200141gb = @"NVIDIA_H200_141GB"; @@ -987,10 +994,6 @@ NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1TimeSeriesData_ValueType_Tensor = @"TENSOR"; NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1TimeSeriesData_ValueType_ValueTypeUnspecified = @"VALUE_TYPE_UNSPECIFIED"; -// GTLRAiplatform_GoogleCloudAiplatformV1ToolComputerUse.environment -NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1ToolComputerUse_Environment_EnvironmentBrowser = @"ENVIRONMENT_BROWSER"; -NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1ToolComputerUse_Environment_EnvironmentUnspecified = @"ENVIRONMENT_UNSPECIFIED"; - // GTLRAiplatform_GoogleCloudAiplatformV1TrainingPipeline.state NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1TrainingPipeline_State_PipelineStateCancelled = @"PIPELINE_STATE_CANCELLED"; NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1TrainingPipeline_State_PipelineStateCancelling = @"PIPELINE_STATE_CANCELLING"; @@ -3537,7 +3540,7 @@ @implementation GTLRAiplatform_GoogleCloudAiplatformV1DeleteOperationMetadata @implementation GTLRAiplatform_GoogleCloudAiplatformV1DeployedIndex @dynamic automaticResources, createTime, dedicatedResources, - deployedIndexAuthConfig, deploymentGroup, displayName, + deployedIndexAuthConfig, deploymentGroup, deploymentTier, displayName, enableAccessLogging, enableDatapointUpsertLogging, identifier, index, indexSyncTime, privateEndpoints, pscAutomationConfigs, reservedIpRanges; @@ -3786,7 +3789,8 @@ + (Class)classForAdditionalProperties { // @implementation GTLRAiplatform_GoogleCloudAiplatformV1DeployRequestEndpointConfig -@dynamic dedicatedEndpointEnabled, endpointDisplayName; +@dynamic dedicatedEndpointDisabled, dedicatedEndpointEnabled, + endpointDisplayName, endpointUserId; @end @@ -4010,6 +4014,15 @@ + (Class)classForAdditionalProperties { // @implementation GTLRAiplatform_GoogleCloudAiplatformV1EnterpriseWebSearch +@dynamic excludeDomains; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"excludeDomains" : [NSString class] + }; + return map; +} + @end @@ -5974,8 +5987,8 @@ @implementation GTLRAiplatform_GoogleCloudAiplatformV1GenAiAdvancedFeaturesConfi // @implementation GTLRAiplatform_GoogleCloudAiplatformV1GenerateContentRequest -@dynamic cachedContent, contents, generationConfig, labels, safetySettings, - systemInstruction, toolConfig, tools; +@dynamic cachedContent, contents, generationConfig, labels, modelArmorConfig, + safetySettings, systemInstruction, toolConfig, tools; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -6221,7 +6234,6 @@ @implementation GTLRAiplatform_GoogleCloudAiplatformV1GoogleDriveSourceResourceI // @implementation GTLRAiplatform_GoogleCloudAiplatformV1GoogleMaps -@dynamic apiAuth, authConfig; @end @@ -6340,7 +6352,7 @@ @implementation GTLRAiplatform_GoogleCloudAiplatformV1GroundingChunkMapsPlaceAns // @implementation GTLRAiplatform_GoogleCloudAiplatformV1GroundingChunkRetrievedContext -@dynamic ragChunk, text, title, uri; +@dynamic documentName, ragChunk, text, title, uri; @end @@ -8565,6 +8577,16 @@ + (Class)classForAdditionalProperties { @end +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1ModelArmorConfig +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1ModelArmorConfig +@dynamic promptTemplateName, responseTemplateName; +@end + + // ---------------------------------------------------------------------------- // // GTLRAiplatform_GoogleCloudAiplatformV1ModelBaseModelSource @@ -11671,7 +11693,8 @@ + (Class)classForAdditionalProperties { // @implementation GTLRAiplatform_GoogleCloudAiplatformV1ReasoningEngineSpecDeploymentSpec -@dynamic env, secretEnv; +@dynamic containerConcurrency, env, maxInstances, minInstances, + pscInterfaceConfig, resourceLimits, secretEnv; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -11684,6 +11707,20 @@ @implementation GTLRAiplatform_GoogleCloudAiplatformV1ReasoningEngineSpecDeploym @end +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1ReasoningEngineSpecDeploymentSpec_ResourceLimits +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1ReasoningEngineSpecDeploymentSpec_ResourceLimits + ++ (Class)classForAdditionalProperties { + return [NSString class]; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRAiplatform_GoogleCloudAiplatformV1ReasoningEngineSpecPackageSpec @@ -15945,8 +15982,8 @@ @implementation GTLRAiplatform_GoogleCloudAiplatformV1TokensInfo // @implementation GTLRAiplatform_GoogleCloudAiplatformV1Tool -@dynamic codeExecution, computerUse, enterpriseWebSearch, functionDeclarations, - googleMaps, googleSearch, googleSearchRetrieval, retrieval, urlContext; +@dynamic codeExecution, enterpriseWebSearch, functionDeclarations, googleMaps, + googleSearch, googleSearchRetrieval, retrieval, urlContext; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -16042,16 +16079,6 @@ @implementation GTLRAiplatform_GoogleCloudAiplatformV1ToolCodeExecution @end -// ---------------------------------------------------------------------------- -// -// GTLRAiplatform_GoogleCloudAiplatformV1ToolComputerUse -// - -@implementation GTLRAiplatform_GoogleCloudAiplatformV1ToolComputerUse -@dynamic environment; -@end - - // ---------------------------------------------------------------------------- // // GTLRAiplatform_GoogleCloudAiplatformV1ToolConfig @@ -16068,6 +16095,15 @@ @implementation GTLRAiplatform_GoogleCloudAiplatformV1ToolConfig // @implementation GTLRAiplatform_GoogleCloudAiplatformV1ToolGoogleSearch +@dynamic excludeDomains; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"excludeDomains" : [NSString class] + }; + return map; +} + @end @@ -17339,7 +17375,7 @@ @implementation GTLRAiplatform_GoogleCloudAiplatformV1VertexRagStoreRagResource // @implementation GTLRAiplatform_GoogleCloudAiplatformV1VideoMetadata -@dynamic endOffset, startOffset; +@dynamic endOffset, fps, startOffset; @end diff --git a/Sources/GeneratedServices/Aiplatform/GTLRAiplatformQuery.m b/Sources/GeneratedServices/Aiplatform/GTLRAiplatformQuery.m index 4fea4637a..1ffdaa4dc 100644 --- a/Sources/GeneratedServices/Aiplatform/GTLRAiplatformQuery.m +++ b/Sources/GeneratedServices/Aiplatform/GTLRAiplatformQuery.m @@ -10372,7 +10372,7 @@ + (instancetype)queryWithObject:(GTLRAiplatform_GoogleCloudAiplatformV1RagCorpus @implementation GTLRAiplatformQuery_ProjectsLocationsRagCorporaRagFilesDelete -@dynamic name; +@dynamic forceDelete, name; + (instancetype)queryWithName:(NSString *)name { NSArray *pathParams = @[ @"name" ]; diff --git a/Sources/GeneratedServices/Aiplatform/Public/GoogleAPIClientForREST/GTLRAiplatformObjects.h b/Sources/GeneratedServices/Aiplatform/Public/GoogleAPIClientForREST/GTLRAiplatformObjects.h index 2a2283eb5..49cf208ce 100644 --- a/Sources/GeneratedServices/Aiplatform/Public/GoogleAPIClientForREST/GTLRAiplatformObjects.h +++ b/Sources/GeneratedServices/Aiplatform/Public/GoogleAPIClientForREST/GTLRAiplatformObjects.h @@ -365,6 +365,7 @@ @class GTLRAiplatform_GoogleCloudAiplatformV1ModalityTokenCount; @class GTLRAiplatform_GoogleCloudAiplatformV1Model; @class GTLRAiplatform_GoogleCloudAiplatformV1Model_Labels; +@class GTLRAiplatform_GoogleCloudAiplatformV1ModelArmorConfig; @class GTLRAiplatform_GoogleCloudAiplatformV1ModelBaseModelSource; @class GTLRAiplatform_GoogleCloudAiplatformV1ModelContainerSpec; @class GTLRAiplatform_GoogleCloudAiplatformV1ModelDataStats; @@ -577,6 +578,7 @@ @class GTLRAiplatform_GoogleCloudAiplatformV1ReasoningEngineSpec; @class GTLRAiplatform_GoogleCloudAiplatformV1ReasoningEngineSpec_ClassMethods_Item; @class GTLRAiplatform_GoogleCloudAiplatformV1ReasoningEngineSpecDeploymentSpec; +@class GTLRAiplatform_GoogleCloudAiplatformV1ReasoningEngineSpecDeploymentSpec_ResourceLimits; @class GTLRAiplatform_GoogleCloudAiplatformV1ReasoningEngineSpecPackageSpec; @class GTLRAiplatform_GoogleCloudAiplatformV1ReservationAffinity; @class GTLRAiplatform_GoogleCloudAiplatformV1ResourcePool; @@ -809,7 +811,6 @@ @class GTLRAiplatform_GoogleCloudAiplatformV1ToolCallValidResults; @class GTLRAiplatform_GoogleCloudAiplatformV1ToolCallValidSpec; @class GTLRAiplatform_GoogleCloudAiplatformV1ToolCodeExecution; -@class GTLRAiplatform_GoogleCloudAiplatformV1ToolComputerUse; @class GTLRAiplatform_GoogleCloudAiplatformV1ToolConfig; @class GTLRAiplatform_GoogleCloudAiplatformV1ToolGoogleSearch; @class GTLRAiplatform_GoogleCloudAiplatformV1ToolNameMatchInput; @@ -1305,6 +1306,12 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Candid * Value: "MAX_TOKENS" */ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Candidate_FinishReason_MaxTokens; +/** + * The model response was blocked by Model Armor. + * + * Value: "MODEL_ARMOR" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Candidate_FinishReason_ModelArmor; /** * All other reasons that stopped the token generation. * @@ -1641,6 +1648,22 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1DataLa */ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1DataLabelingJob_State_JobStateUpdating; +// ---------------------------------------------------------------------------- +// GTLRAiplatform_GoogleCloudAiplatformV1DeployedIndex.deploymentTier + +/** + * Default deployment tier. + * + * Value: "DEPLOYMENT_TIER_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1DeployedIndex_DeploymentTier_DeploymentTierUnspecified; +/** + * Optimized for costs. + * + * Value: "STORAGE" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1DeployedIndex_DeploymentTier_Storage; + // ---------------------------------------------------------------------------- // GTLRAiplatform_GoogleCloudAiplatformV1DeployModelOperationMetadata.deploymentStage @@ -2537,6 +2560,12 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Genera * Value: "IMAGE_SAFETY" */ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1GenerateContentResponsePromptFeedback_BlockReason_ImageSafety; +/** + * The user prompt was blocked by Model Armor. + * + * Value: "MODEL_ARMOR" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1GenerateContentResponsePromptFeedback_BlockReason_ModelArmor; /** * Candidates blocked due to other reason. * @@ -2854,6 +2883,12 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Machin * Value: "NVIDIA_B200" */ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1MachineSpec_AcceleratorType_NvidiaB200; +/** + * Nvidia GB200 GPU. + * + * Value: "NVIDIA_GB200" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1MachineSpec_AcceleratorType_NvidiaGb200; /** * Nvidia H100 80Gb GPU. * @@ -5980,22 +6015,6 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1TimeSe */ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1TimeSeriesData_ValueType_ValueTypeUnspecified; -// ---------------------------------------------------------------------------- -// GTLRAiplatform_GoogleCloudAiplatformV1ToolComputerUse.environment - -/** - * Operates in a web browser. - * - * Value: "ENVIRONMENT_BROWSER" - */ -FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1ToolComputerUse_Environment_EnvironmentBrowser; -/** - * Defaults to browser. - * - * Value: "ENVIRONMENT_UNSPECIFIED" - */ -FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1ToolComputerUse_Environment_EnvironmentUnspecified; - // ---------------------------------------------------------------------------- // GTLRAiplatform_GoogleCloudAiplatformV1TrainingPipeline.state @@ -7517,7 +7536,8 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1UrlMet * Required. The resource metric name. Supported metrics: * For Online * Prediction: * * `aiplatform.googleapis.com/prediction/online/accelerator/duty_cycle` * - * `aiplatform.googleapis.com/prediction/online/cpu/utilization` + * `aiplatform.googleapis.com/prediction/online/cpu/utilization` * + * `aiplatform.googleapis.com/prediction/online/request_count` */ @property(nonatomic, copy, nullable) NSString *metricName; @@ -8777,6 +8797,8 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1UrlMet * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1Candidate_FinishReason_MaxTokens * Token generation reached the configured maximum output tokens. (Value: * "MAX_TOKENS") + * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1Candidate_FinishReason_ModelArmor + * The model response was blocked by Model Armor. (Value: "MODEL_ARMOR") * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1Candidate_FinishReason_Other * All other reasons that stopped the token generation. (Value: "OTHER") * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1Candidate_FinishReason_ProhibitedContent @@ -11297,6 +11319,18 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1UrlMet */ @property(nonatomic, copy, nullable) NSString *deploymentGroup; +/** + * Optional. The deployment tier that the index is deployed to. + * DEPLOYMENT_TIER_UNSPECIFIED defaults to PERFORMANCE. + * + * Likely values: + * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1DeployedIndex_DeploymentTier_DeploymentTierUnspecified + * Default deployment tier. (Value: "DEPLOYMENT_TIER_UNSPECIFIED") + * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1DeployedIndex_DeploymentTier_Storage + * Optimized for costs. (Value: "STORAGE") + */ +@property(nonatomic, copy, nullable) NSString *deploymentTier; + /** * The display name of the DeployedIndex. If not provided upon creation, the * Index's display_name is used. @@ -11949,7 +11983,23 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1UrlMet @interface GTLRAiplatform_GoogleCloudAiplatformV1DeployRequestEndpointConfig : GTLRObject /** - * Optional. If true, the endpoint will be exposed through a dedicated DNS + * Optional. By default, if dedicated endpoint is enabled, the endpoint will be + * exposed through a dedicated DNS [Endpoint.dedicated_endpoint_dns]. Your + * request to the dedicated DNS will be isolated from other users' traffic and + * will have better performance and reliability. Note: Once you enabled + * dedicated endpoint, you won't be able to send request to the shared DNS + * {region}-aiplatform.googleapis.com. The limitations will be removed soon. If + * this field is set to true, the dedicated endpoint will be disabled and the + * deployed model will be exposed through the shared DNS + * {region}-aiplatform.googleapis.com. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *dedicatedEndpointDisabled; + +/** + * Optional. Deprecated. Use dedicated_endpoint_disabled instead. If true, the + * endpoint will be exposed through a dedicated DNS * [Endpoint.dedicated_endpoint_dns]. Your request to the dedicated DNS will be * isolated from other users' traffic and will have better performance and * reliability. Note: Once you enabled dedicated endpoint, you won't be able to @@ -11958,7 +12008,7 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1UrlMet * * Uses NSNumber of boolValue. */ -@property(nonatomic, strong, nullable) NSNumber *dedicatedEndpointEnabled; +@property(nonatomic, strong, nullable) NSNumber *dedicatedEndpointEnabled GTLR_DEPRECATED; /** * Optional. The user-specified display name of the endpoint. If not set, a @@ -11966,6 +12016,19 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1UrlMet */ @property(nonatomic, copy, nullable) NSString *endpointDisplayName; +/** + * Optional. Immutable. The ID to use for endpoint, which will become the final + * component of the endpoint resource name. If not provided, Vertex AI will + * generate a value for this ID. If the first character is a letter, this value + * may be up to 63 characters, and valid characters are `[a-z0-9-]`. The last + * character must be a letter or number. If the first character is a number, + * this value may be up to 9 characters, and valid characters are `[0-9]` with + * no leading zeros. When using HTTP/JSON, this field is populated based on a + * query string argument, such as `?endpoint_id=12345`. This is the fallback + * for fields that are not included in either the URI or the body. + */ +@property(nonatomic, copy, nullable) NSString *endpointUserId; + @end @@ -12449,6 +12512,13 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1UrlMet * compliance. */ @interface GTLRAiplatform_GoogleCloudAiplatformV1EnterpriseWebSearch : GTLRObject + +/** + * Optional. List of domains to be excluded from the search results. The + * default limit is 2000 domains. + */ +@property(nonatomic, strong, nullable) NSArray *excludeDomains; + @end @@ -17144,6 +17214,12 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1UrlMet */ @property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1GenerateContentRequest_Labels *labels; +/** + * Optional. Settings for prompt and response sanitization using the Model + * Armor service. If supplied, safety_settings must not be supplied. + */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1ModelArmorConfig *modelArmorConfig; + /** * Optional. Per request settings for blocking unsafe content. Enforced on * GenerateContentResponse.candidates. @@ -17240,6 +17316,8 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1UrlMet * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1GenerateContentResponsePromptFeedback_BlockReason_ImageSafety * Candidates blocked due to unsafe image generation content. (Value: * "IMAGE_SAFETY") + * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1GenerateContentResponsePromptFeedback_BlockReason_ModelArmor + * The user prompt was blocked by Model Armor. (Value: "MODEL_ARMOR") * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1GenerateContentResponsePromptFeedback_BlockReason_Other * Candidates blocked due to other reason. (Value: "OTHER") * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1GenerateContentResponsePromptFeedback_BlockReason_ProhibitedContent @@ -17709,16 +17787,6 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1UrlMet * Tool to retrieve public maps data for grounding, powered by Google. */ @interface GTLRAiplatform_GoogleCloudAiplatformV1GoogleMaps : GTLRObject - -/** - * The authentication config to access the API. Deprecated. Please use - * auth_config instead. - */ -@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1ApiAuth *apiAuth GTLR_DEPRECATED; - -/** The authentication config to access the API. Only API key is supported. */ -@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1AuthConfig *authConfig; - @end @@ -17916,6 +17984,12 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1UrlMet */ @interface GTLRAiplatform_GoogleCloudAiplatformV1GroundingChunkRetrievedContext : GTLRObject +/** + * Output only. The full document name for the referenced Vertex AI Search + * document. + */ +@property(nonatomic, copy, nullable) NSString *documentName; + /** * Additional context for the RAG retrieval result. This is only populated when * using the RAG retrieval tool. @@ -20867,6 +20941,8 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1UrlMet * Nvidia A100 80GB GPU. (Value: "NVIDIA_A100_80GB") * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1MachineSpec_AcceleratorType_NvidiaB200 * Nvidia B200 GPU. (Value: "NVIDIA_B200") + * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1MachineSpec_AcceleratorType_NvidiaGb200 + * Nvidia GB200 GPU. (Value: "NVIDIA_GB200") * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1MachineSpec_AcceleratorType_NvidiaH10080gb * Nvidia H100 80Gb GPU. (Value: "NVIDIA_H100_80GB") * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1MachineSpec_AcceleratorType_NvidiaH100Mega80gb @@ -21855,6 +21931,26 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1UrlMet @end +/** + * Configuration for Model Armor integrations of prompt and responses. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1ModelArmorConfig : GTLRObject + +/** + * Optional. The name of the Model Armor template to use for prompt + * sanitization. + */ +@property(nonatomic, copy, nullable) NSString *promptTemplateName; + +/** + * Optional. The name of the Model Armor template to use for response + * sanitization. + */ +@property(nonatomic, copy, nullable) NSString *responseTemplateName; + +@end + + /** * User input field to specify the base model source. Currently it only * supports specifing the Model Garden models and Genie models. @@ -28892,6 +28988,14 @@ GTLR_DEPRECATED */ @interface GTLRAiplatform_GoogleCloudAiplatformV1ReasoningEngineSpecDeploymentSpec : GTLRObject +/** + * Optional. Concurrency for each container and agent server. Recommended + * value: 2 * cpu + 1. Defaults to 9. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *containerConcurrency; + /** * Optional. Environment variables to be set with the Reasoning Engine * deployment. The environment variables can be updated through the @@ -28899,6 +29003,37 @@ GTLR_DEPRECATED */ @property(nonatomic, strong, nullable) NSArray *env; +/** + * Optional. The maximum number of application instances that can be launched + * to handle increased traffic. Defaults to 100. Range: [1, 1000]. If VPC-SC or + * PSC-I is enabled, the acceptable range is [1, 100]. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *maxInstances; + +/** + * Optional. The minimum number of application instances that will be kept + * running at all times. Defaults to 1. Range: [0, 10]. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *minInstances; + +/** Optional. Configuration for PSC-I. */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1PscInterfaceConfig *pscInterfaceConfig; + +/** + * Optional. Resource limits for each container. Only 'cpu' and 'memory' keys + * are supported. Defaults to {"cpu": "4", "memory": "4Gi"}. * The only + * supported values for CPU are '1', '2', '4', '6' and '8'. For more + * information, go to https://cloud.google.com/run/docs/configuring/cpu. * The + * only supported values for memory are '1Gi', '2Gi', ... '32 Gi'. * For + * required cpu on different memory values, go to + * https://cloud.google.com/run/docs/configuring/memory-limits + */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1ReasoningEngineSpecDeploymentSpec_ResourceLimits *resourceLimits; + /** * Optional. Environment variables where the value is a secret in Cloud Secret * Manager. To use this feature, add 'Secret Manager Secret Accessor' role @@ -28910,6 +29045,24 @@ GTLR_DEPRECATED @end +/** + * Optional. Resource limits for each container. Only 'cpu' and 'memory' keys + * are supported. Defaults to {"cpu": "4", "memory": "4Gi"}. * The only + * supported values for CPU are '1', '2', '4', '6' and '8'. For more + * information, go to https://cloud.google.com/run/docs/configuring/cpu. * The + * only supported values for memory are '1Gi', '2Gi', ... '32 Gi'. * For + * required cpu on different memory values, go to + * https://cloud.google.com/run/docs/configuring/memory-limits + * + * @note This class is documented as having more properties of NSString. Use @c + * -additionalJSONKeys and @c -additionalPropertyForName: to get the list + * of properties and then fetch them; or @c -additionalProperties to + * fetch them all at once. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1ReasoningEngineSpecDeploymentSpec_ResourceLimits : GTLRObject +@end + + /** * User provided package spec like pickled object and package requirements. */ @@ -38753,13 +38906,6 @@ GTLR_DEPRECATED */ @property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1ToolCodeExecution *codeExecution; -/** - * Optional. Tool to support the model interacting directly with the computer. - * If enabled, it automatically populates computer-use specific Function - * Declarations. - */ -@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1ToolComputerUse *computerUse; - /** * Optional. Tool to support searching public web data, powered by Vertex AI * Search and Sec4 compliance. @@ -38888,25 +39034,6 @@ GTLR_DEPRECATED @end -/** - * Tool to support computer use. - */ -@interface GTLRAiplatform_GoogleCloudAiplatformV1ToolComputerUse : GTLRObject - -/** - * Required. The environment being operated. - * - * Likely values: - * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1ToolComputerUse_Environment_EnvironmentBrowser - * Operates in a web browser. (Value: "ENVIRONMENT_BROWSER") - * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1ToolComputerUse_Environment_EnvironmentUnspecified - * Defaults to browser. (Value: "ENVIRONMENT_UNSPECIFIED") - */ -@property(nonatomic, copy, nullable) NSString *environment; - -@end - - /** * Tool config. This config is shared for all tools provided in the request. */ @@ -38926,6 +39053,13 @@ GTLR_DEPRECATED * Google. */ @interface GTLRAiplatform_GoogleCloudAiplatformV1ToolGoogleSearch : GTLRObject + +/** + * Optional. List of domains to be excluded from the search results. The + * default limit is 2000 domains. Example: ["amazon.com", "facebook.com"]. + */ +@property(nonatomic, strong, nullable) NSArray *excludeDomains; + @end @@ -40818,6 +40952,14 @@ GTLR_DEPRECATED /** Optional. The end offset of the video. */ @property(nonatomic, strong, nullable) GTLRDuration *endOffset; +/** + * Optional. The frame rate of the video sent to the model. If not specified, + * the default value will be 1.0. The fps range is (0.0, 24.0]. + * + * Uses NSNumber of doubleValue. + */ +@property(nonatomic, strong, nullable) NSNumber *fps; + /** Optional. The start offset of the video. */ @property(nonatomic, strong, nullable) GTLRDuration *startOffset; diff --git a/Sources/GeneratedServices/Aiplatform/Public/GoogleAPIClientForREST/GTLRAiplatformQuery.h b/Sources/GeneratedServices/Aiplatform/Public/GoogleAPIClientForREST/GTLRAiplatformQuery.h index 2b85da413..71c2d5627 100644 --- a/Sources/GeneratedServices/Aiplatform/Public/GoogleAPIClientForREST/GTLRAiplatformQuery.h +++ b/Sources/GeneratedServices/Aiplatform/Public/GoogleAPIClientForREST/GTLRAiplatformQuery.h @@ -19420,6 +19420,12 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatformViewPublisherModelViewUnspecif */ @interface GTLRAiplatformQuery_ProjectsLocationsRagCorporaRagFilesDelete : GTLRAiplatformQuery +/** + * Optional. If set to true, any errors generated by external vector database + * during the deletion will be ignored. The default value is false. + */ +@property(nonatomic, assign) BOOL forceDelete; + /** * Required. The name of the RagFile resource to be deleted. Format: * `projects/{project}/locations/{location}/ragCorpora/{rag_corpus}/ragFiles/{rag_file}` diff --git a/Sources/GeneratedServices/AnalyticsHub/GTLRAnalyticsHubObjects.m b/Sources/GeneratedServices/AnalyticsHub/GTLRAnalyticsHubObjects.m index 833e5f60d..63dbd0d48 100644 --- a/Sources/GeneratedServices/AnalyticsHub/GTLRAnalyticsHubObjects.m +++ b/Sources/GeneratedServices/AnalyticsHub/GTLRAnalyticsHubObjects.m @@ -66,6 +66,17 @@ NSString * const kGTLRAnalyticsHub_Listing_State_Active = @"ACTIVE"; NSString * const kGTLRAnalyticsHub_Listing_State_StateUnspecified = @"STATE_UNSPECIFIED"; +// GTLRAnalyticsHub_QueryTemplate.state +NSString * const kGTLRAnalyticsHub_QueryTemplate_State_Approved = @"APPROVED"; +NSString * const kGTLRAnalyticsHub_QueryTemplate_State_Deleted = @"DELETED"; +NSString * const kGTLRAnalyticsHub_QueryTemplate_State_Drafted = @"DRAFTED"; +NSString * const kGTLRAnalyticsHub_QueryTemplate_State_Pending = @"PENDING"; +NSString * const kGTLRAnalyticsHub_QueryTemplate_State_StateUnspecified = @"STATE_UNSPECIFIED"; + +// GTLRAnalyticsHub_Routine.routineType +NSString * const kGTLRAnalyticsHub_Routine_RoutineType_RoutineTypeUnspecified = @"ROUTINE_TYPE_UNSPECIFIED"; +NSString * const kGTLRAnalyticsHub_Routine_RoutineType_TableValuedFunction = @"TABLE_VALUED_FUNCTION"; + // GTLRAnalyticsHub_Subscription.resourceType NSString * const kGTLRAnalyticsHub_Subscription_ResourceType_BigqueryDataset = @"BIGQUERY_DATASET"; NSString * const kGTLRAnalyticsHub_Subscription_ResourceType_PubsubTopic = @"PUBSUB_TOPIC"; @@ -77,6 +88,15 @@ NSString * const kGTLRAnalyticsHub_Subscription_State_StateStale = @"STATE_STALE"; NSString * const kGTLRAnalyticsHub_Subscription_State_StateUnspecified = @"STATE_UNSPECIFIED"; +// ---------------------------------------------------------------------------- +// +// GTLRAnalyticsHub_ApproveQueryTemplateRequest +// + +@implementation GTLRAnalyticsHub_ApproveQueryTemplateRequest +@end + + // ---------------------------------------------------------------------------- // // GTLRAnalyticsHub_AuditConfig @@ -530,6 +550,28 @@ + (NSString *)collectionItemsKey { @end +// ---------------------------------------------------------------------------- +// +// GTLRAnalyticsHub_ListQueryTemplatesResponse +// + +@implementation GTLRAnalyticsHub_ListQueryTemplatesResponse +@dynamic nextPageToken, queryTemplates; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"queryTemplates" : [GTLRAnalyticsHub_QueryTemplate class] + }; + return map; +} + ++ (NSString *)collectionItemsKey { + return @"queryTemplates"; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRAnalyticsHub_ListSharedResourceSubscriptionsResponse @@ -737,6 +779,22 @@ + (Class)classForAdditionalProperties { @end +// ---------------------------------------------------------------------------- +// +// GTLRAnalyticsHub_QueryTemplate +// + +@implementation GTLRAnalyticsHub_QueryTemplate +@dynamic createTime, descriptionProperty, displayName, documentation, name, + primaryContact, proposer, routine, state, updateTime; + ++ (NSDictionary *)propertyToJSONKeyMap { + return @{ @"descriptionProperty" : @"description" }; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRAnalyticsHub_RefreshSubscriptionRequest @@ -805,6 +863,16 @@ @implementation GTLRAnalyticsHub_RevokeSubscriptionResponse @end +// ---------------------------------------------------------------------------- +// +// GTLRAnalyticsHub_Routine +// + +@implementation GTLRAnalyticsHub_Routine +@dynamic definitionBody, routineType; +@end + + // ---------------------------------------------------------------------------- // // GTLRAnalyticsHub_SelectedResource @@ -867,6 +935,15 @@ + (Class)classForAdditionalProperties { @end +// ---------------------------------------------------------------------------- +// +// GTLRAnalyticsHub_SubmitQueryTemplateRequest +// + +@implementation GTLRAnalyticsHub_SubmitQueryTemplateRequest +@end + + // ---------------------------------------------------------------------------- // // GTLRAnalyticsHub_SubscribeDataExchangeRequest diff --git a/Sources/GeneratedServices/AnalyticsHub/GTLRAnalyticsHubQuery.m b/Sources/GeneratedServices/AnalyticsHub/GTLRAnalyticsHubQuery.m index 24e3d1c6d..cc4d88073 100644 --- a/Sources/GeneratedServices/AnalyticsHub/GTLRAnalyticsHubQuery.m +++ b/Sources/GeneratedServices/AnalyticsHub/GTLRAnalyticsHubQuery.m @@ -430,6 +430,171 @@ + (instancetype)queryWithObject:(GTLRAnalyticsHub_DataExchange *)object @end +@implementation GTLRAnalyticsHubQuery_ProjectsLocationsDataExchangesQueryTemplatesApprove + +@dynamic name; + ++ (instancetype)queryWithObject:(GTLRAnalyticsHub_ApproveQueryTemplateRequest *)object + name:(NSString *)name { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}:approve"; + GTLRAnalyticsHubQuery_ProjectsLocationsDataExchangesQueryTemplatesApprove *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.name = name; + query.expectedObjectClass = [GTLRAnalyticsHub_QueryTemplate class]; + query.loggingName = @"analyticshub.projects.locations.dataExchanges.queryTemplates.approve"; + return query; +} + +@end + +@implementation GTLRAnalyticsHubQuery_ProjectsLocationsDataExchangesQueryTemplatesCreate + +@dynamic parent, queryTemplateId; + ++ (instancetype)queryWithObject:(GTLRAnalyticsHub_QueryTemplate *)object + parent:(NSString *)parent { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v1/{+parent}/queryTemplates"; + GTLRAnalyticsHubQuery_ProjectsLocationsDataExchangesQueryTemplatesCreate *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.parent = parent; + query.expectedObjectClass = [GTLRAnalyticsHub_QueryTemplate class]; + query.loggingName = @"analyticshub.projects.locations.dataExchanges.queryTemplates.create"; + return query; +} + +@end + +@implementation GTLRAnalyticsHubQuery_ProjectsLocationsDataExchangesQueryTemplatesDelete + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRAnalyticsHubQuery_ProjectsLocationsDataExchangesQueryTemplatesDelete *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"DELETE" + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRAnalyticsHub_Empty class]; + query.loggingName = @"analyticshub.projects.locations.dataExchanges.queryTemplates.delete"; + return query; +} + +@end + +@implementation GTLRAnalyticsHubQuery_ProjectsLocationsDataExchangesQueryTemplatesGet + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRAnalyticsHubQuery_ProjectsLocationsDataExchangesQueryTemplatesGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRAnalyticsHub_QueryTemplate class]; + query.loggingName = @"analyticshub.projects.locations.dataExchanges.queryTemplates.get"; + return query; +} + +@end + +@implementation GTLRAnalyticsHubQuery_ProjectsLocationsDataExchangesQueryTemplatesList + +@dynamic pageSize, pageToken, parent; + ++ (instancetype)queryWithParent:(NSString *)parent { + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v1/{+parent}/queryTemplates"; + GTLRAnalyticsHubQuery_ProjectsLocationsDataExchangesQueryTemplatesList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.parent = parent; + query.expectedObjectClass = [GTLRAnalyticsHub_ListQueryTemplatesResponse class]; + query.loggingName = @"analyticshub.projects.locations.dataExchanges.queryTemplates.list"; + return query; +} + +@end + +@implementation GTLRAnalyticsHubQuery_ProjectsLocationsDataExchangesQueryTemplatesPatch + +@dynamic name, updateMask; + ++ (instancetype)queryWithObject:(GTLRAnalyticsHub_QueryTemplate *)object + name:(NSString *)name { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRAnalyticsHubQuery_ProjectsLocationsDataExchangesQueryTemplatesPatch *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"PATCH" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.name = name; + query.expectedObjectClass = [GTLRAnalyticsHub_QueryTemplate class]; + query.loggingName = @"analyticshub.projects.locations.dataExchanges.queryTemplates.patch"; + return query; +} + +@end + +@implementation GTLRAnalyticsHubQuery_ProjectsLocationsDataExchangesQueryTemplatesSubmit + +@dynamic name; + ++ (instancetype)queryWithObject:(GTLRAnalyticsHub_SubmitQueryTemplateRequest *)object + name:(NSString *)name { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}:submit"; + GTLRAnalyticsHubQuery_ProjectsLocationsDataExchangesQueryTemplatesSubmit *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.name = name; + query.expectedObjectClass = [GTLRAnalyticsHub_QueryTemplate class]; + query.loggingName = @"analyticshub.projects.locations.dataExchanges.queryTemplates.submit"; + return query; +} + +@end + @implementation GTLRAnalyticsHubQuery_ProjectsLocationsDataExchangesSetIamPolicy @dynamic resource; diff --git a/Sources/GeneratedServices/AnalyticsHub/Public/GoogleAPIClientForREST/GTLRAnalyticsHubObjects.h b/Sources/GeneratedServices/AnalyticsHub/Public/GoogleAPIClientForREST/GTLRAnalyticsHubObjects.h index 17fb77e59..c5c6ace9e 100644 --- a/Sources/GeneratedServices/AnalyticsHub/Public/GoogleAPIClientForREST/GTLRAnalyticsHubObjects.h +++ b/Sources/GeneratedServices/AnalyticsHub/Public/GoogleAPIClientForREST/GTLRAnalyticsHubObjects.h @@ -53,9 +53,11 @@ @class GTLRAnalyticsHub_PubsubWrapper; @class GTLRAnalyticsHub_PushConfig; @class GTLRAnalyticsHub_PushConfig_Attributes; +@class GTLRAnalyticsHub_QueryTemplate; @class GTLRAnalyticsHub_RestrictedExportConfig; @class GTLRAnalyticsHub_RestrictedExportPolicy; @class GTLRAnalyticsHub_RetryPolicy; +@class GTLRAnalyticsHub_Routine; @class GTLRAnalyticsHub_SelectedResource; @class GTLRAnalyticsHub_SharingEnvironmentConfig; @class GTLRAnalyticsHub_Status; @@ -253,6 +255,56 @@ FOUNDATION_EXTERN NSString * const kGTLRAnalyticsHub_Listing_State_Active; */ FOUNDATION_EXTERN NSString * const kGTLRAnalyticsHub_Listing_State_StateUnspecified; +// ---------------------------------------------------------------------------- +// GTLRAnalyticsHub_QueryTemplate.state + +/** + * The QueryTemplate is in approved state. + * + * Value: "APPROVED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAnalyticsHub_QueryTemplate_State_Approved; +/** + * The QueryTemplate is in deleted state. + * + * Value: "DELETED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAnalyticsHub_QueryTemplate_State_Deleted; +/** + * The QueryTemplate is in draft state. + * + * Value: "DRAFTED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAnalyticsHub_QueryTemplate_State_Drafted; +/** + * The QueryTemplate is in pending state. + * + * Value: "PENDING" + */ +FOUNDATION_EXTERN NSString * const kGTLRAnalyticsHub_QueryTemplate_State_Pending; +/** + * Default value. This value is unused. + * + * Value: "STATE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAnalyticsHub_QueryTemplate_State_StateUnspecified; + +// ---------------------------------------------------------------------------- +// GTLRAnalyticsHub_Routine.routineType + +/** + * Default value. + * + * Value: "ROUTINE_TYPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAnalyticsHub_Routine_RoutineType_RoutineTypeUnspecified; +/** + * Non-built-in persistent TVF. + * + * Value: "TABLE_VALUED_FUNCTION" + */ +FOUNDATION_EXTERN NSString * const kGTLRAnalyticsHub_Routine_RoutineType_TableValuedFunction; + // ---------------------------------------------------------------------------- // GTLRAnalyticsHub_Subscription.resourceType @@ -305,6 +357,13 @@ FOUNDATION_EXTERN NSString * const kGTLRAnalyticsHub_Subscription_State_StateSta */ FOUNDATION_EXTERN NSString * const kGTLRAnalyticsHub_Subscription_State_StateUnspecified; +/** + * Message for approving a QueryTemplate. + */ +@interface GTLRAnalyticsHub_ApproveQueryTemplateRequest : GTLRObject +@end + + /** * Specifies the audit configuration for a service. The configuration * determines which permission types are logged, and what identities, if any, @@ -1563,6 +1622,30 @@ FOUNDATION_EXTERN NSString * const kGTLRAnalyticsHub_Subscription_State_StateUns @end +/** + * Message for response to the list of QueryTemplates. + * + * @note This class supports NSFastEnumeration and indexed subscripting over + * its "queryTemplates" property. If returned as the result of a query, + * it should support automatic pagination (when @c shouldFetchNextPages + * is enabled). + */ +@interface GTLRAnalyticsHub_ListQueryTemplatesResponse : GTLRCollectionObject + +/** A token to request the next page of results. */ +@property(nonatomic, copy, nullable) NSString *nextPageToken; + +/** + * The list of QueryTemplates. + * + * @note This property is used to support NSFastEnumeration and indexed + * subscripting on this class. + */ +@property(nonatomic, strong, nullable) NSArray *queryTemplates; + +@end + + /** * Message for response to the listing of shared resource subscriptions. * @@ -2014,6 +2097,80 @@ FOUNDATION_EXTERN NSString * const kGTLRAnalyticsHub_Subscription_State_StateUns @end +/** + * A query template is a container for sharing table-valued functions defined + * by contributors in a data clean room. + */ +@interface GTLRAnalyticsHub_QueryTemplate : GTLRObject + +/** Output only. Timestamp when the QueryTemplate was created. */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; + +/** + * Optional. Short description of the QueryTemplate. The description must not + * contain Unicode non-characters and C0 and C1 control codes except tabs (HT), + * new lines (LF), carriage returns (CR), and page breaks (FF). Default value + * is an empty string. Max length: 2000 bytes. + * + * Remapped to 'descriptionProperty' to avoid NSObject's 'description'. + */ +@property(nonatomic, copy, nullable) NSString *descriptionProperty; + +/** + * Required. Human-readable display name of the QueryTemplate. The display name + * must contain only Unicode letters, numbers (0-9), underscores (_), dashes + * (-), spaces ( ), ampersands (&) and can't start or end with spaces. Default + * value is an empty string. Max length: 63 bytes. + */ +@property(nonatomic, copy, nullable) NSString *displayName; + +/** Optional. Documentation describing the QueryTemplate. */ +@property(nonatomic, copy, nullable) NSString *documentation; + +/** + * Output only. The resource name of the QueryTemplate. e.g. + * `projects/myproject/locations/us/dataExchanges/123/queryTemplates/456` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Optional. Email or URL of the primary point of contact of the QueryTemplate. + * Max Length: 1000 bytes. + */ +@property(nonatomic, copy, nullable) NSString *primaryContact; + +/** + * Optional. Will be deprecated. Email or URL of the primary point of contact + * of the QueryTemplate. Max Length: 1000 bytes. + */ +@property(nonatomic, copy, nullable) NSString *proposer; + +/** Optional. The routine associated with the QueryTemplate. */ +@property(nonatomic, strong, nullable) GTLRAnalyticsHub_Routine *routine; + +/** + * Output only. The QueryTemplate lifecycle state. + * + * Likely values: + * @arg @c kGTLRAnalyticsHub_QueryTemplate_State_Approved The QueryTemplate + * is in approved state. (Value: "APPROVED") + * @arg @c kGTLRAnalyticsHub_QueryTemplate_State_Deleted The QueryTemplate is + * in deleted state. (Value: "DELETED") + * @arg @c kGTLRAnalyticsHub_QueryTemplate_State_Drafted The QueryTemplate is + * in draft state. (Value: "DRAFTED") + * @arg @c kGTLRAnalyticsHub_QueryTemplate_State_Pending The QueryTemplate is + * in pending state. (Value: "PENDING") + * @arg @c kGTLRAnalyticsHub_QueryTemplate_State_StateUnspecified Default + * value. This value is unused. (Value: "STATE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *state; + +/** Output only. Timestamp when the QueryTemplate was last modified. */ +@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; + +@end + + /** * Message for refreshing a subscription. */ @@ -2146,6 +2303,28 @@ FOUNDATION_EXTERN NSString * const kGTLRAnalyticsHub_Subscription_State_StateUns @end +/** + * Represents a bigquery routine. + */ +@interface GTLRAnalyticsHub_Routine : GTLRObject + +/** Optional. The definition body of the routine. */ +@property(nonatomic, copy, nullable) NSString *definitionBody; + +/** + * Required. The type of routine. + * + * Likely values: + * @arg @c kGTLRAnalyticsHub_Routine_RoutineType_RoutineTypeUnspecified + * Default value. (Value: "ROUTINE_TYPE_UNSPECIFIED") + * @arg @c kGTLRAnalyticsHub_Routine_RoutineType_TableValuedFunction + * Non-built-in persistent TVF. (Value: "TABLE_VALUED_FUNCTION") + */ +@property(nonatomic, copy, nullable) NSString *routineType; + +@end + + /** * Resource in this dataset that is selectively shared. */ @@ -2252,6 +2431,13 @@ FOUNDATION_EXTERN NSString * const kGTLRAnalyticsHub_Subscription_State_StateUns @end +/** + * Message for submitting a QueryTemplate. + */ +@interface GTLRAnalyticsHub_SubmitQueryTemplateRequest : GTLRObject +@end + + /** * Message for subscribing to a Data Exchange. */ diff --git a/Sources/GeneratedServices/AnalyticsHub/Public/GoogleAPIClientForREST/GTLRAnalyticsHubQuery.h b/Sources/GeneratedServices/AnalyticsHub/Public/GoogleAPIClientForREST/GTLRAnalyticsHubQuery.h index 9b39ab736..f68464ec8 100644 --- a/Sources/GeneratedServices/AnalyticsHub/Public/GoogleAPIClientForREST/GTLRAnalyticsHubQuery.h +++ b/Sources/GeneratedServices/AnalyticsHub/Public/GoogleAPIClientForREST/GTLRAnalyticsHubQuery.h @@ -759,6 +759,264 @@ NS_ASSUME_NONNULL_BEGIN @end +/** + * Approves a query template. + * + * Method: analyticshub.projects.locations.dataExchanges.queryTemplates.approve + * + * Authorization scope(s): + * @c kGTLRAuthScopeAnalyticsHubBigquery + * @c kGTLRAuthScopeAnalyticsHubCloudPlatform + */ +@interface GTLRAnalyticsHubQuery_ProjectsLocationsDataExchangesQueryTemplatesApprove : GTLRAnalyticsHubQuery + +/** + * Required. The resource path of the QueryTemplate. e.g. + * `projects/myproject/locations/us/dataExchanges/123/queryTemplates/myqueryTemplate`. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRAnalyticsHub_QueryTemplate. + * + * Approves a query template. + * + * @param object The @c GTLRAnalyticsHub_ApproveQueryTemplateRequest to include + * in the query. + * @param name Required. The resource path of the QueryTemplate. e.g. + * `projects/myproject/locations/us/dataExchanges/123/queryTemplates/myqueryTemplate`. + * + * @return GTLRAnalyticsHubQuery_ProjectsLocationsDataExchangesQueryTemplatesApprove + */ ++ (instancetype)queryWithObject:(GTLRAnalyticsHub_ApproveQueryTemplateRequest *)object + name:(NSString *)name; + +@end + +/** + * Creates a new QueryTemplate + * + * Method: analyticshub.projects.locations.dataExchanges.queryTemplates.create + * + * Authorization scope(s): + * @c kGTLRAuthScopeAnalyticsHubBigquery + * @c kGTLRAuthScopeAnalyticsHubCloudPlatform + */ +@interface GTLRAnalyticsHubQuery_ProjectsLocationsDataExchangesQueryTemplatesCreate : GTLRAnalyticsHubQuery + +/** + * Required. The parent resource path of the QueryTemplate. e.g. + * `projects/myproject/locations/us/dataExchanges/123/queryTemplates/myQueryTemplate`. + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Required. The ID of the QueryTemplate to create. Must contain only Unicode + * letters, numbers (0-9), underscores (_). Max length: 100 bytes. + */ +@property(nonatomic, copy, nullable) NSString *queryTemplateId; + +/** + * Fetches a @c GTLRAnalyticsHub_QueryTemplate. + * + * Creates a new QueryTemplate + * + * @param object The @c GTLRAnalyticsHub_QueryTemplate to include in the query. + * @param parent Required. The parent resource path of the QueryTemplate. e.g. + * `projects/myproject/locations/us/dataExchanges/123/queryTemplates/myQueryTemplate`. + * + * @return GTLRAnalyticsHubQuery_ProjectsLocationsDataExchangesQueryTemplatesCreate + */ ++ (instancetype)queryWithObject:(GTLRAnalyticsHub_QueryTemplate *)object + parent:(NSString *)parent; + +@end + +/** + * Deletes a query template. + * + * Method: analyticshub.projects.locations.dataExchanges.queryTemplates.delete + * + * Authorization scope(s): + * @c kGTLRAuthScopeAnalyticsHubBigquery + * @c kGTLRAuthScopeAnalyticsHubCloudPlatform + */ +@interface GTLRAnalyticsHubQuery_ProjectsLocationsDataExchangesQueryTemplatesDelete : GTLRAnalyticsHubQuery + +/** + * Required. The resource path of the QueryTemplate. e.g. + * `projects/myproject/locations/us/dataExchanges/123/queryTemplates/myqueryTemplate`. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRAnalyticsHub_Empty. + * + * Deletes a query template. + * + * @param name Required. The resource path of the QueryTemplate. e.g. + * `projects/myproject/locations/us/dataExchanges/123/queryTemplates/myqueryTemplate`. + * + * @return GTLRAnalyticsHubQuery_ProjectsLocationsDataExchangesQueryTemplatesDelete + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Gets a QueryTemplate + * + * Method: analyticshub.projects.locations.dataExchanges.queryTemplates.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeAnalyticsHubBigquery + * @c kGTLRAuthScopeAnalyticsHubCloudPlatform + */ +@interface GTLRAnalyticsHubQuery_ProjectsLocationsDataExchangesQueryTemplatesGet : GTLRAnalyticsHubQuery + +/** + * Required. The parent resource path of the QueryTemplate. e.g. + * `projects/myproject/locations/us/dataExchanges/123/queryTemplates/myqueryTemplate`. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRAnalyticsHub_QueryTemplate. + * + * Gets a QueryTemplate + * + * @param name Required. The parent resource path of the QueryTemplate. e.g. + * `projects/myproject/locations/us/dataExchanges/123/queryTemplates/myqueryTemplate`. + * + * @return GTLRAnalyticsHubQuery_ProjectsLocationsDataExchangesQueryTemplatesGet + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Lists all QueryTemplates in a given project and location. + * + * Method: analyticshub.projects.locations.dataExchanges.queryTemplates.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeAnalyticsHubBigquery + * @c kGTLRAuthScopeAnalyticsHubCloudPlatform + */ +@interface GTLRAnalyticsHubQuery_ProjectsLocationsDataExchangesQueryTemplatesList : GTLRAnalyticsHubQuery + +/** + * Optional. The maximum number of results to return in a single response page. + * Leverage the page tokens to iterate through the entire collection. + */ +@property(nonatomic, assign) NSInteger pageSize; + +/** + * Optional. Page token, returned by a previous call, to request the next page + * of results. + */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** + * Required. The parent resource path of the QueryTemplates. e.g. + * `projects/myproject/locations/us/dataExchanges/123`. + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRAnalyticsHub_ListQueryTemplatesResponse. + * + * Lists all QueryTemplates in a given project and location. + * + * @param parent Required. The parent resource path of the QueryTemplates. e.g. + * `projects/myproject/locations/us/dataExchanges/123`. + * + * @return GTLRAnalyticsHubQuery_ProjectsLocationsDataExchangesQueryTemplatesList + * + * @note Automatic pagination will be done when @c shouldFetchNextPages is + * enabled. See @c shouldFetchNextPages on @c GTLRService for more + * information. + */ ++ (instancetype)queryWithParent:(NSString *)parent; + +@end + +/** + * Updates an existing QueryTemplate + * + * Method: analyticshub.projects.locations.dataExchanges.queryTemplates.patch + * + * Authorization scope(s): + * @c kGTLRAuthScopeAnalyticsHubBigquery + * @c kGTLRAuthScopeAnalyticsHubCloudPlatform + */ +@interface GTLRAnalyticsHubQuery_ProjectsLocationsDataExchangesQueryTemplatesPatch : GTLRAnalyticsHubQuery + +/** + * Output only. The resource name of the QueryTemplate. e.g. + * `projects/myproject/locations/us/dataExchanges/123/queryTemplates/456` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Optional. Field mask specifies the fields to update in the query template + * resource. The fields specified in the `updateMask` are relative to the + * resource and are not a full request. + * + * String format is a comma-separated list of fields. + */ +@property(nonatomic, copy, nullable) NSString *updateMask; + +/** + * Fetches a @c GTLRAnalyticsHub_QueryTemplate. + * + * Updates an existing QueryTemplate + * + * @param object The @c GTLRAnalyticsHub_QueryTemplate to include in the query. + * @param name Output only. The resource name of the QueryTemplate. e.g. + * `projects/myproject/locations/us/dataExchanges/123/queryTemplates/456` + * + * @return GTLRAnalyticsHubQuery_ProjectsLocationsDataExchangesQueryTemplatesPatch + */ ++ (instancetype)queryWithObject:(GTLRAnalyticsHub_QueryTemplate *)object + name:(NSString *)name; + +@end + +/** + * Submits a query template for approval. + * + * Method: analyticshub.projects.locations.dataExchanges.queryTemplates.submit + * + * Authorization scope(s): + * @c kGTLRAuthScopeAnalyticsHubBigquery + * @c kGTLRAuthScopeAnalyticsHubCloudPlatform + */ +@interface GTLRAnalyticsHubQuery_ProjectsLocationsDataExchangesQueryTemplatesSubmit : GTLRAnalyticsHubQuery + +/** + * Required. The resource path of the QueryTemplate. e.g. + * `projects/myproject/locations/us/dataExchanges/123/queryTemplates/myqueryTemplate`. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRAnalyticsHub_QueryTemplate. + * + * Submits a query template for approval. + * + * @param object The @c GTLRAnalyticsHub_SubmitQueryTemplateRequest to include + * in the query. + * @param name Required. The resource path of the QueryTemplate. e.g. + * `projects/myproject/locations/us/dataExchanges/123/queryTemplates/myqueryTemplate`. + * + * @return GTLRAnalyticsHubQuery_ProjectsLocationsDataExchangesQueryTemplatesSubmit + */ ++ (instancetype)queryWithObject:(GTLRAnalyticsHub_SubmitQueryTemplateRequest *)object + name:(NSString *)name; + +@end + /** * Sets the IAM policy. * diff --git a/Sources/GeneratedServices/AndroidManagement/Public/GoogleAPIClientForREST/GTLRAndroidManagementQuery.h b/Sources/GeneratedServices/AndroidManagement/Public/GoogleAPIClientForREST/GTLRAndroidManagementQuery.h index 0800584f2..7893ca5cb 100644 --- a/Sources/GeneratedServices/AndroidManagement/Public/GoogleAPIClientForREST/GTLRAndroidManagementQuery.h +++ b/Sources/GeneratedServices/AndroidManagement/Public/GoogleAPIClientForREST/GTLRAndroidManagementQuery.h @@ -358,8 +358,9 @@ FOUNDATION_EXTERN NSString * const kGTLRAndroidManagementWipeDataFlagsWipeExtern @interface GTLRAndroidManagementQuery_EnterprisesDevicesList : GTLRAndroidManagementQuery /** - * The requested page size. The actual page size may be fixed to a min or max - * value. + * The requested page size. If unspecified, at most 10 devices will be + * returned. The maximum value is 100; values above 100 will be coerced to 100. + * The limits can change over time. */ @property(nonatomic, assign) NSInteger pageSize; diff --git a/Sources/GeneratedServices/AndroidPublisher/GTLRAndroidPublisherObjects.m b/Sources/GeneratedServices/AndroidPublisher/GTLRAndroidPublisherObjects.m index f2d62ff37..4330a39fd 100644 --- a/Sources/GeneratedServices/AndroidPublisher/GTLRAndroidPublisherObjects.m +++ b/Sources/GeneratedServices/AndroidPublisher/GTLRAndroidPublisherObjects.m @@ -249,7 +249,6 @@ // GTLRAndroidPublisher_OneTimeProductPurchaseOptionRegionalPricingAndAvailabilityConfig.availability NSString * const kGTLRAndroidPublisher_OneTimeProductPurchaseOptionRegionalPricingAndAvailabilityConfig_Availability_AvailabilityUnspecified = @"AVAILABILITY_UNSPECIFIED"; NSString * const kGTLRAndroidPublisher_OneTimeProductPurchaseOptionRegionalPricingAndAvailabilityConfig_Availability_Available = @"AVAILABLE"; -NSString * const kGTLRAndroidPublisher_OneTimeProductPurchaseOptionRegionalPricingAndAvailabilityConfig_Availability_AvailableForOffersOnly = @"AVAILABLE_FOR_OFFERS_ONLY"; NSString * const kGTLRAndroidPublisher_OneTimeProductPurchaseOptionRegionalPricingAndAvailabilityConfig_Availability_AvailableIfReleased = @"AVAILABLE_IF_RELEASED"; NSString * const kGTLRAndroidPublisher_OneTimeProductPurchaseOptionRegionalPricingAndAvailabilityConfig_Availability_NoLongerAvailable = @"NO_LONGER_AVAILABLE"; @@ -1600,6 +1599,15 @@ @implementation GTLRAndroidPublisher_DeactivateSubscriptionOfferRequest @end +// ---------------------------------------------------------------------------- +// +// GTLRAndroidPublisher_DeferredItemRemoval +// + +@implementation GTLRAndroidPublisher_DeferredItemRemoval +@end + + // ---------------------------------------------------------------------------- // // GTLRAndroidPublisher_DeferredItemReplacement @@ -3960,9 +3968,9 @@ + (BOOL)isKindValidForClassRegistry { // @implementation GTLRAndroidPublisher_SubscriptionPurchaseLineItem -@dynamic autoRenewingPlan, deferredItemReplacement, expiryTime, - latestSuccessfulOrderId, offerDetails, prepaidPlan, productId, - signupPromotion; +@dynamic autoRenewingPlan, deferredItemRemoval, deferredItemReplacement, + expiryTime, latestSuccessfulOrderId, offerDetails, prepaidPlan, + productId, signupPromotion; @end diff --git a/Sources/GeneratedServices/AndroidPublisher/Public/GoogleAPIClientForREST/GTLRAndroidPublisherObjects.h b/Sources/GeneratedServices/AndroidPublisher/Public/GoogleAPIClientForREST/GTLRAndroidPublisherObjects.h index 24304e891..e76c87e64 100644 --- a/Sources/GeneratedServices/AndroidPublisher/Public/GoogleAPIClientForREST/GTLRAndroidPublisherObjects.h +++ b/Sources/GeneratedServices/AndroidPublisher/Public/GoogleAPIClientForREST/GTLRAndroidPublisherObjects.h @@ -53,6 +53,7 @@ @class GTLRAndroidPublisher_DeactivateOneTimeProductOfferRequest; @class GTLRAndroidPublisher_DeactivatePurchaseOptionRequest; @class GTLRAndroidPublisher_DeactivateSubscriptionOfferRequest; +@class GTLRAndroidPublisher_DeferredItemRemoval; @class GTLRAndroidPublisher_DeferredItemReplacement; @class GTLRAndroidPublisher_DeleteOneTimeProductOfferRequest; @class GTLRAndroidPublisher_DeleteOneTimeProductRequest; @@ -1405,13 +1406,6 @@ FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_OneTimeProductPurchaseO * Value: "AVAILABLE" */ FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_OneTimeProductPurchaseOptionRegionalPricingAndAvailabilityConfig_Availability_Available; -/** - * The purchase option is unavailable but offers linked to it (i.e. Play Points - * offer) are available. - * - * Value: "AVAILABLE_FOR_OFFERS_ONLY" - */ -FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_OneTimeProductPurchaseOptionRegionalPricingAndAvailabilityConfig_Availability_AvailableForOffersOnly; /** * The purchase option is initially unavailable, but made available via a * released pre-order offer. @@ -4188,6 +4182,13 @@ GTLR_DEPRECATED @end +/** + * Information related to deferred item replacement. + */ +@interface GTLRAndroidPublisher_DeferredItemRemoval : GTLRObject +@end + + /** * Information related to deferred item replacement. */ @@ -6821,9 +6822,6 @@ GTLR_DEPRECATED * "AVAILABILITY_UNSPECIFIED") * @arg @c kGTLRAndroidPublisher_OneTimeProductPurchaseOptionRegionalPricingAndAvailabilityConfig_Availability_Available * The purchase option is available to users. (Value: "AVAILABLE") - * @arg @c kGTLRAndroidPublisher_OneTimeProductPurchaseOptionRegionalPricingAndAvailabilityConfig_Availability_AvailableForOffersOnly - * The purchase option is unavailable but offers linked to it (i.e. Play - * Points offer) are available. (Value: "AVAILABLE_FOR_OFFERS_ONLY") * @arg @c kGTLRAndroidPublisher_OneTimeProductPurchaseOptionRegionalPricingAndAvailabilityConfig_Availability_AvailableIfReleased * The purchase option is initially unavailable, but made available via a * released pre-order offer. (Value: "AVAILABLE_IF_RELEASED") @@ -9248,6 +9246,9 @@ GTLR_DEPRECATED /** The item is auto renewing. */ @property(nonatomic, strong, nullable) GTLRAndroidPublisher_AutoRenewingPlan *autoRenewingPlan; +/** Information for deferred item removal. */ +@property(nonatomic, strong, nullable) GTLRAndroidPublisher_DeferredItemRemoval *deferredItemRemoval; + /** Information for deferred item replacement. */ @property(nonatomic, strong, nullable) GTLRAndroidPublisher_DeferredItemReplacement *deferredItemReplacement; diff --git a/Sources/GeneratedServices/Apigee/Public/GoogleAPIClientForREST/GTLRApigeeQuery.h b/Sources/GeneratedServices/Apigee/Public/GoogleAPIClientForREST/GTLRApigeeQuery.h index 11bea791c..53ec40b47 100644 --- a/Sources/GeneratedServices/Apigee/Public/GoogleAPIClientForREST/GTLRApigeeQuery.h +++ b/Sources/GeneratedServices/Apigee/Public/GoogleAPIClientForREST/GTLRApigeeQuery.h @@ -2845,8 +2845,8 @@ FOUNDATION_EXTERN NSString * const kGTLRApigeeViewIngressConfigViewUnspecified; /** * Optional. Count of apps a single page can have in the response. If - * unspecified, at most 100 apps will be returned. The maximum value is 100; - * values above 100 will be coerced to 100. "page_size" is supported from ver + * unspecified, at most 1000 apps will be returned. The maximum value is 1000; + * values above 1000 will be coerced to 1000. "page_size" is supported from ver * 1.10.0 and above. */ @property(nonatomic, assign) NSInteger pageSize; @@ -2863,7 +2863,11 @@ FOUNDATION_EXTERN NSString * const kGTLRApigeeViewIngressConfigViewUnspecified; */ @property(nonatomic, copy, nullable) NSString *parent; -/** Optional. Maximum number of app IDs to return. Defaults to 1000. */ +/** + * Optional. Maximum number of app IDs to return. Defaults to 1000, which is + * also the upper limit. To get more than 1000, use pagination with 'pageSize' + * and 'pageToken' parameters. + */ @property(nonatomic, assign) long long rows; /** Returns the list of apps starting from the specified app ID. */ diff --git a/Sources/GeneratedServices/Appengine/Public/GoogleAPIClientForREST/GTLRAppengineObjects.h b/Sources/GeneratedServices/Appengine/Public/GoogleAPIClientForREST/GTLRAppengineObjects.h index c22f9e513..c83aaff23 100644 --- a/Sources/GeneratedServices/Appengine/Public/GoogleAPIClientForREST/GTLRAppengineObjects.h +++ b/Sources/GeneratedServices/Appengine/Public/GoogleAPIClientForREST/GTLRAppengineObjects.h @@ -1385,10 +1385,6 @@ FOUNDATION_EXTERN NSString * const kGTLRAppengine_VpcAccessConnector_EgressSetti */ @property(nonatomic, copy, nullable) NSString *locationId; -/** - * Output only. Full path to the Application resource in the API. Example: - * apps/myapp.\@OutputOnly - */ @property(nonatomic, copy, nullable) NSString *name; /** @@ -2205,7 +2201,11 @@ FOUNDATION_EXTERN NSString * const kGTLRAppengine_VpcAccessConnector_EgressSetti /** * A single firewall rule that is evaluated against incoming traffic and - * provides an action to take on matched requests. + * provides an action to take on matched requests. A positive integer between + * 1, Int32.MaxValue-1 that defines the order of rule evaluation. Rules with + * the lowest priority are evaluated first.A default rule at priority + * Int32.MaxValue matches all IPv4 and IPv6 traffic when no previous rule + * matches. Only the action of this rule can be modified by the user. */ @interface GTLRAppengine_FirewallRule : GTLRObject @@ -2231,11 +2231,7 @@ FOUNDATION_EXTERN NSString * const kGTLRAppengine_VpcAccessConnector_EgressSetti @property(nonatomic, copy, nullable) NSString *descriptionProperty; /** - * A positive integer between 1, Int32.MaxValue-1 that defines the order of - * rule evaluation. Rules with the lowest priority are evaluated first.A - * default rule at priority Int32.MaxValue matches all IPv4 and IPv6 traffic - * when no previous rule matches. Only the action of this rule can be modified - * by the user. + * priority * * Uses NSNumber of intValue. */ diff --git a/Sources/GeneratedServices/Appengine/Public/GoogleAPIClientForREST/GTLRAppengineQuery.h b/Sources/GeneratedServices/Appengine/Public/GoogleAPIClientForREST/GTLRAppengineQuery.h index 0502850cf..f3309f843 100644 --- a/Sources/GeneratedServices/Appengine/Public/GoogleAPIClientForREST/GTLRAppengineQuery.h +++ b/Sources/GeneratedServices/Appengine/Public/GoogleAPIClientForREST/GTLRAppengineQuery.h @@ -154,8 +154,8 @@ FOUNDATION_EXTERN NSString * const kGTLRAppengineViewFullCertificate; @interface GTLRAppengineQuery_AppsAuthorizedCertificatesCreate : GTLRAppengineQuery /** - * Part of `parent`. Name of the parent Application resource. Example: - * apps/myapp. + * Part of `parent`. Required. Name of the parent Application resource. + * Example: apps/myapp. */ @property(nonatomic, copy, nullable) NSString *appsId; @@ -166,8 +166,8 @@ FOUNDATION_EXTERN NSString * const kGTLRAppengineViewFullCertificate; * * @param object The @c GTLRAppengine_AuthorizedCertificate to include in the * query. - * @param appsId Part of `parent`. Name of the parent Application resource. - * Example: apps/myapp. + * @param appsId Part of `parent`. Required. Name of the parent Application + * resource. Example: apps/myapp. * * @return GTLRAppengineQuery_AppsAuthorizedCertificatesCreate */ @@ -187,7 +187,7 @@ FOUNDATION_EXTERN NSString * const kGTLRAppengineViewFullCertificate; @interface GTLRAppengineQuery_AppsAuthorizedCertificatesDelete : GTLRAppengineQuery /** - * Part of `name`. Name of the resource to delete. Example: + * Part of `name`. Required. Name of the resource to delete. Example: * apps/myapp/authorizedCertificates/12345. */ @property(nonatomic, copy, nullable) NSString *appsId; @@ -200,8 +200,8 @@ FOUNDATION_EXTERN NSString * const kGTLRAppengineViewFullCertificate; * * Deletes the specified SSL certificate. * - * @param appsId Part of `name`. Name of the resource to delete. Example: - * apps/myapp/authorizedCertificates/12345. + * @param appsId Part of `name`. Required. Name of the resource to delete. + * Example: apps/myapp/authorizedCertificates/12345. * @param authorizedCertificatesId Part of `name`. See documentation of * `appsId`. * @@ -225,7 +225,7 @@ FOUNDATION_EXTERN NSString * const kGTLRAppengineViewFullCertificate; @interface GTLRAppengineQuery_AppsAuthorizedCertificatesGet : GTLRAppengineQuery /** - * Part of `name`. Name of the resource requested. Example: + * Part of `name`. Required. Name of the resource requested. Example: * apps/myapp/authorizedCertificates/12345. */ @property(nonatomic, copy, nullable) NSString *appsId; @@ -251,8 +251,8 @@ FOUNDATION_EXTERN NSString * const kGTLRAppengineViewFullCertificate; * * Gets the specified SSL certificate. * - * @param appsId Part of `name`. Name of the resource requested. Example: - * apps/myapp/authorizedCertificates/12345. + * @param appsId Part of `name`. Required. Name of the resource requested. + * Example: apps/myapp/authorizedCertificates/12345. * @param authorizedCertificatesId Part of `name`. See documentation of * `appsId`. * @@ -276,8 +276,8 @@ FOUNDATION_EXTERN NSString * const kGTLRAppengineViewFullCertificate; @interface GTLRAppengineQuery_AppsAuthorizedCertificatesList : GTLRAppengineQuery /** - * Part of `parent`. Name of the parent Application resource. Example: - * apps/myapp. + * Part of `parent`. Required. Name of the parent Application resource. + * Example: apps/myapp. */ @property(nonatomic, copy, nullable) NSString *appsId; @@ -305,8 +305,8 @@ FOUNDATION_EXTERN NSString * const kGTLRAppengineViewFullCertificate; * * Lists all SSL certificates the user is authorized to administer. * - * @param appsId Part of `parent`. Name of the parent Application resource. - * Example: apps/myapp. + * @param appsId Part of `parent`. Required. Name of the parent Application + * resource. Example: apps/myapp. * * @return GTLRAppengineQuery_AppsAuthorizedCertificatesList * @@ -332,7 +332,7 @@ FOUNDATION_EXTERN NSString * const kGTLRAppengineViewFullCertificate; @interface GTLRAppengineQuery_AppsAuthorizedCertificatesPatch : GTLRAppengineQuery /** - * Part of `name`. Name of the resource to update. Example: + * Part of `name`. Required. Name of the resource to update. Example: * apps/myapp/authorizedCertificates/12345. */ @property(nonatomic, copy, nullable) NSString *appsId; @@ -358,8 +358,8 @@ FOUNDATION_EXTERN NSString * const kGTLRAppengineViewFullCertificate; * * @param object The @c GTLRAppengine_AuthorizedCertificate to include in the * query. - * @param appsId Part of `name`. Name of the resource to update. Example: - * apps/myapp/authorizedCertificates/12345. + * @param appsId Part of `name`. Required. Name of the resource to update. + * Example: apps/myapp/authorizedCertificates/12345. * @param authorizedCertificatesId Part of `name`. See documentation of * `appsId`. * @@ -384,8 +384,8 @@ FOUNDATION_EXTERN NSString * const kGTLRAppengineViewFullCertificate; @interface GTLRAppengineQuery_AppsAuthorizedDomainsList : GTLRAppengineQuery /** - * Part of `parent`. Name of the parent Application resource. Example: - * apps/myapp. + * Part of `parent`. Required. Name of the parent Application resource. + * Example: apps/myapp. */ @property(nonatomic, copy, nullable) NSString *appsId; @@ -400,8 +400,8 @@ FOUNDATION_EXTERN NSString * const kGTLRAppengineViewFullCertificate; * * Lists all domains the user is authorized to administer. * - * @param appsId Part of `parent`. Name of the parent Application resource. - * Example: apps/myapp. + * @param appsId Part of `parent`. Required. Name of the parent Application + * resource. Example: apps/myapp. * * @return GTLRAppengineQuery_AppsAuthorizedDomainsList * @@ -459,8 +459,8 @@ FOUNDATION_EXTERN NSString * const kGTLRAppengineViewFullCertificate; @interface GTLRAppengineQuery_AppsDomainMappingsCreate : GTLRAppengineQuery /** - * Part of `parent`. Name of the parent Application resource. Example: - * apps/myapp. + * Part of `parent`. Required. Name of the parent Application resource. + * Example: apps/myapp. */ @property(nonatomic, copy, nullable) NSString *appsId; @@ -492,8 +492,8 @@ FOUNDATION_EXTERN NSString * const kGTLRAppengineViewFullCertificate; * authorized domains, see AuthorizedDomains.ListAuthorizedDomains. * * @param object The @c GTLRAppengine_DomainMapping to include in the query. - * @param appsId Part of `parent`. Name of the parent Application resource. - * Example: apps/myapp. + * @param appsId Part of `parent`. Required. Name of the parent Application + * resource. Example: apps/myapp. * * @return GTLRAppengineQuery_AppsDomainMappingsCreate */ @@ -515,7 +515,7 @@ FOUNDATION_EXTERN NSString * const kGTLRAppengineViewFullCertificate; @interface GTLRAppengineQuery_AppsDomainMappingsDelete : GTLRAppengineQuery /** - * Part of `name`. Name of the resource to delete. Example: + * Part of `name`. Required. Name of the resource to delete. Example: * apps/myapp/domainMappings/example.com. */ @property(nonatomic, copy, nullable) NSString *appsId; @@ -530,8 +530,8 @@ FOUNDATION_EXTERN NSString * const kGTLRAppengineViewFullCertificate; * administer the associated domain in order to delete a DomainMapping * resource. * - * @param appsId Part of `name`. Name of the resource to delete. Example: - * apps/myapp/domainMappings/example.com. + * @param appsId Part of `name`. Required. Name of the resource to delete. + * Example: apps/myapp/domainMappings/example.com. * @param domainMappingsId Part of `name`. See documentation of `appsId`. * * @return GTLRAppengineQuery_AppsDomainMappingsDelete @@ -554,7 +554,7 @@ FOUNDATION_EXTERN NSString * const kGTLRAppengineViewFullCertificate; @interface GTLRAppengineQuery_AppsDomainMappingsGet : GTLRAppengineQuery /** - * Part of `name`. Name of the resource requested. Example: + * Part of `name`. Required. Name of the resource requested. Example: * apps/myapp/domainMappings/example.com. */ @property(nonatomic, copy, nullable) NSString *appsId; @@ -567,8 +567,8 @@ FOUNDATION_EXTERN NSString * const kGTLRAppengineViewFullCertificate; * * Gets the specified domain mapping. * - * @param appsId Part of `name`. Name of the resource requested. Example: - * apps/myapp/domainMappings/example.com. + * @param appsId Part of `name`. Required. Name of the resource requested. + * Example: apps/myapp/domainMappings/example.com. * @param domainMappingsId Part of `name`. See documentation of `appsId`. * * @return GTLRAppengineQuery_AppsDomainMappingsGet @@ -591,8 +591,8 @@ FOUNDATION_EXTERN NSString * const kGTLRAppengineViewFullCertificate; @interface GTLRAppengineQuery_AppsDomainMappingsList : GTLRAppengineQuery /** - * Part of `parent`. Name of the parent Application resource. Example: - * apps/myapp. + * Part of `parent`. Required. Name of the parent Application resource. + * Example: apps/myapp. */ @property(nonatomic, copy, nullable) NSString *appsId; @@ -607,8 +607,8 @@ FOUNDATION_EXTERN NSString * const kGTLRAppengineViewFullCertificate; * * Lists the domain mappings on an application. * - * @param appsId Part of `parent`. Name of the parent Application resource. - * Example: apps/myapp. + * @param appsId Part of `parent`. Required. Name of the parent Application + * resource. Example: apps/myapp. * * @return GTLRAppengineQuery_AppsDomainMappingsList * @@ -634,7 +634,7 @@ FOUNDATION_EXTERN NSString * const kGTLRAppengineViewFullCertificate; @interface GTLRAppengineQuery_AppsDomainMappingsPatch : GTLRAppengineQuery /** - * Part of `name`. Name of the resource to update. Example: + * Part of `name`. Required. Name of the resource to update. Example: * apps/myapp/domainMappings/example.com. */ @property(nonatomic, copy, nullable) NSString *appsId; @@ -658,8 +658,8 @@ FOUNDATION_EXTERN NSString * const kGTLRAppengineViewFullCertificate; * order to update a DomainMapping resource. * * @param object The @c GTLRAppengine_DomainMapping to include in the query. - * @param appsId Part of `name`. Name of the resource to update. Example: - * apps/myapp/domainMappings/example.com. + * @param appsId Part of `name`. Required. Name of the resource to update. + * Example: apps/myapp/domainMappings/example.com. * @param domainMappingsId Part of `name`. See documentation of `appsId`. * * @return GTLRAppengineQuery_AppsDomainMappingsPatch @@ -720,8 +720,8 @@ FOUNDATION_EXTERN NSString * const kGTLRAppengineViewFullCertificate; @interface GTLRAppengineQuery_AppsFirewallIngressRulesCreate : GTLRAppengineQuery /** - * Part of `parent`. Name of the parent Firewall collection in which to create - * a new rule. Example: apps/myapp/firewall/ingressRules. + * Part of `parent`. Required. Name of the parent Firewall collection in which + * to create a new rule. Example: apps/myapp/firewall/ingressRules. */ @property(nonatomic, copy, nullable) NSString *appsId; @@ -731,8 +731,9 @@ FOUNDATION_EXTERN NSString * const kGTLRAppengineViewFullCertificate; * Creates a firewall rule for the application. * * @param object The @c GTLRAppengine_FirewallRule to include in the query. - * @param appsId Part of `parent`. Name of the parent Firewall collection in - * which to create a new rule. Example: apps/myapp/firewall/ingressRules. + * @param appsId Part of `parent`. Required. Name of the parent Firewall + * collection in which to create a new rule. Example: + * apps/myapp/firewall/ingressRules. * * @return GTLRAppengineQuery_AppsFirewallIngressRulesCreate */ @@ -919,7 +920,7 @@ FOUNDATION_EXTERN NSString * const kGTLRAppengineViewFullCertificate; @interface GTLRAppengineQuery_AppsGet : GTLRAppengineQuery /** - * Part of `name`. Name of the Application resource to get. Example: + * Part of `name`. Required. Name of the Application resource to get. Example: * apps/myapp. */ @property(nonatomic, copy, nullable) NSString *appsId; @@ -944,8 +945,8 @@ FOUNDATION_EXTERN NSString * const kGTLRAppengineViewFullCertificate; * * Gets information about an application. * - * @param appsId Part of `name`. Name of the Application resource to get. - * Example: apps/myapp. + * @param appsId Part of `name`. Required. Name of the Application resource to + * get. Example: apps/myapp. * * @return GTLRAppengineQuery_AppsGet */ @@ -1187,8 +1188,8 @@ FOUNDATION_EXTERN NSString * const kGTLRAppengineViewFullCertificate; @interface GTLRAppengineQuery_AppsPatch : GTLRAppengineQuery /** - * Part of `name`. Name of the Application resource to update. Example: - * apps/myapp. + * Part of `name`. Required. Name of the Application resource to update. + * Example: apps/myapp. */ @property(nonatomic, copy, nullable) NSString *appsId; @@ -1209,8 +1210,8 @@ FOUNDATION_EXTERN NSString * const kGTLRAppengineViewFullCertificate; * application. * * @param object The @c GTLRAppengine_Application to include in the query. - * @param appsId Part of `name`. Name of the Application resource to update. - * Example: apps/myapp. + * @param appsId Part of `name`. Required. Name of the Application resource to + * update. Example: apps/myapp. * * @return GTLRAppengineQuery_AppsPatch */ @@ -1238,7 +1239,10 @@ FOUNDATION_EXTERN NSString * const kGTLRAppengineViewFullCertificate; */ @interface GTLRAppengineQuery_AppsRepair : GTLRAppengineQuery -/** Part of `name`. Name of the application to repair. Example: apps/myapp */ +/** + * Part of `name`. Required. Name of the application to repair. Example: + * apps/myapp + */ @property(nonatomic, copy, nullable) NSString *appsId; /** @@ -1257,8 +1261,8 @@ FOUNDATION_EXTERN NSString * const kGTLRAppengineViewFullCertificate; * * @param object The @c GTLRAppengine_RepairApplicationRequest to include in * the query. - * @param appsId Part of `name`. Name of the application to repair. Example: - * apps/myapp + * @param appsId Part of `name`. Required. Name of the application to repair. + * Example: apps/myapp * * @return GTLRAppengineQuery_AppsRepair */ @@ -1278,7 +1282,7 @@ FOUNDATION_EXTERN NSString * const kGTLRAppengineViewFullCertificate; @interface GTLRAppengineQuery_AppsServicesDelete : GTLRAppengineQuery /** - * Part of `name`. Name of the resource requested. Example: + * Part of `name`. Required. Name of the resource requested. Example: * apps/myapp/services/default. */ @property(nonatomic, copy, nullable) NSString *appsId; @@ -1291,8 +1295,8 @@ FOUNDATION_EXTERN NSString * const kGTLRAppengineViewFullCertificate; * * Deletes the specified service and all enclosed versions. * - * @param appsId Part of `name`. Name of the resource requested. Example: - * apps/myapp/services/default. + * @param appsId Part of `name`. Required. Name of the resource requested. + * Example: apps/myapp/services/default. * @param servicesId Part of `name`. See documentation of `appsId`. * * @return GTLRAppengineQuery_AppsServicesDelete @@ -1315,7 +1319,7 @@ FOUNDATION_EXTERN NSString * const kGTLRAppengineViewFullCertificate; @interface GTLRAppengineQuery_AppsServicesGet : GTLRAppengineQuery /** - * Part of `name`. Name of the resource requested. Example: + * Part of `name`. Required. Name of the resource requested. Example: * apps/myapp/services/default. */ @property(nonatomic, copy, nullable) NSString *appsId; @@ -1328,8 +1332,8 @@ FOUNDATION_EXTERN NSString * const kGTLRAppengineViewFullCertificate; * * Gets the current configuration of the specified service. * - * @param appsId Part of `name`. Name of the resource requested. Example: - * apps/myapp/services/default. + * @param appsId Part of `name`. Required. Name of the resource requested. + * Example: apps/myapp/services/default. * @param servicesId Part of `name`. See documentation of `appsId`. * * @return GTLRAppengineQuery_AppsServicesGet @@ -1352,8 +1356,8 @@ FOUNDATION_EXTERN NSString * const kGTLRAppengineViewFullCertificate; @interface GTLRAppengineQuery_AppsServicesList : GTLRAppengineQuery /** - * Part of `parent`. Name of the parent Application resource. Example: - * apps/myapp. + * Part of `parent`. Required. Name of the parent Application resource. + * Example: apps/myapp. */ @property(nonatomic, copy, nullable) NSString *appsId; @@ -1368,8 +1372,8 @@ FOUNDATION_EXTERN NSString * const kGTLRAppengineViewFullCertificate; * * Lists all the services in the application. * - * @param appsId Part of `parent`. Name of the parent Application resource. - * Example: apps/myapp. + * @param appsId Part of `parent`. Required. Name of the parent Application + * resource. Example: apps/myapp. * * @return GTLRAppengineQuery_AppsServicesList * @@ -1392,7 +1396,7 @@ FOUNDATION_EXTERN NSString * const kGTLRAppengineViewFullCertificate; @interface GTLRAppengineQuery_AppsServicesPatch : GTLRAppengineQuery /** - * Part of `name`. Name of the resource to update. Example: + * Part of `name`. Required. Name of the resource to update. Example: * apps/myapp/services/default. */ @property(nonatomic, copy, nullable) NSString *appsId; @@ -1430,8 +1434,8 @@ FOUNDATION_EXTERN NSString * const kGTLRAppengineViewFullCertificate; * Updates the configuration of the specified service. * * @param object The @c GTLRAppengine_Service to include in the query. - * @param appsId Part of `name`. Name of the resource to update. Example: - * apps/myapp/services/default. + * @param appsId Part of `name`. Required. Name of the resource to update. + * Example: apps/myapp/services/default. * @param servicesId Part of `name`. See documentation of `appsId`. * * @return GTLRAppengineQuery_AppsServicesPatch @@ -1453,8 +1457,8 @@ FOUNDATION_EXTERN NSString * const kGTLRAppengineViewFullCertificate; @interface GTLRAppengineQuery_AppsServicesVersionsCreate : GTLRAppengineQuery /** - * Part of `parent`. Name of the parent resource to create this version under. - * Example: apps/myapp/services/default. + * Part of `parent`. Required. Name of the parent resource to create this + * version under. Example: apps/myapp/services/default. */ @property(nonatomic, copy, nullable) NSString *appsId; @@ -1467,8 +1471,8 @@ FOUNDATION_EXTERN NSString * const kGTLRAppengineViewFullCertificate; * Deploys code and resource files to a new version. * * @param object The @c GTLRAppengine_Version to include in the query. - * @param appsId Part of `parent`. Name of the parent resource to create this - * version under. Example: apps/myapp/services/default. + * @param appsId Part of `parent`. Required. Name of the parent resource to + * create this version under. Example: apps/myapp/services/default. * @param servicesId Part of `parent`. See documentation of `appsId`. * * @return GTLRAppengineQuery_AppsServicesVersionsCreate @@ -1490,7 +1494,7 @@ FOUNDATION_EXTERN NSString * const kGTLRAppengineViewFullCertificate; @interface GTLRAppengineQuery_AppsServicesVersionsDelete : GTLRAppengineQuery /** - * Part of `name`. Name of the resource requested. Example: + * Part of `name`. Required. Name of the resource requested. Example: * apps/myapp/services/default/versions/v1. */ @property(nonatomic, copy, nullable) NSString *appsId; @@ -1506,8 +1510,8 @@ FOUNDATION_EXTERN NSString * const kGTLRAppengineViewFullCertificate; * * Deletes an existing Version resource. * - * @param appsId Part of `name`. Name of the resource requested. Example: - * apps/myapp/services/default/versions/v1. + * @param appsId Part of `name`. Required. Name of the resource requested. + * Example: apps/myapp/services/default/versions/v1. * @param servicesId Part of `name`. See documentation of `appsId`. * @param versionsId Part of `name`. See documentation of `appsId`. * @@ -1533,7 +1537,7 @@ FOUNDATION_EXTERN NSString * const kGTLRAppengineViewFullCertificate; @interface GTLRAppengineQuery_AppsServicesVersionsGet : GTLRAppengineQuery /** - * Part of `name`. Name of the resource requested. Example: + * Part of `name`. Required. Name of the resource requested. Example: * apps/myapp/services/default/versions/v1. */ @property(nonatomic, copy, nullable) NSString *appsId; @@ -1564,8 +1568,8 @@ FOUNDATION_EXTERN NSString * const kGTLRAppengineViewFullCertificate; * Gets the specified Version resource. By default, only a BASIC_VIEW will be * returned. Specify the FULL_VIEW parameter to get the full resource. * - * @param appsId Part of `name`. Name of the resource requested. Example: - * apps/myapp/services/default/versions/v1. + * @param appsId Part of `name`. Required. Name of the resource requested. + * Example: apps/myapp/services/default/versions/v1. * @param servicesId Part of `name`. See documentation of `appsId`. * @param versionsId Part of `name`. See documentation of `appsId`. * @@ -1593,7 +1597,7 @@ FOUNDATION_EXTERN NSString * const kGTLRAppengineViewFullCertificate; @interface GTLRAppengineQuery_AppsServicesVersionsInstancesDebug : GTLRAppengineQuery /** - * Part of `name`. Name of the resource requested. Example: + * Part of `name`. Required. Name of the resource requested. Example: * apps/myapp/services/default/versions/v1/instances/instance-1. */ @property(nonatomic, copy, nullable) NSString *appsId; @@ -1619,8 +1623,8 @@ FOUNDATION_EXTERN NSString * const kGTLRAppengineViewFullCertificate; * * @param object The @c GTLRAppengine_DebugInstanceRequest to include in the * query. - * @param appsId Part of `name`. Name of the resource requested. Example: - * apps/myapp/services/default/versions/v1/instances/instance-1. + * @param appsId Part of `name`. Required. Name of the resource requested. + * Example: apps/myapp/services/default/versions/v1/instances/instance-1. * @param servicesId Part of `name`. See documentation of `appsId`. * @param versionsId Part of `name`. See documentation of `appsId`. * @param instancesId Part of `name`. See documentation of `appsId`. @@ -1656,7 +1660,7 @@ FOUNDATION_EXTERN NSString * const kGTLRAppengineViewFullCertificate; @interface GTLRAppengineQuery_AppsServicesVersionsInstancesDelete : GTLRAppengineQuery /** - * Part of `name`. Name of the resource requested. Example: + * Part of `name`. Required. Name of the resource requested. Example: * apps/myapp/services/default/versions/v1/instances/instance-1. */ @property(nonatomic, copy, nullable) NSString *appsId; @@ -1685,8 +1689,8 @@ FOUNDATION_EXTERN NSString * const kGTLRAppengineViewFullCertificate; * (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions/patch) * method. * - * @param appsId Part of `name`. Name of the resource requested. Example: - * apps/myapp/services/default/versions/v1/instances/instance-1. + * @param appsId Part of `name`. Required. Name of the resource requested. + * Example: apps/myapp/services/default/versions/v1/instances/instance-1. * @param servicesId Part of `name`. See documentation of `appsId`. * @param versionsId Part of `name`. See documentation of `appsId`. * @param instancesId Part of `name`. See documentation of `appsId`. @@ -1713,7 +1717,7 @@ FOUNDATION_EXTERN NSString * const kGTLRAppengineViewFullCertificate; @interface GTLRAppengineQuery_AppsServicesVersionsInstancesGet : GTLRAppengineQuery /** - * Part of `name`. Name of the resource requested. Example: + * Part of `name`. Required. Name of the resource requested. Example: * apps/myapp/services/default/versions/v1/instances/instance-1. */ @property(nonatomic, copy, nullable) NSString *appsId; @@ -1732,8 +1736,8 @@ FOUNDATION_EXTERN NSString * const kGTLRAppengineViewFullCertificate; * * Gets instance information. * - * @param appsId Part of `name`. Name of the resource requested. Example: - * apps/myapp/services/default/versions/v1/instances/instance-1. + * @param appsId Part of `name`. Required. Name of the resource requested. + * Example: apps/myapp/services/default/versions/v1/instances/instance-1. * @param servicesId Part of `name`. See documentation of `appsId`. * @param versionsId Part of `name`. See documentation of `appsId`. * @param instancesId Part of `name`. See documentation of `appsId`. @@ -1762,7 +1766,7 @@ FOUNDATION_EXTERN NSString * const kGTLRAppengineViewFullCertificate; @interface GTLRAppengineQuery_AppsServicesVersionsInstancesList : GTLRAppengineQuery /** - * Part of `parent`. Name of the parent Version resource. Example: + * Part of `parent`. Required. Name of the parent Version resource. Example: * apps/myapp/services/default/versions/v1. */ @property(nonatomic, copy, nullable) NSString *appsId; @@ -1786,8 +1790,8 @@ FOUNDATION_EXTERN NSString * const kGTLRAppengineViewFullCertificate; * over time, see the Stackdriver Monitoring API * (https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.timeSeries/list). * - * @param appsId Part of `parent`. Name of the parent Version resource. - * Example: apps/myapp/services/default/versions/v1. + * @param appsId Part of `parent`. Required. Name of the parent Version + * resource. Example: apps/myapp/services/default/versions/v1. * @param servicesId Part of `parent`. See documentation of `appsId`. * @param versionsId Part of `parent`. See documentation of `appsId`. * @@ -1816,7 +1820,7 @@ FOUNDATION_EXTERN NSString * const kGTLRAppengineViewFullCertificate; @interface GTLRAppengineQuery_AppsServicesVersionsList : GTLRAppengineQuery /** - * Part of `parent`. Name of the parent Service resource. Example: + * Part of `parent`. Required. Name of the parent Service resource. Example: * apps/myapp/services/default. */ @property(nonatomic, copy, nullable) NSString *appsId; @@ -1849,8 +1853,8 @@ FOUNDATION_EXTERN NSString * const kGTLRAppengineViewFullCertificate; * * Lists the versions of a service. * - * @param appsId Part of `parent`. Name of the parent Service resource. - * Example: apps/myapp/services/default. + * @param appsId Part of `parent`. Required. Name of the parent Service + * resource. Example: apps/myapp/services/default. * @param servicesId Part of `parent`. See documentation of `appsId`. * * @return GTLRAppengineQuery_AppsServicesVersionsList @@ -1906,7 +1910,7 @@ FOUNDATION_EXTERN NSString * const kGTLRAppengineViewFullCertificate; @interface GTLRAppengineQuery_AppsServicesVersionsPatch : GTLRAppengineQuery /** - * Part of `name`. Name of the resource to update. Example: + * Part of `name`. Required. Name of the resource to update. Example: * apps/myapp/services/default/versions/1. */ @property(nonatomic, copy, nullable) NSString *appsId; @@ -1961,8 +1965,8 @@ FOUNDATION_EXTERN NSString * const kGTLRAppengineViewFullCertificate; * (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#manualscaling) * * @param object The @c GTLRAppengine_Version to include in the query. - * @param appsId Part of `name`. Name of the resource to update. Example: - * apps/myapp/services/default/versions/1. + * @param appsId Part of `name`. Required. Name of the resource to update. + * Example: apps/myapp/services/default/versions/1. * @param servicesId Part of `name`. See documentation of `appsId`. * @param versionsId Part of `name`. See documentation of `appsId`. * @@ -1992,8 +1996,8 @@ FOUNDATION_EXTERN NSString * const kGTLRAppengineViewFullCertificate; @property(nonatomic, copy, nullable) NSString *locationsId; /** - * Part of `parent`. Name of the parent Application resource. Example: - * apps/myapp. + * Part of `parent`. Required. Name of the parent Application resource. + * Example: apps/myapp. */ @property(nonatomic, copy, nullable) NSString *projectsId; @@ -2004,8 +2008,8 @@ FOUNDATION_EXTERN NSString * const kGTLRAppengineViewFullCertificate; * * @param object The @c GTLRAppengine_AuthorizedCertificate to include in the * query. - * @param projectsId Part of `parent`. Name of the parent Application resource. - * Example: apps/myapp. + * @param projectsId Part of `parent`. Required. Name of the parent Application + * resource. Example: apps/myapp. * @param locationsId Part of `parent`. See documentation of `projectsId`. * @param applicationsId Part of `parent`. See documentation of `projectsId`. * @@ -2038,7 +2042,7 @@ FOUNDATION_EXTERN NSString * const kGTLRAppengineViewFullCertificate; @property(nonatomic, copy, nullable) NSString *locationsId; /** - * Part of `name`. Name of the resource to delete. Example: + * Part of `name`. Required. Name of the resource to delete. Example: * apps/myapp/authorizedCertificates/12345. */ @property(nonatomic, copy, nullable) NSString *projectsId; @@ -2048,8 +2052,8 @@ FOUNDATION_EXTERN NSString * const kGTLRAppengineViewFullCertificate; * * Deletes the specified SSL certificate. * - * @param projectsId Part of `name`. Name of the resource to delete. Example: - * apps/myapp/authorizedCertificates/12345. + * @param projectsId Part of `name`. Required. Name of the resource to delete. + * Example: apps/myapp/authorizedCertificates/12345. * @param locationsId Part of `name`. See documentation of `projectsId`. * @param applicationsId Part of `name`. See documentation of `projectsId`. * @param authorizedCertificatesId Part of `name`. See documentation of @@ -2086,7 +2090,7 @@ FOUNDATION_EXTERN NSString * const kGTLRAppengineViewFullCertificate; @property(nonatomic, copy, nullable) NSString *locationsId; /** - * Part of `name`. Name of the resource requested. Example: + * Part of `name`. Required. Name of the resource requested. Example: * apps/myapp/authorizedCertificates/12345. */ @property(nonatomic, copy, nullable) NSString *projectsId; @@ -2109,8 +2113,8 @@ FOUNDATION_EXTERN NSString * const kGTLRAppengineViewFullCertificate; * * Gets the specified SSL certificate. * - * @param projectsId Part of `name`. Name of the resource requested. Example: - * apps/myapp/authorizedCertificates/12345. + * @param projectsId Part of `name`. Required. Name of the resource requested. + * Example: apps/myapp/authorizedCertificates/12345. * @param locationsId Part of `name`. See documentation of `projectsId`. * @param applicationsId Part of `name`. See documentation of `projectsId`. * @param authorizedCertificatesId Part of `name`. See documentation of @@ -2150,8 +2154,8 @@ FOUNDATION_EXTERN NSString * const kGTLRAppengineViewFullCertificate; @property(nonatomic, copy, nullable) NSString *pageToken; /** - * Part of `parent`. Name of the parent Application resource. Example: - * apps/myapp. + * Part of `parent`. Required. Name of the parent Application resource. + * Example: apps/myapp. */ @property(nonatomic, copy, nullable) NSString *projectsId; @@ -2173,8 +2177,8 @@ FOUNDATION_EXTERN NSString * const kGTLRAppengineViewFullCertificate; * * Lists all SSL certificates the user is authorized to administer. * - * @param projectsId Part of `parent`. Name of the parent Application resource. - * Example: apps/myapp. + * @param projectsId Part of `parent`. Required. Name of the parent Application + * resource. Example: apps/myapp. * @param locationsId Part of `parent`. See documentation of `projectsId`. * @param applicationsId Part of `parent`. See documentation of `projectsId`. * @@ -2213,7 +2217,7 @@ FOUNDATION_EXTERN NSString * const kGTLRAppengineViewFullCertificate; @property(nonatomic, copy, nullable) NSString *locationsId; /** - * Part of `name`. Name of the resource to update. Example: + * Part of `name`. Required. Name of the resource to update. Example: * apps/myapp/authorizedCertificates/12345. */ @property(nonatomic, copy, nullable) NSString *projectsId; @@ -2236,8 +2240,8 @@ FOUNDATION_EXTERN NSString * const kGTLRAppengineViewFullCertificate; * * @param object The @c GTLRAppengine_AuthorizedCertificate to include in the * query. - * @param projectsId Part of `name`. Name of the resource to update. Example: - * apps/myapp/authorizedCertificates/12345. + * @param projectsId Part of `name`. Required. Name of the resource to update. + * Example: apps/myapp/authorizedCertificates/12345. * @param locationsId Part of `name`. See documentation of `projectsId`. * @param applicationsId Part of `name`. See documentation of `projectsId`. * @param authorizedCertificatesId Part of `name`. See documentation of @@ -2278,8 +2282,8 @@ FOUNDATION_EXTERN NSString * const kGTLRAppengineViewFullCertificate; @property(nonatomic, copy, nullable) NSString *pageToken; /** - * Part of `parent`. Name of the parent Application resource. Example: - * apps/myapp. + * Part of `parent`. Required. Name of the parent Application resource. + * Example: apps/myapp. */ @property(nonatomic, copy, nullable) NSString *projectsId; @@ -2288,8 +2292,8 @@ FOUNDATION_EXTERN NSString * const kGTLRAppengineViewFullCertificate; * * Lists all domains the user is authorized to administer. * - * @param projectsId Part of `parent`. Name of the parent Application resource. - * Example: apps/myapp. + * @param projectsId Part of `parent`. Required. Name of the parent Application + * resource. Example: apps/myapp. * @param locationsId Part of `parent`. See documentation of `projectsId`. * @param applicationsId Part of `parent`. See documentation of `projectsId`. * @@ -2344,8 +2348,8 @@ FOUNDATION_EXTERN NSString * const kGTLRAppengineViewFullCertificate; @property(nonatomic, copy, nullable) NSString *overrideStrategy; /** - * Part of `parent`. Name of the parent Application resource. Example: - * apps/myapp. + * Part of `parent`. Required. Name of the parent Application resource. + * Example: apps/myapp. */ @property(nonatomic, copy, nullable) NSString *projectsId; @@ -2357,8 +2361,8 @@ FOUNDATION_EXTERN NSString * const kGTLRAppengineViewFullCertificate; * authorized domains, see AuthorizedDomains.ListAuthorizedDomains. * * @param object The @c GTLRAppengine_DomainMapping to include in the query. - * @param projectsId Part of `parent`. Name of the parent Application resource. - * Example: apps/myapp. + * @param projectsId Part of `parent`. Required. Name of the parent Application + * resource. Example: apps/myapp. * @param locationsId Part of `parent`. See documentation of `projectsId`. * @param applicationsId Part of `parent`. See documentation of `projectsId`. * @@ -2393,7 +2397,7 @@ FOUNDATION_EXTERN NSString * const kGTLRAppengineViewFullCertificate; @property(nonatomic, copy, nullable) NSString *locationsId; /** - * Part of `name`. Name of the resource requested. Example: + * Part of `name`. Required. Name of the resource requested. Example: * apps/myapp/domainMappings/example.com. */ @property(nonatomic, copy, nullable) NSString *projectsId; @@ -2403,8 +2407,8 @@ FOUNDATION_EXTERN NSString * const kGTLRAppengineViewFullCertificate; * * Gets the specified domain mapping. * - * @param projectsId Part of `name`. Name of the resource requested. Example: - * apps/myapp/domainMappings/example.com. + * @param projectsId Part of `name`. Required. Name of the resource requested. + * Example: apps/myapp/domainMappings/example.com. * @param locationsId Part of `name`. See documentation of `projectsId`. * @param applicationsId Part of `name`. See documentation of `projectsId`. * @param domainMappingsId Part of `name`. See documentation of `projectsId`. @@ -2439,8 +2443,8 @@ FOUNDATION_EXTERN NSString * const kGTLRAppengineViewFullCertificate; @property(nonatomic, copy, nullable) NSString *locationsId; /** - * Part of `name`. Name of the Application resource to update. Example: - * apps/myapp. + * Part of `name`. Required. Name of the Application resource to update. + * Example: apps/myapp. */ @property(nonatomic, copy, nullable) NSString *projectsId; @@ -2461,8 +2465,8 @@ FOUNDATION_EXTERN NSString * const kGTLRAppengineViewFullCertificate; * application. * * @param object The @c GTLRAppengine_Application to include in the query. - * @param projectsId Part of `name`. Name of the Application resource to - * update. Example: apps/myapp. + * @param projectsId Part of `name`. Required. Name of the Application resource + * to update. Example: apps/myapp. * @param locationsId Part of `name`. See documentation of `projectsId`. * @param applicationsId Part of `name`. See documentation of `projectsId`. * @@ -2492,7 +2496,7 @@ FOUNDATION_EXTERN NSString * const kGTLRAppengineViewFullCertificate; @property(nonatomic, copy, nullable) NSString *locationsId; /** - * Part of `name`. Name of the resource requested. Example: + * Part of `name`. Required. Name of the resource requested. Example: * apps/myapp/services/default. */ @property(nonatomic, copy, nullable) NSString *projectsId; @@ -2505,8 +2509,8 @@ FOUNDATION_EXTERN NSString * const kGTLRAppengineViewFullCertificate; * * Deletes the specified service and all enclosed versions. * - * @param projectsId Part of `name`. Name of the resource requested. Example: - * apps/myapp/services/default. + * @param projectsId Part of `name`. Required. Name of the resource requested. + * Example: apps/myapp/services/default. * @param locationsId Part of `name`. See documentation of `projectsId`. * @param applicationsId Part of `name`. See documentation of `projectsId`. * @param servicesId Part of `name`. See documentation of `projectsId`. @@ -2554,7 +2558,7 @@ FOUNDATION_EXTERN NSString * const kGTLRAppengineViewFullCertificate; @property(nonatomic, assign) BOOL migrateTraffic; /** - * Part of `name`. Name of the resource to update. Example: + * Part of `name`. Required. Name of the resource to update. Example: * apps/myapp/services/default. */ @property(nonatomic, copy, nullable) NSString *projectsId; @@ -2575,8 +2579,8 @@ FOUNDATION_EXTERN NSString * const kGTLRAppengineViewFullCertificate; * Updates the configuration of the specified service. * * @param object The @c GTLRAppengine_Service to include in the query. - * @param projectsId Part of `name`. Name of the resource to update. Example: - * apps/myapp/services/default. + * @param projectsId Part of `name`. Required. Name of the resource to update. + * Example: apps/myapp/services/default. * @param locationsId Part of `name`. See documentation of `projectsId`. * @param applicationsId Part of `name`. See documentation of `projectsId`. * @param servicesId Part of `name`. See documentation of `projectsId`. @@ -2608,7 +2612,7 @@ FOUNDATION_EXTERN NSString * const kGTLRAppengineViewFullCertificate; @property(nonatomic, copy, nullable) NSString *locationsId; /** - * Part of `name`. Name of the resource requested. Example: + * Part of `name`. Required. Name of the resource requested. Example: * apps/myapp/services/default/versions/v1. */ @property(nonatomic, copy, nullable) NSString *projectsId; @@ -2624,8 +2628,8 @@ FOUNDATION_EXTERN NSString * const kGTLRAppengineViewFullCertificate; * * Deletes an existing Version resource. * - * @param projectsId Part of `name`. Name of the resource requested. Example: - * apps/myapp/services/default/versions/v1. + * @param projectsId Part of `name`. Required. Name of the resource requested. + * Example: apps/myapp/services/default/versions/v1. * @param locationsId Part of `name`. See documentation of `projectsId`. * @param applicationsId Part of `name`. See documentation of `projectsId`. * @param servicesId Part of `name`. See documentation of `projectsId`. @@ -2689,7 +2693,7 @@ FOUNDATION_EXTERN NSString * const kGTLRAppengineViewFullCertificate; @property(nonatomic, copy, nullable) NSString *locationsId; /** - * Part of `name`. Name of the resource to update. Example: + * Part of `name`. Required. Name of the resource to update. Example: * apps/myapp/services/default/versions/1. */ @property(nonatomic, copy, nullable) NSString *projectsId; @@ -2744,8 +2748,8 @@ FOUNDATION_EXTERN NSString * const kGTLRAppengineViewFullCertificate; * (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#manualscaling) * * @param object The @c GTLRAppengine_Version to include in the query. - * @param projectsId Part of `name`. Name of the resource to update. Example: - * apps/myapp/services/default/versions/1. + * @param projectsId Part of `name`. Required. Name of the resource to update. + * Example: apps/myapp/services/default/versions/1. * @param locationsId Part of `name`. See documentation of `projectsId`. * @param applicationsId Part of `name`. See documentation of `projectsId`. * @param servicesId Part of `name`. See documentation of `projectsId`. diff --git a/Sources/GeneratedServices/Backupdr/GTLRBackupdrObjects.m b/Sources/GeneratedServices/Backupdr/GTLRBackupdrObjects.m index f498bbbd5..ef4347929 100644 --- a/Sources/GeneratedServices/Backupdr/GTLRBackupdrObjects.m +++ b/Sources/GeneratedServices/Backupdr/GTLRBackupdrObjects.m @@ -215,6 +215,11 @@ NSString * const kGTLRBackupdr_GuestOsFeature_Type_VirtioScsiMultiqueue = @"VIRTIO_SCSI_MULTIQUEUE"; NSString * const kGTLRBackupdr_GuestOsFeature_Type_Windows = @"WINDOWS"; +// GTLRBackupdr_LocationMetadata.unsupportedFeatures +NSString * const kGTLRBackupdr_LocationMetadata_UnsupportedFeatures_ComputeInstance = @"COMPUTE_INSTANCE"; +NSString * const kGTLRBackupdr_LocationMetadata_UnsupportedFeatures_FeatureUnspecified = @"FEATURE_UNSPECIFIED"; +NSString * const kGTLRBackupdr_LocationMetadata_UnsupportedFeatures_ManagementServer = @"MANAGEMENT_SERVER"; + // GTLRBackupdr_ManagementServer.state NSString * const kGTLRBackupdr_ManagementServer_State_Creating = @"CREATING"; NSString * const kGTLRBackupdr_ManagementServer_State_Deleting = @"DELETING"; @@ -1057,8 +1062,10 @@ @implementation GTLRBackupdr_DataSourceReference // @implementation GTLRBackupdr_DiskBackupProperties -@dynamic architecture, descriptionProperty, guestOsFeature, licenses, region, - replicaZones, sizeGb, sourceDisk, type, zoneProperty; +@dynamic accessMode, architecture, descriptionProperty, + enableConfidentialCompute, guestOsFeature, labels, licenses, + physicalBlockSizeBytes, provisionedIops, provisionedThroughput, region, + replicaZones, sizeGb, sourceDisk, storagePool, type, zoneProperty; + (NSDictionary *)propertyToJSONKeyMap { NSDictionary *map = @{ @@ -1080,6 +1087,20 @@ @implementation GTLRBackupdr_DiskBackupProperties @end +// ---------------------------------------------------------------------------- +// +// GTLRBackupdr_DiskBackupProperties_Labels +// + +@implementation GTLRBackupdr_DiskBackupProperties_Labels + ++ (Class)classForAdditionalProperties { + return [NSString class]; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRBackupdr_DiskDataSourceProperties @@ -1719,6 +1740,24 @@ + (Class)classForAdditionalProperties { @end +// ---------------------------------------------------------------------------- +// +// GTLRBackupdr_LocationMetadata +// + +@implementation GTLRBackupdr_LocationMetadata +@dynamic unsupportedFeatures; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"unsupportedFeatures" : [NSString class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRBackupdr_ManagementServer diff --git a/Sources/GeneratedServices/Backupdr/Public/GoogleAPIClientForREST/GTLRBackupdrObjects.h b/Sources/GeneratedServices/Backupdr/Public/GoogleAPIClientForREST/GTLRBackupdrObjects.h index 37a326ac5..624ebc264 100644 --- a/Sources/GeneratedServices/Backupdr/Public/GoogleAPIClientForREST/GTLRBackupdrObjects.h +++ b/Sources/GeneratedServices/Backupdr/Public/GoogleAPIClientForREST/GTLRBackupdrObjects.h @@ -60,6 +60,7 @@ @class GTLRBackupdr_DataSourceGcpResourceInfo; @class GTLRBackupdr_DataSourceReference; @class GTLRBackupdr_DiskBackupProperties; +@class GTLRBackupdr_DiskBackupProperties_Labels; @class GTLRBackupdr_DiskDataSourceProperties; @class GTLRBackupdr_DiskRestoreProperties; @class GTLRBackupdr_DiskRestoreProperties_Labels; @@ -1115,6 +1116,16 @@ FOUNDATION_EXTERN NSString * const kGTLRBackupdr_GuestOsFeature_Type_VirtioScsiM */ FOUNDATION_EXTERN NSString * const kGTLRBackupdr_GuestOsFeature_Type_Windows; +// ---------------------------------------------------------------------------- +// GTLRBackupdr_LocationMetadata.unsupportedFeatures + +/** Value: "COMPUTE_INSTANCE" */ +FOUNDATION_EXTERN NSString * const kGTLRBackupdr_LocationMetadata_UnsupportedFeatures_ComputeInstance; +/** Value: "FEATURE_UNSPECIFIED" */ +FOUNDATION_EXTERN NSString * const kGTLRBackupdr_LocationMetadata_UnsupportedFeatures_FeatureUnspecified; +/** Value: "MANAGEMENT_SERVER" */ +FOUNDATION_EXTERN NSString * const kGTLRBackupdr_LocationMetadata_UnsupportedFeatures_ManagementServer; + // ---------------------------------------------------------------------------- // GTLRBackupdr_ManagementServer.state @@ -4028,6 +4039,9 @@ FOUNDATION_EXTERN NSString * const kGTLRBackupdr_WeekDayOfMonth_WeekOfMonth_Week */ @interface GTLRBackupdr_DiskBackupProperties : GTLRObject +/** The access mode of the source disk. */ +@property(nonatomic, copy, nullable) NSString *accessMode; + /** * The architecture of the source disk. Valid values are ARM64 or X86_64. * @@ -4049,9 +4063,19 @@ FOUNDATION_EXTERN NSString * const kGTLRBackupdr_WeekDayOfMonth_WeekOfMonth_Week */ @property(nonatomic, copy, nullable) NSString *descriptionProperty; +/** + * Indicates whether the source disk is using confidential compute mode. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *enableConfidentialCompute; + /** A list of guest OS features that are applicable to this backup. */ @property(nonatomic, strong, nullable) NSArray *guestOsFeature; +/** The labels of the source disk. */ +@property(nonatomic, strong, nullable) GTLRBackupdr_DiskBackupProperties_Labels *labels; + /** * A list of publicly available licenses that are applicable to this backup. * This is applicable if the original image had licenses attached, e.g. Windows @@ -4059,6 +4083,27 @@ FOUNDATION_EXTERN NSString * const kGTLRBackupdr_WeekDayOfMonth_WeekOfMonth_Week */ @property(nonatomic, strong, nullable) NSArray *licenses; +/** + * The physical block size of the source disk. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *physicalBlockSizeBytes; + +/** + * The number of IOPS provisioned for the source disk. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *provisionedIops; + +/** + * The number of throughput provisioned for the source disk. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *provisionedThroughput; + /** * Region and zone are mutually exclusive fields. The URL of the region of the * source disk. @@ -4078,6 +4123,9 @@ FOUNDATION_EXTERN NSString * const kGTLRBackupdr_WeekDayOfMonth_WeekOfMonth_Week /** The source disk used to create this backup. */ @property(nonatomic, copy, nullable) NSString *sourceDisk; +/** The storage pool of the source disk. */ +@property(nonatomic, copy, nullable) NSString *storagePool; + /** The URL of the type of the disk. */ @property(nonatomic, copy, nullable) NSString *type; @@ -4091,6 +4139,18 @@ FOUNDATION_EXTERN NSString * const kGTLRBackupdr_WeekDayOfMonth_WeekOfMonth_Week @end +/** + * The labels of the source disk. + * + * @note This class is documented as having more properties of NSString. Use @c + * -additionalJSONKeys and @c -additionalPropertyForName: to get the list + * of properties and then fetch them; or @c -additionalProperties to + * fetch them all at once. + */ +@interface GTLRBackupdr_DiskBackupProperties_Labels : GTLRObject +@end + + /** * DiskDataSourceProperties represents the properties of a Disk resource that * are stored in the DataSource. . @@ -5216,6 +5276,16 @@ FOUNDATION_EXTERN NSString * const kGTLRBackupdr_WeekDayOfMonth_WeekOfMonth_Week @end +/** + * GTLRBackupdr_LocationMetadata + */ +@interface GTLRBackupdr_LocationMetadata : GTLRObject + +@property(nonatomic, strong, nullable) NSArray *unsupportedFeatures; + +@end + + /** * ManagementServer describes a single BackupDR ManagementServer instance. */ diff --git a/Sources/GeneratedServices/BigQueryDataTransfer/GTLRBigQueryDataTransferObjects.m b/Sources/GeneratedServices/BigQueryDataTransfer/GTLRBigQueryDataTransferObjects.m index 96560a8ec..fef307603 100644 --- a/Sources/GeneratedServices/BigQueryDataTransfer/GTLRBigQueryDataTransferObjects.m +++ b/Sources/GeneratedServices/BigQueryDataTransfer/GTLRBigQueryDataTransferObjects.m @@ -115,8 +115,9 @@ @implementation GTLRBigQueryDataTransfer_DataSource @implementation GTLRBigQueryDataTransfer_DataSourceParameter @dynamic allowedValues, deprecated, descriptionProperty, displayName, fields, - immutable, maxValue, minValue, paramId, recurse, repeated, required, - type, validationDescription, validationHelpUrl, validationRegex; + immutable, maxListSize, maxValue, minValue, paramId, recurse, repeated, + required, type, validationDescription, validationHelpUrl, + validationRegex; + (NSDictionary *)propertyToJSONKeyMap { return @{ @"descriptionProperty" : @"description" }; diff --git a/Sources/GeneratedServices/BigQueryDataTransfer/Public/GoogleAPIClientForREST/GTLRBigQueryDataTransferObjects.h b/Sources/GeneratedServices/BigQueryDataTransfer/Public/GoogleAPIClientForREST/GTLRBigQueryDataTransferObjects.h index b7c9b86c5..afa949dc7 100644 --- a/Sources/GeneratedServices/BigQueryDataTransfer/Public/GoogleAPIClientForREST/GTLRBigQueryDataTransferObjects.h +++ b/Sources/GeneratedServices/BigQueryDataTransfer/Public/GoogleAPIClientForREST/GTLRBigQueryDataTransferObjects.h @@ -492,6 +492,13 @@ FOUNDATION_EXTERN NSString * const kGTLRBigQueryDataTransfer_TransferRun_State_T */ @property(nonatomic, strong, nullable) NSNumber *immutable; +/** + * For list parameters, the max size of the list. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *maxListSize; + /** * For integer and double values specifies maximum allowed value. * diff --git a/Sources/GeneratedServices/BigQueryDataTransfer/Public/GoogleAPIClientForREST/GTLRBigQueryDataTransferQuery.h b/Sources/GeneratedServices/BigQueryDataTransfer/Public/GoogleAPIClientForREST/GTLRBigQueryDataTransferQuery.h index bd403797b..9771bff72 100644 --- a/Sources/GeneratedServices/BigQueryDataTransfer/Public/GoogleAPIClientForREST/GTLRBigQueryDataTransferQuery.h +++ b/Sources/GeneratedServices/BigQueryDataTransfer/Public/GoogleAPIClientForREST/GTLRBigQueryDataTransferQuery.h @@ -525,8 +525,8 @@ FOUNDATION_EXTERN NSString * const kGTLRBigQueryDataTransferStatesTransferStateU @interface GTLRBigQueryDataTransferQuery_ProjectsLocationsList : GTLRBigQueryDataTransferQuery /** - * Optional. A list of extra location types that should be used as conditions - * for controlling the visibility of the locations. + * Optional. Do not use this field. It is unsupported and is ignored unless + * explicitly documented otherwise. This is primarily for internal usage. */ @property(nonatomic, strong, nullable) NSArray *extraLocationTypes; diff --git a/Sources/GeneratedServices/BigtableAdmin/GTLRBigtableAdminObjects.m b/Sources/GeneratedServices/BigtableAdmin/GTLRBigtableAdminObjects.m index 81bd5d9b7..17de7c71a 100644 --- a/Sources/GeneratedServices/BigtableAdmin/GTLRBigtableAdminObjects.m +++ b/Sources/GeneratedServices/BigtableAdmin/GTLRBigtableAdminObjects.m @@ -1046,7 +1046,7 @@ @implementation GTLRBigtableAdmin_HotTablet @implementation GTLRBigtableAdmin_Instance @dynamic createTime, displayName, labels, name, satisfiesPzi, satisfiesPzs, - state, type; + state, tags, type; @end @@ -1064,6 +1064,20 @@ + (Class)classForAdditionalProperties { @end +// ---------------------------------------------------------------------------- +// +// GTLRBigtableAdmin_Instance_Tags +// + +@implementation GTLRBigtableAdmin_Instance_Tags + ++ (Class)classForAdditionalProperties { + return [NSString class]; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRBigtableAdmin_Intersection diff --git a/Sources/GeneratedServices/BigtableAdmin/Public/GoogleAPIClientForREST/GTLRBigtableAdminObjects.h b/Sources/GeneratedServices/BigtableAdmin/Public/GoogleAPIClientForREST/GTLRBigtableAdminObjects.h index 3d09fdd65..84b153b66 100644 --- a/Sources/GeneratedServices/BigtableAdmin/Public/GoogleAPIClientForREST/GTLRBigtableAdminObjects.h +++ b/Sources/GeneratedServices/BigtableAdmin/Public/GoogleAPIClientForREST/GTLRBigtableAdminObjects.h @@ -83,6 +83,7 @@ @class GTLRBigtableAdmin_HotTablet; @class GTLRBigtableAdmin_Instance; @class GTLRBigtableAdmin_Instance_Labels; +@class GTLRBigtableAdmin_Instance_Tags; @class GTLRBigtableAdmin_Intersection; @class GTLRBigtableAdmin_Location; @class GTLRBigtableAdmin_Location_Labels; @@ -2611,6 +2612,16 @@ GTLR_DEPRECATED */ @property(nonatomic, copy, nullable) NSString *state; +/** + * Optional. Input only. Immutable. Tag keys/values directly bound to this + * resource. For example: "123/environment": "production", "123/costCenter": + * "marketing" Tags and Labels (above) are both used to bind metadata to + * resources, with different use-cases. See + * https://cloud.google.com/resource-manager/docs/tags/tags-overview for an + * in-depth overview on the difference between tags and labels. + */ +@property(nonatomic, strong, nullable) GTLRBigtableAdmin_Instance_Tags *tags; + /** * The type of the instance. Defaults to `PRODUCTION`. * @@ -2651,6 +2662,23 @@ GTLR_DEPRECATED @end +/** + * Optional. Input only. Immutable. Tag keys/values directly bound to this + * resource. For example: "123/environment": "production", "123/costCenter": + * "marketing" Tags and Labels (above) are both used to bind metadata to + * resources, with different use-cases. See + * https://cloud.google.com/resource-manager/docs/tags/tags-overview for an + * in-depth overview on the difference between tags and labels. + * + * @note This class is documented as having more properties of NSString. Use @c + * -additionalJSONKeys and @c -additionalPropertyForName: to get the list + * of properties and then fetch them; or @c -additionalProperties to + * fetch them all at once. + */ +@interface GTLRBigtableAdmin_Instance_Tags : GTLRObject +@end + + /** * A GcRule which deletes cells matching all of the given rules. */ diff --git a/Sources/GeneratedServices/Classroom/Public/GoogleAPIClientForREST/GTLRClassroomQuery.h b/Sources/GeneratedServices/Classroom/Public/GoogleAPIClientForREST/GTLRClassroomQuery.h index 5e30fba99..dea6a793f 100644 --- a/Sources/GeneratedServices/Classroom/Public/GoogleAPIClientForREST/GTLRClassroomQuery.h +++ b/Sources/GeneratedServices/Classroom/Public/GoogleAPIClientForREST/GTLRClassroomQuery.h @@ -3699,8 +3699,9 @@ FOUNDATION_EXTERN NSString * const kGTLRClassroomStatesTurnedIn; * permitted to create courses or for access errors. * `NOT_FOUND` if the * primary teacher is not a valid user. * `FAILED_PRECONDITION` if the course * owner's account is disabled or for the following request errors: * - * UserCannotOwnCourse * UserGroupsMembershipLimitReached * `ALREADY_EXISTS` if - * an alias was specified in the `id` and already exists. + * UserCannotOwnCourse * UserGroupsMembershipLimitReached * + * CourseTitleCannotContainUrl * `ALREADY_EXISTS` if an alias was specified in + * the `id` and already exists. * * Method: classroom.courses.create * @@ -3720,8 +3721,9 @@ FOUNDATION_EXTERN NSString * const kGTLRClassroomStatesTurnedIn; * permitted to create courses or for access errors. * `NOT_FOUND` if the * primary teacher is not a valid user. * `FAILED_PRECONDITION` if the course * owner's account is disabled or for the following request errors: * - * UserCannotOwnCourse * UserGroupsMembershipLimitReached * `ALREADY_EXISTS` if - * an alias was specified in the `id` and already exists. + * UserCannotOwnCourse * UserGroupsMembershipLimitReached * + * CourseTitleCannotContainUrl * `ALREADY_EXISTS` if an alias was specified in + * the `id` and already exists. * * @param object The @c GTLRClassroom_Course to include in the query. * @@ -3945,7 +3947,8 @@ FOUNDATION_EXTERN NSString * const kGTLRClassroomStatesTurnedIn; * course exists with the requested ID. * `INVALID_ARGUMENT` if invalid fields * are specified in the update mask or if no update mask is supplied. * * `FAILED_PRECONDITION` for the following request errors: * - * CourseNotModifiable * InactiveCourseOwner * IneligibleOwner + * CourseNotModifiable * InactiveCourseOwner * IneligibleOwner * + * CourseTitleCannotContainUrl * * Method: classroom.courses.patch * @@ -3985,7 +3988,8 @@ FOUNDATION_EXTERN NSString * const kGTLRClassroomStatesTurnedIn; * course exists with the requested ID. * `INVALID_ARGUMENT` if invalid fields * are specified in the update mask or if no update mask is supplied. * * `FAILED_PRECONDITION` for the following request errors: * - * CourseNotModifiable * InactiveCourseOwner * IneligibleOwner + * CourseNotModifiable * InactiveCourseOwner * IneligibleOwner * + * CourseTitleCannotContainUrl * * @param object The @c GTLRClassroom_Course to include in the query. * @param identifier Identifier of the course to update. This identifier can be @@ -5193,7 +5197,7 @@ FOUNDATION_EXTERN NSString * const kGTLRClassroomStatesTurnedIn; * `PERMISSION_DENIED` if the requesting user is not permitted to modify the * requested course or for access errors. * `NOT_FOUND` if no course exists * with the requested ID. * `FAILED_PRECONDITION` for the following request - * errors: * CourseNotModifiable + * errors: * CourseNotModifiable * CourseTitleCannotContainUrl * * Method: classroom.courses.update * @@ -5217,7 +5221,7 @@ FOUNDATION_EXTERN NSString * const kGTLRClassroomStatesTurnedIn; * `PERMISSION_DENIED` if the requesting user is not permitted to modify the * requested course or for access errors. * `NOT_FOUND` if no course exists * with the requested ID. * `FAILED_PRECONDITION` for the following request - * errors: * CourseNotModifiable + * errors: * CourseNotModifiable * CourseTitleCannotContainUrl * * @param object The @c GTLRClassroom_Course to include in the query. * @param identifier Identifier of the course to update. This identifier can be diff --git a/Sources/GeneratedServices/CloudAlloyDBAdmin/GTLRCloudAlloyDBAdminObjects.m b/Sources/GeneratedServices/CloudAlloyDBAdmin/GTLRCloudAlloyDBAdminObjects.m index 3f68e5db5..04caa6535 100644 --- a/Sources/GeneratedServices/CloudAlloyDBAdmin/GTLRCloudAlloyDBAdminObjects.m +++ b/Sources/GeneratedServices/CloudAlloyDBAdmin/GTLRCloudAlloyDBAdminObjects.m @@ -248,6 +248,7 @@ NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainConfigBasedSignalData_SignalType_SignalTypeUnspecified = @"SIGNAL_TYPE_UNSPECIFIED"; // GTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceFeed.feedType +NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceFeed_FeedType_BackupdrMetadata = @"BACKUPDR_METADATA"; NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceFeed_FeedType_ConfigBasedSignalData = @"CONFIG_BASED_SIGNAL_DATA"; NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceFeed_FeedType_FeedtypeUnspecified = @"FEEDTYPE_UNSPECIFIED"; NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceFeed_FeedType_ObservabilityData = @"OBSERVABILITY_DATA"; @@ -335,6 +336,7 @@ NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData_SignalType_SignalTypeNotLoggingTemporaryFiles = @"SIGNAL_TYPE_NOT_LOGGING_TEMPORARY_FILES"; NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData_SignalType_SignalTypeNotProtectedByAutomaticFailover = @"SIGNAL_TYPE_NOT_PROTECTED_BY_AUTOMATIC_FAILOVER"; NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData_SignalType_SignalTypeNoUserPasswordPolicy = @"SIGNAL_TYPE_NO_USER_PASSWORD_POLICY"; +NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData_SignalType_SignalTypeOutdatedClient = @"SIGNAL_TYPE_OUTDATED_CLIENT"; NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData_SignalType_SignalTypeOutdatedMinorVersion = @"SIGNAL_TYPE_OUTDATED_MINOR_VERSION"; NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData_SignalType_SignalTypeOutdatedVersion = @"SIGNAL_TYPE_OUTDATED_VERSION"; NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData_SignalType_SignalTypeOutOfDisk = @"SIGNAL_TYPE_OUT_OF_DISK"; @@ -504,6 +506,7 @@ NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData_SignalType_SignalTypeNotLoggingTemporaryFiles = @"SIGNAL_TYPE_NOT_LOGGING_TEMPORARY_FILES"; NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData_SignalType_SignalTypeNotProtectedByAutomaticFailover = @"SIGNAL_TYPE_NOT_PROTECTED_BY_AUTOMATIC_FAILOVER"; NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData_SignalType_SignalTypeNoUserPasswordPolicy = @"SIGNAL_TYPE_NO_USER_PASSWORD_POLICY"; +NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData_SignalType_SignalTypeOutdatedClient = @"SIGNAL_TYPE_OUTDATED_CLIENT"; NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData_SignalType_SignalTypeOutdatedMinorVersion = @"SIGNAL_TYPE_OUTDATED_MINOR_VERSION"; NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData_SignalType_SignalTypeOutdatedVersion = @"SIGNAL_TYPE_OUTDATED_VERSION"; NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData_SignalType_SignalTypeOutOfDisk = @"SIGNAL_TYPE_OUT_OF_DISK"; @@ -1932,6 +1935,17 @@ @implementation GTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainBacku @end +// ---------------------------------------------------------------------------- +// +// GTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainBackupDRMetadata +// + +@implementation GTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainBackupDRMetadata +@dynamic backupConfiguration, backupdrConfiguration, backupRun, + fullResourceName, lastRefreshTime, resourceId; +@end + + // ---------------------------------------------------------------------------- // // GTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainBackupRun @@ -1987,9 +2001,9 @@ @implementation GTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainCusto // @implementation GTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceFeed -@dynamic configBasedSignalData, feedTimestamp, feedType, +@dynamic backupdrMetadata, configBasedSignalData, feedTimestamp, feedType, observabilityMetricData, recommendationSignalData, - resourceHealthSignalData, resourceId, resourceMetadata; + resourceHealthSignalData, resourceId, resourceMetadata, skipIngestion; @end diff --git a/Sources/GeneratedServices/CloudAlloyDBAdmin/Public/GoogleAPIClientForREST/GTLRCloudAlloyDBAdminObjects.h b/Sources/GeneratedServices/CloudAlloyDBAdmin/Public/GoogleAPIClientForREST/GTLRCloudAlloyDBAdminObjects.h index d95b95d5f..662d0c3f9 100644 --- a/Sources/GeneratedServices/CloudAlloyDBAdmin/Public/GoogleAPIClientForREST/GTLRCloudAlloyDBAdminObjects.h +++ b/Sources/GeneratedServices/CloudAlloyDBAdmin/Public/GoogleAPIClientForREST/GTLRCloudAlloyDBAdminObjects.h @@ -94,6 +94,7 @@ @class GTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainAvailabilityConfiguration; @class GTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainBackupConfiguration; @class GTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainBackupDRConfiguration; +@class GTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainBackupDRMetadata; @class GTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainBackupRun; @class GTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainCompliance; @class GTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainConfigBasedSignalData; @@ -1264,6 +1265,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterP // ---------------------------------------------------------------------------- // GTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceFeed.feedType +/** + * Database resource metadata from BackupDR + * + * Value: "BACKUPDR_METADATA" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceFeed_FeedType_BackupdrMetadata; /** * Database config based signal data * @@ -1789,6 +1796,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterP * Value: "SIGNAL_TYPE_NO_USER_PASSWORD_POLICY" */ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData_SignalType_SignalTypeNoUserPasswordPolicy; +/** + * Outdated client. + * + * Value: "SIGNAL_TYPE_OUTDATED_CLIENT" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData_SignalType_SignalTypeOutdatedClient; /** * Outdated DB minor version. * @@ -2770,6 +2783,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterP * Value: "SIGNAL_TYPE_NO_USER_PASSWORD_POLICY" */ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData_SignalType_SignalTypeNoUserPasswordPolicy; +/** + * Outdated client. + * + * Value: "SIGNAL_TYPE_OUTDATED_CLIENT" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData_SignalType_SignalTypeOutdatedClient; /** * Outdated DB minor version. * @@ -7045,6 +7064,33 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_WeeklySchedule_DaysOfW @end +/** + * BackupDRMetadata contains information about the backup and disaster recovery + * metadata of a database resource. + */ +@interface GTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainBackupDRMetadata : GTLRObject + +/** Backup configuration for this instance. */ +@property(nonatomic, strong, nullable) GTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainBackupConfiguration *backupConfiguration; + +/** BackupDR configuration for this instance. */ +@property(nonatomic, strong, nullable) GTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainBackupDRConfiguration *backupdrConfiguration; + +/** Latest backup run information for this instance. */ +@property(nonatomic, strong, nullable) GTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainBackupRun *backupRun; + +/** Required. Full resource name of this instance. */ +@property(nonatomic, copy, nullable) NSString *fullResourceName; + +/** Required. Last time backup configuration was refreshed. */ +@property(nonatomic, strong, nullable) GTLRDateTime *lastRefreshTime; + +/** Required. Database resource id. */ +@property(nonatomic, strong, nullable) GTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceId *resourceId; + +@end + + /** * A backup run. */ @@ -7163,10 +7209,13 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_WeeklySchedule_DaysOfW /** * DatabaseResourceFeed is the top level proto to be used to ingest different - * database resource level events into Condor platform. Next ID: 9 + * database resource level events into Condor platform. Next ID: 11 */ @interface GTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceFeed : GTLRObject +/** BackupDR metadata is used to ingest metadata from BackupDR. */ +@property(nonatomic, strong, nullable) GTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainBackupDRMetadata *backupdrMetadata; + /** * Config based signal data is used to ingest signals that are generated based * on the configuration of the database resource. @@ -7180,6 +7229,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_WeeklySchedule_DaysOfW * Required. Type feed to be ingested into condor * * Likely values: + * @arg @c kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceFeed_FeedType_BackupdrMetadata + * Database resource metadata from BackupDR (Value: "BACKUPDR_METADATA") * @arg @c kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceFeed_FeedType_ConfigBasedSignalData * Database config based signal data (Value: "CONFIG_BASED_SIGNAL_DATA") * @arg @c kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceFeed_FeedType_FeedtypeUnspecified @@ -7210,6 +7261,17 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_WeeklySchedule_DaysOfW @property(nonatomic, strong, nullable) GTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata *resourceMetadata; +/** + * Optional. If true, the feed won't be ingested by DB Center. This indicates + * that the feed is intentionally skipped. For example, BackupDR feeds are only + * needed for resources integrated with DB Center (e.g., CloudSQL, AlloyDB). + * Feeds for non-integrated resources (e.g., Compute Engine, Persistent Disk) + * can be skipped. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *skipIngestion; + @end @@ -7556,6 +7618,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_WeeklySchedule_DaysOfW * @arg @c kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData_SignalType_SignalTypeNoUserPasswordPolicy * Detects if a database instance has no user password policy set. * (Value: "SIGNAL_TYPE_NO_USER_PASSWORD_POLICY") + * @arg @c kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData_SignalType_SignalTypeOutdatedClient + * Outdated client. (Value: "SIGNAL_TYPE_OUTDATED_CLIENT") * @arg @c kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData_SignalType_SignalTypeOutdatedMinorVersion * Outdated DB minor version. (Value: * "SIGNAL_TYPE_OUTDATED_MINOR_VERSION") @@ -8267,6 +8331,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_WeeklySchedule_DaysOfW * @arg @c kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData_SignalType_SignalTypeNoUserPasswordPolicy * Detects if a database instance has no user password policy set. * (Value: "SIGNAL_TYPE_NO_USER_PASSWORD_POLICY") + * @arg @c kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData_SignalType_SignalTypeOutdatedClient + * Outdated client. (Value: "SIGNAL_TYPE_OUTDATED_CLIENT") * @arg @c kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData_SignalType_SignalTypeOutdatedMinorVersion * Outdated DB minor version. (Value: * "SIGNAL_TYPE_OUTDATED_MINOR_VERSION") diff --git a/Sources/GeneratedServices/CloudBuild/Public/GoogleAPIClientForREST/GTLRCloudBuildQuery.h b/Sources/GeneratedServices/CloudBuild/Public/GoogleAPIClientForREST/GTLRCloudBuildQuery.h index 525931de2..d170197b7 100644 --- a/Sources/GeneratedServices/CloudBuild/Public/GoogleAPIClientForREST/GTLRCloudBuildQuery.h +++ b/Sources/GeneratedServices/CloudBuild/Public/GoogleAPIClientForREST/GTLRCloudBuildQuery.h @@ -835,8 +835,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudBuildRefTypeTag; @interface GTLRCloudBuildQuery_ProjectsLocationsList : GTLRCloudBuildQuery /** - * Optional. A list of extra location types that should be used as conditions - * for controlling the visibility of the locations. + * Optional. Do not use this field. It is unsupported and is ignored unless + * explicitly documented otherwise. This is primarily for internal usage. */ @property(nonatomic, strong, nullable) NSArray *extraLocationTypes; diff --git a/Sources/GeneratedServices/CloudComposer/GTLRCloudComposerObjects.m b/Sources/GeneratedServices/CloudComposer/GTLRCloudComposerObjects.m index d640755e3..d80260624 100644 --- a/Sources/GeneratedServices/CloudComposer/GTLRCloudComposerObjects.m +++ b/Sources/GeneratedServices/CloudComposer/GTLRCloudComposerObjects.m @@ -72,6 +72,7 @@ NSString * const kGTLRCloudComposer_OperationMetadata_OperationType_DatabaseFailover = @"DATABASE_FAILOVER"; NSString * const kGTLRCloudComposer_OperationMetadata_OperationType_Delete = @"DELETE"; NSString * const kGTLRCloudComposer_OperationMetadata_OperationType_LoadSnapshot = @"LOAD_SNAPSHOT"; +NSString * const kGTLRCloudComposer_OperationMetadata_OperationType_Migrate = @"MIGRATE"; NSString * const kGTLRCloudComposer_OperationMetadata_OperationType_SaveSnapshot = @"SAVE_SNAPSHOT"; NSString * const kGTLRCloudComposer_OperationMetadata_OperationType_TypeUnspecified = @"TYPE_UNSPECIFIED"; NSString * const kGTLRCloudComposer_OperationMetadata_OperationType_Update = @"UPDATE"; diff --git a/Sources/GeneratedServices/CloudComposer/Public/GoogleAPIClientForREST/GTLRCloudComposerObjects.h b/Sources/GeneratedServices/CloudComposer/Public/GoogleAPIClientForREST/GTLRCloudComposerObjects.h index 343194a2d..6eb25a1a3 100644 --- a/Sources/GeneratedServices/CloudComposer/Public/GoogleAPIClientForREST/GTLRCloudComposerObjects.h +++ b/Sources/GeneratedServices/CloudComposer/Public/GoogleAPIClientForREST/GTLRCloudComposerObjects.h @@ -366,6 +366,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudComposer_OperationMetadata_Operatio * Value: "LOAD_SNAPSHOT" */ FOUNDATION_EXTERN NSString * const kGTLRCloudComposer_OperationMetadata_OperationType_LoadSnapshot; +/** + * Migrates resource to a new major version. + * + * Value: "MIGRATE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudComposer_OperationMetadata_OperationType_Migrate; /** * Saves snapshot of the resource operation. * @@ -1876,6 +1882,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudComposer_TaskLogsRetentionConfig_St * resource deletion operation. (Value: "DELETE") * @arg @c kGTLRCloudComposer_OperationMetadata_OperationType_LoadSnapshot * Loads snapshot of the resource operation. (Value: "LOAD_SNAPSHOT") + * @arg @c kGTLRCloudComposer_OperationMetadata_OperationType_Migrate + * Migrates resource to a new major version. (Value: "MIGRATE") * @arg @c kGTLRCloudComposer_OperationMetadata_OperationType_SaveSnapshot * Saves snapshot of the resource operation. (Value: "SAVE_SNAPSHOT") * @arg @c kGTLRCloudComposer_OperationMetadata_OperationType_TypeUnspecified diff --git a/Sources/GeneratedServices/CloudDataplex/GTLRCloudDataplexObjects.m b/Sources/GeneratedServices/CloudDataplex/GTLRCloudDataplexObjects.m index 13a3a4fa5..696c64f7f 100644 --- a/Sources/GeneratedServices/CloudDataplex/GTLRCloudDataplexObjects.m +++ b/Sources/GeneratedServices/CloudDataplex/GTLRCloudDataplexObjects.m @@ -4,7 +4,7 @@ // API: // Cloud Dataplex API (dataplex/v1) // Description: -// Dataplex API is used to manage the lifecycle of data lakes. +// A unified, intelligent governance solution for data and AI assets. // Documentation: // https://cloud.google.com/dataplex/docs diff --git a/Sources/GeneratedServices/CloudDataplex/GTLRCloudDataplexQuery.m b/Sources/GeneratedServices/CloudDataplex/GTLRCloudDataplexQuery.m index 7b93daffb..516d46bbf 100644 --- a/Sources/GeneratedServices/CloudDataplex/GTLRCloudDataplexQuery.m +++ b/Sources/GeneratedServices/CloudDataplex/GTLRCloudDataplexQuery.m @@ -4,7 +4,7 @@ // API: // Cloud Dataplex API (dataplex/v1) // Description: -// Dataplex API is used to manage the lifecycle of data lakes. +// A unified, intelligent governance solution for data and AI assets. // Documentation: // https://cloud.google.com/dataplex/docs diff --git a/Sources/GeneratedServices/CloudDataplex/GTLRCloudDataplexService.m b/Sources/GeneratedServices/CloudDataplex/GTLRCloudDataplexService.m index c5e33deac..a5b782b49 100644 --- a/Sources/GeneratedServices/CloudDataplex/GTLRCloudDataplexService.m +++ b/Sources/GeneratedServices/CloudDataplex/GTLRCloudDataplexService.m @@ -4,7 +4,7 @@ // API: // Cloud Dataplex API (dataplex/v1) // Description: -// Dataplex API is used to manage the lifecycle of data lakes. +// A unified, intelligent governance solution for data and AI assets. // Documentation: // https://cloud.google.com/dataplex/docs diff --git a/Sources/GeneratedServices/CloudDataplex/Public/GoogleAPIClientForREST/GTLRCloudDataplex.h b/Sources/GeneratedServices/CloudDataplex/Public/GoogleAPIClientForREST/GTLRCloudDataplex.h index 6cf921d43..dcd3b985d 100644 --- a/Sources/GeneratedServices/CloudDataplex/Public/GoogleAPIClientForREST/GTLRCloudDataplex.h +++ b/Sources/GeneratedServices/CloudDataplex/Public/GoogleAPIClientForREST/GTLRCloudDataplex.h @@ -4,7 +4,7 @@ // API: // Cloud Dataplex API (dataplex/v1) // Description: -// Dataplex API is used to manage the lifecycle of data lakes. +// A unified, intelligent governance solution for data and AI assets. // Documentation: // https://cloud.google.com/dataplex/docs diff --git a/Sources/GeneratedServices/CloudDataplex/Public/GoogleAPIClientForREST/GTLRCloudDataplexObjects.h b/Sources/GeneratedServices/CloudDataplex/Public/GoogleAPIClientForREST/GTLRCloudDataplexObjects.h index be630b949..ed28bf90a 100644 --- a/Sources/GeneratedServices/CloudDataplex/Public/GoogleAPIClientForREST/GTLRCloudDataplexObjects.h +++ b/Sources/GeneratedServices/CloudDataplex/Public/GoogleAPIClientForREST/GTLRCloudDataplexObjects.h @@ -4,7 +4,7 @@ // API: // Cloud Dataplex API (dataplex/v1) // Description: -// Dataplex API is used to manage the lifecycle of data lakes. +// A unified, intelligent governance solution for data and AI assets. // Documentation: // https://cloud.google.com/dataplex/docs @@ -1612,7 +1612,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudDataplex_GoogleCloudDataplexV1Job_S // GTLRCloudDataplex_GoogleCloudDataplexV1Job.state /** - * The job was cancelled outside of Dataplex. + * The job was cancelled outside of Dataplex Universal Catalog. * * Value: "ABORTED" */ @@ -1664,8 +1664,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudDataplex_GoogleCloudDataplexV1Job_S */ FOUNDATION_EXTERN NSString * const kGTLRCloudDataplex_GoogleCloudDataplexV1Job_Trigger_RunRequest; /** - * The job was triggered by Dataplex based on trigger spec from task - * definition. + * The job was triggered by Dataplex Universal Catalog based on trigger spec + * from task definition. * * Value: "TASK_CONFIG" */ @@ -1693,8 +1693,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudDataplex_GoogleCloudDataplexV1JobEv */ FOUNDATION_EXTERN NSString * const kGTLRCloudDataplex_GoogleCloudDataplexV1JobEvent_ExecutionTrigger_RunRequest; /** - * The job was triggered by Dataplex based on trigger spec from task - * definition. + * The job was triggered by Dataplex Universal Catalog based on trigger spec + * from task definition. * * Value: "TASK_CONFIG" */ @@ -1867,10 +1867,10 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudDataplex_GoogleCloudDataplexV1Metad /** * All resources in the job's scope are modified. If a resource exists in - * Dataplex but isn't included in the metadata import file, the resource is - * deleted when you run the metadata job. Use this mode to perform a full sync - * of the set of entries in the job scope.This sync mode is supported for - * entries. + * Dataplex Universal Catalog but isn't included in the metadata import file, + * the resource is deleted when you run the metadata job. Use this mode to + * perform a full sync of the set of entries in the job scope.This sync mode is + * supported for entries. * * Value: "FULL" */ @@ -1903,10 +1903,10 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudDataplex_GoogleCloudDataplexV1Metad /** * All resources in the job's scope are modified. If a resource exists in - * Dataplex but isn't included in the metadata import file, the resource is - * deleted when you run the metadata job. Use this mode to perform a full sync - * of the set of entries in the job scope.This sync mode is supported for - * entries. + * Dataplex Universal Catalog but isn't included in the metadata import file, + * the resource is deleted when you run the metadata job. Use this mode to + * perform a full sync of the set of entries in the job scope.This sync mode is + * supported for entries. * * Value: "FULL" */ @@ -3042,8 +3042,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudDataplex_GoogleIamV1AuditLogConfig_ /** * Immutable. The IAM permission grantable on the EntryGroup to allow access to - * instantiate Aspects of Dataplex owned AspectTypes, only settable for - * Dataplex owned Types. + * instantiate Aspects of Dataplex Universal Catalog owned AspectTypes, only + * settable for Dataplex Universal Catalog owned Types. */ @property(nonatomic, copy, nullable) NSString *alternateUsePermission; @@ -4282,17 +4282,17 @@ GTLR_DEPRECATED /** Output only. The result of post scan actions. */ @property(nonatomic, strong, nullable) GTLRCloudDataplex_GoogleCloudDataplexV1DataProfileResultPostScanActionsResult *postScanActionsResult; -/** The profile information per field. */ +/** Output only. The profile information per field. */ @property(nonatomic, strong, nullable) GTLRCloudDataplex_GoogleCloudDataplexV1DataProfileResultProfile *profile; /** - * The count of rows scanned. + * Output only. The count of rows scanned. * * Uses NSNumber of longLongValue. */ @property(nonatomic, strong, nullable) NSNumber *rowCount; -/** The data scanned for this result. */ +/** Output only. The data scanned for this result. */ @property(nonatomic, strong, nullable) GTLRCloudDataplex_GoogleCloudDataplexV1ScannedData *scannedData; @end @@ -4341,7 +4341,10 @@ GTLR_DEPRECATED */ @interface GTLRCloudDataplex_GoogleCloudDataplexV1DataProfileResultProfile : GTLRObject -/** List of fields with structural and profile information for each field. */ +/** + * Output only. List of fields with structural and profile information for each + * field. + */ @property(nonatomic, strong, nullable) NSArray *fields; @end @@ -4353,23 +4356,23 @@ GTLR_DEPRECATED @interface GTLRCloudDataplex_GoogleCloudDataplexV1DataProfileResultProfileField : GTLRObject /** - * The mode of the field. Possible values include: REQUIRED, if it is a - * required field. NULLABLE, if it is an optional field. REPEATED, if it is a - * repeated field. + * Output only. The mode of the field. Possible values include: REQUIRED, if it + * is a required field. NULLABLE, if it is an optional field. REPEATED, if it + * is a repeated field. */ @property(nonatomic, copy, nullable) NSString *mode; -/** The name of the field. */ +/** Output only. The name of the field. */ @property(nonatomic, copy, nullable) NSString *name; -/** Profile information for the corresponding field. */ +/** Output only. Profile information for the corresponding field. */ @property(nonatomic, strong, nullable) GTLRCloudDataplex_GoogleCloudDataplexV1DataProfileResultProfileFieldProfileInfo *profile; /** - * The data type retrieved from the schema of the data source. For instance, - * for a BigQuery native table, it is the BigQuery Table Schema + * Output only. The data type retrieved from the schema of the data source. For + * instance, for a BigQuery native table, it is the BigQuery Table Schema * (https://cloud.google.com/bigquery/docs/reference/rest/v2/tables#tablefieldschema). - * For a Dataplex Entity, it is the Entity Schema + * For a Dataplex Universal Catalog Entity, it is the Entity Schema * (https://cloud.google.com/dataplex/docs/reference/rpc/google.cloud.dataplex.v1#type_3). */ @property(nonatomic, copy, nullable) NSString *type; @@ -4383,9 +4386,9 @@ GTLR_DEPRECATED @interface GTLRCloudDataplex_GoogleCloudDataplexV1DataProfileResultProfileFieldProfileInfo : GTLRObject /** - * Ratio of rows with distinct values against total scanned rows. Not available - * for complex non-groupable field type, including RECORD, ARRAY, GEOGRAPHY, - * and JSON, as well as fields with REPEATABLE mode. + * Output only. Ratio of rows with distinct values against total scanned rows. + * Not available for complex non-groupable field type, including RECORD, ARRAY, + * GEOGRAPHY, and JSON, as well as fields with REPEATABLE mode. * * Uses NSNumber of doubleValue. */ @@ -4398,7 +4401,7 @@ GTLR_DEPRECATED @property(nonatomic, strong, nullable) GTLRCloudDataplex_GoogleCloudDataplexV1DataProfileResultProfileFieldProfileInfoIntegerFieldInfo *integerProfile; /** - * Ratio of rows with null value against total scanned rows. + * Output only. Ratio of rows with null value against total scanned rows. * * Uses NSNumber of doubleValue. */ @@ -4408,11 +4411,11 @@ GTLR_DEPRECATED @property(nonatomic, strong, nullable) GTLRCloudDataplex_GoogleCloudDataplexV1DataProfileResultProfileFieldProfileInfoStringFieldInfo *stringProfile; /** - * The list of top N non-null values, frequency and ratio with which they occur - * in the scanned data. N is 10 or equal to the number of distinct values in - * the field, whichever is smaller. Not available for complex non-groupable - * field type, including RECORD, ARRAY, GEOGRAPHY, and JSON, as well as fields - * with REPEATABLE mode. + * Output only. The list of top N non-null values, frequency and ratio with + * which they occur in the scanned data. N is 10 or equal to the number of + * distinct values in the field, whichever is smaller. Not available for + * complex non-groupable field type, including RECORD, ARRAY, GEOGRAPHY, and + * JSON, as well as fields with REPEATABLE mode. */ @property(nonatomic, strong, nullable) NSArray *topNValues; @@ -4425,34 +4428,37 @@ GTLR_DEPRECATED @interface GTLRCloudDataplex_GoogleCloudDataplexV1DataProfileResultProfileFieldProfileInfoDoubleFieldInfo : GTLRObject /** - * Average of non-null values in the scanned data. NaN, if the field has a NaN. + * Output only. Average of non-null values in the scanned data. NaN, if the + * field has a NaN. * * Uses NSNumber of doubleValue. */ @property(nonatomic, strong, nullable) NSNumber *average; /** - * Maximum of non-null values in the scanned data. NaN, if the field has a NaN. + * Output only. Maximum of non-null values in the scanned data. NaN, if the + * field has a NaN. * * Uses NSNumber of doubleValue. */ @property(nonatomic, strong, nullable) NSNumber *max; /** - * Minimum of non-null values in the scanned data. NaN, if the field has a NaN. + * Output only. Minimum of non-null values in the scanned data. NaN, if the + * field has a NaN. * * Uses NSNumber of doubleValue. */ @property(nonatomic, strong, nullable) NSNumber *min; /** - * A quartile divides the number of data points into four parts, or quarters, - * of more-or-less equal size. Three main quartiles used are: The first - * quartile (Q1) splits off the lowest 25% of data from the highest 75%. It is - * also known as the lower or 25th empirical quartile, as 25% of the data is - * below this point. The second quartile (Q2) is the median of a data set. So, - * 50% of the data lies below this point. The third quartile (Q3) splits off - * the highest 25% of data from the lowest 75%. It is known as the upper or + * Output only. A quartile divides the number of data points into four parts, + * or quarters, of more-or-less equal size. Three main quartiles used are: The + * first quartile (Q1) splits off the lowest 25% of data from the highest 75%. + * It is also known as the lower or 25th empirical quartile, as 25% of the data + * is below this point. The second quartile (Q2) is the median of a data set. + * So, 50% of the data lies below this point. The third quartile (Q3) splits + * off the highest 25% of data from the lowest 75%. It is known as the upper or * 75th empirical quartile, as 75% of the data lies below this point. Here, the * quartiles is provided as an ordered list of quartile values for the scanned * data, occurring in order Q1, median, Q3. @@ -4462,8 +4468,8 @@ GTLR_DEPRECATED @property(nonatomic, strong, nullable) NSArray *quartiles; /** - * Standard deviation of non-null values in the scanned data. NaN, if the field - * has a NaN. + * Output only. Standard deviation of non-null values in the scanned data. NaN, + * if the field has a NaN. * * Uses NSNumber of doubleValue. */ @@ -4478,34 +4484,37 @@ GTLR_DEPRECATED @interface GTLRCloudDataplex_GoogleCloudDataplexV1DataProfileResultProfileFieldProfileInfoIntegerFieldInfo : GTLRObject /** - * Average of non-null values in the scanned data. NaN, if the field has a NaN. + * Output only. Average of non-null values in the scanned data. NaN, if the + * field has a NaN. * * Uses NSNumber of doubleValue. */ @property(nonatomic, strong, nullable) NSNumber *average; /** - * Maximum of non-null values in the scanned data. NaN, if the field has a NaN. + * Output only. Maximum of non-null values in the scanned data. NaN, if the + * field has a NaN. * * Uses NSNumber of longLongValue. */ @property(nonatomic, strong, nullable) NSNumber *max; /** - * Minimum of non-null values in the scanned data. NaN, if the field has a NaN. + * Output only. Minimum of non-null values in the scanned data. NaN, if the + * field has a NaN. * * Uses NSNumber of longLongValue. */ @property(nonatomic, strong, nullable) NSNumber *min; /** - * A quartile divides the number of data points into four parts, or quarters, - * of more-or-less equal size. Three main quartiles used are: The first - * quartile (Q1) splits off the lowest 25% of data from the highest 75%. It is - * also known as the lower or 25th empirical quartile, as 25% of the data is - * below this point. The second quartile (Q2) is the median of a data set. So, - * 50% of the data lies below this point. The third quartile (Q3) splits off - * the highest 25% of data from the lowest 75%. It is known as the upper or + * Output only. A quartile divides the number of data points into four parts, + * or quarters, of more-or-less equal size. Three main quartiles used are: The + * first quartile (Q1) splits off the lowest 25% of data from the highest 75%. + * It is also known as the lower or 25th empirical quartile, as 25% of the data + * is below this point. The second quartile (Q2) is the median of a data set. + * So, 50% of the data lies below this point. The third quartile (Q3) splits + * off the highest 25% of data from the lowest 75%. It is known as the upper or * 75th empirical quartile, as 75% of the data lies below this point. Here, the * quartiles is provided as an ordered list of approximate quartile values for * the scanned data, occurring in order Q1, median, Q3. @@ -4515,8 +4524,8 @@ GTLR_DEPRECATED @property(nonatomic, strong, nullable) NSArray *quartiles; /** - * Standard deviation of non-null values in the scanned data. NaN, if the field - * has a NaN. + * Output only. Standard deviation of non-null values in the scanned data. NaN, + * if the field has a NaN. * * Uses NSNumber of doubleValue. */ @@ -4531,21 +4540,21 @@ GTLR_DEPRECATED @interface GTLRCloudDataplex_GoogleCloudDataplexV1DataProfileResultProfileFieldProfileInfoStringFieldInfo : GTLRObject /** - * Average length of non-null values in the scanned data. + * Output only. Average length of non-null values in the scanned data. * * Uses NSNumber of doubleValue. */ @property(nonatomic, strong, nullable) NSNumber *averageLength; /** - * Maximum length of non-null values in the scanned data. + * Output only. Maximum length of non-null values in the scanned data. * * Uses NSNumber of longLongValue. */ @property(nonatomic, strong, nullable) NSNumber *maxLength; /** - * Minimum length of non-null values in the scanned data. + * Output only. Minimum length of non-null values in the scanned data. * * Uses NSNumber of longLongValue. */ @@ -4560,21 +4569,21 @@ GTLR_DEPRECATED @interface GTLRCloudDataplex_GoogleCloudDataplexV1DataProfileResultProfileFieldProfileInfoTopNValue : GTLRObject /** - * Count of the corresponding value in the scanned data. + * Output only. Count of the corresponding value in the scanned data. * * Uses NSNumber of longLongValue. */ @property(nonatomic, strong, nullable) NSNumber *count; /** - * Ratio of the corresponding value in the field against the total number of - * rows in the scanned data. + * Output only. Ratio of the corresponding value in the field against the total + * number of rows in the scanned data. * * Uses NSNumber of doubleValue. */ @property(nonatomic, strong, nullable) NSNumber *ratio; -/** String value of a top N non-null value. */ +/** Output only. String value of a top N non-null value. */ @property(nonatomic, copy, nullable) NSString *value; @end @@ -4603,9 +4612,8 @@ GTLR_DEPRECATED /** * Optional. A filter applied to all rows in a single DataScan job. The filter - * needs to be a valid SQL expression for a WHERE clause in GoogleSQL syntax - * (https://cloud.google.com/bigquery/docs/reference/standard-sql/query-syntax#where_clause).Example: - * col1 >= 0 AND col2 < 10 + * needs to be a valid SQL expression for a WHERE clause in BigQuery standard + * SQL syntax. Example: col1 >= 0 AND col2 < 10 */ @property(nonatomic, copy, nullable) NSString *rowFilter; @@ -4643,7 +4651,6 @@ GTLR_DEPRECATED /** * Optional. The BigQuery table to export DataProfileScan results to. Format: * //bigquery.googleapis.com/projects/PROJECT_ID/datasets/DATASET_ID/tables/TABLE_ID - * or projects/PROJECT_ID/datasets/DATASET_ID/tables/TABLE_ID */ @property(nonatomic, copy, nullable) NSString *resultsTable; @@ -4704,7 +4711,7 @@ GTLR_DEPRECATED @interface GTLRCloudDataplex_GoogleCloudDataplexV1DataQualityDimension : GTLRObject /** - * Optional. The dimension name a rule belongs to. Custom dimension name is + * Output only. The dimension name a rule belongs to. Custom dimension name is * supported with all uppercase letters and maximum length of 30 characters. */ @property(nonatomic, copy, nullable) NSString *name; @@ -4747,7 +4754,10 @@ GTLR_DEPRECATED */ @interface GTLRCloudDataplex_GoogleCloudDataplexV1DataQualityResult : GTLRObject -/** Output only. The status of publishing the data scan to Catalog. */ +/** + * Output only. The status of publishing the data scan as Dataplex Universal + * Catalog metadata. + */ @property(nonatomic, strong, nullable) GTLRCloudDataplex_GoogleCloudDataplexV1DataScanCatalogPublishingStatus *catalogPublishingStatus; /** @@ -5315,8 +5325,8 @@ GTLR_DEPRECATED @interface GTLRCloudDataplex_GoogleCloudDataplexV1DataQualitySpec : GTLRObject /** - * Optional. If set, the latest DataScan job result will be published to - * Dataplex Catalog. + * Optional. If set, the latest DataScan job result will be published as + * Dataplex Universal Catalog metadata. * * Uses NSNumber of boolValue. */ @@ -5582,7 +5592,8 @@ GTLR_DEPRECATED /** - * The status of publishing the data scan result to Catalog. + * The status of publishing the data scan result as Dataplex Universal Catalog + * metadata. */ @interface GTLRCloudDataplex_GoogleCloudDataplexV1DataScanCatalogPublishingStatus : GTLRObject @@ -5608,7 +5619,10 @@ GTLR_DEPRECATED */ @interface GTLRCloudDataplex_GoogleCloudDataplexV1DataScanEvent : GTLRObject -/** The status of publishing the data scan to Catalog. */ +/** + * The status of publishing the data scan as Dataplex Universal Catalog + * metadata. + */ @property(nonatomic, strong, nullable) GTLRCloudDataplex_GoogleCloudDataplexV1DataScanCatalogPublishingStatus *catalogPublishingStatus; /** The time when the data scan job was created. */ @@ -6045,8 +6059,8 @@ GTLR_DEPRECATED @interface GTLRCloudDataplex_GoogleCloudDataplexV1DataSource : GTLRObject /** - * Immutable. The Dataplex entity that represents the data source (e.g. - * BigQuery table) for DataScan, of the form: + * Immutable. The Dataplex Universal Catalog entity that represents the data + * source (e.g. BigQuery table) for DataScan, of the form: * projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/entities/{entity_id}. */ @property(nonatomic, copy, nullable) NSString *entity; @@ -6625,7 +6639,10 @@ GTLR_DEPRECATED */ @property(nonatomic, strong, nullable) GTLRCloudDataplex_GoogleCloudDataplexV1Entry_Aspects *aspects; -/** Output only. The time when the entry was created in Dataplex. */ +/** + * Output only. The time when the entry was created in Dataplex Universal + * Catalog. + */ @property(nonatomic, strong, nullable) GTLRDateTime *createTime; /** @@ -6661,7 +6678,10 @@ GTLR_DEPRECATED */ @property(nonatomic, copy, nullable) NSString *parentEntry; -/** Output only. The time when the entry was last updated in Dataplex. */ +/** + * Output only. The time when the entry was last updated in Dataplex Universal + * Catalog. + */ @property(nonatomic, strong, nullable) GTLRDateTime *updateTime; @end @@ -7056,8 +7076,8 @@ GTLR_DEPRECATED /** * Immutable. The IAM permission grantable on the Entry Group to allow access - * to instantiate Entries of Dataplex owned Entry Types, only settable for - * Dataplex owned Types. + * to instantiate Entries of Dataplex Universal Catalog owned Entry Types, only + * settable for Dataplex Universal Catalog owned Types. */ @property(nonatomic, copy, nullable) NSString *alternateUsePermission; @@ -7216,7 +7236,7 @@ GTLR_DEPRECATED */ @interface GTLRCloudDataplex_GoogleCloudDataplexV1EnvironmentInfrastructureSpecOsImageRuntime : GTLRObject -/** Required. Dataplex Image version. */ +/** Required. Dataplex Universal Catalog Image version. */ @property(nonatomic, copy, nullable) NSString *imageVersion; /** @@ -7312,8 +7332,8 @@ GTLR_DEPRECATED @interface GTLRCloudDataplex_GoogleCloudDataplexV1GenerateDataQualityRulesResponse : GTLRObject /** - * The data quality rules that Dataplex generates based on the results of a - * data profiling scan. + * The data quality rules that Dataplex Universal Catalog generates based on + * the results of a data profiling scan. */ @property(nonatomic, strong, nullable) NSArray *rule; @@ -7647,7 +7667,8 @@ GTLR_DEPRECATED * {project_id_or_number}.{location_id}.{aspect_type_id}.In FULL entry sync * mode, if you leave this field empty, it is treated as specifying exactly * those aspects that are present within the specified entry. Dataplex - * implicitly adds the keys for all of the required aspects of an entry. + * Universal Catalog implicitly adds the keys for all of the required aspects + * of an entry. */ @property(nonatomic, strong, nullable) NSArray *aspectKeys; @@ -7663,14 +7684,15 @@ GTLR_DEPRECATED /** * The fields to update, in paths that are relative to the Entry resource. - * Separate each field with a comma.In FULL entry sync mode, Dataplex includes - * the paths of all of the fields for an entry that can be modified, including - * aspects. This means that Dataplex replaces the existing entry with the entry - * in the metadata import file. All modifiable fields are updated, regardless - * of the fields that are listed in the update mask, and regardless of whether - * a field is present in the entry object.The update_mask field is ignored when - * an entry is created or re-created.In an aspect-only metadata job (when entry - * sync mode is NONE), set this value to aspects.Dataplex also determines which + * Separate each field with a comma.In FULL entry sync mode, Dataplex Universal + * Catalog includes the paths of all of the fields for an entry that can be + * modified, including aspects. This means that Dataplex Universal Catalog + * replaces the existing entry with the entry in the metadata import file. All + * modifiable fields are updated, regardless of the fields that are listed in + * the update mask, and regardless of whether a field is present in the entry + * object.The update_mask field is ignored when an entry is created or + * re-created.In an aspect-only metadata job (when entry sync mode is NONE), + * set this value to aspects.Dataplex Universal Catalog also determines which * entries and aspects to modify by comparing the values and timestamps that * you provide in the metadata import file with the values and timestamps that * exist in your project. For more information, see Comparison logic @@ -7740,7 +7762,8 @@ GTLR_DEPRECATED * * Likely values: * @arg @c kGTLRCloudDataplex_GoogleCloudDataplexV1Job_State_Aborted The job - * was cancelled outside of Dataplex. (Value: "ABORTED") + * was cancelled outside of Dataplex Universal Catalog. (Value: + * "ABORTED") * @arg @c kGTLRCloudDataplex_GoogleCloudDataplexV1Job_State_Cancelled The * job cancellation was successful. (Value: "CANCELLED") * @arg @c kGTLRCloudDataplex_GoogleCloudDataplexV1Job_State_Cancelling The @@ -7764,8 +7787,8 @@ GTLR_DEPRECATED * job was triggered by the explicit call of Task API. (Value: * "RUN_REQUEST") * @arg @c kGTLRCloudDataplex_GoogleCloudDataplexV1Job_Trigger_TaskConfig The - * job was triggered by Dataplex based on trigger spec from task - * definition. (Value: "TASK_CONFIG") + * job was triggered by Dataplex Universal Catalog based on trigger spec + * from task definition. (Value: "TASK_CONFIG") * @arg @c kGTLRCloudDataplex_GoogleCloudDataplexV1Job_Trigger_TriggerUnspecified * The trigger is unspecified. (Value: "TRIGGER_UNSPECIFIED") */ @@ -7809,8 +7832,8 @@ GTLR_DEPRECATED * The job was triggered by the explicit call of Task API. (Value: * "RUN_REQUEST") * @arg @c kGTLRCloudDataplex_GoogleCloudDataplexV1JobEvent_ExecutionTrigger_TaskConfig - * The job was triggered by Dataplex based on trigger spec from task - * definition. (Value: "TASK_CONFIG") + * The job was triggered by Dataplex Universal Catalog based on trigger + * spec from task definition. (Value: "TASK_CONFIG") */ @property(nonatomic, copy, nullable) NSString *executionTrigger; @@ -8840,10 +8863,10 @@ GTLR_DEPRECATED * Required. The root path of the Cloud Storage bucket to export the metadata * to, in the format gs://{bucket}/. You can optionally specify a custom prefix * after the bucket name, in the format gs://{bucket}/{prefix}/. The maximum - * length of the custom prefix is 128 characters. Dataplex constructs the - * object path for the exported files by using the bucket name and prefix that - * you provide, followed by a system-generated path.The bucket must be in the - * same VPC Service Controls perimeter as the job. + * length of the custom prefix is 128 characters. Dataplex Universal Catalog + * constructs the object path for the exported files by using the bucket name + * and prefix that you provide, followed by a system-generated path.The bucket + * must be in the same VPC Service Controls perimeter as the job. */ @property(nonatomic, copy, nullable) NSString *outputPath; @@ -8996,10 +9019,10 @@ GTLR_DEPRECATED * Likely values: * @arg @c kGTLRCloudDataplex_GoogleCloudDataplexV1MetadataJobImportJobSpec_AspectSyncMode_Full * All resources in the job's scope are modified. If a resource exists in - * Dataplex but isn't included in the metadata import file, the resource - * is deleted when you run the metadata job. Use this mode to perform a - * full sync of the set of entries in the job scope.This sync mode is - * supported for entries. (Value: "FULL") + * Dataplex Universal Catalog but isn't included in the metadata import + * file, the resource is deleted when you run the metadata job. Use this + * mode to perform a full sync of the set of entries in the job + * scope.This sync mode is supported for entries. (Value: "FULL") * @arg @c kGTLRCloudDataplex_GoogleCloudDataplexV1MetadataJobImportJobSpec_AspectSyncMode_Incremental * Only the resources that are explicitly included in the metadata import * file are modified. Use this mode to modify a subset of resources while @@ -9021,10 +9044,10 @@ GTLR_DEPRECATED * Likely values: * @arg @c kGTLRCloudDataplex_GoogleCloudDataplexV1MetadataJobImportJobSpec_EntrySyncMode_Full * All resources in the job's scope are modified. If a resource exists in - * Dataplex but isn't included in the metadata import file, the resource - * is deleted when you run the metadata job. Use this mode to perform a - * full sync of the set of entries in the job scope.This sync mode is - * supported for entries. (Value: "FULL") + * Dataplex Universal Catalog but isn't included in the metadata import + * file, the resource is deleted when you run the metadata job. Use this + * mode to perform a full sync of the set of entries in the job + * scope.This sync mode is supported for entries. (Value: "FULL") * @arg @c kGTLRCloudDataplex_GoogleCloudDataplexV1MetadataJobImportJobSpec_EntrySyncMode_Incremental * Only the resources that are explicitly included in the metadata import * file are modified. Use this mode to modify a subset of resources while @@ -9427,16 +9450,16 @@ GTLR_DEPRECATED */ @interface GTLRCloudDataplex_GoogleCloudDataplexV1ScannedDataIncrementalField : GTLRObject -/** Value that marks the end of the range. */ +/** Output only. Value that marks the end of the range. */ @property(nonatomic, copy, nullable) NSString *end; /** - * The field that contains values which monotonically increases over time (e.g. - * a timestamp column). + * Output only. The field that contains values which monotonically increases + * over time (e.g. a timestamp column). */ @property(nonatomic, copy, nullable) NSString *field; -/** Value that marks the start of the range. */ +/** Output only. Value that marks the start of the range. */ @property(nonatomic, copy, nullable) NSString *start; @end @@ -9475,14 +9498,16 @@ GTLR_DEPRECATED @property(nonatomic, copy, nullable) NSString *partitionStyle; /** - * Required. Set to true if user-managed or false if managed by Dataplex. The - * default is false (managed by Dataplex). Set to falseto enable Dataplex - * discovery to update the schema. including new data discovery, schema - * inference, and schema evolution. Users retain the ability to input and edit - * the schema. Dataplex treats schema input by the user as though produced by a - * previous Dataplex discovery operation, and it will evolve the schema and - * take action based on that treatment. Set to true to fully manage the entity - * schema. This setting guarantees that Dataplex will not change schema fields. + * Required. Set to true if user-managed or false if managed by Dataplex + * Universal Catalog. The default is false (managed by Dataplex Universal + * Catalog). Set to falseto enable Dataplex Universal Catalog discovery to + * update the schema. including new data discovery, schema inference, and + * schema evolution. Users retain the ability to input and edit the schema. + * Dataplex Universal Catalog treats schema input by the user as though + * produced by a previous Dataplex Universal Catalog discovery operation, and + * it will evolve the schema and take action based on that treatment. Set to + * true to fully manage the entity schema. This setting guarantees that + * Dataplex Universal Catalog will not change schema fields. * * Uses NSNumber of boolValue. */ diff --git a/Sources/GeneratedServices/CloudDataplex/Public/GoogleAPIClientForREST/GTLRCloudDataplexQuery.h b/Sources/GeneratedServices/CloudDataplex/Public/GoogleAPIClientForREST/GTLRCloudDataplexQuery.h index 07087e5b1..4fb49a09e 100644 --- a/Sources/GeneratedServices/CloudDataplex/Public/GoogleAPIClientForREST/GTLRCloudDataplexQuery.h +++ b/Sources/GeneratedServices/CloudDataplex/Public/GoogleAPIClientForREST/GTLRCloudDataplexQuery.h @@ -4,7 +4,7 @@ // API: // Cloud Dataplex API (dataplex/v1) // Description: -// Dataplex API is used to manage the lifecycle of data lakes. +// A unified, intelligent governance solution for data and AI assets. // Documentation: // https://cloud.google.com/dataplex/docs @@ -8700,8 +8700,8 @@ GTLR_DEPRECATED @end /** - * Creates a metadata job. For example, use a metadata job to import Dataplex - * Catalog entries and aspects from a third-party system into Dataplex. + * Creates a metadata job. For example, use a metadata job to import metadata + * from a third-party system into Dataplex Universal Catalog. * * Method: dataplex.projects.locations.metadataJobs.create * @@ -8731,8 +8731,8 @@ GTLR_DEPRECATED /** * Fetches a @c GTLRCloudDataplex_GoogleLongrunningOperation. * - * Creates a metadata job. For example, use a metadata job to import Dataplex - * Catalog entries and aspects from a third-party system into Dataplex. + * Creates a metadata job. For example, use a metadata job to import metadata + * from a third-party system into Dataplex Universal Catalog. * * @param object The @c GTLRCloudDataplex_GoogleCloudDataplexV1MetadataJob to * include in the query. @@ -9025,7 +9025,7 @@ GTLR_DEPRECATED /** * Required. The query against which entries in scope should be matched. The - * query syntax is defined in Search syntax for Dataplex Catalog + * query syntax is defined in Search syntax for Dataplex Universal Catalog * (https://cloud.google.com/dataplex/docs/search-syntax). */ @property(nonatomic, copy, nullable) NSString *query; diff --git a/Sources/GeneratedServices/CloudDataplex/Public/GoogleAPIClientForREST/GTLRCloudDataplexService.h b/Sources/GeneratedServices/CloudDataplex/Public/GoogleAPIClientForREST/GTLRCloudDataplexService.h index cec90d5b3..5203bcee9 100644 --- a/Sources/GeneratedServices/CloudDataplex/Public/GoogleAPIClientForREST/GTLRCloudDataplexService.h +++ b/Sources/GeneratedServices/CloudDataplex/Public/GoogleAPIClientForREST/GTLRCloudDataplexService.h @@ -4,7 +4,7 @@ // API: // Cloud Dataplex API (dataplex/v1) // Description: -// Dataplex API is used to manage the lifecycle of data lakes. +// A unified, intelligent governance solution for data and AI assets. // Documentation: // https://cloud.google.com/dataplex/docs @@ -39,7 +39,7 @@ FOUNDATION_EXTERN NSString * const kGTLRAuthScopeCloudDataplexCloudPlatform; /** * Service for executing Cloud Dataplex API queries. * - * Dataplex API is used to manage the lifecycle of data lakes. + * A unified, intelligent governance solution for data and AI assets. */ @interface GTLRCloudDataplexService : GTLRService diff --git a/Sources/GeneratedServices/CloudFilestore/GTLRCloudFilestoreObjects.m b/Sources/GeneratedServices/CloudFilestore/GTLRCloudFilestoreObjects.m index 55e2b5e28..8a601d36b 100644 --- a/Sources/GeneratedServices/CloudFilestore/GTLRCloudFilestoreObjects.m +++ b/Sources/GeneratedServices/CloudFilestore/GTLRCloudFilestoreObjects.m @@ -108,6 +108,7 @@ // GTLRCloudFilestore_ReplicaConfig.state NSString * const kGTLRCloudFilestore_ReplicaConfig_State_Creating = @"CREATING"; NSString * const kGTLRCloudFilestore_ReplicaConfig_State_Failed = @"FAILED"; +NSString * const kGTLRCloudFilestore_ReplicaConfig_State_Promoting = @"PROMOTING"; NSString * const kGTLRCloudFilestore_ReplicaConfig_State_Ready = @"READY"; NSString * const kGTLRCloudFilestore_ReplicaConfig_State_Removing = @"REMOVING"; NSString * const kGTLRCloudFilestore_ReplicaConfig_State_StateUnspecified = @"STATE_UNSPECIFIED"; diff --git a/Sources/GeneratedServices/CloudFilestore/Public/GoogleAPIClientForREST/GTLRCloudFilestoreObjects.h b/Sources/GeneratedServices/CloudFilestore/Public/GoogleAPIClientForREST/GTLRCloudFilestoreObjects.h index fec20a804..d50628471 100644 --- a/Sources/GeneratedServices/CloudFilestore/Public/GoogleAPIClientForREST/GTLRCloudFilestoreObjects.h +++ b/Sources/GeneratedServices/CloudFilestore/Public/GoogleAPIClientForREST/GTLRCloudFilestoreObjects.h @@ -558,6 +558,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudFilestore_ReplicaConfig_State_Creat * Value: "FAILED" */ FOUNDATION_EXTERN NSString * const kGTLRCloudFilestore_ReplicaConfig_State_Failed; +/** + * The replica is being promoted. + * + * Value: "PROMOTING" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudFilestore_ReplicaConfig_State_Promoting; /** * The replica is ready. * @@ -2509,6 +2515,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudFilestore_UpdatePolicy_Channel_Week * experiencing an issue and might be unusable. You can get further * details from the `stateReasons` field of the `ReplicaConfig` object. * (Value: "FAILED") + * @arg @c kGTLRCloudFilestore_ReplicaConfig_State_Promoting The replica is + * being promoted. (Value: "PROMOTING") * @arg @c kGTLRCloudFilestore_ReplicaConfig_State_Ready The replica is * ready. (Value: "READY") * @arg @c kGTLRCloudFilestore_ReplicaConfig_State_Removing The replica is diff --git a/Sources/GeneratedServices/CloudHealthcare/Public/GoogleAPIClientForREST/GTLRCloudHealthcareObjects.h b/Sources/GeneratedServices/CloudHealthcare/Public/GoogleAPIClientForREST/GTLRCloudHealthcareObjects.h index 666bcc457..9ca26af80 100644 --- a/Sources/GeneratedServices/CloudHealthcare/Public/GoogleAPIClientForREST/GTLRCloudHealthcareObjects.h +++ b/Sources/GeneratedServices/CloudHealthcare/Public/GoogleAPIClientForREST/GTLRCloudHealthcareObjects.h @@ -182,8 +182,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcare_AccessDeterminationLogCo * consensual determination * Timestamp of the applied enforcement leading to * the decision * Enforcement version at the time the applicable consents were * applied * The Consent resource name * The timestamp of the Consent resource - * used for enforcement * Policy type (`PATIENT` or `ADMIN`) Note that this - * mode adds some overhead to CRUD operations. + * used for enforcement * Policy type (`PATIENT` or `ADMIN`) Due to the limited + * space for logging, this mode is the same as `MINIMUM` for methods that + * return multiple resources (such as FHIR Search). * * Value: "VERBOSE" */ @@ -1205,8 +1206,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcare_Type_Primitive_Varies; * enforcement leading to the decision * Enforcement version at the time * the applicable consents were applied * The Consent resource name * The * timestamp of the Consent resource used for enforcement * Policy type - * (`PATIENT` or `ADMIN`) Note that this mode adds some overhead to CRUD - * operations. (Value: "VERBOSE") + * (`PATIENT` or `ADMIN`) Due to the limited space for logging, this mode + * is the same as `MINIMUM` for methods that return multiple resources + * (such as FHIR Search). (Value: "VERBOSE") */ @property(nonatomic, copy, nullable) NSString *logLevel; diff --git a/Sources/GeneratedServices/CloudHealthcare/Public/GoogleAPIClientForREST/GTLRCloudHealthcareQuery.h b/Sources/GeneratedServices/CloudHealthcare/Public/GoogleAPIClientForREST/GTLRCloudHealthcareQuery.h index bf014d537..7ecc5657b 100644 --- a/Sources/GeneratedServices/CloudHealthcare/Public/GoogleAPIClientForREST/GTLRCloudHealthcareQuery.h +++ b/Sources/GeneratedServices/CloudHealthcare/Public/GoogleAPIClientForREST/GTLRCloudHealthcareQuery.h @@ -2860,7 +2860,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; /** * RetrieveStudyMetadata returns instance associated with the given study - * presented as metadata with the bulk data removed. See [RetrieveTransaction] + * presented as metadata. See [RetrieveTransaction] * (http://dicom.nema.org/medical/dicom/current/output/html/part18.html#sect_10.4). * For details on the implementation of RetrieveStudyMetadata, see [Metadata * resources](https://cloud.google.com/healthcare/docs/dicom#metadata_resources) @@ -2892,7 +2892,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; * Fetches a @c GTLRCloudHealthcare_HttpBody. * * RetrieveStudyMetadata returns instance associated with the given study - * presented as metadata with the bulk data removed. See [RetrieveTransaction] + * presented as metadata. See [RetrieveTransaction] * (http://dicom.nema.org/medical/dicom/current/output/html/part18.html#sect_10.4). * For details on the implementation of RetrieveStudyMetadata, see [Metadata * resources](https://cloud.google.com/healthcare/docs/dicom#metadata_resources) @@ -3135,10 +3135,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; /** * Returns uncompressed, unencoded bytes representing the referenced bulkdata - * tag from an instance. See [Retrieve Transaction] - * (http://dicom.nema.org/medical/dicom/current/output/html/part18.html#sect_10.4){: - * .external}. For details on the implementation of RetrieveBulkdata, see - * [Bulkdata + * tag from an instance. See [Retrieve + * Transaction](http://dicom.nema.org/medical/dicom/current/output/html/part18.html#sect_10.4). + * For details on the implementation of RetrieveBulkdata, see [Bulkdata * resources](https://cloud.google.com/healthcare/docs/dicom#bulkdata-resources) * in the Cloud Healthcare API conformance statement. For samples that show how * to call RetrieveBulkdata, see [Retrieve @@ -3168,10 +3167,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; * Fetches a @c GTLRCloudHealthcare_HttpBody. * * Returns uncompressed, unencoded bytes representing the referenced bulkdata - * tag from an instance. See [Retrieve Transaction] - * (http://dicom.nema.org/medical/dicom/current/output/html/part18.html#sect_10.4){: - * .external}. For details on the implementation of RetrieveBulkdata, see - * [Bulkdata + * tag from an instance. See [Retrieve + * Transaction](http://dicom.nema.org/medical/dicom/current/output/html/part18.html#sect_10.4). + * For details on the implementation of RetrieveBulkdata, see [Bulkdata * resources](https://cloud.google.com/healthcare/docs/dicom#bulkdata-resources) * in the Cloud Healthcare API conformance statement. For samples that show how * to call RetrieveBulkdata, see [Retrieve @@ -3428,8 +3426,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; /** * RetrieveInstanceMetadata returns instance associated with the given study, - * series, and SOP Instance UID presented as metadata with the bulk data - * removed. See [RetrieveTransaction] + * series, and SOP Instance UID presented as metadata. See + * [RetrieveTransaction] * (http://dicom.nema.org/medical/dicom/current/output/html/part18.html#sect_10.4). * For details on the implementation of RetrieveInstanceMetadata, see [Metadata * resources](https://cloud.google.com/healthcare/docs/dicom#metadata_resources) @@ -3462,8 +3460,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; * Fetches a @c GTLRCloudHealthcare_HttpBody. * * RetrieveInstanceMetadata returns instance associated with the given study, - * series, and SOP Instance UID presented as metadata with the bulk data - * removed. See [RetrieveTransaction] + * series, and SOP Instance UID presented as metadata. See + * [RetrieveTransaction] * (http://dicom.nema.org/medical/dicom/current/output/html/part18.html#sect_10.4). * For details on the implementation of RetrieveInstanceMetadata, see [Metadata * resources](https://cloud.google.com/healthcare/docs/dicom#metadata_resources) @@ -3552,8 +3550,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; /** * RetrieveSeriesMetadata returns instance associated with the given study and - * series, presented as metadata with the bulk data removed. See - * [RetrieveTransaction] + * series, presented as metadata. See [RetrieveTransaction] * (http://dicom.nema.org/medical/dicom/current/output/html/part18.html#sect_10.4). * For details on the implementation of RetrieveSeriesMetadata, see [Metadata * resources](https://cloud.google.com/healthcare/docs/dicom#metadata_resources) @@ -3585,8 +3582,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; * Fetches a @c GTLRCloudHealthcare_HttpBody. * * RetrieveSeriesMetadata returns instance associated with the given study and - * series, presented as metadata with the bulk data removed. See - * [RetrieveTransaction] + * series, presented as metadata. See [RetrieveTransaction] * (http://dicom.nema.org/medical/dicom/current/output/html/part18.html#sect_10.4). * For details on the implementation of RetrieveSeriesMetadata, see [Metadata * resources](https://cloud.google.com/healthcare/docs/dicom#metadata_resources) diff --git a/Sources/GeneratedServices/CloudIdentity/GTLRCloudIdentityObjects.m b/Sources/GeneratedServices/CloudIdentity/GTLRCloudIdentityObjects.m index ef6f05a6b..ea5fac8fb 100644 --- a/Sources/GeneratedServices/CloudIdentity/GTLRCloudIdentityObjects.m +++ b/Sources/GeneratedServices/CloudIdentity/GTLRCloudIdentityObjects.m @@ -138,6 +138,7 @@ // GTLRCloudIdentity_InboundSsoAssignment.ssoMode NSString * const kGTLRCloudIdentity_InboundSsoAssignment_SsoMode_DomainWideSamlIfEnabled = @"DOMAIN_WIDE_SAML_IF_ENABLED"; +NSString * const kGTLRCloudIdentity_InboundSsoAssignment_SsoMode_OidcSso = @"OIDC_SSO"; NSString * const kGTLRCloudIdentity_InboundSsoAssignment_SsoMode_SamlSso = @"SAML_SSO"; NSString * const kGTLRCloudIdentity_InboundSsoAssignment_SsoMode_SsoModeUnspecified = @"SSO_MODE_UNSPECIFIED"; NSString * const kGTLRCloudIdentity_InboundSsoAssignment_SsoMode_SsoOff = @"SSO_OFF"; @@ -243,6 +244,16 @@ @implementation GTLRCloudIdentity_CreateGroupMetadata @end +// ---------------------------------------------------------------------------- +// +// GTLRCloudIdentity_CreateInboundOidcSsoProfileOperationMetadata +// + +@implementation GTLRCloudIdentity_CreateInboundOidcSsoProfileOperationMetadata +@dynamic state; +@end + + // ---------------------------------------------------------------------------- // // GTLRCloudIdentity_CreateInboundSamlSsoProfileOperationMetadata @@ -289,6 +300,15 @@ @implementation GTLRCloudIdentity_DeleteIdpCredentialOperationMetadata @end +// ---------------------------------------------------------------------------- +// +// GTLRCloudIdentity_DeleteInboundOidcSsoProfileOperationMetadata +// + +@implementation GTLRCloudIdentity_DeleteInboundOidcSsoProfileOperationMetadata +@end + + // ---------------------------------------------------------------------------- // // GTLRCloudIdentity_DeleteInboundSamlSsoProfileOperationMetadata @@ -1003,6 +1023,16 @@ @implementation GTLRCloudIdentity_IdpCredential @end +// ---------------------------------------------------------------------------- +// +// GTLRCloudIdentity_InboundOidcSsoProfile +// + +@implementation GTLRCloudIdentity_InboundOidcSsoProfile +@dynamic customer, displayName, idpConfig, name, rpConfig; +@end + + // ---------------------------------------------------------------------------- // // GTLRCloudIdentity_InboundSamlSsoProfile @@ -1019,8 +1049,8 @@ @implementation GTLRCloudIdentity_InboundSamlSsoProfile // @implementation GTLRCloudIdentity_InboundSsoAssignment -@dynamic customer, name, rank, samlSsoInfo, signInBehavior, ssoMode, - targetGroup, targetOrgUnit; +@dynamic customer, name, oidcSsoInfo, rank, samlSsoInfo, signInBehavior, + ssoMode, targetGroup, targetOrgUnit; @end @@ -1078,6 +1108,28 @@ + (NSString *)collectionItemsKey { @end +// ---------------------------------------------------------------------------- +// +// GTLRCloudIdentity_ListInboundOidcSsoProfilesResponse +// + +@implementation GTLRCloudIdentity_ListInboundOidcSsoProfilesResponse +@dynamic inboundOidcSsoProfiles, nextPageToken; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"inboundOidcSsoProfiles" : [GTLRCloudIdentity_InboundOidcSsoProfile class] + }; + return map; +} + ++ (NSString *)collectionItemsKey { + return @"inboundOidcSsoProfiles"; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRCloudIdentity_ListInboundSamlSsoProfilesResponse @@ -1361,6 +1413,44 @@ @implementation GTLRCloudIdentity_ModifyMembershipRolesResponse @end +// ---------------------------------------------------------------------------- +// +// GTLRCloudIdentity_OidcIdpConfig +// + +@implementation GTLRCloudIdentity_OidcIdpConfig +@dynamic changePasswordUri, issuerUri; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRCloudIdentity_OidcRpConfig +// + +@implementation GTLRCloudIdentity_OidcRpConfig +@dynamic clientId, clientSecret, redirectUris; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"redirectUris" : [NSString class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRCloudIdentity_OidcSsoInfo +// + +@implementation GTLRCloudIdentity_OidcSsoInfo +@dynamic inboundOidcSsoProfile; +@end + + // ---------------------------------------------------------------------------- // // GTLRCloudIdentity_Operation @@ -1671,6 +1761,16 @@ @implementation GTLRCloudIdentity_UpdateGroupMetadata @end +// ---------------------------------------------------------------------------- +// +// GTLRCloudIdentity_UpdateInboundOidcSsoProfileOperationMetadata +// + +@implementation GTLRCloudIdentity_UpdateInboundOidcSsoProfileOperationMetadata +@dynamic state; +@end + + // ---------------------------------------------------------------------------- // // GTLRCloudIdentity_UpdateInboundSamlSsoProfileOperationMetadata diff --git a/Sources/GeneratedServices/CloudIdentity/GTLRCloudIdentityQuery.m b/Sources/GeneratedServices/CloudIdentity/GTLRCloudIdentityQuery.m index 3f4a1d400..4a8537f23 100644 --- a/Sources/GeneratedServices/CloudIdentity/GTLRCloudIdentityQuery.m +++ b/Sources/GeneratedServices/CloudIdentity/GTLRCloudIdentityQuery.m @@ -955,6 +955,110 @@ + (instancetype)queryWithObject:(GTLRCloudIdentity_SecuritySettings *)object @end +@implementation GTLRCloudIdentityQuery_InboundOidcSsoProfilesCreate + ++ (instancetype)queryWithObject:(GTLRCloudIdentity_InboundOidcSsoProfile *)object { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSString *pathURITemplate = @"v1/inboundOidcSsoProfiles"; + GTLRCloudIdentityQuery_InboundOidcSsoProfilesCreate *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:nil]; + query.bodyObject = object; + query.expectedObjectClass = [GTLRCloudIdentity_Operation class]; + query.loggingName = @"cloudidentity.inboundOidcSsoProfiles.create"; + return query; +} + +@end + +@implementation GTLRCloudIdentityQuery_InboundOidcSsoProfilesDelete + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRCloudIdentityQuery_InboundOidcSsoProfilesDelete *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"DELETE" + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRCloudIdentity_Operation class]; + query.loggingName = @"cloudidentity.inboundOidcSsoProfiles.delete"; + return query; +} + +@end + +@implementation GTLRCloudIdentityQuery_InboundOidcSsoProfilesGet + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRCloudIdentityQuery_InboundOidcSsoProfilesGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRCloudIdentity_InboundOidcSsoProfile class]; + query.loggingName = @"cloudidentity.inboundOidcSsoProfiles.get"; + return query; +} + +@end + +@implementation GTLRCloudIdentityQuery_InboundOidcSsoProfilesList + +@dynamic filter, pageSize, pageToken; + ++ (instancetype)query { + NSString *pathURITemplate = @"v1/inboundOidcSsoProfiles"; + GTLRCloudIdentityQuery_InboundOidcSsoProfilesList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:nil]; + query.expectedObjectClass = [GTLRCloudIdentity_ListInboundOidcSsoProfilesResponse class]; + query.loggingName = @"cloudidentity.inboundOidcSsoProfiles.list"; + return query; +} + +@end + +@implementation GTLRCloudIdentityQuery_InboundOidcSsoProfilesPatch + +@dynamic name, updateMask; + ++ (instancetype)queryWithObject:(GTLRCloudIdentity_InboundOidcSsoProfile *)object + name:(NSString *)name { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRCloudIdentityQuery_InboundOidcSsoProfilesPatch *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"PATCH" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.name = name; + query.expectedObjectClass = [GTLRCloudIdentity_Operation class]; + query.loggingName = @"cloudidentity.inboundOidcSsoProfiles.patch"; + return query; +} + +@end + @implementation GTLRCloudIdentityQuery_InboundSamlSsoProfilesCreate + (instancetype)queryWithObject:(GTLRCloudIdentity_InboundSamlSsoProfile *)object { diff --git a/Sources/GeneratedServices/CloudIdentity/Public/GoogleAPIClientForREST/GTLRCloudIdentityObjects.h b/Sources/GeneratedServices/CloudIdentity/Public/GoogleAPIClientForREST/GTLRCloudIdentityObjects.h index bc1b17e5d..93d66338e 100644 --- a/Sources/GeneratedServices/CloudIdentity/Public/GoogleAPIClientForREST/GTLRCloudIdentityObjects.h +++ b/Sources/GeneratedServices/CloudIdentity/Public/GoogleAPIClientForREST/GTLRCloudIdentityObjects.h @@ -37,6 +37,7 @@ @class GTLRCloudIdentity_GroupRelation; @class GTLRCloudIdentity_GroupRelation_Labels; @class GTLRCloudIdentity_IdpCredential; +@class GTLRCloudIdentity_InboundOidcSsoProfile; @class GTLRCloudIdentity_InboundSamlSsoProfile; @class GTLRCloudIdentity_InboundSsoAssignment; @class GTLRCloudIdentity_MemberRelation; @@ -47,6 +48,9 @@ @class GTLRCloudIdentity_MembershipRelation_Labels; @class GTLRCloudIdentity_MembershipRole; @class GTLRCloudIdentity_MembershipRoleRestrictionEvaluation; +@class GTLRCloudIdentity_OidcIdpConfig; +@class GTLRCloudIdentity_OidcRpConfig; +@class GTLRCloudIdentity_OidcSsoInfo; @class GTLRCloudIdentity_Operation_Metadata; @class GTLRCloudIdentity_Operation_Response; @class GTLRCloudIdentity_Policy; @@ -674,6 +678,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudIdentity_GroupRelation_RelationType * Value: "DOMAIN_WIDE_SAML_IF_ENABLED" */ FOUNDATION_EXTERN NSString * const kGTLRCloudIdentity_InboundSsoAssignment_SsoMode_DomainWideSamlIfEnabled; +/** + * Use an external OIDC Identity Provider for SSO for the targeted users. + * + * Value: "OIDC_SSO" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudIdentity_InboundSsoAssignment_SsoMode_OidcSso; /** * Use an external SAML Identity Provider for SSO for the targeted users. * @@ -1019,6 +1029,23 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudIdentity_UserInvitation_State_State @end +/** + * LRO response metadata for + * InboundOidcSsoProfilesService.CreateInboundOidcSsoProfile. + */ +@interface GTLRCloudIdentity_CreateInboundOidcSsoProfileOperationMetadata : GTLRObject + +/** + * State of this Operation Will be "awaiting-multi-party-approval" when the + * operation is deferred due to the target customer having enabled [Multi-party + * approval for sensitive + * actions](https://support.google.com/a/answer/13790448). + */ +@property(nonatomic, copy, nullable) NSString *state; + +@end + + /** * LRO response metadata for * InboundSamlSsoProfilesService.CreateInboundSamlSsoProfile. @@ -1065,6 +1092,14 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudIdentity_UserInvitation_State_State @end +/** + * LRO response metadata for + * InboundOidcSsoProfilesService.DeleteInboundOidcSsoProfile. + */ +@interface GTLRCloudIdentity_DeleteInboundOidcSsoProfileOperationMetadata : GTLRObject +@end + + /** * LRO response metadata for * InboundSamlSsoProfilesService.DeleteInboundSamlSsoProfile. @@ -2683,6 +2718,38 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudIdentity_UserInvitation_State_State @end +/** + * An [OIDC](https://openid.net/developers/how-connect-works/) federation + * between a Google enterprise customer and an OIDC identity provider. + */ +@interface GTLRCloudIdentity_InboundOidcSsoProfile : GTLRObject + +/** Immutable. The customer. For example: `customers/C0123abc`. */ +@property(nonatomic, copy, nullable) NSString *customer; + +/** Human-readable name of the OIDC SSO profile. */ +@property(nonatomic, copy, nullable) NSString *displayName; + +/** OIDC identity provider configuration. */ +@property(nonatomic, strong, nullable) GTLRCloudIdentity_OidcIdpConfig *idpConfig; + +/** + * Output only. [Resource + * name](https://cloud.google.com/apis/design/resource_names) of the OIDC SSO + * profile. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * OIDC relying party (RP) configuration for this OIDC SSO profile. These are + * the RP details provided by Google that should be configured on the + * corresponding identity provider. + */ +@property(nonatomic, strong, nullable) GTLRCloudIdentity_OidcRpConfig *rpConfig; + +@end + + /** * A [SAML 2.0](https://www.oasis-open.org/standards#samlv2.0) federation * between a Google enterprise customer and a SAML identity provider. @@ -2730,6 +2797,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudIdentity_UserInvitation_State_State */ @property(nonatomic, copy, nullable) NSString *name; +/** + * OpenID Connect SSO details. Must be set if and only if `sso_mode` is set to + * `OIDC_SSO`. + */ +@property(nonatomic, strong, nullable) GTLRCloudIdentity_OidcSsoInfo *oidcSsoInfo; + /** * Must be zero (which is the default value so it can be omitted) for * assignments with `target_org_unit` set and must be greater-than-or-equal-to @@ -2763,6 +2836,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudIdentity_UserInvitation_State_State * domain-wide SAML is removed. Google may disallow this mode at that * point and existing assignments with this mode may be automatically * changed to `SSO_OFF`. (Value: "DOMAIN_WIDE_SAML_IF_ENABLED") + * @arg @c kGTLRCloudIdentity_InboundSsoAssignment_SsoMode_OidcSso Use an + * external OIDC Identity Provider for SSO for the targeted users. + * (Value: "OIDC_SSO") * @arg @c kGTLRCloudIdentity_InboundSsoAssignment_SsoMode_SamlSso Use an * external SAML Identity Provider for SSO for the targeted users. * (Value: "SAML_SSO") @@ -2851,6 +2927,34 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudIdentity_UserInvitation_State_State @end +/** + * Response of the InboundOidcSsoProfilesService.ListInboundOidcSsoProfiles + * method. + * + * @note This class supports NSFastEnumeration and indexed subscripting over + * its "inboundOidcSsoProfiles" property. If returned as the result of a + * query, it should support automatic pagination (when @c + * shouldFetchNextPages is enabled). + */ +@interface GTLRCloudIdentity_ListInboundOidcSsoProfilesResponse : GTLRCollectionObject + +/** + * List of InboundOidcSsoProfiles. + * + * @note This property is used to support NSFastEnumeration and indexed + * subscripting on this class. + */ +@property(nonatomic, strong, nullable) NSArray *inboundOidcSsoProfiles; + +/** + * A token, which can be sent as `page_token` to retrieve the next page. If + * this field is omitted, there are no subsequent pages. + */ +@property(nonatomic, copy, nullable) NSString *nextPageToken; + +@end + + /** * Response of the InboundSamlSsoProfilesService.ListInboundSamlSsoProfiles * method. @@ -3329,6 +3433,62 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudIdentity_UserInvitation_State_State @end +/** + * OIDC IDP (identity provider) configuration. + */ +@interface GTLRCloudIdentity_OidcIdpConfig : GTLRObject + +/** + * The **Change Password URL** of the identity provider. Users will be sent to + * this URL when changing their passwords at `myaccount.google.com`. This takes + * precedence over the change password URL configured at customer-level. Must + * use `HTTPS`. + */ +@property(nonatomic, copy, nullable) NSString *changePasswordUri; + +/** + * Required. The Issuer identifier for the IdP. Must be a URL. The discovery + * URL will be derived from this as described in Section 4 of [the OIDC + * specification](https://openid.net/specs/openid-connect-discovery-1_0.html). + */ +@property(nonatomic, copy, nullable) NSString *issuerUri; + +@end + + +/** + * OIDC RP (relying party) configuration. + */ +@interface GTLRCloudIdentity_OidcRpConfig : GTLRObject + +/** OAuth2 client ID for OIDC. */ +@property(nonatomic, copy, nullable) NSString *clientId; + +/** Input only. OAuth2 client secret for OIDC. */ +@property(nonatomic, copy, nullable) NSString *clientSecret; + +/** + * Output only. The URL(s) that this client may use in authentication requests. + */ +@property(nonatomic, strong, nullable) NSArray *redirectUris; + +@end + + +/** + * Details that are applicable when `sso_mode` is set to `OIDC_SSO`. + */ +@interface GTLRCloudIdentity_OidcSsoInfo : GTLRObject + +/** + * Required. Name of the `InboundOidcSsoProfile` to use. Must be of the form + * `inboundOidcSsoProfiles/{inbound_oidc_sso_profile}`. + */ +@property(nonatomic, copy, nullable) NSString *inboundOidcSsoProfile; + +@end + + /** * This resource represents a long-running operation that is the result of a * network API call. @@ -3873,6 +4033,23 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudIdentity_UserInvitation_State_State @end +/** + * LRO response metadata for + * InboundOidcSsoProfilesService.UpdateInboundOidcSsoProfile. + */ +@interface GTLRCloudIdentity_UpdateInboundOidcSsoProfileOperationMetadata : GTLRObject + +/** + * State of this Operation Will be "awaiting-multi-party-approval" when the + * operation is deferred due to the target customer having enabled [Multi-party + * approval for sensitive + * actions](https://support.google.com/a/answer/13790448). + */ +@property(nonatomic, copy, nullable) NSString *state; + +@end + + /** * LRO response metadata for * InboundSamlSsoProfilesService.UpdateInboundSamlSsoProfile. diff --git a/Sources/GeneratedServices/CloudIdentity/Public/GoogleAPIClientForREST/GTLRCloudIdentityQuery.h b/Sources/GeneratedServices/CloudIdentity/Public/GoogleAPIClientForREST/GTLRCloudIdentityQuery.h index 312268abd..b91b9c8fb 100644 --- a/Sources/GeneratedServices/CloudIdentity/Public/GoogleAPIClientForREST/GTLRCloudIdentityQuery.h +++ b/Sources/GeneratedServices/CloudIdentity/Public/GoogleAPIClientForREST/GTLRCloudIdentityQuery.h @@ -2279,6 +2279,216 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudIdentityViewViewUnspecified; @end +/** + * Creates an InboundOidcSsoProfile for a customer. When the target customer + * has enabled [Multi-party approval for sensitive + * actions](https://support.google.com/a/answer/13790448), the `Operation` in + * the response will have `"done": false`, it will not have a response, and the + * metadata will have `"state": "awaiting-multi-party-approval"`. + * + * Method: cloudidentity.inboundOidcSsoProfiles.create + * + * Authorization scope(s): + * @c kGTLRAuthScopeCloudIdentityCloudIdentityInboundsso + * @c kGTLRAuthScopeCloudIdentityCloudPlatform + */ +@interface GTLRCloudIdentityQuery_InboundOidcSsoProfilesCreate : GTLRCloudIdentityQuery + +/** + * Fetches a @c GTLRCloudIdentity_Operation. + * + * Creates an InboundOidcSsoProfile for a customer. When the target customer + * has enabled [Multi-party approval for sensitive + * actions](https://support.google.com/a/answer/13790448), the `Operation` in + * the response will have `"done": false`, it will not have a response, and the + * metadata will have `"state": "awaiting-multi-party-approval"`. + * + * @param object The @c GTLRCloudIdentity_InboundOidcSsoProfile to include in + * the query. + * + * @return GTLRCloudIdentityQuery_InboundOidcSsoProfilesCreate + */ ++ (instancetype)queryWithObject:(GTLRCloudIdentity_InboundOidcSsoProfile *)object; + +@end + +/** + * Deletes an InboundOidcSsoProfile. + * + * Method: cloudidentity.inboundOidcSsoProfiles.delete + * + * Authorization scope(s): + * @c kGTLRAuthScopeCloudIdentityCloudIdentityInboundsso + * @c kGTLRAuthScopeCloudIdentityCloudPlatform + */ +@interface GTLRCloudIdentityQuery_InboundOidcSsoProfilesDelete : GTLRCloudIdentityQuery + +/** + * Required. The [resource + * name](https://cloud.google.com/apis/design/resource_names) of the + * InboundOidcSsoProfile to delete. Format: + * `inboundOidcSsoProfiles/{sso_profile_id}` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRCloudIdentity_Operation. + * + * Deletes an InboundOidcSsoProfile. + * + * @param name Required. The [resource + * name](https://cloud.google.com/apis/design/resource_names) of the + * InboundOidcSsoProfile to delete. Format: + * `inboundOidcSsoProfiles/{sso_profile_id}` + * + * @return GTLRCloudIdentityQuery_InboundOidcSsoProfilesDelete + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Gets an InboundOidcSsoProfile. + * + * Method: cloudidentity.inboundOidcSsoProfiles.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeCloudIdentityCloudIdentityInboundsso + * @c kGTLRAuthScopeCloudIdentityCloudIdentityInboundssoReadonly + * @c kGTLRAuthScopeCloudIdentityCloudPlatform + */ +@interface GTLRCloudIdentityQuery_InboundOidcSsoProfilesGet : GTLRCloudIdentityQuery + +/** + * Required. The [resource + * name](https://cloud.google.com/apis/design/resource_names) of the + * InboundOidcSsoProfile to get. Format: + * `inboundOidcSsoProfiles/{sso_profile_id}` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRCloudIdentity_InboundOidcSsoProfile. + * + * Gets an InboundOidcSsoProfile. + * + * @param name Required. The [resource + * name](https://cloud.google.com/apis/design/resource_names) of the + * InboundOidcSsoProfile to get. Format: + * `inboundOidcSsoProfiles/{sso_profile_id}` + * + * @return GTLRCloudIdentityQuery_InboundOidcSsoProfilesGet + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Lists InboundOidcSsoProfile objects for a Google enterprise customer. + * + * Method: cloudidentity.inboundOidcSsoProfiles.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeCloudIdentityCloudIdentityInboundsso + * @c kGTLRAuthScopeCloudIdentityCloudIdentityInboundssoReadonly + * @c kGTLRAuthScopeCloudIdentityCloudPlatform + */ +@interface GTLRCloudIdentityQuery_InboundOidcSsoProfilesList : GTLRCloudIdentityQuery + +/** + * A [Common Expression Language](https://github.com/google/cel-spec) + * expression to filter the results. The only supported filter is filtering by + * customer. For example: `customer=="customers/C0123abc"`. Omitting the filter + * or specifying a filter of `customer=="customers/my_customer"` will return + * the profiles for the customer that the caller (authenticated user) belongs + * to. Specifying a filter of `customer==""` will return the global shared OIDC + * profiles. + */ +@property(nonatomic, copy, nullable) NSString *filter; + +/** + * The maximum number of InboundOidcSsoProfiles to return. The service may + * return fewer than this value. If omitted (or defaulted to zero) the server + * will use a sensible default. This default may change over time. The maximum + * allowed value is 100. Requests with page_size greater than that will be + * silently interpreted as having this maximum value. + */ +@property(nonatomic, assign) NSInteger pageSize; + +/** + * A page token, received from a previous `ListInboundOidcSsoProfiles` call. + * Provide this to retrieve the subsequent page. When paginating, all other + * parameters provided to `ListInboundOidcSsoProfiles` must match the call that + * provided the page token. + */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** + * Fetches a @c GTLRCloudIdentity_ListInboundOidcSsoProfilesResponse. + * + * Lists InboundOidcSsoProfile objects for a Google enterprise customer. + * + * @return GTLRCloudIdentityQuery_InboundOidcSsoProfilesList + * + * @note Automatic pagination will be done when @c shouldFetchNextPages is + * enabled. See @c shouldFetchNextPages on @c GTLRService for more + * information. + */ ++ (instancetype)query; + +@end + +/** + * Updates an InboundOidcSsoProfile. When the target customer has enabled + * [Multi-party approval for sensitive + * actions](https://support.google.com/a/answer/13790448), the `Operation` in + * the response will have `"done": false`, it will not have a response, and the + * metadata will have `"state": "awaiting-multi-party-approval"`. + * + * Method: cloudidentity.inboundOidcSsoProfiles.patch + * + * Authorization scope(s): + * @c kGTLRAuthScopeCloudIdentityCloudIdentityInboundsso + * @c kGTLRAuthScopeCloudIdentityCloudPlatform + */ +@interface GTLRCloudIdentityQuery_InboundOidcSsoProfilesPatch : GTLRCloudIdentityQuery + +/** + * Output only. [Resource + * name](https://cloud.google.com/apis/design/resource_names) of the OIDC SSO + * profile. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Required. The list of fields to be updated. + * + * String format is a comma-separated list of fields. + */ +@property(nonatomic, copy, nullable) NSString *updateMask; + +/** + * Fetches a @c GTLRCloudIdentity_Operation. + * + * Updates an InboundOidcSsoProfile. When the target customer has enabled + * [Multi-party approval for sensitive + * actions](https://support.google.com/a/answer/13790448), the `Operation` in + * the response will have `"done": false`, it will not have a response, and the + * metadata will have `"state": "awaiting-multi-party-approval"`. + * + * @param object The @c GTLRCloudIdentity_InboundOidcSsoProfile to include in + * the query. + * @param name Output only. [Resource + * name](https://cloud.google.com/apis/design/resource_names) of the OIDC SSO + * profile. + * + * @return GTLRCloudIdentityQuery_InboundOidcSsoProfilesPatch + */ ++ (instancetype)queryWithObject:(GTLRCloudIdentity_InboundOidcSsoProfile *)object + name:(NSString *)name; + +@end + /** * Creates an InboundSamlSsoProfile for a customer. When the target customer * has enabled [Multi-party approval for sensitive diff --git a/Sources/GeneratedServices/CloudKMS/GTLRCloudKMSObjects.m b/Sources/GeneratedServices/CloudKMS/GTLRCloudKMSObjects.m index 0dda1cc16..3af5326a1 100644 --- a/Sources/GeneratedServices/CloudKMS/GTLRCloudKMSObjects.m +++ b/Sources/GeneratedServices/CloudKMS/GTLRCloudKMSObjects.m @@ -45,6 +45,7 @@ NSString * const kGTLRCloudKMS_CryptoKey_Purpose_AsymmetricSign = @"ASYMMETRIC_SIGN"; NSString * const kGTLRCloudKMS_CryptoKey_Purpose_CryptoKeyPurposeUnspecified = @"CRYPTO_KEY_PURPOSE_UNSPECIFIED"; NSString * const kGTLRCloudKMS_CryptoKey_Purpose_EncryptDecrypt = @"ENCRYPT_DECRYPT"; +NSString * const kGTLRCloudKMS_CryptoKey_Purpose_KeyEncapsulation = @"KEY_ENCAPSULATION"; NSString * const kGTLRCloudKMS_CryptoKey_Purpose_Mac = @"MAC"; NSString * const kGTLRCloudKMS_CryptoKey_Purpose_RawEncryptDecrypt = @"RAW_ENCRYPT_DECRYPT"; @@ -67,6 +68,9 @@ NSString * const kGTLRCloudKMS_CryptoKeyVersion_Algorithm_HmacSha256 = @"HMAC_SHA256"; NSString * const kGTLRCloudKMS_CryptoKeyVersion_Algorithm_HmacSha384 = @"HMAC_SHA384"; NSString * const kGTLRCloudKMS_CryptoKeyVersion_Algorithm_HmacSha512 = @"HMAC_SHA512"; +NSString * const kGTLRCloudKMS_CryptoKeyVersion_Algorithm_KemXwing = @"KEM_XWING"; +NSString * const kGTLRCloudKMS_CryptoKeyVersion_Algorithm_MlKem1024 = @"ML_KEM_1024"; +NSString * const kGTLRCloudKMS_CryptoKeyVersion_Algorithm_MlKem768 = @"ML_KEM_768"; NSString * const kGTLRCloudKMS_CryptoKeyVersion_Algorithm_PqSignHashSlhDsaSha2128sSha256 = @"PQ_SIGN_HASH_SLH_DSA_SHA2_128S_SHA256"; NSString * const kGTLRCloudKMS_CryptoKeyVersion_Algorithm_PqSignMlDsa65 = @"PQ_SIGN_ML_DSA_65"; NSString * const kGTLRCloudKMS_CryptoKeyVersion_Algorithm_PqSignSlhDsaSha2128s = @"PQ_SIGN_SLH_DSA_SHA2_128S"; @@ -128,6 +132,9 @@ NSString * const kGTLRCloudKMS_CryptoKeyVersionTemplate_Algorithm_HmacSha256 = @"HMAC_SHA256"; NSString * const kGTLRCloudKMS_CryptoKeyVersionTemplate_Algorithm_HmacSha384 = @"HMAC_SHA384"; NSString * const kGTLRCloudKMS_CryptoKeyVersionTemplate_Algorithm_HmacSha512 = @"HMAC_SHA512"; +NSString * const kGTLRCloudKMS_CryptoKeyVersionTemplate_Algorithm_KemXwing = @"KEM_XWING"; +NSString * const kGTLRCloudKMS_CryptoKeyVersionTemplate_Algorithm_MlKem1024 = @"ML_KEM_1024"; +NSString * const kGTLRCloudKMS_CryptoKeyVersionTemplate_Algorithm_MlKem768 = @"ML_KEM_768"; NSString * const kGTLRCloudKMS_CryptoKeyVersionTemplate_Algorithm_PqSignHashSlhDsaSha2128sSha256 = @"PQ_SIGN_HASH_SLH_DSA_SHA2_128S_SHA256"; NSString * const kGTLRCloudKMS_CryptoKeyVersionTemplate_Algorithm_PqSignMlDsa65 = @"PQ_SIGN_ML_DSA_65"; NSString * const kGTLRCloudKMS_CryptoKeyVersionTemplate_Algorithm_PqSignSlhDsaSha2128s = @"PQ_SIGN_SLH_DSA_SHA2_128S"; @@ -157,6 +164,13 @@ NSString * const kGTLRCloudKMS_CryptoKeyVersionTemplate_ProtectionLevel_ProtectionLevelUnspecified = @"PROTECTION_LEVEL_UNSPECIFIED"; NSString * const kGTLRCloudKMS_CryptoKeyVersionTemplate_ProtectionLevel_Software = @"SOFTWARE"; +// GTLRCloudKMS_DecapsulateResponse.protectionLevel +NSString * const kGTLRCloudKMS_DecapsulateResponse_ProtectionLevel_External = @"EXTERNAL"; +NSString * const kGTLRCloudKMS_DecapsulateResponse_ProtectionLevel_ExternalVpc = @"EXTERNAL_VPC"; +NSString * const kGTLRCloudKMS_DecapsulateResponse_ProtectionLevel_Hsm = @"HSM"; +NSString * const kGTLRCloudKMS_DecapsulateResponse_ProtectionLevel_ProtectionLevelUnspecified = @"PROTECTION_LEVEL_UNSPECIFIED"; +NSString * const kGTLRCloudKMS_DecapsulateResponse_ProtectionLevel_Software = @"SOFTWARE"; + // GTLRCloudKMS_DecryptResponse.protectionLevel NSString * const kGTLRCloudKMS_DecryptResponse_ProtectionLevel_External = @"EXTERNAL"; NSString * const kGTLRCloudKMS_DecryptResponse_ProtectionLevel_ExternalVpc = @"EXTERNAL_VPC"; @@ -202,6 +216,9 @@ NSString * const kGTLRCloudKMS_ImportCryptoKeyVersionRequest_Algorithm_HmacSha256 = @"HMAC_SHA256"; NSString * const kGTLRCloudKMS_ImportCryptoKeyVersionRequest_Algorithm_HmacSha384 = @"HMAC_SHA384"; NSString * const kGTLRCloudKMS_ImportCryptoKeyVersionRequest_Algorithm_HmacSha512 = @"HMAC_SHA512"; +NSString * const kGTLRCloudKMS_ImportCryptoKeyVersionRequest_Algorithm_KemXwing = @"KEM_XWING"; +NSString * const kGTLRCloudKMS_ImportCryptoKeyVersionRequest_Algorithm_MlKem1024 = @"ML_KEM_1024"; +NSString * const kGTLRCloudKMS_ImportCryptoKeyVersionRequest_Algorithm_MlKem768 = @"ML_KEM_768"; NSString * const kGTLRCloudKMS_ImportCryptoKeyVersionRequest_Algorithm_PqSignHashSlhDsaSha2128sSha256 = @"PQ_SIGN_HASH_SLH_DSA_SHA2_128S_SHA256"; NSString * const kGTLRCloudKMS_ImportCryptoKeyVersionRequest_Algorithm_PqSignMlDsa65 = @"PQ_SIGN_ML_DSA_65"; NSString * const kGTLRCloudKMS_ImportCryptoKeyVersionRequest_Algorithm_PqSignSlhDsaSha2128s = @"PQ_SIGN_SLH_DSA_SHA2_128S"; @@ -298,6 +315,9 @@ NSString * const kGTLRCloudKMS_PublicKey_Algorithm_HmacSha256 = @"HMAC_SHA256"; NSString * const kGTLRCloudKMS_PublicKey_Algorithm_HmacSha384 = @"HMAC_SHA384"; NSString * const kGTLRCloudKMS_PublicKey_Algorithm_HmacSha512 = @"HMAC_SHA512"; +NSString * const kGTLRCloudKMS_PublicKey_Algorithm_KemXwing = @"KEM_XWING"; +NSString * const kGTLRCloudKMS_PublicKey_Algorithm_MlKem1024 = @"ML_KEM_1024"; +NSString * const kGTLRCloudKMS_PublicKey_Algorithm_MlKem768 = @"ML_KEM_768"; NSString * const kGTLRCloudKMS_PublicKey_Algorithm_PqSignHashSlhDsaSha2128sSha256 = @"PQ_SIGN_HASH_SLH_DSA_SHA2_128S_SHA256"; NSString * const kGTLRCloudKMS_PublicKey_Algorithm_PqSignMlDsa65 = @"PQ_SIGN_ML_DSA_65"; NSString * const kGTLRCloudKMS_PublicKey_Algorithm_PqSignSlhDsaSha2128s = @"PQ_SIGN_SLH_DSA_SHA2_128S"; @@ -328,9 +348,11 @@ NSString * const kGTLRCloudKMS_PublicKey_ProtectionLevel_Software = @"SOFTWARE"; // GTLRCloudKMS_PublicKey.publicKeyFormat +NSString * const kGTLRCloudKMS_PublicKey_PublicKeyFormat_Der = @"DER"; NSString * const kGTLRCloudKMS_PublicKey_PublicKeyFormat_NistPqc = @"NIST_PQC"; NSString * const kGTLRCloudKMS_PublicKey_PublicKeyFormat_Pem = @"PEM"; NSString * const kGTLRCloudKMS_PublicKey_PublicKeyFormat_PublicKeyFormatUnspecified = @"PUBLIC_KEY_FORMAT_UNSPECIFIED"; +NSString * const kGTLRCloudKMS_PublicKey_PublicKeyFormat_XwingRawBytes = @"XWING_RAW_BYTES"; // GTLRCloudKMS_RawDecryptResponse.protectionLevel NSString * const kGTLRCloudKMS_RawDecryptResponse_ProtectionLevel_External = @"EXTERNAL"; @@ -554,6 +576,27 @@ @implementation GTLRCloudKMS_CryptoKeyVersionTemplate @end +// ---------------------------------------------------------------------------- +// +// GTLRCloudKMS_DecapsulateRequest +// + +@implementation GTLRCloudKMS_DecapsulateRequest +@dynamic ciphertext, ciphertextCrc32c; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRCloudKMS_DecapsulateResponse +// + +@implementation GTLRCloudKMS_DecapsulateResponse +@dynamic name, protectionLevel, sharedSecret, sharedSecretCrc32c, + verifiedCiphertextCrc32c; +@end + + // ---------------------------------------------------------------------------- // // GTLRCloudKMS_DecryptRequest diff --git a/Sources/GeneratedServices/CloudKMS/GTLRCloudKMSQuery.m b/Sources/GeneratedServices/CloudKMS/GTLRCloudKMSQuery.m index 558466b48..9eec470b0 100644 --- a/Sources/GeneratedServices/CloudKMS/GTLRCloudKMSQuery.m +++ b/Sources/GeneratedServices/CloudKMS/GTLRCloudKMSQuery.m @@ -15,9 +15,11 @@ // Constants // publicKeyFormat +NSString * const kGTLRCloudKMSPublicKeyFormatDer = @"DER"; NSString * const kGTLRCloudKMSPublicKeyFormatNistPqc = @"NIST_PQC"; NSString * const kGTLRCloudKMSPublicKeyFormatPem = @"PEM"; NSString * const kGTLRCloudKMSPublicKeyFormatPublicKeyFormatUnspecified = @"PUBLIC_KEY_FORMAT_UNSPECIFIED"; +NSString * const kGTLRCloudKMSPublicKeyFormatXwingRawBytes = @"XWING_RAW_BYTES"; // versionView NSString * const kGTLRCloudKMSVersionViewCryptoKeyVersionViewUnspecified = @"CRYPTO_KEY_VERSION_VIEW_UNSPECIFIED"; @@ -724,6 +726,33 @@ + (instancetype)queryWithObject:(GTLRCloudKMS_CryptoKeyVersion *)object @end +@implementation GTLRCloudKMSQuery_ProjectsLocationsKeyRingsCryptoKeysCryptoKeyVersionsDecapsulate + +@dynamic name; + ++ (instancetype)queryWithObject:(GTLRCloudKMS_DecapsulateRequest *)object + name:(NSString *)name { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}:decapsulate"; + GTLRCloudKMSQuery_ProjectsLocationsKeyRingsCryptoKeysCryptoKeyVersionsDecapsulate *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.name = name; + query.expectedObjectClass = [GTLRCloudKMS_DecapsulateResponse class]; + query.loggingName = @"cloudkms.projects.locations.keyRings.cryptoKeys.cryptoKeyVersions.decapsulate"; + return query; +} + +@end + @implementation GTLRCloudKMSQuery_ProjectsLocationsKeyRingsCryptoKeysCryptoKeyVersionsDestroy @dynamic name; diff --git a/Sources/GeneratedServices/CloudKMS/Public/GoogleAPIClientForREST/GTLRCloudKMSObjects.h b/Sources/GeneratedServices/CloudKMS/Public/GoogleAPIClientForREST/GTLRCloudKMSObjects.h index 81000d75b..327b303f0 100644 --- a/Sources/GeneratedServices/CloudKMS/Public/GoogleAPIClientForREST/GTLRCloudKMSObjects.h +++ b/Sources/GeneratedServices/CloudKMS/Public/GoogleAPIClientForREST/GTLRCloudKMSObjects.h @@ -212,6 +212,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudKMS_CryptoKey_Purpose_CryptoKeyPurp * Value: "ENCRYPT_DECRYPT" */ FOUNDATION_EXTERN NSString * const kGTLRCloudKMS_CryptoKey_Purpose_EncryptDecrypt; +/** + * CryptoKeys with this purpose may be used with GetPublicKey and Decapsulate. + * + * Value: "KEY_ENCAPSULATION" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudKMS_CryptoKey_Purpose_KeyEncapsulation; /** * CryptoKeys with this purpose may be used with MacSign. * @@ -344,6 +350,25 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudKMS_CryptoKeyVersion_Algorithm_Hmac * Value: "HMAC_SHA512" */ FOUNDATION_EXTERN NSString * const kGTLRCloudKMS_CryptoKeyVersion_Algorithm_HmacSha512; +/** + * X-Wing hybrid KEM combining ML-KEM-768 with X25519 following + * datatracker.ietf.org/doc/draft-connolly-cfrg-xwing-kem/. + * + * Value: "KEM_XWING" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudKMS_CryptoKeyVersion_Algorithm_KemXwing; +/** + * ML-KEM-1024 (FIPS 203) + * + * Value: "ML_KEM_1024" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudKMS_CryptoKeyVersion_Algorithm_MlKem1024; +/** + * ML-KEM-768 (FIPS 203) + * + * Value: "ML_KEM_768" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudKMS_CryptoKeyVersion_Algorithm_MlKem768; /** * The post-quantum stateless hash-based digital signature algorithm, at * security level 1. Randomized pre-hash version supporting SHA256 digests. @@ -713,6 +738,25 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudKMS_CryptoKeyVersionTemplate_Algori * Value: "HMAC_SHA512" */ FOUNDATION_EXTERN NSString * const kGTLRCloudKMS_CryptoKeyVersionTemplate_Algorithm_HmacSha512; +/** + * X-Wing hybrid KEM combining ML-KEM-768 with X25519 following + * datatracker.ietf.org/doc/draft-connolly-cfrg-xwing-kem/. + * + * Value: "KEM_XWING" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudKMS_CryptoKeyVersionTemplate_Algorithm_KemXwing; +/** + * ML-KEM-1024 (FIPS 203) + * + * Value: "ML_KEM_1024" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudKMS_CryptoKeyVersionTemplate_Algorithm_MlKem1024; +/** + * ML-KEM-768 (FIPS 203) + * + * Value: "ML_KEM_768" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudKMS_CryptoKeyVersionTemplate_Algorithm_MlKem768; /** * The post-quantum stateless hash-based digital signature algorithm, at * security level 1. Randomized pre-hash version supporting SHA256 digests. @@ -877,6 +921,40 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudKMS_CryptoKeyVersionTemplate_Protec */ FOUNDATION_EXTERN NSString * const kGTLRCloudKMS_CryptoKeyVersionTemplate_ProtectionLevel_Software; +// ---------------------------------------------------------------------------- +// GTLRCloudKMS_DecapsulateResponse.protectionLevel + +/** + * Crypto operations are performed by an external key manager. + * + * Value: "EXTERNAL" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudKMS_DecapsulateResponse_ProtectionLevel_External; +/** + * Crypto operations are performed in an EKM-over-VPC backend. + * + * Value: "EXTERNAL_VPC" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudKMS_DecapsulateResponse_ProtectionLevel_ExternalVpc; +/** + * Crypto operations are performed in a Hardware Security Module. + * + * Value: "HSM" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudKMS_DecapsulateResponse_ProtectionLevel_Hsm; +/** + * Not specified. + * + * Value: "PROTECTION_LEVEL_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudKMS_DecapsulateResponse_ProtectionLevel_ProtectionLevelUnspecified; +/** + * Crypto operations are performed in software. + * + * Value: "SOFTWARE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudKMS_DecapsulateResponse_ProtectionLevel_Software; + // ---------------------------------------------------------------------------- // GTLRCloudKMS_DecryptResponse.protectionLevel @@ -1132,6 +1210,25 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudKMS_ImportCryptoKeyVersionRequest_A * Value: "HMAC_SHA512" */ FOUNDATION_EXTERN NSString * const kGTLRCloudKMS_ImportCryptoKeyVersionRequest_Algorithm_HmacSha512; +/** + * X-Wing hybrid KEM combining ML-KEM-768 with X25519 following + * datatracker.ietf.org/doc/draft-connolly-cfrg-xwing-kem/. + * + * Value: "KEM_XWING" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudKMS_ImportCryptoKeyVersionRequest_Algorithm_KemXwing; +/** + * ML-KEM-1024 (FIPS 203) + * + * Value: "ML_KEM_1024" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudKMS_ImportCryptoKeyVersionRequest_Algorithm_MlKem1024; +/** + * ML-KEM-768 (FIPS 203) + * + * Value: "ML_KEM_768" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudKMS_ImportCryptoKeyVersionRequest_Algorithm_MlKem768; /** * The post-quantum stateless hash-based digital signature algorithm, at * security level 1. Randomized pre-hash version supporting SHA256 digests. @@ -1698,6 +1795,25 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudKMS_PublicKey_Algorithm_HmacSha384; * Value: "HMAC_SHA512" */ FOUNDATION_EXTERN NSString * const kGTLRCloudKMS_PublicKey_Algorithm_HmacSha512; +/** + * X-Wing hybrid KEM combining ML-KEM-768 with X25519 following + * datatracker.ietf.org/doc/draft-connolly-cfrg-xwing-kem/. + * + * Value: "KEM_XWING" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudKMS_PublicKey_Algorithm_KemXwing; +/** + * ML-KEM-1024 (FIPS 203) + * + * Value: "ML_KEM_1024" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudKMS_PublicKey_Algorithm_MlKem1024; +/** + * ML-KEM-768 (FIPS 203) + * + * Value: "ML_KEM_768" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudKMS_PublicKey_Algorithm_MlKem768; /** * The post-quantum stateless hash-based digital signature algorithm, at * security level 1. Randomized pre-hash version supporting SHA256 digests. @@ -1865,6 +1981,13 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudKMS_PublicKey_ProtectionLevel_Softw // ---------------------------------------------------------------------------- // GTLRCloudKMS_PublicKey.publicKeyFormat +/** + * The returned public key will be encoded in DER format (the PrivateKeyInfo + * structure from RFC 5208). + * + * Value: "DER" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudKMS_PublicKey_PublicKeyFormat_Der; /** * This is supported only for PQC algorithms. The key material is returned in * the format defined by NIST PQC standards (FIPS 203, FIPS 204, and FIPS 205). @@ -1891,6 +2014,13 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudKMS_PublicKey_PublicKeyFormat_Pem; * Value: "PUBLIC_KEY_FORMAT_UNSPECIFIED" */ FOUNDATION_EXTERN NSString * const kGTLRCloudKMS_PublicKey_PublicKeyFormat_PublicKeyFormatUnspecified; +/** + * The returned public key is in raw bytes format defined in its standard + * https://datatracker.ietf.org/doc/draft-connolly-cfrg-xwing-kem. + * + * Value: "XWING_RAW_BYTES" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudKMS_PublicKey_PublicKeyFormat_XwingRawBytes; // ---------------------------------------------------------------------------- // GTLRCloudKMS_RawDecryptResponse.protectionLevel @@ -2617,6 +2747,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudKMS_RawEncryptResponse_ProtectionLe * @arg @c kGTLRCloudKMS_CryptoKey_Purpose_EncryptDecrypt CryptoKeys with * this purpose may be used with Encrypt and Decrypt. (Value: * "ENCRYPT_DECRYPT") + * @arg @c kGTLRCloudKMS_CryptoKey_Purpose_KeyEncapsulation CryptoKeys with + * this purpose may be used with GetPublicKey and Decapsulate. (Value: + * "KEY_ENCAPSULATION") * @arg @c kGTLRCloudKMS_CryptoKey_Purpose_Mac CryptoKeys with this purpose * may be used with MacSign. (Value: "MAC") * @arg @c kGTLRCloudKMS_CryptoKey_Purpose_RawEncryptDecrypt CryptoKeys with @@ -2722,6 +2855,14 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudKMS_RawEncryptResponse_ProtectionLe * signing with a 384 bit key. (Value: "HMAC_SHA384") * @arg @c kGTLRCloudKMS_CryptoKeyVersion_Algorithm_HmacSha512 HMAC-SHA512 * signing with a 512 bit key. (Value: "HMAC_SHA512") + * @arg @c kGTLRCloudKMS_CryptoKeyVersion_Algorithm_KemXwing X-Wing hybrid + * KEM combining ML-KEM-768 with X25519 following + * datatracker.ietf.org/doc/draft-connolly-cfrg-xwing-kem/. (Value: + * "KEM_XWING") + * @arg @c kGTLRCloudKMS_CryptoKeyVersion_Algorithm_MlKem1024 ML-KEM-1024 + * (FIPS 203) (Value: "ML_KEM_1024") + * @arg @c kGTLRCloudKMS_CryptoKeyVersion_Algorithm_MlKem768 ML-KEM-768 (FIPS + * 203) (Value: "ML_KEM_768") * @arg @c kGTLRCloudKMS_CryptoKeyVersion_Algorithm_PqSignHashSlhDsaSha2128sSha256 * The post-quantum stateless hash-based digital signature algorithm, at * security level 1. Randomized pre-hash version supporting SHA256 @@ -3013,6 +3154,14 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudKMS_RawEncryptResponse_ProtectionLe * HMAC-SHA384 signing with a 384 bit key. (Value: "HMAC_SHA384") * @arg @c kGTLRCloudKMS_CryptoKeyVersionTemplate_Algorithm_HmacSha512 * HMAC-SHA512 signing with a 512 bit key. (Value: "HMAC_SHA512") + * @arg @c kGTLRCloudKMS_CryptoKeyVersionTemplate_Algorithm_KemXwing X-Wing + * hybrid KEM combining ML-KEM-768 with X25519 following + * datatracker.ietf.org/doc/draft-connolly-cfrg-xwing-kem/. (Value: + * "KEM_XWING") + * @arg @c kGTLRCloudKMS_CryptoKeyVersionTemplate_Algorithm_MlKem1024 + * ML-KEM-1024 (FIPS 203) (Value: "ML_KEM_1024") + * @arg @c kGTLRCloudKMS_CryptoKeyVersionTemplate_Algorithm_MlKem768 + * ML-KEM-768 (FIPS 203) (Value: "ML_KEM_768") * @arg @c kGTLRCloudKMS_CryptoKeyVersionTemplate_Algorithm_PqSignHashSlhDsaSha2128sSha256 * The post-quantum stateless hash-based digital signature algorithm, at * security level 1. Randomized pre-hash version supporting SHA256 @@ -3104,6 +3253,114 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudKMS_RawEncryptResponse_ProtectionLe @end +/** + * Request message for KeyManagementService.Decapsulate. + */ +@interface GTLRCloudKMS_DecapsulateRequest : GTLRObject + +/** + * Required. The ciphertext produced from encapsulation with the named + * CryptoKeyVersion public key(s). + * + * Contains encoded binary data; GTLRBase64 can encode/decode (probably + * web-safe format). + */ +@property(nonatomic, copy, nullable) NSString *ciphertext; + +/** + * Optional. A CRC32C checksum of the DecapsulateRequest.ciphertext. If + * specified, KeyManagementService will verify the integrity of the received + * DecapsulateRequest.ciphertext using this checksum. KeyManagementService will + * report an error if the checksum verification fails. If you receive a + * checksum error, your client should verify that + * CRC32C(DecapsulateRequest.ciphertext) is equal to + * DecapsulateRequest.ciphertext_crc32c, and if so, perform a limited number of + * retries. A persistent mismatch may indicate an issue in your computation of + * the CRC32C checksum. Note: This field is defined as int64 for reasons of + * compatibility across different languages. However, it is a non-negative + * integer, which will never exceed 2^32-1, and can be safely downconverted to + * uint32 in languages that support this type. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *ciphertextCrc32c; + +@end + + +/** + * Response message for KeyManagementService.Decapsulate. + */ +@interface GTLRCloudKMS_DecapsulateResponse : GTLRObject + +/** + * The resource name of the CryptoKeyVersion used for decapsulation. Check this + * field to verify that the intended resource was used for decapsulation. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * The ProtectionLevel of the CryptoKeyVersion used in decapsulation. + * + * Likely values: + * @arg @c kGTLRCloudKMS_DecapsulateResponse_ProtectionLevel_External Crypto + * operations are performed by an external key manager. (Value: + * "EXTERNAL") + * @arg @c kGTLRCloudKMS_DecapsulateResponse_ProtectionLevel_ExternalVpc + * Crypto operations are performed in an EKM-over-VPC backend. (Value: + * "EXTERNAL_VPC") + * @arg @c kGTLRCloudKMS_DecapsulateResponse_ProtectionLevel_Hsm Crypto + * operations are performed in a Hardware Security Module. (Value: "HSM") + * @arg @c kGTLRCloudKMS_DecapsulateResponse_ProtectionLevel_ProtectionLevelUnspecified + * Not specified. (Value: "PROTECTION_LEVEL_UNSPECIFIED") + * @arg @c kGTLRCloudKMS_DecapsulateResponse_ProtectionLevel_Software Crypto + * operations are performed in software. (Value: "SOFTWARE") + */ +@property(nonatomic, copy, nullable) NSString *protectionLevel; + +/** + * The decapsulated shared_secret originally encapsulated with the matching + * public key. + * + * Contains encoded binary data; GTLRBase64 can encode/decode (probably + * web-safe format). + */ +@property(nonatomic, copy, nullable) NSString *sharedSecret; + +/** + * Integrity verification field. A CRC32C checksum of the returned + * DecapsulateResponse.shared_secret. An integrity check of + * DecapsulateResponse.shared_secret can be performed by computing the CRC32C + * checksum of DecapsulateResponse.shared_secret and comparing your results to + * this field. Discard the response in case of non-matching checksum values, + * and perform a limited number of retries. A persistent mismatch may indicate + * an issue in your computation of the CRC32C checksum. Note: receiving this + * response message indicates that KeyManagementService is able to successfully + * decrypt the ciphertext. Note: This field is defined as int64 for reasons of + * compatibility across different languages. However, it is a non-negative + * integer, which will never exceed 2^32-1, and can be safely downconverted to + * uint32 in languages that support this type. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *sharedSecretCrc32c; + +/** + * Integrity verification field. A flag indicating whether + * DecapsulateRequest.ciphertext_crc32c was received by KeyManagementService + * and used for the integrity verification of the ciphertext. A false value of + * this field indicates either that DecapsulateRequest.ciphertext_crc32c was + * left unset or that it was not delivered to KeyManagementService. If you've + * set DecapsulateRequest.ciphertext_crc32c but this field is still false, + * discard the response and perform a limited number of retries. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *verifiedCiphertextCrc32c; + +@end + + /** * Request message for KeyManagementService.Decrypt. */ @@ -3707,6 +3964,14 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudKMS_RawEncryptResponse_ProtectionLe * HMAC-SHA384 signing with a 384 bit key. (Value: "HMAC_SHA384") * @arg @c kGTLRCloudKMS_ImportCryptoKeyVersionRequest_Algorithm_HmacSha512 * HMAC-SHA512 signing with a 512 bit key. (Value: "HMAC_SHA512") + * @arg @c kGTLRCloudKMS_ImportCryptoKeyVersionRequest_Algorithm_KemXwing + * X-Wing hybrid KEM combining ML-KEM-768 with X25519 following + * datatracker.ietf.org/doc/draft-connolly-cfrg-xwing-kem/. (Value: + * "KEM_XWING") + * @arg @c kGTLRCloudKMS_ImportCryptoKeyVersionRequest_Algorithm_MlKem1024 + * ML-KEM-1024 (FIPS 203) (Value: "ML_KEM_1024") + * @arg @c kGTLRCloudKMS_ImportCryptoKeyVersionRequest_Algorithm_MlKem768 + * ML-KEM-768 (FIPS 203) (Value: "ML_KEM_768") * @arg @c kGTLRCloudKMS_ImportCryptoKeyVersionRequest_Algorithm_PqSignHashSlhDsaSha2128sSha256 * The post-quantum stateless hash-based digital signature algorithm, at * security level 1. Randomized pre-hash version supporting SHA256 @@ -4906,6 +5171,14 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudKMS_RawEncryptResponse_ProtectionLe * with a 384 bit key. (Value: "HMAC_SHA384") * @arg @c kGTLRCloudKMS_PublicKey_Algorithm_HmacSha512 HMAC-SHA512 signing * with a 512 bit key. (Value: "HMAC_SHA512") + * @arg @c kGTLRCloudKMS_PublicKey_Algorithm_KemXwing X-Wing hybrid KEM + * combining ML-KEM-768 with X25519 following + * datatracker.ietf.org/doc/draft-connolly-cfrg-xwing-kem/. (Value: + * "KEM_XWING") + * @arg @c kGTLRCloudKMS_PublicKey_Algorithm_MlKem1024 ML-KEM-1024 (FIPS 203) + * (Value: "ML_KEM_1024") + * @arg @c kGTLRCloudKMS_PublicKey_Algorithm_MlKem768 ML-KEM-768 (FIPS 203) + * (Value: "ML_KEM_768") * @arg @c kGTLRCloudKMS_PublicKey_Algorithm_PqSignHashSlhDsaSha2128sSha256 * The post-quantum stateless hash-based digital signature algorithm, at * security level 1. Randomized pre-hash version supporting SHA256 @@ -5030,6 +5303,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudKMS_RawEncryptResponse_ProtectionLe * field. * * Likely values: + * @arg @c kGTLRCloudKMS_PublicKey_PublicKeyFormat_Der The returned public + * key will be encoded in DER format (the PrivateKeyInfo structure from + * RFC 5208). (Value: "DER") * @arg @c kGTLRCloudKMS_PublicKey_PublicKeyFormat_NistPqc This is supported * only for PQC algorithms. The key material is returned in the format * defined by NIST PQC standards (FIPS 203, FIPS 204, and FIPS 205). @@ -5047,6 +5323,10 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudKMS_RawEncryptResponse_ProtectionLe * format is PEM, and the field pem will be populated. Otherwise, the * public key will be exported through the public_key field in the * requested format. (Value: "PUBLIC_KEY_FORMAT_UNSPECIFIED") + * @arg @c kGTLRCloudKMS_PublicKey_PublicKeyFormat_XwingRawBytes The returned + * public key is in raw bytes format defined in its standard + * https://datatracker.ietf.org/doc/draft-connolly-cfrg-xwing-kem. + * (Value: "XWING_RAW_BYTES") */ @property(nonatomic, copy, nullable) NSString *publicKeyFormat; diff --git a/Sources/GeneratedServices/CloudKMS/Public/GoogleAPIClientForREST/GTLRCloudKMSQuery.h b/Sources/GeneratedServices/CloudKMS/Public/GoogleAPIClientForREST/GTLRCloudKMSQuery.h index 3ee717477..c874666a5 100644 --- a/Sources/GeneratedServices/CloudKMS/Public/GoogleAPIClientForREST/GTLRCloudKMSQuery.h +++ b/Sources/GeneratedServices/CloudKMS/Public/GoogleAPIClientForREST/GTLRCloudKMSQuery.h @@ -30,6 +30,13 @@ NS_ASSUME_NONNULL_BEGIN // ---------------------------------------------------------------------------- // publicKeyFormat +/** + * The returned public key will be encoded in DER format (the PrivateKeyInfo + * structure from RFC 5208). + * + * Value: "DER" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudKMSPublicKeyFormatDer; /** * This is supported only for PQC algorithms. The key material is returned in * the format defined by NIST PQC standards (FIPS 203, FIPS 204, and FIPS 205). @@ -56,6 +63,13 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudKMSPublicKeyFormatPem; * Value: "PUBLIC_KEY_FORMAT_UNSPECIFIED" */ FOUNDATION_EXTERN NSString * const kGTLRCloudKMSPublicKeyFormatPublicKeyFormatUnspecified; +/** + * The returned public key is in raw bytes format defined in its standard + * https://datatracker.ietf.org/doc/draft-connolly-cfrg-xwing-kem. + * + * Value: "XWING_RAW_BYTES" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudKMSPublicKeyFormatXwingRawBytes; // ---------------------------------------------------------------------------- // versionView @@ -1252,6 +1266,44 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudKMSViewFull; @end +/** + * Decapsulates data that was encapsulated with a public key retrieved from + * GetPublicKey corresponding to a CryptoKeyVersion with CryptoKey.purpose + * KEY_ENCAPSULATION. + * + * Method: cloudkms.projects.locations.keyRings.cryptoKeys.cryptoKeyVersions.decapsulate + * + * Authorization scope(s): + * @c kGTLRAuthScopeCloudKMS + * @c kGTLRAuthScopeCloudKMSCloudPlatform + */ +@interface GTLRCloudKMSQuery_ProjectsLocationsKeyRingsCryptoKeysCryptoKeyVersionsDecapsulate : GTLRCloudKMSQuery + +/** + * Required. The resource name of the CryptoKeyVersion to use for + * decapsulation. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRCloudKMS_DecapsulateResponse. + * + * Decapsulates data that was encapsulated with a public key retrieved from + * GetPublicKey corresponding to a CryptoKeyVersion with CryptoKey.purpose + * KEY_ENCAPSULATION. + * + * @param object The @c GTLRCloudKMS_DecapsulateRequest to include in the + * query. + * @param name Required. The resource name of the CryptoKeyVersion to use for + * decapsulation. + * + * @return GTLRCloudKMSQuery_ProjectsLocationsKeyRingsCryptoKeysCryptoKeyVersionsDecapsulate + */ ++ (instancetype)queryWithObject:(GTLRCloudKMS_DecapsulateRequest *)object + name:(NSString *)name; + +@end + /** * Schedule a CryptoKeyVersion for destruction. Upon calling this method, * CryptoKeyVersion.state will be set to DESTROY_SCHEDULED, and destroy_time @@ -1355,9 +1407,16 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudKMSViewFull; * [Textual Encoding of Subject Public Key Info] * (https://tools.ietf.org/html/rfc7468#section-13) for more information. * (Value: "PEM") + * @arg @c kGTLRCloudKMSPublicKeyFormatDer The returned public key will be + * encoded in DER format (the PrivateKeyInfo structure from RFC 5208). + * (Value: "DER") * @arg @c kGTLRCloudKMSPublicKeyFormatNistPqc This is supported only for PQC * algorithms. The key material is returned in the format defined by NIST * PQC standards (FIPS 203, FIPS 204, and FIPS 205). (Value: "NIST_PQC") + * @arg @c kGTLRCloudKMSPublicKeyFormatXwingRawBytes The returned public key + * is in raw bytes format defined in its standard + * https://datatracker.ietf.org/doc/draft-connolly-cfrg-xwing-kem. + * (Value: "XWING_RAW_BYTES") */ @property(nonatomic, copy, nullable) NSString *publicKeyFormat; diff --git a/Sources/GeneratedServices/CloudLocationFinder/GTLRCloudLocationFinderObjects.m b/Sources/GeneratedServices/CloudLocationFinder/GTLRCloudLocationFinderObjects.m index 198f595bd..7f094c6f8 100644 --- a/Sources/GeneratedServices/CloudLocationFinder/GTLRCloudLocationFinderObjects.m +++ b/Sources/GeneratedServices/CloudLocationFinder/GTLRCloudLocationFinderObjects.m @@ -12,6 +12,7 @@ // Constants // GTLRCloudLocationFinder_CloudLocation.cloudLocationType +NSString * const kGTLRCloudLocationFinder_CloudLocation_CloudLocationType_CloudLocationTypeGdccZone = @"CLOUD_LOCATION_TYPE_GDCC_ZONE"; NSString * const kGTLRCloudLocationFinder_CloudLocation_CloudLocationType_CloudLocationTypeRegion = @"CLOUD_LOCATION_TYPE_REGION"; NSString * const kGTLRCloudLocationFinder_CloudLocation_CloudLocationType_CloudLocationTypeRegionExtension = @"CLOUD_LOCATION_TYPE_REGION_EXTENSION"; NSString * const kGTLRCloudLocationFinder_CloudLocation_CloudLocationType_CloudLocationTypeUnspecified = @"CLOUD_LOCATION_TYPE_UNSPECIFIED"; diff --git a/Sources/GeneratedServices/CloudLocationFinder/Public/GoogleAPIClientForREST/GTLRCloudLocationFinderObjects.h b/Sources/GeneratedServices/CloudLocationFinder/Public/GoogleAPIClientForREST/GTLRCloudLocationFinderObjects.h index 4a7f09648..f1806cc0e 100644 --- a/Sources/GeneratedServices/CloudLocationFinder/Public/GoogleAPIClientForREST/GTLRCloudLocationFinderObjects.h +++ b/Sources/GeneratedServices/CloudLocationFinder/Public/GoogleAPIClientForREST/GTLRCloudLocationFinderObjects.h @@ -30,6 +30,12 @@ NS_ASSUME_NONNULL_BEGIN // ---------------------------------------------------------------------------- // GTLRCloudLocationFinder_CloudLocation.cloudLocationType +/** + * CloudLocation type for Google Distributed Cloud Connected Zone. + * + * Value: "CLOUD_LOCATION_TYPE_GDCC_ZONE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudLocationFinder_CloudLocation_CloudLocationType_CloudLocationTypeGdccZone; /** * CloudLocation type for region. * @@ -111,6 +117,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudLocationFinder_CloudLocation_CloudP * Optional. The type of the cloud location. * * Likely values: + * @arg @c kGTLRCloudLocationFinder_CloudLocation_CloudLocationType_CloudLocationTypeGdccZone + * CloudLocation type for Google Distributed Cloud Connected Zone. + * (Value: "CLOUD_LOCATION_TYPE_GDCC_ZONE") * @arg @c kGTLRCloudLocationFinder_CloudLocation_CloudLocationType_CloudLocationTypeRegion * CloudLocation type for region. (Value: "CLOUD_LOCATION_TYPE_REGION") * @arg @c kGTLRCloudLocationFinder_CloudLocation_CloudLocationType_CloudLocationTypeRegionExtension diff --git a/Sources/GeneratedServices/CloudLocationFinder/Public/GoogleAPIClientForREST/GTLRCloudLocationFinderQuery.h b/Sources/GeneratedServices/CloudLocationFinder/Public/GoogleAPIClientForREST/GTLRCloudLocationFinderQuery.h index dcd0170b3..35ffa85d4 100644 --- a/Sources/GeneratedServices/CloudLocationFinder/Public/GoogleAPIClientForREST/GTLRCloudLocationFinderQuery.h +++ b/Sources/GeneratedServices/CloudLocationFinder/Public/GoogleAPIClientForREST/GTLRCloudLocationFinderQuery.h @@ -216,8 +216,8 @@ NS_ASSUME_NONNULL_BEGIN @interface GTLRCloudLocationFinderQuery_ProjectsLocationsList : GTLRCloudLocationFinderQuery /** - * Optional. A list of extra location types that should be used as conditions - * for controlling the visibility of the locations. + * Optional. Do not use this field. It is unsupported and is ignored unless + * explicitly documented otherwise. This is primarily for internal usage. */ @property(nonatomic, strong, nullable) NSArray *extraLocationTypes; diff --git a/Sources/GeneratedServices/CloudObservability/Public/GoogleAPIClientForREST/GTLRCloudObservabilityQuery.h b/Sources/GeneratedServices/CloudObservability/Public/GoogleAPIClientForREST/GTLRCloudObservabilityQuery.h index 62d018da7..cf7855528 100644 --- a/Sources/GeneratedServices/CloudObservability/Public/GoogleAPIClientForREST/GTLRCloudObservabilityQuery.h +++ b/Sources/GeneratedServices/CloudObservability/Public/GoogleAPIClientForREST/GTLRCloudObservabilityQuery.h @@ -68,8 +68,8 @@ NS_ASSUME_NONNULL_BEGIN @interface GTLRCloudObservabilityQuery_ProjectsLocationsList : GTLRCloudObservabilityQuery /** - * Optional. A list of extra location types that should be used as conditions - * for controlling the visibility of the locations. + * Optional. Do not use this field. It is unsupported and is ignored unless + * explicitly documented otherwise. This is primarily for internal usage. */ @property(nonatomic, strong, nullable) NSArray *extraLocationTypes; diff --git a/Sources/GeneratedServices/CloudRedis/GTLRCloudRedisObjects.m b/Sources/GeneratedServices/CloudRedis/GTLRCloudRedisObjects.m index 15a15a8f0..e0c16276f 100644 --- a/Sources/GeneratedServices/CloudRedis/GTLRCloudRedisObjects.m +++ b/Sources/GeneratedServices/CloudRedis/GTLRCloudRedisObjects.m @@ -110,6 +110,7 @@ NSString * const kGTLRCloudRedis_CrossClusterReplicationConfig_ClusterRole_Secondary = @"SECONDARY"; // GTLRCloudRedis_DatabaseResourceFeed.feedType +NSString * const kGTLRCloudRedis_DatabaseResourceFeed_FeedType_BackupdrMetadata = @"BACKUPDR_METADATA"; NSString * const kGTLRCloudRedis_DatabaseResourceFeed_FeedType_ConfigBasedSignalData = @"CONFIG_BASED_SIGNAL_DATA"; NSString * const kGTLRCloudRedis_DatabaseResourceFeed_FeedType_FeedtypeUnspecified = @"FEEDTYPE_UNSPECIFIED"; NSString * const kGTLRCloudRedis_DatabaseResourceFeed_FeedType_ObservabilityData = @"OBSERVABILITY_DATA"; @@ -197,7 +198,9 @@ NSString * const kGTLRCloudRedis_DatabaseResourceHealthSignalData_SignalType_SignalTypeNotLoggingTemporaryFiles = @"SIGNAL_TYPE_NOT_LOGGING_TEMPORARY_FILES"; NSString * const kGTLRCloudRedis_DatabaseResourceHealthSignalData_SignalType_SignalTypeNotProtectedByAutomaticFailover = @"SIGNAL_TYPE_NOT_PROTECTED_BY_AUTOMATIC_FAILOVER"; NSString * const kGTLRCloudRedis_DatabaseResourceHealthSignalData_SignalType_SignalTypeNoUserPasswordPolicy = @"SIGNAL_TYPE_NO_USER_PASSWORD_POLICY"; +NSString * const kGTLRCloudRedis_DatabaseResourceHealthSignalData_SignalType_SignalTypeOutdatedClient = @"SIGNAL_TYPE_OUTDATED_CLIENT"; NSString * const kGTLRCloudRedis_DatabaseResourceHealthSignalData_SignalType_SignalTypeOutdatedMinorVersion = @"SIGNAL_TYPE_OUTDATED_MINOR_VERSION"; +NSString * const kGTLRCloudRedis_DatabaseResourceHealthSignalData_SignalType_SignalTypeOutdatedVersion = @"SIGNAL_TYPE_OUTDATED_VERSION"; NSString * const kGTLRCloudRedis_DatabaseResourceHealthSignalData_SignalType_SignalTypeOutOfDisk = @"SIGNAL_TYPE_OUT_OF_DISK"; NSString * const kGTLRCloudRedis_DatabaseResourceHealthSignalData_SignalType_SignalTypeOverprovisioned = @"SIGNAL_TYPE_OVERPROVISIONED"; NSString * const kGTLRCloudRedis_DatabaseResourceHealthSignalData_SignalType_SignalTypePublicIpEnabled = @"SIGNAL_TYPE_PUBLIC_IP_ENABLED"; @@ -206,6 +209,7 @@ NSString * const kGTLRCloudRedis_DatabaseResourceHealthSignalData_SignalType_SignalTypeQueryStatisticsLogged = @"SIGNAL_TYPE_QUERY_STATISTICS_LOGGED"; NSString * const kGTLRCloudRedis_DatabaseResourceHealthSignalData_SignalType_SignalTypeQuotaLimit = @"SIGNAL_TYPE_QUOTA_LIMIT"; NSString * const kGTLRCloudRedis_DatabaseResourceHealthSignalData_SignalType_SignalTypeReadIntensiveWorkload = @"SIGNAL_TYPE_READ_INTENSIVE_WORKLOAD"; +NSString * const kGTLRCloudRedis_DatabaseResourceHealthSignalData_SignalType_SignalTypeReplicationLag = @"SIGNAL_TYPE_REPLICATION_LAG"; NSString * const kGTLRCloudRedis_DatabaseResourceHealthSignalData_SignalType_SignalTypeResourceSuspended = @"SIGNAL_TYPE_RESOURCE_SUSPENDED"; NSString * const kGTLRCloudRedis_DatabaseResourceHealthSignalData_SignalType_SignalTypeRestrictAuthorizedNetworks = @"SIGNAL_TYPE_RESTRICT_AUTHORIZED_NETWORKS"; NSString * const kGTLRCloudRedis_DatabaseResourceHealthSignalData_SignalType_SignalTypeSchemaNotOptimized = @"SIGNAL_TYPE_SCHEMA_NOT_OPTIMIZED"; @@ -364,7 +368,9 @@ NSString * const kGTLRCloudRedis_DatabaseResourceRecommendationSignalData_SignalType_SignalTypeNotLoggingTemporaryFiles = @"SIGNAL_TYPE_NOT_LOGGING_TEMPORARY_FILES"; NSString * const kGTLRCloudRedis_DatabaseResourceRecommendationSignalData_SignalType_SignalTypeNotProtectedByAutomaticFailover = @"SIGNAL_TYPE_NOT_PROTECTED_BY_AUTOMATIC_FAILOVER"; NSString * const kGTLRCloudRedis_DatabaseResourceRecommendationSignalData_SignalType_SignalTypeNoUserPasswordPolicy = @"SIGNAL_TYPE_NO_USER_PASSWORD_POLICY"; +NSString * const kGTLRCloudRedis_DatabaseResourceRecommendationSignalData_SignalType_SignalTypeOutdatedClient = @"SIGNAL_TYPE_OUTDATED_CLIENT"; NSString * const kGTLRCloudRedis_DatabaseResourceRecommendationSignalData_SignalType_SignalTypeOutdatedMinorVersion = @"SIGNAL_TYPE_OUTDATED_MINOR_VERSION"; +NSString * const kGTLRCloudRedis_DatabaseResourceRecommendationSignalData_SignalType_SignalTypeOutdatedVersion = @"SIGNAL_TYPE_OUTDATED_VERSION"; NSString * const kGTLRCloudRedis_DatabaseResourceRecommendationSignalData_SignalType_SignalTypeOutOfDisk = @"SIGNAL_TYPE_OUT_OF_DISK"; NSString * const kGTLRCloudRedis_DatabaseResourceRecommendationSignalData_SignalType_SignalTypeOverprovisioned = @"SIGNAL_TYPE_OVERPROVISIONED"; NSString * const kGTLRCloudRedis_DatabaseResourceRecommendationSignalData_SignalType_SignalTypePublicIpEnabled = @"SIGNAL_TYPE_PUBLIC_IP_ENABLED"; @@ -373,6 +379,7 @@ NSString * const kGTLRCloudRedis_DatabaseResourceRecommendationSignalData_SignalType_SignalTypeQueryStatisticsLogged = @"SIGNAL_TYPE_QUERY_STATISTICS_LOGGED"; NSString * const kGTLRCloudRedis_DatabaseResourceRecommendationSignalData_SignalType_SignalTypeQuotaLimit = @"SIGNAL_TYPE_QUOTA_LIMIT"; NSString * const kGTLRCloudRedis_DatabaseResourceRecommendationSignalData_SignalType_SignalTypeReadIntensiveWorkload = @"SIGNAL_TYPE_READ_INTENSIVE_WORKLOAD"; +NSString * const kGTLRCloudRedis_DatabaseResourceRecommendationSignalData_SignalType_SignalTypeReplicationLag = @"SIGNAL_TYPE_REPLICATION_LAG"; NSString * const kGTLRCloudRedis_DatabaseResourceRecommendationSignalData_SignalType_SignalTypeResourceSuspended = @"SIGNAL_TYPE_RESOURCE_SUSPENDED"; NSString * const kGTLRCloudRedis_DatabaseResourceRecommendationSignalData_SignalType_SignalTypeRestrictAuthorizedNetworks = @"SIGNAL_TYPE_RESTRICT_AUTHORIZED_NETWORKS"; NSString * const kGTLRCloudRedis_DatabaseResourceRecommendationSignalData_SignalType_SignalTypeSchemaNotOptimized = @"SIGNAL_TYPE_SCHEMA_NOT_OPTIMIZED"; @@ -725,6 +732,17 @@ @implementation GTLRCloudRedis_BackupDRConfiguration @end +// ---------------------------------------------------------------------------- +// +// GTLRCloudRedis_BackupDRMetadata +// + +@implementation GTLRCloudRedis_BackupDRMetadata +@dynamic backupConfiguration, backupdrConfiguration, backupRun, + fullResourceName, lastRefreshTime, resourceId; +@end + + // ---------------------------------------------------------------------------- // // GTLRCloudRedis_BackupFile @@ -957,9 +975,9 @@ @implementation GTLRCloudRedis_CustomMetadataData // @implementation GTLRCloudRedis_DatabaseResourceFeed -@dynamic configBasedSignalData, feedTimestamp, feedType, +@dynamic backupdrMetadata, configBasedSignalData, feedTimestamp, feedType, observabilityMetricData, recommendationSignalData, - resourceHealthSignalData, resourceId, resourceMetadata; + resourceHealthSignalData, resourceId, resourceMetadata, skipIngestion; @end diff --git a/Sources/GeneratedServices/CloudRedis/Public/GoogleAPIClientForREST/GTLRCloudRedisObjects.h b/Sources/GeneratedServices/CloudRedis/Public/GoogleAPIClientForREST/GTLRCloudRedisObjects.h index a8e0ca62c..13da251bc 100644 --- a/Sources/GeneratedServices/CloudRedis/Public/GoogleAPIClientForREST/GTLRCloudRedisObjects.h +++ b/Sources/GeneratedServices/CloudRedis/Public/GoogleAPIClientForREST/GTLRCloudRedisObjects.h @@ -21,6 +21,7 @@ @class GTLRCloudRedis_BackupCollection; @class GTLRCloudRedis_BackupConfiguration; @class GTLRCloudRedis_BackupDRConfiguration; +@class GTLRCloudRedis_BackupDRMetadata; @class GTLRCloudRedis_BackupFile; @class GTLRCloudRedis_BackupRun; @class GTLRCloudRedis_CertChain; @@ -566,6 +567,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_CrossClusterReplicationConfig // ---------------------------------------------------------------------------- // GTLRCloudRedis_DatabaseResourceFeed.feedType +/** + * Database resource metadata from BackupDR + * + * Value: "BACKUPDR_METADATA" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_DatabaseResourceFeed_FeedType_BackupdrMetadata; /** * Database config based signal data * @@ -1091,12 +1098,24 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_DatabaseResourceHealthSignalD * Value: "SIGNAL_TYPE_NO_USER_PASSWORD_POLICY" */ FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_DatabaseResourceHealthSignalData_SignalType_SignalTypeNoUserPasswordPolicy; +/** + * Outdated client. + * + * Value: "SIGNAL_TYPE_OUTDATED_CLIENT" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_DatabaseResourceHealthSignalData_SignalType_SignalTypeOutdatedClient; /** * Outdated DB minor version. * * Value: "SIGNAL_TYPE_OUTDATED_MINOR_VERSION" */ FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_DatabaseResourceHealthSignalData_SignalType_SignalTypeOutdatedMinorVersion; +/** + * Outdated version. + * + * Value: "SIGNAL_TYPE_OUTDATED_VERSION" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_DatabaseResourceHealthSignalData_SignalType_SignalTypeOutdatedVersion; /** * Represents out of disk. * @@ -1148,6 +1167,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_DatabaseResourceHealthSignalD * Value: "SIGNAL_TYPE_READ_INTENSIVE_WORKLOAD" */ FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_DatabaseResourceHealthSignalData_SignalType_SignalTypeReadIntensiveWorkload; +/** + * Replication delay. + * + * Value: "SIGNAL_TYPE_REPLICATION_LAG" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_DatabaseResourceHealthSignalData_SignalType_SignalTypeReplicationLag; /** * Detects if a database instance/cluster is suspended. * @@ -2060,12 +2085,24 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_DatabaseResourceRecommendatio * Value: "SIGNAL_TYPE_NO_USER_PASSWORD_POLICY" */ FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_DatabaseResourceRecommendationSignalData_SignalType_SignalTypeNoUserPasswordPolicy; +/** + * Outdated client. + * + * Value: "SIGNAL_TYPE_OUTDATED_CLIENT" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_DatabaseResourceRecommendationSignalData_SignalType_SignalTypeOutdatedClient; /** * Outdated DB minor version. * * Value: "SIGNAL_TYPE_OUTDATED_MINOR_VERSION" */ FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_DatabaseResourceRecommendationSignalData_SignalType_SignalTypeOutdatedMinorVersion; +/** + * Outdated version. + * + * Value: "SIGNAL_TYPE_OUTDATED_VERSION" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_DatabaseResourceRecommendationSignalData_SignalType_SignalTypeOutdatedVersion; /** * Represents out of disk. * @@ -2117,6 +2154,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_DatabaseResourceRecommendatio * Value: "SIGNAL_TYPE_READ_INTENSIVE_WORKLOAD" */ FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_DatabaseResourceRecommendationSignalData_SignalType_SignalTypeReadIntensiveWorkload; +/** + * Replication delay. + * + * Value: "SIGNAL_TYPE_REPLICATION_LAG" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_DatabaseResourceRecommendationSignalData_SignalType_SignalTypeReplicationLag; /** * Detects if a database instance/cluster is suspended. * @@ -3779,6 +3822,33 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_ZoneDistributionConfig_Mode_Z @end +/** + * BackupDRMetadata contains information about the backup and disaster recovery + * metadata of a database resource. + */ +@interface GTLRCloudRedis_BackupDRMetadata : GTLRObject + +/** Backup configuration for this instance. */ +@property(nonatomic, strong, nullable) GTLRCloudRedis_BackupConfiguration *backupConfiguration; + +/** BackupDR configuration for this instance. */ +@property(nonatomic, strong, nullable) GTLRCloudRedis_BackupDRConfiguration *backupdrConfiguration; + +/** Latest backup run information for this instance. */ +@property(nonatomic, strong, nullable) GTLRCloudRedis_BackupRun *backupRun; + +/** Required. Full resource name of this instance. */ +@property(nonatomic, copy, nullable) NSString *fullResourceName; + +/** Required. Last time backup configuration was refreshed. */ +@property(nonatomic, strong, nullable) GTLRDateTime *lastRefreshTime; + +/** Required. Database resource id. */ +@property(nonatomic, strong, nullable) GTLRCloudRedis_DatabaseResourceId *resourceId; + +@end + + /** * Backup is consisted of multiple backup files. */ @@ -4426,10 +4496,13 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_ZoneDistributionConfig_Mode_Z /** * DatabaseResourceFeed is the top level proto to be used to ingest different - * database resource level events into Condor platform. Next ID: 9 + * database resource level events into Condor platform. Next ID: 11 */ @interface GTLRCloudRedis_DatabaseResourceFeed : GTLRObject +/** BackupDR metadata is used to ingest metadata from BackupDR. */ +@property(nonatomic, strong, nullable) GTLRCloudRedis_BackupDRMetadata *backupdrMetadata; + /** * Config based signal data is used to ingest signals that are generated based * on the configuration of the database resource. @@ -4443,6 +4516,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_ZoneDistributionConfig_Mode_Z * Required. Type feed to be ingested into condor * * Likely values: + * @arg @c kGTLRCloudRedis_DatabaseResourceFeed_FeedType_BackupdrMetadata + * Database resource metadata from BackupDR (Value: "BACKUPDR_METADATA") * @arg @c kGTLRCloudRedis_DatabaseResourceFeed_FeedType_ConfigBasedSignalData * Database config based signal data (Value: "CONFIG_BASED_SIGNAL_DATA") * @arg @c kGTLRCloudRedis_DatabaseResourceFeed_FeedType_FeedtypeUnspecified @@ -4473,6 +4548,17 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_ZoneDistributionConfig_Mode_Z @property(nonatomic, strong, nullable) GTLRCloudRedis_DatabaseResourceMetadata *resourceMetadata; +/** + * Optional. If true, the feed won't be ingested by DB Center. This indicates + * that the feed is intentionally skipped. For example, BackupDR feeds are only + * needed for resources integrated with DB Center (e.g., CloudSQL, AlloyDB). + * Feeds for non-integrated resources (e.g., Compute Engine, Persistent Disk) + * can be skipped. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *skipIngestion; + @end @@ -4819,9 +4905,13 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_ZoneDistributionConfig_Mode_Z * @arg @c kGTLRCloudRedis_DatabaseResourceHealthSignalData_SignalType_SignalTypeNoUserPasswordPolicy * Detects if a database instance has no user password policy set. * (Value: "SIGNAL_TYPE_NO_USER_PASSWORD_POLICY") + * @arg @c kGTLRCloudRedis_DatabaseResourceHealthSignalData_SignalType_SignalTypeOutdatedClient + * Outdated client. (Value: "SIGNAL_TYPE_OUTDATED_CLIENT") * @arg @c kGTLRCloudRedis_DatabaseResourceHealthSignalData_SignalType_SignalTypeOutdatedMinorVersion * Outdated DB minor version. (Value: * "SIGNAL_TYPE_OUTDATED_MINOR_VERSION") + * @arg @c kGTLRCloudRedis_DatabaseResourceHealthSignalData_SignalType_SignalTypeOutdatedVersion + * Outdated version. (Value: "SIGNAL_TYPE_OUTDATED_VERSION") * @arg @c kGTLRCloudRedis_DatabaseResourceHealthSignalData_SignalType_SignalTypeOutOfDisk * Represents out of disk. (Value: "SIGNAL_TYPE_OUT_OF_DISK") * @arg @c kGTLRCloudRedis_DatabaseResourceHealthSignalData_SignalType_SignalTypeOverprovisioned @@ -4847,6 +4937,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_ZoneDistributionConfig_Mode_Z * @arg @c kGTLRCloudRedis_DatabaseResourceHealthSignalData_SignalType_SignalTypeReadIntensiveWorkload * Indicates that the instance has read intensive workload. (Value: * "SIGNAL_TYPE_READ_INTENSIVE_WORKLOAD") + * @arg @c kGTLRCloudRedis_DatabaseResourceHealthSignalData_SignalType_SignalTypeReplicationLag + * Replication delay. (Value: "SIGNAL_TYPE_REPLICATION_LAG") * @arg @c kGTLRCloudRedis_DatabaseResourceHealthSignalData_SignalType_SignalTypeResourceSuspended * Detects if a database instance/cluster is suspended. (Value: * "SIGNAL_TYPE_RESOURCE_SUSPENDED") @@ -5525,9 +5617,13 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_ZoneDistributionConfig_Mode_Z * @arg @c kGTLRCloudRedis_DatabaseResourceRecommendationSignalData_SignalType_SignalTypeNoUserPasswordPolicy * Detects if a database instance has no user password policy set. * (Value: "SIGNAL_TYPE_NO_USER_PASSWORD_POLICY") + * @arg @c kGTLRCloudRedis_DatabaseResourceRecommendationSignalData_SignalType_SignalTypeOutdatedClient + * Outdated client. (Value: "SIGNAL_TYPE_OUTDATED_CLIENT") * @arg @c kGTLRCloudRedis_DatabaseResourceRecommendationSignalData_SignalType_SignalTypeOutdatedMinorVersion * Outdated DB minor version. (Value: * "SIGNAL_TYPE_OUTDATED_MINOR_VERSION") + * @arg @c kGTLRCloudRedis_DatabaseResourceRecommendationSignalData_SignalType_SignalTypeOutdatedVersion + * Outdated version. (Value: "SIGNAL_TYPE_OUTDATED_VERSION") * @arg @c kGTLRCloudRedis_DatabaseResourceRecommendationSignalData_SignalType_SignalTypeOutOfDisk * Represents out of disk. (Value: "SIGNAL_TYPE_OUT_OF_DISK") * @arg @c kGTLRCloudRedis_DatabaseResourceRecommendationSignalData_SignalType_SignalTypeOverprovisioned @@ -5553,6 +5649,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_ZoneDistributionConfig_Mode_Z * @arg @c kGTLRCloudRedis_DatabaseResourceRecommendationSignalData_SignalType_SignalTypeReadIntensiveWorkload * Indicates that the instance has read intensive workload. (Value: * "SIGNAL_TYPE_READ_INTENSIVE_WORKLOAD") + * @arg @c kGTLRCloudRedis_DatabaseResourceRecommendationSignalData_SignalType_SignalTypeReplicationLag + * Replication delay. (Value: "SIGNAL_TYPE_REPLICATION_LAG") * @arg @c kGTLRCloudRedis_DatabaseResourceRecommendationSignalData_SignalType_SignalTypeResourceSuspended * Detects if a database instance/cluster is suspended. (Value: * "SIGNAL_TYPE_RESOURCE_SUSPENDED") diff --git a/Sources/GeneratedServices/CloudRun/GTLRCloudRunObjects.m b/Sources/GeneratedServices/CloudRun/GTLRCloudRunObjects.m index c3d26d0ff..a1cf3f844 100644 --- a/Sources/GeneratedServices/CloudRun/GTLRCloudRunObjects.m +++ b/Sources/GeneratedServices/CloudRun/GTLRCloudRunObjects.m @@ -1358,8 +1358,8 @@ @implementation GTLRCloudRun_GoogleCloudRunV2StorageSource // @implementation GTLRCloudRun_GoogleCloudRunV2SubmitBuildRequest -@dynamic buildpackBuild, dockerBuild, imageUri, serviceAccount, storageSource, - tags, workerPool; +@dynamic buildpackBuild, dockerBuild, imageUri, machineType, serviceAccount, + storageSource, tags, workerPool; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -1526,7 +1526,7 @@ @implementation GTLRCloudRun_GoogleCloudRunV2Volume // @implementation GTLRCloudRun_GoogleCloudRunV2VolumeMount -@dynamic mountPath, name; +@dynamic mountPath, name, subPath; @end diff --git a/Sources/GeneratedServices/CloudRun/Public/GoogleAPIClientForREST/GTLRCloudRunObjects.h b/Sources/GeneratedServices/CloudRun/Public/GoogleAPIClientForREST/GTLRCloudRunObjects.h index ffa48a50c..b1bbaa3bf 100644 --- a/Sources/GeneratedServices/CloudRun/Public/GoogleAPIClientForREST/GTLRCloudRunObjects.h +++ b/Sources/GeneratedServices/CloudRun/Public/GoogleAPIClientForREST/GTLRCloudRunObjects.h @@ -4827,6 +4827,13 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudRun_GoogleIamV1AuditLogConfig_LogTy /** Required. Artifact Registry URI to store the built image. */ @property(nonatomic, copy, nullable) NSString *imageUri; +/** + * Optional. The machine type from default pool to use for the build. If left + * blank, cloudbuild will use a sensible default. Currently only E2_HIGHCPU_8 + * is supported. If worker_pool is set, this field will be ignored. + */ +@property(nonatomic, copy, nullable) NSString *machineType; + /** * Optional. The service account to use for the build. If not set, the default * Cloud Build service account for the project will be used. @@ -5419,6 +5426,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudRun_GoogleIamV1AuditLogConfig_LogTy /** Required. This must match the Name of a Volume. */ @property(nonatomic, copy, nullable) NSString *name; +/** + * Optional. Path within the volume from which the container's volume should be + * mounted. Defaults to "" (volume's root). + */ +@property(nonatomic, copy, nullable) NSString *subPath; + @end @@ -5591,7 +5604,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudRun_GoogleIamV1AuditLogConfig_LogTy @property(nonatomic, copy, nullable) NSString *latestCreatedRevision; /** - * Output only. Name of the latest revision that is serving traffic. See + * Output only. Name of the latest revision that is serving workloads. See * comments in `reconciling` for additional information on reconciliation * process in Cloud Run. */ @@ -5659,7 +5672,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudRun_GoogleIamV1AuditLogConfig_LogTy @property(nonatomic, copy, nullable) NSString *name; /** - * Output only. The generation of this WorkerPool currently serving traffic. + * Output only. The generation of this WorkerPool currently serving workloads. * See comments in `reconciling` for additional information on reconciliation * process in Cloud Run. Please note that unlike v1, this is an int64 value. As * with most Google APIs, its JSON representation will be a `string` instead of @@ -5675,19 +5688,20 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudRun_GoogleIamV1AuditLogConfig_LogTy * created, or an existing one is updated, Cloud Run will asynchronously * perform all necessary steps to bring the WorkerPool to the desired serving * state. This process is called reconciliation. While reconciliation is in - * process, `observed_generation`, `latest_ready_revison`, `traffic_statuses`, - * and `uri` will have transient values that might mismatch the intended state: - * Once reconciliation is over (and this field is false), there are two - * possible outcomes: reconciliation succeeded and the serving state matches - * the WorkerPool, or there was an error, and reconciliation failed. This state - * can be found in `terminal_condition.state`. If reconciliation succeeded, the - * following fields will match: `traffic` and `traffic_statuses`, + * process, `observed_generation`, `latest_ready_revison`, + * `instance_split_statuses`, and `uri` will have transient values that might + * mismatch the intended state: Once reconciliation is over (and this field is + * false), there are two possible outcomes: reconciliation succeeded and the + * serving state matches the WorkerPool, or there was an error, and + * reconciliation failed. This state can be found in + * `terminal_condition.state`. If reconciliation succeeded, the following + * fields will match: `instance_splits` and `instance_split_statuses`, * `observed_generation` and `generation`, `latest_ready_revision` and - * `latest_created_revision`. If reconciliation failed, `traffic_statuses`, - * `observed_generation`, and `latest_ready_revision` will have the state of - * the last serving revision, or empty for newly created WorkerPools. - * Additional information on the failure can be found in `terminal_condition` - * and `conditions`. + * `latest_created_revision`. If reconciliation failed, + * `instance_split_statuses`, `observed_generation`, and + * `latest_ready_revision` will have the state of the last serving revision, or + * empty for newly created WorkerPools. Additional information on the failure + * can be found in `terminal_condition` and `conditions`. * * Uses NSNumber of boolValue. */ diff --git a/Sources/GeneratedServices/Cloudchannel/GTLRCloudchannelObjects.m b/Sources/GeneratedServices/Cloudchannel/GTLRCloudchannelObjects.m index 704f41e28..6fcb2523a 100644 --- a/Sources/GeneratedServices/Cloudchannel/GTLRCloudchannelObjects.m +++ b/Sources/GeneratedServices/Cloudchannel/GTLRCloudchannelObjects.m @@ -166,6 +166,14 @@ NSString * const kGTLRCloudchannel_GoogleCloudChannelV1CustomerEvent_EventType_PrimaryDomainVerified = @"PRIMARY_DOMAIN_VERIFIED"; NSString * const kGTLRCloudchannel_GoogleCloudChannelV1CustomerEvent_EventType_TypeUnspecified = @"TYPE_UNSPECIFIED"; +// GTLRCloudchannel_GoogleCloudChannelV1DiscountComponent.discountType +NSString * const kGTLRCloudchannel_GoogleCloudChannelV1DiscountComponent_DiscountType_DealCode = @"DEAL_CODE"; +NSString * const kGTLRCloudchannel_GoogleCloudChannelV1DiscountComponent_DiscountType_DiscountTypeUnspecified = @"DISCOUNT_TYPE_UNSPECIFIED"; +NSString * const kGTLRCloudchannel_GoogleCloudChannelV1DiscountComponent_DiscountType_PromotionalDiscount = @"PROMOTIONAL_DISCOUNT"; +NSString * const kGTLRCloudchannel_GoogleCloudChannelV1DiscountComponent_DiscountType_RegionalDiscount = @"REGIONAL_DISCOUNT"; +NSString * const kGTLRCloudchannel_GoogleCloudChannelV1DiscountComponent_DiscountType_ResellerMargin = @"RESELLER_MARGIN"; +NSString * const kGTLRCloudchannel_GoogleCloudChannelV1DiscountComponent_DiscountType_SalesDiscount = @"SALES_DISCOUNT"; + // GTLRCloudchannel_GoogleCloudChannelV1EduData.instituteSize NSString * const kGTLRCloudchannel_GoogleCloudChannelV1EduData_InstituteSize_InstituteSizeUnspecified = @"INSTITUTE_SIZE_UNSPECIFIED"; NSString * const kGTLRCloudchannel_GoogleCloudChannelV1EduData_InstituteSize_Size10001OrMore = @"SIZE_10001_OR_MORE"; @@ -933,6 +941,16 @@ @implementation GTLRCloudchannel_GoogleCloudChannelV1DateRange @end +// ---------------------------------------------------------------------------- +// +// GTLRCloudchannel_GoogleCloudChannelV1DiscountComponent +// + +@implementation GTLRCloudchannel_GoogleCloudChannelV1DiscountComponent +@dynamic discountAbsolute, discountPercentage, discountType; +@end + + // ---------------------------------------------------------------------------- // // GTLRCloudchannel_GoogleCloudChannelV1EduData @@ -1561,7 +1579,16 @@ @implementation GTLRCloudchannel_GoogleCloudChannelV1Plan // @implementation GTLRCloudchannel_GoogleCloudChannelV1Price -@dynamic basePrice, discount, effectivePrice, externalPriceUri; +@dynamic basePrice, discount, discountComponents, effectivePrice, + externalPriceUri, pricePeriod; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"discountComponents" : [GTLRCloudchannel_GoogleCloudChannelV1DiscountComponent class] + }; + return map; +} + @end diff --git a/Sources/GeneratedServices/Cloudchannel/Public/GoogleAPIClientForREST/GTLRCloudchannelObjects.h b/Sources/GeneratedServices/Cloudchannel/Public/GoogleAPIClientForREST/GTLRCloudchannelObjects.h index b5096d0ef..8752858d0 100644 --- a/Sources/GeneratedServices/Cloudchannel/Public/GoogleAPIClientForREST/GTLRCloudchannelObjects.h +++ b/Sources/GeneratedServices/Cloudchannel/Public/GoogleAPIClientForREST/GTLRCloudchannelObjects.h @@ -55,6 +55,7 @@ @class GTLRCloudchannel_GoogleCloudChannelV1CustomerEvent; @class GTLRCloudchannel_GoogleCloudChannelV1CustomerRepricingConfig; @class GTLRCloudchannel_GoogleCloudChannelV1DateRange; +@class GTLRCloudchannel_GoogleCloudChannelV1DiscountComponent; @class GTLRCloudchannel_GoogleCloudChannelV1EduData; @class GTLRCloudchannel_GoogleCloudChannelV1Entitlement; @class GTLRCloudchannel_GoogleCloudChannelV1EntitlementChange; @@ -877,6 +878,46 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudchannel_GoogleCloudChannelV1Custome */ FOUNDATION_EXTERN NSString * const kGTLRCloudchannel_GoogleCloudChannelV1CustomerEvent_EventType_TypeUnspecified; +// ---------------------------------------------------------------------------- +// GTLRCloudchannel_GoogleCloudChannelV1DiscountComponent.discountType + +/** + * Deal code discount. + * + * Value: "DEAL_CODE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudchannel_GoogleCloudChannelV1DiscountComponent_DiscountType_DealCode; +/** + * Not used. + * + * Value: "DISCOUNT_TYPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudchannel_GoogleCloudChannelV1DiscountComponent_DiscountType_DiscountTypeUnspecified; +/** + * Promotional discount. + * + * Value: "PROMOTIONAL_DISCOUNT" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudchannel_GoogleCloudChannelV1DiscountComponent_DiscountType_PromotionalDiscount; +/** + * Regional discount. + * + * Value: "REGIONAL_DISCOUNT" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudchannel_GoogleCloudChannelV1DiscountComponent_DiscountType_RegionalDiscount; +/** + * Reseller margin. + * + * Value: "RESELLER_MARGIN" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudchannel_GoogleCloudChannelV1DiscountComponent_DiscountType_ResellerMargin; +/** + * Sales-provided discount. + * + * Value: "SALES_DISCOUNT" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudchannel_GoogleCloudChannelV1DiscountComponent_DiscountType_SalesDiscount; + // ---------------------------------------------------------------------------- // GTLRCloudchannel_GoogleCloudChannelV1EduData.instituteSize @@ -3459,6 +3500,44 @@ GTLR_DEPRECATED @end +/** + * Represents a single component of the total discount applicable on a Price. + */ +@interface GTLRCloudchannel_GoogleCloudChannelV1DiscountComponent : GTLRObject + +/** Fixed value discount. */ +@property(nonatomic, strong, nullable) GTLRCloudchannel_GoogleTypeMoney *discountAbsolute; + +/** + * Discount percentage, represented as decimal. For example, a 20% discount + * will be represented as 0.2. + * + * Uses NSNumber of doubleValue. + */ +@property(nonatomic, strong, nullable) NSNumber *discountPercentage; + +/** + * Type of the discount. + * + * Likely values: + * @arg @c kGTLRCloudchannel_GoogleCloudChannelV1DiscountComponent_DiscountType_DealCode + * Deal code discount. (Value: "DEAL_CODE") + * @arg @c kGTLRCloudchannel_GoogleCloudChannelV1DiscountComponent_DiscountType_DiscountTypeUnspecified + * Not used. (Value: "DISCOUNT_TYPE_UNSPECIFIED") + * @arg @c kGTLRCloudchannel_GoogleCloudChannelV1DiscountComponent_DiscountType_PromotionalDiscount + * Promotional discount. (Value: "PROMOTIONAL_DISCOUNT") + * @arg @c kGTLRCloudchannel_GoogleCloudChannelV1DiscountComponent_DiscountType_RegionalDiscount + * Regional discount. (Value: "REGIONAL_DISCOUNT") + * @arg @c kGTLRCloudchannel_GoogleCloudChannelV1DiscountComponent_DiscountType_ResellerMargin + * Reseller margin. (Value: "RESELLER_MARGIN") + * @arg @c kGTLRCloudchannel_GoogleCloudChannelV1DiscountComponent_DiscountType_SalesDiscount + * Sales-provided discount. (Value: "SALES_DISCOUNT") + */ +@property(nonatomic, copy, nullable) NSString *discountType; + +@end + + /** * Required Edu Attributes */ @@ -4819,12 +4898,24 @@ GTLR_DEPRECATED */ @property(nonatomic, strong, nullable) NSNumber *discount; +/** + * Breakdown of the discount into its components. This will be empty if there + * is no discount present. + */ +@property(nonatomic, strong, nullable) NSArray *discountComponents; + /** Effective Price after applying the discounts. */ @property(nonatomic, strong, nullable) GTLRCloudchannel_GoogleTypeMoney *effectivePrice; /** Link to external price list, such as link to Google Voice rate card. */ @property(nonatomic, copy, nullable) NSString *externalPriceUri; +/** + * The time period with respect to which base and effective prices are defined. + * Example: 1 month, 6 months, 1 year, etc. + */ +@property(nonatomic, strong, nullable) GTLRCloudchannel_GoogleCloudChannelV1Period *pricePeriod; + @end diff --git a/Sources/GeneratedServices/Compute/GTLRComputeObjects.m b/Sources/GeneratedServices/Compute/GTLRComputeObjects.m index 8b463f99a..6e845247c 100644 --- a/Sources/GeneratedServices/Compute/GTLRComputeObjects.m +++ b/Sources/GeneratedServices/Compute/GTLRComputeObjects.m @@ -537,6 +537,7 @@ NSString * const kGTLRCompute_BackendService_LocalityLbPolicy_Random = @"RANDOM"; NSString * const kGTLRCompute_BackendService_LocalityLbPolicy_RingHash = @"RING_HASH"; NSString * const kGTLRCompute_BackendService_LocalityLbPolicy_RoundRobin = @"ROUND_ROBIN"; +NSString * const kGTLRCompute_BackendService_LocalityLbPolicy_WeightedGcpRendezvous = @"WEIGHTED_GCP_RENDEZVOUS"; NSString * const kGTLRCompute_BackendService_LocalityLbPolicy_WeightedMaglev = @"WEIGHTED_MAGLEV"; NSString * const kGTLRCompute_BackendService_LocalityLbPolicy_WeightedRoundRobin = @"WEIGHTED_ROUND_ROBIN"; @@ -683,6 +684,7 @@ NSString * const kGTLRCompute_BackendServiceLocalityLoadBalancingPolicyConfigPolicy_Name_Random = @"RANDOM"; NSString * const kGTLRCompute_BackendServiceLocalityLoadBalancingPolicyConfigPolicy_Name_RingHash = @"RING_HASH"; NSString * const kGTLRCompute_BackendServiceLocalityLoadBalancingPolicyConfigPolicy_Name_RoundRobin = @"ROUND_ROBIN"; +NSString * const kGTLRCompute_BackendServiceLocalityLoadBalancingPolicyConfigPolicy_Name_WeightedGcpRendezvous = @"WEIGHTED_GCP_RENDEZVOUS"; NSString * const kGTLRCompute_BackendServiceLocalityLoadBalancingPolicyConfigPolicy_Name_WeightedMaglev = @"WEIGHTED_MAGLEV"; NSString * const kGTLRCompute_BackendServiceLocalityLoadBalancingPolicyConfigPolicy_Name_WeightedRoundRobin = @"WEIGHTED_ROUND_ROBIN"; @@ -2596,6 +2598,14 @@ NSString * const kGTLRCompute_Interconnect_State_Active = @"ACTIVE"; NSString * const kGTLRCompute_Interconnect_State_Unprovisioned = @"UNPROVISIONED"; +// GTLRCompute_InterconnectApplicationAwareInterconnectBandwidthPercentage.trafficClass +NSString * const kGTLRCompute_InterconnectApplicationAwareInterconnectBandwidthPercentage_TrafficClass_Tc1 = @"TC1"; +NSString * const kGTLRCompute_InterconnectApplicationAwareInterconnectBandwidthPercentage_TrafficClass_Tc2 = @"TC2"; +NSString * const kGTLRCompute_InterconnectApplicationAwareInterconnectBandwidthPercentage_TrafficClass_Tc3 = @"TC3"; +NSString * const kGTLRCompute_InterconnectApplicationAwareInterconnectBandwidthPercentage_TrafficClass_Tc4 = @"TC4"; +NSString * const kGTLRCompute_InterconnectApplicationAwareInterconnectBandwidthPercentage_TrafficClass_Tc5 = @"TC5"; +NSString * const kGTLRCompute_InterconnectApplicationAwareInterconnectBandwidthPercentage_TrafficClass_Tc6 = @"TC6"; + // GTLRCompute_InterconnectAttachment.bandwidth NSString * const kGTLRCompute_InterconnectAttachment_Bandwidth_Bps100g = @"BPS_100G"; NSString * const kGTLRCompute_InterconnectAttachment_Bandwidth_Bps100m = @"BPS_100M"; @@ -3722,6 +3732,32 @@ NSString * const kGTLRCompute_NetworkPeering_State_Active = @"ACTIVE"; NSString * const kGTLRCompute_NetworkPeering_State_Inactive = @"INACTIVE"; +// GTLRCompute_NetworkPeering.updateStrategy +NSString * const kGTLRCompute_NetworkPeering_UpdateStrategy_Consensus = @"CONSENSUS"; +NSString * const kGTLRCompute_NetworkPeering_UpdateStrategy_Independent = @"INDEPENDENT"; +NSString * const kGTLRCompute_NetworkPeering_UpdateStrategy_Unspecified = @"UNSPECIFIED"; + +// GTLRCompute_NetworkPeeringConnectionStatus.updateStrategy +NSString * const kGTLRCompute_NetworkPeeringConnectionStatus_UpdateStrategy_Consensus = @"CONSENSUS"; +NSString * const kGTLRCompute_NetworkPeeringConnectionStatus_UpdateStrategy_Independent = @"INDEPENDENT"; +NSString * const kGTLRCompute_NetworkPeeringConnectionStatus_UpdateStrategy_Unspecified = @"UNSPECIFIED"; + +// GTLRCompute_NetworkPeeringConnectionStatusConsensusState.deleteStatus +NSString * const kGTLRCompute_NetworkPeeringConnectionStatusConsensusState_DeleteStatus_DeleteAcknowledged = @"DELETE_ACKNOWLEDGED"; +NSString * const kGTLRCompute_NetworkPeeringConnectionStatusConsensusState_DeleteStatus_DeleteStatusUnspecified = @"DELETE_STATUS_UNSPECIFIED"; +NSString * const kGTLRCompute_NetworkPeeringConnectionStatusConsensusState_DeleteStatus_LocalDeleteRequested = @"LOCAL_DELETE_REQUESTED"; +NSString * const kGTLRCompute_NetworkPeeringConnectionStatusConsensusState_DeleteStatus_PeerDeleteRequested = @"PEER_DELETE_REQUESTED"; + +// GTLRCompute_NetworkPeeringConnectionStatusConsensusState.updateStatus +NSString * const kGTLRCompute_NetworkPeeringConnectionStatusConsensusState_UpdateStatus_InSync = @"IN_SYNC"; +NSString * const kGTLRCompute_NetworkPeeringConnectionStatusConsensusState_UpdateStatus_PendingLocalAcknowledment = @"PENDING_LOCAL_ACKNOWLEDMENT"; +NSString * const kGTLRCompute_NetworkPeeringConnectionStatusConsensusState_UpdateStatus_PendingPeerAcknowledgement = @"PENDING_PEER_ACKNOWLEDGEMENT"; +NSString * const kGTLRCompute_NetworkPeeringConnectionStatusConsensusState_UpdateStatus_UpdateStatusUnspecified = @"UPDATE_STATUS_UNSPECIFIED"; + +// GTLRCompute_NetworkPeeringConnectionStatusTrafficConfiguration.stackType +NSString * const kGTLRCompute_NetworkPeeringConnectionStatusTrafficConfiguration_StackType_Ipv4Ipv6 = @"IPV4_IPV6"; +NSString * const kGTLRCompute_NetworkPeeringConnectionStatusTrafficConfiguration_StackType_Ipv4Only = @"IPV4_ONLY"; + // GTLRCompute_NetworkPerformanceConfig.totalEgressBandwidthTier NSString * const kGTLRCompute_NetworkPerformanceConfig_TotalEgressBandwidthTier_Default = @"DEFAULT"; NSString * const kGTLRCompute_NetworkPerformanceConfig_TotalEgressBandwidthTier_Tier1 = @"TIER_1"; @@ -5226,6 +5262,11 @@ NSString * const kGTLRCompute_Reservation_Status_Ready = @"READY"; NSString * const kGTLRCompute_Reservation_Status_Updating = @"UPDATING"; +// GTLRCompute_ReservationAdvancedDeploymentControl.reservationOperationalMode +NSString * const kGTLRCompute_ReservationAdvancedDeploymentControl_ReservationOperationalMode_AllCapacity = @"ALL_CAPACITY"; +NSString * const kGTLRCompute_ReservationAdvancedDeploymentControl_ReservationOperationalMode_HighlyAvailableCapacity = @"HIGHLY_AVAILABLE_CAPACITY"; +NSString * const kGTLRCompute_ReservationAdvancedDeploymentControl_ReservationOperationalMode_ReservationOperationalModeUnspecified = @"RESERVATION_OPERATIONAL_MODE_UNSPECIFIED"; + // GTLRCompute_ReservationAffinity.consumeReservationType NSString * const kGTLRCompute_ReservationAffinity_ConsumeReservationType_AnyReservation = @"ANY_RESERVATION"; NSString * const kGTLRCompute_ReservationAffinity_ConsumeReservationType_NoReservation = @"NO_RESERVATION"; @@ -7633,6 +7674,7 @@ NSString * const kGTLRCompute_UpcomingMaintenance_MaintenanceReasons_FailureMemory = @"FAILURE_MEMORY"; NSString * const kGTLRCompute_UpcomingMaintenance_MaintenanceReasons_FailureNetwork = @"FAILURE_NETWORK"; NSString * const kGTLRCompute_UpcomingMaintenance_MaintenanceReasons_FailureNvlink = @"FAILURE_NVLINK"; +NSString * const kGTLRCompute_UpcomingMaintenance_MaintenanceReasons_FailureRedundantHardwareFault = @"FAILURE_REDUNDANT_HARDWARE_FAULT"; NSString * const kGTLRCompute_UpcomingMaintenance_MaintenanceReasons_InfrastructureRelocation = @"INFRASTRUCTURE_RELOCATION"; NSString * const kGTLRCompute_UpcomingMaintenance_MaintenanceReasons_MaintenanceReasonUnknown = @"MAINTENANCE_REASON_UNKNOWN"; NSString * const kGTLRCompute_UpcomingMaintenance_MaintenanceReasons_PlannedNetworkUpdate = @"PLANNED_NETWORK_UPDATE"; @@ -9145,8 +9187,8 @@ @implementation GTLRCompute_Backend @implementation GTLRCompute_BackendBucket @dynamic bucketName, cdnPolicy, compressionMode, creationTimestamp, customResponseHeaders, descriptionProperty, edgeSecurityPolicy, - enableCdn, identifier, kind, loadBalancingScheme, name, selfLink, - usedBy; + enableCdn, identifier, kind, loadBalancingScheme, name, params, + selfLink, usedBy; + (NSDictionary *)propertyToJSONKeyMap { NSDictionary *map = @{ @@ -9279,6 +9321,30 @@ @implementation GTLRCompute_BackendBucketList_Warning_Data_Item @end +// ---------------------------------------------------------------------------- +// +// GTLRCompute_BackendBucketParams +// + +@implementation GTLRCompute_BackendBucketParams +@dynamic resourceManagerTags; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRCompute_BackendBucketParams_ResourceManagerTags +// + +@implementation GTLRCompute_BackendBucketParams_ResourceManagerTags + ++ (Class)classForAdditionalProperties { + return [NSString class]; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRCompute_BackendBucketUsedBy @@ -9314,10 +9380,10 @@ @implementation GTLRCompute_BackendService haPolicy, healthChecks, iap, identifier, ipAddressSelectionPolicy, kind, loadBalancingScheme, localityLbPolicies, localityLbPolicy, logConfig, maxStreamDuration, metadatas, name, network, - outlierDetection, port, portName, protocol, region, securityPolicy, - securitySettings, selfLink, serviceBindings, serviceLbPolicy, - sessionAffinity, strongSessionAffinityCookie, subsetting, timeoutSec, - tlsSettings, usedBy; + outlierDetection, params, port, portName, protocol, region, + securityPolicy, securitySettings, selfLink, serviceBindings, + serviceLbPolicy, sessionAffinity, strongSessionAffinityCookie, + subsetting, timeoutSec, tlsSettings, usedBy; + (NSDictionary *)propertyToJSONKeyMap { NSDictionary *map = @{ @@ -9728,6 +9794,30 @@ @implementation GTLRCompute_BackendServiceLogConfig @end +// ---------------------------------------------------------------------------- +// +// GTLRCompute_BackendServiceParams +// + +@implementation GTLRCompute_BackendServiceParams +@dynamic resourceManagerTags; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRCompute_BackendServiceParams_ResourceManagerTags +// + +@implementation GTLRCompute_BackendServiceParams_ResourceManagerTags + ++ (Class)classForAdditionalProperties { + return [NSString class]; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRCompute_BackendServiceReference @@ -15351,8 +15441,9 @@ @implementation GTLRCompute_Int64RangeMatch // @implementation GTLRCompute_Interconnect -@dynamic adminEnabled, availableFeatures, circuitInfos, creationTimestamp, - customerName, descriptionProperty, expectedOutages, googleIpAddress, +@dynamic aaiEnabled, adminEnabled, applicationAwareInterconnect, + availableFeatures, circuitInfos, creationTimestamp, customerName, + descriptionProperty, expectedOutages, googleIpAddress, googleReferenceId, identifier, interconnectAttachments, interconnectGroups, interconnectType, kind, labelFingerprint, labels, linkType, location, macsec, macsecEnabled, name, nocContactEmail, @@ -15396,6 +15487,62 @@ + (Class)classForAdditionalProperties { @end +// ---------------------------------------------------------------------------- +// +// GTLRCompute_InterconnectApplicationAwareInterconnect +// + +@implementation GTLRCompute_InterconnectApplicationAwareInterconnect +@dynamic bandwidthPercentagePolicy, profileDescription, shapeAveragePercentages, + strictPriorityPolicy; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"shapeAveragePercentages" : [GTLRCompute_InterconnectApplicationAwareInterconnectBandwidthPercentage class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRCompute_InterconnectApplicationAwareInterconnectBandwidthPercentage +// + +@implementation GTLRCompute_InterconnectApplicationAwareInterconnectBandwidthPercentage +@dynamic percentage, trafficClass; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRCompute_InterconnectApplicationAwareInterconnectBandwidthPercentagePolicy +// + +@implementation GTLRCompute_InterconnectApplicationAwareInterconnectBandwidthPercentagePolicy +@dynamic bandwidthPercentages; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"bandwidthPercentages" : [GTLRCompute_InterconnectApplicationAwareInterconnectBandwidthPercentage class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRCompute_InterconnectApplicationAwareInterconnectStrictPriorityPolicy +// + +@implementation GTLRCompute_InterconnectApplicationAwareInterconnectStrictPriorityPolicy +@end + + // ---------------------------------------------------------------------------- // // GTLRCompute_InterconnectAttachment @@ -18374,10 +18521,42 @@ + (Class)classForAdditionalProperties { // @implementation GTLRCompute_NetworkPeering -@dynamic autoCreateRoutes, exchangeSubnetRoutes, exportCustomRoutes, - exportSubnetRoutesWithPublicIp, importCustomRoutes, +@dynamic autoCreateRoutes, connectionStatus, exchangeSubnetRoutes, + exportCustomRoutes, exportSubnetRoutesWithPublicIp, importCustomRoutes, importSubnetRoutesWithPublicIp, name, network, peerMtu, stackType, - state, stateDetails; + state, stateDetails, updateStrategy; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRCompute_NetworkPeeringConnectionStatus +// + +@implementation GTLRCompute_NetworkPeeringConnectionStatus +@dynamic consensusState, trafficConfiguration, updateStrategy; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRCompute_NetworkPeeringConnectionStatusConsensusState +// + +@implementation GTLRCompute_NetworkPeeringConnectionStatusConsensusState +@dynamic deleteStatus, updateStatus; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRCompute_NetworkPeeringConnectionStatusTrafficConfiguration +// + +@implementation GTLRCompute_NetworkPeeringConnectionStatusTrafficConfiguration +@dynamic exportCustomRoutesToPeer, exportSubnetRoutesWithPublicIpToPeer, + importCustomRoutesFromPeer, importSubnetRoutesWithPublicIpFromPeer, + stackType; @end @@ -18578,6 +18757,16 @@ @implementation GTLRCompute_NetworksRemovePeeringRequest @end +// ---------------------------------------------------------------------------- +// +// GTLRCompute_NetworksRequestRemovePeeringRequest +// + +@implementation GTLRCompute_NetworksRequestRemovePeeringRequest +@dynamic name; +@end + + // ---------------------------------------------------------------------------- // // GTLRCompute_NetworksUpdatePeeringRequest @@ -21548,11 +21737,11 @@ @implementation GTLRCompute_RequestMirrorPolicy // @implementation GTLRCompute_Reservation -@dynamic aggregateReservation, commitment, creationTimestamp, - deleteAfterDuration, deleteAtTime, deploymentType, descriptionProperty, - enableEmergentMaintenance, identifier, kind, linkedCommitments, name, - reservationSharingPolicy, resourcePolicies, resourceStatus, - satisfiesPzs, schedulingType, selfLink, shareSettings, +@dynamic advancedDeploymentControl, aggregateReservation, commitment, + creationTimestamp, deleteAfterDuration, deleteAtTime, deploymentType, + descriptionProperty, enableEmergentMaintenance, identifier, kind, + linkedCommitments, name, reservationSharingPolicy, resourcePolicies, + resourceStatus, satisfiesPzs, schedulingType, selfLink, shareSettings, specificReservation, specificReservationRequired, status, zoneProperty; + (NSDictionary *)propertyToJSONKeyMap { @@ -21588,6 +21777,16 @@ + (Class)classForAdditionalProperties { @end +// ---------------------------------------------------------------------------- +// +// GTLRCompute_ReservationAdvancedDeploymentControl +// + +@implementation GTLRCompute_ReservationAdvancedDeploymentControl +@dynamic reservationOperationalMode; +@end + + // ---------------------------------------------------------------------------- // // GTLRCompute_ReservationAffinity @@ -22425,7 +22624,21 @@ @implementation GTLRCompute_ResourcePolicyWorkloadPolicy // @implementation GTLRCompute_ResourceStatus -@dynamic physicalHost, physicalHostTopology, scheduling, upcomingMaintenance; +@dynamic effectiveInstanceMetadata, physicalHost, physicalHostTopology, + scheduling, upcomingMaintenance; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRCompute_ResourceStatusEffectiveInstanceMetadata +// + +@implementation GTLRCompute_ResourceStatusEffectiveInstanceMetadata +@dynamic blockProjectSshKeysMetadataValue, enableGuestAttributesMetadataValue, + enableOsconfigMetadataValue, enableOsInventoryMetadataValue, + enableOsloginMetadataValue, serialPortEnableMetadataValue, + serialPortLoggingEnableMetadataValue, vmDnsSettingMetadataValue; @end diff --git a/Sources/GeneratedServices/Compute/GTLRComputeQuery.m b/Sources/GeneratedServices/Compute/GTLRComputeQuery.m index f0ac41565..9e61b0da9 100644 --- a/Sources/GeneratedServices/Compute/GTLRComputeQuery.m +++ b/Sources/GeneratedServices/Compute/GTLRComputeQuery.m @@ -10995,6 +10995,37 @@ + (instancetype)queryWithObject:(GTLRCompute_NetworksRemovePeeringRequest *)obje @end +@implementation GTLRComputeQuery_NetworksRequestRemovePeering + +@dynamic network, project, requestId; + ++ (instancetype)queryWithObject:(GTLRCompute_NetworksRequestRemovePeeringRequest *)object + project:(NSString *)project + network:(NSString *)network { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSArray *pathParams = @[ + @"network", @"project" + ]; + NSString *pathURITemplate = @"projects/{project}/global/networks/{network}/requestRemovePeering"; + GTLRComputeQuery_NetworksRequestRemovePeering *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.project = project; + query.network = network; + query.expectedObjectClass = [GTLRCompute_Operation class]; + query.loggingName = @"compute.networks.requestRemovePeering"; + return query; +} + +@end + @implementation GTLRComputeQuery_NetworksSwitchToCustomMode @dynamic network, project, requestId; diff --git a/Sources/GeneratedServices/Compute/Public/GoogleAPIClientForREST/GTLRComputeObjects.h b/Sources/GeneratedServices/Compute/Public/GoogleAPIClientForREST/GTLRComputeObjects.h index fc316c8a9..cf43c5b75 100644 --- a/Sources/GeneratedServices/Compute/Public/GoogleAPIClientForREST/GTLRComputeObjects.h +++ b/Sources/GeneratedServices/Compute/Public/GoogleAPIClientForREST/GTLRComputeObjects.h @@ -81,6 +81,8 @@ @class GTLRCompute_BackendBucketCdnPolicyNegativeCachingPolicy; @class GTLRCompute_BackendBucketList_Warning; @class GTLRCompute_BackendBucketList_Warning_Data_Item; +@class GTLRCompute_BackendBucketParams; +@class GTLRCompute_BackendBucketParams_ResourceManagerTags; @class GTLRCompute_BackendBucketUsedBy; @class GTLRCompute_BackendCustomMetric; @class GTLRCompute_BackendService; @@ -108,6 +110,8 @@ @class GTLRCompute_BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy; @class GTLRCompute_BackendServiceLocalityLoadBalancingPolicyConfigPolicy; @class GTLRCompute_BackendServiceLogConfig; +@class GTLRCompute_BackendServiceParams; +@class GTLRCompute_BackendServiceParams_ResourceManagerTags; @class GTLRCompute_BackendServiceReference; @class GTLRCompute_BackendServicesScopedList; @class GTLRCompute_BackendServicesScopedList_Warning; @@ -385,6 +389,10 @@ @class GTLRCompute_Int64RangeMatch; @class GTLRCompute_Interconnect; @class GTLRCompute_Interconnect_Labels; +@class GTLRCompute_InterconnectApplicationAwareInterconnect; +@class GTLRCompute_InterconnectApplicationAwareInterconnectBandwidthPercentage; +@class GTLRCompute_InterconnectApplicationAwareInterconnectBandwidthPercentagePolicy; +@class GTLRCompute_InterconnectApplicationAwareInterconnectStrictPriorityPolicy; @class GTLRCompute_InterconnectAttachment; @class GTLRCompute_InterconnectAttachment_Labels; @class GTLRCompute_InterconnectAttachmentAggregatedList_Items; @@ -543,6 +551,9 @@ @class GTLRCompute_NetworkParams; @class GTLRCompute_NetworkParams_ResourceManagerTags; @class GTLRCompute_NetworkPeering; +@class GTLRCompute_NetworkPeeringConnectionStatus; +@class GTLRCompute_NetworkPeeringConnectionStatusConsensusState; +@class GTLRCompute_NetworkPeeringConnectionStatusTrafficConfiguration; @class GTLRCompute_NetworkPerformanceConfig; @class GTLRCompute_NetworkProfile; @class GTLRCompute_NetworkProfileLocation; @@ -674,6 +685,7 @@ @class GTLRCompute_RequestMirrorPolicy; @class GTLRCompute_Reservation; @class GTLRCompute_Reservation_ResourcePolicies; +@class GTLRCompute_ReservationAdvancedDeploymentControl; @class GTLRCompute_ReservationAffinity; @class GTLRCompute_ReservationAggregatedList_Items; @class GTLRCompute_ReservationAggregatedList_Warning; @@ -722,6 +734,7 @@ @class GTLRCompute_ResourcePolicyWeeklyCycleDayOfWeek; @class GTLRCompute_ResourcePolicyWorkloadPolicy; @class GTLRCompute_ResourceStatus; +@class GTLRCompute_ResourceStatusEffectiveInstanceMetadata; @class GTLRCompute_ResourceStatusPhysicalHostTopology; @class GTLRCompute_ResourceStatusScheduling; @class GTLRCompute_Route; @@ -3870,8 +3883,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_BackendService_LocalityLbPolicy_ * This algorithm implements consistent hashing to backends. Maglev can be used * as a drop in replacement for the ring hash load balancer. Maglev is not as * stable as ring hash but has faster table lookup build times and host - * selection times. For more information about Maglev, see - * https://ai.google/research/pubs/pub44824 + * selection times. For more information about Maglev, see Maglev: A Fast and + * Reliable Software Network Load Balancer. * * Value: "MAGLEV" */ @@ -3906,6 +3919,15 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_BackendService_LocalityLbPolicy_ * Value: "ROUND_ROBIN" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_BackendService_LocalityLbPolicy_RoundRobin; +/** + * Per-instance weighted Load Balancing via health check reported weights. In + * internal passthrough network load balancing, it is weighted rendezvous + * hashing. This option is only supported in internal passthrough network load + * balancing. + * + * Value: "WEIGHTED_GCP_RENDEZVOUS" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_BackendService_LocalityLbPolicy_WeightedGcpRendezvous; /** * Per-instance weighted Load Balancing via health check reported weights. If * set, the Backend Service must configure a non legacy HTTP-based Health @@ -4703,8 +4725,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_BackendServiceLocalityLoadBalanc * This algorithm implements consistent hashing to backends. Maglev can be used * as a drop in replacement for the ring hash load balancer. Maglev is not as * stable as ring hash but has faster table lookup build times and host - * selection times. For more information about Maglev, see - * https://ai.google/research/pubs/pub44824 + * selection times. For more information about Maglev, see Maglev: A Fast and + * Reliable Software Network Load Balancer. * * Value: "MAGLEV" */ @@ -4739,6 +4761,15 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_BackendServiceLocalityLoadBalanc * Value: "ROUND_ROBIN" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_BackendServiceLocalityLoadBalancingPolicyConfigPolicy_Name_RoundRobin; +/** + * Per-instance weighted Load Balancing via health check reported weights. In + * internal passthrough network load balancing, it is weighted rendezvous + * hashing. This option is only supported in internal passthrough network load + * balancing. + * + * Value: "WEIGHTED_GCP_RENDEZVOUS" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_BackendServiceLocalityLoadBalancingPolicyConfigPolicy_Name_WeightedGcpRendezvous; /** * Per-instance weighted Load Balancing via health check reported weights. If * set, the Backend Service must configure a non legacy HTTP-based Health @@ -15159,6 +15190,46 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_Interconnect_State_Active; */ FOUNDATION_EXTERN NSString * const kGTLRCompute_Interconnect_State_Unprovisioned; +// ---------------------------------------------------------------------------- +// GTLRCompute_InterconnectApplicationAwareInterconnectBandwidthPercentage.trafficClass + +/** + * Traffic Class 1, corresponding to DSCP ranges (0-7) 000xxx. + * + * Value: "TC1" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_InterconnectApplicationAwareInterconnectBandwidthPercentage_TrafficClass_Tc1; +/** + * Traffic Class 2, corresponding to DSCP ranges (8-15) 001xxx. + * + * Value: "TC2" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_InterconnectApplicationAwareInterconnectBandwidthPercentage_TrafficClass_Tc2; +/** + * Traffic Class 3, corresponding to DSCP ranges (16-23) 010xxx. + * + * Value: "TC3" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_InterconnectApplicationAwareInterconnectBandwidthPercentage_TrafficClass_Tc3; +/** + * Traffic Class 4, corresponding to DSCP ranges (24-31) 011xxx. + * + * Value: "TC4" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_InterconnectApplicationAwareInterconnectBandwidthPercentage_TrafficClass_Tc4; +/** + * Traffic Class 5, corresponding to DSCP ranges (32-47) 10xxxx. + * + * Value: "TC5" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_InterconnectApplicationAwareInterconnectBandwidthPercentage_TrafficClass_Tc5; +/** + * Traffic Class 6, corresponding to DSCP ranges (48-63) 11xxxx. + * + * Value: "TC6" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_InterconnectApplicationAwareInterconnectBandwidthPercentage_TrafficClass_Tc6; + // ---------------------------------------------------------------------------- // GTLRCompute_InterconnectAttachment.bandwidth @@ -21215,6 +21286,132 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_NetworkPeering_State_Active; */ FOUNDATION_EXTERN NSString * const kGTLRCompute_NetworkPeering_State_Inactive; +// ---------------------------------------------------------------------------- +// GTLRCompute_NetworkPeering.updateStrategy + +/** + * Updates are reflected in the local peering but aren't applied to the peering + * connection until a complementary change is made to the matching peering. To + * delete a peering with the consensus update strategy, both the peerings must + * request the deletion of the peering before the peering can be deleted. + * + * Value: "CONSENSUS" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_NetworkPeering_UpdateStrategy_Consensus; +/** + * In this mode, changes to the peering configuration can be unilaterally + * altered by changing either side of the peering. This is the default value if + * the field is unspecified. + * + * Value: "INDEPENDENT" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_NetworkPeering_UpdateStrategy_Independent; +/** + * Peerings with update strategy UNSPECIFIED are created with update strategy + * INDEPENDENT. + * + * Value: "UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_NetworkPeering_UpdateStrategy_Unspecified; + +// ---------------------------------------------------------------------------- +// GTLRCompute_NetworkPeeringConnectionStatus.updateStrategy + +/** + * Updates are reflected in the local peering but aren't applied to the peering + * connection until a complementary change is made to the matching peering. To + * delete a peering with the consensus update strategy, both the peerings must + * request the deletion of the peering before the peering can be deleted. + * + * Value: "CONSENSUS" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_NetworkPeeringConnectionStatus_UpdateStrategy_Consensus; +/** + * In this mode, changes to the peering configuration can be unilaterally + * altered by changing either side of the peering. This is the default value if + * the field is unspecified. + * + * Value: "INDEPENDENT" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_NetworkPeeringConnectionStatus_UpdateStrategy_Independent; +/** + * Peerings with update strategy UNSPECIFIED are created with update strategy + * INDEPENDENT. + * + * Value: "UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_NetworkPeeringConnectionStatus_UpdateStrategy_Unspecified; + +// ---------------------------------------------------------------------------- +// GTLRCompute_NetworkPeeringConnectionStatusConsensusState.deleteStatus + +/** + * Both network admins have agreed this consensus peering connection can be + * deleted. + * + * Value: "DELETE_ACKNOWLEDGED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_NetworkPeeringConnectionStatusConsensusState_DeleteStatus_DeleteAcknowledged; +/** Value: "DELETE_STATUS_UNSPECIFIED" */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_NetworkPeeringConnectionStatusConsensusState_DeleteStatus_DeleteStatusUnspecified; +/** + * Network admin has requested deletion of this peering connection. + * + * Value: "LOCAL_DELETE_REQUESTED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_NetworkPeeringConnectionStatusConsensusState_DeleteStatus_LocalDeleteRequested; +/** + * The peer network admin has requested deletion of this peering connection. + * + * Value: "PEER_DELETE_REQUESTED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_NetworkPeeringConnectionStatusConsensusState_DeleteStatus_PeerDeleteRequested; + +// ---------------------------------------------------------------------------- +// GTLRCompute_NetworkPeeringConnectionStatusConsensusState.updateStatus + +/** + * No pending configuration update proposals to the peering connection. + * + * Value: "IN_SYNC" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_NetworkPeeringConnectionStatusConsensusState_UpdateStatus_InSync; +/** + * The peer network admin has made an updatePeering call. The change is + * awaiting acknowledgment from this peering's network admin. + * + * Value: "PENDING_LOCAL_ACKNOWLEDMENT" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_NetworkPeeringConnectionStatusConsensusState_UpdateStatus_PendingLocalAcknowledment; +/** + * The local network admin has made an updatePeering call. The change is + * awaiting acknowledgment from the peer network admin. + * + * Value: "PENDING_PEER_ACKNOWLEDGEMENT" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_NetworkPeeringConnectionStatusConsensusState_UpdateStatus_PendingPeerAcknowledgement; +/** Value: "UPDATE_STATUS_UNSPECIFIED" */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_NetworkPeeringConnectionStatusConsensusState_UpdateStatus_UpdateStatusUnspecified; + +// ---------------------------------------------------------------------------- +// GTLRCompute_NetworkPeeringConnectionStatusTrafficConfiguration.stackType + +/** + * This Peering will allow IPv4 traffic and routes to be exchanged. + * Additionally if the matching peering is IPV4_IPV6, IPv6 traffic and routes + * will be exchanged as well. + * + * Value: "IPV4_IPV6" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_NetworkPeeringConnectionStatusTrafficConfiguration_StackType_Ipv4Ipv6; +/** + * This Peering will only allow IPv4 traffic and routes to be exchanged, even + * if the matching peering is IPV4_IPV6. + * + * Value: "IPV4_ONLY" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_NetworkPeeringConnectionStatusTrafficConfiguration_StackType_Ipv4Only; + // ---------------------------------------------------------------------------- // GTLRCompute_NetworkPerformanceConfig.totalEgressBandwidthTier @@ -28717,6 +28914,25 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_Reservation_Status_Ready; */ FOUNDATION_EXTERN NSString * const kGTLRCompute_Reservation_Status_Updating; +// ---------------------------------------------------------------------------- +// GTLRCompute_ReservationAdvancedDeploymentControl.reservationOperationalMode + +/** + * Google Cloud does not manage the failure of machines, but provides + * additional capacity, which is not guaranteed to be available. + * + * Value: "ALL_CAPACITY" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_ReservationAdvancedDeploymentControl_ReservationOperationalMode_AllCapacity; +/** + * Google Cloud manages the failure of machines to provide high availability. + * + * Value: "HIGHLY_AVAILABLE_CAPACITY" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_ReservationAdvancedDeploymentControl_ReservationOperationalMode_HighlyAvailableCapacity; +/** Value: "RESERVATION_OPERATIONAL_MODE_UNSPECIFIED" */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_ReservationAdvancedDeploymentControl_ReservationOperationalMode_ReservationOperationalModeUnspecified; + // ---------------------------------------------------------------------------- // GTLRCompute_ReservationAffinity.consumeReservationType @@ -30524,13 +30740,14 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ResourcePolicyWorkloadPolicy_Max // GTLRCompute_ResourcePolicyWorkloadPolicy.type /** - * VMs will be provisioned in such a way which provides high availability. + * MIG spreads out the instances as much as possible for high availability. * * Value: "HIGH_AVAILABILITY" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_ResourcePolicyWorkloadPolicy_Type_HighAvailability; /** - * VMs will be provisioned in such a way which provides high throughput. + * MIG provisions instances as close to each other as possible for high + * throughput. * * Value: "HIGH_THROUGHPUT" */ @@ -42063,6 +42280,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_UpcomingMaintenance_MaintenanceR * Value: "FAILURE_NVLINK" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_UpcomingMaintenance_MaintenanceReasons_FailureNvlink; +/** + * Maintenance due to redundant hardware fault. + * + * Value: "FAILURE_REDUNDANT_HARDWARE_FAULT" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_UpcomingMaintenance_MaintenanceReasons_FailureRedundantHardwareFault; /** * Maintenance due to infrastructure relocation. * @@ -48718,6 +48941,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl */ @property(nonatomic, copy, nullable) NSString *name; +/** + * Input only. [Input Only] Additional params passed with the request, but not + * persisted as part of resource payload. + */ +@property(nonatomic, strong, nullable) GTLRCompute_BackendBucketParams *params; + /** [Output Only] Server-defined URL for the resource. */ @property(nonatomic, copy, nullable) NSString *selfLink; @@ -49144,6 +49373,45 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl @end +/** + * Additional Backend Bucket parameters. + */ +@interface GTLRCompute_BackendBucketParams : GTLRObject + +/** + * Tag keys/values directly bound to this resource. Tag keys and values have + * the same definition as resource manager tags. The field is allowed for + * INSERT only. The keys/values to set on the resource should be specified in + * either ID { : } or Namespaced format { : }. For example the following are + * valid inputs: * {"tagKeys/333" : "tagValues/444", "tagKeys/123" : + * "tagValues/456"} * {"123/environment" : "production", "345/abc" : "xyz"} + * Note: * Invalid combinations of ID & namespaced format is not supported. For + * instance: {"123/environment" : "tagValues/444"} is invalid. + */ +@property(nonatomic, strong, nullable) GTLRCompute_BackendBucketParams_ResourceManagerTags *resourceManagerTags; + +@end + + +/** + * Tag keys/values directly bound to this resource. Tag keys and values have + * the same definition as resource manager tags. The field is allowed for + * INSERT only. The keys/values to set on the resource should be specified in + * either ID { : } or Namespaced format { : }. For example the following are + * valid inputs: * {"tagKeys/333" : "tagValues/444", "tagKeys/123" : + * "tagValues/456"} * {"123/environment" : "production", "345/abc" : "xyz"} + * Note: * Invalid combinations of ID & namespaced format is not supported. For + * instance: {"123/environment" : "tagValues/444"} is invalid. + * + * @note This class is documented as having more properties of NSString. Use @c + * -additionalJSONKeys and @c -additionalPropertyForName: to get the list + * of properties and then fetch them; or @c -additionalProperties to + * fetch them all at once. + */ +@interface GTLRCompute_BackendBucketParams_ResourceManagerTags : GTLRObject +@end + + /** * GTLRCompute_BackendBucketUsedBy */ @@ -49533,24 +49801,24 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * connection was redirected to the load balancer. - MAGLEV: used as a drop in * replacement for the ring hash load balancer. Maglev is not as stable as ring * hash but has faster table lookup build times and host selection times. For - * more information about Maglev, see https://ai.google/research/pubs/pub44824 - * - WEIGHTED_ROUND_ROBIN: Per-endpoint Weighted Round Robin Load Balancing - * using weights computed from Backend reported Custom Metrics. If set, the - * Backend Service responses are expected to contain non-standard HTTP response - * header field Endpoint-Load-Metrics. The reported metrics to use for - * computing the weights are specified via the customMetrics field. This field - * is applicable to either: - A regional backend service with the - * service_protocol set to HTTP, HTTPS, HTTP2 or H2C, and load_balancing_scheme - * set to INTERNAL_MANAGED. - A global backend service with the - * load_balancing_scheme set to INTERNAL_SELF_MANAGED, INTERNAL_MANAGED, or - * EXTERNAL_MANAGED. If sessionAffinity is not configured—that is, if session - * affinity remains at the default value of NONE—then the default value for - * localityLbPolicy is ROUND_ROBIN. If session affinity is set to a value other - * than NONE, then the default value for localityLbPolicy is MAGLEV. Only - * ROUND_ROBIN and RING_HASH are supported when the backend service is - * referenced by a URL map that is bound to target gRPC proxy that has - * validateForProxyless field set to true. localityLbPolicy cannot be specified - * with haPolicy. + * more information about Maglev, see Maglev: A Fast and Reliable Software + * Network Load Balancer. - WEIGHTED_ROUND_ROBIN: Per-endpoint Weighted Round + * Robin Load Balancing using weights computed from Backend reported Custom + * Metrics. If set, the Backend Service responses are expected to contain + * non-standard HTTP response header field Endpoint-Load-Metrics. The reported + * metrics to use for computing the weights are specified via the customMetrics + * field. This field is applicable to either: - A regional backend service with + * the service_protocol set to HTTP, HTTPS, HTTP2 or H2C, and + * load_balancing_scheme set to INTERNAL_MANAGED. - A global backend service + * with the load_balancing_scheme set to INTERNAL_SELF_MANAGED, + * INTERNAL_MANAGED, or EXTERNAL_MANAGED. If sessionAffinity is not + * configured—that is, if session affinity remains at the default value of + * NONE—then the default value for localityLbPolicy is ROUND_ROBIN. If session + * affinity is set to a value other than NONE, then the default value for + * localityLbPolicy is MAGLEV. Only ROUND_ROBIN and RING_HASH are supported + * when the backend service is referenced by a URL map that is bound to target + * gRPC proxy that has validateForProxyless field set to true. localityLbPolicy + * cannot be specified with haPolicy. * * Likely values: * @arg @c kGTLRCompute_BackendService_LocalityLbPolicy_InvalidLbPolicy Value @@ -49562,8 +49830,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * implements consistent hashing to backends. Maglev can be used as a * drop in replacement for the ring hash load balancer. Maglev is not as * stable as ring hash but has faster table lookup build times and host - * selection times. For more information about Maglev, see - * https://ai.google/research/pubs/pub44824 (Value: "MAGLEV") + * selection times. For more information about Maglev, see Maglev: A Fast + * and Reliable Software Network Load Balancer. (Value: "MAGLEV") * @arg @c kGTLRCompute_BackendService_LocalityLbPolicy_OriginalDestination * Backend host is selected based on the client connection metadata, * i.e., connections are opened to the same address as the destination @@ -49579,6 +49847,11 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * @arg @c kGTLRCompute_BackendService_LocalityLbPolicy_RoundRobin This is a * simple policy in which each healthy backend is selected in round robin * order. This is the default. (Value: "ROUND_ROBIN") + * @arg @c kGTLRCompute_BackendService_LocalityLbPolicy_WeightedGcpRendezvous + * Per-instance weighted Load Balancing via health check reported + * weights. In internal passthrough network load balancing, it is + * weighted rendezvous hashing. This option is only supported in internal + * passthrough network load balancing. (Value: "WEIGHTED_GCP_RENDEZVOUS") * @arg @c kGTLRCompute_BackendService_LocalityLbPolicy_WeightedMaglev * Per-instance weighted Load Balancing via health check reported * weights. If set, the Backend Service must configure a non legacy @@ -49674,6 +49947,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl */ @property(nonatomic, strong, nullable) GTLRCompute_OutlierDetection *outlierDetection; +/** + * Input only. [Input Only] Additional params passed with the request, but not + * persisted as part of resource payload. + */ +@property(nonatomic, strong, nullable) GTLRCompute_BackendServiceParams *params; + /** * Deprecated in favor of portName. The TCP port to connect on the backend. The * default value is 80. For internal passthrough Network Load Balancers and @@ -49755,7 +50034,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl /** * URL to networkservices.ServiceLbPolicy resource. Can only be set if load - * balancing scheme is EXTERNAL, EXTERNAL_MANAGED, INTERNAL_MANAGED or + * balancing scheme is EXTERNAL_MANAGED, INTERNAL_MANAGED or * INTERNAL_SELF_MANAGED and the scope is global. */ @property(nonatomic, copy, nullable) NSString *serviceLbPolicy; @@ -51063,7 +51342,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * be used as a drop in replacement for the ring hash load balancer. * Maglev is not as stable as ring hash but has faster table lookup build * times and host selection times. For more information about Maglev, see - * https://ai.google/research/pubs/pub44824 (Value: "MAGLEV") + * Maglev: A Fast and Reliable Software Network Load Balancer. (Value: + * "MAGLEV") * @arg @c kGTLRCompute_BackendServiceLocalityLoadBalancingPolicyConfigPolicy_Name_OriginalDestination * Backend host is selected based on the client connection metadata, * i.e., connections are opened to the same address as the destination @@ -51079,6 +51359,11 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * @arg @c kGTLRCompute_BackendServiceLocalityLoadBalancingPolicyConfigPolicy_Name_RoundRobin * This is a simple policy in which each healthy backend is selected in * round robin order. This is the default. (Value: "ROUND_ROBIN") + * @arg @c kGTLRCompute_BackendServiceLocalityLoadBalancingPolicyConfigPolicy_Name_WeightedGcpRendezvous + * Per-instance weighted Load Balancing via health check reported + * weights. In internal passthrough network load balancing, it is + * weighted rendezvous hashing. This option is only supported in internal + * passthrough network load balancing. (Value: "WEIGHTED_GCP_RENDEZVOUS") * @arg @c kGTLRCompute_BackendServiceLocalityLoadBalancingPolicyConfigPolicy_Name_WeightedMaglev * Per-instance weighted Load Balancing via health check reported * weights. If set, the Backend Service must configure a non legacy @@ -51155,6 +51440,45 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl @end +/** + * Additional Backend Service parameters. + */ +@interface GTLRCompute_BackendServiceParams : GTLRObject + +/** + * Tag keys/values directly bound to this resource. Tag keys and values have + * the same definition as resource manager tags. The field is allowed for + * INSERT only. The keys/values to set on the resource should be specified in + * either ID { : } or Namespaced format { : }. For example the following are + * valid inputs: * {"tagKeys/333" : "tagValues/444", "tagKeys/123" : + * "tagValues/456"} * {"123/environment" : "production", "345/abc" : "xyz"} + * Note: * Invalid combinations of ID & namespaced format is not supported. For + * instance: {"123/environment" : "tagValues/444"} is invalid. + */ +@property(nonatomic, strong, nullable) GTLRCompute_BackendServiceParams_ResourceManagerTags *resourceManagerTags; + +@end + + +/** + * Tag keys/values directly bound to this resource. Tag keys and values have + * the same definition as resource manager tags. The field is allowed for + * INSERT only. The keys/values to set on the resource should be specified in + * either ID { : } or Namespaced format { : }. For example the following are + * valid inputs: * {"tagKeys/333" : "tagValues/444", "tagKeys/123" : + * "tagValues/456"} * {"123/environment" : "production", "345/abc" : "xyz"} + * Note: * Invalid combinations of ID & namespaced format is not supported. For + * instance: {"123/environment" : "tagValues/444"} is invalid. + * + * @note This class is documented as having more properties of NSString. Use @c + * -additionalJSONKeys and @c -additionalPropertyForName: to get the list + * of properties and then fetch them; or @c -additionalProperties to + * fetch them all at once. + */ +@interface GTLRCompute_BackendServiceParams_ResourceManagerTags : GTLRObject +@end + + /** * GTLRCompute_BackendServiceReference */ @@ -68927,6 +69251,14 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl */ @interface GTLRCompute_Interconnect : GTLRObject +/** + * Enable or disable the application awareness feature on this Cloud + * Interconnect. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *aaiEnabled; + /** * Administrative status of the interconnect. When this is set to true, the * Interconnect is functional and can carry traffic. When set to false, no @@ -68937,6 +69269,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl */ @property(nonatomic, strong, nullable) NSNumber *adminEnabled; +/** + * Configuration information for application awareness on this Cloud + * Interconnect. + */ +@property(nonatomic, strong, nullable) GTLRCompute_InterconnectApplicationAwareInterconnect *applicationAwareInterconnect; + /** * [Output only] List of features available for this Interconnect connection, * which can take one of the following values: - IF_MACSEC If present then the @@ -69215,6 +69553,94 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl @end +/** + * Configuration information for application awareness on this Cloud + * Interconnect. + */ +@interface GTLRCompute_InterconnectApplicationAwareInterconnect : GTLRObject + +@property(nonatomic, strong, nullable) GTLRCompute_InterconnectApplicationAwareInterconnectBandwidthPercentagePolicy *bandwidthPercentagePolicy; + +/** + * Description for the application awareness profile on this Cloud + * Interconnect. + */ +@property(nonatomic, copy, nullable) NSString *profileDescription; + +/** + * Optional field to specify a list of shape average percentages to be applied + * in conjunction with StrictPriorityPolicy or BandwidthPercentagePolicy. + */ +@property(nonatomic, strong, nullable) NSArray *shapeAveragePercentages; + +@property(nonatomic, strong, nullable) GTLRCompute_InterconnectApplicationAwareInterconnectStrictPriorityPolicy *strictPriorityPolicy; + +@end + + +/** + * Specify bandwidth percentages [1-100] for various traffic classes in + * BandwidthPercentagePolicy. The sum of all percentages must equal 100. All + * traffic classes must have a percentage value specified. + */ +@interface GTLRCompute_InterconnectApplicationAwareInterconnectBandwidthPercentage : GTLRObject + +/** + * Bandwidth percentage for a specific traffic class. + * + * Uses NSNumber of unsignedIntValue. + */ +@property(nonatomic, strong, nullable) NSNumber *percentage; + +/** + * TrafficClass whose bandwidth percentage is being specified. + * + * Likely values: + * @arg @c kGTLRCompute_InterconnectApplicationAwareInterconnectBandwidthPercentage_TrafficClass_Tc1 + * Traffic Class 1, corresponding to DSCP ranges (0-7) 000xxx. (Value: + * "TC1") + * @arg @c kGTLRCompute_InterconnectApplicationAwareInterconnectBandwidthPercentage_TrafficClass_Tc2 + * Traffic Class 2, corresponding to DSCP ranges (8-15) 001xxx. (Value: + * "TC2") + * @arg @c kGTLRCompute_InterconnectApplicationAwareInterconnectBandwidthPercentage_TrafficClass_Tc3 + * Traffic Class 3, corresponding to DSCP ranges (16-23) 010xxx. (Value: + * "TC3") + * @arg @c kGTLRCompute_InterconnectApplicationAwareInterconnectBandwidthPercentage_TrafficClass_Tc4 + * Traffic Class 4, corresponding to DSCP ranges (24-31) 011xxx. (Value: + * "TC4") + * @arg @c kGTLRCompute_InterconnectApplicationAwareInterconnectBandwidthPercentage_TrafficClass_Tc5 + * Traffic Class 5, corresponding to DSCP ranges (32-47) 10xxxx. (Value: + * "TC5") + * @arg @c kGTLRCompute_InterconnectApplicationAwareInterconnectBandwidthPercentage_TrafficClass_Tc6 + * Traffic Class 6, corresponding to DSCP ranges (48-63) 11xxxx. (Value: + * "TC6") + */ +@property(nonatomic, copy, nullable) NSString *trafficClass; + +@end + + +/** + * GTLRCompute_InterconnectApplicationAwareInterconnectBandwidthPercentagePolicy + */ +@interface GTLRCompute_InterconnectApplicationAwareInterconnectBandwidthPercentagePolicy : GTLRObject + +/** + * Specify bandwidth percentages for various traffic classes for queuing type + * Bandwidth Percent. + */ +@property(nonatomic, strong, nullable) NSArray *bandwidthPercentages; + +@end + + +/** + * Specify configuration for StrictPriorityPolicy. + */ +@interface GTLRCompute_InterconnectApplicationAwareInterconnectStrictPriorityPolicy : GTLRObject +@end + + /** * Represents an Interconnect Attachment (VLAN) resource. You can use * Interconnect attachments (VLANS) to connect your Virtual Private Cloud @@ -78418,6 +78844,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl */ @property(nonatomic, strong, nullable) NSNumber *autoCreateRoutes; +/** [Output Only] The effective state of the peering connection as a whole. */ +@property(nonatomic, strong, nullable) GTLRCompute_NetworkPeeringConnectionStatus *connectionStatus; + /** * Indicates whether full mesh connectivity is created and managed * automatically between peered networks. Currently this field should always be @@ -78519,6 +78948,172 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl /** [Output Only] Details about the current state of the peering. */ @property(nonatomic, copy, nullable) NSString *stateDetails; +/** + * The update strategy determines the semantics for updates and deletes to the + * peering connection configuration. + * + * Likely values: + * @arg @c kGTLRCompute_NetworkPeering_UpdateStrategy_Consensus Updates are + * reflected in the local peering but aren't applied to the peering + * connection until a complementary change is made to the matching + * peering. To delete a peering with the consensus update strategy, both + * the peerings must request the deletion of the peering before the + * peering can be deleted. (Value: "CONSENSUS") + * @arg @c kGTLRCompute_NetworkPeering_UpdateStrategy_Independent In this + * mode, changes to the peering configuration can be unilaterally altered + * by changing either side of the peering. This is the default value if + * the field is unspecified. (Value: "INDEPENDENT") + * @arg @c kGTLRCompute_NetworkPeering_UpdateStrategy_Unspecified Peerings + * with update strategy UNSPECIFIED are created with update strategy + * INDEPENDENT. (Value: "UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *updateStrategy; + +@end + + +/** + * [Output Only] Describes the state of a peering connection, not just the + * local peering. This field provides information about the effective settings + * for the connection as a whole, including pending delete/update requests for + * CONSENSUS peerings. + */ +@interface GTLRCompute_NetworkPeeringConnectionStatus : GTLRObject + +/** + * The consensus state contains information about the status of update and + * delete for a consensus peering connection. + */ +@property(nonatomic, strong, nullable) GTLRCompute_NetworkPeeringConnectionStatusConsensusState *consensusState; + +/** + * The active connectivity settings for the peering connection based on the + * settings of the network peerings. + */ +@property(nonatomic, strong, nullable) GTLRCompute_NetworkPeeringConnectionStatusTrafficConfiguration *trafficConfiguration; + +/** + * The update strategy determines the update/delete semantics for this peering + * connection. + * + * Likely values: + * @arg @c kGTLRCompute_NetworkPeeringConnectionStatus_UpdateStrategy_Consensus + * Updates are reflected in the local peering but aren't applied to the + * peering connection until a complementary change is made to the + * matching peering. To delete a peering with the consensus update + * strategy, both the peerings must request the deletion of the peering + * before the peering can be deleted. (Value: "CONSENSUS") + * @arg @c kGTLRCompute_NetworkPeeringConnectionStatus_UpdateStrategy_Independent + * In this mode, changes to the peering configuration can be unilaterally + * altered by changing either side of the peering. This is the default + * value if the field is unspecified. (Value: "INDEPENDENT") + * @arg @c kGTLRCompute_NetworkPeeringConnectionStatus_UpdateStrategy_Unspecified + * Peerings with update strategy UNSPECIFIED are created with update + * strategy INDEPENDENT. (Value: "UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *updateStrategy; + +@end + + +/** + * The status of update/delete for a consensus peering connection. Only set + * when connection_status.update_strategy is CONSENSUS or a network peering is + * proposing to update the strategy to CONSENSUS. + */ +@interface GTLRCompute_NetworkPeeringConnectionStatusConsensusState : GTLRObject + +/** + * The status of the delete request. + * + * Likely values: + * @arg @c kGTLRCompute_NetworkPeeringConnectionStatusConsensusState_DeleteStatus_DeleteAcknowledged + * Both network admins have agreed this consensus peering connection can + * be deleted. (Value: "DELETE_ACKNOWLEDGED") + * @arg @c kGTLRCompute_NetworkPeeringConnectionStatusConsensusState_DeleteStatus_DeleteStatusUnspecified + * Value "DELETE_STATUS_UNSPECIFIED" + * @arg @c kGTLRCompute_NetworkPeeringConnectionStatusConsensusState_DeleteStatus_LocalDeleteRequested + * Network admin has requested deletion of this peering connection. + * (Value: "LOCAL_DELETE_REQUESTED") + * @arg @c kGTLRCompute_NetworkPeeringConnectionStatusConsensusState_DeleteStatus_PeerDeleteRequested + * The peer network admin has requested deletion of this peering + * connection. (Value: "PEER_DELETE_REQUESTED") + */ +@property(nonatomic, copy, nullable) NSString *deleteStatus; + +/** + * The status of the update request. + * + * Likely values: + * @arg @c kGTLRCompute_NetworkPeeringConnectionStatusConsensusState_UpdateStatus_InSync + * No pending configuration update proposals to the peering connection. + * (Value: "IN_SYNC") + * @arg @c kGTLRCompute_NetworkPeeringConnectionStatusConsensusState_UpdateStatus_PendingLocalAcknowledment + * The peer network admin has made an updatePeering call. The change is + * awaiting acknowledgment from this peering's network admin. (Value: + * "PENDING_LOCAL_ACKNOWLEDMENT") + * @arg @c kGTLRCompute_NetworkPeeringConnectionStatusConsensusState_UpdateStatus_PendingPeerAcknowledgement + * The local network admin has made an updatePeering call. The change is + * awaiting acknowledgment from the peer network admin. (Value: + * "PENDING_PEER_ACKNOWLEDGEMENT") + * @arg @c kGTLRCompute_NetworkPeeringConnectionStatusConsensusState_UpdateStatus_UpdateStatusUnspecified + * Value "UPDATE_STATUS_UNSPECIFIED" + */ +@property(nonatomic, copy, nullable) NSString *updateStatus; + +@end + + +/** + * GTLRCompute_NetworkPeeringConnectionStatusTrafficConfiguration + */ +@interface GTLRCompute_NetworkPeeringConnectionStatusTrafficConfiguration : GTLRObject + +/** + * Whether custom routes are being exported to the peer network. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *exportCustomRoutesToPeer; + +/** + * Whether subnet routes with public IP ranges are being exported to the peer + * network. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *exportSubnetRoutesWithPublicIpToPeer; + +/** + * Whether custom routes are being imported from the peer network. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *importCustomRoutesFromPeer; + +/** + * Whether subnet routes with public IP ranges are being imported from the peer + * network. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *importSubnetRoutesWithPublicIpFromPeer; + +/** + * Which IP version(s) of traffic and routes are being imported or exported + * between peer networks. + * + * Likely values: + * @arg @c kGTLRCompute_NetworkPeeringConnectionStatusTrafficConfiguration_StackType_Ipv4Ipv6 + * This Peering will allow IPv4 traffic and routes to be exchanged. + * Additionally if the matching peering is IPV4_IPV6, IPv6 traffic and + * routes will be exchanged as well. (Value: "IPV4_IPV6") + * @arg @c kGTLRCompute_NetworkPeeringConnectionStatusTrafficConfiguration_StackType_Ipv4Only + * This Peering will only allow IPv4 traffic and routes to be exchanged, + * even if the matching peering is IPV4_IPV6. (Value: "IPV4_ONLY") + */ +@property(nonatomic, copy, nullable) NSString *stackType; + @end @@ -79279,6 +79874,17 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl @end +/** + * GTLRCompute_NetworksRequestRemovePeeringRequest + */ +@interface GTLRCompute_NetworksRequestRemovePeeringRequest : GTLRObject + +/** Name of the peering, which should conform to RFC1035. */ +@property(nonatomic, copy, nullable) NSString *name; + +@end + + /** * GTLRCompute_NetworksUpdatePeeringRequest */ @@ -88363,6 +88969,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl */ @interface GTLRCompute_Reservation : GTLRObject +/** + * Advanced control for cluster management, applicable only to DENSE deployment + * type reservations. + */ +@property(nonatomic, strong, nullable) GTLRCompute_ReservationAdvancedDeploymentControl *advancedDeploymentControl; + /** Reservation for aggregated resources, providing shape flexibility. */ @property(nonatomic, strong, nullable) GTLRCompute_AllocationAggregateReservation *aggregateReservation; @@ -88553,6 +89165,31 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl @end +/** + * Advance control for cluster management, applicable only to DENSE deployment + * type reservations. + */ +@interface GTLRCompute_ReservationAdvancedDeploymentControl : GTLRObject + +/** + * Indicates chosen reservation operational mode for the reservation. + * + * Likely values: + * @arg @c kGTLRCompute_ReservationAdvancedDeploymentControl_ReservationOperationalMode_AllCapacity + * Google Cloud does not manage the failure of machines, but provides + * additional capacity, which is not guaranteed to be available. (Value: + * "ALL_CAPACITY") + * @arg @c kGTLRCompute_ReservationAdvancedDeploymentControl_ReservationOperationalMode_HighlyAvailableCapacity + * Google Cloud manages the failure of machines to provide high + * availability. (Value: "HIGHLY_AVAILABLE_CAPACITY") + * @arg @c kGTLRCompute_ReservationAdvancedDeploymentControl_ReservationOperationalMode_ReservationOperationalModeUnspecified + * Value "RESERVATION_OPERATIONAL_MODE_UNSPECIFIED" + */ +@property(nonatomic, copy, nullable) NSString *reservationOperationalMode; + +@end + + /** * Specifies the reservations that this instance can consume from. */ @@ -90245,6 +90882,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl */ @property(nonatomic, copy, nullable) NSString *status; +/** Resource policy for defining instance placement for MIGs. */ @property(nonatomic, strong, nullable) GTLRCompute_ResourcePolicyWorkloadPolicy *workloadPolicy; @end @@ -90989,10 +91627,14 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl */ @interface GTLRCompute_ResourcePolicyWorkloadPolicy : GTLRObject +/** + * Specifies the topology required to create a partition for VMs that have + * interconnected GPUs. + */ @property(nonatomic, copy, nullable) NSString *acceleratorTopology; /** - * maxTopologyDistance + * Specifies the maximum distance between instances. * * Likely values: * @arg @c kGTLRCompute_ResourcePolicyWorkloadPolicy_MaxTopologyDistance_Block @@ -91005,15 +91647,15 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl @property(nonatomic, copy, nullable) NSString *maxTopologyDistance; /** - * type + * Specifies the intent of the instance placement in the MIG. * * Likely values: * @arg @c kGTLRCompute_ResourcePolicyWorkloadPolicy_Type_HighAvailability - * VMs will be provisioned in such a way which provides high + * MIG spreads out the instances as much as possible for high * availability. (Value: "HIGH_AVAILABILITY") - * @arg @c kGTLRCompute_ResourcePolicyWorkloadPolicy_Type_HighThroughput VMs - * will be provisioned in such a way which provides high throughput. - * (Value: "HIGH_THROUGHPUT") + * @arg @c kGTLRCompute_ResourcePolicyWorkloadPolicy_Type_HighThroughput MIG + * provisions instances as close to each other as possible for high + * throughput. (Value: "HIGH_THROUGHPUT") */ @property(nonatomic, copy, nullable) NSString *type; @@ -91027,6 +91669,13 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl */ @interface GTLRCompute_ResourceStatus : GTLRObject +/** + * [Output Only] Effective metadata is a field that consolidates project, zonal + * instance settings, and instance-level predefined metadata keys to provide + * the overridden value for those metadata keys at the instance level. + */ +@property(nonatomic, strong, nullable) GTLRCompute_ResourceStatusEffectiveInstanceMetadata *effectiveInstanceMetadata; + /** * [Output Only] The precise location of your instance within the zone's data * center, including the block, sub-block, and host. The field is formatted as @@ -91047,6 +91696,66 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl @end +/** + * Effective values of predefined metadata keys for an instance. + */ +@interface GTLRCompute_ResourceStatusEffectiveInstanceMetadata : GTLRObject + +/** + * Effective block-project-ssh-keys value at Instance level. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *blockProjectSshKeysMetadataValue; + +/** + * Effective enable-guest-attributes value at Instance level. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *enableGuestAttributesMetadataValue; + +/** + * Effective enable-osconfig value at Instance level. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *enableOsconfigMetadataValue; + +/** + * Effective enable-os-inventory value at Instance level. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *enableOsInventoryMetadataValue; + +/** + * Effective enable-oslogin value at Instance level. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *enableOsloginMetadataValue; + +/** + * Effective serial-port-enable value at Instance level. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *serialPortEnableMetadataValue; + +/** + * Effective serial-port-logging-enable value at Instance level. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *serialPortLoggingEnableMetadataValue; + +/** Effective VM DNS setting at Instance level. */ +@property(nonatomic, copy, nullable) NSString *vmDnsSettingMetadataValue; + +@end + + /** * Represents the physical host topology of the host on which the VM is * running. @@ -94827,15 +95536,15 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * policies can be configured to filter incoming HTTP requests targeting * backend services (including Cloud CDN-enabled) as well as backend buckets * (Cloud Storage). They filter requests before the request is served from - * Google's cache. - CLOUD_ARMOR_INTERNAL_SERVICE: Cloud Armor internal service - * policies can be configured to filter HTTP requests targeting services - * managed by Traffic Director in a service mesh. They filter requests before - * the request is served from the application. - CLOUD_ARMOR_NETWORK: Cloud - * Armor network policies can be configured to filter packets targeting network - * load balancing resources such as backend services, target pools, target - * instances, and instances with external IPs. They filter requests before the - * request is served from the application. This field can be set only at - * resource creation time. + * Google's cache. - CLOUD_ARMOR_INTERNAL_SERVICE (preview only): Cloud Armor + * internal service policies can be configured to filter HTTP requests + * targeting services managed by Traffic Director in a service mesh. They + * filter requests before the request is served from the application. - + * CLOUD_ARMOR_NETWORK: Cloud Armor network policies can be configured to + * filter packets targeting network load balancing resources such as backend + * services, target pools, target instances, and instances with external IPs. + * They filter requests before the request is served from the application. This + * field can be set only at resource creation time. * * Likely values: * @arg @c kGTLRCompute_SecurityPolicy_Type_CloudArmor Value "CLOUD_ARMOR" @@ -95337,7 +96046,11 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * configured via redirectOptions. This action is only supported in Global * Security Policies of type CLOUD_ARMOR. - throttle: limit client traffic to * the configured threshold. Configure parameters for this action in - * rateLimitOptions. Requires rate_limit_options to be set for this. + * rateLimitOptions. Requires rate_limit_options to be set for this. - + * fairshare (preview only): when traffic reaches the threshold limit, requests + * from the clients matching this rule begin to be rate-limited using the Fair + * Share algorithm. This action is only allowed in security policies of type + * `CLOUD_ARMOR_INTERNAL_SERVICE`. */ @property(nonatomic, copy, nullable) NSString *action; @@ -95417,8 +96130,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl @property(nonatomic, strong, nullable) NSNumber *priority; /** - * Must be specified if the action is "rate_based_ban" or "throttle". Cannot be - * specified for any other actions. + * Must be specified if the action is "rate_based_ban" or "throttle" or + * "fairshare". Cannot be specified for any other actions. */ @property(nonatomic, strong, nullable) GTLRCompute_SecurityPolicyRuleRateLimitOptions *rateLimitOptions; @@ -95769,7 +96482,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * policy. If there is no "userIpRequestHeaders" configuration or an IP address * cannot be resolved from it, the key type defaults to IP. - * TLS_JA4_FINGERPRINT: JA4 TLS/SSL fingerprint if the client connects using - * HTTPS, HTTP/2 or HTTP/3. If not available, the key type defaults to ALL. + * HTTPS, HTTP/2 or HTTP/3. If not available, the key type defaults to ALL. For + * "fairshare" action, this value is limited to ALL i.e. a single rate limit + * threshold is enforced for all the requests matching the rule. * * Likely values: * @arg @c kGTLRCompute_SecurityPolicyRuleRateLimitOptions_EnforceOnKey_All @@ -103691,9 +104406,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * [Global](/compute/docs/reference/rest/v1/targetHttpsProxies) * * [Regional](/compute/docs/reference/rest/v1/regionTargetHttpsProxies) A * target HTTPS proxy is a component of Google Cloud HTTPS load balancers. * - * targetHttpProxies are used by global external Application Load Balancers, + * targetHttpsProxies are used by global external Application Load Balancers, * classic Application Load Balancers, cross-region internal Application Load - * Balancers, and Traffic Director. * regionTargetHttpProxies are used by + * Balancers, and Traffic Director. * regionTargetHttpsProxies are used by * regional internal Application Load Balancers and regional external * Application Load Balancers. Forwarding rules reference a target HTTPS proxy, * and the target proxy then references a URL map. For more information, read diff --git a/Sources/GeneratedServices/Compute/Public/GoogleAPIClientForREST/GTLRComputeQuery.h b/Sources/GeneratedServices/Compute/Public/GoogleAPIClientForREST/GTLRComputeQuery.h index a21572504..634adc2c2 100644 --- a/Sources/GeneratedServices/Compute/Public/GoogleAPIClientForREST/GTLRComputeQuery.h +++ b/Sources/GeneratedServices/Compute/Public/GoogleAPIClientForREST/GTLRComputeQuery.h @@ -23887,6 +23887,56 @@ FOUNDATION_EXTERN NSString * const kGTLRComputeViewFull; @end +/** + * Requests to remove a peering from the specified network. Applicable only for + * PeeringConnection with update_strategy=CONSENSUS. + * + * Method: compute.networks.requestRemovePeering + * + * Authorization scope(s): + * @c kGTLRAuthScopeCompute + * @c kGTLRAuthScopeComputeCloudPlatform + */ +@interface GTLRComputeQuery_NetworksRequestRemovePeering : GTLRComputeQuery + +/** Name of the network resource to remove peering from. */ +@property(nonatomic, copy, nullable) NSString *network; + +/** Project ID for this request. */ +@property(nonatomic, copy, nullable) NSString *project; + +/** + * An optional request ID to identify requests. Specify a unique request ID so + * that if you must retry your request, the server will know to ignore the + * request if it has already been completed. For example, consider a situation + * where you make an initial request and the request times out. If you make the + * request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the + * second request. This prevents clients from accidentally creating duplicate + * commitments. The request ID must be a valid UUID with the exception that + * zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + */ +@property(nonatomic, copy, nullable) NSString *requestId; + +/** + * Fetches a @c GTLRCompute_Operation. + * + * Requests to remove a peering from the specified network. Applicable only for + * PeeringConnection with update_strategy=CONSENSUS. + * + * @param object The @c GTLRCompute_NetworksRequestRemovePeeringRequest to + * include in the query. + * @param project Project ID for this request. + * @param network Name of the network resource to remove peering from. + * + * @return GTLRComputeQuery_NetworksRequestRemovePeering + */ ++ (instancetype)queryWithObject:(GTLRCompute_NetworksRequestRemovePeeringRequest *)object + project:(NSString *)project + network:(NSString *)network; + +@end + /** * Switches the network mode from auto subnet mode to custom subnet mode. * diff --git a/Sources/GeneratedServices/Config/GTLRConfigObjects.m b/Sources/GeneratedServices/Config/GTLRConfigObjects.m index 0bc3a6389..99b6e3f30 100644 --- a/Sources/GeneratedServices/Config/GTLRConfigObjects.m +++ b/Sources/GeneratedServices/Config/GTLRConfigObjects.m @@ -104,6 +104,10 @@ NSString * const kGTLRConfig_PreviewOperationMetadata_Step_UnlockingDeployment = @"UNLOCKING_DEPLOYMENT"; NSString * const kGTLRConfig_PreviewOperationMetadata_Step_ValidatingRepository = @"VALIDATING_REPOSITORY"; +// GTLRConfig_ProviderConfig.sourceType +NSString * const kGTLRConfig_ProviderConfig_SourceType_ProviderSourceUnspecified = @"PROVIDER_SOURCE_UNSPECIFIED"; +NSString * const kGTLRConfig_ProviderConfig_SourceType_ServiceMaintained = @"SERVICE_MAINTAINED"; + // GTLRConfig_Resource.intent NSString * const kGTLRConfig_Resource_Intent_Create = @"CREATE"; NSString * const kGTLRConfig_Resource_Intent_Delete = @"DELETE"; @@ -262,9 +266,9 @@ @implementation GTLRConfig_DeleteStatefileRequest @implementation GTLRConfig_Deployment @dynamic annotations, artifactsGcsBucket, createTime, deleteBuild, deleteLogs, deleteResults, errorCode, errorLogs, importExistingResources, labels, - latestRevision, lockState, name, quotaValidation, serviceAccount, - state, stateDetail, terraformBlueprint, tfErrors, tfVersion, - tfVersionConstraint, updateTime, workerPool; + latestRevision, lockState, name, providerConfig, quotaValidation, + serviceAccount, state, stateDetail, terraformBlueprint, tfErrors, + tfVersion, tfVersionConstraint, updateTime, workerPool; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -738,7 +742,7 @@ @implementation GTLRConfig_Policy @implementation GTLRConfig_Preview @dynamic annotations, artifactsGcsBucket, build, createTime, deployment, errorCode, errorLogs, errorStatus, labels, logs, name, - previewArtifacts, previewMode, serviceAccount, state, + previewArtifacts, previewMode, providerConfig, serviceAccount, state, terraformBlueprint, tfErrors, tfVersion, tfVersionConstraint, workerPool; @@ -848,6 +852,16 @@ @implementation GTLRConfig_PropertyDrift @end +// ---------------------------------------------------------------------------- +// +// GTLRConfig_ProviderConfig +// + +@implementation GTLRConfig_ProviderConfig +@dynamic sourceType; +@end + + // ---------------------------------------------------------------------------- // // GTLRConfig_Resource @@ -968,7 +982,7 @@ @implementation GTLRConfig_ResourceTerraformInfo @implementation GTLRConfig_Revision @dynamic action, applyResults, build, createTime, errorCode, errorLogs, - importExistingResources, logs, name, quotaValidation, + importExistingResources, logs, name, providerConfig, quotaValidation, quotaValidationResults, serviceAccount, state, stateDetail, terraformBlueprint, tfErrors, tfVersion, tfVersionConstraint, updateTime, workerPool; diff --git a/Sources/GeneratedServices/Config/Public/GoogleAPIClientForREST/GTLRConfigObjects.h b/Sources/GeneratedServices/Config/Public/GoogleAPIClientForREST/GTLRConfigObjects.h index b95c1466b..f21fd5b46 100644 --- a/Sources/GeneratedServices/Config/Public/GoogleAPIClientForREST/GTLRConfigObjects.h +++ b/Sources/GeneratedServices/Config/Public/GoogleAPIClientForREST/GTLRConfigObjects.h @@ -40,6 +40,7 @@ @class GTLRConfig_PreviewResult; @class GTLRConfig_PropertyChange; @class GTLRConfig_PropertyDrift; +@class GTLRConfig_ProviderConfig; @class GTLRConfig_Resource; @class GTLRConfig_Resource_CaiAssets; @class GTLRConfig_ResourceCAIInfo; @@ -544,6 +545,22 @@ FOUNDATION_EXTERN NSString * const kGTLRConfig_PreviewOperationMetadata_Step_Unl */ FOUNDATION_EXTERN NSString * const kGTLRConfig_PreviewOperationMetadata_Step_ValidatingRepository; +// ---------------------------------------------------------------------------- +// GTLRConfig_ProviderConfig.sourceType + +/** + * Unspecified source type, default to public sources. + * + * Value: "PROVIDER_SOURCE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRConfig_ProviderConfig_SourceType_ProviderSourceUnspecified; +/** + * Service maintained provider source type. + * + * Value: "SERVICE_MAINTAINED" + */ +FOUNDATION_EXTERN NSString * const kGTLRConfig_ProviderConfig_SourceType_ServiceMaintained; + // ---------------------------------------------------------------------------- // GTLRConfig_Resource.intent @@ -1138,6 +1155,9 @@ FOUNDATION_EXTERN NSString * const kGTLRConfig_TerraformVersion_State_StateUnspe */ @property(nonatomic, copy, nullable) NSString *name; +/** Optional. This field specifies the provider configurations. */ +@property(nonatomic, strong, nullable) GTLRConfig_ProviderConfig *providerConfig; + /** * Optional. Input to control quota checks for resources in terraform * configuration files. There are limited resources on which quota validation @@ -2143,6 +2163,9 @@ FOUNDATION_EXTERN NSString * const kGTLRConfig_TerraformVersion_State_StateUnspe */ @property(nonatomic, copy, nullable) NSString *previewMode; +/** Optional. This field specifies the provider configurations. */ +@property(nonatomic, strong, nullable) GTLRConfig_ProviderConfig *providerConfig; + /** * Required. User-specified Service Account (SA) credentials to be used when * previewing resources. Format: @@ -2395,6 +2418,26 @@ FOUNDATION_EXTERN NSString * const kGTLRConfig_TerraformVersion_State_StateUnspe @end +/** + * ProviderConfig contains the provider configurations. + */ +@interface GTLRConfig_ProviderConfig : GTLRObject + +/** + * Optional. ProviderSource specifies the source type of the provider. + * + * Likely values: + * @arg @c kGTLRConfig_ProviderConfig_SourceType_ProviderSourceUnspecified + * Unspecified source type, default to public sources. (Value: + * "PROVIDER_SOURCE_UNSPECIFIED") + * @arg @c kGTLRConfig_ProviderConfig_SourceType_ServiceMaintained Service + * maintained provider source type. (Value: "SERVICE_MAINTAINED") + */ +@property(nonatomic, copy, nullable) NSString *sourceType; + +@end + + /** * Resource represents a Google Cloud Platform resource actuated by IM. * Resources are child resources of Revisions. @@ -2699,6 +2742,9 @@ FOUNDATION_EXTERN NSString * const kGTLRConfig_TerraformVersion_State_StateUnspe */ @property(nonatomic, copy, nullable) NSString *name; +/** Output only. This field specifies the provider configurations. */ +@property(nonatomic, strong, nullable) GTLRConfig_ProviderConfig *providerConfig; + /** * Optional. Input to control quota checks for resources in terraform * configuration files. There are limited resources on which quota validation diff --git a/Sources/GeneratedServices/Config/Public/GoogleAPIClientForREST/GTLRConfigQuery.h b/Sources/GeneratedServices/Config/Public/GoogleAPIClientForREST/GTLRConfigQuery.h index 0f757f152..fa9c74116 100644 --- a/Sources/GeneratedServices/Config/Public/GoogleAPIClientForREST/GTLRConfigQuery.h +++ b/Sources/GeneratedServices/Config/Public/GoogleAPIClientForREST/GTLRConfigQuery.h @@ -930,8 +930,8 @@ FOUNDATION_EXTERN NSString * const kGTLRConfigDeletePolicyDeletePolicyUnspecifie @interface GTLRConfigQuery_ProjectsLocationsList : GTLRConfigQuery /** - * Optional. A list of extra location types that should be used as conditions - * for controlling the visibility of the locations. + * Optional. Do not use this field. It is unsupported and is ignored unless + * explicitly documented otherwise. This is primarily for internal usage. */ @property(nonatomic, strong, nullable) NSArray *extraLocationTypes; diff --git a/Sources/GeneratedServices/Connectors/GTLRConnectorsObjects.m b/Sources/GeneratedServices/Connectors/GTLRConnectorsObjects.m index e8d8c6e93..36ba3911b 100644 --- a/Sources/GeneratedServices/Connectors/GTLRConnectorsObjects.m +++ b/Sources/GeneratedServices/Connectors/GTLRConnectorsObjects.m @@ -312,7 +312,7 @@ @implementation GTLRConnectors_AccessCredentials @implementation GTLRConnectors_Action @dynamic descriptionProperty, displayName, inputJsonSchema, inputParameters, - name, resultJsonSchema, resultMetadata; + metadata, name, resultJsonSchema, resultMetadata; + (NSDictionary *)propertyToJSONKeyMap { return @{ @"descriptionProperty" : @"description" }; @@ -329,6 +329,34 @@ @implementation GTLRConnectors_Action @end +// ---------------------------------------------------------------------------- +// +// GTLRConnectors_Action_Metadata +// + +@implementation GTLRConnectors_Action_Metadata + ++ (Class)classForAdditionalProperties { + return [GTLRConnectors_Action_Metadata_Metadata class]; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRConnectors_Action_Metadata_Metadata +// + +@implementation GTLRConnectors_Action_Metadata_Metadata + ++ (Class)classForAdditionalProperties { + return [NSObject class]; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRConnectors_AuthCodeData @@ -363,7 +391,7 @@ @implementation GTLRConnectors_CheckReadinessResponse // @implementation GTLRConnectors_CheckStatusResponse -@dynamic descriptionProperty, state; +@dynamic descriptionProperty, metadata, state; + (NSDictionary *)propertyToJSONKeyMap { return @{ @"descriptionProperty" : @"description" }; @@ -372,6 +400,34 @@ @implementation GTLRConnectors_CheckStatusResponse @end +// ---------------------------------------------------------------------------- +// +// GTLRConnectors_CheckStatusResponse_Metadata +// + +@implementation GTLRConnectors_CheckStatusResponse_Metadata + ++ (Class)classForAdditionalProperties { + return [GTLRConnectors_CheckStatusResponse_Metadata_Metadata class]; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRConnectors_CheckStatusResponse_Metadata_Metadata +// + +@implementation GTLRConnectors_CheckStatusResponse_Metadata_Metadata + ++ (Class)classForAdditionalProperties { + return [NSObject class]; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRConnectors_DailyCycle @@ -417,7 +473,7 @@ @implementation GTLRConnectors_Empty // @implementation GTLRConnectors_Entity -@dynamic fields, name; +@dynamic fields, metadata, name; @end @@ -435,13 +491,41 @@ + (Class)classForAdditionalProperties { @end +// ---------------------------------------------------------------------------- +// +// GTLRConnectors_Entity_Metadata +// + +@implementation GTLRConnectors_Entity_Metadata + ++ (Class)classForAdditionalProperties { + return [GTLRConnectors_Entity_Metadata_Metadata class]; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRConnectors_Entity_Metadata_Metadata +// + +@implementation GTLRConnectors_Entity_Metadata_Metadata + ++ (Class)classForAdditionalProperties { + return [NSObject class]; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRConnectors_EntityType // @implementation GTLRConnectors_EntityType -@dynamic fields, jsonSchema, name, operations; +@dynamic defaultSortBy, fields, jsonSchema, metadata, name, operations; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -454,6 +538,34 @@ @implementation GTLRConnectors_EntityType @end +// ---------------------------------------------------------------------------- +// +// GTLRConnectors_EntityType_Metadata +// + +@implementation GTLRConnectors_EntityType_Metadata + ++ (Class)classForAdditionalProperties { + return [GTLRConnectors_EntityType_Metadata_Metadata class]; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRConnectors_EntityType_Metadata_Metadata +// + +@implementation GTLRConnectors_EntityType_Metadata_Metadata + ++ (Class)classForAdditionalProperties { + return [NSObject class]; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRConnectors_ExchangeAuthCodeRequest @@ -470,7 +582,35 @@ @implementation GTLRConnectors_ExchangeAuthCodeRequest // @implementation GTLRConnectors_ExchangeAuthCodeResponse -@dynamic accessCredentials; +@dynamic accessCredentials, metadata; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRConnectors_ExchangeAuthCodeResponse_Metadata +// + +@implementation GTLRConnectors_ExchangeAuthCodeResponse_Metadata + ++ (Class)classForAdditionalProperties { + return [GTLRConnectors_ExchangeAuthCodeResponse_Metadata_Metadata class]; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRConnectors_ExchangeAuthCodeResponse_Metadata_Metadata +// + +@implementation GTLRConnectors_ExchangeAuthCodeResponse_Metadata_Metadata + ++ (Class)classForAdditionalProperties { + return [NSObject class]; +} + @end @@ -504,7 +644,7 @@ + (Class)classForAdditionalProperties { // @implementation GTLRConnectors_ExecuteActionResponse -@dynamic results; +@dynamic metadata, results; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -516,6 +656,20 @@ @implementation GTLRConnectors_ExecuteActionResponse @end +// ---------------------------------------------------------------------------- +// +// GTLRConnectors_ExecuteActionResponse_Metadata +// + +@implementation GTLRConnectors_ExecuteActionResponse_Metadata + ++ (Class)classForAdditionalProperties { + return [GTLRConnectors_ExecuteActionResponse_Metadata_Metadata class]; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRConnectors_ExecuteActionResponse_Results_Item @@ -530,6 +684,20 @@ + (Class)classForAdditionalProperties { @end +// ---------------------------------------------------------------------------- +// +// GTLRConnectors_ExecuteActionResponse_Metadata_Metadata +// + +@implementation GTLRConnectors_ExecuteActionResponse_Metadata_Metadata + ++ (Class)classForAdditionalProperties { + return [NSObject class]; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRConnectors_ExecuteSqlQueryRequest @@ -572,6 +740,54 @@ + (Class)classForAdditionalProperties { @end +// ---------------------------------------------------------------------------- +// +// GTLRConnectors_ExecuteToolRequest +// + +@implementation GTLRConnectors_ExecuteToolRequest +@dynamic parameters; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRConnectors_ExecuteToolRequest_Parameters +// + +@implementation GTLRConnectors_ExecuteToolRequest_Parameters + ++ (Class)classForAdditionalProperties { + return [NSObject class]; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRConnectors_ExecuteToolResponse +// + +@implementation GTLRConnectors_ExecuteToolResponse +@dynamic result; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRConnectors_ExecuteToolResponse_Result +// + +@implementation GTLRConnectors_ExecuteToolResponse_Result + ++ (Class)classForAdditionalProperties { + return [NSObject class]; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRConnectors_Field @@ -802,7 +1018,7 @@ + (Class)classForAdditionalProperties { // @implementation GTLRConnectors_ListActionsResponse -@dynamic actions, nextPageToken, unsupportedActionNames; +@dynamic actions, metadata, nextPageToken, unsupportedActionNames; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -819,13 +1035,41 @@ + (NSString *)collectionItemsKey { @end +// ---------------------------------------------------------------------------- +// +// GTLRConnectors_ListActionsResponse_Metadata +// + +@implementation GTLRConnectors_ListActionsResponse_Metadata + ++ (Class)classForAdditionalProperties { + return [GTLRConnectors_ListActionsResponse_Metadata_Metadata class]; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRConnectors_ListActionsResponse_Metadata_Metadata +// + +@implementation GTLRConnectors_ListActionsResponse_Metadata_Metadata + ++ (Class)classForAdditionalProperties { + return [NSObject class]; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRConnectors_ListEntitiesResponse // @implementation GTLRConnectors_ListEntitiesResponse -@dynamic entities, nextPageToken; +@dynamic entities, metadata, nextPageToken; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -841,13 +1085,41 @@ + (NSString *)collectionItemsKey { @end +// ---------------------------------------------------------------------------- +// +// GTLRConnectors_ListEntitiesResponse_Metadata +// + +@implementation GTLRConnectors_ListEntitiesResponse_Metadata + ++ (Class)classForAdditionalProperties { + return [GTLRConnectors_ListEntitiesResponse_Metadata_Metadata class]; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRConnectors_ListEntitiesResponse_Metadata_Metadata +// + +@implementation GTLRConnectors_ListEntitiesResponse_Metadata_Metadata + ++ (Class)classForAdditionalProperties { + return [NSObject class]; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRConnectors_ListEntityTypesResponse // @implementation GTLRConnectors_ListEntityTypesResponse -@dynamic nextPageToken, types, unsupportedTypeNames; +@dynamic metadata, nextPageToken, types, unsupportedTypeNames; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -864,6 +1136,56 @@ + (NSString *)collectionItemsKey { @end +// ---------------------------------------------------------------------------- +// +// GTLRConnectors_ListEntityTypesResponse_Metadata +// + +@implementation GTLRConnectors_ListEntityTypesResponse_Metadata + ++ (Class)classForAdditionalProperties { + return [GTLRConnectors_ListEntityTypesResponse_Metadata_Metadata class]; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRConnectors_ListEntityTypesResponse_Metadata_Metadata +// + +@implementation GTLRConnectors_ListEntityTypesResponse_Metadata_Metadata + ++ (Class)classForAdditionalProperties { + return [NSObject class]; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRConnectors_ListToolsResponse +// + +@implementation GTLRConnectors_ListToolsResponse +@dynamic nextPageToken, tools; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"tools" : [GTLRConnectors_Tool class] + }; + return map; +} + ++ (NSString *)collectionItemsKey { + return @"tools"; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRConnectors_MaintenancePolicy @@ -1055,7 +1377,35 @@ @implementation GTLRConnectors_RefreshAccessTokenRequest // @implementation GTLRConnectors_RefreshAccessTokenResponse -@dynamic accessCredentials; +@dynamic accessCredentials, metadata; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRConnectors_RefreshAccessTokenResponse_Metadata +// + +@implementation GTLRConnectors_RefreshAccessTokenResponse_Metadata + ++ (Class)classForAdditionalProperties { + return [GTLRConnectors_RefreshAccessTokenResponse_Metadata_Metadata class]; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRConnectors_RefreshAccessTokenResponse_Metadata_Metadata +// + +@implementation GTLRConnectors_RefreshAccessTokenResponse_Metadata_Metadata + ++ (Class)classForAdditionalProperties { + return [NSObject class]; +} + @end @@ -1123,13 +1473,42 @@ @implementation GTLRConnectors_TimeOfDay @end +// ---------------------------------------------------------------------------- +// +// GTLRConnectors_Tool +// + +@implementation GTLRConnectors_Tool +@dynamic descriptionProperty, inputSchema, name, outputSchema; + ++ (NSDictionary *)propertyToJSONKeyMap { + return @{ @"descriptionProperty" : @"description" }; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRConnectors_UpdateEntitiesWithConditionsResponse // @implementation GTLRConnectors_UpdateEntitiesWithConditionsResponse -@dynamic response; +@dynamic metadata, response; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRConnectors_UpdateEntitiesWithConditionsResponse_Metadata +// + +@implementation GTLRConnectors_UpdateEntitiesWithConditionsResponse_Metadata + ++ (Class)classForAdditionalProperties { + return [GTLRConnectors_UpdateEntitiesWithConditionsResponse_Metadata_Metadata class]; +} + @end @@ -1147,6 +1526,20 @@ + (Class)classForAdditionalProperties { @end +// ---------------------------------------------------------------------------- +// +// GTLRConnectors_UpdateEntitiesWithConditionsResponse_Metadata_Metadata +// + +@implementation GTLRConnectors_UpdateEntitiesWithConditionsResponse_Metadata_Metadata + ++ (Class)classForAdditionalProperties { + return [NSObject class]; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRConnectors_UpdatePolicy diff --git a/Sources/GeneratedServices/Connectors/GTLRConnectorsQuery.m b/Sources/GeneratedServices/Connectors/GTLRConnectorsQuery.m index 92191004d..e39dba006 100644 --- a/Sources/GeneratedServices/Connectors/GTLRConnectorsQuery.m +++ b/Sources/GeneratedServices/Connectors/GTLRConnectorsQuery.m @@ -308,7 +308,7 @@ + (instancetype)queryWithObject:(GTLRConnectors_Entity *)object @implementation GTLRConnectorsQuery_ProjectsLocationsConnectionsEntityTypesGet -@dynamic name, view; +@dynamic contextMetadata, name, view; + (instancetype)queryWithName:(NSString *)name { NSArray *pathParams = @[ @"name" ]; @@ -424,3 +424,49 @@ + (instancetype)queryWithObject:(GTLRConnectors_RefreshAccessTokenRequest *)obje } @end + +@implementation GTLRConnectorsQuery_ProjectsLocationsConnectionsToolsExecute + +@dynamic name; + ++ (instancetype)queryWithObject:(GTLRConnectors_ExecuteToolRequest *)object + name:(NSString *)name { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v2/{+name}:execute"; + GTLRConnectorsQuery_ProjectsLocationsConnectionsToolsExecute *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.name = name; + query.expectedObjectClass = [GTLRConnectors_ExecuteToolResponse class]; + query.loggingName = @"connectors.projects.locations.connections.tools.execute"; + return query; +} + +@end + +@implementation GTLRConnectorsQuery_ProjectsLocationsConnectionsToolsList + +@dynamic pageSize, pageToken, parent; + ++ (instancetype)queryWithParent:(NSString *)parent { + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v2/{+parent}/tools"; + GTLRConnectorsQuery_ProjectsLocationsConnectionsToolsList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.parent = parent; + query.expectedObjectClass = [GTLRConnectors_ListToolsResponse class]; + query.loggingName = @"connectors.projects.locations.connections.tools.list"; + return query; +} + +@end diff --git a/Sources/GeneratedServices/Connectors/Public/GoogleAPIClientForREST/GTLRConnectorsObjects.h b/Sources/GeneratedServices/Connectors/Public/GoogleAPIClientForREST/GTLRConnectorsObjects.h index d287b4439..88aa421d0 100644 --- a/Sources/GeneratedServices/Connectors/Public/GoogleAPIClientForREST/GTLRConnectorsObjects.h +++ b/Sources/GeneratedServices/Connectors/Public/GoogleAPIClientForREST/GTLRConnectorsObjects.h @@ -17,16 +17,30 @@ @class GTLRConnectors_AccessCredentials; @class GTLRConnectors_Action; +@class GTLRConnectors_Action_Metadata; +@class GTLRConnectors_Action_Metadata_Metadata; @class GTLRConnectors_AuthCodeData; +@class GTLRConnectors_CheckStatusResponse_Metadata; +@class GTLRConnectors_CheckStatusResponse_Metadata_Metadata; @class GTLRConnectors_DailyCycle; @class GTLRConnectors_Date; @class GTLRConnectors_DenyMaintenancePeriod; @class GTLRConnectors_Entity; @class GTLRConnectors_Entity_Fields; +@class GTLRConnectors_Entity_Metadata; +@class GTLRConnectors_Entity_Metadata_Metadata; @class GTLRConnectors_EntityType; +@class GTLRConnectors_EntityType_Metadata; +@class GTLRConnectors_EntityType_Metadata_Metadata; +@class GTLRConnectors_ExchangeAuthCodeResponse_Metadata; +@class GTLRConnectors_ExchangeAuthCodeResponse_Metadata_Metadata; @class GTLRConnectors_ExecuteActionRequest_Parameters; +@class GTLRConnectors_ExecuteActionResponse_Metadata; +@class GTLRConnectors_ExecuteActionResponse_Metadata_Metadata; @class GTLRConnectors_ExecuteActionResponse_Results_Item; @class GTLRConnectors_ExecuteSqlQueryResponse_Results_Item; +@class GTLRConnectors_ExecuteToolRequest_Parameters; +@class GTLRConnectors_ExecuteToolResponse_Result; @class GTLRConnectors_Field; @class GTLRConnectors_Field_AdditionalDetails; @class GTLRConnectors_InputParameter; @@ -40,6 +54,12 @@ @class GTLRConnectors_JsonSchema; @class GTLRConnectors_JsonSchema_AdditionalDetails; @class GTLRConnectors_JsonSchema_Properties; +@class GTLRConnectors_ListActionsResponse_Metadata; +@class GTLRConnectors_ListActionsResponse_Metadata_Metadata; +@class GTLRConnectors_ListEntitiesResponse_Metadata; +@class GTLRConnectors_ListEntitiesResponse_Metadata_Metadata; +@class GTLRConnectors_ListEntityTypesResponse_Metadata; +@class GTLRConnectors_ListEntityTypesResponse_Metadata_Metadata; @class GTLRConnectors_MaintenancePolicy; @class GTLRConnectors_MaintenancePolicy_Labels; @class GTLRConnectors_MaintenanceSchedule; @@ -54,11 +74,16 @@ @class GTLRConnectors_Query; @class GTLRConnectors_QueryParameter; @class GTLRConnectors_Reference; +@class GTLRConnectors_RefreshAccessTokenResponse_Metadata; +@class GTLRConnectors_RefreshAccessTokenResponse_Metadata_Metadata; @class GTLRConnectors_ResultMetadata; @class GTLRConnectors_Schedule; @class GTLRConnectors_SloEligibility; @class GTLRConnectors_SloMetadata; @class GTLRConnectors_TimeOfDay; +@class GTLRConnectors_Tool; +@class GTLRConnectors_UpdateEntitiesWithConditionsResponse_Metadata; +@class GTLRConnectors_UpdateEntitiesWithConditionsResponse_Metadata_Metadata; @class GTLRConnectors_UpdateEntitiesWithConditionsResponse_Response; @class GTLRConnectors_UpdatePolicy; @class GTLRConnectors_WeeklyCycle; @@ -1725,6 +1750,9 @@ FOUNDATION_EXTERN NSString * const kGTLRConnectors_UpdatePolicy_Channel_Week5; /** List containing input parameter metadata. */ @property(nonatomic, strong, nullable) NSArray *inputParameters; +/** Metadata like service latency, etc. */ +@property(nonatomic, strong, nullable) GTLRConnectors_Action_Metadata *metadata; + /** Name of the action. */ @property(nonatomic, copy, nullable) NSString *name; @@ -1737,6 +1765,31 @@ FOUNDATION_EXTERN NSString * const kGTLRConnectors_UpdatePolicy_Channel_Week5; @end +/** + * Metadata like service latency, etc. + * + * @note This class is documented as having more properties of + * GTLRConnectors_Action_Metadata_Metadata. Use @c -additionalJSONKeys + * and @c -additionalPropertyForName: to get the list of properties and + * then fetch them; or @c -additionalProperties to fetch them all at + * once. + */ +@interface GTLRConnectors_Action_Metadata : GTLRObject +@end + + +/** + * GTLRConnectors_Action_Metadata_Metadata + * + * @note This class is documented as having more properties of any valid JSON + * type. Use @c -additionalJSONKeys and @c -additionalPropertyForName: to + * get the list of properties and then fetch them; or @c + * -additionalProperties to fetch them all at once. + */ +@interface GTLRConnectors_Action_Metadata_Metadata : GTLRObject +@end + + /** * AuthCodeData contains the data the runtime plane will give the connector * backend in exchange for access and refresh tokens. @@ -1790,6 +1843,9 @@ FOUNDATION_EXTERN NSString * const kGTLRConnectors_UpdatePolicy_Channel_Week5; */ @property(nonatomic, copy, nullable) NSString *descriptionProperty; +/** Metadata like service latency, etc. */ +@property(nonatomic, strong, nullable) GTLRConnectors_CheckStatusResponse_Metadata *metadata; + /** * State of the connector. * @@ -1815,6 +1871,31 @@ FOUNDATION_EXTERN NSString * const kGTLRConnectors_UpdatePolicy_Channel_Week5; @end +/** + * Metadata like service latency, etc. + * + * @note This class is documented as having more properties of + * GTLRConnectors_CheckStatusResponse_Metadata_Metadata. Use @c + * -additionalJSONKeys and @c -additionalPropertyForName: to get the list + * of properties and then fetch them; or @c -additionalProperties to + * fetch them all at once. + */ +@interface GTLRConnectors_CheckStatusResponse_Metadata : GTLRObject +@end + + +/** + * GTLRConnectors_CheckStatusResponse_Metadata_Metadata + * + * @note This class is documented as having more properties of any valid JSON + * type. Use @c -additionalJSONKeys and @c -additionalPropertyForName: to + * get the list of properties and then fetch them; or @c + * -additionalProperties to fetch them all at once. + */ +@interface GTLRConnectors_CheckStatusResponse_Metadata_Metadata : GTLRObject +@end + + /** * Time window specified for daily operations. */ @@ -1921,6 +2002,9 @@ FOUNDATION_EXTERN NSString * const kGTLRConnectors_UpdatePolicy_Channel_Week5; */ @property(nonatomic, strong, nullable) GTLRConnectors_Entity_Fields *fields; +/** Metadata like service latency, etc. */ +@property(nonatomic, strong, nullable) GTLRConnectors_Entity_Metadata *metadata; + /** * Output only. Resource name of the Entity. Format: * projects/{project}/locations/{location}/connections/{connection}/entityTypes/{type}/entities/{id} @@ -1943,12 +2027,39 @@ FOUNDATION_EXTERN NSString * const kGTLRConnectors_UpdatePolicy_Channel_Week5; @end +/** + * Metadata like service latency, etc. + * + * @note This class is documented as having more properties of + * GTLRConnectors_Entity_Metadata_Metadata. Use @c -additionalJSONKeys + * and @c -additionalPropertyForName: to get the list of properties and + * then fetch them; or @c -additionalProperties to fetch them all at + * once. + */ +@interface GTLRConnectors_Entity_Metadata : GTLRObject +@end + + +/** + * GTLRConnectors_Entity_Metadata_Metadata + * + * @note This class is documented as having more properties of any valid JSON + * type. Use @c -additionalJSONKeys and @c -additionalPropertyForName: to + * get the list of properties and then fetch them; or @c + * -additionalProperties to fetch them all at once. + */ +@interface GTLRConnectors_Entity_Metadata_Metadata : GTLRObject +@end + + /** * EntityType message contains metadata information about a single entity type * present in the external system. */ @interface GTLRConnectors_EntityType : GTLRObject +@property(nonatomic, copy, nullable) NSString *defaultSortBy; + /** * List containing metadata information about each field of the entity type. */ @@ -1957,6 +2068,9 @@ FOUNDATION_EXTERN NSString * const kGTLRConnectors_UpdatePolicy_Channel_Week5; /** JsonSchema representation of this entity's schema */ @property(nonatomic, strong, nullable) GTLRConnectors_JsonSchema *jsonSchema; +/** Metadata like service latency, etc. */ +@property(nonatomic, strong, nullable) GTLRConnectors_EntityType_Metadata *metadata; + /** The name of the entity type. */ @property(nonatomic, copy, nullable) NSString *name; @@ -1965,6 +2079,31 @@ FOUNDATION_EXTERN NSString * const kGTLRConnectors_UpdatePolicy_Channel_Week5; @end +/** + * Metadata like service latency, etc. + * + * @note This class is documented as having more properties of + * GTLRConnectors_EntityType_Metadata_Metadata. Use @c + * -additionalJSONKeys and @c -additionalPropertyForName: to get the list + * of properties and then fetch them; or @c -additionalProperties to + * fetch them all at once. + */ +@interface GTLRConnectors_EntityType_Metadata : GTLRObject +@end + + +/** + * GTLRConnectors_EntityType_Metadata_Metadata + * + * @note This class is documented as having more properties of any valid JSON + * type. Use @c -additionalJSONKeys and @c -additionalPropertyForName: to + * get the list of properties and then fetch them; or @c + * -additionalProperties to fetch them all at once. + */ +@interface GTLRConnectors_EntityType_Metadata_Metadata : GTLRObject +@end + + /** * ExchangeAuthCodeRequest currently includes the auth code data. */ @@ -1988,6 +2127,34 @@ FOUNDATION_EXTERN NSString * const kGTLRConnectors_UpdatePolicy_Channel_Week5; @property(nonatomic, strong, nullable) GTLRConnectors_AccessCredentials *accessCredentials; +/** Metadata like service latency, etc. */ +@property(nonatomic, strong, nullable) GTLRConnectors_ExchangeAuthCodeResponse_Metadata *metadata; + +@end + + +/** + * Metadata like service latency, etc. + * + * @note This class is documented as having more properties of + * GTLRConnectors_ExchangeAuthCodeResponse_Metadata_Metadata. Use @c + * -additionalJSONKeys and @c -additionalPropertyForName: to get the list + * of properties and then fetch them; or @c -additionalProperties to + * fetch them all at once. + */ +@interface GTLRConnectors_ExchangeAuthCodeResponse_Metadata : GTLRObject +@end + + +/** + * GTLRConnectors_ExchangeAuthCodeResponse_Metadata_Metadata + * + * @note This class is documented as having more properties of any valid JSON + * type. Use @c -additionalJSONKeys and @c -additionalPropertyForName: to + * get the list of properties and then fetch them; or @c + * -additionalProperties to fetch them all at once. + */ +@interface GTLRConnectors_ExchangeAuthCodeResponse_Metadata_Metadata : GTLRObject @end @@ -2023,6 +2190,9 @@ FOUNDATION_EXTERN NSString * const kGTLRConnectors_UpdatePolicy_Channel_Week5; */ @interface GTLRConnectors_ExecuteActionResponse : GTLRObject +/** Metadata like service latency, etc. */ +@property(nonatomic, strong, nullable) GTLRConnectors_ExecuteActionResponse_Metadata *metadata; + /** * In the case of successful invocation of the specified action, the results * Struct contains values based on the response of the action invoked. 1. If @@ -2036,6 +2206,19 @@ FOUNDATION_EXTERN NSString * const kGTLRConnectors_UpdatePolicy_Channel_Week5; @end +/** + * Metadata like service latency, etc. + * + * @note This class is documented as having more properties of + * GTLRConnectors_ExecuteActionResponse_Metadata_Metadata. Use @c + * -additionalJSONKeys and @c -additionalPropertyForName: to get the list + * of properties and then fetch them; or @c -additionalProperties to + * fetch them all at once. + */ +@interface GTLRConnectors_ExecuteActionResponse_Metadata : GTLRObject +@end + + /** * GTLRConnectors_ExecuteActionResponse_Results_Item * @@ -2048,6 +2231,18 @@ FOUNDATION_EXTERN NSString * const kGTLRConnectors_UpdatePolicy_Channel_Week5; @end +/** + * GTLRConnectors_ExecuteActionResponse_Metadata_Metadata + * + * @note This class is documented as having more properties of any valid JSON + * type. Use @c -additionalJSONKeys and @c -additionalPropertyForName: to + * get the list of properties and then fetch them; or @c + * -additionalProperties to fetch them all at once. + */ +@interface GTLRConnectors_ExecuteActionResponse_Metadata_Metadata : GTLRObject +@end + + /** * An execute sql query request containing the query and the connection to * execute it on. @@ -2093,6 +2288,52 @@ FOUNDATION_EXTERN NSString * const kGTLRConnectors_UpdatePolicy_Channel_Week5; @end +/** + * Request message for ConnectorAgentService.ExecuteTool + */ +@interface GTLRConnectors_ExecuteToolRequest : GTLRObject + +/** Input parameters for the tool. */ +@property(nonatomic, strong, nullable) GTLRConnectors_ExecuteToolRequest_Parameters *parameters; + +@end + + +/** + * Input parameters for the tool. + * + * @note This class is documented as having more properties of any valid JSON + * type. Use @c -additionalJSONKeys and @c -additionalPropertyForName: to + * get the list of properties and then fetch them; or @c + * -additionalProperties to fetch them all at once. + */ +@interface GTLRConnectors_ExecuteToolRequest_Parameters : GTLRObject +@end + + +/** + * Response message for ConnectorAgentService.ExecuteTool + */ +@interface GTLRConnectors_ExecuteToolResponse : GTLRObject + +/** Output from the tool execution. */ +@property(nonatomic, strong, nullable) GTLRConnectors_ExecuteToolResponse_Result *result; + +@end + + +/** + * Output from the tool execution. + * + * @note This class is documented as having more properties of any valid JSON + * type. Use @c -additionalJSONKeys and @c -additionalPropertyForName: to + * get the list of properties and then fetch them; or @c + * -additionalProperties to fetch them all at once. + */ +@interface GTLRConnectors_ExecuteToolResponse_Result : GTLRObject +@end + + /** * Message contains EntityType's Field metadata. */ @@ -2857,6 +3098,9 @@ FOUNDATION_EXTERN NSString * const kGTLRConnectors_UpdatePolicy_Channel_Week5; */ @property(nonatomic, strong, nullable) NSArray *actions; +/** Metadata like service latency, etc. */ +@property(nonatomic, strong, nullable) GTLRConnectors_ListActionsResponse_Metadata *metadata; + /** Next page token if more actions available. */ @property(nonatomic, copy, nullable) NSString *nextPageToken; @@ -2869,6 +3113,31 @@ FOUNDATION_EXTERN NSString * const kGTLRConnectors_UpdatePolicy_Channel_Week5; @end +/** + * Metadata like service latency, etc. + * + * @note This class is documented as having more properties of + * GTLRConnectors_ListActionsResponse_Metadata_Metadata. Use @c + * -additionalJSONKeys and @c -additionalPropertyForName: to get the list + * of properties and then fetch them; or @c -additionalProperties to + * fetch them all at once. + */ +@interface GTLRConnectors_ListActionsResponse_Metadata : GTLRObject +@end + + +/** + * GTLRConnectors_ListActionsResponse_Metadata_Metadata + * + * @note This class is documented as having more properties of any valid JSON + * type. Use @c -additionalJSONKeys and @c -additionalPropertyForName: to + * get the list of properties and then fetch them; or @c + * -additionalProperties to fetch them all at once. + */ +@interface GTLRConnectors_ListActionsResponse_Metadata_Metadata : GTLRObject +@end + + /** * Response message for EntityService.ListEntities * @@ -2887,12 +3156,40 @@ FOUNDATION_EXTERN NSString * const kGTLRConnectors_UpdatePolicy_Channel_Week5; */ @property(nonatomic, strong, nullable) NSArray *entities; +/** Metadata like service latency, etc. */ +@property(nonatomic, strong, nullable) GTLRConnectors_ListEntitiesResponse_Metadata *metadata; + /** Next page token if more records are available. */ @property(nonatomic, copy, nullable) NSString *nextPageToken; @end +/** + * Metadata like service latency, etc. + * + * @note This class is documented as having more properties of + * GTLRConnectors_ListEntitiesResponse_Metadata_Metadata. Use @c + * -additionalJSONKeys and @c -additionalPropertyForName: to get the list + * of properties and then fetch them; or @c -additionalProperties to + * fetch them all at once. + */ +@interface GTLRConnectors_ListEntitiesResponse_Metadata : GTLRObject +@end + + +/** + * GTLRConnectors_ListEntitiesResponse_Metadata_Metadata + * + * @note This class is documented as having more properties of any valid JSON + * type. Use @c -additionalJSONKeys and @c -additionalPropertyForName: to + * get the list of properties and then fetch them; or @c + * -additionalProperties to fetch them all at once. + */ +@interface GTLRConnectors_ListEntitiesResponse_Metadata_Metadata : GTLRObject +@end + + /** * Response message for EntityService.ListEntityTypes * @@ -2903,6 +3200,9 @@ FOUNDATION_EXTERN NSString * const kGTLRConnectors_UpdatePolicy_Channel_Week5; */ @interface GTLRConnectors_ListEntityTypesResponse : GTLRCollectionObject +/** Metadata like service latency, etc. */ +@property(nonatomic, strong, nullable) GTLRConnectors_ListEntityTypesResponse_Metadata *metadata; + /** Next page token if more entity types available. */ @property(nonatomic, copy, nullable) NSString *nextPageToken; @@ -2923,6 +3223,55 @@ FOUNDATION_EXTERN NSString * const kGTLRConnectors_UpdatePolicy_Channel_Week5; @end +/** + * Metadata like service latency, etc. + * + * @note This class is documented as having more properties of + * GTLRConnectors_ListEntityTypesResponse_Metadata_Metadata. Use @c + * -additionalJSONKeys and @c -additionalPropertyForName: to get the list + * of properties and then fetch them; or @c -additionalProperties to + * fetch them all at once. + */ +@interface GTLRConnectors_ListEntityTypesResponse_Metadata : GTLRObject +@end + + +/** + * GTLRConnectors_ListEntityTypesResponse_Metadata_Metadata + * + * @note This class is documented as having more properties of any valid JSON + * type. Use @c -additionalJSONKeys and @c -additionalPropertyForName: to + * get the list of properties and then fetch them; or @c + * -additionalProperties to fetch them all at once. + */ +@interface GTLRConnectors_ListEntityTypesResponse_Metadata_Metadata : GTLRObject +@end + + +/** + * Response message for ConnectorAgentService.ListTools + * + * @note This class supports NSFastEnumeration and indexed subscripting over + * its "tools" property. If returned as the result of a query, it should + * support automatic pagination (when @c shouldFetchNextPages is + * enabled). + */ +@interface GTLRConnectors_ListToolsResponse : GTLRCollectionObject + +/** Next page token. */ +@property(nonatomic, copy, nullable) NSString *nextPageToken; + +/** + * List of available tools. + * + * @note This property is used to support NSFastEnumeration and indexed + * subscripting on this class. + */ +@property(nonatomic, strong, nullable) NSArray *tools; + +@end + + /** * Defines policies to service maintenance events. */ @@ -3385,6 +3734,34 @@ FOUNDATION_EXTERN NSString * const kGTLRConnectors_UpdatePolicy_Channel_Week5; @property(nonatomic, strong, nullable) GTLRConnectors_AccessCredentials *accessCredentials; +/** Metadata like service latency, etc. */ +@property(nonatomic, strong, nullable) GTLRConnectors_RefreshAccessTokenResponse_Metadata *metadata; + +@end + + +/** + * Metadata like service latency, etc. + * + * @note This class is documented as having more properties of + * GTLRConnectors_RefreshAccessTokenResponse_Metadata_Metadata. Use @c + * -additionalJSONKeys and @c -additionalPropertyForName: to get the list + * of properties and then fetch them; or @c -additionalProperties to + * fetch them all at once. + */ +@interface GTLRConnectors_RefreshAccessTokenResponse_Metadata : GTLRObject +@end + + +/** + * GTLRConnectors_RefreshAccessTokenResponse_Metadata_Metadata + * + * @note This class is documented as having more properties of any valid JSON + * type. Use @c -additionalJSONKeys and @c -additionalPropertyForName: to + * get the list of properties and then fetch them; or @c + * -additionalProperties to fetch them all at once. + */ +@interface GTLRConnectors_RefreshAccessTokenResponse_Metadata_Metadata : GTLRObject @end @@ -3653,17 +4030,57 @@ FOUNDATION_EXTERN NSString * const kGTLRConnectors_UpdatePolicy_Channel_Week5; @end +/** + * Message representing a single tool. + */ +@interface GTLRConnectors_Tool : GTLRObject + +/** + * Description of the tool. + * + * Remapped to 'descriptionProperty' to avoid NSObject's 'description'. + */ +@property(nonatomic, copy, nullable) NSString *descriptionProperty; + +/** JSON schema for the input parameters of the tool. */ +@property(nonatomic, strong, nullable) GTLRConnectors_JsonSchema *inputSchema; + +/** Name of the tool. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** JSON schema for the output of the tool. */ +@property(nonatomic, strong, nullable) GTLRConnectors_JsonSchema *outputSchema; + +@end + + /** * Response message for EntityService.UpdateEntitiesWithConditions */ @interface GTLRConnectors_UpdateEntitiesWithConditionsResponse : GTLRObject +/** Metadata like service latency, etc. */ +@property(nonatomic, strong, nullable) GTLRConnectors_UpdateEntitiesWithConditionsResponse_Metadata *metadata; + /** Response returned by the external system. */ @property(nonatomic, strong, nullable) GTLRConnectors_UpdateEntitiesWithConditionsResponse_Response *response; @end +/** + * Metadata like service latency, etc. + * + * @note This class is documented as having more properties of + * GTLRConnectors_UpdateEntitiesWithConditionsResponse_Metadata_Metadata. + * Use @c -additionalJSONKeys and @c -additionalPropertyForName: to get + * the list of properties and then fetch them; or @c + * -additionalProperties to fetch them all at once. + */ +@interface GTLRConnectors_UpdateEntitiesWithConditionsResponse_Metadata : GTLRObject +@end + + /** * Response returned by the external system. * @@ -3676,6 +4093,18 @@ FOUNDATION_EXTERN NSString * const kGTLRConnectors_UpdatePolicy_Channel_Week5; @end +/** + * GTLRConnectors_UpdateEntitiesWithConditionsResponse_Metadata_Metadata + * + * @note This class is documented as having more properties of any valid JSON + * type. Use @c -additionalJSONKeys and @c -additionalPropertyForName: to + * get the list of properties and then fetch them; or @c + * -additionalProperties to fetch them all at once. + */ +@interface GTLRConnectors_UpdateEntitiesWithConditionsResponse_Metadata_Metadata : GTLRObject +@end + + /** * Maintenance policy applicable to instance updates. */ diff --git a/Sources/GeneratedServices/Connectors/Public/GoogleAPIClientForREST/GTLRConnectorsQuery.h b/Sources/GeneratedServices/Connectors/Public/GoogleAPIClientForREST/GTLRConnectorsQuery.h index 8bdc31666..7018c4ca3 100644 --- a/Sources/GeneratedServices/Connectors/Public/GoogleAPIClientForREST/GTLRConnectorsQuery.h +++ b/Sources/GeneratedServices/Connectors/Public/GoogleAPIClientForREST/GTLRConnectorsQuery.h @@ -628,6 +628,12 @@ FOUNDATION_EXTERN NSString * const kGTLRConnectorsViewEntityTypeViewUnspecified; */ @interface GTLRConnectorsQuery_ProjectsLocationsConnectionsEntityTypesGet : GTLRConnectorsQuery +/** + * Context metadata for request could be used to fetch customization of entity + * type schema. + */ +@property(nonatomic, copy, nullable) NSString *contextMetadata; + /** * Required. Resource name of the Entity Type. Format: * projects/{project}/locations/{location}/connections/{connection}/entityTypes/{entityType} @@ -817,6 +823,79 @@ FOUNDATION_EXTERN NSString * const kGTLRConnectorsViewEntityTypeViewUnspecified; @end +/** + * Executes a specific tool. + * + * Method: connectors.projects.locations.connections.tools.execute + * + * Authorization scope(s): + * @c kGTLRAuthScopeConnectorsCloudPlatform + */ +@interface GTLRConnectorsQuery_ProjectsLocationsConnectionsToolsExecute : GTLRConnectorsQuery + +/** + * Required. Resource name of the Tool. Format: + * projects/{project}/locations/{location}/connections/{connection}/tools/{tool} + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRConnectors_ExecuteToolResponse. + * + * Executes a specific tool. + * + * @param object The @c GTLRConnectors_ExecuteToolRequest to include in the + * query. + * @param name Required. Resource name of the Tool. Format: + * projects/{project}/locations/{location}/connections/{connection}/tools/{tool} + * + * @return GTLRConnectorsQuery_ProjectsLocationsConnectionsToolsExecute + */ ++ (instancetype)queryWithObject:(GTLRConnectors_ExecuteToolRequest *)object + name:(NSString *)name; + +@end + +/** + * Lists all available tools. + * + * Method: connectors.projects.locations.connections.tools.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeConnectorsCloudPlatform + */ +@interface GTLRConnectorsQuery_ProjectsLocationsConnectionsToolsList : GTLRConnectorsQuery + +/** Page size. */ +@property(nonatomic, assign) NSInteger pageSize; + +/** Page token. */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** + * Required. Resource name of the Connection. Format: + * projects/{project}/locations/{location}/connections/{connection} + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRConnectors_ListToolsResponse. + * + * Lists all available tools. + * + * @param parent Required. Resource name of the Connection. Format: + * projects/{project}/locations/{location}/connections/{connection} + * + * @return GTLRConnectorsQuery_ProjectsLocationsConnectionsToolsList + * + * @note Automatic pagination will be done when @c shouldFetchNextPages is + * enabled. See @c shouldFetchNextPages on @c GTLRService for more + * information. + */ ++ (instancetype)queryWithParent:(NSString *)parent; + +@end + NS_ASSUME_NONNULL_END #pragma clang diagnostic pop diff --git a/Sources/GeneratedServices/Contactcenterinsights/GTLRContactcenterinsightsObjects.m b/Sources/GeneratedServices/Contactcenterinsights/GTLRContactcenterinsightsObjects.m index b0027c915..829a58414 100644 --- a/Sources/GeneratedServices/Contactcenterinsights/GTLRContactcenterinsightsObjects.m +++ b/Sources/GeneratedServices/Contactcenterinsights/GTLRContactcenterinsightsObjects.m @@ -56,6 +56,7 @@ NSString * const kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1Dimension_DimensionKey_Medium = @"MEDIUM"; NSString * const kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1Dimension_DimensionKey_QaQuestionAnswerValue = @"QA_QUESTION_ANSWER_VALUE"; NSString * const kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1Dimension_DimensionKey_QaQuestionId = @"QA_QUESTION_ID"; +NSString * const kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1Dimension_DimensionKey_QaScorecardId = @"QA_SCORECARD_ID"; // GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1Entity.type NSString * const kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1Entity_Type_Address = @"ADDRESS"; @@ -80,12 +81,15 @@ // GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1ExportInsightsDataRequest.exportSchemaVersion NSString * const kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1ExportInsightsDataRequest_ExportSchemaVersion_ExportSchemaVersionUnspecified = @"EXPORT_SCHEMA_VERSION_UNSPECIFIED"; NSString * const kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1ExportInsightsDataRequest_ExportSchemaVersion_ExportV1 = @"EXPORT_V1"; +NSString * const kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1ExportInsightsDataRequest_ExportSchemaVersion_ExportV10 = @"EXPORT_V10"; NSString * const kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1ExportInsightsDataRequest_ExportSchemaVersion_ExportV2 = @"EXPORT_V2"; NSString * const kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1ExportInsightsDataRequest_ExportSchemaVersion_ExportV3 = @"EXPORT_V3"; NSString * const kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1ExportInsightsDataRequest_ExportSchemaVersion_ExportV4 = @"EXPORT_V4"; NSString * const kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1ExportInsightsDataRequest_ExportSchemaVersion_ExportV5 = @"EXPORT_V5"; NSString * const kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1ExportInsightsDataRequest_ExportSchemaVersion_ExportV6 = @"EXPORT_V6"; NSString * const kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1ExportInsightsDataRequest_ExportSchemaVersion_ExportV7 = @"EXPORT_V7"; +NSString * const kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1ExportInsightsDataRequest_ExportSchemaVersion_ExportV8 = @"EXPORT_V8"; +NSString * const kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1ExportInsightsDataRequest_ExportSchemaVersion_ExportV9 = @"EXPORT_V9"; NSString * const kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1ExportInsightsDataRequest_ExportSchemaVersion_ExportVersionLatestAvailable = @"EXPORT_VERSION_LATEST_AVAILABLE"; // GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1ExportInsightsDataRequest.writeDisposition @@ -204,6 +208,7 @@ NSString * const kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1Dimension_DimensionKey_Medium = @"MEDIUM"; NSString * const kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1Dimension_DimensionKey_QaQuestionAnswerValue = @"QA_QUESTION_ANSWER_VALUE"; NSString * const kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1Dimension_DimensionKey_QaQuestionId = @"QA_QUESTION_ID"; +NSString * const kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1Dimension_DimensionKey_QaScorecardId = @"QA_SCORECARD_ID"; // GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1Entity.type NSString * const kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1Entity_Type_Address = @"ADDRESS"; @@ -228,12 +233,15 @@ // GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1ExportInsightsDataRequest.exportSchemaVersion NSString * const kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1ExportInsightsDataRequest_ExportSchemaVersion_ExportSchemaVersionUnspecified = @"EXPORT_SCHEMA_VERSION_UNSPECIFIED"; NSString * const kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1ExportInsightsDataRequest_ExportSchemaVersion_ExportV1 = @"EXPORT_V1"; +NSString * const kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1ExportInsightsDataRequest_ExportSchemaVersion_ExportV10 = @"EXPORT_V10"; NSString * const kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1ExportInsightsDataRequest_ExportSchemaVersion_ExportV2 = @"EXPORT_V2"; NSString * const kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1ExportInsightsDataRequest_ExportSchemaVersion_ExportV3 = @"EXPORT_V3"; NSString * const kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1ExportInsightsDataRequest_ExportSchemaVersion_ExportV4 = @"EXPORT_V4"; NSString * const kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1ExportInsightsDataRequest_ExportSchemaVersion_ExportV5 = @"EXPORT_V5"; NSString * const kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1ExportInsightsDataRequest_ExportSchemaVersion_ExportV6 = @"EXPORT_V6"; NSString * const kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1ExportInsightsDataRequest_ExportSchemaVersion_ExportV7 = @"EXPORT_V7"; +NSString * const kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1ExportInsightsDataRequest_ExportSchemaVersion_ExportV8 = @"EXPORT_V8"; +NSString * const kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1ExportInsightsDataRequest_ExportSchemaVersion_ExportV9 = @"EXPORT_V9"; NSString * const kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1ExportInsightsDataRequest_ExportSchemaVersion_ExportVersionLatestAvailable = @"EXPORT_VERSION_LATEST_AVAILABLE"; // GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1ExportInsightsDataRequest.writeDisposition @@ -336,6 +344,12 @@ NSString * const kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1RuntimeAnnotationUserInput_QuerySource_QuerySourceUnspecified = @"QUERY_SOURCE_UNSPECIFIED"; NSString * const kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1RuntimeAnnotationUserInput_QuerySource_SuggestedQuery = @"SUGGESTED_QUERY"; +// GTLRContactcenterinsights_GoogleIamV1AuditLogConfig.logType +NSString * const kGTLRContactcenterinsights_GoogleIamV1AuditLogConfig_LogType_AdminRead = @"ADMIN_READ"; +NSString * const kGTLRContactcenterinsights_GoogleIamV1AuditLogConfig_LogType_DataRead = @"DATA_READ"; +NSString * const kGTLRContactcenterinsights_GoogleIamV1AuditLogConfig_LogType_DataWrite = @"DATA_WRITE"; +NSString * const kGTLRContactcenterinsights_GoogleIamV1AuditLogConfig_LogType_LogTypeUnspecified = @"LOG_TYPE_UNSPECIFIED"; + #pragma clang diagnostic push #pragma clang diagnostic ignored "-Wdeprecated-declarations" #pragma clang diagnostic ignored "-Wdeprecated-implementations" @@ -759,11 +773,13 @@ @implementation GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alph // @implementation GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1ConversationQualityMetadata -@dynamic agentInfo, customerSatisfactionRating, menuPath, waitDuration; +@dynamic agentInfo, customerSatisfactionRating, feedbackLabels, menuPath, + waitDuration; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ - @"agentInfo" : [GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1ConversationQualityMetadataAgentInfo class] + @"agentInfo" : [GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1ConversationQualityMetadataAgentInfo class], + @"feedbackLabels" : [GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1FeedbackLabel class] }; return map; } @@ -1689,7 +1705,7 @@ @implementation GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alph @implementation GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1QaAnswerAnswerValue @dynamic boolValue, key, naValue, normalizedScore, numValue, potentialScore, - score, strValue; + score, skipValue, strValue; @end @@ -2835,11 +2851,13 @@ @implementation GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1Conv // @implementation GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1ConversationQualityMetadata -@dynamic agentInfo, customerSatisfactionRating, menuPath, waitDuration; +@dynamic agentInfo, customerSatisfactionRating, feedbackLabels, menuPath, + waitDuration; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ - @"agentInfo" : [GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1ConversationQualityMetadataAgentInfo class] + @"agentInfo" : [GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1ConversationQualityMetadataAgentInfo class], + @"feedbackLabels" : [GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1FeedbackLabel class] }; return map; } @@ -4244,7 +4262,7 @@ @implementation GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1QaAn @implementation GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1QaAnswerAnswerValue @dynamic boolValue, key, naValue, normalizedScore, numValue, potentialScore, - score, strValue; + score, skipValue, strValue; @end @@ -4936,6 +4954,129 @@ @implementation GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1View @end +// ---------------------------------------------------------------------------- +// +// GTLRContactcenterinsights_GoogleIamV1AuditConfig +// + +@implementation GTLRContactcenterinsights_GoogleIamV1AuditConfig +@dynamic auditLogConfigs, service; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"auditLogConfigs" : [GTLRContactcenterinsights_GoogleIamV1AuditLogConfig class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRContactcenterinsights_GoogleIamV1AuditLogConfig +// + +@implementation GTLRContactcenterinsights_GoogleIamV1AuditLogConfig +@dynamic exemptedMembers, logType; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"exemptedMembers" : [NSString class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRContactcenterinsights_GoogleIamV1Binding +// + +@implementation GTLRContactcenterinsights_GoogleIamV1Binding +@dynamic condition, members, role; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"members" : [NSString class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRContactcenterinsights_GoogleIamV1Policy +// + +@implementation GTLRContactcenterinsights_GoogleIamV1Policy +@dynamic auditConfigs, bindings, ETag, version; + ++ (NSDictionary *)propertyToJSONKeyMap { + return @{ @"ETag" : @"etag" }; +} + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"auditConfigs" : [GTLRContactcenterinsights_GoogleIamV1AuditConfig class], + @"bindings" : [GTLRContactcenterinsights_GoogleIamV1Binding class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRContactcenterinsights_GoogleIamV1SetIamPolicyRequest +// + +@implementation GTLRContactcenterinsights_GoogleIamV1SetIamPolicyRequest +@dynamic policy, updateMask; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRContactcenterinsights_GoogleIamV1TestIamPermissionsRequest +// + +@implementation GTLRContactcenterinsights_GoogleIamV1TestIamPermissionsRequest +@dynamic permissions; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"permissions" : [NSString class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRContactcenterinsights_GoogleIamV1TestIamPermissionsResponse +// + +@implementation GTLRContactcenterinsights_GoogleIamV1TestIamPermissionsResponse +@dynamic permissions; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"permissions" : [NSString class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRContactcenterinsights_GoogleLongrunningListOperationsResponse @@ -5037,6 +5178,21 @@ + (Class)classForAdditionalProperties { @end +// ---------------------------------------------------------------------------- +// +// GTLRContactcenterinsights_GoogleTypeExpr +// + +@implementation GTLRContactcenterinsights_GoogleTypeExpr +@dynamic descriptionProperty, expression, location, title; + ++ (NSDictionary *)propertyToJSONKeyMap { + return @{ @"descriptionProperty" : @"description" }; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRContactcenterinsights_GoogleTypeInterval diff --git a/Sources/GeneratedServices/Contactcenterinsights/GTLRContactcenterinsightsQuery.m b/Sources/GeneratedServices/Contactcenterinsights/GTLRContactcenterinsightsQuery.m index a66c192d7..65a16dba7 100644 --- a/Sources/GeneratedServices/Contactcenterinsights/GTLRContactcenterinsightsQuery.m +++ b/Sources/GeneratedServices/Contactcenterinsights/GTLRContactcenterinsightsQuery.m @@ -868,6 +868,29 @@ + (instancetype)queryWithName:(NSString *)name { @end +@implementation GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsAuthorizedViewsGetIamPolicy + +@dynamic optionsRequestedPolicyVersion, resource; + ++ (NSDictionary *)parameterNameMap { + return @{ @"optionsRequestedPolicyVersion" : @"options.requestedPolicyVersion" }; +} + ++ (instancetype)queryWithResource:(NSString *)resource { + NSArray *pathParams = @[ @"resource" ]; + NSString *pathURITemplate = @"v1/{+resource}:getIamPolicy"; + GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsAuthorizedViewsGetIamPolicy *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.resource = resource; + query.expectedObjectClass = [GTLRContactcenterinsights_GoogleIamV1Policy class]; + query.loggingName = @"contactcenterinsights.projects.locations.authorizedViewSets.authorizedViews.getIamPolicy"; + return query; +} + +@end + @implementation GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsAuthorizedViewsList @dynamic filter, orderBy, pageSize, pageToken, parent; @@ -1044,6 +1067,60 @@ + (instancetype)queryWithParent:(NSString *)parent { @end +@implementation GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsAuthorizedViewsSetIamPolicy + +@dynamic resource; + ++ (instancetype)queryWithObject:(GTLRContactcenterinsights_GoogleIamV1SetIamPolicyRequest *)object + resource:(NSString *)resource { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSArray *pathParams = @[ @"resource" ]; + NSString *pathURITemplate = @"v1/{+resource}:setIamPolicy"; + GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsAuthorizedViewsSetIamPolicy *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.resource = resource; + query.expectedObjectClass = [GTLRContactcenterinsights_GoogleIamV1Policy class]; + query.loggingName = @"contactcenterinsights.projects.locations.authorizedViewSets.authorizedViews.setIamPolicy"; + return query; +} + +@end + +@implementation GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsAuthorizedViewsTestIamPermissions + +@dynamic resource; + ++ (instancetype)queryWithObject:(GTLRContactcenterinsights_GoogleIamV1TestIamPermissionsRequest *)object + resource:(NSString *)resource { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSArray *pathParams = @[ @"resource" ]; + NSString *pathURITemplate = @"v1/{+resource}:testIamPermissions"; + GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsAuthorizedViewsTestIamPermissions *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.resource = resource; + query.expectedObjectClass = [GTLRContactcenterinsights_GoogleIamV1TestIamPermissionsResponse class]; + query.loggingName = @"contactcenterinsights.projects.locations.authorizedViewSets.authorizedViews.testIamPermissions"; + return query; +} + +@end + @implementation GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsCreate @dynamic authorizedViewSetId, parent; diff --git a/Sources/GeneratedServices/Contactcenterinsights/Public/GoogleAPIClientForREST/GTLRContactcenterinsightsObjects.h b/Sources/GeneratedServices/Contactcenterinsights/Public/GoogleAPIClientForREST/GTLRContactcenterinsightsObjects.h index 0bd2f1345..17b587304 100644 --- a/Sources/GeneratedServices/Contactcenterinsights/Public/GoogleAPIClientForREST/GTLRContactcenterinsightsObjects.h +++ b/Sources/GeneratedServices/Contactcenterinsights/Public/GoogleAPIClientForREST/GTLRContactcenterinsightsObjects.h @@ -274,11 +274,16 @@ @class GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1UploadConversationRequest; @class GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1UserInfo; @class GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1View; +@class GTLRContactcenterinsights_GoogleIamV1AuditConfig; +@class GTLRContactcenterinsights_GoogleIamV1AuditLogConfig; +@class GTLRContactcenterinsights_GoogleIamV1Binding; +@class GTLRContactcenterinsights_GoogleIamV1Policy; @class GTLRContactcenterinsights_GoogleLongrunningOperation; @class GTLRContactcenterinsights_GoogleLongrunningOperation_Metadata; @class GTLRContactcenterinsights_GoogleLongrunningOperation_Response; @class GTLRContactcenterinsights_GoogleRpcStatus; @class GTLRContactcenterinsights_GoogleRpcStatus_Details_Item; +@class GTLRContactcenterinsights_GoogleTypeExpr; @class GTLRContactcenterinsights_GoogleTypeInterval; // Generated comments include content from the discovery document; avoid them @@ -520,6 +525,16 @@ FOUNDATION_EXTERN NSString * const kGTLRContactcenterinsights_GoogleCloudContact * Value: "QA_QUESTION_ID" */ FOUNDATION_EXTERN NSString * const kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1Dimension_DimensionKey_QaQuestionId; +/** + * The dimension is keyed by QaScorecardIds. Note that: We only group by the + * ScorecardId and not the revision-id of the scorecard. This allows for + * showing stats for the same scorecard across different revisions. This metric + * is mostly only useful if querying the average normalized score per + * scorecard. + * + * Value: "QA_SCORECARD_ID" + */ +FOUNDATION_EXTERN NSString * const kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1Dimension_DimensionKey_QaScorecardId; // ---------------------------------------------------------------------------- // GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1Entity.type @@ -654,6 +669,12 @@ FOUNDATION_EXTERN NSString * const kGTLRContactcenterinsights_GoogleCloudContact * Value: "EXPORT_V1" */ FOUNDATION_EXTERN NSString * const kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1ExportInsightsDataRequest_ExportSchemaVersion_ExportV1; +/** + * Export schema version 10. + * + * Value: "EXPORT_V10" + */ +FOUNDATION_EXTERN NSString * const kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1ExportInsightsDataRequest_ExportSchemaVersion_ExportV10; /** * Export schema version 2. * @@ -690,6 +711,18 @@ FOUNDATION_EXTERN NSString * const kGTLRContactcenterinsights_GoogleCloudContact * Value: "EXPORT_V7" */ FOUNDATION_EXTERN NSString * const kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1ExportInsightsDataRequest_ExportSchemaVersion_ExportV7; +/** + * Export schema version 8. + * + * Value: "EXPORT_V8" + */ +FOUNDATION_EXTERN NSString * const kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1ExportInsightsDataRequest_ExportSchemaVersion_ExportV8; +/** + * Export schema version 9. + * + * Value: "EXPORT_V9" + */ +FOUNDATION_EXTERN NSString * const kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1ExportInsightsDataRequest_ExportSchemaVersion_ExportV9; /** * Export schema version latest available. * @@ -1252,6 +1285,16 @@ FOUNDATION_EXTERN NSString * const kGTLRContactcenterinsights_GoogleCloudContact * Value: "QA_QUESTION_ID" */ FOUNDATION_EXTERN NSString * const kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1Dimension_DimensionKey_QaQuestionId; +/** + * The dimension is keyed by QaScorecardIds. Note that: We only group by the + * ScorecardId and not the revision-id of the scorecard. This allows for + * showing stats for the same scorecard across different revisions. This metric + * is mostly only useful if querying the average normalized score per + * scorecard. + * + * Value: "QA_SCORECARD_ID" + */ +FOUNDATION_EXTERN NSString * const kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1Dimension_DimensionKey_QaScorecardId; // ---------------------------------------------------------------------------- // GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1Entity.type @@ -1386,6 +1429,12 @@ FOUNDATION_EXTERN NSString * const kGTLRContactcenterinsights_GoogleCloudContact * Value: "EXPORT_V1" */ FOUNDATION_EXTERN NSString * const kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1ExportInsightsDataRequest_ExportSchemaVersion_ExportV1; +/** + * Export schema version 10. + * + * Value: "EXPORT_V10" + */ +FOUNDATION_EXTERN NSString * const kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1ExportInsightsDataRequest_ExportSchemaVersion_ExportV10; /** * Export schema version 2. * @@ -1422,6 +1471,18 @@ FOUNDATION_EXTERN NSString * const kGTLRContactcenterinsights_GoogleCloudContact * Value: "EXPORT_V7" */ FOUNDATION_EXTERN NSString * const kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1ExportInsightsDataRequest_ExportSchemaVersion_ExportV7; +/** + * Export schema version 8. + * + * Value: "EXPORT_V8" + */ +FOUNDATION_EXTERN NSString * const kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1ExportInsightsDataRequest_ExportSchemaVersion_ExportV8; +/** + * Export schema version 9. + * + * Value: "EXPORT_V9" + */ +FOUNDATION_EXTERN NSString * const kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1ExportInsightsDataRequest_ExportSchemaVersion_ExportV9; /** * Export schema version latest available. * @@ -1911,6 +1972,34 @@ FOUNDATION_EXTERN NSString * const kGTLRContactcenterinsights_GoogleCloudContact */ FOUNDATION_EXTERN NSString * const kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1RuntimeAnnotationUserInput_QuerySource_SuggestedQuery; +// ---------------------------------------------------------------------------- +// GTLRContactcenterinsights_GoogleIamV1AuditLogConfig.logType + +/** + * Admin reads. Example: CloudIAM getIamPolicy + * + * Value: "ADMIN_READ" + */ +FOUNDATION_EXTERN NSString * const kGTLRContactcenterinsights_GoogleIamV1AuditLogConfig_LogType_AdminRead; +/** + * Data reads. Example: CloudSQL Users list + * + * Value: "DATA_READ" + */ +FOUNDATION_EXTERN NSString * const kGTLRContactcenterinsights_GoogleIamV1AuditLogConfig_LogType_DataRead; +/** + * Data writes. Example: CloudSQL Users create + * + * Value: "DATA_WRITE" + */ +FOUNDATION_EXTERN NSString * const kGTLRContactcenterinsights_GoogleIamV1AuditLogConfig_LogType_DataWrite; +/** + * Default case. Should never be this. + * + * Value: "LOG_TYPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRContactcenterinsights_GoogleIamV1AuditLogConfig_LogType_LogTypeUnspecified; + /** * The analysis resource. */ @@ -2840,6 +2929,9 @@ FOUNDATION_EXTERN NSString * const kGTLRContactcenterinsights_GoogleCloudContact */ @property(nonatomic, strong, nullable) NSNumber *customerSatisfactionRating; +/** Input only. The feedback labels associated with the conversation. */ +@property(nonatomic, strong, nullable) NSArray *feedbackLabels; + /** An arbitrary string value specifying the menu path the customer took. */ @property(nonatomic, copy, nullable) NSString *menuPath; @@ -3400,6 +3492,12 @@ FOUNDATION_EXTERN NSString * const kGTLRContactcenterinsights_GoogleCloudContact * the QuestionId and not the revision-id of the scorecard this question * is a part of. This allows for showing stats for the same question * across different scorecard revisions. (Value: "QA_QUESTION_ID") + * @arg @c kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1Dimension_DimensionKey_QaScorecardId + * The dimension is keyed by QaScorecardIds. Note that: We only group by + * the ScorecardId and not the revision-id of the scorecard. This allows + * for showing stats for the same scorecard across different revisions. + * This metric is mostly only useful if querying the average normalized + * score per scorecard. (Value: "QA_SCORECARD_ID") */ @property(nonatomic, copy, nullable) NSString *dimensionKey; @@ -3694,6 +3792,8 @@ FOUNDATION_EXTERN NSString * const kGTLRContactcenterinsights_GoogleCloudContact * "EXPORT_SCHEMA_VERSION_UNSPECIFIED") * @arg @c kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1ExportInsightsDataRequest_ExportSchemaVersion_ExportV1 * Export schema version 1. (Value: "EXPORT_V1") + * @arg @c kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1ExportInsightsDataRequest_ExportSchemaVersion_ExportV10 + * Export schema version 10. (Value: "EXPORT_V10") * @arg @c kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1ExportInsightsDataRequest_ExportSchemaVersion_ExportV2 * Export schema version 2. (Value: "EXPORT_V2") * @arg @c kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1ExportInsightsDataRequest_ExportSchemaVersion_ExportV3 @@ -3706,6 +3806,10 @@ FOUNDATION_EXTERN NSString * const kGTLRContactcenterinsights_GoogleCloudContact * Export schema version 6. (Value: "EXPORT_V6") * @arg @c kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1ExportInsightsDataRequest_ExportSchemaVersion_ExportV7 * Export schema version 7. (Value: "EXPORT_V7") + * @arg @c kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1ExportInsightsDataRequest_ExportSchemaVersion_ExportV8 + * Export schema version 8. (Value: "EXPORT_V8") + * @arg @c kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1ExportInsightsDataRequest_ExportSchemaVersion_ExportV9 + * Export schema version 9. (Value: "EXPORT_V9") * @arg @c kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1ExportInsightsDataRequest_ExportSchemaVersion_ExportVersionLatestAvailable * Export schema version latest available. (Value: * "EXPORT_VERSION_LATEST_AVAILABLE") @@ -4782,6 +4886,15 @@ FOUNDATION_EXTERN NSString * const kGTLRContactcenterinsights_GoogleCloudContact */ @property(nonatomic, strong, nullable) NSNumber *score; +/** + * Output only. A value of "Skip". If provided, this field may only be set to + * `true`. If a question receives this answer, it will be excluded from any + * score calculations. This would mean that the question was not evaluated. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *skipValue; + /** String value. */ @property(nonatomic, copy, nullable) NSString *strValue; @@ -7269,6 +7382,9 @@ GTLR_DEPRECATED */ @property(nonatomic, strong, nullable) NSNumber *customerSatisfactionRating; +/** Input only. The feedback labels associated with the conversation. */ +@property(nonatomic, strong, nullable) NSArray *feedbackLabels; + /** An arbitrary string value specifying the menu path the customer took. */ @property(nonatomic, copy, nullable) NSString *menuPath; @@ -7836,6 +7952,12 @@ GTLR_DEPRECATED * the QuestionId and not the revision-id of the scorecard this question * is a part of. This allows for showing stats for the same question * across different scorecard revisions. (Value: "QA_QUESTION_ID") + * @arg @c kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1Dimension_DimensionKey_QaScorecardId + * The dimension is keyed by QaScorecardIds. Note that: We only group by + * the ScorecardId and not the revision-id of the scorecard. This allows + * for showing stats for the same scorecard across different revisions. + * This metric is mostly only useful if querying the average normalized + * score per scorecard. (Value: "QA_SCORECARD_ID") */ @property(nonatomic, copy, nullable) NSString *dimensionKey; @@ -8145,6 +8267,8 @@ GTLR_DEPRECATED * "EXPORT_SCHEMA_VERSION_UNSPECIFIED") * @arg @c kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1ExportInsightsDataRequest_ExportSchemaVersion_ExportV1 * Export schema version 1. (Value: "EXPORT_V1") + * @arg @c kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1ExportInsightsDataRequest_ExportSchemaVersion_ExportV10 + * Export schema version 10. (Value: "EXPORT_V10") * @arg @c kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1ExportInsightsDataRequest_ExportSchemaVersion_ExportV2 * Export schema version 2. (Value: "EXPORT_V2") * @arg @c kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1ExportInsightsDataRequest_ExportSchemaVersion_ExportV3 @@ -8157,6 +8281,10 @@ GTLR_DEPRECATED * Export schema version 6. (Value: "EXPORT_V6") * @arg @c kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1ExportInsightsDataRequest_ExportSchemaVersion_ExportV7 * Export schema version 7. (Value: "EXPORT_V7") + * @arg @c kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1ExportInsightsDataRequest_ExportSchemaVersion_ExportV8 + * Export schema version 8. (Value: "EXPORT_V8") + * @arg @c kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1ExportInsightsDataRequest_ExportSchemaVersion_ExportV9 + * Export schema version 9. (Value: "EXPORT_V9") * @arg @c kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1ExportInsightsDataRequest_ExportSchemaVersion_ExportVersionLatestAvailable * Export schema version latest available. (Value: * "EXPORT_VERSION_LATEST_AVAILABLE") @@ -9877,6 +10005,15 @@ GTLR_DEPRECATED */ @property(nonatomic, strong, nullable) NSNumber *score; +/** + * Output only. A value of "Skip". If provided, this field may only be set to + * `true`. If a question receives this answer, it will be excluded from any + * score calculations. This would mean that the question was not evaluated. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *skipValue; + /** String value. */ @property(nonatomic, copy, nullable) NSString *strValue; @@ -11458,6 +11595,301 @@ GTLR_DEPRECATED @end +/** + * Specifies the audit configuration for a service. The configuration + * determines which permission types are logged, and what identities, if any, + * are exempted from logging. An AuditConfig must have one or more + * AuditLogConfigs. If there are AuditConfigs for both `allServices` and a + * specific service, the union of the two AuditConfigs is used for that + * service: the log_types specified in each AuditConfig are enabled, and the + * exempted_members in each AuditLogConfig are exempted. Example Policy with + * multiple AuditConfigs: { "audit_configs": [ { "service": "allServices", + * "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ + * "user:jose\@example.com" ] }, { "log_type": "DATA_WRITE" }, { "log_type": + * "ADMIN_READ" } ] }, { "service": "sampleservice.googleapis.com", + * "audit_log_configs": [ { "log_type": "DATA_READ" }, { "log_type": + * "DATA_WRITE", "exempted_members": [ "user:aliya\@example.com" ] } ] } ] } + * For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ + * logging. It also exempts `jose\@example.com` from DATA_READ logging, and + * `aliya\@example.com` from DATA_WRITE logging. + */ +@interface GTLRContactcenterinsights_GoogleIamV1AuditConfig : GTLRObject + +/** The configuration for logging of each type of permission. */ +@property(nonatomic, strong, nullable) NSArray *auditLogConfigs; + +/** + * Specifies a service that will be enabled for audit logging. For example, + * `storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a + * special value that covers all services. + */ +@property(nonatomic, copy, nullable) NSString *service; + +@end + + +/** + * Provides the configuration for logging a type of permissions. Example: { + * "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ + * "user:jose\@example.com" ] }, { "log_type": "DATA_WRITE" } ] } This enables + * 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose\@example.com from + * DATA_READ logging. + */ +@interface GTLRContactcenterinsights_GoogleIamV1AuditLogConfig : GTLRObject + +/** + * Specifies the identities that do not cause logging for this type of + * permission. Follows the same format of Binding.members. + */ +@property(nonatomic, strong, nullable) NSArray *exemptedMembers; + +/** + * The log type that this config enables. + * + * Likely values: + * @arg @c kGTLRContactcenterinsights_GoogleIamV1AuditLogConfig_LogType_AdminRead + * Admin reads. Example: CloudIAM getIamPolicy (Value: "ADMIN_READ") + * @arg @c kGTLRContactcenterinsights_GoogleIamV1AuditLogConfig_LogType_DataRead + * Data reads. Example: CloudSQL Users list (Value: "DATA_READ") + * @arg @c kGTLRContactcenterinsights_GoogleIamV1AuditLogConfig_LogType_DataWrite + * Data writes. Example: CloudSQL Users create (Value: "DATA_WRITE") + * @arg @c kGTLRContactcenterinsights_GoogleIamV1AuditLogConfig_LogType_LogTypeUnspecified + * Default case. Should never be this. (Value: "LOG_TYPE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *logType; + +@end + + +/** + * Associates `members`, or principals, with a `role`. + */ +@interface GTLRContactcenterinsights_GoogleIamV1Binding : GTLRObject + +/** + * The condition that is associated with this binding. If the condition + * evaluates to `true`, then this binding applies to the current request. If + * the condition evaluates to `false`, then this binding does not apply to the + * current request. However, a different role binding might grant the same role + * to one or more of the principals in this binding. To learn which resources + * support conditions in their IAM policies, see the [IAM + * documentation](https://cloud.google.com/iam/help/conditions/resource-policies). + */ +@property(nonatomic, strong, nullable) GTLRContactcenterinsights_GoogleTypeExpr *condition; + +/** + * Specifies the principals requesting access for a Google Cloud resource. + * `members` can have the following values: * `allUsers`: A special identifier + * that represents anyone who is on the internet; with or without a Google + * account. * `allAuthenticatedUsers`: A special identifier that represents + * anyone who is authenticated with a Google account or a service account. Does + * not include identities that come from external identity providers (IdPs) + * through identity federation. * `user:{emailid}`: An email address that + * represents a specific Google account. For example, `alice\@example.com` . * + * `serviceAccount:{emailid}`: An email address that represents a Google + * service account. For example, `my-other-app\@appspot.gserviceaccount.com`. * + * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An + * identifier for a [Kubernetes service + * account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). + * For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * + * `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`. * + * `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 + * email address (plus unique identifier) representing a service account that + * has been recently deleted. For example, + * `my-other-app\@appspot.gserviceaccount.com?uid=123456789012345678901`. If + * the service account is undeleted, this value reverts to + * `serviceAccount:{emailid}` and the undeleted service account retains the + * role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email + * address (plus unique identifier) representing a Google group that has been + * 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. * + * `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 *members; + +/** + * Role that is assigned to the list of `members`, or principals. For example, + * `roles/viewer`, `roles/editor`, or `roles/owner`. For an overview of the IAM + * roles and permissions, see the [IAM + * documentation](https://cloud.google.com/iam/docs/roles-overview). For a list + * of the available pre-defined roles, see + * [here](https://cloud.google.com/iam/docs/understanding-roles). + */ +@property(nonatomic, copy, nullable) NSString *role; + +@end + + +/** + * An Identity and Access Management (IAM) policy, which specifies access + * controls for Google Cloud resources. A `Policy` is a collection of + * `bindings`. A `binding` binds one or more `members`, or principals, to a + * single `role`. Principals can be user accounts, service accounts, Google + * groups, and domains (such as G Suite). A `role` is a named list of + * permissions; each `role` can be an IAM predefined role or a user-created + * custom role. For some types of Google Cloud resources, a `binding` can also + * specify a `condition`, which is a logical expression that allows access to a + * resource only if the expression evaluates to `true`. A condition can add + * constraints based on attributes of the request, the resource, or both. To + * learn which resources support conditions in their IAM policies, see the [IAM + * documentation](https://cloud.google.com/iam/help/conditions/resource-policies). + * **JSON example:** ``` { "bindings": [ { "role": + * "roles/resourcemanager.organizationAdmin", "members": [ + * "user:mike\@example.com", "group:admins\@example.com", "domain:google.com", + * "serviceAccount:my-project-id\@appspot.gserviceaccount.com" ] }, { "role": + * "roles/resourcemanager.organizationViewer", "members": [ + * "user:eve\@example.com" ], "condition": { "title": "expirable access", + * "description": "Does not grant access after Sep 2020", "expression": + * "request.time < timestamp('2020-10-01T00:00:00.000Z')", } } ], "etag": + * "BwWWja0YfJA=", "version": 3 } ``` **YAML example:** ``` bindings: - + * members: - user:mike\@example.com - group:admins\@example.com - + * domain:google.com - + * serviceAccount:my-project-id\@appspot.gserviceaccount.com role: + * roles/resourcemanager.organizationAdmin - members: - user:eve\@example.com + * role: roles/resourcemanager.organizationViewer condition: title: expirable + * access description: Does not grant access after Sep 2020 expression: + * request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= + * version: 3 ``` For a description of IAM and its features, see the [IAM + * documentation](https://cloud.google.com/iam/docs/). + */ +@interface GTLRContactcenterinsights_GoogleIamV1Policy : GTLRObject + +/** Specifies cloud audit logging configuration for this policy. */ +@property(nonatomic, strong, nullable) NSArray *auditConfigs; + +/** + * Associates a list of `members`, or principals, with a `role`. Optionally, + * may specify a `condition` that determines how and when the `bindings` are + * applied. Each of the `bindings` must contain at least one principal. The + * `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of + * these principals can be Google groups. Each occurrence of a principal counts + * towards these limits. For example, if the `bindings` grant 50 different + * roles to `user:alice\@example.com`, and not to any other principal, then you + * can add another 1,450 principals to the `bindings` in the `Policy`. + */ +@property(nonatomic, strong, nullable) NSArray *bindings; + +/** + * `etag` is used for optimistic concurrency control as a way to help prevent + * simultaneous updates of a policy from overwriting each other. It is strongly + * suggested that systems make use of the `etag` in the read-modify-write cycle + * to perform policy updates in order to avoid race conditions: An `etag` is + * returned in the response to `getIamPolicy`, and systems are expected to put + * that etag in the request to `setIamPolicy` to ensure that their change will + * be applied to the same version of the policy. **Important:** If you use IAM + * Conditions, you must include the `etag` field whenever you call + * `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a + * version `3` policy with a version `1` policy, and all of the conditions in + * the version `3` policy are lost. + * + * Contains encoded binary data; GTLRBase64 can encode/decode (probably + * web-safe format). + */ +@property(nonatomic, copy, nullable) NSString *ETag; + +/** + * Specifies the format of the policy. Valid values are `0`, `1`, and `3`. + * Requests that specify an invalid value are rejected. Any operation that + * affects conditional role bindings must specify version `3`. This requirement + * applies to the following operations: * Getting a policy that includes a + * conditional role binding * Adding a conditional role binding to a policy * + * Changing a conditional role binding in a policy * Removing any role binding, + * with or without a condition, from a policy that includes conditions + * **Important:** If you use IAM Conditions, you must include the `etag` field + * whenever you call `setIamPolicy`. If you omit this field, then IAM allows + * you to overwrite a version `3` policy with a version `1` policy, and all of + * the conditions in the version `3` policy are lost. If a policy does not + * include any conditions, operations on that policy may specify any valid + * version or leave the field unset. To learn which resources support + * conditions in their IAM policies, see the [IAM + * documentation](https://cloud.google.com/iam/help/conditions/resource-policies). + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *version; + +@end + + +/** + * Request message for `SetIamPolicy` method. + */ +@interface GTLRContactcenterinsights_GoogleIamV1SetIamPolicyRequest : GTLRObject + +/** + * REQUIRED: The complete policy to be applied to the `resource`. The size of + * the policy is limited to a few 10s of KB. An empty policy is a valid policy + * but certain Google Cloud services (such as Projects) might reject them. + */ +@property(nonatomic, strong, nullable) GTLRContactcenterinsights_GoogleIamV1Policy *policy; + +/** + * OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only + * the fields in the mask will be modified. If no mask is provided, the + * following default mask is used: `paths: "bindings, etag"` + * + * String format is a comma-separated list of fields. + */ +@property(nonatomic, copy, nullable) NSString *updateMask; + +@end + + +/** + * Request message for `TestIamPermissions` method. + */ +@interface GTLRContactcenterinsights_GoogleIamV1TestIamPermissionsRequest : GTLRObject + +/** + * The set of permissions to check for the `resource`. Permissions with + * wildcards (such as `*` or `storage.*`) are not allowed. For more information + * see [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions). + */ +@property(nonatomic, strong, nullable) NSArray *permissions; + +@end + + +/** + * Response message for `TestIamPermissions` method. + */ +@interface GTLRContactcenterinsights_GoogleIamV1TestIamPermissionsResponse : GTLRObject + +/** + * A subset of `TestPermissionsRequest.permissions` that the caller is allowed. + */ +@property(nonatomic, strong, nullable) NSArray *permissions; + +@end + + /** * The response message for Operations.ListOperations. * @@ -11617,6 +12049,55 @@ GTLR_DEPRECATED @end +/** + * Represents a textual expression in the Common Expression Language (CEL) + * syntax. CEL is a C-like expression language. The syntax and semantics of CEL + * are documented at https://github.com/google/cel-spec. Example (Comparison): + * title: "Summary size limit" description: "Determines if a summary is less + * than 100 chars" expression: "document.summary.size() < 100" Example + * (Equality): title: "Requestor is owner" description: "Determines if + * requestor is the document owner" expression: "document.owner == + * request.auth.claims.email" Example (Logic): title: "Public documents" + * description: "Determine whether the document should be publicly visible" + * expression: "document.type != 'private' && document.type != 'internal'" + * Example (Data Manipulation): title: "Notification string" description: + * "Create a notification string with a timestamp." expression: "'New message + * received at ' + string(document.create_time)" The exact variables and + * functions that may be referenced within an expression are determined by the + * service that evaluates it. See the service documentation for additional + * information. + */ +@interface GTLRContactcenterinsights_GoogleTypeExpr : GTLRObject + +/** + * Optional. Description of the expression. This is a longer text which + * describes the expression, e.g. when hovered over it in a UI. + * + * Remapped to 'descriptionProperty' to avoid NSObject's 'description'. + */ +@property(nonatomic, copy, nullable) NSString *descriptionProperty; + +/** + * Textual representation of an expression in Common Expression Language + * syntax. + */ +@property(nonatomic, copy, nullable) NSString *expression; + +/** + * Optional. String indicating the location of the expression for error + * reporting, e.g. a file name and a position in the file. + */ +@property(nonatomic, copy, nullable) NSString *location; + +/** + * Optional. Title for the expression, i.e. a short string describing its + * purpose. This can be used e.g. in UIs which allow to enter the expression. + */ +@property(nonatomic, copy, nullable) NSString *title; + +@end + + /** * Represents a time interval, encoded as a Timestamp start (inclusive) and a * Timestamp end (exclusive). The start must be less than or equal to the end. diff --git a/Sources/GeneratedServices/Contactcenterinsights/Public/GoogleAPIClientForREST/GTLRContactcenterinsightsQuery.h b/Sources/GeneratedServices/Contactcenterinsights/Public/GoogleAPIClientForREST/GTLRContactcenterinsightsQuery.h index 823c0d82c..8b54bfdf2 100644 --- a/Sources/GeneratedServices/Contactcenterinsights/Public/GoogleAPIClientForREST/GTLRContactcenterinsightsQuery.h +++ b/Sources/GeneratedServices/Contactcenterinsights/Public/GoogleAPIClientForREST/GTLRContactcenterinsightsQuery.h @@ -1450,6 +1450,55 @@ FOUNDATION_EXTERN NSString * const kGTLRContactcenterinsightsViewFull; @end +/** + * Gets the access control policy for a resource. Returns an empty policy if + * the resource exists and does not have a policy set. + * + * Method: contactcenterinsights.projects.locations.authorizedViewSets.authorizedViews.getIamPolicy + * + * Authorization scope(s): + * @c kGTLRAuthScopeContactcenterinsightsCloudPlatform + */ +@interface GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsAuthorizedViewsGetIamPolicy : GTLRContactcenterinsightsQuery + +/** + * Optional. The maximum policy version that will be used to format the policy. + * Valid values are 0, 1, and 3. Requests specifying an invalid value will be + * rejected. Requests for policies with any conditional role bindings must + * specify version 3. Policies with no conditional role bindings may specify + * any valid value or leave the field unset. The policy in the response might + * use the policy version that you specified, or it might use a lower policy + * version. For example, if you specify version 3, but the policy has no + * conditional role bindings, the response uses version 1. To learn which + * resources support conditions in their IAM policies, see the [IAM + * documentation](https://cloud.google.com/iam/help/conditions/resource-policies). + */ +@property(nonatomic, assign) NSInteger optionsRequestedPolicyVersion; + +/** + * REQUIRED: The resource for which the policy is being requested. See + * [Resource names](https://cloud.google.com/apis/design/resource_names) for + * the appropriate value for this field. + */ +@property(nonatomic, copy, nullable) NSString *resource; + +/** + * Fetches a @c GTLRContactcenterinsights_GoogleIamV1Policy. + * + * Gets the access control policy for a resource. Returns an empty policy if + * the resource exists and does not have a policy set. + * + * @param resource REQUIRED: The resource for which the policy is being + * requested. See [Resource + * names](https://cloud.google.com/apis/design/resource_names) for the + * appropriate value for this field. + * + * @return GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsAuthorizedViewsGetIamPolicy + */ ++ (instancetype)queryWithResource:(NSString *)resource; + +@end + /** * List AuthorizedViewSets * @@ -1807,6 +1856,93 @@ FOUNDATION_EXTERN NSString * const kGTLRContactcenterinsightsViewFull; @end +/** + * Sets the access control policy on the specified resource. Replaces any + * existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and + * `PERMISSION_DENIED` errors. + * + * Method: contactcenterinsights.projects.locations.authorizedViewSets.authorizedViews.setIamPolicy + * + * Authorization scope(s): + * @c kGTLRAuthScopeContactcenterinsightsCloudPlatform + */ +@interface GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsAuthorizedViewsSetIamPolicy : GTLRContactcenterinsightsQuery + +/** + * REQUIRED: The resource for which the policy is being specified. See + * [Resource names](https://cloud.google.com/apis/design/resource_names) for + * the appropriate value for this field. + */ +@property(nonatomic, copy, nullable) NSString *resource; + +/** + * Fetches a @c GTLRContactcenterinsights_GoogleIamV1Policy. + * + * Sets the access control policy on the specified resource. Replaces any + * existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and + * `PERMISSION_DENIED` errors. + * + * @param object The @c + * GTLRContactcenterinsights_GoogleIamV1SetIamPolicyRequest to include in the + * query. + * @param resource REQUIRED: The resource for which the policy is being + * specified. See [Resource + * names](https://cloud.google.com/apis/design/resource_names) for the + * appropriate value for this field. + * + * @return GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsAuthorizedViewsSetIamPolicy + */ ++ (instancetype)queryWithObject:(GTLRContactcenterinsights_GoogleIamV1SetIamPolicyRequest *)object + resource:(NSString *)resource; + +@end + +/** + * Returns permissions that a caller has on the specified resource. If the + * resource does not exist, this will return an empty set of permissions, not a + * `NOT_FOUND` error. Note: This operation is designed to be used for building + * permission-aware UIs and command-line tools, not for authorization checking. + * This operation may "fail open" without warning. + * + * Method: contactcenterinsights.projects.locations.authorizedViewSets.authorizedViews.testIamPermissions + * + * Authorization scope(s): + * @c kGTLRAuthScopeContactcenterinsightsCloudPlatform + */ +@interface GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsAuthorizedViewsTestIamPermissions : GTLRContactcenterinsightsQuery + +/** + * REQUIRED: The resource for which the policy detail is being requested. See + * [Resource names](https://cloud.google.com/apis/design/resource_names) for + * the appropriate value for this field. + */ +@property(nonatomic, copy, nullable) NSString *resource; + +/** + * Fetches a @c + * GTLRContactcenterinsights_GoogleIamV1TestIamPermissionsResponse. + * + * Returns permissions that a caller has on the specified resource. If the + * resource does not exist, this will return an empty set of permissions, not a + * `NOT_FOUND` error. Note: This operation is designed to be used for building + * permission-aware UIs and command-line tools, not for authorization checking. + * This operation may "fail open" without warning. + * + * @param object The @c + * GTLRContactcenterinsights_GoogleIamV1TestIamPermissionsRequest to include + * in the query. + * @param resource REQUIRED: The resource for which the policy detail is being + * requested. See [Resource + * names](https://cloud.google.com/apis/design/resource_names) for the + * appropriate value for this field. + * + * @return GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsAuthorizedViewsTestIamPermissions + */ ++ (instancetype)queryWithObject:(GTLRContactcenterinsights_GoogleIamV1TestIamPermissionsRequest *)object + resource:(NSString *)resource; + +@end + /** * Create AuthorizedViewSet * @@ -5061,10 +5197,11 @@ FOUNDATION_EXTERN NSString * const kGTLRContactcenterinsightsViewFull; /** * Optional. A filter to reduce results to a specific subset. Supports - * disjunctions (OR) and conjunctions (AND). Supported fields include the - * following: * `project_id` - id of the project to list tags for * - * `qa_scorecard_revision_id` - id of the scorecard revision to list tags for * - * `qa_question_id - id of the question to list tags for` + * conjunctions (ie. AND operators). Supported fields include the following: * + * `project_id` - id of the project to list tags for * `qa_scorecard_id` - id + * of the scorecard to list tags for * `revision_id` - id of the scorecard + * revision to list tags for` * `qa_question_id - id of the question to list + * tags for` */ @property(nonatomic, copy, nullable) NSString *filter; diff --git a/Sources/GeneratedServices/Container/GTLRContainerObjects.m b/Sources/GeneratedServices/Container/GTLRContainerObjects.m index 29efda0ae..067c298be 100644 --- a/Sources/GeneratedServices/Container/GTLRContainerObjects.m +++ b/Sources/GeneratedServices/Container/GTLRContainerObjects.m @@ -2819,6 +2819,16 @@ @implementation GTLRContainer_RollbackNodePoolUpgradeRequest @end +// ---------------------------------------------------------------------------- +// +// GTLRContainer_RotationConfig +// + +@implementation GTLRContainer_RotationConfig +@dynamic enabled, rotationInterval; +@end + + // ---------------------------------------------------------------------------- // // GTLRContainer_SandboxConfig @@ -2854,7 +2864,7 @@ @implementation GTLRContainer_SecondaryBootDiskUpdateStrategy // @implementation GTLRContainer_SecretManagerConfig -@dynamic enabled; +@dynamic enabled, rotationConfig; @end diff --git a/Sources/GeneratedServices/Container/Public/GoogleAPIClientForREST/GTLRContainerObjects.h b/Sources/GeneratedServices/Container/Public/GoogleAPIClientForREST/GTLRContainerObjects.h index 6b05e5e73..2a132c7b0 100644 --- a/Sources/GeneratedServices/Container/Public/GoogleAPIClientForREST/GTLRContainerObjects.h +++ b/Sources/GeneratedServices/Container/Public/GoogleAPIClientForREST/GTLRContainerObjects.h @@ -170,6 +170,7 @@ @class GTLRContainer_ResourceManagerTags; @class GTLRContainer_ResourceManagerTags_Tags; @class GTLRContainer_ResourceUsageExportConfig; +@class GTLRContainer_RotationConfig; @class GTLRContainer_SandboxConfig; @class GTLRContainer_SecondaryBootDisk; @class GTLRContainer_SecondaryBootDiskUpdateStrategy; @@ -6546,11 +6547,15 @@ FOUNDATION_EXTERN NSString * const kGTLRContainer_WorkloadMetadataConfig_Mode_Mo /** * If set to true, the Lustre CSI driver will install Lustre kernel modules - * using port 6988. + * using port 6988. This serves as a workaround for a port conflict with the + * gke-metadata-server. This field is required ONLY under the following + * conditions: 1. The GKE node version is older than 1.33.2-gke.4655000. 2. + * You're connecting to a Lustre instance that has the 'gke-support-enabled' + * flag. * * Uses NSNumber of boolValue. */ -@property(nonatomic, strong, nullable) NSNumber *enableLegacyLustrePort; +@property(nonatomic, strong, nullable) NSNumber *enableLegacyLustrePort GTLR_DEPRECATED; @end @@ -9200,6 +9205,27 @@ FOUNDATION_EXTERN NSString * const kGTLRContainer_WorkloadMetadataConfig_Mode_Mo @end +/** + * RotationConfig is config for secret manager auto rotation. + */ +@interface GTLRContainer_RotationConfig : GTLRObject + +/** + * Whether the rotation is enabled. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *enabled; + +/** + * The interval between two consecutive rotations. Default rotation interval is + * 2 minutes. + */ +@property(nonatomic, strong, nullable) GTLRDuration *rotationInterval; + +@end + + /** * SandboxConfig contains configurations of the sandbox to use for the node. */ @@ -9263,6 +9289,9 @@ FOUNDATION_EXTERN NSString * const kGTLRContainer_WorkloadMetadataConfig_Mode_Mo */ @property(nonatomic, strong, nullable) NSNumber *enabled; +/** Rotation config for secret manager. */ +@property(nonatomic, strong, nullable) GTLRContainer_RotationConfig *rotationConfig; + @end diff --git a/Sources/GeneratedServices/DLP/GTLRDLPObjects.m b/Sources/GeneratedServices/DLP/GTLRDLPObjects.m index 08ce3cf89..2fbac51a3 100644 --- a/Sources/GeneratedServices/DLP/GTLRDLPObjects.m +++ b/Sources/GeneratedServices/DLP/GTLRDLPObjects.m @@ -633,6 +633,10 @@ NSString * const kGTLRDLP_GooglePrivacyDlpV2Value_DayOfWeekValue_Tuesday = @"TUESDAY"; NSString * const kGTLRDLP_GooglePrivacyDlpV2Value_DayOfWeekValue_Wednesday = @"WEDNESDAY"; +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wdeprecated-declarations" +#pragma clang diagnostic ignored "-Wdeprecated-implementations" + // ---------------------------------------------------------------------------- // // GTLRDLP_GooglePrivacyDlpV2Action @@ -5083,3 +5087,24 @@ @implementation GTLRDLP_GoogleTypeDate @implementation GTLRDLP_GoogleTypeTimeOfDay @dynamic hours, minutes, nanos, seconds; @end + + +// ---------------------------------------------------------------------------- +// +// GTLRDLP_Proto2BridgeMessageSet +// + +@implementation GTLRDLP_Proto2BridgeMessageSet +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDLP_UtilStatusProto +// + +@implementation GTLRDLP_UtilStatusProto +@dynamic canonicalCode, code, message, messageSet, space; +@end + +#pragma clang diagnostic pop diff --git a/Sources/GeneratedServices/DLP/Public/GoogleAPIClientForREST/GTLRDLPObjects.h b/Sources/GeneratedServices/DLP/Public/GoogleAPIClientForREST/GTLRDLPObjects.h index b2bffacf9..9c656a74a 100644 --- a/Sources/GeneratedServices/DLP/Public/GoogleAPIClientForREST/GTLRDLPObjects.h +++ b/Sources/GeneratedServices/DLP/Public/GoogleAPIClientForREST/GTLRDLPObjects.h @@ -315,11 +315,13 @@ @class GTLRDLP_GoogleRpcStatus_Details_Item; @class GTLRDLP_GoogleTypeDate; @class GTLRDLP_GoogleTypeTimeOfDay; +@class GTLRDLP_Proto2BridgeMessageSet; // Generated comments include content from the discovery document; avoid them // causing warnings since clang's checks are some what arbitrary. #pragma clang diagnostic push #pragma clang diagnostic ignored "-Wdocumentation" +#pragma clang diagnostic ignored "-Wdeprecated-declarations" NS_ASSUME_NONNULL_BEGIN @@ -6033,12 +6035,12 @@ FOUNDATION_EXTERN NSString * const kGTLRDLP_GooglePrivacyDlpV2Value_DayOfWeekVal /** * List of user-specified file type groups to transform. If specified, only the - * files with these file types will be transformed. If empty, all supported - * files will be transformed. Supported types may be automatically added over - * time. If a file type is set in this field that isn't supported by the - * Deidentify action then the job will fail and will not be successfully - * created/started. Currently the only file types supported are: IMAGES, - * TEXT_FILES, CSV, TSV. + * files with these file types are transformed. If empty, all supported files + * are transformed. Supported types may be automatically added over time. Any + * unsupported file types that are set in this field are excluded from + * de-identification. An error is recorded for each unsupported file in the + * TransformationDetails output table. Currently the only file types supported + * are: IMAGES, TEXT_FILES, CSV, TSV. */ @property(nonatomic, strong, nullable) NSArray *fileTypesToTransform; @@ -13049,6 +13051,68 @@ FOUNDATION_EXTERN NSString * const kGTLRDLP_GooglePrivacyDlpV2Value_DayOfWeekVal @end + +/** + * This is proto2's version of MessageSet. DEPRECATED: DO NOT USE FOR NEW + * FIELDS. If you are using editions or proto2, please make your own extendable + * messages for your use case. If you are using proto3, please use `Any` + * instead. MessageSet was the implementation of extensions for proto1. When + * proto2 was introduced, extensions were implemented as a first-class feature. + * This schema for MessageSet was meant to be a "bridge" solution to migrate + * MessageSet-bearing messages from proto1 to proto2. This schema has been + * open-sourced only to facilitate the migration of Google products with + * MessageSet-bearing messages to open-source environments. + */ +GTLR_DEPRECATED +@interface GTLRDLP_Proto2BridgeMessageSet : GTLRObject +@end + + +/** + * Wire-format for a Status object + */ +@interface GTLRDLP_UtilStatusProto : GTLRObject + +/** + * copybara:strip_begin(b/383363683) copybara:strip_end_and_replace optional + * int32 canonical_code = 6; + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *canonicalCode; + +/** + * Numeric code drawn from the space specified below. Often, this is the + * canonical error space, and code is drawn from google3/util/task/codes.proto + * copybara:strip_begin(b/383363683) copybara:strip_end_and_replace optional + * int32 code = 1; + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *code; + +/** + * Detail message copybara:strip_begin(b/383363683) + * copybara:strip_end_and_replace optional string message = 3; + */ +@property(nonatomic, copy, nullable) NSString *message; + +/** + * message_set associates an arbitrary proto message with the status. + * copybara:strip_begin(b/383363683) copybara:strip_end_and_replace optional + * proto2.bridge.MessageSet message_set = 5; + */ +@property(nonatomic, strong, nullable) GTLRDLP_Proto2BridgeMessageSet *messageSet; + +/** + * copybara:strip_begin(b/383363683) Space to which this status belongs + * copybara:strip_end_and_replace optional string space = 2; // Space to which + * this status belongs + */ +@property(nonatomic, copy, nullable) NSString *space; + +@end + NS_ASSUME_NONNULL_END #pragma clang diagnostic pop diff --git a/Sources/GeneratedServices/Dataflow/Public/GoogleAPIClientForREST/GTLRDataflowQuery.h b/Sources/GeneratedServices/Dataflow/Public/GoogleAPIClientForREST/GTLRDataflowQuery.h index 807694a90..264086b05 100644 --- a/Sources/GeneratedServices/Dataflow/Public/GoogleAPIClientForREST/GTLRDataflowQuery.h +++ b/Sources/GeneratedServices/Dataflow/Public/GoogleAPIClientForREST/GTLRDataflowQuery.h @@ -299,8 +299,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDataflowViewMetadataOnly; @end /** - * A Job is a multi-stage computation graph run by the Cloud Dataflow service. - * Creates a Cloud Dataflow job. To create a job, we recommend using + * Creates a Dataflow job. To create a job, we recommend using * `projects.locations.jobs.create` with a [regional endpoint] * (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints). Using * `projects.jobs.create` is not recommended, as your job will always start in @@ -355,8 +354,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDataflowViewMetadataOnly; /** * Fetches a @c GTLRDataflow_Job. * - * A Job is a multi-stage computation graph run by the Cloud Dataflow service. - * Creates a Cloud Dataflow job. To create a job, we recommend using + * Creates a Dataflow job. To create a job, we recommend using * `projects.locations.jobs.create` with a [regional endpoint] * (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints). Using * `projects.jobs.create` is not recommended, as your job will always start in @@ -999,8 +997,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDataflowViewMetadataOnly; @end /** - * A Job is a multi-stage computation graph run by the Cloud Dataflow service. - * Creates a Cloud Dataflow job. To create a job, we recommend using + * Creates a Dataflow job. To create a job, we recommend using * `projects.locations.jobs.create` with a [regional endpoint] * (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints). Using * `projects.jobs.create` is not recommended, as your job will always start in @@ -1055,8 +1052,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDataflowViewMetadataOnly; /** * Fetches a @c GTLRDataflow_Job. * - * A Job is a multi-stage computation graph run by the Cloud Dataflow service. - * Creates a Cloud Dataflow job. To create a job, we recommend using + * Creates a Dataflow job. To create a job, we recommend using * `projects.locations.jobs.create` with a [regional endpoint] * (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints). Using * `projects.jobs.create` is not recommended, as your job will always start in diff --git a/Sources/GeneratedServices/Dataproc/GTLRDataprocObjects.m b/Sources/GeneratedServices/Dataproc/GTLRDataprocObjects.m index 9a88ac297..52f84e490 100644 --- a/Sources/GeneratedServices/Dataproc/GTLRDataprocObjects.m +++ b/Sources/GeneratedServices/Dataproc/GTLRDataprocObjects.m @@ -243,6 +243,7 @@ NSString * const kGTLRDataproc_SoftwareConfig_OptionalComponents_Hudi = @"HUDI"; NSString * const kGTLRDataproc_SoftwareConfig_OptionalComponents_Iceberg = @"ICEBERG"; NSString * const kGTLRDataproc_SoftwareConfig_OptionalComponents_Jupyter = @"JUPYTER"; +NSString * const kGTLRDataproc_SoftwareConfig_OptionalComponents_JupyterKernelGateway = @"JUPYTER_KERNEL_GATEWAY"; NSString * const kGTLRDataproc_SoftwareConfig_OptionalComponents_Pig = @"PIG"; NSString * const kGTLRDataproc_SoftwareConfig_OptionalComponents_Presto = @"PRESTO"; NSString * const kGTLRDataproc_SoftwareConfig_OptionalComponents_Ranger = @"RANGER"; @@ -470,7 +471,7 @@ @implementation GTLRDataproc_AccumulableInfo // @implementation GTLRDataproc_AnalyzeBatchRequest -@dynamic requestId; +@dynamic requestId, requestorId; @end diff --git a/Sources/GeneratedServices/Dataproc/Public/GoogleAPIClientForREST/GTLRDataprocObjects.h b/Sources/GeneratedServices/Dataproc/Public/GoogleAPIClientForREST/GTLRDataprocObjects.h index c70d92aeb..ddc922f0f 100644 --- a/Sources/GeneratedServices/Dataproc/Public/GoogleAPIClientForREST/GTLRDataprocObjects.h +++ b/Sources/GeneratedServices/Dataproc/Public/GoogleAPIClientForREST/GTLRDataprocObjects.h @@ -476,13 +476,13 @@ FOUNDATION_EXTERN NSString * const kGTLRDataproc_BatchOperationMetadata_Operatio // GTLRDataproc_ClusterConfig.clusterTier /** - * Premium dataproc cluster. + * Premium Dataproc cluster. * * Value: "CLUSTER_TIER_PREMIUM" */ FOUNDATION_EXTERN NSString * const kGTLRDataproc_ClusterConfig_ClusterTier_ClusterTierPremium; /** - * Standard dataproc cluster. + * Standard Dataproc cluster. * * Value: "CLUSTER_TIER_STANDARD" */ @@ -1394,6 +1394,12 @@ FOUNDATION_EXTERN NSString * const kGTLRDataproc_SoftwareConfig_OptionalComponen * Value: "JUPYTER" */ FOUNDATION_EXTERN NSString * const kGTLRDataproc_SoftwareConfig_OptionalComponents_Jupyter; +/** + * The Jupyter Kernel Gateway. + * + * Value: "JUPYTER_KERNEL_GATEWAY" + */ +FOUNDATION_EXTERN NSString * const kGTLRDataproc_SoftwareConfig_OptionalComponents_JupyterKernelGateway; /** * The Pig component. * @@ -1866,6 +1872,12 @@ FOUNDATION_EXTERN NSString * const kGTLRDataproc_YarnApplication_State_Submitted */ @property(nonatomic, copy, nullable) NSString *requestId; +/** + * Optional. The requestor ID is used to identify if the request comes from a + * GCA investigation or the old Ask Gemini Experience. + */ +@property(nonatomic, copy, nullable) NSString *requestorId; + @end @@ -2754,13 +2766,13 @@ FOUNDATION_EXTERN NSString * const kGTLRDataproc_YarnApplication_State_Submitted @property(nonatomic, strong, nullable) NSArray *auxiliaryNodeGroups; /** - * Optional. The tier of the cluster. + * Optional. The cluster tier. * * Likely values: * @arg @c kGTLRDataproc_ClusterConfig_ClusterTier_ClusterTierPremium Premium - * dataproc cluster. (Value: "CLUSTER_TIER_PREMIUM") + * Dataproc cluster. (Value: "CLUSTER_TIER_PREMIUM") * @arg @c kGTLRDataproc_ClusterConfig_ClusterTier_ClusterTierStandard - * Standard dataproc cluster. (Value: "CLUSTER_TIER_STANDARD") + * Standard Dataproc cluster. (Value: "CLUSTER_TIER_STANDARD") * @arg @c kGTLRDataproc_ClusterConfig_ClusterTier_ClusterTierUnspecified Not * set. Works the same as CLUSTER_TIER_STANDARD. (Value: * "CLUSTER_TIER_UNSPECIFIED") @@ -8842,7 +8854,7 @@ GTLR_DEPRECATED */ @property(nonatomic, strong, nullable) GTLRDataproc_SessionTemplate_Labels *labels; -/** Required. The resource name of the session template. */ +/** Required. Identifier. The resource name of the session template. */ @property(nonatomic, copy, nullable) NSString *name; /** Optional. Runtime configuration for session execution. */ diff --git a/Sources/GeneratedServices/Dataproc/Public/GoogleAPIClientForREST/GTLRDataprocQuery.h b/Sources/GeneratedServices/Dataproc/Public/GoogleAPIClientForREST/GTLRDataprocQuery.h index 39572be1b..eb3c2eb61 100644 --- a/Sources/GeneratedServices/Dataproc/Public/GoogleAPIClientForREST/GTLRDataprocQuery.h +++ b/Sources/GeneratedServices/Dataproc/Public/GoogleAPIClientForREST/GTLRDataprocQuery.h @@ -3269,7 +3269,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDataprocTaskStatusTaskStatusUnspecified; */ @interface GTLRDataprocQuery_ProjectsLocationsSessionTemplatesPatch : GTLRDataprocQuery -/** Required. The resource name of the session template. */ +/** Required. Identifier. The resource name of the session template. */ @property(nonatomic, copy, nullable) NSString *name; /** @@ -3278,7 +3278,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDataprocTaskStatusTaskStatusUnspecified; * Updates the session template synchronously. * * @param object The @c GTLRDataproc_SessionTemplate to include in the query. - * @param name Required. The resource name of the session template. + * @param name Required. Identifier. The resource name of the session template. * * @return GTLRDataprocQuery_ProjectsLocationsSessionTemplatesPatch */ diff --git a/Sources/GeneratedServices/Dialogflow/GTLRDialogflowObjects.m b/Sources/GeneratedServices/Dialogflow/GTLRDialogflowObjects.m index 2e42a83a2..f26fd165c 100644 --- a/Sources/GeneratedServices/Dialogflow/GTLRDialogflowObjects.m +++ b/Sources/GeneratedServices/Dialogflow/GTLRDialogflowObjects.m @@ -265,6 +265,13 @@ NSString * const kGTLRDialogflow_GoogleCloudDialogflowCxV3ImportIntentsRequest_MergeOption_Replace = @"REPLACE"; NSString * const kGTLRDialogflow_GoogleCloudDialogflowCxV3ImportIntentsRequest_MergeOption_ReportConflict = @"REPORT_CONFLICT"; +// GTLRDialogflow_GoogleCloudDialogflowCxV3InlineSchema.type +NSString * const kGTLRDialogflow_GoogleCloudDialogflowCxV3InlineSchema_Type_Array = @"ARRAY"; +NSString * const kGTLRDialogflow_GoogleCloudDialogflowCxV3InlineSchema_Type_Boolean = @"BOOLEAN"; +NSString * const kGTLRDialogflow_GoogleCloudDialogflowCxV3InlineSchema_Type_DataTypeUnspecified = @"DATA_TYPE_UNSPECIFIED"; +NSString * const kGTLRDialogflow_GoogleCloudDialogflowCxV3InlineSchema_Type_Number = @"NUMBER"; +NSString * const kGTLRDialogflow_GoogleCloudDialogflowCxV3InlineSchema_Type_String = @"STRING"; + // GTLRDialogflow_GoogleCloudDialogflowCxV3InputAudioConfig.audioEncoding NSString * const kGTLRDialogflow_GoogleCloudDialogflowCxV3InputAudioConfig_AudioEncoding_AudioEncodingAlaw = @"AUDIO_ENCODING_ALAW"; NSString * const kGTLRDialogflow_GoogleCloudDialogflowCxV3InputAudioConfig_AudioEncoding_AudioEncodingAmr = @"AUDIO_ENCODING_AMR"; @@ -318,6 +325,20 @@ NSString * const kGTLRDialogflow_GoogleCloudDialogflowCxV3PageInfoFormInfoParameterInfo_State_Invalid = @"INVALID"; NSString * const kGTLRDialogflow_GoogleCloudDialogflowCxV3PageInfoFormInfoParameterInfo_State_ParameterStateUnspecified = @"PARAMETER_STATE_UNSPECIFIED"; +// GTLRDialogflow_GoogleCloudDialogflowCxV3ParameterDefinition.type +NSString * const kGTLRDialogflow_GoogleCloudDialogflowCxV3ParameterDefinition_Type_Boolean = @"BOOLEAN"; +NSString * const kGTLRDialogflow_GoogleCloudDialogflowCxV3ParameterDefinition_Type_List = @"LIST"; +NSString * const kGTLRDialogflow_GoogleCloudDialogflowCxV3ParameterDefinition_Type_Null = @"NULL"; +NSString * const kGTLRDialogflow_GoogleCloudDialogflowCxV3ParameterDefinition_Type_Number = @"NUMBER"; +NSString * const kGTLRDialogflow_GoogleCloudDialogflowCxV3ParameterDefinition_Type_Object = @"OBJECT"; +NSString * const kGTLRDialogflow_GoogleCloudDialogflowCxV3ParameterDefinition_Type_ParameterTypeUnspecified = @"PARAMETER_TYPE_UNSPECIFIED"; +NSString * const kGTLRDialogflow_GoogleCloudDialogflowCxV3ParameterDefinition_Type_String = @"STRING"; + +// GTLRDialogflow_GoogleCloudDialogflowCxV3Playbook.playbookType +NSString * const kGTLRDialogflow_GoogleCloudDialogflowCxV3Playbook_PlaybookType_PlaybookTypeUnspecified = @"PLAYBOOK_TYPE_UNSPECIFIED"; +NSString * const kGTLRDialogflow_GoogleCloudDialogflowCxV3Playbook_PlaybookType_Routine = @"ROUTINE"; +NSString * const kGTLRDialogflow_GoogleCloudDialogflowCxV3Playbook_PlaybookType_Task = @"TASK"; + // GTLRDialogflow_GoogleCloudDialogflowCxV3PlaybookImportStrategy.mainPlaybookImportStrategy NSString * const kGTLRDialogflow_GoogleCloudDialogflowCxV3PlaybookImportStrategy_MainPlaybookImportStrategy_ImportStrategyCreateNew = @"IMPORT_STRATEGY_CREATE_NEW"; NSString * const kGTLRDialogflow_GoogleCloudDialogflowCxV3PlaybookImportStrategy_MainPlaybookImportStrategy_ImportStrategyKeep = @"IMPORT_STRATEGY_KEEP"; @@ -846,8 +867,8 @@ // @implementation GTLRDialogflow_GoogleCloudDialogflowCxV3Action -@dynamic agentUtterance, flowInvocation, playbookInvocation, toolUse, - userUtterance; +@dynamic agentUtterance, flowInvocation, flowTransition, playbookInvocation, + playbookTransition, toolUse, userUtterance; @end @@ -3728,8 +3749,9 @@ @implementation GTLRDialogflow_GoogleCloudDialogflowCxV3FilterSpecs @implementation GTLRDialogflow_GoogleCloudDialogflowCxV3Flow @dynamic advancedSettings, descriptionProperty, displayName, eventHandlers, - knowledgeConnectorSettings, locked, multiLanguageSettings, name, - nluSettings, transitionRouteGroups, transitionRoutes; + inputParameterDefinitions, knowledgeConnectorSettings, locked, + multiLanguageSettings, name, nluSettings, outputParameterDefinitions, + transitionRouteGroups, transitionRoutes; + (NSDictionary *)propertyToJSONKeyMap { return @{ @"descriptionProperty" : @"description" }; @@ -3738,6 +3760,8 @@ @implementation GTLRDialogflow_GoogleCloudDialogflowCxV3Flow + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @"eventHandlers" : [GTLRDialogflow_GoogleCloudDialogflowCxV3EventHandler class], + @"inputParameterDefinitions" : [GTLRDialogflow_GoogleCloudDialogflowCxV3ParameterDefinition class], + @"outputParameterDefinitions" : [GTLRDialogflow_GoogleCloudDialogflowCxV3ParameterDefinition class], @"transitionRouteGroups" : [NSString class], @"transitionRoutes" : [GTLRDialogflow_GoogleCloudDialogflowCxV3TransitionRoute class] }; @@ -3785,6 +3809,16 @@ @implementation GTLRDialogflow_GoogleCloudDialogflowCxV3FlowMultiLanguageSetting @end +// ---------------------------------------------------------------------------- +// +// GTLRDialogflow_GoogleCloudDialogflowCxV3FlowTransition +// + +@implementation GTLRDialogflow_GoogleCloudDialogflowCxV3FlowTransition +@dynamic displayName, flow; +@end + + // ---------------------------------------------------------------------------- // // GTLRDialogflow_GoogleCloudDialogflowCxV3FlowValidationResult @@ -4305,6 +4339,16 @@ @implementation GTLRDialogflow_GoogleCloudDialogflowCxV3InlineDestination @end +// ---------------------------------------------------------------------------- +// +// GTLRDialogflow_GoogleCloudDialogflowCxV3InlineSchema +// + +@implementation GTLRDialogflow_GoogleCloudDialogflowCxV3InlineSchema +@dynamic items, type; +@end + + // ---------------------------------------------------------------------------- // // GTLRDialogflow_GoogleCloudDialogflowCxV3InlineSource @@ -5171,6 +5215,21 @@ @implementation GTLRDialogflow_GoogleCloudDialogflowCxV3PageInfoFormInfoParamete @end +// ---------------------------------------------------------------------------- +// +// GTLRDialogflow_GoogleCloudDialogflowCxV3ParameterDefinition +// + +@implementation GTLRDialogflow_GoogleCloudDialogflowCxV3ParameterDefinition +@dynamic descriptionProperty, name, type, typeSchema; + ++ (NSDictionary *)propertyToJSONKeyMap { + return @{ @"descriptionProperty" : @"description" }; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRDialogflow_GoogleCloudDialogflowCxV3Phrase @@ -5187,13 +5246,16 @@ @implementation GTLRDialogflow_GoogleCloudDialogflowCxV3Phrase // @implementation GTLRDialogflow_GoogleCloudDialogflowCxV3Playbook -@dynamic createTime, displayName, goal, handlers, instruction, llmModelSettings, - name, referencedFlows, referencedPlaybooks, referencedTools, +@dynamic createTime, displayName, goal, handlers, inputParameterDefinitions, + instruction, llmModelSettings, name, outputParameterDefinitions, + playbookType, referencedFlows, referencedPlaybooks, referencedTools, tokenCount, updateTime; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @"handlers" : [GTLRDialogflow_GoogleCloudDialogflowCxV3Handler class], + @"inputParameterDefinitions" : [GTLRDialogflow_GoogleCloudDialogflowCxV3ParameterDefinition class], + @"outputParameterDefinitions" : [GTLRDialogflow_GoogleCloudDialogflowCxV3ParameterDefinition class], @"referencedFlows" : [NSString class], @"referencedPlaybooks" : [NSString class], @"referencedTools" : [NSString class] @@ -5281,6 +5343,16 @@ @implementation GTLRDialogflow_GoogleCloudDialogflowCxV3PlaybookStep @end +// ---------------------------------------------------------------------------- +// +// GTLRDialogflow_GoogleCloudDialogflowCxV3PlaybookTransition +// + +@implementation GTLRDialogflow_GoogleCloudDialogflowCxV3PlaybookTransition +@dynamic displayName, playbook; +@end + + // ---------------------------------------------------------------------------- // // GTLRDialogflow_GoogleCloudDialogflowCxV3PlaybookVersion @@ -6574,6 +6646,26 @@ @implementation GTLRDialogflow_GoogleCloudDialogflowCxV3TurnSignals @end +// ---------------------------------------------------------------------------- +// +// GTLRDialogflow_GoogleCloudDialogflowCxV3TypeSchema +// + +@implementation GTLRDialogflow_GoogleCloudDialogflowCxV3TypeSchema +@dynamic inlineSchema, schemaReference; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDialogflow_GoogleCloudDialogflowCxV3TypeSchemaSchemaReference +// + +@implementation GTLRDialogflow_GoogleCloudDialogflowCxV3TypeSchemaSchemaReference +@dynamic schema, tool; +@end + + // ---------------------------------------------------------------------------- // // GTLRDialogflow_GoogleCloudDialogflowCxV3UserUtterance diff --git a/Sources/GeneratedServices/Dialogflow/Public/GoogleAPIClientForREST/GTLRDialogflowObjects.h b/Sources/GeneratedServices/Dialogflow/Public/GoogleAPIClientForREST/GTLRDialogflowObjects.h index 17862fb04..056356659 100644 --- a/Sources/GeneratedServices/Dialogflow/Public/GoogleAPIClientForREST/GTLRDialogflowObjects.h +++ b/Sources/GeneratedServices/Dialogflow/Public/GoogleAPIClientForREST/GTLRDialogflowObjects.h @@ -178,6 +178,7 @@ @class GTLRDialogflow_GoogleCloudDialogflowCxV3FlowImportStrategy; @class GTLRDialogflow_GoogleCloudDialogflowCxV3FlowInvocation; @class GTLRDialogflow_GoogleCloudDialogflowCxV3FlowMultiLanguageSettings; +@class GTLRDialogflow_GoogleCloudDialogflowCxV3FlowTransition; @class GTLRDialogflow_GoogleCloudDialogflowCxV3FlowValidationResult; @class GTLRDialogflow_GoogleCloudDialogflowCxV3Form; @class GTLRDialogflow_GoogleCloudDialogflowCxV3FormParameter; @@ -202,6 +203,7 @@ @class GTLRDialogflow_GoogleCloudDialogflowCxV3ImportEntityTypesResponseConflictingResources; @class GTLRDialogflow_GoogleCloudDialogflowCxV3ImportIntentsResponseConflictingResources; @class GTLRDialogflow_GoogleCloudDialogflowCxV3InlineDestination; +@class GTLRDialogflow_GoogleCloudDialogflowCxV3InlineSchema; @class GTLRDialogflow_GoogleCloudDialogflowCxV3InlineSource; @class GTLRDialogflow_GoogleCloudDialogflowCxV3InputAudioConfig; @class GTLRDialogflow_GoogleCloudDialogflowCxV3Intent; @@ -224,6 +226,7 @@ @class GTLRDialogflow_GoogleCloudDialogflowCxV3PageInfo; @class GTLRDialogflow_GoogleCloudDialogflowCxV3PageInfoFormInfo; @class GTLRDialogflow_GoogleCloudDialogflowCxV3PageInfoFormInfoParameterInfo; +@class GTLRDialogflow_GoogleCloudDialogflowCxV3ParameterDefinition; @class GTLRDialogflow_GoogleCloudDialogflowCxV3Phrase; @class GTLRDialogflow_GoogleCloudDialogflowCxV3Playbook; @class GTLRDialogflow_GoogleCloudDialogflowCxV3PlaybookImportStrategy; @@ -232,6 +235,7 @@ @class GTLRDialogflow_GoogleCloudDialogflowCxV3PlaybookInvocation; @class GTLRDialogflow_GoogleCloudDialogflowCxV3PlaybookOutput; @class GTLRDialogflow_GoogleCloudDialogflowCxV3PlaybookStep; +@class GTLRDialogflow_GoogleCloudDialogflowCxV3PlaybookTransition; @class GTLRDialogflow_GoogleCloudDialogflowCxV3PlaybookVersion; @class GTLRDialogflow_GoogleCloudDialogflowCxV3QueryInput; @class GTLRDialogflow_GoogleCloudDialogflowCxV3QueryParameters; @@ -317,6 +321,8 @@ @class GTLRDialogflow_GoogleCloudDialogflowCxV3TransitionRouteGroupCoverageCoverage; @class GTLRDialogflow_GoogleCloudDialogflowCxV3TransitionRouteGroupCoverageCoverageTransition; @class GTLRDialogflow_GoogleCloudDialogflowCxV3TurnSignals; +@class GTLRDialogflow_GoogleCloudDialogflowCxV3TypeSchema; +@class GTLRDialogflow_GoogleCloudDialogflowCxV3TypeSchemaSchemaReference; @class GTLRDialogflow_GoogleCloudDialogflowCxV3UserUtterance; @class GTLRDialogflow_GoogleCloudDialogflowCxV3ValidationMessage; @class GTLRDialogflow_GoogleCloudDialogflowCxV3VariantsHistory; @@ -1819,6 +1825,40 @@ FOUNDATION_EXTERN NSString * const kGTLRDialogflow_GoogleCloudDialogflowCxV3Impo */ FOUNDATION_EXTERN NSString * const kGTLRDialogflow_GoogleCloudDialogflowCxV3ImportIntentsRequest_MergeOption_ReportConflict; +// ---------------------------------------------------------------------------- +// GTLRDialogflow_GoogleCloudDialogflowCxV3InlineSchema.type + +/** + * Represents a repeated value. + * + * Value: "ARRAY" + */ +FOUNDATION_EXTERN NSString * const kGTLRDialogflow_GoogleCloudDialogflowCxV3InlineSchema_Type_Array; +/** + * Represents a boolean value. + * + * Value: "BOOLEAN" + */ +FOUNDATION_EXTERN NSString * const kGTLRDialogflow_GoogleCloudDialogflowCxV3InlineSchema_Type_Boolean; +/** + * Not specified. + * + * Value: "DATA_TYPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDialogflow_GoogleCloudDialogflowCxV3InlineSchema_Type_DataTypeUnspecified; +/** + * Represents any number value. + * + * Value: "NUMBER" + */ +FOUNDATION_EXTERN NSString * const kGTLRDialogflow_GoogleCloudDialogflowCxV3InlineSchema_Type_Number; +/** + * Represents any string value. + * + * Value: "STRING" + */ +FOUNDATION_EXTERN NSString * const kGTLRDialogflow_GoogleCloudDialogflowCxV3InlineSchema_Type_String; + // ---------------------------------------------------------------------------- // GTLRDialogflow_GoogleCloudDialogflowCxV3InputAudioConfig.audioEncoding @@ -2116,6 +2156,74 @@ FOUNDATION_EXTERN NSString * const kGTLRDialogflow_GoogleCloudDialogflowCxV3Page */ FOUNDATION_EXTERN NSString * const kGTLRDialogflow_GoogleCloudDialogflowCxV3PageInfoFormInfoParameterInfo_State_ParameterStateUnspecified; +// ---------------------------------------------------------------------------- +// GTLRDialogflow_GoogleCloudDialogflowCxV3ParameterDefinition.type + +/** + * Represents a boolean value. + * + * Value: "BOOLEAN" + */ +FOUNDATION_EXTERN NSString * const kGTLRDialogflow_GoogleCloudDialogflowCxV3ParameterDefinition_Type_Boolean; +/** + * Represents a repeated value. + * + * Value: "LIST" + */ +FOUNDATION_EXTERN NSString * const kGTLRDialogflow_GoogleCloudDialogflowCxV3ParameterDefinition_Type_List; +/** + * Represents a null value. + * + * Value: "NULL" + */ +FOUNDATION_EXTERN NSString * const kGTLRDialogflow_GoogleCloudDialogflowCxV3ParameterDefinition_Type_Null; +/** + * Represents any number value. + * + * Value: "NUMBER" + */ +FOUNDATION_EXTERN NSString * const kGTLRDialogflow_GoogleCloudDialogflowCxV3ParameterDefinition_Type_Number; +/** + * Represents any object value. + * + * Value: "OBJECT" + */ +FOUNDATION_EXTERN NSString * const kGTLRDialogflow_GoogleCloudDialogflowCxV3ParameterDefinition_Type_Object; +/** + * Not specified. No validation will be performed. + * + * Value: "PARAMETER_TYPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDialogflow_GoogleCloudDialogflowCxV3ParameterDefinition_Type_ParameterTypeUnspecified; +/** + * Represents any string value. + * + * Value: "STRING" + */ +FOUNDATION_EXTERN NSString * const kGTLRDialogflow_GoogleCloudDialogflowCxV3ParameterDefinition_Type_String; + +// ---------------------------------------------------------------------------- +// GTLRDialogflow_GoogleCloudDialogflowCxV3Playbook.playbookType + +/** + * Unspecified type. Default to TASK. + * + * Value: "PLAYBOOK_TYPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDialogflow_GoogleCloudDialogflowCxV3Playbook_PlaybookType_PlaybookTypeUnspecified; +/** + * Routine playbook. + * + * Value: "ROUTINE" + */ +FOUNDATION_EXTERN NSString * const kGTLRDialogflow_GoogleCloudDialogflowCxV3Playbook_PlaybookType_Routine; +/** + * Task playbook. + * + * Value: "TASK" + */ +FOUNDATION_EXTERN NSString * const kGTLRDialogflow_GoogleCloudDialogflowCxV3Playbook_PlaybookType_Task; + // ---------------------------------------------------------------------------- // GTLRDialogflow_GoogleCloudDialogflowCxV3PlaybookImportStrategy.mainPlaybookImportStrategy @@ -4775,12 +4883,24 @@ FOUNDATION_EXTERN NSString * const kGTLRDialogflow_GoogleCloudDialogflowV3alpha1 */ @property(nonatomic, strong, nullable) GTLRDialogflow_GoogleCloudDialogflowCxV3FlowInvocation *flowInvocation; +/** + * Optional. Action performed on behalf of the agent by transitioning to a + * target CX flow. + */ +@property(nonatomic, strong, nullable) GTLRDialogflow_GoogleCloudDialogflowCxV3FlowTransition *flowTransition; + /** * Optional. Action performed on behalf of the agent by invoking a child * playbook. */ @property(nonatomic, strong, nullable) GTLRDialogflow_GoogleCloudDialogflowCxV3PlaybookInvocation *playbookInvocation; +/** + * Optional. Action performed on behalf of the agent by transitioning to a + * target playbook. + */ +@property(nonatomic, strong, nullable) GTLRDialogflow_GoogleCloudDialogflowCxV3PlaybookTransition *playbookTransition; + /** * Optional. Action performed on behalf of the agent by calling a plugin tool. */ @@ -10826,6 +10946,9 @@ FOUNDATION_EXTERN NSString * const kGTLRDialogflow_GoogleCloudDialogflowV3alpha1 */ @property(nonatomic, strong, nullable) NSArray *eventHandlers; +/** Optional. Defined structured input parameters for this flow. */ +@property(nonatomic, strong, nullable) NSArray *inputParameterDefinitions; + /** Optional. Knowledge connector configuration. */ @property(nonatomic, strong, nullable) GTLRDialogflow_GoogleCloudDialogflowCxV3KnowledgeConnectorSettings *knowledgeConnectorSettings; @@ -10849,6 +10972,9 @@ FOUNDATION_EXTERN NSString * const kGTLRDialogflow_GoogleCloudDialogflowV3alpha1 /** NLU related settings of the flow. */ @property(nonatomic, strong, nullable) GTLRDialogflow_GoogleCloudDialogflowCxV3NluSettings *nluSettings; +/** Optional. Defined structured output parameters for this flow. */ +@property(nonatomic, strong, nullable) NSArray *outputParameterDefinitions; + /** * A flow's transition route group serve two purposes: * They are responsible * for matching the user's first utterances in the flow. * They are inherited @@ -10973,6 +11099,24 @@ FOUNDATION_EXTERN NSString * const kGTLRDialogflow_GoogleCloudDialogflowV3alpha1 @end +/** + * Stores metadata of the transition to a target CX flow. Flow transition + * actions exit the caller playbook and enter the child flow. + */ +@interface GTLRDialogflow_GoogleCloudDialogflowCxV3FlowTransition : GTLRObject + +/** Output only. The display name of the flow. */ +@property(nonatomic, copy, nullable) NSString *displayName; + +/** + * Required. The unique identifier of the flow. Format: + * `projects//locations//agents/`. + */ +@property(nonatomic, copy, nullable) NSString *flow; + +@end + + /** * The response message for Flows.GetFlowValidationResult. */ @@ -11976,6 +12120,34 @@ FOUNDATION_EXTERN NSString * const kGTLRDialogflow_GoogleCloudDialogflowV3alpha1 @end +/** + * A type schema object that's specified inline. + */ +@interface GTLRDialogflow_GoogleCloudDialogflowCxV3InlineSchema : GTLRObject + +/** Schema of the elements if this is an ARRAY type. */ +@property(nonatomic, strong, nullable) GTLRDialogflow_GoogleCloudDialogflowCxV3TypeSchema *items; + +/** + * Data type of the schema. + * + * Likely values: + * @arg @c kGTLRDialogflow_GoogleCloudDialogflowCxV3InlineSchema_Type_Array + * Represents a repeated value. (Value: "ARRAY") + * @arg @c kGTLRDialogflow_GoogleCloudDialogflowCxV3InlineSchema_Type_Boolean + * Represents a boolean value. (Value: "BOOLEAN") + * @arg @c kGTLRDialogflow_GoogleCloudDialogflowCxV3InlineSchema_Type_DataTypeUnspecified + * Not specified. (Value: "DATA_TYPE_UNSPECIFIED") + * @arg @c kGTLRDialogflow_GoogleCloudDialogflowCxV3InlineSchema_Type_Number + * Represents any number value. (Value: "NUMBER") + * @arg @c kGTLRDialogflow_GoogleCloudDialogflowCxV3InlineSchema_Type_String + * Represents any string value. (Value: "STRING") + */ +@property(nonatomic, copy, nullable) NSString *type; + +@end + + /** * Inline source for a Dialogflow operation that reads or imports objects (e.g. * intents) into Dialogflow. @@ -13617,6 +13789,50 @@ FOUNDATION_EXTERN NSString * const kGTLRDialogflow_GoogleCloudDialogflowV3alpha1 @end +/** + * Defines the properties of a parameter. Used to define parameters used in the + * agent and the input / output parameters for each fulfillment. + */ +@interface GTLRDialogflow_GoogleCloudDialogflowCxV3ParameterDefinition : GTLRObject + +/** + * Human-readable description of the parameter. Limited to 300 characters. + * + * Remapped to 'descriptionProperty' to avoid NSObject's 'description'. + */ +@property(nonatomic, copy, nullable) NSString *descriptionProperty; + +/** Required. Name of parameter. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Type of parameter. + * + * Likely values: + * @arg @c kGTLRDialogflow_GoogleCloudDialogflowCxV3ParameterDefinition_Type_Boolean + * Represents a boolean value. (Value: "BOOLEAN") + * @arg @c kGTLRDialogflow_GoogleCloudDialogflowCxV3ParameterDefinition_Type_List + * Represents a repeated value. (Value: "LIST") + * @arg @c kGTLRDialogflow_GoogleCloudDialogflowCxV3ParameterDefinition_Type_Null + * Represents a null value. (Value: "NULL") + * @arg @c kGTLRDialogflow_GoogleCloudDialogflowCxV3ParameterDefinition_Type_Number + * Represents any number value. (Value: "NUMBER") + * @arg @c kGTLRDialogflow_GoogleCloudDialogflowCxV3ParameterDefinition_Type_Object + * Represents any object value. (Value: "OBJECT") + * @arg @c kGTLRDialogflow_GoogleCloudDialogflowCxV3ParameterDefinition_Type_ParameterTypeUnspecified + * Not specified. No validation will be performed. (Value: + * "PARAMETER_TYPE_UNSPECIFIED") + * @arg @c kGTLRDialogflow_GoogleCloudDialogflowCxV3ParameterDefinition_Type_String + * Represents any string value. (Value: "STRING") + */ +@property(nonatomic, copy, nullable) NSString *type GTLR_DEPRECATED; + +/** Optional. Type schema of parameter. */ +@property(nonatomic, strong, nullable) GTLRDialogflow_GoogleCloudDialogflowCxV3TypeSchema *typeSchema; + +@end + + /** * Text input which can be used for prompt or banned phrases. */ @@ -13659,6 +13875,9 @@ FOUNDATION_EXTERN NSString * const kGTLRDialogflow_GoogleCloudDialogflowV3alpha1 */ @property(nonatomic, strong, nullable) NSArray *handlers; +/** Optional. Defined structured input parameters for this playbook. */ +@property(nonatomic, strong, nullable) NSArray *inputParameterDefinitions; + /** Instruction to accomplish target goal. */ @property(nonatomic, strong, nullable) GTLRDialogflow_GoogleCloudDialogflowCxV3PlaybookInstruction *instruction; @@ -13671,6 +13890,23 @@ FOUNDATION_EXTERN NSString * const kGTLRDialogflow_GoogleCloudDialogflowV3alpha1 */ @property(nonatomic, copy, nullable) NSString *name; +/** Optional. Defined structured output parameters for this playbook. */ +@property(nonatomic, strong, nullable) NSArray *outputParameterDefinitions; + +/** + * Optional. Type of the playbook. + * + * Likely values: + * @arg @c kGTLRDialogflow_GoogleCloudDialogflowCxV3Playbook_PlaybookType_PlaybookTypeUnspecified + * Unspecified type. Default to TASK. (Value: + * "PLAYBOOK_TYPE_UNSPECIFIED") + * @arg @c kGTLRDialogflow_GoogleCloudDialogflowCxV3Playbook_PlaybookType_Routine + * Routine playbook. (Value: "ROUTINE") + * @arg @c kGTLRDialogflow_GoogleCloudDialogflowCxV3Playbook_PlaybookType_Task + * Task playbook. (Value: "TASK") + */ +@property(nonatomic, copy, nullable) NSString *playbookType; + /** * Output only. The resource name of flows referenced by the current playbook * in the instructions. @@ -13895,6 +14131,24 @@ FOUNDATION_EXTERN NSString * const kGTLRDialogflow_GoogleCloudDialogflowV3alpha1 @end +/** + * Stores metadata of the transition to another target playbook. Playbook + * transition actions exit the caller playbook and enter the target playbook. + */ +@interface GTLRDialogflow_GoogleCloudDialogflowCxV3PlaybookTransition : GTLRObject + +/** Output only. The display name of the playbook. */ +@property(nonatomic, copy, nullable) NSString *displayName; + +/** + * Required. The unique identifier of the playbook. Format: + * `projects//locations//agents//playbooks/`. + */ +@property(nonatomic, copy, nullable) NSString *playbook; + +@end + + /** * Playbook version is a snapshot of the playbook at certain timestamp. */ @@ -15198,7 +15452,12 @@ FOUNDATION_EXTERN NSString * const kGTLRDialogflow_GoogleCloudDialogflowV3alpha1 */ @interface GTLRDialogflow_GoogleCloudDialogflowCxV3SecuritySettingsAudioExportSettings : GTLRObject -/** Filename pattern for exported audio. */ +/** + * Filename pattern for exported audio. {conversation} and {timestamp} are + * placeholders that will be replaced with the conversation ID and epoch micros + * of the conversation. For example, + * "{conversation}/recording_{timestamp}.mulaw". + */ @property(nonatomic, copy, nullable) NSString *audioExportPattern; /** @@ -16559,6 +16818,38 @@ FOUNDATION_EXTERN NSString * const kGTLRDialogflow_GoogleCloudDialogflowV3alpha1 @end +/** + * Encapsulates different type schema variations: either a reference to an a + * schema that's already defined by a tool, or an inline definition. + */ +@interface GTLRDialogflow_GoogleCloudDialogflowCxV3TypeSchema : GTLRObject + +/** Set if this is an inline schema definition. */ +@property(nonatomic, strong, nullable) GTLRDialogflow_GoogleCloudDialogflowCxV3InlineSchema *inlineSchema; + +/** Set if this is a schema reference. */ +@property(nonatomic, strong, nullable) GTLRDialogflow_GoogleCloudDialogflowCxV3TypeSchemaSchemaReference *schemaReference; + +@end + + +/** + * A reference to the schema of an existing tool. + */ +@interface GTLRDialogflow_GoogleCloudDialogflowCxV3TypeSchemaSchemaReference : GTLRObject + +/** The name of the schema. */ +@property(nonatomic, copy, nullable) NSString *schema; + +/** + * The tool that contains this schema definition. Format: + * `projects//locations//agents//tools/`. + */ +@property(nonatomic, copy, nullable) NSString *tool; + +@end + + /** * UserUtterance represents one message sent by the customer. */ diff --git a/Sources/GeneratedServices/DigitalAssetLinks/Public/GoogleAPIClientForREST/GTLRDigitalAssetLinksObjects.h b/Sources/GeneratedServices/DigitalAssetLinks/Public/GoogleAPIClientForREST/GTLRDigitalAssetLinksObjects.h index 459147c1b..c704e0f44 100644 --- a/Sources/GeneratedServices/DigitalAssetLinks/Public/GoogleAPIClientForREST/GTLRDigitalAssetLinksObjects.h +++ b/Sources/GeneratedServices/DigitalAssetLinks/Public/GoogleAPIClientForREST/GTLRDigitalAssetLinksObjects.h @@ -429,7 +429,13 @@ FOUNDATION_EXTERN NSString * const kGTLRDigitalAssetLinks_ListResponse_ErrorCode */ @property(nonatomic, copy, nullable) NSString *debugString; -/** Error codes that describe the result of the Check operation. */ +/** + * Error codes that describe the result of the Check operation. NOTE: Error + * codes may be populated even when `linked` is true. The error codes do not + * necessarily imply that the request failed, but rather, specify any errors + * encountered in the statements file(s) which may or may not impact whether + * the server determines the requested source and target to be linked. + */ @property(nonatomic, strong, nullable) NSArray *errorCode; /** diff --git a/Sources/GeneratedServices/Directory/GTLRDirectoryObjects.m b/Sources/GeneratedServices/Directory/GTLRDirectoryObjects.m index b008c47a2..9f80bca6c 100644 --- a/Sources/GeneratedServices/Directory/GTLRDirectoryObjects.m +++ b/Sources/GeneratedServices/Directory/GTLRDirectoryObjects.m @@ -70,6 +70,12 @@ NSString * const kGTLRDirectory_ChromeOsDevice_DeviceLicenseType_EnterpriseUpgradePerpetual = @"enterpriseUpgradePerpetual"; NSString * const kGTLRDirectory_ChromeOsDevice_DeviceLicenseType_KioskUpgrade = @"kioskUpgrade"; +// GTLRDirectory_ChromeOsDevice.osVersionCompliance +NSString * const kGTLRDirectory_ChromeOsDevice_OsVersionCompliance_ComplianceUnspecified = @"complianceUnspecified"; +NSString * const kGTLRDirectory_ChromeOsDevice_OsVersionCompliance_Compliant = @"compliant"; +NSString * const kGTLRDirectory_ChromeOsDevice_OsVersionCompliance_NotCompliant = @"notCompliant"; +NSString * const kGTLRDirectory_ChromeOsDevice_OsVersionCompliance_Pending = @"pending"; + // GTLRDirectory_ChromeosdevicesCommand.state NSString * const kGTLRDirectory_ChromeosdevicesCommand_State_AckedByClient = @"ACKED_BY_CLIENT"; NSString * const kGTLRDirectory_ChromeosdevicesCommand_State_Cancelled = @"CANCELLED"; @@ -626,9 +632,10 @@ @implementation GTLRDirectory_ChromeOsDevice extendedSupportStart, fanInfo, firmwareVersion, firstEnrollmentTime, kind, lastDeprovisionTimestamp, lastEnrollmentTime, lastKnownNetwork, lastSync, macAddress, manufactureDate, meid, model, notes, orderNumber, - orgUnitId, orgUnitPath, osUpdateStatus, osVersion, platformVersion, - recentUsers, screenshotFiles, serialNumber, status, supportEndDate, - systemRamFreeReports, systemRamTotal, tpmVersionInfo, willAutoRenew; + orgUnitId, orgUnitPath, osUpdateStatus, osVersion, osVersionCompliance, + platformVersion, recentUsers, screenshotFiles, serialNumber, status, + supportEndDate, systemRamFreeReports, systemRamTotal, tpmVersionInfo, + willAutoRenew; + (NSDictionary *)propertyToJSONKeyMap { return @{ @"ETag" : @"etag" }; diff --git a/Sources/GeneratedServices/Directory/Public/GoogleAPIClientForREST/GTLRDirectoryObjects.h b/Sources/GeneratedServices/Directory/Public/GoogleAPIClientForREST/GTLRDirectoryObjects.h index 3683bd0e9..830ffba31 100644 --- a/Sources/GeneratedServices/Directory/Public/GoogleAPIClientForREST/GTLRDirectoryObjects.h +++ b/Sources/GeneratedServices/Directory/Public/GoogleAPIClientForREST/GTLRDirectoryObjects.h @@ -405,6 +405,34 @@ FOUNDATION_EXTERN NSString * const kGTLRDirectory_ChromeOsDevice_DeviceLicenseTy */ FOUNDATION_EXTERN NSString * const kGTLRDirectory_ChromeOsDevice_DeviceLicenseType_KioskUpgrade; +// ---------------------------------------------------------------------------- +// GTLRDirectory_ChromeOsDevice.osVersionCompliance + +/** + * Compliance status unspecified. + * + * Value: "complianceUnspecified" + */ +FOUNDATION_EXTERN NSString * const kGTLRDirectory_ChromeOsDevice_OsVersionCompliance_ComplianceUnspecified; +/** + * Compliance status compliant. + * + * Value: "compliant" + */ +FOUNDATION_EXTERN NSString * const kGTLRDirectory_ChromeOsDevice_OsVersionCompliance_Compliant; +/** + * Compliance status not compliant. + * + * Value: "notCompliant" + */ +FOUNDATION_EXTERN NSString * const kGTLRDirectory_ChromeOsDevice_OsVersionCompliance_NotCompliant; +/** + * Compliance status pending. + * + * Value: "pending" + */ +FOUNDATION_EXTERN NSString * const kGTLRDirectory_ChromeOsDevice_OsVersionCompliance_Pending; + // ---------------------------------------------------------------------------- // GTLRDirectory_ChromeosdevicesCommand.state @@ -2116,6 +2144,21 @@ FOUNDATION_EXTERN NSString * const kGTLRDirectory_RoleAssignment_AssigneeType_Us /** The Chrome device's operating system version. */ @property(nonatomic, copy, nullable) NSString *osVersion; +/** + * Output only. Compliance status of the OS version. + * + * Likely values: + * @arg @c kGTLRDirectory_ChromeOsDevice_OsVersionCompliance_ComplianceUnspecified + * Compliance status unspecified. (Value: "complianceUnspecified") + * @arg @c kGTLRDirectory_ChromeOsDevice_OsVersionCompliance_Compliant + * Compliance status compliant. (Value: "compliant") + * @arg @c kGTLRDirectory_ChromeOsDevice_OsVersionCompliance_NotCompliant + * Compliance status not compliant. (Value: "notCompliant") + * @arg @c kGTLRDirectory_ChromeOsDevice_OsVersionCompliance_Pending + * Compliance status pending. (Value: "pending") + */ +@property(nonatomic, copy, nullable) NSString *osVersionCompliance; + /** The Chrome device's platform version. */ @property(nonatomic, copy, nullable) NSString *platformVersion; diff --git a/Sources/GeneratedServices/DiscoveryEngine/GTLRDiscoveryEngineObjects.m b/Sources/GeneratedServices/DiscoveryEngine/GTLRDiscoveryEngineObjects.m index c75d1f974..d52ea0a09 100644 --- a/Sources/GeneratedServices/DiscoveryEngine/GTLRDiscoveryEngineObjects.m +++ b/Sources/GeneratedServices/DiscoveryEngine/GTLRDiscoveryEngineObjects.m @@ -628,12 +628,23 @@ NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistAnswer_State_StateUnspecified = @"STATE_UNSPECIFIED"; NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistAnswer_State_Succeeded = @"SUCCEEDED"; +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Assistant.webGroundingType +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Assistant_WebGroundingType_WebGroundingTypeDisabled = @"WEB_GROUNDING_TYPE_DISABLED"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Assistant_WebGroundingType_WebGroundingTypeEnterpriseWebSearch = @"WEB_GROUNDING_TYPE_ENTERPRISE_WEB_SEARCH"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Assistant_WebGroundingType_WebGroundingTypeGoogleSearch = @"WEB_GROUNDING_TYPE_GOOGLE_SEARCH"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Assistant_WebGroundingType_WebGroundingTypeUnspecified = @"WEB_GROUNDING_TYPE_UNSPECIFIED"; + // GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistantContentCodeExecutionResult.outcome NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistantContentCodeExecutionResult_Outcome_OutcomeDeadlineExceeded = @"OUTCOME_DEADLINE_EXCEEDED"; NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistantContentCodeExecutionResult_Outcome_OutcomeFailed = @"OUTCOME_FAILED"; NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistantContentCodeExecutionResult_Outcome_OutcomeOk = @"OUTCOME_OK"; NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistantContentCodeExecutionResult_Outcome_OutcomeUnspecified = @"OUTCOME_UNSPECIFIED"; +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistantCustomerPolicyBannedPhrase.matchType +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistantCustomerPolicyBannedPhrase_MatchType_BannedPhraseMatchTypeUnspecified = @"BANNED_PHRASE_MATCH_TYPE_UNSPECIFIED"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistantCustomerPolicyBannedPhrase_MatchType_SimpleStringMatch = @"SIMPLE_STRING_MATCH"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistantCustomerPolicyBannedPhrase_MatchType_WordBoundaryStringMatch = @"WORD_BOUNDARY_STRING_MATCH"; + // GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1BatchGetDocumentsMetadataResponseDocumentMetadata.state NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1BatchGetDocumentsMetadataResponseDocumentMetadata_State_Indexed = @"INDEXED"; NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1BatchGetDocumentsMetadataResponseDocumentMetadata_State_NotInIndex = @"NOT_IN_INDEX"; @@ -1046,6 +1057,13 @@ NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SafetyRating_Severity_HarmSeverityNegligible = @"HARM_SEVERITY_NEGLIGIBLE"; NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SafetyRating_Severity_HarmSeverityUnspecified = @"HARM_SEVERITY_UNSPECIFIED"; +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SearchRequest.rankingExpressionBackend +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SearchRequest_RankingExpressionBackend_Byoe = @"BYOE"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SearchRequest_RankingExpressionBackend_Clearbox = @"CLEARBOX"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SearchRequest_RankingExpressionBackend_RankByEmbedding = @"RANK_BY_EMBEDDING"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SearchRequest_RankingExpressionBackend_RankByFormula = @"RANK_BY_FORMULA"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SearchRequest_RankingExpressionBackend_RankingExpressionBackendUnspecified = @"RANKING_EXPRESSION_BACKEND_UNSPECIFIED"; + // GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SearchRequest.relevanceThreshold NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SearchRequest_RelevanceThreshold_High = @"HIGH"; NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SearchRequest_RelevanceThreshold_Low = @"LOW"; @@ -1808,7 +1826,7 @@ @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaAclConfig // @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaActionConfig -@dynamic actionParams, isActionConfigured, serviceName; +@dynamic actionParams, isActionConfigured, serviceName, useStaticSecrets; @end @@ -2621,12 +2639,12 @@ @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnect autoRunDisabled, bapConfig, blockingReasons, connectorModes, connectorType, createEuaSaas, createTime, dataSource, destinationConfigs, endUserConfig, entities, errors, - identityRefreshInterval, identityScheduleConfig, - incrementalRefreshInterval, incrementalSyncDisabled, kmsKeyName, - lastSyncTime, latestPauseTime, name, nextSyncTime, params, - privateConnectivityProjectId, realtimeState, realtimeSyncConfig, - refreshInterval, state, staticIpAddresses, staticIpEnabled, syncMode, - updateTime; + hybridIngestionDisabled, identityRefreshInterval, + identityScheduleConfig, incrementalRefreshInterval, + incrementalSyncDisabled, kmsKeyName, lastSyncTime, latestPauseTime, + name, nextSyncTime, params, privateConnectivityProjectId, + realtimeState, realtimeSyncConfig, refreshInterval, state, + staticIpAddresses, staticIpEnabled, syncMode, updateTime; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -5442,7 +5460,21 @@ @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistAnswerRepl // @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Assistant -@dynamic name; +@dynamic customerPolicy, enabledTools, generationConfig, name, webGroundingType; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Assistant_EnabledTools +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Assistant_EnabledTools + ++ (Class)classForAdditionalProperties { + return [GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistantToolList class]; +} + @end @@ -5497,6 +5529,54 @@ @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistantContent @end +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistantCustomerPolicy +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistantCustomerPolicy +@dynamic bannedPhrases; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"bannedPhrases" : [GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistantCustomerPolicyBannedPhrase class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistantCustomerPolicyBannedPhrase +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistantCustomerPolicyBannedPhrase +@dynamic ignoreDiacritics, matchType, phrase; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistantGenerationConfig +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistantGenerationConfig +@dynamic defaultLanguage, systemInstruction; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistantGenerationConfigSystemInstruction +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistantGenerationConfigSystemInstruction +@dynamic additionalSystemInstruction; +@end + + // ---------------------------------------------------------------------------- // // GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistantGroundedContent @@ -5564,6 +5644,34 @@ @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistantGrounde @end +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistantToolInfo +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistantToolInfo +@dynamic toolDisplayName, toolName; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistantToolList +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistantToolList +@dynamic toolInfo; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"toolInfo" : [GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistantToolInfo class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistUserMetadata @@ -7702,7 +7810,7 @@ @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ChunkChunkMetada // @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ChunkDocumentMetadata -@dynamic structData, title, uri; +@dynamic mimeType, structData, title, uri; @end @@ -10047,7 +10155,8 @@ @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SearchRequest @dynamic boostSpec, branch, canonicalFilter, contentSearchSpec, dataStoreSpecs, displaySpec, facetSpecs, filter, imageQuery, languageCode, offset, oneBoxPageSize, orderBy, pageSize, pageToken, params, query, - queryExpansionSpec, relevanceScoreSpec, relevanceThreshold, safeSearch, + queryExpansionSpec, rankingExpression, rankingExpressionBackend, + relevanceScoreSpec, relevanceThreshold, safeSearch, searchAsYouTypeSpec, session, sessionSpec, spellCorrectionSpec, userInfo, userLabels, userPseudoId; @@ -10407,7 +10516,7 @@ @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SearchResponseQu // @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SearchResponseSearchResult -@dynamic chunk, document, identifier, modelScores; +@dynamic chunk, document, identifier, modelScores, rankSignals; + (NSDictionary *)propertyToJSONKeyMap { return @{ @"identifier" : @"id" }; @@ -10430,6 +10539,36 @@ + (Class)classForAdditionalProperties { @end +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SearchResponseSearchResultRankSignals +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SearchResponseSearchResultRankSignals +@dynamic boostingFactor, customSignals, defaultRank, documentAge, + keywordSimilarityScore, pctrRank, relevanceScore, + semanticSimilarityScore, topicalityRank; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"customSignals" : [GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SearchResponseSearchResultRankSignalsCustomSignal class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SearchResponseSearchResultRankSignalsCustomSignal +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SearchResponseSearchResultRankSignalsCustomSignal +@dynamic name, value; +@end + + // ---------------------------------------------------------------------------- // // GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SearchResponseSessionInfo diff --git a/Sources/GeneratedServices/DiscoveryEngine/Public/GoogleAPIClientForREST/GTLRDiscoveryEngineObjects.h b/Sources/GeneratedServices/DiscoveryEngine/Public/GoogleAPIClientForREST/GTLRDiscoveryEngineObjects.h index 2ebb7b94e..df4dd087e 100644 --- a/Sources/GeneratedServices/DiscoveryEngine/Public/GoogleAPIClientForREST/GTLRDiscoveryEngineObjects.h +++ b/Sources/GeneratedServices/DiscoveryEngine/Public/GoogleAPIClientForREST/GTLRDiscoveryEngineObjects.h @@ -260,16 +260,23 @@ @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerStepActionSearchAction; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistAnswer; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistAnswerReply; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Assistant_EnabledTools; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistantContent; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistantContentBlob; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistantContentCodeExecutionResult; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistantContentExecutableCode; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistantContentFile; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistantCustomerPolicy; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistantCustomerPolicyBannedPhrase; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistantGenerationConfig; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistantGenerationConfigSystemInstruction; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistantGroundedContent; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistantGroundedContentTextGroundingMetadata; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistantGroundedContentTextGroundingMetadataReference; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistantGroundedContentTextGroundingMetadataReferenceDocumentMetadata; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistantGroundedContentTextGroundingMetadataSegment; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistantToolInfo; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistantToolList; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistUserMetadata; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1BatchGetDocumentsMetadataResponseDocumentMetadata; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1BatchGetDocumentsMetadataResponseDocumentMetadataMatcherValue; @@ -505,6 +512,8 @@ @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SearchResponseQueryExpansionInfo; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SearchResponseSearchResult; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SearchResponseSearchResult_ModelScores; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SearchResponseSearchResultRankSignals; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SearchResponseSearchResultRankSignalsCustomSignal; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SearchResponseSessionInfo; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SearchResponseSummary; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SearchResponseSummaryCitation; @@ -3644,6 +3653,34 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengi */ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistAnswer_State_Succeeded; +// ---------------------------------------------------------------------------- +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Assistant.webGroundingType + +/** + * Web grounding is disabled. + * + * Value: "WEB_GROUNDING_TYPE_DISABLED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Assistant_WebGroundingType_WebGroundingTypeDisabled; +/** + * Grounding with Enterprise Web Search is enabled. + * + * Value: "WEB_GROUNDING_TYPE_ENTERPRISE_WEB_SEARCH" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Assistant_WebGroundingType_WebGroundingTypeEnterpriseWebSearch; +/** + * Grounding with Google Search is enabled. + * + * Value: "WEB_GROUNDING_TYPE_GOOGLE_SEARCH" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Assistant_WebGroundingType_WebGroundingTypeGoogleSearch; +/** + * Default, unspecified setting. This is the same as disabled. + * + * Value: "WEB_GROUNDING_TYPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Assistant_WebGroundingType_WebGroundingTypeUnspecified; + // ---------------------------------------------------------------------------- // GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistantContentCodeExecutionResult.outcome @@ -3674,6 +3711,30 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengi */ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistantContentCodeExecutionResult_Outcome_OutcomeUnspecified; +// ---------------------------------------------------------------------------- +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistantCustomerPolicyBannedPhrase.matchType + +/** + * Defaults to SIMPLE_STRING_MATCH. + * + * Value: "BANNED_PHRASE_MATCH_TYPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistantCustomerPolicyBannedPhrase_MatchType_BannedPhraseMatchTypeUnspecified; +/** + * The banned phrase matches if it is found anywhere in the text as an exact + * substring. + * + * Value: "SIMPLE_STRING_MATCH" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistantCustomerPolicyBannedPhrase_MatchType_SimpleStringMatch; +/** + * Banned phrase only matches if the pattern found in the text is surrounded by + * word delimiters. The phrase itself may still contain word delimiters. + * + * Value: "WORD_BOUNDARY_STRING_MATCH" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistantCustomerPolicyBannedPhrase_MatchType_WordBoundaryStringMatch; + // ---------------------------------------------------------------------------- // GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1BatchGetDocumentsMetadataResponseDocumentMetadata.state @@ -5679,6 +5740,44 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengi */ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SafetyRating_Severity_HarmSeverityUnspecified; +// ---------------------------------------------------------------------------- +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SearchRequest.rankingExpressionBackend + +/** + * Deprecated: Use `RANK_BY_EMBEDDING` instead. Ranking by custom embedding + * model, the default way to evaluate the ranking expression. Legacy enum + * option, `RANK_BY_EMBEDDING` should be used instead. + * + * Value: "BYOE" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SearchRequest_RankingExpressionBackend_Byoe GTLR_DEPRECATED; +/** + * Deprecated: Use `RANK_BY_FORMULA` instead. Ranking by custom formula. Legacy + * enum option, `RANK_BY_FORMULA` should be used instead. + * + * Value: "CLEARBOX" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SearchRequest_RankingExpressionBackend_Clearbox GTLR_DEPRECATED; +/** + * Ranking by custom embedding model, the default way to evaluate the ranking + * expression. + * + * Value: "RANK_BY_EMBEDDING" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SearchRequest_RankingExpressionBackend_RankByEmbedding; +/** + * Ranking by custom formula. + * + * Value: "RANK_BY_FORMULA" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SearchRequest_RankingExpressionBackend_RankByFormula; +/** + * Default option for unspecified/unknown values. + * + * Value: "RANKING_EXPRESSION_BACKEND_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SearchRequest_RankingExpressionBackend_RankingExpressionBackendUnspecified; + // ---------------------------------------------------------------------------- // GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SearchRequest.relevanceThreshold @@ -8066,6 +8165,14 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe */ @property(nonatomic, copy, nullable) NSString *serviceName; +/** + * Optional. Whether to use static secrets for the connector. If true, the + * secrets provided in the action_params will be ignored. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *useStaticSecrets; + @end @@ -9849,6 +9956,16 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe */ @property(nonatomic, strong, nullable) NSArray *errors; +/** + * Optional. If the connector is a hybrid connector, determines whether + * ingestion is enabled and appropriate resources are provisioned during + * connector creation. If the connector is not a hybrid connector, this field + * is ignored. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *hybridIngestionDisabled; + /** * The refresh interval to sync the Access Control List information for the * documents ingested by this connector. If not set, the access control list @@ -12422,8 +12539,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe /** * A comma-separated list of fields to order by, sorted in ascending order. Use * "desc" after a field name for descending. Supported fields: * `update_time` - * * `create_time` * `session_name` * `is_pinned` Example: * "update_time desc" - * * "create_time" * "is_pinned desc,update_time desc": list sessions by + * * `create_time` * `session_name` * `is_pinned` Example: * `update_time desc` + * * `create_time` * `is_pinned desc,update_time desc`: list sessions by * is_pinned first, then by update_time. */ @property(nonatomic, copy, nullable) NSString *orderBy; @@ -14273,6 +14390,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe /** * Required. Full resource name of DataStore, such as * `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}`. + * The path must include the project number, project id is not supported for + * this field. */ @property(nonatomic, copy, nullable) NSString *dataStore; @@ -16800,6 +16919,24 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe */ @interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Assistant : GTLRObject +/** Optional. Customer policy for the assistant. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistantCustomerPolicy *customerPolicy; + +/** + * Optional. Note: not implemented yet. Use enabled_actions instead. The + * enabled tools on this assistant. The keys are connector name, for example + * "projects/{projectId}/locations/{locationId}/collections/{collectionId}/dataconnector + * The values consist of admin enabled tools towards the connector instance. + * Admin can selectively enable multiple tools on any of the connector + * instances that they created in the project. For example + * {"jira1ConnectorName": [(toolId1, "createTicket"), (toolId2, + * "transferTicket")], "gmail1ConnectorName": [(toolId3, "sendEmail"),..] } + */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Assistant_EnabledTools *enabledTools; + +/** Optional. Configuration for the generation of the assistant response. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistantGenerationConfig *generationConfig; + /** * Immutable. Resource name of the assistant. Format: * `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/assistants/{assistant}` @@ -16807,6 +16944,44 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe */ @property(nonatomic, copy, nullable) NSString *name; +/** + * Optional. The type of web grounding to use. + * + * Likely values: + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Assistant_WebGroundingType_WebGroundingTypeDisabled + * Web grounding is disabled. (Value: "WEB_GROUNDING_TYPE_DISABLED") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Assistant_WebGroundingType_WebGroundingTypeEnterpriseWebSearch + * Grounding with Enterprise Web Search is enabled. (Value: + * "WEB_GROUNDING_TYPE_ENTERPRISE_WEB_SEARCH") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Assistant_WebGroundingType_WebGroundingTypeGoogleSearch + * Grounding with Google Search is enabled. (Value: + * "WEB_GROUNDING_TYPE_GOOGLE_SEARCH") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Assistant_WebGroundingType_WebGroundingTypeUnspecified + * Default, unspecified setting. This is the same as disabled. (Value: + * "WEB_GROUNDING_TYPE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *webGroundingType; + +@end + + +/** + * Optional. Note: not implemented yet. Use enabled_actions instead. The + * enabled tools on this assistant. The keys are connector name, for example + * "projects/{projectId}/locations/{locationId}/collections/{collectionId}/dataconnector + * The values consist of admin enabled tools towards the connector instance. + * Admin can selectively enable multiple tools on any of the connector + * instances that they created in the project. For example + * {"jira1ConnectorName": [(toolId1, "createTicket"), (toolId2, + * "transferTicket")], "gmail1ConnectorName": [(toolId3, "sendEmail"),..] } + * + * @note This class is documented as having more properties of + * GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistantToolList. Use + * @c -additionalJSONKeys and @c -additionalPropertyForName: to get the + * list of properties and then fetch them; or @c -additionalProperties to + * fetch them all at once. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Assistant_EnabledTools : GTLRObject @end @@ -16919,6 +17094,91 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe @end +/** + * Customer-defined policy for the assistant. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistantCustomerPolicy : GTLRObject + +/** Optional. List of banned phrases. */ +@property(nonatomic, strong, nullable) NSArray *bannedPhrases; + +@end + + +/** + * Definition of a customer-defined banned phrase. A banned phrase is not + * allowed to appear in the user query or the LLM response, or else the answer + * will be refused. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistantCustomerPolicyBannedPhrase : GTLRObject + +/** + * Optional. If true, diacritical marks (e.g., accents, umlauts) are ignored + * when matching banned phrases. For example, "cafe" would match "café". + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *ignoreDiacritics; + +/** + * Optional. Match type for the banned phrase. + * + * Likely values: + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistantCustomerPolicyBannedPhrase_MatchType_BannedPhraseMatchTypeUnspecified + * Defaults to SIMPLE_STRING_MATCH. (Value: + * "BANNED_PHRASE_MATCH_TYPE_UNSPECIFIED") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistantCustomerPolicyBannedPhrase_MatchType_SimpleStringMatch + * The banned phrase matches if it is found anywhere in the text as an + * exact substring. (Value: "SIMPLE_STRING_MATCH") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistantCustomerPolicyBannedPhrase_MatchType_WordBoundaryStringMatch + * Banned phrase only matches if the pattern found in the text is + * surrounded by word delimiters. The phrase itself may still contain + * word delimiters. (Value: "WORD_BOUNDARY_STRING_MATCH") + */ +@property(nonatomic, copy, nullable) NSString *matchType; + +/** Required. The raw string content to be banned. */ +@property(nonatomic, copy, nullable) NSString *phrase; + +@end + + +/** + * Configuration for the generation of the assistant response. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistantGenerationConfig : GTLRObject + +/** + * The default language to use for the generation of the assistant response. + * Use an ISO 639-1 language code such as `en`. If not specified, the language + * will be automatically detected. + */ +@property(nonatomic, copy, nullable) NSString *defaultLanguage; + +/** + * System instruction, also known as the prompt preamble for LLM calls. See + * also + * https://cloud.google.com/vertex-ai/generative-ai/docs/learn/prompts/system-instructions + */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistantGenerationConfigSystemInstruction *systemInstruction; + +@end + + +/** + * System instruction, also known as the prompt preamble for LLM calls. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistantGenerationConfigSystemInstruction : GTLRObject + +/** + * Optional. Additional system instruction that will be added to the default + * system instruction. + */ +@property(nonatomic, copy, nullable) NSString *additionalSystemInstruction; + +@end + + /** * A piece of content and possibly its grounding information. Not all content * needs grounding. Phrases like "Of course, I will gladly search it for you." @@ -17034,6 +17294,35 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe @end +/** + * Information to identify a tool. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistantToolInfo : GTLRObject + +/** The display name of the tool. */ +@property(nonatomic, copy, nullable) NSString *toolDisplayName; + +/** + * The name of the tool as defined by + * DataConnectorService.QueryAvailableActions. Note: it's using `action` in the + * DataConnectorService apis, but they are the same as the `tool` here. + */ +@property(nonatomic, copy, nullable) NSString *toolName; + +@end + + +/** + * The enabled tools on a connector + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistantToolList : GTLRObject + +/** The list of tools with corresponding tool information. */ +@property(nonatomic, strong, nullable) NSArray *toolInfo; + +@end + + /** * User metadata of the request. */ @@ -20887,6 +21176,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe /** * Required. Full resource name of DataStore, such as * `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}`. + * The path must include the project number, project id is not supported for + * this field. */ @property(nonatomic, copy, nullable) NSString *dataStore; @@ -22388,6 +22679,12 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe */ @interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ChunkDocumentMetadata : GTLRObject +/** + * The mime type of the document. + * https://www.iana.org/assignments/media-types/media-types.xhtml. + */ +@property(nonatomic, copy, nullable) NSString *mimeType; + /** * Data representation. The structured JSON data for the document. It should * conform to the registered Schema or an `INVALID_ARGUMENT` error is thrown. @@ -27301,6 +27598,88 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe */ @property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SearchRequestQueryExpansionSpec *queryExpansionSpec; +/** + * Optional. The ranking expression controls the customized ranking on + * retrieval documents. This overrides ServingConfig.ranking_expression. The + * syntax and supported features depend on the `ranking_expression_backend` + * value. If `ranking_expression_backend` is not provided, it defaults to + * `RANK_BY_EMBEDDING`. If ranking_expression_backend is not provided or set to + * `RANK_BY_EMBEDDING`, it should be a single function or multiple functions + * that are joined by "+". * ranking_expression = function, { " + ", function + * }; Supported functions: * double * relevance_score * double * + * dotProduct(embedding_field_path) Function variables: * `relevance_score`: + * pre-defined keywords, used for measure relevance between query and document. + * * `embedding_field_path`: the document embedding field used with query + * embedding vector. * `dotProduct`: embedding function between + * `embedding_field_path` and query embedding vector. Example ranking + * expression: If document has an embedding field doc_embedding, the ranking + * expression could be `0.5 * relevance_score + 0.3 * + * dotProduct(doc_embedding)`. If ranking_expression_backend is set to + * `RANK_BY_FORMULA`, the following expression types (and combinations of those + * chained using + or * operators) are supported: * `double` * `signal` * + * `log(signal)` * `exp(signal)` * `rr(signal, double > 0)` -- reciprocal rank + * transformation with second argument being a denominator constant. * + * `is_nan(signal)` -- returns 0 if signal is NaN, 1 otherwise. * + * `fill_nan(signal1, signal2 | double)` -- if signal1 is NaN, returns signal2 + * | double, else returns signal1. Here are a few examples of ranking formulas + * that use the supported ranking expression types: - `0.2 * + * semantic_similarity_score + 0.8 * log(keyword_similarity_score)` -- mostly + * rank by the logarithm of `keyword_similarity_score` with slight + * `semantic_smilarity_score` adjustment. - `0.2 * + * exp(fill_nan(semantic_similarity_score, 0)) + 0.3 * + * is_nan(keyword_similarity_score)` -- rank by the exponent of + * `semantic_similarity_score` filling the value with 0 if it's NaN, also add + * constant 0.3 adjustment to the final score if `semantic_similarity_score` is + * NaN. - `0.2 * rr(semantic_similarity_score, 16) + 0.8 * + * rr(keyword_similarity_score, 16)` -- mostly rank by the reciprocal rank of + * `keyword_similarity_score` with slight adjustment of reciprocal rank of + * `semantic_smilarity_score`. The following signals are supported: * + * `semantic_similarity_score`: semantic similarity adjustment that is + * calculated using the embeddings generated by a proprietary Google model. + * This score determines how semantically similar a search query is to a + * document. * `keyword_similarity_score`: keyword match adjustment uses the + * Best Match 25 (BM25) ranking function. This score is calculated using a + * probabilistic model to estimate the probability that a document is relevant + * to a given query. * `relevance_score`: semantic relevance adjustment that + * uses a proprietary Google model to determine the meaning and intent behind a + * user's query in context with the content in the documents. * `pctr_rank`: + * predicted conversion rate adjustment as a rank use predicted Click-through + * rate (pCTR) to gauge the relevance and attractiveness of a search result + * from a user's perspective. A higher pCTR suggests that the result is more + * likely to satisfy the user's query and intent, making it a valuable signal + * for ranking. * `freshness_rank`: freshness adjustment as a rank * + * `document_age`: The time in hours elapsed since the document was last + * updated, a floating-point number (e.g., 0.25 means 15 minutes). * + * `topicality_rank`: topicality adjustment as a rank. Uses proprietary Google + * model to determine the keyword-based overlap between the query and the + * document. * `base_rank`: the default rank of the result + */ +@property(nonatomic, copy, nullable) NSString *rankingExpression; + +/** + * Optional. The backend to use for the ranking expression evaluation. + * + * Likely values: + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SearchRequest_RankingExpressionBackend_Byoe + * Deprecated: Use `RANK_BY_EMBEDDING` instead. Ranking by custom + * embedding model, the default way to evaluate the ranking expression. + * Legacy enum option, `RANK_BY_EMBEDDING` should be used instead. + * (Value: "BYOE") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SearchRequest_RankingExpressionBackend_Clearbox + * Deprecated: Use `RANK_BY_FORMULA` instead. Ranking by custom formula. + * Legacy enum option, `RANK_BY_FORMULA` should be used instead. (Value: + * "CLEARBOX") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SearchRequest_RankingExpressionBackend_RankByEmbedding + * Ranking by custom embedding model, the default way to evaluate the + * ranking expression. (Value: "RANK_BY_EMBEDDING") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SearchRequest_RankingExpressionBackend_RankByFormula + * Ranking by custom formula. (Value: "RANK_BY_FORMULA") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SearchRequest_RankingExpressionBackend_RankingExpressionBackendUnspecified + * Default option for unspecified/unknown values. (Value: + * "RANKING_EXPRESSION_BACKEND_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *rankingExpressionBackend; + /** Optional. The specification for returning the relevance score. */ @property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SearchRequestRelevanceScoreSpec *relevanceScoreSpec; @@ -27938,6 +28317,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe /** * Required. Full resource name of DataStore, such as * `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}`. + * The path must include the project number, project id is not supported for + * this field. */ @property(nonatomic, copy, nullable) NSString *dataStore; @@ -28430,6 +28811,9 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe /** Output only. Google provided available scores. */ @property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SearchResponseSearchResult_ModelScores *modelScores; +/** Optional. A set of ranking signals associated with the result. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SearchResponseSearchResultRankSignals *rankSignals; + @end @@ -28446,6 +28830,91 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe @end +/** + * A set of ranking signals. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SearchResponseSearchResultRankSignals : GTLRObject + +/** + * Optional. Combined custom boosts for a doc. + * + * Uses NSNumber of floatValue. + */ +@property(nonatomic, strong, nullable) NSNumber *boostingFactor; + +/** Optional. A list of custom clearbox signals. */ +@property(nonatomic, strong, nullable) NSArray *customSignals; + +/** + * Optional. The default rank of the result. + * + * Uses NSNumber of floatValue. + */ +@property(nonatomic, strong, nullable) NSNumber *defaultRank; + +/** + * Optional. Age of the document in hours. + * + * Uses NSNumber of floatValue. + */ +@property(nonatomic, strong, nullable) NSNumber *documentAge; + +/** + * Optional. Keyword matching adjustment. + * + * Uses NSNumber of floatValue. + */ +@property(nonatomic, strong, nullable) NSNumber *keywordSimilarityScore; + +/** + * Optional. Predicted conversion rate adjustment as a rank. + * + * Uses NSNumber of floatValue. + */ +@property(nonatomic, strong, nullable) NSNumber *pctrRank; + +/** + * Optional. Semantic relevance adjustment. + * + * Uses NSNumber of floatValue. + */ +@property(nonatomic, strong, nullable) NSNumber *relevanceScore; + +/** + * Optional. Semantic similarity adjustment. + * + * Uses NSNumber of floatValue. + */ +@property(nonatomic, strong, nullable) NSNumber *semanticSimilarityScore; + +/** + * Optional. Topicality adjustment as a rank. + * + * Uses NSNumber of floatValue. + */ +@property(nonatomic, strong, nullable) NSNumber *topicalityRank; + +@end + + +/** + * Custom clearbox signal represented by name and value pair. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SearchResponseSearchResultRankSignalsCustomSignal : GTLRObject + +/** Optional. Name of the signal. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Optional. Float value representing the ranking signal (e.g. 1.25 for BM25). + * + * Uses NSNumber of floatValue. + */ +@property(nonatomic, strong, nullable) NSNumber *value; + +@end + + /** * Information about the session. */ diff --git a/Sources/GeneratedServices/DiscoveryEngine/Public/GoogleAPIClientForREST/GTLRDiscoveryEngineQuery.h b/Sources/GeneratedServices/DiscoveryEngine/Public/GoogleAPIClientForREST/GTLRDiscoveryEngineQuery.h index 95cca5f68..e0d214611 100644 --- a/Sources/GeneratedServices/DiscoveryEngine/Public/GoogleAPIClientForREST/GTLRDiscoveryEngineQuery.h +++ b/Sources/GeneratedServices/DiscoveryEngine/Public/GoogleAPIClientForREST/GTLRDiscoveryEngineQuery.h @@ -2607,8 +2607,8 @@ NS_ASSUME_NONNULL_BEGIN /** * A comma-separated list of fields to order by, sorted in ascending order. Use * "desc" after a field name for descending. Supported fields: * `update_time` - * * `create_time` * `session_name` * `is_pinned` Example: * "update_time desc" - * * "create_time" * "is_pinned desc,update_time desc": list sessions by + * * `create_time` * `session_name` * `is_pinned` Example: * `update_time desc` + * * `create_time` * `is_pinned desc,update_time desc`: list sessions by * is_pinned first, then by update_time. */ @property(nonatomic, copy, nullable) NSString *orderBy; @@ -5069,8 +5069,8 @@ NS_ASSUME_NONNULL_BEGIN /** * A comma-separated list of fields to order by, sorted in ascending order. Use * "desc" after a field name for descending. Supported fields: * `update_time` - * * `create_time` * `session_name` * `is_pinned` Example: * "update_time desc" - * * "create_time" * "is_pinned desc,update_time desc": list sessions by + * * `create_time` * `session_name` * `is_pinned` Example: * `update_time desc` + * * `create_time` * `is_pinned desc,update_time desc`: list sessions by * is_pinned first, then by update_time. */ @property(nonatomic, copy, nullable) NSString *orderBy; @@ -7431,8 +7431,8 @@ NS_ASSUME_NONNULL_BEGIN /** * A comma-separated list of fields to order by, sorted in ascending order. Use * "desc" after a field name for descending. Supported fields: * `update_time` - * * `create_time` * `session_name` * `is_pinned` Example: * "update_time desc" - * * "create_time" * "is_pinned desc,update_time desc": list sessions by + * * `create_time` * `session_name` * `is_pinned` Example: * `update_time desc` + * * `create_time` * `is_pinned desc,update_time desc`: list sessions by * is_pinned first, then by update_time. */ @property(nonatomic, copy, nullable) NSString *orderBy; diff --git a/Sources/GeneratedServices/DisplayVideo/GTLRDisplayVideoObjects.m b/Sources/GeneratedServices/DisplayVideo/GTLRDisplayVideoObjects.m index 2c209578e..0c4f9271d 100644 --- a/Sources/GeneratedServices/DisplayVideo/GTLRDisplayVideoObjects.m +++ b/Sources/GeneratedServices/DisplayVideo/GTLRDisplayVideoObjects.m @@ -920,6 +920,11 @@ NSString * const kGTLRDisplayVideo_CustomBiddingAlgorithm_EntityStatus_EntityStatusScheduledForDeletion = @"ENTITY_STATUS_SCHEDULED_FOR_DELETION"; NSString * const kGTLRDisplayVideo_CustomBiddingAlgorithm_EntityStatus_EntityStatusUnspecified = @"ENTITY_STATUS_UNSPECIFIED"; +// GTLRDisplayVideo_CustomBiddingAlgorithm.thirdPartyOptimizationPartner +NSString * const kGTLRDisplayVideo_CustomBiddingAlgorithm_ThirdPartyOptimizationPartner_Adelaide = @"ADELAIDE"; +NSString * const kGTLRDisplayVideo_CustomBiddingAlgorithm_ThirdPartyOptimizationPartner_Scibids = @"SCIBIDS"; +NSString * const kGTLRDisplayVideo_CustomBiddingAlgorithm_ThirdPartyOptimizationPartner_Unknown = @"UNKNOWN"; + // GTLRDisplayVideo_CustomBiddingAlgorithmRules.state NSString * const kGTLRDisplayVideo_CustomBiddingAlgorithmRules_State_Accepted = @"ACCEPTED"; NSString * const kGTLRDisplayVideo_CustomBiddingAlgorithmRules_State_Rejected = @"REJECTED"; @@ -4321,7 +4326,7 @@ @implementation GTLRDisplayVideo_CreativeConfig @implementation GTLRDisplayVideo_CustomBiddingAlgorithm @dynamic advertiserId, customBiddingAlgorithmId, customBiddingAlgorithmType, displayName, entityStatus, modelDetails, name, partnerId, - sharedAdvertiserIds; + sharedAdvertiserIds, thirdPartyOptimizationPartner; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ diff --git a/Sources/GeneratedServices/DisplayVideo/Public/GoogleAPIClientForREST/GTLRDisplayVideoObjects.h b/Sources/GeneratedServices/DisplayVideo/Public/GoogleAPIClientForREST/GTLRDisplayVideoObjects.h index a90b2d596..6febe5418 100644 --- a/Sources/GeneratedServices/DisplayVideo/Public/GoogleAPIClientForREST/GTLRDisplayVideoObjects.h +++ b/Sources/GeneratedServices/DisplayVideo/Public/GoogleAPIClientForREST/GTLRDisplayVideoObjects.h @@ -5379,6 +5379,30 @@ FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_CustomBiddingAlgorithm_Enti */ FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_CustomBiddingAlgorithm_EntityStatus_EntityStatusUnspecified; +// ---------------------------------------------------------------------------- +// GTLRDisplayVideo_CustomBiddingAlgorithm.thirdPartyOptimizationPartner + +/** + * Third party attention measurement service provider that DV3 + * partners/advertisers can partner with. + * + * Value: "ADELAIDE" + */ +FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_CustomBiddingAlgorithm_ThirdPartyOptimizationPartner_Adelaide; +/** + * Third party data science service provider that DV3 partners/advertisers can + * partner with. + * + * Value: "SCIBIDS" + */ +FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_CustomBiddingAlgorithm_ThirdPartyOptimizationPartner_Scibids; +/** + * Type value is not specified or is unknown in this version. + * + * Value: "UNKNOWN" + */ +FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_CustomBiddingAlgorithm_ThirdPartyOptimizationPartner_Unknown; + // ---------------------------------------------------------------------------- // GTLRDisplayVideo_CustomBiddingAlgorithmRules.state @@ -19558,7 +19582,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_YoutubeVideoDetails_Unavail /** * Required. A field mask identifying which fields to update. Only the - * following fields are currently supported: * entityStatus + * following fields are currently supported: * entityStatus * + * containsEuPoliticalAdvertising * * String format is a comma-separated list of fields. */ @@ -22104,6 +22129,23 @@ FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_YoutubeVideoDetails_Unavail */ @property(nonatomic, strong, nullable) NSArray *sharedAdvertiserIds; +/** + * Optional. Immutable. Designates the third party optimization partner that + * manages this algorithm. + * + * Likely values: + * @arg @c kGTLRDisplayVideo_CustomBiddingAlgorithm_ThirdPartyOptimizationPartner_Adelaide + * Third party attention measurement service provider that DV3 + * partners/advertisers can partner with. (Value: "ADELAIDE") + * @arg @c kGTLRDisplayVideo_CustomBiddingAlgorithm_ThirdPartyOptimizationPartner_Scibids + * Third party data science service provider that DV3 + * partners/advertisers can partner with. (Value: "SCIBIDS") + * @arg @c kGTLRDisplayVideo_CustomBiddingAlgorithm_ThirdPartyOptimizationPartner_Unknown + * Type value is not specified or is unknown in this version. (Value: + * "UNKNOWN") + */ +@property(nonatomic, copy, nullable) NSString *thirdPartyOptimizationPartner; + @end diff --git a/Sources/GeneratedServices/Document/GTLRDocumentObjects.m b/Sources/GeneratedServices/Document/GTLRDocumentObjects.m index 8e81c1279..2c47ef8ce 100644 --- a/Sources/GeneratedServices/Document/GTLRDocumentObjects.m +++ b/Sources/GeneratedServices/Document/GTLRDocumentObjects.m @@ -123,6 +123,11 @@ NSString * const kGTLRDocument_GoogleCloudDocumentaiV1CommonOperationMetadata_State_StateUnspecified = @"STATE_UNSPECIFIED"; NSString * const kGTLRDocument_GoogleCloudDocumentaiV1CommonOperationMetadata_State_Succeeded = @"SUCCEEDED"; +// GTLRDocument_GoogleCloudDocumentaiV1DocumentEntity.method +NSString * const kGTLRDocument_GoogleCloudDocumentaiV1DocumentEntity_Method_Derive = @"DERIVE"; +NSString * const kGTLRDocument_GoogleCloudDocumentaiV1DocumentEntity_Method_Extract = @"EXTRACT"; +NSString * const kGTLRDocument_GoogleCloudDocumentaiV1DocumentEntity_Method_MethodUnspecified = @"METHOD_UNSPECIFIED"; + // GTLRDocument_GoogleCloudDocumentaiV1DocumentPageAnchorPageRef.layoutType NSString * const kGTLRDocument_GoogleCloudDocumentaiV1DocumentPageAnchorPageRef_LayoutType_Block = @"BLOCK"; NSString * const kGTLRDocument_GoogleCloudDocumentaiV1DocumentPageAnchorPageRef_LayoutType_FormField = @"FORM_FIELD"; @@ -168,6 +173,13 @@ NSString * const kGTLRDocument_GoogleCloudDocumentaiV1DocumentSchemaEntityTypeProperty_OccurrenceType_RequiredMultiple = @"REQUIRED_MULTIPLE"; NSString * const kGTLRDocument_GoogleCloudDocumentaiV1DocumentSchemaEntityTypeProperty_OccurrenceType_RequiredOnce = @"REQUIRED_ONCE"; +// GTLRDocument_GoogleCloudDocumentaiV1DocumentValidationOutputValidationResult.validationResultType +NSString * const kGTLRDocument_GoogleCloudDocumentaiV1DocumentValidationOutputValidationResult_ValidationResultType_ValidationResultTypeInvalid = @"VALIDATION_RESULT_TYPE_INVALID"; +NSString * const kGTLRDocument_GoogleCloudDocumentaiV1DocumentValidationOutputValidationResult_ValidationResultType_ValidationResultTypeNotApplicable = @"VALIDATION_RESULT_TYPE_NOT_APPLICABLE"; +NSString * const kGTLRDocument_GoogleCloudDocumentaiV1DocumentValidationOutputValidationResult_ValidationResultType_ValidationResultTypeSkipped = @"VALIDATION_RESULT_TYPE_SKIPPED"; +NSString * const kGTLRDocument_GoogleCloudDocumentaiV1DocumentValidationOutputValidationResult_ValidationResultType_ValidationResultTypeUnspecified = @"VALIDATION_RESULT_TYPE_UNSPECIFIED"; +NSString * const kGTLRDocument_GoogleCloudDocumentaiV1DocumentValidationOutputValidationResult_ValidationResultType_ValidationResultTypeValid = @"VALIDATION_RESULT_TYPE_VALID"; + // GTLRDocument_GoogleCloudDocumentaiV1EvaluationMultiConfidenceMetrics.metricsType NSString * const kGTLRDocument_GoogleCloudDocumentaiV1EvaluationMultiConfidenceMetrics_MetricsType_Aggregate = @"AGGREGATE"; NSString * const kGTLRDocument_GoogleCloudDocumentaiV1EvaluationMultiConfidenceMetrics_MetricsType_MetricsTypeUnspecified = @"METRICS_TYPE_UNSPECIFIED"; @@ -1546,7 +1558,7 @@ @implementation GTLRDocument_GoogleCloudDocumentaiV1DisableProcessorResponse @implementation GTLRDocument_GoogleCloudDocumentaiV1Document @dynamic chunkedDocument, content, docid, documentLayout, entities, entityRelations, error, mimeType, pages, revisions, shardInfo, text, - textChanges, textStyles, uri; + textChanges, textStyles, uri, validationOutputs; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -1555,7 +1567,8 @@ @implementation GTLRDocument_GoogleCloudDocumentaiV1Document @"pages" : [GTLRDocument_GoogleCloudDocumentaiV1DocumentPage class], @"revisions" : [GTLRDocument_GoogleCloudDocumentaiV1DocumentRevision class], @"textChanges" : [GTLRDocument_GoogleCloudDocumentaiV1DocumentTextChange class], - @"textStyles" : [GTLRDocument_GoogleCloudDocumentaiV1DocumentStyle class] + @"textStyles" : [GTLRDocument_GoogleCloudDocumentaiV1DocumentStyle class], + @"validationOutputs" : [GTLRDocument_GoogleCloudDocumentaiV1DocumentValidationOutput class] }; return map; } @@ -1784,8 +1797,9 @@ @implementation GTLRDocument_GoogleCloudDocumentaiV1DocumentDocumentLayoutDocume // @implementation GTLRDocument_GoogleCloudDocumentaiV1DocumentEntity -@dynamic confidence, identifier, mentionId, mentionText, normalizedValue, - pageAnchor, properties, provenance, redacted, textAnchor, type; +@dynamic confidence, identifier, mentionId, mentionText, method, + normalizedValue, pageAnchor, properties, provenance, redacted, + textAnchor, type; + (NSDictionary *)propertyToJSONKeyMap { return @{ @"identifier" : @"id" }; @@ -2432,6 +2446,34 @@ @implementation GTLRDocument_GoogleCloudDocumentaiV1DocumentTextChange @end +// ---------------------------------------------------------------------------- +// +// GTLRDocument_GoogleCloudDocumentaiV1DocumentValidationOutput +// + +@implementation GTLRDocument_GoogleCloudDocumentaiV1DocumentValidationOutput +@dynamic passAllRules, validationResults; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"validationResults" : [GTLRDocument_GoogleCloudDocumentaiV1DocumentValidationOutputValidationResult class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDocument_GoogleCloudDocumentaiV1DocumentValidationOutputValidationResult +// + +@implementation GTLRDocument_GoogleCloudDocumentaiV1DocumentValidationOutputValidationResult +@dynamic ruleDescription, ruleName, validationDetails, validationResultType; +@end + + // ---------------------------------------------------------------------------- // // GTLRDocument_GoogleCloudDocumentaiV1EnableProcessorMetadata diff --git a/Sources/GeneratedServices/Document/Public/GoogleAPIClientForREST/GTLRDocumentObjects.h b/Sources/GeneratedServices/Document/Public/GoogleAPIClientForREST/GTLRDocumentObjects.h index 433fe9623..ff2ba294a 100644 --- a/Sources/GeneratedServices/Document/Public/GoogleAPIClientForREST/GTLRDocumentObjects.h +++ b/Sources/GeneratedServices/Document/Public/GoogleAPIClientForREST/GTLRDocumentObjects.h @@ -114,6 +114,8 @@ @class GTLRDocument_GoogleCloudDocumentaiV1DocumentTextAnchor; @class GTLRDocument_GoogleCloudDocumentaiV1DocumentTextAnchorTextSegment; @class GTLRDocument_GoogleCloudDocumentaiV1DocumentTextChange; +@class GTLRDocument_GoogleCloudDocumentaiV1DocumentValidationOutput; +@class GTLRDocument_GoogleCloudDocumentaiV1DocumentValidationOutputValidationResult; @class GTLRDocument_GoogleCloudDocumentaiV1Evaluation; @class GTLRDocument_GoogleCloudDocumentaiV1Evaluation_EntityMetrics; @class GTLRDocument_GoogleCloudDocumentaiV1EvaluationConfidenceLevelMetrics; @@ -697,6 +699,29 @@ FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1CommonOp */ FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1CommonOperationMetadata_State_Succeeded; +// ---------------------------------------------------------------------------- +// GTLRDocument_GoogleCloudDocumentaiV1DocumentEntity.method + +/** + * The entity's value is derived through inference and is not necessarily an + * exact text extraction from the document. + * + * Value: "DERIVE" + */ +FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1DocumentEntity_Method_Derive; +/** + * The entity's value is directly extracted as-is from the document text. + * + * Value: "EXTRACT" + */ +FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1DocumentEntity_Method_Extract; +/** + * When the method is not specified, it should be treated as `EXTRACT`. + * + * Value: "METHOD_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1DocumentEntity_Method_MethodUnspecified; + // ---------------------------------------------------------------------------- // GTLRDocument_GoogleCloudDocumentaiV1DocumentPageAnchorPageRef.layoutType @@ -930,6 +955,40 @@ FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1Document */ FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1DocumentSchemaEntityTypeProperty_OccurrenceType_RequiredOnce; +// ---------------------------------------------------------------------------- +// GTLRDocument_GoogleCloudDocumentaiV1DocumentValidationOutputValidationResult.validationResultType + +/** + * The validation is invalid. + * + * Value: "VALIDATION_RESULT_TYPE_INVALID" + */ +FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1DocumentValidationOutputValidationResult_ValidationResultType_ValidationResultTypeInvalid; +/** + * The validation is not applicable. + * + * Value: "VALIDATION_RESULT_TYPE_NOT_APPLICABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1DocumentValidationOutputValidationResult_ValidationResultType_ValidationResultTypeNotApplicable; +/** + * The validation is skipped. + * + * Value: "VALIDATION_RESULT_TYPE_SKIPPED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1DocumentValidationOutputValidationResult_ValidationResultType_ValidationResultTypeSkipped; +/** + * The validation result type is unspecified. + * + * Value: "VALIDATION_RESULT_TYPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1DocumentValidationOutputValidationResult_ValidationResultType_ValidationResultTypeUnspecified; +/** + * The validation is valid. + * + * Value: "VALIDATION_RESULT_TYPE_VALID" + */ +FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1DocumentValidationOutputValidationResult_ValidationResultType_ValidationResultTypeValid; + // ---------------------------------------------------------------------------- // GTLRDocument_GoogleCloudDocumentaiV1EvaluationMultiConfidenceMetrics.metricsType @@ -3349,6 +3408,12 @@ FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1TrainPro */ @property(nonatomic, copy, nullable) NSString *uri; +/** + * The output of the validation given the document and the validation rules. + * The output is appended to the document in the processing order. + */ +@property(nonatomic, strong, nullable) NSArray *validationOutputs; + @end @@ -3639,6 +3704,22 @@ FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1TrainPro /** Optional. Text value of the entity e.g. `1600 Amphitheatre Pkwy`. */ @property(nonatomic, copy, nullable) NSString *mentionText; +/** + * Optional. Specifies how the entity's value is obtained. + * + * Likely values: + * @arg @c kGTLRDocument_GoogleCloudDocumentaiV1DocumentEntity_Method_Derive + * The entity's value is derived through inference and is not necessarily + * an exact text extraction from the document. (Value: "DERIVE") + * @arg @c kGTLRDocument_GoogleCloudDocumentaiV1DocumentEntity_Method_Extract + * The entity's value is directly extracted as-is from the document text. + * (Value: "EXTRACT") + * @arg @c kGTLRDocument_GoogleCloudDocumentaiV1DocumentEntity_Method_MethodUnspecified + * When the method is not specified, it should be treated as `EXTRACT`. + * (Value: "METHOD_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *method; + /** * Optional. Normalized entity value. Absent if the extracted value could not * be converted or the type (e.g. address) is not supported for certain @@ -5053,6 +5134,64 @@ FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1TrainPro @end +/** + * The output of the validation given the document and the validation rules. + */ +@interface GTLRDocument_GoogleCloudDocumentaiV1DocumentValidationOutput : GTLRObject + +/** + * The overall result of the validation, true if all applicable rules are + * valid. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *passAllRules; + +/** The result of each validation rule. */ +@property(nonatomic, strong, nullable) NSArray *validationResults; + +@end + + +/** + * Validation result for a single validation rule. + */ +@interface GTLRDocument_GoogleCloudDocumentaiV1DocumentValidationOutputValidationResult : GTLRObject + +/** The description of the validation rule. */ +@property(nonatomic, copy, nullable) NSString *ruleDescription; + +/** The name of the validation rule. */ +@property(nonatomic, copy, nullable) NSString *ruleName; + +/** + * The detailed information of the running the validation process using the + * entity from the document based on the validation rule. + */ +@property(nonatomic, copy, nullable) NSString *validationDetails; + +/** + * The result of the validation rule. + * + * Likely values: + * @arg @c kGTLRDocument_GoogleCloudDocumentaiV1DocumentValidationOutputValidationResult_ValidationResultType_ValidationResultTypeInvalid + * The validation is invalid. (Value: "VALIDATION_RESULT_TYPE_INVALID") + * @arg @c kGTLRDocument_GoogleCloudDocumentaiV1DocumentValidationOutputValidationResult_ValidationResultType_ValidationResultTypeNotApplicable + * The validation is not applicable. (Value: + * "VALIDATION_RESULT_TYPE_NOT_APPLICABLE") + * @arg @c kGTLRDocument_GoogleCloudDocumentaiV1DocumentValidationOutputValidationResult_ValidationResultType_ValidationResultTypeSkipped + * The validation is skipped. (Value: "VALIDATION_RESULT_TYPE_SKIPPED") + * @arg @c kGTLRDocument_GoogleCloudDocumentaiV1DocumentValidationOutputValidationResult_ValidationResultType_ValidationResultTypeUnspecified + * The validation result type is unspecified. (Value: + * "VALIDATION_RESULT_TYPE_UNSPECIFIED") + * @arg @c kGTLRDocument_GoogleCloudDocumentaiV1DocumentValidationOutputValidationResult_ValidationResultType_ValidationResultTypeValid + * The validation is valid. (Value: "VALIDATION_RESULT_TYPE_VALID") + */ +@property(nonatomic, copy, nullable) NSString *validationResultType; + +@end + + /** * The long-running operation metadata for the EnableProcessor method. */ diff --git a/Sources/GeneratedServices/DriveActivity/GTLRDriveActivityObjects.m b/Sources/GeneratedServices/DriveActivity/GTLRDriveActivityObjects.m index 3efe138ff..b08309dbd 100644 --- a/Sources/GeneratedServices/DriveActivity/GTLRDriveActivityObjects.m +++ b/Sources/GeneratedServices/DriveActivity/GTLRDriveActivityObjects.m @@ -86,7 +86,9 @@ NSString * const kGTLRDriveActivity_RestrictionChange_Feature_FeatureUnspecified = @"FEATURE_UNSPECIFIED"; NSString * const kGTLRDriveActivity_RestrictionChange_Feature_FileOrganizerCanShareFolders = @"FILE_ORGANIZER_CAN_SHARE_FOLDERS"; NSString * const kGTLRDriveActivity_RestrictionChange_Feature_ItemDuplication = @"ITEM_DUPLICATION"; +NSString * const kGTLRDriveActivity_RestrictionChange_Feature_ReadersCanDownload = @"READERS_CAN_DOWNLOAD"; NSString * const kGTLRDriveActivity_RestrictionChange_Feature_SharingOutsideDomain = @"SHARING_OUTSIDE_DOMAIN"; +NSString * const kGTLRDriveActivity_RestrictionChange_Feature_WritersCanDownload = @"WRITERS_CAN_DOWNLOAD"; // GTLRDriveActivity_RestrictionChange.newRestriction NSString * const kGTLRDriveActivity_RestrictionChange_NewRestriction_FullyRestricted = @"FULLY_RESTRICTED"; diff --git a/Sources/GeneratedServices/DriveActivity/Public/GoogleAPIClientForREST/GTLRDriveActivityObjects.h b/Sources/GeneratedServices/DriveActivity/Public/GoogleAPIClientForREST/GTLRDriveActivityObjects.h index 0442d25c9..ca1b66f8a 100644 --- a/Sources/GeneratedServices/DriveActivity/Public/GoogleAPIClientForREST/GTLRDriveActivityObjects.h +++ b/Sources/GeneratedServices/DriveActivity/Public/GoogleAPIClientForREST/GTLRDriveActivityObjects.h @@ -444,19 +444,31 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveActivity_RestrictionChange_Feature_ */ FOUNDATION_EXTERN NSString * const kGTLRDriveActivity_RestrictionChange_Feature_FileOrganizerCanShareFolders; /** - * When restricted, this prevents actions like copy, download, and print that - * might result in uncontrolled duplicates of items. Now deprecated in favor of - * READERS_CAN_DOWNLOAD. + * Deprecated: Use READERS_CAN_DOWNLOAD instead. * * Value: "ITEM_DUPLICATION" */ -FOUNDATION_EXTERN NSString * const kGTLRDriveActivity_RestrictionChange_Feature_ItemDuplication; +FOUNDATION_EXTERN NSString * const kGTLRDriveActivity_RestrictionChange_Feature_ItemDuplication GTLR_DEPRECATED; +/** + * When restricted, this prevents actions like copy, download, and print for + * readers. Replaces ITEM_DUPLICATION. + * + * Value: "READERS_CAN_DOWNLOAD" + */ +FOUNDATION_EXTERN NSString * const kGTLRDriveActivity_RestrictionChange_Feature_ReadersCanDownload; /** * When restricted, this prevents items from being shared outside the domain. * * Value: "SHARING_OUTSIDE_DOMAIN" */ FOUNDATION_EXTERN NSString * const kGTLRDriveActivity_RestrictionChange_Feature_SharingOutsideDomain; +/** + * When restricted, this prevents actions like copy, download, and print for + * writers. + * + * Value: "WRITERS_CAN_DOWNLOAD" + */ +FOUNDATION_EXTERN NSString * const kGTLRDriveActivity_RestrictionChange_Feature_WritersCanDownload; // ---------------------------------------------------------------------------- // GTLRDriveActivity_RestrictionChange.newRestriction @@ -1597,13 +1609,19 @@ GTLR_DEPRECATED * @arg @c kGTLRDriveActivity_RestrictionChange_Feature_FileOrganizerCanShareFolders * When restricted, this limits sharing of folders to managers only. * (Value: "FILE_ORGANIZER_CAN_SHARE_FOLDERS") - * @arg @c kGTLRDriveActivity_RestrictionChange_Feature_ItemDuplication When - * restricted, this prevents actions like copy, download, and print that - * might result in uncontrolled duplicates of items. Now deprecated in - * favor of READERS_CAN_DOWNLOAD. (Value: "ITEM_DUPLICATION") + * @arg @c kGTLRDriveActivity_RestrictionChange_Feature_ItemDuplication + * Deprecated: Use READERS_CAN_DOWNLOAD instead. (Value: + * "ITEM_DUPLICATION") + * @arg @c kGTLRDriveActivity_RestrictionChange_Feature_ReadersCanDownload + * When restricted, this prevents actions like copy, download, and print + * for readers. Replaces ITEM_DUPLICATION. (Value: + * "READERS_CAN_DOWNLOAD") * @arg @c kGTLRDriveActivity_RestrictionChange_Feature_SharingOutsideDomain * When restricted, this prevents items from being shared outside the * domain. (Value: "SHARING_OUTSIDE_DOMAIN") + * @arg @c kGTLRDriveActivity_RestrictionChange_Feature_WritersCanDownload + * When restricted, this prevents actions like copy, download, and print + * for writers. (Value: "WRITERS_CAN_DOWNLOAD") */ @property(nonatomic, copy, nullable) NSString *feature; diff --git a/Sources/GeneratedServices/DriveLabels/Public/GoogleAPIClientForREST/GTLRDriveLabelsObjects.h b/Sources/GeneratedServices/DriveLabels/Public/GoogleAPIClientForREST/GTLRDriveLabelsObjects.h index 6d22e8554..bd33be152 100644 --- a/Sources/GeneratedServices/DriveLabels/Public/GoogleAPIClientForREST/GTLRDriveLabelsObjects.h +++ b/Sources/GeneratedServices/DriveLabels/Public/GoogleAPIClientForREST/GTLRDriveLabelsObjects.h @@ -189,7 +189,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabels_GoogleAppsDriveLabelsV2Label */ FOUNDATION_EXTERN NSString * const kGTLRDriveLabels_GoogleAppsDriveLabelsV2LabelAppliedLabelPolicy_CopyMode_CopyModeUnspecified; /** - * The applied label and field values are not copied by default when the Drive + * The applied label and field values aren't copied by default when the Drive * item it's applied to is copied. * * Value: "DO_NOT_COPY" @@ -206,7 +206,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabels_GoogleAppsDriveLabelsV2Label */ FOUNDATION_EXTERN NSString * const kGTLRDriveLabels_GoogleAppsDriveLabelsV2LabelEnabledAppSettingsEnabledApp_App_AppUnspecified; /** - * Drive. + * Drive * * Value: "DRIVE" */ @@ -222,13 +222,13 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabels_GoogleAppsDriveLabelsV2Label // GTLRDriveLabels_GoogleAppsDriveLabelsV2LabelLock.state /** - * The LabelLock is active and is being enforced by the server. + * The label lock is active and is being enforced by the server. * * Value: "ACTIVE" */ FOUNDATION_EXTERN NSString * const kGTLRDriveLabels_GoogleAppsDriveLabelsV2LabelLock_State_Active; /** - * The LabelLock is being deleted. The LabelLock will continue to be enforced + * The label lock is being deleted. The label lock will continue to be enforced * by the server until it has been fully removed. * * Value: "DELETING" @@ -340,7 +340,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabels_GoogleAppsDriveLabelsV2Updat */ FOUNDATION_EXTERN NSString * const kGTLRDriveLabels_GoogleAppsDriveLabelsV2UpdateLabelCopyModeRequest_CopyMode_CopyModeUnspecified; /** - * The applied label and field values are not copied by default when the Drive + * The applied label and field values aren't copied by default when the Drive * item it's applied to is copied. * * Value: "DO_NOT_COPY" @@ -421,7 +421,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabels_GoogleAppsDriveLabelsV2Updat /** - * Deletes one of more Label Permissions. + * Deletes one or more label permissions. */ @interface GTLRDriveLabels_GoogleAppsDriveLabelsV2BatchDeleteLabelPermissionsRequest : GTLRObject @@ -430,9 +430,9 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabels_GoogleAppsDriveLabelsV2Updat /** * Set to `true` in order to use the user's admin credentials. The server will - * verify the user is an admin for the Label before allowing access. If this is - * set, the use_admin_access field in the DeleteLabelPermissionRequest messages - * must either be empty or match this field. + * verify the user is an admin for the label before allowing access. If this is + * set, the `use_admin_access` field in the `DeleteLabelPermissionRequest` + * messages must either be empty or match this field. * * Uses NSNumber of boolValue. */ @@ -442,7 +442,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabels_GoogleAppsDriveLabelsV2Updat /** - * Updates one or more Label Permissions. + * Updates one or more label permissions. */ @interface GTLRDriveLabels_GoogleAppsDriveLabelsV2BatchUpdateLabelPermissionsRequest : GTLRObject @@ -451,9 +451,9 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabels_GoogleAppsDriveLabelsV2Updat /** * Set to `true` in order to use the user's admin credentials. The server will - * verify the user is an admin for the Label before allowing access. If this is - * set, the use_admin_access field in the UpdateLabelPermissionRequest messages - * must either be empty or match this field. + * verify the user is an admin for the label before allowing access. If this is + * set, the `use_admin_access` field in the `UpdateLabelPermissionRequest` + * messages must either be empty or match this field. * * Uses NSNumber of boolValue. */ @@ -463,7 +463,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabels_GoogleAppsDriveLabelsV2Updat /** - * Response for updating one or more Label Permissions. + * Response for updating one or more label permissions. */ @interface GTLRDriveLabels_GoogleAppsDriveLabelsV2BatchUpdateLabelPermissionsResponse : GTLRObject @@ -474,31 +474,31 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabels_GoogleAppsDriveLabelsV2Updat /** - * Limits for date Field type. + * Limits for date field type. */ @interface GTLRDriveLabels_GoogleAppsDriveLabelsV2DateLimits : GTLRObject -/** Maximum value for the date Field type. */ +/** Maximum value for the date field type. */ @property(nonatomic, strong, nullable) GTLRDriveLabels_GoogleTypeDate *maxValue; -/** Minimum value for the date Field type. */ +/** Minimum value for the date field type. */ @property(nonatomic, strong, nullable) GTLRDriveLabels_GoogleTypeDate *minValue; @end /** - * Deletes a Label Permission. Permissions affect the Label resource as a - * whole, are not revisioned, and do not require publishing. + * Deletes a label permission. Permissions affect the label resource as a + * whole, aren't revisioned, and don't require publishing. */ @interface GTLRDriveLabels_GoogleAppsDriveLabelsV2DeleteLabelPermissionRequest : GTLRObject -/** Required. Label Permission resource name. */ +/** Required. Label permission resource name. */ @property(nonatomic, copy, nullable) NSString *name; /** * Set to `true` in order to use the user's admin credentials. The server will - * verify the user is an admin for the Label before allowing access. + * verify the user is an admin for the label before allowing access. * * Uses NSNumber of boolValue. */ @@ -508,26 +508,26 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabels_GoogleAppsDriveLabelsV2Updat /** - * The set of requests for updating aspects of a Label. If any request is not + * The set of requests for updating aspects of a label. If any request isn't * valid, no requests will be applied. */ @interface GTLRDriveLabels_GoogleAppsDriveLabelsV2DeltaUpdateLabelRequest : GTLRObject /** - * The BCP-47 language code to use for evaluating localized Field labels when + * The BCP-47 language code to use for evaluating localized field labels when * `include_label_in_response` is `true`. */ @property(nonatomic, copy, nullable) NSString *languageCode; /** - * A list of updates to apply to the Label. Requests will be applied in the + * A list of updates to apply to the label. Requests will be applied in the * order they are specified. */ @property(nonatomic, strong, nullable) NSArray *requests; /** * Set to `true` in order to use the user's admin credentials. The server will - * verify the user is an admin for the Label before allowing access. + * verify the user is an admin for the label before allowing access. * * Uses NSNumber of boolValue. */ @@ -553,7 +553,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabels_GoogleAppsDriveLabelsV2Updat /** - * Request to create a Field within a Label. + * Request to create a field within a label. */ @interface GTLRDriveLabels_GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestCreateFieldRequest : GTLRObject @@ -564,26 +564,26 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabels_GoogleAppsDriveLabelsV2Updat /** - * Request to create a Selection Choice. + * Request to create a selection choice. */ @interface GTLRDriveLabels_GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestCreateSelectionChoiceRequest : GTLRObject -/** Required. The Choice to create. */ +/** Required. The choice to create. */ @property(nonatomic, strong, nullable) GTLRDriveLabels_GoogleAppsDriveLabelsV2FieldSelectionOptionsChoice *choice; -/** Required. The Selection Field in which a Choice will be created. */ +/** Required. The selection field in which a choice will be created. */ @property(nonatomic, copy, nullable) NSString *fieldId; @end /** - * Request to delete the Field. + * Request to delete the field. */ @interface GTLRDriveLabels_GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestDeleteFieldRequest : GTLRObject /** - * Required. ID of the Field to delete. + * Required. ID of the field to delete. * * identifier property maps to 'id' in JSON (to avoid Objective C's 'id'). */ @@ -593,11 +593,11 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabels_GoogleAppsDriveLabelsV2Updat /** - * Request to delete a Choice. + * Request to delete a choice. */ @interface GTLRDriveLabels_GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestDeleteSelectionChoiceRequest : GTLRObject -/** Required. The Selection Field from which a Choice will be deleted. */ +/** Required. The selection field from which a choice will be deleted. */ @property(nonatomic, copy, nullable) NSString *fieldId; /** @@ -611,15 +611,15 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabels_GoogleAppsDriveLabelsV2Updat /** - * Request to disable the Field. + * Request to disable the field. */ @interface GTLRDriveLabels_GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestDisableFieldRequest : GTLRObject -/** Required. Field Disabled Policy. */ +/** Required. Field disabled policy. */ @property(nonatomic, strong, nullable) GTLRDriveLabels_GoogleAppsDriveLabelsV2LifecycleDisabledPolicy *disabledPolicy; /** - * Required. Key of the Field to disable. + * Required. Key of the field to disable. * * identifier property maps to 'id' in JSON (to avoid Objective C's 'id'). */ @@ -628,7 +628,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabels_GoogleAppsDriveLabelsV2Updat /** * The fields that should be updated. At least one field must be specified. The * root `disabled_policy` is implied and should not be specified. A single `*` - * can be used as short-hand for updating every field. + * can be used as a short-hand for updating every field. * * String format is a comma-separated list of fields. */ @@ -638,14 +638,14 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabels_GoogleAppsDriveLabelsV2Updat /** - * Request to disable a Choice. + * Request to disable a choice. */ @interface GTLRDriveLabels_GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestDisableSelectionChoiceRequest : GTLRObject /** Required. The disabled policy to update. */ @property(nonatomic, strong, nullable) GTLRDriveLabels_GoogleAppsDriveLabelsV2LifecycleDisabledPolicy *disabledPolicy; -/** Required. The Selection Field in which a Choice will be disabled. */ +/** Required. The selection field in which a choice will be disabled. */ @property(nonatomic, copy, nullable) NSString *fieldId; /** @@ -658,7 +658,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabels_GoogleAppsDriveLabelsV2Updat /** * The fields that should be updated. At least one field must be specified. The * root `disabled_policy` is implied and should not be specified. A single `*` - * can be used as short-hand for updating every field. + * can be used as a short-hand for updating every field. * * String format is a comma-separated list of fields. */ @@ -668,12 +668,12 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabels_GoogleAppsDriveLabelsV2Updat /** - * Request to enable the Field. + * Request to enable the field. */ @interface GTLRDriveLabels_GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestEnableFieldRequest : GTLRObject /** - * Required. ID of the Field to enable. + * Required. ID of the field to enable. * * identifier property maps to 'id' in JSON (to avoid Objective C's 'id'). */ @@ -683,11 +683,11 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabels_GoogleAppsDriveLabelsV2Updat /** - * Request to enable a Choice. + * Request to enable a choice. */ @interface GTLRDriveLabels_GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestEnableSelectionChoiceRequest : GTLRObject -/** Required. The Selection Field in which a Choice will be enabled. */ +/** Required. The selection field in which a choice will be enabled. */ @property(nonatomic, copy, nullable) NSString *fieldId; /** @@ -701,68 +701,68 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabels_GoogleAppsDriveLabelsV2Updat /** - * A single kind of update to apply to a Label. + * A single kind of update to apply to a label. */ @interface GTLRDriveLabels_GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestRequest : GTLRObject -/** Creates a new Field. */ +/** Creates a field. */ @property(nonatomic, strong, nullable) GTLRDriveLabels_GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestCreateFieldRequest *createField; -/** Creates Choice within a Selection field. */ +/** Create a choice within a selection field. */ @property(nonatomic, strong, nullable) GTLRDriveLabels_GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestCreateSelectionChoiceRequest *createSelectionChoice; -/** Deletes a Field from the label. */ +/** Deletes a field from the label. */ @property(nonatomic, strong, nullable) GTLRDriveLabels_GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestDeleteFieldRequest *deleteField; -/** Delete a Choice within a Selection Field. */ +/** Delete a choice within a selection field. */ @property(nonatomic, strong, nullable) GTLRDriveLabels_GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestDeleteSelectionChoiceRequest *deleteSelectionChoice; -/** Disables the Field. */ +/** Disables the field. */ @property(nonatomic, strong, nullable) GTLRDriveLabels_GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestDisableFieldRequest *disableField; -/** Disable a Choice within a Selection Field. */ +/** Disable a choice within a selection field. */ @property(nonatomic, strong, nullable) GTLRDriveLabels_GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestDisableSelectionChoiceRequest *disableSelectionChoice; -/** Enables the Field. */ +/** Enables the field. */ @property(nonatomic, strong, nullable) GTLRDriveLabels_GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestEnableFieldRequest *enableField; -/** Enable a Choice within a Selection Field. */ +/** Enable a choice within a selection field. */ @property(nonatomic, strong, nullable) GTLRDriveLabels_GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestEnableSelectionChoiceRequest *enableSelectionChoice; -/** Updates basic properties of a Field. */ +/** Updates basic properties of a field. */ @property(nonatomic, strong, nullable) GTLRDriveLabels_GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestUpdateFieldPropertiesRequest *updateField; -/** Update Field type and/or type options. */ +/** Update field type and/or type options. */ @property(nonatomic, strong, nullable) GTLRDriveLabels_GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestUpdateFieldTypeRequest *updateFieldType; -/** Updates the Label properties. */ +/** Updates the label properties. */ @property(nonatomic, strong, nullable) GTLRDriveLabels_GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestUpdateLabelPropertiesRequest *updateLabel; -/** Update a Choice properties within a Selection Field. */ +/** Update a choice property within a selection field. */ @property(nonatomic, strong, nullable) GTLRDriveLabels_GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestUpdateSelectionChoicePropertiesRequest *updateSelectionChoiceProperties; @end /** - * Request to update Field properties. + * Request to update field properties. */ @interface GTLRDriveLabels_GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestUpdateFieldPropertiesRequest : GTLRObject /** - * Required. The Field to update. + * Required. The field to update. * * identifier property maps to 'id' in JSON (to avoid Objective C's 'id'). */ @property(nonatomic, copy, nullable) NSString *identifier; -/** Required. Basic Field properties. */ +/** Required. Basic field properties. */ @property(nonatomic, strong, nullable) GTLRDriveLabels_GoogleAppsDriveLabelsV2FieldProperties *properties; /** * The fields that should be updated. At least one field must be specified. The * root `properties` is implied and should not be specified. A single `*` can - * be used as short-hand for updating every field. + * be used as a short-hand for updating every field. * * String format is a comma-separated list of fields. */ @@ -772,7 +772,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabels_GoogleAppsDriveLabelsV2Updat /** - * Request to change the type of a Field. + * Request to change the type of a field. */ @interface GTLRDriveLabels_GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestUpdateFieldTypeRequest : GTLRObject @@ -780,7 +780,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabels_GoogleAppsDriveLabelsV2Updat @property(nonatomic, strong, nullable) GTLRDriveLabels_GoogleAppsDriveLabelsV2FieldDateOptions *dateOptions; /** - * Required. The Field to update. + * Required. The field to update. * * identifier property maps to 'id' in JSON (to avoid Objective C's 'id'). */ @@ -798,7 +798,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabels_GoogleAppsDriveLabelsV2Updat /** * The fields that should be updated. At least one field must be specified. The * root of `type_options` is implied and should not be specified. A single `*` - * can be used as short-hand for updating every field. + * can be used as a short-hand for updating every field. * * String format is a comma-separated list of fields. */ @@ -811,7 +811,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabels_GoogleAppsDriveLabelsV2Updat /** - * Updates basic properties of a Label. + * Updates basic properties of a label. */ @interface GTLRDriveLabels_GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestUpdateLabelPropertiesRequest : GTLRObject @@ -821,7 +821,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabels_GoogleAppsDriveLabelsV2Updat /** * The fields that should be updated. At least one field must be specified. The * root `label_properties` is implied and should not be specified. A single `*` - * can be used as short-hand for updating every field. + * can be used as a short-hand for updating every field. * * String format is a comma-separated list of fields. */ @@ -831,27 +831,27 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabels_GoogleAppsDriveLabelsV2Updat /** - * Request to update a Choice properties. + * Request to update a choice property. */ @interface GTLRDriveLabels_GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestUpdateSelectionChoicePropertiesRequest : GTLRObject -/** Required. The Selection Field to update. */ +/** Required. The selection field to update. */ @property(nonatomic, copy, nullable) NSString *fieldId; /** - * Required. The Choice to update. + * Required. The choice to update. * * identifier property maps to 'id' in JSON (to avoid Objective C's 'id'). */ @property(nonatomic, copy, nullable) NSString *identifier; -/** Required. The Choice properties to update. */ +/** Required. The choice properties to update. */ @property(nonatomic, strong, nullable) GTLRDriveLabels_GoogleAppsDriveLabelsV2FieldSelectionOptionsChoiceProperties *properties; /** * The fields that should be updated. At least one field must be specified. The * root `properties` is implied and should not be specified. A single `*` can - * be used as short-hand for updating every field. + * be used as a short-hand for updating every field. * * String format is a comma-separated list of fields. */ @@ -861,7 +861,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabels_GoogleAppsDriveLabelsV2Updat /** - * Response for Label update. + * Response for label update. */ @interface GTLRDriveLabels_GoogleAppsDriveLabelsV2DeltaUpdateLabelResponse : GTLRObject @@ -873,8 +873,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabels_GoogleAppsDriveLabelsV2Updat /** * The label after updates were applied. This is only set if - * [BatchUpdateLabelResponse2.include_label_in_response] is `true` and there - * were no errors. + * `include_label_in_response` is `true` and there were no errors. */ @property(nonatomic, strong, nullable) GTLRDriveLabels_GoogleAppsDriveLabelsV2Label *updatedLabel; @@ -882,7 +881,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabels_GoogleAppsDriveLabelsV2Updat /** - * Response following Field create. + * Response following field create. */ @interface GTLRDriveLabels_GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseCreateFieldResponse : GTLRObject @@ -906,15 +905,15 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabels_GoogleAppsDriveLabelsV2Updat /** - * Response following Selection Choice create. + * Response following selection choice create. */ @interface GTLRDriveLabels_GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseCreateSelectionChoiceResponse : GTLRObject -/** The server-generated id of the field. */ +/** The server-generated ID of the field. */ @property(nonatomic, copy, nullable) NSString *fieldId; /** - * The server-generated ID of the created choice within the Field + * The server-generated ID of the created choice within the field. * * identifier property maps to 'id' in JSON (to avoid Objective C's 'id'). */ @@ -924,42 +923,42 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabels_GoogleAppsDriveLabelsV2Updat /** - * Response following Field delete. + * Response following field delete. */ @interface GTLRDriveLabels_GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseDeleteFieldResponse : GTLRObject @end /** - * Response following Choice delete. + * Response following choice delete. */ @interface GTLRDriveLabels_GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseDeleteSelectionChoiceResponse : GTLRObject @end /** - * Response following Field disable. + * Response following field disable. */ @interface GTLRDriveLabels_GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseDisableFieldResponse : GTLRObject @end /** - * Response following Choice disable. + * Response following choice disable. */ @interface GTLRDriveLabels_GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseDisableSelectionChoiceResponse : GTLRObject @end /** - * Response following Field enable. + * Response following field enable. */ @interface GTLRDriveLabels_GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseEnableFieldResponse : GTLRObject @end /** - * Response following Choice enable. + * Response following choice enable. */ @interface GTLRDriveLabels_GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseEnableSelectionChoiceResponse : GTLRObject @end @@ -970,47 +969,47 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabels_GoogleAppsDriveLabelsV2Updat */ @interface GTLRDriveLabels_GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseResponse : GTLRObject -/** Creates a new Field. */ +/** Creates a field. */ @property(nonatomic, strong, nullable) GTLRDriveLabels_GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseCreateFieldResponse *createField; -/** Creates a new selection list option to add to a Selection Field. */ +/** Creates a selection list option to add to a selection field. */ @property(nonatomic, strong, nullable) GTLRDriveLabels_GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseCreateSelectionChoiceResponse *createSelectionChoice; -/** Deletes a Field from the label. */ +/** Deletes a field from the label. */ @property(nonatomic, strong, nullable) GTLRDriveLabels_GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseDeleteFieldResponse *deleteField; -/** Deletes a Choice from a Selection Field. */ +/** Deletes a choice from a selection field. */ @property(nonatomic, strong, nullable) GTLRDriveLabels_GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseDeleteSelectionChoiceResponse *deleteSelectionChoice; -/** Disables Field. */ +/** Disables field. */ @property(nonatomic, strong, nullable) GTLRDriveLabels_GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseDisableFieldResponse *disableField; -/** Disables a Choice within a Selection Field. */ +/** Disables a choice within a selection field. */ @property(nonatomic, strong, nullable) GTLRDriveLabels_GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseDisableSelectionChoiceResponse *disableSelectionChoice; -/** Enables Field. */ +/** Enables field. */ @property(nonatomic, strong, nullable) GTLRDriveLabels_GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseEnableFieldResponse *enableField; -/** Enables a Choice within a Selection Field. */ +/** Enables a choice within a selection field. */ @property(nonatomic, strong, nullable) GTLRDriveLabels_GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseEnableSelectionChoiceResponse *enableSelectionChoice; -/** Updates basic properties of a Field. */ +/** Updates basic properties of a field. */ @property(nonatomic, strong, nullable) GTLRDriveLabels_GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseUpdateFieldPropertiesResponse *updateField; -/** Update Field type and/or type options. */ +/** Updates field type and/or type options. */ @property(nonatomic, strong, nullable) GTLRDriveLabels_GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseUpdateFieldTypeResponse *updateFieldType; -/** Updated basic properties of a Label. */ +/** Updates basic properties of a label. */ @property(nonatomic, strong, nullable) GTLRDriveLabels_GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseUpdateLabelPropertiesResponse *updateLabel; -/** Updates a Choice within a Selection Field. */ +/** Updates a choice within a selection field. */ @property(nonatomic, strong, nullable) GTLRDriveLabels_GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseUpdateSelectionChoicePropertiesResponse *updateSelectionChoiceProperties; @end /** - * Response following update to Field properties. + * Response following update to field properties. */ @interface GTLRDriveLabels_GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseUpdateFieldPropertiesResponse : GTLRObject @@ -1026,21 +1025,21 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabels_GoogleAppsDriveLabelsV2Updat /** - * Response following update to Field type. + * Response following update to field type. */ @interface GTLRDriveLabels_GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseUpdateFieldTypeResponse : GTLRObject @end /** - * Response following update to Label properties. + * Response following update to label properties. */ @interface GTLRDriveLabels_GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseUpdateLabelPropertiesResponse : GTLRObject @end /** - * Response following update to Selection Choice properties. + * Response following update to selection choice properties. */ @interface GTLRDriveLabels_GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseUpdateSelectionChoicePropertiesResponse : GTLRObject @@ -1056,7 +1055,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabels_GoogleAppsDriveLabelsV2Updat /** - * Request to deprecate a published Label. + * Request to deprecate a published label. */ @interface GTLRDriveLabels_GoogleAppsDriveLabelsV2DisableLabelRequest : GTLRObject @@ -1072,7 +1071,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabels_GoogleAppsDriveLabelsV2Updat /** * The fields that should be updated. At least one field must be specified. The * root `disabled_policy` is implied and should not be specified. A single `*` - * can be used as short-hand for updating every field. + * can be used as a short-hand for updating every field. * * String format is a comma-separated list of fields. */ @@ -1080,7 +1079,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabels_GoogleAppsDriveLabelsV2Updat /** * Set to `true` in order to use the user's admin credentials. The server will - * verify the user is an admin for the Label before allowing access. + * verify the user is an admin for the label before allowing access. * * Uses NSNumber of boolValue. */ @@ -1088,7 +1087,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabels_GoogleAppsDriveLabelsV2Updat /** * Provides control over how write requests are executed. Defaults to unset, - * which means last write wins. + * which means the last write wins. */ @property(nonatomic, strong, nullable) GTLRDriveLabels_GoogleAppsDriveLabelsV2WriteControl *writeControl; @@ -1108,7 +1107,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabels_GoogleAppsDriveLabelsV2Updat /** * Set to `true` in order to use the user's admin credentials. The server will - * verify the user is an admin for the Label before allowing access. + * verify the user is an admin for the label before allowing access. * * Uses NSNumber of boolValue. */ @@ -1116,7 +1115,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabels_GoogleAppsDriveLabelsV2Updat /** * Provides control over how write requests are executed. Defaults to unset, - * which means last write wins. + * which means the last write wins. */ @property(nonatomic, strong, nullable) GTLRDriveLabels_GoogleAppsDriveLabelsV2WriteControl *writeControl; @@ -1162,7 +1161,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabels_GoogleAppsDriveLabelsV2Updat /** * Output only. The key of a field, unique within a label or library. This - * value is autogenerated. Matches the regex: `([a-zA-Z0-9])+` + * value is autogenerated. Matches the regex: `([a-zA-Z0-9])+`. * * identifier property maps to 'id' in JSON (to avoid Objective C's 'id'). */ @@ -1174,7 +1173,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabels_GoogleAppsDriveLabelsV2Updat /** Output only. The lifecycle of this field. */ @property(nonatomic, strong, nullable) GTLRDriveLabels_GoogleAppsDriveLabelsV2Lifecycle *lifecycle; -/** Output only. The LockStatus of this field. */ +/** Output only. The `LockStatus` of this field. */ @property(nonatomic, strong, nullable) GTLRDriveLabels_GoogleAppsDriveLabelsV2LockStatus *lockStatus; /** The basic properties of the field. */ @@ -1337,48 +1336,48 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabels_GoogleAppsDriveLabelsV2Updat /** - * Field constants governing the structure of a Field; such as, the maximum + * Field constants governing the structure of a field; such as, the maximum * title length, minimum and maximum field values or length, etc. */ @interface GTLRDriveLabels_GoogleAppsDriveLabelsV2FieldLimits : GTLRObject -/** Date Field limits. */ +/** Date field limits. */ @property(nonatomic, strong, nullable) GTLRDriveLabels_GoogleAppsDriveLabelsV2DateLimits *dateLimits; -/** Integer Field limits. */ +/** Integer field limits. */ @property(nonatomic, strong, nullable) GTLRDriveLabels_GoogleAppsDriveLabelsV2IntegerLimits *integerLimits; -/** Long text Field limits. */ +/** Long text field limits. */ @property(nonatomic, strong, nullable) GTLRDriveLabels_GoogleAppsDriveLabelsV2LongTextLimits *longTextLimits; /** - * Limits for Field description, also called help text. + * Limits for field description, also called help text. * * Uses NSNumber of intValue. */ @property(nonatomic, strong, nullable) NSNumber *maxDescriptionLength; /** - * Limits for Field title. + * Limits for field title. * * Uses NSNumber of intValue. */ @property(nonatomic, strong, nullable) NSNumber *maxDisplayNameLength; /** - * Max length for the id. + * Maximum length for the id. * * Uses NSNumber of intValue. */ @property(nonatomic, strong, nullable) NSNumber *maxIdLength; -/** Selection Field limits. */ +/** Selection field limits. */ @property(nonatomic, strong, nullable) GTLRDriveLabels_GoogleAppsDriveLabelsV2SelectionLimits *selectionLimits; -/** The relevant limits for the specified Field.Type. Text Field limits. */ +/** The relevant limits for the specified Field.Type. Text field limits. */ @property(nonatomic, strong, nullable) GTLRDriveLabels_GoogleAppsDriveLabelsV2TextLimits *textLimits; -/** User Field limits. */ +/** User field limits. */ @property(nonatomic, strong, nullable) GTLRDriveLabels_GoogleAppsDriveLabelsV2UserLimits *userLimits; @end @@ -1524,7 +1523,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabels_GoogleAppsDriveLabelsV2Updat /** Output only. Lifecycle of the choice. */ @property(nonatomic, strong, nullable) GTLRDriveLabels_GoogleAppsDriveLabelsV2Lifecycle *lifecycle; -/** Output only. The LockStatus of this choice. */ +/** Output only. The `LockStatus` of this choice. */ @property(nonatomic, strong, nullable) GTLRDriveLabels_GoogleAppsDriveLabelsV2LockStatus *lockStatus; /** Basic properties of the choice. */ @@ -1743,19 +1742,19 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabels_GoogleAppsDriveLabelsV2Updat /** - * Limits for integer Field type. + * Limits for integer field type. */ @interface GTLRDriveLabels_GoogleAppsDriveLabelsV2IntegerLimits : GTLRObject /** - * Maximum value for an integer Field type. + * Maximum value for an integer field type. * * Uses NSNumber of longLongValue. */ @property(nonatomic, strong, nullable) NSNumber *maxValue; /** - * Minimum value for an integer Field type. + * Minimum value for an integer field type. * * Uses NSNumber of longLongValue. */ @@ -1788,26 +1787,26 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabels_GoogleAppsDriveLabelsV2Updat /** * Output only. The customer this label belongs to. For example: - * "customers/123abc789." + * `customers/123abc789`. */ @property(nonatomic, copy, nullable) NSString *customer; /** * Output only. The user who disabled this label. This value has no meaning - * when the label is not disabled. + * when the label isn't disabled. */ @property(nonatomic, strong, nullable) GTLRDriveLabels_GoogleAppsDriveLabelsV2UserInfo *disabler; /** * Output only. The time this label was disabled. This value has no meaning - * when the label is not disabled. + * when the label isn't disabled. */ @property(nonatomic, strong, nullable) GTLRDateTime *disableTime; /** Output only. UI display hints for rendering the label. */ @property(nonatomic, strong, nullable) GTLRDriveLabels_GoogleAppsDriveLabelsV2LabelDisplayHints *displayHints; -/** Optional. The EnabledAppSettings for this Label. */ +/** Optional. The `EnabledAppSettings` for this Label. */ @property(nonatomic, strong, nullable) GTLRDriveLabels_GoogleAppsDriveLabelsV2LabelEnabledAppSettings *enabledAppSettings; /** List of fields in descending priority order. */ @@ -1816,7 +1815,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabels_GoogleAppsDriveLabelsV2Updat /** * Output only. Globally unique identifier of this label. ID makes up part of * the label `name`, but unlike `name`, ID is consistent between revisions. - * Matches the regex: `([a-zA-Z0-9])+` + * Matches the regex: `([a-zA-Z0-9])+`. * * identifier property maps to 'id' in JSON (to avoid Objective C's 'id'). */ @@ -1852,7 +1851,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabels_GoogleAppsDriveLabelsV2Updat */ @property(nonatomic, strong, nullable) GTLRDriveLabels_GoogleAppsDriveLabelsV2Lifecycle *lifecycle; -/** Output only. The LockStatus of this label. */ +/** Output only. The `LockStatus` of this label. */ @property(nonatomic, strong, nullable) GTLRDriveLabels_GoogleAppsDriveLabelsV2LockStatus *lockStatus; /** @@ -1867,13 +1866,13 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabels_GoogleAppsDriveLabelsV2Updat /** * Output only. The user who published this label. This value has no meaning - * when the label is not published. + * when the label isn't published.>> */ @property(nonatomic, strong, nullable) GTLRDriveLabels_GoogleAppsDriveLabelsV2UserInfo *publisher; /** * Output only. The time this label was published. This value has no meaning - * when the label is not published. + * when the label isn't published. */ @property(nonatomic, strong, nullable) GTLRDateTime *publishTime; @@ -1887,7 +1886,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabels_GoogleAppsDriveLabelsV2Updat * Output only. Revision ID of the label. Revision ID might be part of the * label `name` depending on the request issued. A new revision is created * whenever revisioned properties of a label are changed. Matches the regex: - * `([a-zA-Z0-9])+` + * `([a-zA-Z0-9])+`. */ @property(nonatomic, copy, nullable) NSString *revisionId; @@ -1946,7 +1945,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabels_GoogleAppsDriveLabelsV2Updat * @arg @c kGTLRDriveLabels_GoogleAppsDriveLabelsV2LabelAppliedLabelPolicy_CopyMode_CopyModeUnspecified * Copy mode unspecified. (Value: "COPY_MODE_UNSPECIFIED") * @arg @c kGTLRDriveLabels_GoogleAppsDriveLabelsV2LabelAppliedLabelPolicy_CopyMode_DoNotCopy - * The applied label and field values are not copied by default when the + * The applied label and field values aren't copied by default when the * Drive item it's applied to is copied. (Value: "DO_NOT_COPY") */ @property(nonatomic, copy, nullable) NSString *copyMode NS_RETURNS_NOT_RETAINED; @@ -1955,7 +1954,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabels_GoogleAppsDriveLabelsV2Updat /** - * UI display hints for rendering the label. + * The UI display hints for rendering the label. */ @interface GTLRDriveLabels_GoogleAppsDriveLabelsV2LabelDisplayHints : GTLRObject @@ -1975,7 +1974,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabels_GoogleAppsDriveLabelsV2Updat @property(nonatomic, strong, nullable) NSNumber *hiddenInSearch; /** - * Order to display label in a list. + * The order to display labels in a list. * * Uses NSNumber of longLongValue. */ @@ -1993,29 +1992,29 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabels_GoogleAppsDriveLabelsV2Updat /** - * Describes the Workspace apps in which the Label can be used. + * Describes the Google Workspace apps in which the label can be used. */ @interface GTLRDriveLabels_GoogleAppsDriveLabelsV2LabelEnabledAppSettings : GTLRObject -/** Optional. The list of Apps where the Label can be used. */ +/** Optional. The list of apps where the label can be used. */ @property(nonatomic, strong, nullable) NSArray *enabledApps; @end /** - * An App where the Label can be used. + * An app where the label can be used. */ @interface GTLRDriveLabels_GoogleAppsDriveLabelsV2LabelEnabledAppSettingsEnabledApp : GTLRObject /** - * Optional. The name of the App. + * Optional. The name of the app. * * Likely values: * @arg @c kGTLRDriveLabels_GoogleAppsDriveLabelsV2LabelEnabledAppSettingsEnabledApp_App_AppUnspecified * Unspecified (Value: "APP_UNSPECIFIED") * @arg @c kGTLRDriveLabels_GoogleAppsDriveLabelsV2LabelEnabledAppSettingsEnabledApp_App_Drive - * Drive. (Value: "DRIVE") + * Drive (Value: "DRIVE") * @arg @c kGTLRDriveLabels_GoogleAppsDriveLabelsV2LabelEnabledAppSettingsEnabledApp_App_Gmail * Gmail (Value: "GMAIL") */ @@ -2025,16 +2024,16 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabels_GoogleAppsDriveLabelsV2Updat /** - * Label constraints governing the structure of a Label; such as, the maximum - * number of Fields allowed and maximum length of the label title. + * Label constraints governing the structure of a label; such as, the maximum + * number of fields allowed and maximum length of the label title. */ @interface GTLRDriveLabels_GoogleAppsDriveLabelsV2LabelLimits : GTLRObject -/** The limits for Fields. */ +/** The limits for fields. */ @property(nonatomic, strong, nullable) GTLRDriveLabels_GoogleAppsDriveLabelsV2FieldLimits *fieldLimits; /** - * The maximum number of published Fields that can be deleted. + * The maximum number of published fields that can be deleted. * * Uses NSNumber of intValue. */ @@ -2056,7 +2055,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabels_GoogleAppsDriveLabelsV2Updat @property(nonatomic, strong, nullable) NSNumber *maxDraftRevisions; /** - * The maximum number of Fields allowed within the label. + * The maximum number of fields allowed within the label. * * Uses NSNumber of intValue. */ @@ -2076,54 +2075,52 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabels_GoogleAppsDriveLabelsV2Updat /** - * A Lock that can be applied to a Label, Field, or Choice. + * A lock that can be applied to a label, field, or choice. */ @interface GTLRDriveLabels_GoogleAppsDriveLabelsV2LabelLock : GTLRObject -/** Output only. The user's capabilities on this LabelLock. */ +/** Output only. The user's capabilities on this label lock. */ @property(nonatomic, strong, nullable) GTLRDriveLabels_GoogleAppsDriveLabelsV2LabelLockCapabilities *capabilities; /** - * The ID of the Selection Field Choice that should be locked. If present, + * The ID of the selection field choice that should be locked. If present, * `field_id` must also be present. */ @property(nonatomic, copy, nullable) NSString *choiceId; -/** Output only. The time this LabelLock was created. */ +/** Output only. The time this label lock was created. */ @property(nonatomic, strong, nullable) GTLRDateTime *createTime; /** - * Output only. The user whose credentials were used to create the LabelLock. - * This will not be present if no user was responsible for creating the - * LabelLock. + * Output only. The user whose credentials were used to create the label lock. + * Not present if no user was responsible for creating the label lock. */ @property(nonatomic, strong, nullable) GTLRDriveLabels_GoogleAppsDriveLabelsV2UserInfo *creator; /** - * Output only. A timestamp indicating when this LabelLock was scheduled for - * deletion. This will be present only if this LabelLock is in the DELETING - * state. + * Output only. A timestamp indicating when this label lock was scheduled for + * deletion. Present only if this label lock is in the `DELETING` state. */ @property(nonatomic, strong, nullable) GTLRDateTime *deleteTime; /** - * The ID of the Field that should be locked. Empty if the whole Label should + * The ID of the field that should be locked. Empty if the whole label should * be locked. */ @property(nonatomic, copy, nullable) NSString *fieldId; -/** Output only. Resource name of this LabelLock. */ +/** Output only. Resource name of this label lock. */ @property(nonatomic, copy, nullable) NSString *name; /** - * Output only. This LabelLock's state. + * Output only. This label lock's state. * * Likely values: * @arg @c kGTLRDriveLabels_GoogleAppsDriveLabelsV2LabelLock_State_Active The - * LabelLock is active and is being enforced by the server. (Value: + * label lock is active and is being enforced by the server. (Value: * "ACTIVE") * @arg @c kGTLRDriveLabels_GoogleAppsDriveLabelsV2LabelLock_State_Deleting - * The LabelLock is being deleted. The LabelLock will continue to be + * The label lock is being deleted. The label lock will continue to be * enforced by the server until it has been fully removed. (Value: * "DELETING") * @arg @c kGTLRDriveLabels_GoogleAppsDriveLabelsV2LabelLock_State_StateUnspecified @@ -2135,7 +2132,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabels_GoogleAppsDriveLabelsV2Updat /** - * A description of a user's capabilities on a LabelLock. + * A description of a user's capabilities on a label lock. */ @interface GTLRDriveLabels_GoogleAppsDriveLabelsV2LabelLockCapabilities : GTLRObject @@ -2158,14 +2155,14 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabels_GoogleAppsDriveLabelsV2Updat /** * Audience to grant a role to. The magic value of `audiences/default` may be * used to apply the role to the default audience in the context of the - * organization that owns the Label. + * organization that owns the label. */ @property(nonatomic, copy, nullable) NSString *audience; /** - * Specifies the email address for a user or group pricinpal. Not populated for - * audience principals. User and Group permissions may only be inserted using - * email address. On update requests, if email address is specified, no + * Specifies the email address for a user or group principal. Not populated for + * audience principals. User and group permissions may only be inserted using + * an email address. On update requests, if email address is specified, no * principal should be specified. */ @property(nonatomic, copy, nullable) NSString *email; @@ -2262,16 +2259,18 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabels_GoogleAppsDriveLabelsV2Updat /** - * The lifecycle state of an object, such as label, field, or choice. The - * lifecycle enforces the following transitions: * `UNPUBLISHED_DRAFT` + * The lifecycle state of an object, such as label, field, or choice. For more + * information, see [Label + * lifecycle](https://developers.google.com/workspace/drive/labels/guides/label-lifecycle). + * The lifecycle enforces the following transitions: * `UNPUBLISHED_DRAFT` * (starting state) * `UNPUBLISHED_DRAFT` -> `PUBLISHED` * `UNPUBLISHED_DRAFT` * -> (Deleted) * `PUBLISHED` -> `DISABLED` * `DISABLED` -> `PUBLISHED` * * `DISABLED` -> (Deleted) The published and disabled states have some distinct - * characteristics: * Published—Some kinds of changes might be made to an + * characteristics: * `Published`: Some kinds of changes might be made to an * object in this state, in which case `has_unpublished_changes` will be true. - * Also, some kinds of changes are not permitted. Generally, any change that + * Also, some kinds of changes aren't permitted. Generally, any change that * would invalidate or cause new restrictions on existing metadata related to - * the label are rejected. * Disabled—When disabled, the configured + * the label are rejected. * `Disabled`: When disabled, the configured * `DisabledPolicy` takes effect. */ @interface GTLRDriveLabels_GoogleAppsDriveLabelsV2Lifecycle : GTLRObject @@ -2345,7 +2344,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabels_GoogleAppsDriveLabelsV2Updat /** - * The response to a ListLabelLocksRequest. + * The response to a `ListLabelLocksRequest`. * * @note This class supports NSFastEnumeration and indexed subscripting over * its "labelLocks" property. If returned as the result of a query, it @@ -2355,7 +2354,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabels_GoogleAppsDriveLabelsV2Updat @interface GTLRDriveLabels_GoogleAppsDriveLabelsV2ListLabelLocksResponse : GTLRCollectionObject /** - * LabelLocks. + * Label locks. * * @note This property is used to support NSFastEnumeration and indexed * subscripting on this class. @@ -2369,7 +2368,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabels_GoogleAppsDriveLabelsV2Updat /** - * Response for listing the permissions on a Label. + * Response for listing the permissions on a label. * * @note This class supports NSFastEnumeration and indexed subscripting over * its "labelPermissions" property. If returned as the result of a query, @@ -2393,7 +2392,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabels_GoogleAppsDriveLabelsV2Updat /** - * Response for listing Labels. + * Response for listing labels. * * @note This class supports NSFastEnumeration and indexed subscripting over * its "labels" property. If returned as the result of a query, it should @@ -2417,12 +2416,12 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabels_GoogleAppsDriveLabelsV2Updat /** - * Limits for list-variant of a Field type. + * Limits for list-variant of a field type. */ @interface GTLRDriveLabels_GoogleAppsDriveLabelsV2ListLimits : GTLRObject /** - * Maximum number of values allowed for the Field type. + * Maximum number of values allowed for the field type. * * Uses NSNumber of intValue. */ @@ -2439,8 +2438,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabels_GoogleAppsDriveLabelsV2Updat /** * Output only. Indicates whether this label component is the (direct) target - * of a LabelLock. A label component can be implicitly locked even if it's not - * the direct target of a LabelLock, in which case this field is set to false. + * of a label lock. A label component can be implicitly locked even if it's not + * the direct target of a label lock, in which case this field is set to false. * * Uses NSNumber of boolValue. */ @@ -2450,19 +2449,19 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabels_GoogleAppsDriveLabelsV2Updat /** - * Limits for long text Field type. + * Limits for long text field type. */ @interface GTLRDriveLabels_GoogleAppsDriveLabelsV2LongTextLimits : GTLRObject /** - * Maximum length allowed for a long text Field type. + * Maximum length allowed for a long text field type. * * Uses NSNumber of intValue. */ @property(nonatomic, strong, nullable) NSNumber *maxLength; /** - * Minimum length allowed for a long text Field type. + * Minimum length allowed for a long text field type. * * Uses NSNumber of intValue. */ @@ -2484,7 +2483,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabels_GoogleAppsDriveLabelsV2Updat /** * Set to `true` in order to use the user's admin credentials. The server will - * verify the user is an admin for the Label before allowing access. + * verify the user is an admin for the label before allowing access. * * Uses NSNumber of boolValue. */ @@ -2492,7 +2491,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabels_GoogleAppsDriveLabelsV2Updat /** * Provides control over how write requests are executed. Defaults to unset, - * which means last write wins. + * which means the last write wins. */ @property(nonatomic, strong, nullable) GTLRDriveLabels_GoogleAppsDriveLabelsV2WriteControl *writeControl; @@ -2500,15 +2499,15 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabels_GoogleAppsDriveLabelsV2Updat /** - * Limits for selection Field type. + * Limits for selection field type. */ @interface GTLRDriveLabels_GoogleAppsDriveLabelsV2SelectionLimits : GTLRObject -/** Limits for list-variant of a Field type. */ +/** Limits for list-variant of a field type. */ @property(nonatomic, strong, nullable) GTLRDriveLabels_GoogleAppsDriveLabelsV2ListLimits *listLimits; /** - * The max number of choices. + * Maximum number of choices. * * Uses NSNumber of intValue. */ @@ -2529,7 +2528,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabels_GoogleAppsDriveLabelsV2Updat @property(nonatomic, strong, nullable) NSNumber *maxDisplayNameLength; /** - * Maximum ID length for a selection options. + * Maximum ID length for a selection option. * * Uses NSNumber of intValue. */ @@ -2539,19 +2538,19 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabels_GoogleAppsDriveLabelsV2Updat /** - * Limits for text Field type. + * Limits for text field type. */ @interface GTLRDriveLabels_GoogleAppsDriveLabelsV2TextLimits : GTLRObject /** - * Maximum length allowed for a text Field type. + * Maximum length allowed for a text field type. * * Uses NSNumber of intValue. */ @property(nonatomic, strong, nullable) NSNumber *maxLength; /** - * Minimum length allowed for a text Field type. + * Minimum length allowed for a text field type. * * Uses NSNumber of intValue. */ @@ -2561,14 +2560,13 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabels_GoogleAppsDriveLabelsV2Updat /** - * Request to update the `CopyMode` of the given Label. Changes to this policy - * are not revisioned, do not require publishing, and take effect immediately. - * \\ + * Request to update the `CopyMode` of the given label. Changes to this policy + * aren't revisioned, don't require publishing, and take effect immediately. \\ */ @interface GTLRDriveLabels_GoogleAppsDriveLabelsV2UpdateLabelCopyModeRequest : GTLRObject /** - * Required. Indicates how the applied Label, and Field values should be copied + * Required. Indicates how the applied label and field values should be copied * when a Drive item is copied. * * Likely values: @@ -2582,7 +2580,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabels_GoogleAppsDriveLabelsV2Updat * @arg @c kGTLRDriveLabels_GoogleAppsDriveLabelsV2UpdateLabelCopyModeRequest_CopyMode_CopyModeUnspecified * Copy mode unspecified. (Value: "COPY_MODE_UNSPECIFIED") * @arg @c kGTLRDriveLabels_GoogleAppsDriveLabelsV2UpdateLabelCopyModeRequest_CopyMode_DoNotCopy - * The applied label and field values are not copied by default when the + * The applied label and field values aren't copied by default when the * Drive item it's applied to is copied. (Value: "DO_NOT_COPY") */ @property(nonatomic, copy, nullable) NSString *copyMode NS_RETURNS_NOT_RETAINED; @@ -2595,7 +2593,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabels_GoogleAppsDriveLabelsV2Updat /** * Set to `true` in order to use the user's admin credentials. The server will - * verify the user is an admin for the Label before allowing access. + * verify the user is an admin for the label before allowing access. * * Uses NSNumber of boolValue. */ @@ -2618,13 +2616,13 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabels_GoogleAppsDriveLabelsV2Updat /** - * Request to update the `EnabledAppSettings` of the given Label. This change - * is not revisioned, does not require publishing, and takes effect - * immediately. \\ + * Request to update the `EnabledAppSettings` of the given label. This change + * is not revisioned, doesn't require publishing, and takes effect immediately. + * \\ */ @interface GTLRDriveLabels_GoogleAppsDriveLabelsV2UpdateLabelEnabledAppSettingsRequest : GTLRObject -/** Required. The new `EnabledAppSettings` value for the Label. */ +/** Required. The new `EnabledAppSettings` value for the label. */ @property(nonatomic, strong, nullable) GTLRDriveLabels_GoogleAppsDriveLabelsV2LabelEnabledAppSettings *enabledAppSettings; /** @@ -2636,7 +2634,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabels_GoogleAppsDriveLabelsV2Updat /** * Optional. Set to `true` in order to use the user's admin credentials. The - * server will verify the user is an admin for the Label before allowing + * server will verify the user is an admin for the label before allowing * access. * * Uses NSNumber of boolValue. @@ -2660,20 +2658,20 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabels_GoogleAppsDriveLabelsV2Updat /** - * Updates a Label Permission. Permissions affect the Label resource as a - * whole, are not revisioned, and do not require publishing. + * Updates a label permission. Permissions affect the label resource as a + * whole, aren't revisioned, and don't require publishing. */ @interface GTLRDriveLabels_GoogleAppsDriveLabelsV2UpdateLabelPermissionRequest : GTLRObject -/** Required. The permission to create or update on the Label. */ +/** Required. The permission to create or update on the label. */ @property(nonatomic, strong, nullable) GTLRDriveLabels_GoogleAppsDriveLabelsV2LabelPermission *labelPermission; -/** Required. The parent Label resource name. */ +/** Required. The parent label resource name. */ @property(nonatomic, copy, nullable) NSString *parent; /** * Set to `true` in order to use the user's admin credentials. The server will - * verify the user is an admin for the Label before allowing access. + * verify the user is an admin for the label before allowing access. * * Uses NSNumber of boolValue. */ @@ -2703,14 +2701,14 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabels_GoogleAppsDriveLabelsV2Updat @property(nonatomic, strong, nullable) NSNumber *canAdministrateLabels; /** - * Output only. Whether the user is allowed to create new admin labels. + * Output only. Whether the user is allowed to create admin labels. * * Uses NSNumber of boolValue. */ @property(nonatomic, strong, nullable) NSNumber *canCreateAdminLabels; /** - * Output only. Whether the user is allowed to create new shared labels. + * Output only. Whether the user is allowed to create shared labels. * * Uses NSNumber of boolValue. */ @@ -2728,8 +2726,9 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabels_GoogleAppsDriveLabelsV2Updat @interface GTLRDriveLabels_GoogleAppsDriveLabelsV2UserInfo : GTLRObject /** - * The identifier for this user that can be used with the People API to get - * more information. For example, people/12345678. + * The identifier for this user that can be used with the [People + * API](https://developers.google.com/people) to get more information. For + * example, `people/12345678`. */ @property(nonatomic, copy, nullable) NSString *person; @@ -2741,7 +2740,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabels_GoogleAppsDriveLabelsV2Updat */ @interface GTLRDriveLabels_GoogleAppsDriveLabelsV2UserLimits : GTLRObject -/** Limits for list-variant of a Field type. */ +/** Limits for list-variant of a field type. */ @property(nonatomic, strong, nullable) GTLRDriveLabels_GoogleAppsDriveLabelsV2ListLimits *listLimits; @end @@ -2754,8 +2753,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabels_GoogleAppsDriveLabelsV2Updat @interface GTLRDriveLabels_GoogleAppsDriveLabelsV2WriteControl : GTLRObject /** - * The revision_id of the label that the write request will be applied to. If - * this is not the latest revision of the label, the request will not be + * The revision ID of the label that the write request will be applied to. If + * this isn't the latest revision of the label, the request will not be * processed and will return a 400 Bad Request error. */ @property(nonatomic, copy, nullable) NSString *requiredRevisionId; diff --git a/Sources/GeneratedServices/DriveLabels/Public/GoogleAPIClientForREST/GTLRDriveLabelsQuery.h b/Sources/GeneratedServices/DriveLabels/Public/GoogleAPIClientForREST/GTLRDriveLabelsQuery.h index 62b74616e..38c0fdda1 100644 --- a/Sources/GeneratedServices/DriveLabels/Public/GoogleAPIClientForREST/GTLRDriveLabelsQuery.h +++ b/Sources/GeneratedServices/DriveLabels/Public/GoogleAPIClientForREST/GTLRDriveLabelsQuery.h @@ -94,7 +94,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabelsViewLabelViewFull; @end /** - * Creates a new Label. + * Creates a label. For more information, see [Create and publish a + * label](https://developers.google.com/workspace/drive/labels/guides/create-label). * * Method: drivelabels.labels.create * @@ -105,7 +106,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabelsViewLabelViewFull; @interface GTLRDriveLabelsQuery_LabelsCreate : GTLRDriveLabelsQuery /** - * The BCP-47 language code to use for evaluating localized Field labels in + * The BCP-47 language code to use for evaluating localized field labels in * response. When not specified, values in the default configured language will * be used. */ @@ -120,7 +121,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabelsViewLabelViewFull; /** * Fetches a @c GTLRDriveLabels_GoogleAppsDriveLabelsV2Label. * - * Creates a new Label. + * Creates a label. For more information, see [Create and publish a + * label](https://developers.google.com/workspace/drive/labels/guides/create-label). * * @param object The @c GTLRDriveLabels_GoogleAppsDriveLabelsV2Label to include * in the query. @@ -132,9 +134,11 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabelsViewLabelViewFull; @end /** - * Permanently deletes a Label and related metadata on Drive Items. Once - * deleted, the Label and related Drive item metadata will be deleted. Only - * draft Labels, and disabled Labels may be deleted. + * Permanently deletes a label and related metadata on Drive items. For more + * information, see [Disable, enable, and delete a + * label](https://developers.google.com/workspace/drive/labels/guides/disable-delete-label). + * Once deleted, the label and related Drive item metadata will be deleted. + * Only draft labels and disabled labels may be deleted. * * Method: drivelabels.labels.delete * @@ -149,13 +153,13 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabelsViewLabelViewFull; /** * Set to `true` in order to use the user's admin credentials. The server will - * verify the user is an admin for the Label before allowing access. + * verify the user is an admin for the label before allowing access. */ @property(nonatomic, assign) BOOL useAdminAccess; /** - * The revision_id of the label that the write request will be applied to. If - * this is not the latest revision of the label, the request will not be + * The revision ID of the label that the write request will be applied to. If + * this isn't the latest revision of the label, the request will not be * processed and will return a 400 Bad Request error. */ @property(nonatomic, copy, nullable) NSString *writeControlRequiredRevisionId; @@ -163,9 +167,11 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabelsViewLabelViewFull; /** * Fetches a @c GTLRDriveLabels_GoogleProtobufEmpty. * - * Permanently deletes a Label and related metadata on Drive Items. Once - * deleted, the Label and related Drive item metadata will be deleted. Only - * draft Labels, and disabled Labels may be deleted. + * Permanently deletes a label and related metadata on Drive items. For more + * information, see [Disable, enable, and delete a + * label](https://developers.google.com/workspace/drive/labels/guides/disable-delete-label). + * Once deleted, the label and related Drive item metadata will be deleted. + * Only draft labels and disabled labels may be deleted. * * @param name Required. Label resource name. * @@ -176,10 +182,12 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabelsViewLabelViewFull; @end /** - * Updates a single Label by applying a set of update requests resulting in a - * new draft revision. The batch update is all-or-nothing: If any of the update - * requests are invalid, no changes are applied. The resulting draft revision - * must be published before the changes may be used with Drive Items. + * Updates a single label by applying a set of update requests resulting in a + * new draft revision. For more information, see [Update a + * label](https://developers.google.com/workspace/drive/labels/guides/update-label). + * The batch update is all-or-nothing: If any of the update requests are + * invalid, no changes are applied. The resulting draft revision must be + * published before the changes may be used with Drive items. * * Method: drivelabels.labels.delta * @@ -189,22 +197,24 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabelsViewLabelViewFull; */ @interface GTLRDriveLabelsQuery_LabelsDelta : GTLRDriveLabelsQuery -/** Required. The resource name of the Label to update. */ +/** Required. The resource name of the label to update. */ @property(nonatomic, copy, nullable) NSString *name; /** * Fetches a @c * GTLRDriveLabels_GoogleAppsDriveLabelsV2DeltaUpdateLabelResponse. * - * Updates a single Label by applying a set of update requests resulting in a - * new draft revision. The batch update is all-or-nothing: If any of the update - * requests are invalid, no changes are applied. The resulting draft revision - * must be published before the changes may be used with Drive Items. + * Updates a single label by applying a set of update requests resulting in a + * new draft revision. For more information, see [Update a + * label](https://developers.google.com/workspace/drive/labels/guides/update-label). + * The batch update is all-or-nothing: If any of the update requests are + * invalid, no changes are applied. The resulting draft revision must be + * published before the changes may be used with Drive items. * * @param object The @c * GTLRDriveLabels_GoogleAppsDriveLabelsV2DeltaUpdateLabelRequest to include * in the query. - * @param name Required. The resource name of the Label to update. + * @param name Required. The resource name of the label to update. * * @return GTLRDriveLabelsQuery_LabelsDelta */ @@ -214,11 +224,14 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabelsViewLabelViewFull; @end /** - * Disable a published Label. Disabling a Label will result in a new disabled - * published revision based on the current published revision. If there is a - * draft revision, a new disabled draft revision will be created based on the - * latest draft revision. Older draft revisions will be deleted. Once disabled, - * a label may be deleted with `DeleteLabel`. + * Disable a published label. For more information, see [Disable, enable, and + * delete a + * label](https://developers.google.com/workspace/drive/labels/guides/disable-delete-label). + * Disabling a label will result in a new disabled published revision based on + * the current published revision. If there's a draft revision, a new disabled + * draft revision will be created based on the latest draft revision. Older + * draft revisions will be deleted. Once disabled, a label may be deleted with + * `DeleteLabel`. * * Method: drivelabels.labels.disable * @@ -234,11 +247,14 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabelsViewLabelViewFull; /** * Fetches a @c GTLRDriveLabels_GoogleAppsDriveLabelsV2Label. * - * Disable a published Label. Disabling a Label will result in a new disabled - * published revision based on the current published revision. If there is a - * draft revision, a new disabled draft revision will be created based on the - * latest draft revision. Older draft revisions will be deleted. Once disabled, - * a label may be deleted with `DeleteLabel`. + * Disable a published label. For more information, see [Disable, enable, and + * delete a + * label](https://developers.google.com/workspace/drive/labels/guides/disable-delete-label). + * Disabling a label will result in a new disabled published revision based on + * the current published revision. If there's a draft revision, a new disabled + * draft revision will be created based on the latest draft revision. Older + * draft revisions will be deleted. Once disabled, a label may be deleted with + * `DeleteLabel`. * * @param object The @c * GTLRDriveLabels_GoogleAppsDriveLabelsV2DisableLabelRequest to include in @@ -253,10 +269,12 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabelsViewLabelViewFull; @end /** - * Enable a disabled Label and restore it to its published state. This will - * result in a new published revision based on the current disabled published - * revision. If there is an existing disabled draft revision, a new revision - * will be created based on that draft and will be enabled. + * Enable a disabled label and restore it to its published state. For more + * information, see [Disable, enable, and delete a + * label](https://developers.google.com/workspace/drive/labels/guides/disable-delete-label). + * This will result in a new published revision based on the current disabled + * published revision. If there's an existing disabled draft revision, a new + * revision will be created based on that draft and will be enabled. * * Method: drivelabels.labels.enable * @@ -272,10 +290,12 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabelsViewLabelViewFull; /** * Fetches a @c GTLRDriveLabels_GoogleAppsDriveLabelsV2Label. * - * Enable a disabled Label and restore it to its published state. This will - * result in a new published revision based on the current disabled published - * revision. If there is an existing disabled draft revision, a new revision - * will be created based on that draft and will be enabled. + * Enable a disabled label and restore it to its published state. For more + * information, see [Disable, enable, and delete a + * label](https://developers.google.com/workspace/drive/labels/guides/disable-delete-label). + * This will result in a new published revision based on the current disabled + * published revision. If there's an existing disabled draft revision, a new + * revision will be created based on that draft and will be enabled. * * @param object The @c * GTLRDriveLabels_GoogleAppsDriveLabelsV2EnableLabelRequest to include in @@ -290,11 +310,13 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabelsViewLabelViewFull; @end /** - * Get a label by its resource name. Resource name may be any of: * - * `labels/{id}` - See `labels/{id}\@latest` * `labels/{id}\@latest` - Gets the - * latest revision of the label. * `labels/{id}\@published` - Gets the current - * published revision of the label. * `labels/{id}\@{revision_id}` - Gets the - * label at the specified revision ID. + * Get a label by its resource name. For more information, see [Search for + * labels](https://developers.google.com/workspace/drive/labels/guides/search-label). + * Resource name may be any of: * `labels/{id}` - See `labels/{id}\@latest` * + * `labels/{id}\@latest` - Gets the latest revision of the label. * + * `labels/{id}\@published` - Gets the current published revision of the label. + * * `labels/{id}\@{revision_id}` - Gets the label at the specified revision + * ID. * * Method: drivelabels.labels.get * @@ -341,11 +363,13 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabelsViewLabelViewFull; /** * Fetches a @c GTLRDriveLabels_GoogleAppsDriveLabelsV2Label. * - * Get a label by its resource name. Resource name may be any of: * - * `labels/{id}` - See `labels/{id}\@latest` * `labels/{id}\@latest` - Gets the - * latest revision of the label. * `labels/{id}\@published` - Gets the current - * published revision of the label. * `labels/{id}\@{revision_id}` - Gets the - * label at the specified revision ID. + * Get a label by its resource name. For more information, see [Search for + * labels](https://developers.google.com/workspace/drive/labels/guides/search-label). + * Resource name may be any of: * `labels/{id}` - See `labels/{id}\@latest` * + * `labels/{id}\@latest` - Gets the latest revision of the label. * + * `labels/{id}\@published` - Gets the current published revision of the label. + * * `labels/{id}\@{revision_id}` - Gets the label at the specified revision + * ID. * * @param name Required. Label resource name. May be any of: * `labels/{id}` * (equivalent to labels/{id}\@latest) * `labels/{id}\@latest` * @@ -358,7 +382,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabelsViewLabelViewFull; @end /** - * List labels. + * List labels. For more information, see [Search for + * labels](https://developers.google.com/workspace/drive/labels/guides/search-label). * * Method: drivelabels.labels.list * @@ -372,7 +397,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabelsViewLabelViewFull; /** * The customer to scope this list request to. For example: - * "customers/abcd1234". If unset, will return all labels within the current + * `customers/abcd1234`. If unset, will return all labels within the current * customer. */ @property(nonatomic, copy, nullable) NSString *customer; @@ -384,7 +409,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabelsViewLabelViewFull; @property(nonatomic, copy, nullable) NSString *languageCode; /** - * Specifies the level of access the user must have on the returned Labels. The + * Specifies the level of access the user must have on the returned labels. The * minimum role a user must have on a label. Defaults to `READER`. * * Likely values: @@ -422,7 +447,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabelsViewLabelViewFull; /** * Set to `true` in order to use the user's admin credentials. This will return - * all Labels within the customer. + * all labels within the customer. */ @property(nonatomic, assign) BOOL useAdminAccess; @@ -442,7 +467,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabelsViewLabelViewFull; /** * Fetches a @c GTLRDriveLabels_GoogleAppsDriveLabelsV2ListLabelsResponse. * - * List labels. + * List labels. For more information, see [Search for + * labels](https://developers.google.com/workspace/drive/labels/guides/search-label). * * @return GTLRDriveLabelsQuery_LabelsList * @@ -455,7 +481,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabelsViewLabelViewFull; @end /** - * Lists the LabelLocks on a Label. + * Lists the label locks on a label. * * Method: drivelabels.labels.locks.list * @@ -467,22 +493,22 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabelsViewLabelViewFull; */ @interface GTLRDriveLabelsQuery_LabelsLocksList : GTLRDriveLabelsQuery -/** Maximum number of Locks to return per page. Default: 100. Max: 200. */ +/** Maximum number of locks to return per page. Default: 100. Max: 200. */ @property(nonatomic, assign) NSInteger pageSize; /** The token of the page to return. */ @property(nonatomic, copy, nullable) NSString *pageToken; -/** Required. Label on which Locks are applied. Format: labels/{label} */ +/** Required. Label on which locks are applied. Format: `labels/{label}`. */ @property(nonatomic, copy, nullable) NSString *parent; /** * Fetches a @c GTLRDriveLabels_GoogleAppsDriveLabelsV2ListLabelLocksResponse. * - * Lists the LabelLocks on a Label. + * Lists the label locks on a label. * - * @param parent Required. Label on which Locks are applied. Format: - * labels/{label} + * @param parent Required. Label on which locks are applied. Format: + * `labels/{label}`. * * @return GTLRDriveLabelsQuery_LabelsLocksList * @@ -495,8 +521,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabelsViewLabelViewFull; @end /** - * Deletes Label permissions. Permissions affect the Label resource as a whole, - * are not revisioned, and do not require publishing. + * Deletes label permissions. Permissions affect the label resource as a whole, + * aren't revisioned, and don't require publishing. * * Method: drivelabels.labels.permissions.batchDelete * @@ -507,9 +533,9 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabelsViewLabelViewFull; @interface GTLRDriveLabelsQuery_LabelsPermissionsBatchDelete : GTLRDriveLabelsQuery /** - * Required. The parent Label resource name shared by all permissions being - * deleted. Format: labels/{label} If this is set, the parent field in the - * UpdateLabelPermissionRequest messages must either be empty or match this + * Required. The parent label resource name shared by all permissions being + * deleted. Format: `labels/{label}`. If this is set, the parent field in the + * `UpdateLabelPermissionRequest` messages must either be empty or match this * field. */ @property(nonatomic, copy, nullable) NSString *parent; @@ -517,15 +543,15 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabelsViewLabelViewFull; /** * Fetches a @c GTLRDriveLabels_GoogleProtobufEmpty. * - * Deletes Label permissions. Permissions affect the Label resource as a whole, - * are not revisioned, and do not require publishing. + * Deletes label permissions. Permissions affect the label resource as a whole, + * aren't revisioned, and don't require publishing. * * @param object The @c * GTLRDriveLabels_GoogleAppsDriveLabelsV2BatchDeleteLabelPermissionsRequest * to include in the query. - * @param parent Required. The parent Label resource name shared by all - * permissions being deleted. Format: labels/{label} If this is set, the - * parent field in the UpdateLabelPermissionRequest messages must either be + * @param parent Required. The parent label resource name shared by all + * permissions being deleted. Format: `labels/{label}`. If this is set, the + * parent field in the `UpdateLabelPermissionRequest` messages must either be * empty or match this field. * * @return GTLRDriveLabelsQuery_LabelsPermissionsBatchDelete @@ -536,10 +562,10 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabelsViewLabelViewFull; @end /** - * Updates Label permissions. If a permission for the indicated principal - * doesn't exist, a new Label Permission is created, otherwise the existing - * permission is updated. Permissions affect the Label resource as a whole, are - * not revisioned, and do not require publishing. + * Updates label permissions. If a permission for the indicated principal + * doesn't exist, a label permission is created, otherwise the existing + * permission is updated. Permissions affect the label resource as a whole, + * aren't revisioned, and don't require publishing. * * Method: drivelabels.labels.permissions.batchUpdate * @@ -550,9 +576,9 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabelsViewLabelViewFull; @interface GTLRDriveLabelsQuery_LabelsPermissionsBatchUpdate : GTLRDriveLabelsQuery /** - * Required. The parent Label resource name shared by all permissions being - * updated. Format: labels/{label} If this is set, the parent field in the - * UpdateLabelPermissionRequest messages must either be empty or match this + * Required. The parent label resource name shared by all permissions being + * updated. Format: `labels/{label}`. If this is set, the parent field in the + * `UpdateLabelPermissionRequest` messages must either be empty or match this * field. */ @property(nonatomic, copy, nullable) NSString *parent; @@ -561,17 +587,17 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabelsViewLabelViewFull; * Fetches a @c * GTLRDriveLabels_GoogleAppsDriveLabelsV2BatchUpdateLabelPermissionsResponse. * - * Updates Label permissions. If a permission for the indicated principal - * doesn't exist, a new Label Permission is created, otherwise the existing - * permission is updated. Permissions affect the Label resource as a whole, are - * not revisioned, and do not require publishing. + * Updates label permissions. If a permission for the indicated principal + * doesn't exist, a label permission is created, otherwise the existing + * permission is updated. Permissions affect the label resource as a whole, + * aren't revisioned, and don't require publishing. * * @param object The @c * GTLRDriveLabels_GoogleAppsDriveLabelsV2BatchUpdateLabelPermissionsRequest * to include in the query. - * @param parent Required. The parent Label resource name shared by all - * permissions being updated. Format: labels/{label} If this is set, the - * parent field in the UpdateLabelPermissionRequest messages must either be + * @param parent Required. The parent label resource name shared by all + * permissions being updated. Format: `labels/{label}`. If this is set, the + * parent field in the `UpdateLabelPermissionRequest` messages must either be * empty or match this field. * * @return GTLRDriveLabelsQuery_LabelsPermissionsBatchUpdate @@ -582,10 +608,10 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabelsViewLabelViewFull; @end /** - * Updates a Label's permissions. If a permission for the indicated principal - * doesn't exist, a new Label Permission is created, otherwise the existing - * permission is updated. Permissions affect the Label resource as a whole, are - * not revisioned, and do not require publishing. + * Updates a label's permissions. If a permission for the indicated principal + * doesn't exist, a label permission is created, otherwise the existing + * permission is updated. Permissions affect the label resource as a whole, + * aren't revisioned, and don't require publishing. * * Method: drivelabels.labels.permissions.create * @@ -596,29 +622,29 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabelsViewLabelViewFull; @interface GTLRDriveLabelsQuery_LabelsPermissionsCreate : GTLRDriveLabelsQuery /** - * Required. The parent Label resource name on the Label Permission is created. - * Format: labels/{label} + * Required. The parent label resource name on the label permission is created. + * Format: `labels/{label}`. */ @property(nonatomic, copy, nullable) NSString *parent; /** * Set to `true` in order to use the user's admin credentials. The server will - * verify the user is an admin for the Label before allowing access. + * verify the user is an admin for the label before allowing access. */ @property(nonatomic, assign) BOOL useAdminAccess; /** * Fetches a @c GTLRDriveLabels_GoogleAppsDriveLabelsV2LabelPermission. * - * Updates a Label's permissions. If a permission for the indicated principal - * doesn't exist, a new Label Permission is created, otherwise the existing - * permission is updated. Permissions affect the Label resource as a whole, are - * not revisioned, and do not require publishing. + * Updates a label's permissions. If a permission for the indicated principal + * doesn't exist, a label permission is created, otherwise the existing + * permission is updated. Permissions affect the label resource as a whole, + * aren't revisioned, and don't require publishing. * * @param object The @c GTLRDriveLabels_GoogleAppsDriveLabelsV2LabelPermission * to include in the query. - * @param parent Required. The parent Label resource name on the Label - * Permission is created. Format: labels/{label} + * @param parent Required. The parent label resource name on the label + * permission is created. Format: `labels/{label}`. * * @return GTLRDriveLabelsQuery_LabelsPermissionsCreate */ @@ -628,8 +654,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabelsViewLabelViewFull; @end /** - * Deletes a Label's permission. Permissions affect the Label resource as a - * whole, are not revisioned, and do not require publishing. + * Deletes a label's permission. Permissions affect the label resource as a + * whole, aren't revisioned, and don't require publishing. * * Method: drivelabels.labels.permissions.delete * @@ -639,22 +665,22 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabelsViewLabelViewFull; */ @interface GTLRDriveLabelsQuery_LabelsPermissionsDelete : GTLRDriveLabelsQuery -/** Required. Label Permission resource name. */ +/** Required. Label permission resource name. */ @property(nonatomic, copy, nullable) NSString *name; /** * Set to `true` in order to use the user's admin credentials. The server will - * verify the user is an admin for the Label before allowing access. + * verify the user is an admin for the label before allowing access. */ @property(nonatomic, assign) BOOL useAdminAccess; /** * Fetches a @c GTLRDriveLabels_GoogleProtobufEmpty. * - * Deletes a Label's permission. Permissions affect the Label resource as a - * whole, are not revisioned, and do not require publishing. + * Deletes a label's permission. Permissions affect the label resource as a + * whole, aren't revisioned, and don't require publishing. * - * @param name Required. Label Permission resource name. + * @param name Required. Label permission resource name. * * @return GTLRDriveLabelsQuery_LabelsPermissionsDelete */ @@ -663,7 +689,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabelsViewLabelViewFull; @end /** - * Lists a Label's permissions. + * Lists a label's permissions. * * Method: drivelabels.labels.permissions.list * @@ -684,14 +710,14 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabelsViewLabelViewFull; @property(nonatomic, copy, nullable) NSString *pageToken; /** - * Required. The parent Label resource name on which Label Permission are - * listed. Format: labels/{label} + * Required. The parent label resource name on which label permissions are + * listed. Format: `labels/{label}`. */ @property(nonatomic, copy, nullable) NSString *parent; /** * Set to `true` in order to use the user's admin credentials. The server will - * verify the user is an admin for the Label before allowing access. + * verify the user is an admin for the label before allowing access. */ @property(nonatomic, assign) BOOL useAdminAccess; @@ -699,10 +725,10 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabelsViewLabelViewFull; * Fetches a @c * GTLRDriveLabels_GoogleAppsDriveLabelsV2ListLabelPermissionsResponse. * - * Lists a Label's permissions. + * Lists a label's permissions. * - * @param parent Required. The parent Label resource name on which Label - * Permission are listed. Format: labels/{label} + * @param parent Required. The parent label resource name on which label + * permissions are listed. Format: `labels/{label}`. * * @return GTLRDriveLabelsQuery_LabelsPermissionsList * @@ -715,18 +741,22 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabelsViewLabelViewFull; @end /** - * Publish all draft changes to the Label. Once published, the Label may not - * return to its draft state. See `google.apps.drive.labels.v2.Lifecycle` for - * more information. Publishing a Label will result in a new published - * revision. All previous draft revisions will be deleted. Previous published - * revisions will be kept but are subject to automated deletion as needed. Once - * published, some changes are no longer permitted. Generally, any change that - * would invalidate or cause new restrictions on existing metadata related to - * the Label will be rejected. For example, the following changes to a Label - * will be rejected after the Label is published: * The label cannot be - * directly deleted. It must be disabled first, then deleted. * Field.FieldType - * cannot be changed. * Changes to Field validation options cannot reject - * something that was previously accepted. * Reducing the max entries. + * Publish all draft changes to the label. Once published, the label may not + * return to its draft state. For more information, see [Create and publish a + * label](https://developers.google.com/workspace/drive/labels/guides/create-label). + * Publishing a label will result in a new published revision. All previous + * draft revisions will be deleted. Previous published revisions will be kept + * but are subject to automated deletion as needed. For more information, see + * [Label + * lifecycle](https://developers.google.com/workspace/drive/labels/guides/label-lifecycle). + * Once published, some changes are no longer permitted. Generally, any change + * that would invalidate or cause new restrictions on existing metadata related + * to the label will be rejected. For example, the following changes to a label + * will be rejected after the label is published: * The label cannot be + * directly deleted. It must be disabled first, then deleted. * + * `Field.FieldType` cannot be changed. * Changes to field validation options + * cannot reject something that was previously accepted. * Reducing the maximum + * entries. * * Method: drivelabels.labels.publish * @@ -742,18 +772,22 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabelsViewLabelViewFull; /** * Fetches a @c GTLRDriveLabels_GoogleAppsDriveLabelsV2Label. * - * Publish all draft changes to the Label. Once published, the Label may not - * return to its draft state. See `google.apps.drive.labels.v2.Lifecycle` for - * more information. Publishing a Label will result in a new published - * revision. All previous draft revisions will be deleted. Previous published - * revisions will be kept but are subject to automated deletion as needed. Once - * published, some changes are no longer permitted. Generally, any change that - * would invalidate or cause new restrictions on existing metadata related to - * the Label will be rejected. For example, the following changes to a Label - * will be rejected after the Label is published: * The label cannot be - * directly deleted. It must be disabled first, then deleted. * Field.FieldType - * cannot be changed. * Changes to Field validation options cannot reject - * something that was previously accepted. * Reducing the max entries. + * Publish all draft changes to the label. Once published, the label may not + * return to its draft state. For more information, see [Create and publish a + * label](https://developers.google.com/workspace/drive/labels/guides/create-label). + * Publishing a label will result in a new published revision. All previous + * draft revisions will be deleted. Previous published revisions will be kept + * but are subject to automated deletion as needed. For more information, see + * [Label + * lifecycle](https://developers.google.com/workspace/drive/labels/guides/label-lifecycle). + * Once published, some changes are no longer permitted. Generally, any change + * that would invalidate or cause new restrictions on existing metadata related + * to the label will be rejected. For example, the following changes to a label + * will be rejected after the label is published: * The label cannot be + * directly deleted. It must be disabled first, then deleted. * + * `Field.FieldType` cannot be changed. * Changes to field validation options + * cannot reject something that was previously accepted. * Reducing the maximum + * entries. * * @param object The @c * GTLRDriveLabels_GoogleAppsDriveLabelsV2PublishLabelRequest to include in @@ -768,7 +802,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabelsViewLabelViewFull; @end /** - * Lists the LabelLocks on a Label. + * Lists the label locks on a label. * * Method: drivelabels.labels.revisions.locks.list * @@ -780,22 +814,22 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabelsViewLabelViewFull; */ @interface GTLRDriveLabelsQuery_LabelsRevisionsLocksList : GTLRDriveLabelsQuery -/** Maximum number of Locks to return per page. Default: 100. Max: 200. */ +/** Maximum number of locks to return per page. Default: 100. Max: 200. */ @property(nonatomic, assign) NSInteger pageSize; /** The token of the page to return. */ @property(nonatomic, copy, nullable) NSString *pageToken; -/** Required. Label on which Locks are applied. Format: labels/{label} */ +/** Required. Label on which locks are applied. Format: `labels/{label}`. */ @property(nonatomic, copy, nullable) NSString *parent; /** * Fetches a @c GTLRDriveLabels_GoogleAppsDriveLabelsV2ListLabelLocksResponse. * - * Lists the LabelLocks on a Label. + * Lists the label locks on a label. * - * @param parent Required. Label on which Locks are applied. Format: - * labels/{label} + * @param parent Required. Label on which locks are applied. Format: + * `labels/{label}`. * * @return GTLRDriveLabelsQuery_LabelsRevisionsLocksList * @@ -808,8 +842,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabelsViewLabelViewFull; @end /** - * Deletes Label permissions. Permissions affect the Label resource as a whole, - * are not revisioned, and do not require publishing. + * Deletes label permissions. Permissions affect the label resource as a whole, + * aren't revisioned, and don't require publishing. * * Method: drivelabels.labels.revisions.permissions.batchDelete * @@ -820,9 +854,9 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabelsViewLabelViewFull; @interface GTLRDriveLabelsQuery_LabelsRevisionsPermissionsBatchDelete : GTLRDriveLabelsQuery /** - * Required. The parent Label resource name shared by all permissions being - * deleted. Format: labels/{label} If this is set, the parent field in the - * UpdateLabelPermissionRequest messages must either be empty or match this + * Required. The parent label resource name shared by all permissions being + * deleted. Format: `labels/{label}`. If this is set, the parent field in the + * `UpdateLabelPermissionRequest` messages must either be empty or match this * field. */ @property(nonatomic, copy, nullable) NSString *parent; @@ -830,15 +864,15 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabelsViewLabelViewFull; /** * Fetches a @c GTLRDriveLabels_GoogleProtobufEmpty. * - * Deletes Label permissions. Permissions affect the Label resource as a whole, - * are not revisioned, and do not require publishing. + * Deletes label permissions. Permissions affect the label resource as a whole, + * aren't revisioned, and don't require publishing. * * @param object The @c * GTLRDriveLabels_GoogleAppsDriveLabelsV2BatchDeleteLabelPermissionsRequest * to include in the query. - * @param parent Required. The parent Label resource name shared by all - * permissions being deleted. Format: labels/{label} If this is set, the - * parent field in the UpdateLabelPermissionRequest messages must either be + * @param parent Required. The parent label resource name shared by all + * permissions being deleted. Format: `labels/{label}`. If this is set, the + * parent field in the `UpdateLabelPermissionRequest` messages must either be * empty or match this field. * * @return GTLRDriveLabelsQuery_LabelsRevisionsPermissionsBatchDelete @@ -849,10 +883,10 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabelsViewLabelViewFull; @end /** - * Updates Label permissions. If a permission for the indicated principal - * doesn't exist, a new Label Permission is created, otherwise the existing - * permission is updated. Permissions affect the Label resource as a whole, are - * not revisioned, and do not require publishing. + * Updates label permissions. If a permission for the indicated principal + * doesn't exist, a label permission is created, otherwise the existing + * permission is updated. Permissions affect the label resource as a whole, + * aren't revisioned, and don't require publishing. * * Method: drivelabels.labels.revisions.permissions.batchUpdate * @@ -863,9 +897,9 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabelsViewLabelViewFull; @interface GTLRDriveLabelsQuery_LabelsRevisionsPermissionsBatchUpdate : GTLRDriveLabelsQuery /** - * Required. The parent Label resource name shared by all permissions being - * updated. Format: labels/{label} If this is set, the parent field in the - * UpdateLabelPermissionRequest messages must either be empty or match this + * Required. The parent label resource name shared by all permissions being + * updated. Format: `labels/{label}`. If this is set, the parent field in the + * `UpdateLabelPermissionRequest` messages must either be empty or match this * field. */ @property(nonatomic, copy, nullable) NSString *parent; @@ -874,17 +908,17 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabelsViewLabelViewFull; * Fetches a @c * GTLRDriveLabels_GoogleAppsDriveLabelsV2BatchUpdateLabelPermissionsResponse. * - * Updates Label permissions. If a permission for the indicated principal - * doesn't exist, a new Label Permission is created, otherwise the existing - * permission is updated. Permissions affect the Label resource as a whole, are - * not revisioned, and do not require publishing. + * Updates label permissions. If a permission for the indicated principal + * doesn't exist, a label permission is created, otherwise the existing + * permission is updated. Permissions affect the label resource as a whole, + * aren't revisioned, and don't require publishing. * * @param object The @c * GTLRDriveLabels_GoogleAppsDriveLabelsV2BatchUpdateLabelPermissionsRequest * to include in the query. - * @param parent Required. The parent Label resource name shared by all - * permissions being updated. Format: labels/{label} If this is set, the - * parent field in the UpdateLabelPermissionRequest messages must either be + * @param parent Required. The parent label resource name shared by all + * permissions being updated. Format: `labels/{label}`. If this is set, the + * parent field in the `UpdateLabelPermissionRequest` messages must either be * empty or match this field. * * @return GTLRDriveLabelsQuery_LabelsRevisionsPermissionsBatchUpdate @@ -895,10 +929,10 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabelsViewLabelViewFull; @end /** - * Updates a Label's permissions. If a permission for the indicated principal - * doesn't exist, a new Label Permission is created, otherwise the existing - * permission is updated. Permissions affect the Label resource as a whole, are - * not revisioned, and do not require publishing. + * Updates a label's permissions. If a permission for the indicated principal + * doesn't exist, a label permission is created, otherwise the existing + * permission is updated. Permissions affect the label resource as a whole, + * aren't revisioned, and don't require publishing. * * Method: drivelabels.labels.revisions.permissions.create * @@ -909,29 +943,29 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabelsViewLabelViewFull; @interface GTLRDriveLabelsQuery_LabelsRevisionsPermissionsCreate : GTLRDriveLabelsQuery /** - * Required. The parent Label resource name on the Label Permission is created. - * Format: labels/{label} + * Required. The parent label resource name on the label permission is created. + * Format: `labels/{label}`. */ @property(nonatomic, copy, nullable) NSString *parent; /** * Set to `true` in order to use the user's admin credentials. The server will - * verify the user is an admin for the Label before allowing access. + * verify the user is an admin for the label before allowing access. */ @property(nonatomic, assign) BOOL useAdminAccess; /** * Fetches a @c GTLRDriveLabels_GoogleAppsDriveLabelsV2LabelPermission. * - * Updates a Label's permissions. If a permission for the indicated principal - * doesn't exist, a new Label Permission is created, otherwise the existing - * permission is updated. Permissions affect the Label resource as a whole, are - * not revisioned, and do not require publishing. + * Updates a label's permissions. If a permission for the indicated principal + * doesn't exist, a label permission is created, otherwise the existing + * permission is updated. Permissions affect the label resource as a whole, + * aren't revisioned, and don't require publishing. * * @param object The @c GTLRDriveLabels_GoogleAppsDriveLabelsV2LabelPermission * to include in the query. - * @param parent Required. The parent Label resource name on the Label - * Permission is created. Format: labels/{label} + * @param parent Required. The parent label resource name on the label + * permission is created. Format: `labels/{label}`. * * @return GTLRDriveLabelsQuery_LabelsRevisionsPermissionsCreate */ @@ -941,8 +975,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabelsViewLabelViewFull; @end /** - * Deletes a Label's permission. Permissions affect the Label resource as a - * whole, are not revisioned, and do not require publishing. + * Deletes a label's permission. Permissions affect the label resource as a + * whole, aren't revisioned, and don't require publishing. * * Method: drivelabels.labels.revisions.permissions.delete * @@ -952,22 +986,22 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabelsViewLabelViewFull; */ @interface GTLRDriveLabelsQuery_LabelsRevisionsPermissionsDelete : GTLRDriveLabelsQuery -/** Required. Label Permission resource name. */ +/** Required. Label permission resource name. */ @property(nonatomic, copy, nullable) NSString *name; /** * Set to `true` in order to use the user's admin credentials. The server will - * verify the user is an admin for the Label before allowing access. + * verify the user is an admin for the label before allowing access. */ @property(nonatomic, assign) BOOL useAdminAccess; /** * Fetches a @c GTLRDriveLabels_GoogleProtobufEmpty. * - * Deletes a Label's permission. Permissions affect the Label resource as a - * whole, are not revisioned, and do not require publishing. + * Deletes a label's permission. Permissions affect the label resource as a + * whole, aren't revisioned, and don't require publishing. * - * @param name Required. Label Permission resource name. + * @param name Required. Label permission resource name. * * @return GTLRDriveLabelsQuery_LabelsRevisionsPermissionsDelete */ @@ -976,7 +1010,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabelsViewLabelViewFull; @end /** - * Lists a Label's permissions. + * Lists a label's permissions. * * Method: drivelabels.labels.revisions.permissions.list * @@ -997,14 +1031,14 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabelsViewLabelViewFull; @property(nonatomic, copy, nullable) NSString *pageToken; /** - * Required. The parent Label resource name on which Label Permission are - * listed. Format: labels/{label} + * Required. The parent label resource name on which label permissions are + * listed. Format: `labels/{label}`. */ @property(nonatomic, copy, nullable) NSString *parent; /** * Set to `true` in order to use the user's admin credentials. The server will - * verify the user is an admin for the Label before allowing access. + * verify the user is an admin for the label before allowing access. */ @property(nonatomic, assign) BOOL useAdminAccess; @@ -1012,10 +1046,10 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabelsViewLabelViewFull; * Fetches a @c * GTLRDriveLabels_GoogleAppsDriveLabelsV2ListLabelPermissionsResponse. * - * Lists a Label's permissions. + * Lists a label's permissions. * - * @param parent Required. The parent Label resource name on which Label - * Permission are listed. Format: labels/{label} + * @param parent Required. The parent label resource name on which label + * permissions are listed. Format: `labels/{label}`. * * @return GTLRDriveLabelsQuery_LabelsRevisionsPermissionsList * @@ -1028,10 +1062,10 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabelsViewLabelViewFull; @end /** - * Updates a Label's permissions. If a permission for the indicated principal - * doesn't exist, a new Label Permission is created, otherwise the existing - * permission is updated. Permissions affect the Label resource as a whole, are - * not revisioned, and do not require publishing. + * Updates a label's permissions. If a permission for the indicated principal + * doesn't exist, a label permission is created, otherwise the existing + * permission is updated. Permissions affect the label resource as a whole, + * aren't revisioned, and don't require publishing. * * Method: drivelabels.labels.revisions.updatePermissions * @@ -1041,26 +1075,26 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabelsViewLabelViewFull; */ @interface GTLRDriveLabelsQuery_LabelsRevisionsUpdatePermissions : GTLRDriveLabelsQuery -/** Required. The parent Label resource name. */ +/** Required. The parent label resource name. */ @property(nonatomic, copy, nullable) NSString *parent; /** * Set to `true` in order to use the user's admin credentials. The server will - * verify the user is an admin for the Label before allowing access. + * verify the user is an admin for the label before allowing access. */ @property(nonatomic, assign) BOOL useAdminAccess; /** * Fetches a @c GTLRDriveLabels_GoogleAppsDriveLabelsV2LabelPermission. * - * Updates a Label's permissions. If a permission for the indicated principal - * doesn't exist, a new Label Permission is created, otherwise the existing - * permission is updated. Permissions affect the Label resource as a whole, are - * not revisioned, and do not require publishing. + * Updates a label's permissions. If a permission for the indicated principal + * doesn't exist, a label permission is created, otherwise the existing + * permission is updated. Permissions affect the label resource as a whole, + * aren't revisioned, and don't require publishing. * * @param object The @c GTLRDriveLabels_GoogleAppsDriveLabelsV2LabelPermission * to include in the query. - * @param parent Required. The parent Label resource name. + * @param parent Required. The parent label resource name. * * @return GTLRDriveLabelsQuery_LabelsRevisionsUpdatePermissions */ @@ -1070,8 +1104,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabelsViewLabelViewFull; @end /** - * Updates a Label's `CopyMode`. Changes to this policy are not revisioned, do - * not require publishing, and take effect immediately. + * Updates a label's `CopyMode`. Changes to this policy aren't revisioned, + * don't require publishing, and take effect immediately. * * Method: drivelabels.labels.updateLabelCopyMode * @@ -1081,19 +1115,19 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabelsViewLabelViewFull; */ @interface GTLRDriveLabelsQuery_LabelsUpdateLabelCopyMode : GTLRDriveLabelsQuery -/** Required. The resource name of the Label to update. */ +/** Required. The resource name of the label to update. */ @property(nonatomic, copy, nullable) NSString *name; /** * Fetches a @c GTLRDriveLabels_GoogleAppsDriveLabelsV2Label. * - * Updates a Label's `CopyMode`. Changes to this policy are not revisioned, do - * not require publishing, and take effect immediately. + * Updates a label's `CopyMode`. Changes to this policy aren't revisioned, + * don't require publishing, and take effect immediately. * * @param object The @c * GTLRDriveLabels_GoogleAppsDriveLabelsV2UpdateLabelCopyModeRequest to * include in the query. - * @param name Required. The resource name of the Label to update. + * @param name Required. The resource name of the label to update. * * @return GTLRDriveLabelsQuery_LabelsUpdateLabelCopyMode */ @@ -1103,32 +1137,32 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabelsViewLabelViewFull; @end /** - * Updates a Label's EabledAppSettings. Enabling a Label in a Workspace - * Application allows it to be used in that application. This change is not - * revisioned, does not require publishing, and takes effect immediately. + * Updates a label's `EnabledAppSettings`. Enabling a label in a Google + * Workspace app allows it to be used in that app. This change isn't + * revisioned, doesn't require publishing, and takes effect immediately. * * Method: drivelabels.labels.updateLabelEnabledAppSettings */ @interface GTLRDriveLabelsQuery_LabelsUpdateLabelEnabledAppSettings : GTLRDriveLabelsQuery /** - * Required. The resource name of the Label to update. The resource name of the - * Label to update. + * Required. The resource name of the label to update. The resource name of the + * label to update. */ @property(nonatomic, copy, nullable) NSString *name; /** * Fetches a @c GTLRDriveLabels_GoogleAppsDriveLabelsV2Label. * - * Updates a Label's EabledAppSettings. Enabling a Label in a Workspace - * Application allows it to be used in that application. This change is not - * revisioned, does not require publishing, and takes effect immediately. + * Updates a label's `EnabledAppSettings`. Enabling a label in a Google + * Workspace app allows it to be used in that app. This change isn't + * revisioned, doesn't require publishing, and takes effect immediately. * * @param object The @c * GTLRDriveLabels_GoogleAppsDriveLabelsV2UpdateLabelEnabledAppSettingsRequest * to include in the query. - * @param name Required. The resource name of the Label to update. The resource - * name of the Label to update. + * @param name Required. The resource name of the label to update. The resource + * name of the label to update. * * @return GTLRDriveLabelsQuery_LabelsUpdateLabelEnabledAppSettings */ @@ -1138,10 +1172,10 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabelsViewLabelViewFull; @end /** - * Updates a Label's permissions. If a permission for the indicated principal - * doesn't exist, a new Label Permission is created, otherwise the existing - * permission is updated. Permissions affect the Label resource as a whole, are - * not revisioned, and do not require publishing. + * Updates a label's permissions. If a permission for the indicated principal + * doesn't exist, a label permission is created, otherwise the existing + * permission is updated. Permissions affect the label resource as a whole, + * aren't revisioned, and don't require publishing. * * Method: drivelabels.labels.updatePermissions * @@ -1151,26 +1185,26 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabelsViewLabelViewFull; */ @interface GTLRDriveLabelsQuery_LabelsUpdatePermissions : GTLRDriveLabelsQuery -/** Required. The parent Label resource name. */ +/** Required. The parent label resource name. */ @property(nonatomic, copy, nullable) NSString *parent; /** * Set to `true` in order to use the user's admin credentials. The server will - * verify the user is an admin for the Label before allowing access. + * verify the user is an admin for the label before allowing access. */ @property(nonatomic, assign) BOOL useAdminAccess; /** * Fetches a @c GTLRDriveLabels_GoogleAppsDriveLabelsV2LabelPermission. * - * Updates a Label's permissions. If a permission for the indicated principal - * doesn't exist, a new Label Permission is created, otherwise the existing - * permission is updated. Permissions affect the Label resource as a whole, are - * not revisioned, and do not require publishing. + * Updates a label's permissions. If a permission for the indicated principal + * doesn't exist, a label permission is created, otherwise the existing + * permission is updated. Permissions affect the label resource as a whole, + * aren't revisioned, and don't require publishing. * * @param object The @c GTLRDriveLabels_GoogleAppsDriveLabelsV2LabelPermission * to include in the query. - * @param parent Required. The parent Label resource name. + * @param parent Required. The parent label resource name. * * @return GTLRDriveLabelsQuery_LabelsUpdatePermissions */ @@ -1180,8 +1214,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabelsViewLabelViewFull; @end /** - * Get the constraints on the structure of a Label; such as, the maximum number - * of Fields allowed and maximum length of the label title. + * Get the constraints on the structure of a label; such as, the maximum number + * of fields allowed and maximum length of the label title. * * Method: drivelabels.limits.getLabel * @@ -1193,14 +1227,14 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabelsViewLabelViewFull; */ @interface GTLRDriveLabelsQuery_LimitsGetLabel : GTLRDriveLabelsQuery -/** Required. Label revision resource name Must be: "limits/label" */ +/** Required. Label revision resource name must be: "limits/label". */ @property(nonatomic, copy, nullable) NSString *name; /** * Fetches a @c GTLRDriveLabels_GoogleAppsDriveLabelsV2LabelLimits. * - * Get the constraints on the structure of a Label; such as, the maximum number - * of Fields allowed and maximum length of the label title. + * Get the constraints on the structure of a label; such as, the maximum number + * of fields allowed and maximum length of the label title. * * @return GTLRDriveLabelsQuery_LimitsGetLabel */ @@ -1222,8 +1256,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabelsViewLabelViewFull; @interface GTLRDriveLabelsQuery_UsersGetCapabilities : GTLRDriveLabelsQuery /** - * The customer to scope this request to. For example: "customers/abcd1234". If - * unset, will return settings within the current customer. + * The customer to scope this request to. For example: `customers/abcd1234`. If + * unset, it will return settings within the current customer. */ @property(nonatomic, copy, nullable) NSString *customer; diff --git a/Sources/GeneratedServices/Eventarc/Public/GoogleAPIClientForREST/GTLREventarcObjects.h b/Sources/GeneratedServices/Eventarc/Public/GoogleAPIClientForREST/GTLREventarcObjects.h index d7c76ab2b..c97aecc47 100644 --- a/Sources/GeneratedServices/Eventarc/Public/GoogleAPIClientForREST/GTLREventarcObjects.h +++ b/Sources/GeneratedServices/Eventarc/Public/GoogleAPIClientForREST/GTLREventarcObjects.h @@ -550,7 +550,7 @@ FOUNDATION_EXTERN NSString * const kGTLREventarc_StateCondition_Code_Unknown; @property(nonatomic, strong, nullable) GTLRDateTime *createTime; /** - * Resource name of a KMS crypto key (managed by the user) used to + * Optional. Resource name of a KMS crypto key (managed by the user) used to * encrypt/decrypt their event data. It must match the pattern `projects/ * * /locations/ * /keyRings/ * /cryptoKeys/ *`. */ diff --git a/Sources/GeneratedServices/Eventarc/Public/GoogleAPIClientForREST/GTLREventarcQuery.h b/Sources/GeneratedServices/Eventarc/Public/GoogleAPIClientForREST/GTLREventarcQuery.h index ffd12829e..6d5941ceb 100644 --- a/Sources/GeneratedServices/Eventarc/Public/GoogleAPIClientForREST/GTLREventarcQuery.h +++ b/Sources/GeneratedServices/Eventarc/Public/GoogleAPIClientForREST/GTLREventarcQuery.h @@ -1537,8 +1537,8 @@ NS_ASSUME_NONNULL_BEGIN @interface GTLREventarcQuery_ProjectsLocationsList : GTLREventarcQuery /** - * Optional. A list of extra location types that should be used as conditions - * for controlling the visibility of the locations. + * Optional. Do not use this field. It is unsupported and is ignored unless + * explicitly documented otherwise. This is primarily for internal usage. */ @property(nonatomic, strong, nullable) NSArray *extraLocationTypes; diff --git a/Sources/GeneratedServices/FirebaseAppDistribution/Public/GoogleAPIClientForREST/GTLRFirebaseAppDistributionObjects.h b/Sources/GeneratedServices/FirebaseAppDistribution/Public/GoogleAPIClientForREST/GTLRFirebaseAppDistributionObjects.h index db9dca30a..4443ed3fc 100644 --- a/Sources/GeneratedServices/FirebaseAppDistribution/Public/GoogleAPIClientForREST/GTLRFirebaseAppDistributionObjects.h +++ b/Sources/GeneratedServices/FirebaseAppDistribution/Public/GoogleAPIClientForREST/GTLRFirebaseAppDistributionObjects.h @@ -1012,16 +1012,16 @@ FOUNDATION_EXTERN NSString * const kGTLRFirebaseAppDistribution_GoogleFirebaseAp @interface GTLRFirebaseAppDistribution_GoogleFirebaseAppdistroV1DistributeReleaseRequest : GTLRObject /** - * A list of group aliases (IDs) to be given access to this release. A combined - * maximum of 999 `testerEmails` and `groupAliases` can be specified in a - * single request. + * Optional. A list of group aliases (IDs) to be given access to this release. + * A combined maximum of 999 `testerEmails` and `groupAliases` can be specified + * in a single request. */ @property(nonatomic, strong, nullable) NSArray *groupAliases; /** - * A list of tester email addresses to be given access to this release. A - * combined maximum of 999 `testerEmails` and `groupAliases` can be specified - * in a single request. + * Optional. A list of tester email addresses to be given access to this + * release. A combined maximum of 999 `testerEmails` and `groupAliases` can be + * specified in a single request. */ @property(nonatomic, strong, nullable) NSArray *testerEmails; diff --git a/Sources/GeneratedServices/FirebaseAppDistribution/Public/GoogleAPIClientForREST/GTLRFirebaseAppDistributionQuery.h b/Sources/GeneratedServices/FirebaseAppDistribution/Public/GoogleAPIClientForREST/GTLRFirebaseAppDistributionQuery.h index b309c388e..82e9879ea 100644 --- a/Sources/GeneratedServices/FirebaseAppDistribution/Public/GoogleAPIClientForREST/GTLRFirebaseAppDistributionQuery.h +++ b/Sources/GeneratedServices/FirebaseAppDistribution/Public/GoogleAPIClientForREST/GTLRFirebaseAppDistributionQuery.h @@ -44,7 +44,7 @@ NS_ASSUME_NONNULL_BEGIN @interface GTLRFirebaseAppDistributionQuery_MediaUpload : GTLRFirebaseAppDistributionQuery /** - * The name of the app resource. Format: + * Required. The name of the app resource. Format: * `projects/{project_number}/apps/{app_id}` */ @property(nonatomic, copy, nullable) NSString *app; @@ -59,7 +59,7 @@ NS_ASSUME_NONNULL_BEGIN * @param object The @c * GTLRFirebaseAppDistribution_GoogleFirebaseAppdistroV1UploadReleaseRequest * to include in the query. - * @param app The name of the app resource. Format: + * @param app Required. The name of the app resource. Format: * `projects/{project_number}/apps/{app_id}` * @param uploadParameters The media to include in this query. Accepted MIME * type: * / * @@ -252,17 +252,18 @@ NS_ASSUME_NONNULL_BEGIN @interface GTLRFirebaseAppDistributionQuery_ProjectsAppsReleasesFeedbackReportsList : GTLRFirebaseAppDistributionQuery /** - * The maximum number of feedback reports to return. The service may return - * fewer than this value. The valid range is [1-100]; If unspecified (0), at - * most 25 feedback reports are returned. Values above 100 are coerced to 100. + * Output only. The maximum number of feedback reports to return. The service + * may return fewer than this value. The valid range is [1-100]; If unspecified + * (0), at most 25 feedback reports are returned. Values above 100 are coerced + * to 100. */ @property(nonatomic, assign) NSInteger pageSize; /** - * A page token, received from a previous `ListFeedbackReports` call. Provide - * this to retrieve the subsequent page. When paginating, all other parameters - * provided to `ListFeedbackReports` must match the call that provided the page - * token. + * Output only. A page token, received from a previous `ListFeedbackReports` + * call. Provide this to retrieve the subsequent page. When paginating, all + * other parameters provided to `ListFeedbackReports` must match the call that + * provided the page token. */ @property(nonatomic, copy, nullable) NSString *pageToken; @@ -335,36 +336,37 @@ NS_ASSUME_NONNULL_BEGIN @interface GTLRFirebaseAppDistributionQuery_ProjectsAppsReleasesList : GTLRFirebaseAppDistributionQuery /** - * The expression to filter releases listed in the response. To learn more - * about filtering, refer to [Google's AIP-160 standard](http://aip.dev/160). - * Supported fields: - `releaseNotes.text` supports `=` (can contain a wildcard - * character (`*`) at the beginning or end of the string) - `createTime` - * supports `<`, `<=`, `>` and `>=`, and expects an RFC-3339 formatted string - * Examples: - `createTime <= "2021-09-08T00:00:00+04:00"` - - * `releaseNotes.text="fixes" AND createTime >= "2021-09-08T00:00:00.0Z"` - - * `releaseNotes.text="*v1.0.0-rc*"` + * Optional. The expression to filter releases listed in the response. To learn + * more about filtering, refer to [Google's AIP-160 + * standard](http://aip.dev/160). Supported fields: - `releaseNotes.text` + * supports `=` (can contain a wildcard character (`*`) at the beginning or end + * of the string) - `createTime` supports `<`, `<=`, `>` and `>=`, and expects + * an RFC-3339 formatted string Examples: - `createTime <= + * "2021-09-08T00:00:00+04:00"` - `releaseNotes.text="fixes" AND createTime >= + * "2021-09-08T00:00:00.0Z"` - `releaseNotes.text="*v1.0.0-rc*"` */ @property(nonatomic, copy, nullable) NSString *filter; /** - * The fields used to order releases. Supported fields: - `createTime` To - * specify descending order for a field, append a "desc" suffix, for example, - * `createTime desc`. If this parameter is not set, releases are ordered by - * `createTime` in descending order. + * Optional. The fields used to order releases. Supported fields: - + * `createTime` To specify descending order for a field, append a "desc" + * suffix, for example, `createTime desc`. If this parameter is not set, + * releases are ordered by `createTime` in descending order. */ @property(nonatomic, copy, nullable) NSString *orderBy; /** - * The maximum number of releases to return. The service may return fewer than - * this value. The valid range is [1-100]; If unspecified (0), at most 25 - * releases are returned. Values above 100 are coerced to 100. + * Optional. The maximum number of releases to return. The service may return + * fewer than this value. The valid range is [1-100]; If unspecified (0), at + * most 25 releases are returned. Values above 100 are coerced to 100. */ @property(nonatomic, assign) NSInteger pageSize; /** - * A page token, received from a previous `ListReleases` call. Provide this to - * retrieve the subsequent page. When paginating, all other parameters provided - * to `ListReleases` must match the call that provided the page token. + * Optional. A page token, received from a previous `ListReleases` call. + * Provide this to retrieve the subsequent page. When paginating, all other + * parameters provided to `ListReleases` must match the call that provided the + * page token. */ @property(nonatomic, copy, nullable) NSString *pageToken; @@ -606,7 +608,7 @@ NS_ASSUME_NONNULL_BEGIN @property(nonatomic, copy, nullable) NSString *name; /** - * The list of fields to update. + * Optional. The list of fields to update. * * String format is a comma-separated list of fields. */ @@ -872,7 +874,7 @@ NS_ASSUME_NONNULL_BEGIN @property(nonatomic, copy, nullable) NSString *name; /** - * The list of fields to update. + * Optional. The list of fields to update. * * String format is a comma-separated list of fields. */ @@ -1048,7 +1050,7 @@ NS_ASSUME_NONNULL_BEGIN @property(nonatomic, copy, nullable) NSString *name; /** - * The list of fields to update. + * Optional. The list of fields to update. * * String format is a comma-separated list of fields. */ diff --git a/Sources/GeneratedServices/FirebaseAppHosting/Public/GoogleAPIClientForREST/GTLRFirebaseAppHostingQuery.h b/Sources/GeneratedServices/FirebaseAppHosting/Public/GoogleAPIClientForREST/GTLRFirebaseAppHostingQuery.h index 15c332d3c..5bc262419 100644 --- a/Sources/GeneratedServices/FirebaseAppHosting/Public/GoogleAPIClientForREST/GTLRFirebaseAppHostingQuery.h +++ b/Sources/GeneratedServices/FirebaseAppHosting/Public/GoogleAPIClientForREST/GTLRFirebaseAppHostingQuery.h @@ -1090,8 +1090,8 @@ NS_ASSUME_NONNULL_BEGIN @interface GTLRFirebaseAppHostingQuery_ProjectsLocationsList : GTLRFirebaseAppHostingQuery /** - * Optional. A list of extra location types that should be used as conditions - * for controlling the visibility of the locations. + * Optional. Do not use this field. It is unsupported and is ignored unless + * explicitly documented otherwise. This is primarily for internal usage. */ @property(nonatomic, strong, nullable) NSArray *extraLocationTypes; diff --git a/Sources/GeneratedServices/FirebaseDataConnect/GTLRFirebaseDataConnectObjects.m b/Sources/GeneratedServices/FirebaseDataConnect/GTLRFirebaseDataConnectObjects.m index b603f4cd4..7ad184feb 100644 --- a/Sources/GeneratedServices/FirebaseDataConnect/GTLRFirebaseDataConnectObjects.m +++ b/Sources/GeneratedServices/FirebaseDataConnect/GTLRFirebaseDataConnectObjects.m @@ -575,7 +575,8 @@ @implementation GTLRFirebaseDataConnect_OperationMetadata // @implementation GTLRFirebaseDataConnect_PostgreSql -@dynamic cloudSql, database, schemaMigration, schemaValidation, unlinked; +@dynamic cloudSql, database, ephemeral, schemaMigration, schemaValidation, + unlinked; @end diff --git a/Sources/GeneratedServices/FirebaseDataConnect/Public/GoogleAPIClientForREST/GTLRFirebaseDataConnectObjects.h b/Sources/GeneratedServices/FirebaseDataConnect/Public/GoogleAPIClientForREST/GTLRFirebaseDataConnectObjects.h index d2560bf3b..c124089ce 100644 --- a/Sources/GeneratedServices/FirebaseDataConnect/Public/GoogleAPIClientForREST/GTLRFirebaseDataConnectObjects.h +++ b/Sources/GeneratedServices/FirebaseDataConnect/Public/GoogleAPIClientForREST/GTLRFirebaseDataConnectObjects.h @@ -1208,6 +1208,22 @@ FOUNDATION_EXTERN NSString * const kGTLRFirebaseDataConnect_PostgreSql_SchemaVal /** Required. Name of the PostgreSQL database. */ @property(nonatomic, copy, nullable) NSString *database; +/** + * Output only. Ephemeral is true if this data connect service is served from + * temporary in-memory emulation of Postgres. While Cloud SQL is being + * provisioned, the data connect service provides the ephemeral service to help + * developers get started. Once the Cloud SQL is provisioned, Data Connect + * service will transfer its data on a best-effort basis to the Cloud SQL + * instance. WARNING: Ephemeral data sources will expire after 24 hour. The + * data will be lost if they aren't transferred to the Cloud SQL instance. + * WARNING: When `ephemeral=true`, mutations to the database are not guaranteed + * to be durably persisted, even if an OK status code is returned. All or parts + * of the data may be lost or reverted to earlier versions. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *ephemeral; + /** * Optional. Configure how to perform Postgresql schema migration. * @@ -1257,7 +1273,7 @@ FOUNDATION_EXTERN NSString * const kGTLRFirebaseDataConnect_PostgreSql_SchemaVal * * Uses NSNumber of boolValue. */ -@property(nonatomic, strong, nullable) NSNumber *unlinked; +@property(nonatomic, strong, nullable) NSNumber *unlinked GTLR_DEPRECATED; @end diff --git a/Sources/GeneratedServices/Firestore/GTLRFirestoreObjects.m b/Sources/GeneratedServices/Firestore/GTLRFirestoreObjects.m index fff2eb985..00e5c24ef 100644 --- a/Sources/GeneratedServices/Firestore/GTLRFirestoreObjects.m +++ b/Sources/GeneratedServices/Firestore/GTLRFirestoreObjects.m @@ -1119,7 +1119,7 @@ @implementation GTLRFirestore_GoogleFirestoreAdminV1ImportDocumentsRequest @implementation GTLRFirestore_GoogleFirestoreAdminV1Index @dynamic apiScope, density, fields, multikey, name, queryScope, shardCount, - state; + state, unique; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ diff --git a/Sources/GeneratedServices/Firestore/Public/GoogleAPIClientForREST/GTLRFirestoreObjects.h b/Sources/GeneratedServices/Firestore/Public/GoogleAPIClientForREST/GTLRFirestoreObjects.h index 239137d3b..127cc8b96 100644 --- a/Sources/GeneratedServices/Firestore/Public/GoogleAPIClientForREST/GTLRFirestoreObjects.h +++ b/Sources/GeneratedServices/Firestore/Public/GoogleAPIClientForREST/GTLRFirestoreObjects.h @@ -3424,6 +3424,14 @@ FOUNDATION_EXTERN NSString * const kGTLRFirestore_Value_NullValue_NullValue; */ @property(nonatomic, copy, nullable) NSString *state; +/** + * Optional. Whether it is an unique index. Unique index ensures all values for + * the indexed field(s) are unique across documents. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *unique; + @end diff --git a/Sources/GeneratedServices/Fitness/Public/GoogleAPIClientForREST/GTLRFitnessObjects.h b/Sources/GeneratedServices/Fitness/Public/GoogleAPIClientForREST/GTLRFitnessObjects.h index 941c6d69d..4021cb094 100644 --- a/Sources/GeneratedServices/Fitness/Public/GoogleAPIClientForREST/GTLRFitnessObjects.h +++ b/Sources/GeneratedServices/Fitness/Public/GoogleAPIClientForREST/GTLRFitnessObjects.h @@ -910,8 +910,8 @@ FOUNDATION_EXTERN NSString * const kGTLRFitness_Device_Type_Watch; @property(nonatomic, copy, nullable) NSString *nextPageToken; /** - * Sessions with an end time that is between startTime and endTime of the - * request. + * Sessions starting before endTime of the request and ending after startTime + * of the request up to (endTime of the request + 1 day). */ @property(nonatomic, strong, nullable) NSArray *session; diff --git a/Sources/GeneratedServices/Fitness/Public/GoogleAPIClientForREST/GTLRFitnessQuery.h b/Sources/GeneratedServices/Fitness/Public/GoogleAPIClientForREST/GTLRFitnessQuery.h index f05f6cd11..24e2e08e6 100644 --- a/Sources/GeneratedServices/Fitness/Public/GoogleAPIClientForREST/GTLRFitnessQuery.h +++ b/Sources/GeneratedServices/Fitness/Public/GoogleAPIClientForREST/GTLRFitnessQuery.h @@ -774,9 +774,10 @@ NS_ASSUME_NONNULL_BEGIN @property(nonatomic, strong, nullable) NSArray *activityType; /** - * An RFC3339 timestamp. Only sessions ending between the start and end times - * will be included in the response. If this time is omitted but startTime is - * specified, all sessions from startTime to the end of time will be returned. + * An RFC3339 timestamp. Only sessions starting before endTime and ending after + * startTime up to (endTime + 1 day) will be included in the response. If this + * time is omitted but startTime is specified, all sessions ending after + * startTime to the end of time will be returned. */ @property(nonatomic, copy, nullable) NSString *endTime; @@ -796,9 +797,10 @@ NS_ASSUME_NONNULL_BEGIN @property(nonatomic, copy, nullable) NSString *pageToken; /** - * An RFC3339 timestamp. Only sessions ending between the start and end times - * will be included in the response. If this time is omitted but endTime is - * specified, all sessions from the start of time up to endTime will be + * An RFC3339 timestamp. Only sessions starting before endTime and ending after + * startTime up to (endTime + 1 day) will be included in the response. If this + * time is omitted but endTime is specified, all sessions starting before + * endTime and ending after the start of time up to (endTime + 1 day) will be * returned. */ @property(nonatomic, copy, nullable) NSString *startTime; diff --git a/Sources/GeneratedServices/GKEHub/GTLRGKEHubObjects.m b/Sources/GeneratedServices/GKEHub/GTLRGKEHubObjects.m index 421da7f09..64b2b6de3 100644 --- a/Sources/GeneratedServices/GKEHub/GTLRGKEHubObjects.m +++ b/Sources/GeneratedServices/GKEHub/GTLRGKEHubObjects.m @@ -291,8 +291,19 @@ NSString * const kGTLRGKEHub_ServiceMeshCondition_Code_MeshIamPermissionDenied = @"MESH_IAM_PERMISSION_DENIED"; NSString * const kGTLRGKEHub_ServiceMeshCondition_Code_ModernizationAborted = @"MODERNIZATION_ABORTED"; NSString * const kGTLRGKEHub_ServiceMeshCondition_Code_ModernizationCompleted = @"MODERNIZATION_COMPLETED"; +NSString * const kGTLRGKEHub_ServiceMeshCondition_Code_ModernizationEligible = @"MODERNIZATION_ELIGIBLE"; +NSString * const kGTLRGKEHub_ServiceMeshCondition_Code_ModernizationFinalized = @"MODERNIZATION_FINALIZED"; NSString * const kGTLRGKEHub_ServiceMeshCondition_Code_ModernizationInProgress = @"MODERNIZATION_IN_PROGRESS"; +NSString * const kGTLRGKEHub_ServiceMeshCondition_Code_ModernizationManual = @"MODERNIZATION_MANUAL"; +NSString * const kGTLRGKEHub_ServiceMeshCondition_Code_ModernizationMigratingWorkloads = @"MODERNIZATION_MIGRATING_WORKLOADS"; +NSString * const kGTLRGKEHub_ServiceMeshCondition_Code_ModernizationModernizedSoaking = @"MODERNIZATION_MODERNIZED_SOAKING"; +NSString * const kGTLRGKEHub_ServiceMeshCondition_Code_ModernizationModernizing = @"MODERNIZATION_MODERNIZING"; +NSString * const kGTLRGKEHub_ServiceMeshCondition_Code_ModernizationPrepared = @"MODERNIZATION_PREPARED"; +NSString * const kGTLRGKEHub_ServiceMeshCondition_Code_ModernizationPreparing = @"MODERNIZATION_PREPARING"; +NSString * const kGTLRGKEHub_ServiceMeshCondition_Code_ModernizationRollingBackCluster = @"MODERNIZATION_ROLLING_BACK_CLUSTER"; +NSString * const kGTLRGKEHub_ServiceMeshCondition_Code_ModernizationRollingBackFleet = @"MODERNIZATION_ROLLING_BACK_FLEET"; NSString * const kGTLRGKEHub_ServiceMeshCondition_Code_ModernizationScheduled = @"MODERNIZATION_SCHEDULED"; +NSString * const kGTLRGKEHub_ServiceMeshCondition_Code_ModernizationStalled = @"MODERNIZATION_STALLED"; NSString * const kGTLRGKEHub_ServiceMeshCondition_Code_ModernizationWillBeScheduled = @"MODERNIZATION_WILL_BE_SCHEDULED"; NSString * const kGTLRGKEHub_ServiceMeshCondition_Code_NodepoolWorkloadIdentityFederationRequired = @"NODEPOOL_WORKLOAD_IDENTITY_FEDERATION_REQUIRED"; NSString * const kGTLRGKEHub_ServiceMeshCondition_Code_NonStandardBinaryUsage = @"NON_STANDARD_BINARY_USAGE"; diff --git a/Sources/GeneratedServices/GKEHub/Public/GoogleAPIClientForREST/GTLRGKEHubObjects.h b/Sources/GeneratedServices/GKEHub/Public/GoogleAPIClientForREST/GTLRGKEHubObjects.h index dcbd34bd2..f99a09ea8 100644 --- a/Sources/GeneratedServices/GKEHub/Public/GoogleAPIClientForREST/GTLRGKEHubObjects.h +++ b/Sources/GeneratedServices/GKEHub/Public/GoogleAPIClientForREST/GTLRGKEHubObjects.h @@ -1575,18 +1575,86 @@ FOUNDATION_EXTERN NSString * const kGTLRGKEHub_ServiceMeshCondition_Code_Moderni * Value: "MODERNIZATION_COMPLETED" */ FOUNDATION_EXTERN NSString * const kGTLRGKEHub_ServiceMeshCondition_Code_ModernizationCompleted; +/** + * Fleet is eligible for modernization. + * + * Value: "MODERNIZATION_ELIGIBLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRGKEHub_ServiceMeshCondition_Code_ModernizationEligible; +/** + * Modernization is finalized for all clusters in a fleet. Rollback is no + * longer allowed. + * + * Value: "MODERNIZATION_FINALIZED" + */ +FOUNDATION_EXTERN NSString * const kGTLRGKEHub_ServiceMeshCondition_Code_ModernizationFinalized; /** * Modernization is in progress for a cluster. * * Value: "MODERNIZATION_IN_PROGRESS" */ FOUNDATION_EXTERN NSString * const kGTLRGKEHub_ServiceMeshCondition_Code_ModernizationInProgress; +/** + * Fleet is opted out from automated modernization. + * + * Value: "MODERNIZATION_MANUAL" + */ +FOUNDATION_EXTERN NSString * const kGTLRGKEHub_ServiceMeshCondition_Code_ModernizationManual; +/** + * Migrating the cluster's workloads to the new implementation. + * + * Value: "MODERNIZATION_MIGRATING_WORKLOADS" + */ +FOUNDATION_EXTERN NSString * const kGTLRGKEHub_ServiceMeshCondition_Code_ModernizationMigratingWorkloads; +/** + * Modernization of all the fleet's clusters is complete. Soaking before + * finalizing the modernization. + * + * Value: "MODERNIZATION_MODERNIZED_SOAKING" + */ +FOUNDATION_EXTERN NSString * const kGTLRGKEHub_ServiceMeshCondition_Code_ModernizationModernizedSoaking; +/** + * Modernization of one or more clusters in a fleet is in progress. + * + * Value: "MODERNIZATION_MODERNIZING" + */ +FOUNDATION_EXTERN NSString * const kGTLRGKEHub_ServiceMeshCondition_Code_ModernizationModernizing; +/** + * Cluster has been prepared for its workloads to be migrated. + * + * Value: "MODERNIZATION_PREPARED" + */ +FOUNDATION_EXTERN NSString * const kGTLRGKEHub_ServiceMeshCondition_Code_ModernizationPrepared; +/** + * Preparing cluster so that its workloads can be migrated. + * + * Value: "MODERNIZATION_PREPARING" + */ +FOUNDATION_EXTERN NSString * const kGTLRGKEHub_ServiceMeshCondition_Code_ModernizationPreparing; +/** + * Rollback is in progress for modernization of a cluster. + * + * Value: "MODERNIZATION_ROLLING_BACK_CLUSTER" + */ +FOUNDATION_EXTERN NSString * const kGTLRGKEHub_ServiceMeshCondition_Code_ModernizationRollingBackCluster; +/** + * Rollback is in progress for modernization of all clusters in a fleet. + * + * Value: "MODERNIZATION_ROLLING_BACK_FLEET" + */ +FOUNDATION_EXTERN NSString * const kGTLRGKEHub_ServiceMeshCondition_Code_ModernizationRollingBackFleet; /** * Modernization is scheduled for a cluster. * * Value: "MODERNIZATION_SCHEDULED" */ FOUNDATION_EXTERN NSString * const kGTLRGKEHub_ServiceMeshCondition_Code_ModernizationScheduled; +/** + * Modernization is stalled for a cluster. + * + * Value: "MODERNIZATION_STALLED" + */ +FOUNDATION_EXTERN NSString * const kGTLRGKEHub_ServiceMeshCondition_Code_ModernizationStalled; /** * Modernization will be scheduled for a fleet. * @@ -2002,7 +2070,7 @@ FOUNDATION_EXTERN NSString * const kGTLRGKEHub_ServiceMeshSpec_Management_Manage */ FOUNDATION_EXTERN NSString * const kGTLRGKEHub_ServiceMeshSpec_Management_ManagementNotInstalled; /** - * Unspecified + * Unspecified. * * Value: "MANAGEMENT_UNSPECIFIED" */ @@ -5105,12 +5173,45 @@ FOUNDATION_EXTERN NSString * const kGTLRGKEHub_WorkloadCertificateSpec_Certifica * @arg @c kGTLRGKEHub_ServiceMeshCondition_Code_ModernizationCompleted * Modernization is completed for a cluster. (Value: * "MODERNIZATION_COMPLETED") + * @arg @c kGTLRGKEHub_ServiceMeshCondition_Code_ModernizationEligible Fleet + * is eligible for modernization. (Value: "MODERNIZATION_ELIGIBLE") + * @arg @c kGTLRGKEHub_ServiceMeshCondition_Code_ModernizationFinalized + * Modernization is finalized for all clusters in a fleet. Rollback is no + * longer allowed. (Value: "MODERNIZATION_FINALIZED") * @arg @c kGTLRGKEHub_ServiceMeshCondition_Code_ModernizationInProgress * Modernization is in progress for a cluster. (Value: * "MODERNIZATION_IN_PROGRESS") + * @arg @c kGTLRGKEHub_ServiceMeshCondition_Code_ModernizationManual Fleet is + * opted out from automated modernization. (Value: + * "MODERNIZATION_MANUAL") + * @arg @c kGTLRGKEHub_ServiceMeshCondition_Code_ModernizationMigratingWorkloads + * Migrating the cluster's workloads to the new implementation. (Value: + * "MODERNIZATION_MIGRATING_WORKLOADS") + * @arg @c kGTLRGKEHub_ServiceMeshCondition_Code_ModernizationModernizedSoaking + * Modernization of all the fleet's clusters is complete. Soaking before + * finalizing the modernization. (Value: + * "MODERNIZATION_MODERNIZED_SOAKING") + * @arg @c kGTLRGKEHub_ServiceMeshCondition_Code_ModernizationModernizing + * Modernization of one or more clusters in a fleet is in progress. + * (Value: "MODERNIZATION_MODERNIZING") + * @arg @c kGTLRGKEHub_ServiceMeshCondition_Code_ModernizationPrepared + * Cluster has been prepared for its workloads to be migrated. (Value: + * "MODERNIZATION_PREPARED") + * @arg @c kGTLRGKEHub_ServiceMeshCondition_Code_ModernizationPreparing + * Preparing cluster so that its workloads can be migrated. (Value: + * "MODERNIZATION_PREPARING") + * @arg @c kGTLRGKEHub_ServiceMeshCondition_Code_ModernizationRollingBackCluster + * Rollback is in progress for modernization of a cluster. (Value: + * "MODERNIZATION_ROLLING_BACK_CLUSTER") + * @arg @c kGTLRGKEHub_ServiceMeshCondition_Code_ModernizationRollingBackFleet + * Rollback is in progress for modernization of all clusters in a fleet. + * (Value: "MODERNIZATION_ROLLING_BACK_FLEET") * @arg @c kGTLRGKEHub_ServiceMeshCondition_Code_ModernizationScheduled * Modernization is scheduled for a cluster. (Value: * "MODERNIZATION_SCHEDULED") + * @arg @c kGTLRGKEHub_ServiceMeshCondition_Code_ModernizationStalled + * Modernization is stalled for a cluster. (Value: + * "MODERNIZATION_STALLED") * @arg @c kGTLRGKEHub_ServiceMeshCondition_Code_ModernizationWillBeScheduled * Modernization will be scheduled for a fleet. (Value: * "MODERNIZATION_WILL_BE_SCHEDULED") @@ -5375,7 +5476,7 @@ FOUNDATION_EXTERN NSString * const kGTLRGKEHub_WorkloadCertificateSpec_Certifica * cluster and deprovision any resources. (Value: * "MANAGEMENT_NOT_INSTALLED") * @arg @c kGTLRGKEHub_ServiceMeshSpec_Management_ManagementUnspecified - * Unspecified (Value: "MANAGEMENT_UNSPECIFIED") + * Unspecified. (Value: "MANAGEMENT_UNSPECIFIED") */ @property(nonatomic, copy, nullable) NSString *management; diff --git a/Sources/GeneratedServices/HangoutsChat/GTLRHangoutsChatObjects.m b/Sources/GeneratedServices/HangoutsChat/GTLRHangoutsChatObjects.m index 8e333e0a1..29af6d90c 100644 --- a/Sources/GeneratedServices/HangoutsChat/GTLRHangoutsChatObjects.m +++ b/Sources/GeneratedServices/HangoutsChat/GTLRHangoutsChatObjects.m @@ -181,6 +181,11 @@ NSString * const kGTLRHangoutsChat_GoogleAppsCardV1DateTimePicker_Type_DateOnly = @"DATE_ONLY"; NSString * const kGTLRHangoutsChat_GoogleAppsCardV1DateTimePicker_Type_TimeOnly = @"TIME_ONLY"; +// GTLRHangoutsChat_GoogleAppsCardV1ExpressionDataCondition.conditionType +NSString * const kGTLRHangoutsChat_GoogleAppsCardV1ExpressionDataCondition_ConditionType_ConditionTypeUnspecified = @"CONDITION_TYPE_UNSPECIFIED"; +NSString * const kGTLRHangoutsChat_GoogleAppsCardV1ExpressionDataCondition_ConditionType_ExpressionEvaluationFailure = @"EXPRESSION_EVALUATION_FAILURE"; +NSString * const kGTLRHangoutsChat_GoogleAppsCardV1ExpressionDataCondition_ConditionType_ExpressionEvaluationSuccess = @"EXPRESSION_EVALUATION_SUCCESS"; + // GTLRHangoutsChat_GoogleAppsCardV1GridItem.layout NSString * const kGTLRHangoutsChat_GoogleAppsCardV1GridItem_Layout_GridItemLayoutUnspecified = @"GRID_ITEM_LAYOUT_UNSPECIFIED"; NSString * const kGTLRHangoutsChat_GoogleAppsCardV1GridItem_Layout_TextAbove = @"TEXT_ABOVE"; @@ -225,6 +230,11 @@ NSString * const kGTLRHangoutsChat_GoogleAppsCardV1TextInput_Type_MultipleLine = @"MULTIPLE_LINE"; NSString * const kGTLRHangoutsChat_GoogleAppsCardV1TextInput_Type_SingleLine = @"SINGLE_LINE"; +// GTLRHangoutsChat_GoogleAppsCardV1UpdateVisibilityAction.visibility +NSString * const kGTLRHangoutsChat_GoogleAppsCardV1UpdateVisibilityAction_Visibility_Hidden = @"HIDDEN"; +NSString * const kGTLRHangoutsChat_GoogleAppsCardV1UpdateVisibilityAction_Visibility_VisibilityUnspecified = @"VISIBILITY_UNSPECIFIED"; +NSString * const kGTLRHangoutsChat_GoogleAppsCardV1UpdateVisibilityAction_Visibility_Visible = @"VISIBLE"; + // GTLRHangoutsChat_GoogleAppsCardV1Validation.inputType NSString * const kGTLRHangoutsChat_GoogleAppsCardV1Validation_InputType_Email = @"EMAIL"; NSString * const kGTLRHangoutsChat_GoogleAppsCardV1Validation_InputType_EmojiPicker = @"EMOJI_PICKER"; @@ -239,6 +249,11 @@ NSString * const kGTLRHangoutsChat_GoogleAppsCardV1Widget_HorizontalAlignment_HorizontalAlignmentUnspecified = @"HORIZONTAL_ALIGNMENT_UNSPECIFIED"; NSString * const kGTLRHangoutsChat_GoogleAppsCardV1Widget_HorizontalAlignment_Start = @"START"; +// GTLRHangoutsChat_GoogleAppsCardV1Widget.visibility +NSString * const kGTLRHangoutsChat_GoogleAppsCardV1Widget_Visibility_Hidden = @"HIDDEN"; +NSString * const kGTLRHangoutsChat_GoogleAppsCardV1Widget_Visibility_VisibilityUnspecified = @"VISIBILITY_UNSPECIFIED"; +NSString * const kGTLRHangoutsChat_GoogleAppsCardV1Widget_Visibility_Visible = @"VISIBLE"; + // GTLRHangoutsChat_ImageButton.icon NSString * const kGTLRHangoutsChat_ImageButton_Icon_Airplane = @"AIRPLANE"; NSString * const kGTLRHangoutsChat_ImageButton_Icon_Bookmark = @"BOOKMARK"; @@ -388,6 +403,12 @@ NSString * const kGTLRHangoutsChat_UserMentionMetadata_Type_Mention = @"MENTION"; NSString * const kGTLRHangoutsChat_UserMentionMetadata_Type_TypeUnspecified = @"TYPE_UNSPECIFIED"; +// GTLRHangoutsChat_WorkflowDataSourceMarkup.type +NSString * const kGTLRHangoutsChat_WorkflowDataSourceMarkup_Type_Space = @"SPACE"; +NSString * const kGTLRHangoutsChat_WorkflowDataSourceMarkup_Type_Unknown = @"UNKNOWN"; +NSString * const kGTLRHangoutsChat_WorkflowDataSourceMarkup_Type_User = @"USER"; +NSString * const kGTLRHangoutsChat_WorkflowDataSourceMarkup_Type_UserWithFreeForm = @"USER_WITH_FREE_FORM"; + // ---------------------------------------------------------------------------- // // GTLRHangoutsChat_AccessoryWidget @@ -890,12 +911,13 @@ @implementation GTLRHangoutsChat_GoogleAppsCardV1ButtonList // @implementation GTLRHangoutsChat_GoogleAppsCardV1Card -@dynamic cardActions, displayStyle, fixedFooter, header, name, peekCardHeader, - sectionDividerStyle, sections; +@dynamic cardActions, displayStyle, expressionData, fixedFooter, header, name, + peekCardHeader, sectionDividerStyle, sections; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @"cardActions" : [GTLRHangoutsChat_GoogleAppsCardV1CardAction class], + @"expressionData" : [GTLRHangoutsChat_GoogleAppsCardV1ExpressionData class], @"sections" : [GTLRHangoutsChat_GoogleAppsCardV1Section class] }; return map; @@ -1045,13 +1067,44 @@ @implementation GTLRHangoutsChat_GoogleAppsCardV1Columns @end +// ---------------------------------------------------------------------------- +// +// GTLRHangoutsChat_GoogleAppsCardV1CommonWidgetAction +// + +@implementation GTLRHangoutsChat_GoogleAppsCardV1CommonWidgetAction +@dynamic updateVisibilityAction; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRHangoutsChat_GoogleAppsCardV1Condition +// + +@implementation GTLRHangoutsChat_GoogleAppsCardV1Condition +@dynamic actionRuleId, expressionDataCondition; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRHangoutsChat_GoogleAppsCardV1DataSourceConfig +// + +@implementation GTLRHangoutsChat_GoogleAppsCardV1DataSourceConfig +@dynamic platformDataSource, remoteDataSource; +@end + + // ---------------------------------------------------------------------------- // // GTLRHangoutsChat_GoogleAppsCardV1DateTimePicker // @implementation GTLRHangoutsChat_GoogleAppsCardV1DateTimePicker -@dynamic label, name, onChangeAction, timezoneOffsetDate, type, valueMsEpoch; +@dynamic hostAppDataSource, label, name, onChangeAction, timezoneOffsetDate, + type, valueMsEpoch; @end @@ -1075,6 +1128,57 @@ @implementation GTLRHangoutsChat_GoogleAppsCardV1Divider @end +// ---------------------------------------------------------------------------- +// +// GTLRHangoutsChat_GoogleAppsCardV1EventAction +// + +@implementation GTLRHangoutsChat_GoogleAppsCardV1EventAction +@dynamic actionRuleId, commonWidgetAction, postEventTriggers; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"postEventTriggers" : [GTLRHangoutsChat_GoogleAppsCardV1Trigger class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRHangoutsChat_GoogleAppsCardV1ExpressionData +// + +@implementation GTLRHangoutsChat_GoogleAppsCardV1ExpressionData +@dynamic conditions, eventActions, expression, identifier; + ++ (NSDictionary *)propertyToJSONKeyMap { + return @{ @"identifier" : @"id" }; +} + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"conditions" : [GTLRHangoutsChat_GoogleAppsCardV1Condition class], + @"eventActions" : [GTLRHangoutsChat_GoogleAppsCardV1EventAction class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRHangoutsChat_GoogleAppsCardV1ExpressionDataCondition +// + +@implementation GTLRHangoutsChat_GoogleAppsCardV1ExpressionDataCondition +@dynamic conditionType; +@end + + // ---------------------------------------------------------------------------- // // GTLRHangoutsChat_GoogleAppsCardV1Grid @@ -1232,8 +1336,12 @@ @implementation GTLRHangoutsChat_GoogleAppsCardV1PlatformDataSource // @implementation GTLRHangoutsChat_GoogleAppsCardV1Section -@dynamic collapseControl, collapsible, header, uncollapsibleWidgetsCount, - widgets; +@dynamic collapseControl, collapsible, header, identifier, + uncollapsibleWidgetsCount, widgets; + ++ (NSDictionary *)propertyToJSONKeyMap { + return @{ @"identifier" : @"id" }; +} + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -1251,12 +1359,13 @@ @implementation GTLRHangoutsChat_GoogleAppsCardV1Section // @implementation GTLRHangoutsChat_GoogleAppsCardV1SelectionInput -@dynamic externalDataSource, hintText, items, label, +@dynamic dataSourceConfigs, externalDataSource, hintText, items, label, multiSelectMaxSelectedItems, multiSelectMinQueryLength, name, onChangeAction, platformDataSource, type; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ + @"dataSourceConfigs" : [GTLRHangoutsChat_GoogleAppsCardV1DataSourceConfig class], @"items" : [GTLRHangoutsChat_GoogleAppsCardV1SelectionItem class] }; return map; @@ -1319,8 +1428,8 @@ @implementation GTLRHangoutsChat_GoogleAppsCardV1SwitchControl // @implementation GTLRHangoutsChat_GoogleAppsCardV1TextInput -@dynamic autoCompleteAction, hintText, initialSuggestions, label, name, - onChangeAction, placeholderText, type, validation, value; +@dynamic autoCompleteAction, hintText, hostAppDataSource, initialSuggestions, + label, name, onChangeAction, placeholderText, type, validation, value; @end @@ -1334,6 +1443,26 @@ @implementation GTLRHangoutsChat_GoogleAppsCardV1TextParagraph @end +// ---------------------------------------------------------------------------- +// +// GTLRHangoutsChat_GoogleAppsCardV1Trigger +// + +@implementation GTLRHangoutsChat_GoogleAppsCardV1Trigger +@dynamic actionRuleId; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRHangoutsChat_GoogleAppsCardV1UpdateVisibilityAction +// + +@implementation GTLRHangoutsChat_GoogleAppsCardV1UpdateVisibilityAction +@dynamic visibility; +@end + + // ---------------------------------------------------------------------------- // // GTLRHangoutsChat_GoogleAppsCardV1Validation @@ -1351,8 +1480,20 @@ @implementation GTLRHangoutsChat_GoogleAppsCardV1Validation @implementation GTLRHangoutsChat_GoogleAppsCardV1Widget @dynamic buttonList, carousel, chipList, columns, dateTimePicker, decoratedText, - divider, grid, horizontalAlignment, image, selectionInput, textInput, - textParagraph; + divider, eventActions, grid, horizontalAlignment, identifier, image, + selectionInput, textInput, textParagraph, visibility; + ++ (NSDictionary *)propertyToJSONKeyMap { + return @{ @"identifier" : @"id" }; +} + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"eventActions" : [GTLRHangoutsChat_GoogleAppsCardV1EventAction class] + }; + return map; +} + @end @@ -1383,7 +1524,7 @@ @implementation GTLRHangoutsChat_Group // @implementation GTLRHangoutsChat_HostAppDataSourceMarkup -@dynamic chatDataSource; +@dynamic chatDataSource, workflowDataSource; @end @@ -2319,3 +2460,13 @@ @implementation GTLRHangoutsChat_WidgetMarkup } @end + + +// ---------------------------------------------------------------------------- +// +// GTLRHangoutsChat_WorkflowDataSourceMarkup +// + +@implementation GTLRHangoutsChat_WorkflowDataSourceMarkup +@dynamic includeVariables, type; +@end diff --git a/Sources/GeneratedServices/HangoutsChat/Public/GoogleAPIClientForREST/GTLRHangoutsChatObjects.h b/Sources/GeneratedServices/HangoutsChat/Public/GoogleAPIClientForREST/GTLRHangoutsChatObjects.h index a9d7dd1b7..63ae484fd 100644 --- a/Sources/GeneratedServices/HangoutsChat/Public/GoogleAPIClientForREST/GTLRHangoutsChatObjects.h +++ b/Sources/GeneratedServices/HangoutsChat/Public/GoogleAPIClientForREST/GTLRHangoutsChatObjects.h @@ -67,9 +67,15 @@ @class GTLRHangoutsChat_GoogleAppsCardV1CollapseControl; @class GTLRHangoutsChat_GoogleAppsCardV1Column; @class GTLRHangoutsChat_GoogleAppsCardV1Columns; +@class GTLRHangoutsChat_GoogleAppsCardV1CommonWidgetAction; +@class GTLRHangoutsChat_GoogleAppsCardV1Condition; +@class GTLRHangoutsChat_GoogleAppsCardV1DataSourceConfig; @class GTLRHangoutsChat_GoogleAppsCardV1DateTimePicker; @class GTLRHangoutsChat_GoogleAppsCardV1DecoratedText; @class GTLRHangoutsChat_GoogleAppsCardV1Divider; +@class GTLRHangoutsChat_GoogleAppsCardV1EventAction; +@class GTLRHangoutsChat_GoogleAppsCardV1ExpressionData; +@class GTLRHangoutsChat_GoogleAppsCardV1ExpressionDataCondition; @class GTLRHangoutsChat_GoogleAppsCardV1Grid; @class GTLRHangoutsChat_GoogleAppsCardV1GridItem; @class GTLRHangoutsChat_GoogleAppsCardV1Icon; @@ -91,6 +97,8 @@ @class GTLRHangoutsChat_GoogleAppsCardV1SwitchControl; @class GTLRHangoutsChat_GoogleAppsCardV1TextInput; @class GTLRHangoutsChat_GoogleAppsCardV1TextParagraph; +@class GTLRHangoutsChat_GoogleAppsCardV1Trigger; +@class GTLRHangoutsChat_GoogleAppsCardV1UpdateVisibilityAction; @class GTLRHangoutsChat_GoogleAppsCardV1Validation; @class GTLRHangoutsChat_GoogleAppsCardV1Widget; @class GTLRHangoutsChat_GoogleAppsCardV1Widgets; @@ -150,6 +158,7 @@ @class GTLRHangoutsChat_User; @class GTLRHangoutsChat_UserMentionMetadata; @class GTLRHangoutsChat_WidgetMarkup; +@class GTLRHangoutsChat_WorkflowDataSourceMarkup; // Generated comments include content from the discovery document; avoid them // causing warnings since clang's checks are some what arbitrary. @@ -1079,6 +1088,28 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChat_GoogleAppsCardV1DateTimePic */ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChat_GoogleAppsCardV1DateTimePicker_Type_TimeOnly; +// ---------------------------------------------------------------------------- +// GTLRHangoutsChat_GoogleAppsCardV1ExpressionDataCondition.conditionType + +/** + * Unspecified condition type. + * + * Value: "CONDITION_TYPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRHangoutsChat_GoogleAppsCardV1ExpressionDataCondition_ConditionType_ConditionTypeUnspecified; +/** + * The expression evaluation was unsuccessful. + * + * Value: "EXPRESSION_EVALUATION_FAILURE" + */ +FOUNDATION_EXTERN NSString * const kGTLRHangoutsChat_GoogleAppsCardV1ExpressionDataCondition_ConditionType_ExpressionEvaluationFailure; +/** + * The expression evaluation was successful. + * + * Value: "EXPRESSION_EVALUATION_SUCCESS" + */ +FOUNDATION_EXTERN NSString * const kGTLRHangoutsChat_GoogleAppsCardV1ExpressionDataCondition_ConditionType_ExpressionEvaluationSuccess; + // ---------------------------------------------------------------------------- // GTLRHangoutsChat_GoogleAppsCardV1GridItem.layout @@ -1293,6 +1324,28 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChat_GoogleAppsCardV1TextInput_T */ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChat_GoogleAppsCardV1TextInput_Type_SingleLine; +// ---------------------------------------------------------------------------- +// GTLRHangoutsChat_GoogleAppsCardV1UpdateVisibilityAction.visibility + +/** + * The UI element is hidden. + * + * Value: "HIDDEN" + */ +FOUNDATION_EXTERN NSString * const kGTLRHangoutsChat_GoogleAppsCardV1UpdateVisibilityAction_Visibility_Hidden; +/** + * Unspecified visibility. Do not use. + * + * Value: "VISIBILITY_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRHangoutsChat_GoogleAppsCardV1UpdateVisibilityAction_Visibility_VisibilityUnspecified; +/** + * The UI element is visible. + * + * Value: "VISIBLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRHangoutsChat_GoogleAppsCardV1UpdateVisibilityAction_Visibility_Visible; + // ---------------------------------------------------------------------------- // GTLRHangoutsChat_GoogleAppsCardV1Validation.inputType @@ -1365,6 +1418,28 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChat_GoogleAppsCardV1Widget_Hori */ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChat_GoogleAppsCardV1Widget_HorizontalAlignment_Start; +// ---------------------------------------------------------------------------- +// GTLRHangoutsChat_GoogleAppsCardV1Widget.visibility + +/** + * The UI element is hidden. + * + * Value: "HIDDEN" + */ +FOUNDATION_EXTERN NSString * const kGTLRHangoutsChat_GoogleAppsCardV1Widget_Visibility_Hidden; +/** + * Unspecified visibility. Do not use. + * + * Value: "VISIBILITY_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRHangoutsChat_GoogleAppsCardV1Widget_Visibility_VisibilityUnspecified; +/** + * The UI element is visible. + * + * Value: "VISIBLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRHangoutsChat_GoogleAppsCardV1Widget_Visibility_Visible; + // ---------------------------------------------------------------------------- // GTLRHangoutsChat_ImageButton.icon @@ -1902,6 +1977,36 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChat_UserMentionMetadata_Type_Me */ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChat_UserMentionMetadata_Type_TypeUnspecified; +// ---------------------------------------------------------------------------- +// GTLRHangoutsChat_WorkflowDataSourceMarkup.type + +/** + * Google Chat spaces that the user is a member of. + * + * Value: "SPACE" + */ +FOUNDATION_EXTERN NSString * const kGTLRHangoutsChat_WorkflowDataSourceMarkup_Type_Space; +/** + * Default value. Don't use. + * + * Value: "UNKNOWN" + */ +FOUNDATION_EXTERN NSString * const kGTLRHangoutsChat_WorkflowDataSourceMarkup_Type_Unknown; +/** + * Google Workspace users. The user can only view and select users from their + * Google Workspace organization. + * + * Value: "USER" + */ +FOUNDATION_EXTERN NSString * const kGTLRHangoutsChat_WorkflowDataSourceMarkup_Type_User; +/** + * Users can choose to view and select existing members from their Google + * Workspace organization or manually enter an email address or a valid domain. + * + * Value: "USER_WITH_FREE_FORM" + */ +FOUNDATION_EXTERN NSString * const kGTLRHangoutsChat_WorkflowDataSourceMarkup_Type_UserWithFreeForm; + /** * One or more interactive widgets that appear at the bottom of a message. For * details, see [Add interactive widgets at the bottom of a @@ -3675,6 +3780,12 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChat_UserMentionMetadata_Type_Ty */ @property(nonatomic, copy, nullable) NSString *displayStyle; +/** + * The expression data for the card. Only supported by Google Workspace + * Workflow, but not Google Chat apps or Google Workspace add-ons. + */ +@property(nonatomic, strong, nullable) NSArray *expressionData; + /** * The fixed footer shown at the bottom of this card. Setting `fixedFooter` * without specifying a `primaryButton` or a `secondaryButton` causes an error. @@ -4083,6 +4194,51 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChat_UserMentionMetadata_Type_Ty @end +/** + * Represents an action that is not specific to a widget. Only supported by + * Google Workspace Workflow, but not Google Chat apps or Google Workspace + * add-ons. + */ +@interface GTLRHangoutsChat_GoogleAppsCardV1CommonWidgetAction : GTLRObject + +/** The action to update the visibility of a widget. */ +@property(nonatomic, strong, nullable) GTLRHangoutsChat_GoogleAppsCardV1UpdateVisibilityAction *updateVisibilityAction; + +@end + + +/** + * Represents a condition that can be used to trigger an action. Only supported + * by Google Workspace Workflow, but not Google Chat apps or Google Workspace + * add-ons. + */ +@interface GTLRHangoutsChat_GoogleAppsCardV1Condition : GTLRObject + +/** The unique identifier of the ActionRule. */ +@property(nonatomic, copy, nullable) NSString *actionRuleId; + +/** The condition that is determined by the expression data. */ +@property(nonatomic, strong, nullable) GTLRHangoutsChat_GoogleAppsCardV1ExpressionDataCondition *expressionDataCondition; + +@end + + +/** + * A configuration object that helps configure the data sources for a widget. + * Only supported by Google Workspace Workflow, but not Google Chat apps or + * Google Workspace add-ons. + */ +@interface GTLRHangoutsChat_GoogleAppsCardV1DataSourceConfig : GTLRObject + +/** The data is from a Google Workspace application. */ +@property(nonatomic, strong, nullable) GTLRHangoutsChat_GoogleAppsCardV1PlatformDataSource *platformDataSource; + +/** The data is from a remote data provider. */ +@property(nonatomic, strong, nullable) GTLRHangoutsChat_GoogleAppsCardV1Action *remoteDataSource; + +@end + + /** * Lets users input a date, a time, or both a date and a time. Supports form * submission validation. When `Action.all_widgets_are_required` is set to @@ -4097,6 +4253,14 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChat_UserMentionMetadata_Type_Ty */ @interface GTLRHangoutsChat_GoogleAppsCardV1DateTimePicker : GTLRObject +/** + * A data source that's unique to a Google Workspace host application, such as + * Gmail emails, Google Calendar events, or Google Chat messages. Only + * supported by Google Workspace Workflows, but not Google Chat API or Google + * Workspace Add-ons. + */ +@property(nonatomic, strong, nullable) GTLRHangoutsChat_HostAppDataSourceMarkup *hostAppDataSource; + /** * The text that prompts users to input a date, a time, or a date and time. For * example, if users are scheduling an appointment, use a label such as @@ -4233,6 +4397,81 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChat_UserMentionMetadata_Type_Ty @end +/** + * Represents an actionthat can be performed on an ui element. Only supported + * by Google Workspace Workflow, but not Google Chat apps or Google Workspace + * add-ons. + */ +@interface GTLRHangoutsChat_GoogleAppsCardV1EventAction : GTLRObject + +/** The unique identifier of the ActionRule. */ +@property(nonatomic, copy, nullable) NSString *actionRuleId; + +/** Common widget action. */ +@property(nonatomic, strong, nullable) GTLRHangoutsChat_GoogleAppsCardV1CommonWidgetAction *commonWidgetAction; + +/** + * The list of triggers that will be triggered after the EventAction is + * executed. + */ +@property(nonatomic, strong, nullable) NSArray *postEventTriggers; + +@end + + +/** + * Represents the data that is used to evaluate an expression. Only supported + * by Google Workspace Workflow, but not Google Chat apps or Google Workspace + * add-ons. + */ +@interface GTLRHangoutsChat_GoogleAppsCardV1ExpressionData : GTLRObject + +/** + * The list of conditions that are determined by the expression evaluation + * result. + */ +@property(nonatomic, strong, nullable) NSArray *conditions; + +/** The list of actions that the ExpressionData can be used. */ +@property(nonatomic, strong, nullable) NSArray *eventActions; + +/** The uncompiled expression. */ +@property(nonatomic, copy, nullable) NSString *expression; + +/** + * The unique identifier of the ExpressionData. + * + * identifier property maps to 'id' in JSON (to avoid Objective C's 'id'). + */ +@property(nonatomic, copy, nullable) NSString *identifier; + +@end + + +/** + * Represents a condition that is evaluated using CEL. Only supported by Google + * Workspace Workflow, but not Google Chat apps or Google Workspace add-ons. + */ +@interface GTLRHangoutsChat_GoogleAppsCardV1ExpressionDataCondition : GTLRObject + +/** + * The type of the condition. + * + * Likely values: + * @arg @c kGTLRHangoutsChat_GoogleAppsCardV1ExpressionDataCondition_ConditionType_ConditionTypeUnspecified + * Unspecified condition type. (Value: "CONDITION_TYPE_UNSPECIFIED") + * @arg @c kGTLRHangoutsChat_GoogleAppsCardV1ExpressionDataCondition_ConditionType_ExpressionEvaluationFailure + * The expression evaluation was unsuccessful. (Value: + * "EXPRESSION_EVALUATION_FAILURE") + * @arg @c kGTLRHangoutsChat_GoogleAppsCardV1ExpressionDataCondition_ConditionType_ExpressionEvaluationSuccess + * The expression evaluation was successful. (Value: + * "EXPRESSION_EVALUATION_SUCCESS") + */ +@property(nonatomic, copy, nullable) NSString *conditionType; + +@end + + /** * Displays a grid with a collection of items. Items can only include text or * images. For responsive columns, or to include more than text or images, use @@ -4751,6 +4990,16 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChat_UserMentionMetadata_Type_Ty */ @property(nonatomic, copy, nullable) NSString *header; +/** + * A unique ID assigned to the section that's used to identify the section to + * be mutated. The ID has a character limit of 64 characters and should be in + * the format of `[a-zA-Z0-9-]+`. Only supported by Google Workspace Workflow, + * but not Google Chat apps or Google Workspace add-ons. + * + * identifier property maps to 'id' in JSON (to avoid Objective C's 'id'). + */ +@property(nonatomic, copy, nullable) NSString *identifier; + /** * The number of uncollapsible widgets which remain visible even when a section * is collapsed. For example, when a section contains five widgets and the @@ -4790,6 +5039,16 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChat_UserMentionMetadata_Type_Ty */ @interface GTLRHangoutsChat_GoogleAppsCardV1SelectionInput : GTLRCollectionObject +/** + * Optional. The data source configs for the selection control. This field + * provides more fine-grained control over the data source. If specified, the + * `multi_select_max_selected_items` field, `multi_select_min_query_length` + * field, `external_data_source` field and `platform_data_source` field are + * ignored. Only supported by Google Workspace Workflow, but not Google Chat + * apps or Google Workspace add-ons. + */ +@property(nonatomic, strong, nullable) NSArray *dataSourceConfigs; + /** An external data source, such as a relational database. */ @property(nonatomic, strong, nullable) GTLRHangoutsChat_GoogleAppsCardV1Action *externalDataSource; @@ -5070,6 +5329,14 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChat_UserMentionMetadata_Type_Ty */ @property(nonatomic, copy, nullable) NSString *hintText; +/** + * A data source that's unique to a Google Workspace host application, such as + * Gmail emails, Google Calendar events, or Google Chat messages. Only + * supported by Google Workspace Workflow, but not Google Chat apps or Google + * Workspace add-ons. + */ +@property(nonatomic, strong, nullable) GTLRHangoutsChat_HostAppDataSourceMarkup *hostAppDataSource; + /** * Suggested values that users can enter. These values appear when users click * inside the text input field. As users type, the suggested values dynamically @@ -5181,6 +5448,41 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChat_UserMentionMetadata_Type_Ty @end +/** + * Represents a trigger. Only supported by Google Workspace Workflow, but not + * Google Chat apps or Google Workspace add-ons. + */ +@interface GTLRHangoutsChat_GoogleAppsCardV1Trigger : GTLRObject + +/** The unique identifier of the ActionRule. */ +@property(nonatomic, copy, nullable) NSString *actionRuleId; + +@end + + +/** + * Represents an action that updates the visibility of a widget. Only supported + * by Google Workspace Workflow, but not Google Chat apps or Google Workspace + * add-ons. + */ +@interface GTLRHangoutsChat_GoogleAppsCardV1UpdateVisibilityAction : GTLRObject + +/** + * The new visibility. + * + * Likely values: + * @arg @c kGTLRHangoutsChat_GoogleAppsCardV1UpdateVisibilityAction_Visibility_Hidden + * The UI element is hidden. (Value: "HIDDEN") + * @arg @c kGTLRHangoutsChat_GoogleAppsCardV1UpdateVisibilityAction_Visibility_VisibilityUnspecified + * Unspecified visibility. Do not use. (Value: "VISIBILITY_UNSPECIFIED") + * @arg @c kGTLRHangoutsChat_GoogleAppsCardV1UpdateVisibilityAction_Visibility_Visible + * The UI element is visible. (Value: "VISIBLE") + */ +@property(nonatomic, copy, nullable) NSString *visibility; + +@end + + /** * Represents the necessary data for validating the widget it's attached to. * [Google Workspace add-ons and Chat @@ -5293,6 +5595,13 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChat_UserMentionMetadata_Type_Ty */ @property(nonatomic, strong, nullable) GTLRHangoutsChat_GoogleAppsCardV1Divider *divider; +/** + * Specifies the event actions that can be performed on the widget. Only + * supported by Google Workspace Workflow, but not Google Chat apps or Google + * Workspace add-ons. + */ +@property(nonatomic, strong, nullable) NSArray *eventActions; + /** * Displays a grid with a collection of items. A grid supports any number of * columns and items. The number of rows is determined by the upper bounds of @@ -5329,6 +5638,16 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChat_UserMentionMetadata_Type_Ty */ @property(nonatomic, copy, nullable) NSString *horizontalAlignment; +/** + * A unique ID assigned to the widget that's used to identify the widget to be + * mutated. The ID has a character limit of 64 characters and should be in the + * format of `[a-zA-Z0-9-]+` and. Only supported by Google Workspace Workflow, + * but not Google Chat apps or Google Workspace add-ons. + * + * identifier property maps to 'id' in JSON (to avoid Objective C's 'id'). + */ +@property(nonatomic, copy, nullable) NSString *identifier; + /** * Displays an image. For example, the following JSON creates an image with * alternative text: ``` "image": { "imageUrl": @@ -5372,6 +5691,21 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChat_UserMentionMetadata_Type_Ty */ @property(nonatomic, strong, nullable) GTLRHangoutsChat_GoogleAppsCardV1TextParagraph *textParagraph; +/** + * Specifies whether the widget is visible or hidden. The default value is + * `VISIBLE`. Only supported by Google Workspace Workflow, but not Google Chat + * apps or Google Workspace add-ons. + * + * Likely values: + * @arg @c kGTLRHangoutsChat_GoogleAppsCardV1Widget_Visibility_Hidden The UI + * element is hidden. (Value: "HIDDEN") + * @arg @c kGTLRHangoutsChat_GoogleAppsCardV1Widget_Visibility_VisibilityUnspecified + * Unspecified visibility. Do not use. (Value: "VISIBILITY_UNSPECIFIED") + * @arg @c kGTLRHangoutsChat_GoogleAppsCardV1Widget_Visibility_Visible The UI + * element is visible. (Value: "VISIBLE") + */ +@property(nonatomic, copy, nullable) NSString *visibility; + @end @@ -5424,16 +5758,17 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChat_UserMentionMetadata_Type_Ty /** - * For a `SelectionInput` widget that uses a multiselect menu, a data source - * from a Google Workspace application. The data source populates selection - * items for the multiselect menu. [Google Chat - * apps](https://developers.google.com/workspace/chat): + * A data source from a Google Workspace application. The data source populates + * available items for a widget. */ @interface GTLRHangoutsChat_HostAppDataSourceMarkup : GTLRObject /** A data source from Google Chat. */ @property(nonatomic, strong, nullable) GTLRHangoutsChat_ChatClientDataSourceMarkup *chatDataSource; +/** A data source from Google Workflow. */ +@property(nonatomic, strong, nullable) GTLRHangoutsChat_WorkflowDataSourceMarkup *workflowDataSource; + @end @@ -6250,8 +6585,13 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChat_UserMentionMetadata_Type_Ty @property(nonatomic, strong, nullable) GTLRHangoutsChat_User *privateMessageViewer; /** - * Optional. Information about a message that's quoted by a Google Chat user in - * a space. Google Chat users can quote a message to reply to it. + * Optional. Information about a message that another message quotes. When you + * create a message, you can quote messages within the same thread, or quote a + * root message to create a new root message. However, you can't quote a + * message reply from a different thread. When you update a message, you can't + * add or replace the `quotedMessageMetadata` field, but you can remove it. For + * example usage, see [Quote another + * message](https://developers.google.com/workspace/chat/create-messages#quote-a-message). */ @property(nonatomic, strong, nullable) GTLRHangoutsChat_QuotedMessageMetadata *quotedMessageMetadata; @@ -6469,13 +6809,22 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChat_UserMentionMetadata_Type_Ty /** - * Information about a quoted message. + * Information about a message that another message quotes. When you create a + * message, you can quote messages within the same thread, or quote a root + * message to create a new root message. However, you can't quote a message + * reply from a different thread. When you update a message, you can't add or + * replace the `quotedMessageMetadata` field, but you can remove it. For + * example usage, see [Quote another + * message](https://developers.google.com/workspace/chat/create-messages#quote-a-message). */ @interface GTLRHangoutsChat_QuotedMessageMetadata : GTLRObject /** * Required. The timestamp when the quoted message was created or when the - * quoted message was last updated. + * quoted message was last updated. If the message was edited, use this field, + * `last_update_time`. If the message was never edited, use `create_time`. If + * `last_update_time` doesn't match the latest version of the quoted message, + * the request fails. */ @property(nonatomic, strong, nullable) GTLRDateTime *lastUpdateTime; @@ -6835,8 +7184,8 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChat_UserMentionMetadata_Type_Ty * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) * and `SpaceType` is `SPACE`, otherwise should not be set. In the format * `customers/{customer}`, where `customer` is the `id` from the [Admin SDK - * customer resource]( - * https://developers.google.com/admin-sdk/directory/reference/rest/v1/customers). + * customer + * resource](https://developers.google.com/admin-sdk/directory/reference/rest/v1/customers). * Private apps can also use the `customers/my_customer` alias to create the * space in the same Google Workspace organization as the app. For DMs, this * field isn't populated. @@ -7660,6 +8009,41 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChat_UserMentionMetadata_Type_Ty @end + +/** + * * Only supported by Google Workspace Workflow, but not Google Chat apps or + * Google Workspace add-ons. In a `TextInput` or `SelectionInput` widget with + * MULTI_SELECT type or a `DateTimePicker`, provide data source from Google. + */ +@interface GTLRHangoutsChat_WorkflowDataSourceMarkup : GTLRObject + +/** + * Whether to include variables from the previous step in the data source. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *includeVariables; + +/** + * The type of data source. + * + * Likely values: + * @arg @c kGTLRHangoutsChat_WorkflowDataSourceMarkup_Type_Space Google Chat + * spaces that the user is a member of. (Value: "SPACE") + * @arg @c kGTLRHangoutsChat_WorkflowDataSourceMarkup_Type_Unknown Default + * value. Don't use. (Value: "UNKNOWN") + * @arg @c kGTLRHangoutsChat_WorkflowDataSourceMarkup_Type_User Google + * Workspace users. The user can only view and select users from their + * Google Workspace organization. (Value: "USER") + * @arg @c kGTLRHangoutsChat_WorkflowDataSourceMarkup_Type_UserWithFreeForm + * Users can choose to view and select existing members from their Google + * Workspace organization or manually enter an email address or a valid + * domain. (Value: "USER_WITH_FREE_FORM") + */ +@property(nonatomic, copy, nullable) NSString *type; + +@end + NS_ASSUME_NONNULL_END #pragma clang diagnostic pop diff --git a/Sources/GeneratedServices/HangoutsChat/Public/GoogleAPIClientForREST/GTLRHangoutsChatQuery.h b/Sources/GeneratedServices/HangoutsChat/Public/GoogleAPIClientForREST/GTLRHangoutsChatQuery.h index f94e20488..3ccd13c28 100644 --- a/Sources/GeneratedServices/HangoutsChat/Public/GoogleAPIClientForREST/GTLRHangoutsChatQuery.h +++ b/Sources/GeneratedServices/HangoutsChat/Public/GoogleAPIClientForREST/GTLRHangoutsChatQuery.h @@ -1936,7 +1936,8 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChatMessageReplyOptionReplyMessa * authentication](/chat/api/guides/auth/service-accounts).) - `cards_v2` * (Requires [app authentication](/chat/api/guides/auth/service-accounts).) - * `accessory_widgets` (Requires [app - * authentication](/chat/api/guides/auth/service-accounts).) + * authentication](/chat/api/guides/auth/service-accounts).) - + * `quoted_message_metadata` (Only allows removal of the quoted message.) * * String format is a comma-separated list of fields. */ @@ -2237,7 +2238,8 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChatMessageReplyOptionReplyMessa * authentication](/chat/api/guides/auth/service-accounts).) - `cards_v2` * (Requires [app authentication](/chat/api/guides/auth/service-accounts).) - * `accessory_widgets` (Requires [app - * authentication](/chat/api/guides/auth/service-accounts).) + * authentication](/chat/api/guides/auth/service-accounts).) - + * `quoted_message_metadata` (Only allows removal of the quoted message.) * * String format is a comma-separated list of fields. */ diff --git a/Sources/GeneratedServices/ManagedKafka/GTLRManagedKafkaQuery.m b/Sources/GeneratedServices/ManagedKafka/GTLRManagedKafkaQuery.m index c8085f652..a365d65b3 100644 --- a/Sources/GeneratedServices/ManagedKafka/GTLRManagedKafkaQuery.m +++ b/Sources/GeneratedServices/ManagedKafka/GTLRManagedKafkaQuery.m @@ -10,6 +10,18 @@ #import +// ---------------------------------------------------------------------------- +// Constants + +// view +NSString * const kGTLRManagedKafkaViewSchemaRegistryViewBasic = @"SCHEMA_REGISTRY_VIEW_BASIC"; +NSString * const kGTLRManagedKafkaViewSchemaRegistryViewFull = @"SCHEMA_REGISTRY_VIEW_FULL"; +NSString * const kGTLRManagedKafkaViewSchemaRegistryViewUnspecified = @"SCHEMA_REGISTRY_VIEW_UNSPECIFIED"; + +// ---------------------------------------------------------------------------- +// Query Classes +// + @implementation GTLRManagedKafkaQuery @dynamic fields; @@ -1582,7 +1594,7 @@ + (instancetype)queryWithName:(NSString *)name { @implementation GTLRManagedKafkaQuery_ProjectsLocationsSchemaRegistriesList -@dynamic parent; +@dynamic parent, view; + (instancetype)queryWithParent:(NSString *)parent { NSArray *pathParams = @[ @"parent" ]; diff --git a/Sources/GeneratedServices/ManagedKafka/Public/GoogleAPIClientForREST/GTLRManagedKafkaQuery.h b/Sources/GeneratedServices/ManagedKafka/Public/GoogleAPIClientForREST/GTLRManagedKafkaQuery.h index a3070e1cf..3841faf82 100644 --- a/Sources/GeneratedServices/ManagedKafka/Public/GoogleAPIClientForREST/GTLRManagedKafkaQuery.h +++ b/Sources/GeneratedServices/ManagedKafka/Public/GoogleAPIClientForREST/GTLRManagedKafkaQuery.h @@ -23,6 +23,38 @@ NS_ASSUME_NONNULL_BEGIN +// ---------------------------------------------------------------------------- +// Constants - For some of the query classes' properties below. + +// ---------------------------------------------------------------------------- +// view + +/** + * If SchemaRegistryView is not specified, this is the default value. Returns + * only the name of the schema registry. The contexts associated with it are + * not included. + * + * Value: "SCHEMA_REGISTRY_VIEW_BASIC" + */ +FOUNDATION_EXTERN NSString * const kGTLRManagedKafkaViewSchemaRegistryViewBasic; +/** + * Returns the name of the schema registry and all the contexts associated with + * it. + * + * Value: "SCHEMA_REGISTRY_VIEW_FULL" + */ +FOUNDATION_EXTERN NSString * const kGTLRManagedKafkaViewSchemaRegistryViewFull; +/** + * The unset value. The API will default to SCHEMA_REGISTRY_VIEW_BASIC. + * + * Value: "SCHEMA_REGISTRY_VIEW_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRManagedKafkaViewSchemaRegistryViewUnspecified; + +// ---------------------------------------------------------------------------- +// Query Classes +// + /** * Parent class for other Managed Kafka query classes. */ @@ -2935,6 +2967,24 @@ NS_ASSUME_NONNULL_BEGIN */ @property(nonatomic, copy, nullable) NSString *parent; +/** + * Optional. Specifies the view to return for the schema registry instances. If + * not specified, the default view is SCHEMA_REGISTRY_VIEW_BASIC. + * + * Likely values: + * @arg @c kGTLRManagedKafkaViewSchemaRegistryViewUnspecified The unset + * value. The API will default to SCHEMA_REGISTRY_VIEW_BASIC. (Value: + * "SCHEMA_REGISTRY_VIEW_UNSPECIFIED") + * @arg @c kGTLRManagedKafkaViewSchemaRegistryViewBasic If SchemaRegistryView + * is not specified, this is the default value. Returns only the name of + * the schema registry. The contexts associated with it are not included. + * (Value: "SCHEMA_REGISTRY_VIEW_BASIC") + * @arg @c kGTLRManagedKafkaViewSchemaRegistryViewFull Returns the name of + * the schema registry and all the contexts associated with it. (Value: + * "SCHEMA_REGISTRY_VIEW_FULL") + */ +@property(nonatomic, copy, nullable) NSString *view; + /** * Fetches a @c GTLRManagedKafka_ListSchemaRegistriesResponse. * diff --git a/Sources/GeneratedServices/ManufacturerCenter/GTLRManufacturerCenterObjects.m b/Sources/GeneratedServices/ManufacturerCenter/GTLRManufacturerCenterObjects.m index e6d8a6de9..e049a9de0 100644 --- a/Sources/GeneratedServices/ManufacturerCenter/GTLRManufacturerCenterObjects.m +++ b/Sources/GeneratedServices/ManufacturerCenter/GTLRManufacturerCenterObjects.m @@ -178,7 +178,7 @@ @implementation GTLRManufacturerCenter_FloatUnit // @implementation GTLRManufacturerCenter_GoogleShoppingManufacturersV1ProductCertification -@dynamic authority, code, name; +@dynamic authority, code, link, logo, name, validUntil, value; @end diff --git a/Sources/GeneratedServices/ManufacturerCenter/Public/GoogleAPIClientForREST/GTLRManufacturerCenterObjects.h b/Sources/GeneratedServices/ManufacturerCenter/Public/GoogleAPIClientForREST/GTLRManufacturerCenterObjects.h index 6210ae312..0400290f5 100644 --- a/Sources/GeneratedServices/ManufacturerCenter/Public/GoogleAPIClientForREST/GTLRManufacturerCenterObjects.h +++ b/Sources/GeneratedServices/ManufacturerCenter/Public/GoogleAPIClientForREST/GTLRManufacturerCenterObjects.h @@ -522,7 +522,7 @@ FOUNDATION_EXTERN NSString * const kGTLRManufacturerCenter_Issue_Severity_Warnin /** Required. Name of the certification body. */ @property(nonatomic, copy, nullable) NSString *authority; -/** Required. A unique code to identify the certification. */ +/** Optional. A unique code to identify the certification. */ @property(nonatomic, copy, nullable) NSString *code; /** Optional. A URL link to the certification. */ @@ -661,12 +661,24 @@ FOUNDATION_EXTERN NSString * const kGTLRManufacturerCenter_Issue_Severity_Warnin /** Required. Name of the certification body. */ @property(nonatomic, copy, nullable) NSString *authority; -/** Required. A unique code to identify the certification. */ +/** Optional. A unique code to identify the certification. */ @property(nonatomic, copy, nullable) NSString *code; +/** Optional. A URL link to the certification. */ +@property(nonatomic, copy, nullable) NSString *link; + +/** Optional. A URL link to the certification logo. */ +@property(nonatomic, copy, nullable) NSString *logo; + /** Required. Name of the certification. */ @property(nonatomic, copy, nullable) NSString *name; +/** Optional. The expiration date (UTC). */ +@property(nonatomic, copy, nullable) NSString *validUntil; + +/** Optional. A custom value of the certification. */ +@property(nonatomic, copy, nullable) NSString *value; + @end diff --git a/Sources/GeneratedServices/MapsPlaces/Public/GoogleAPIClientForREST/GTLRMapsPlacesObjects.h b/Sources/GeneratedServices/MapsPlaces/Public/GoogleAPIClientForREST/GTLRMapsPlacesObjects.h index 20a158f9b..3b1a58c38 100644 --- a/Sources/GeneratedServices/MapsPlaces/Public/GoogleAPIClientForREST/GTLRMapsPlacesObjects.h +++ b/Sources/GeneratedServices/MapsPlaces/Public/GoogleAPIClientForREST/GTLRMapsPlacesObjects.h @@ -2304,7 +2304,7 @@ FOUNDATION_EXTERN NSString * const kGTLRMapsPlaces_GoogleMapsPlacesV1SearchTextR /** A summary of the nearby restaurants. */ @property(nonatomic, strong, nullable) GTLRMapsPlaces_GoogleMapsPlacesV1ContentBlock *restaurant; -/** A summary of the nearby gas stations. */ +/** A summary of the nearby stores. */ @property(nonatomic, strong, nullable) GTLRMapsPlaces_GoogleMapsPlacesV1ContentBlock *store; @end diff --git a/Sources/GeneratedServices/MigrationCenterAPI/Public/GoogleAPIClientForREST/GTLRMigrationCenterAPIQuery.h b/Sources/GeneratedServices/MigrationCenterAPI/Public/GoogleAPIClientForREST/GTLRMigrationCenterAPIQuery.h index 0589e2d79..27eef0d91 100644 --- a/Sources/GeneratedServices/MigrationCenterAPI/Public/GoogleAPIClientForREST/GTLRMigrationCenterAPIQuery.h +++ b/Sources/GeneratedServices/MigrationCenterAPI/Public/GoogleAPIClientForREST/GTLRMigrationCenterAPIQuery.h @@ -1562,8 +1562,8 @@ FOUNDATION_EXTERN NSString * const kGTLRMigrationCenterAPIViewReportViewUnspecif @interface GTLRMigrationCenterAPIQuery_ProjectsLocationsList : GTLRMigrationCenterAPIQuery /** - * Optional. A list of extra location types that should be used as conditions - * for controlling the visibility of the locations. + * Optional. Do not use this field. It is unsupported and is ignored unless + * explicitly documented otherwise. This is primarily for internal usage. */ @property(nonatomic, strong, nullable) NSArray *extraLocationTypes; diff --git a/Sources/GeneratedServices/Monitoring/Public/GoogleAPIClientForREST/GTLRMonitoringObjects.h b/Sources/GeneratedServices/Monitoring/Public/GoogleAPIClientForREST/GTLRMonitoringObjects.h index e4bbc9a13..fcea558da 100644 --- a/Sources/GeneratedServices/Monitoring/Public/GoogleAPIClientForREST/GTLRMonitoringObjects.h +++ b/Sources/GeneratedServices/Monitoring/Public/GoogleAPIClientForREST/GTLRMonitoringObjects.h @@ -4848,11 +4848,11 @@ GTLR_DEPRECATED @property(nonatomic, strong, nullable) NSArray *aggregations; /** - * The amount of time that a time series must fail to report new data to be - * considered failing. The minimum value of this field is 120 seconds. Larger - * values that are a multiple of a minute--for example, 240 or 300 seconds--are - * supported. If an invalid value is given, an error will be returned. The - * Duration.nanos field is ignored. + * Required. The amount of time that a time series must fail to report new data + * to be considered failing. The minimum value of this field is 120 seconds. + * Larger values that are a multiple of a minute--for example, 240 or 300 + * seconds--are supported. If an invalid value is given, an error will be + * returned. */ @property(nonatomic, strong, nullable) GTLRDuration *duration; @@ -5244,8 +5244,8 @@ GTLR_DEPRECATED @property(nonatomic, copy, nullable) NSString *denominatorFilter; /** - * The amount of time that a time series must violate the threshold to be - * considered failing. Currently, only values that are a multiple of a + * Required. The amount of time that a time series must violate the threshold + * to be considered failing. Currently, only values that are a multiple of a * minute--e.g., 0, 60, 120, or 300 seconds--are supported. If an invalid value * is given, an error will be returned. When choosing a duration, it is useful * to keep in mind the frequency of the underlying time series data (which may @@ -6112,15 +6112,15 @@ GTLR_DEPRECATED @interface GTLRMonitoring_QueryLanguageCondition : GTLRObject /** - * The amount of time that a time series must violate the threshold to be - * considered failing. Currently, only values that are a multiple of a + * Optional. The amount of time that a time series must violate the threshold + * to be considered failing. Currently, only values that are a multiple of a * minute--e.g., 0, 60, 120, or 300 seconds--are supported. If an invalid value * is given, an error will be returned. When choosing a duration, it is useful * to keep in mind the frequency of the underlying time series data (which may * also be affected by any alignments specified in the aggregations field); a * good duration is long enough so that a single outlier does not generate * spurious alerts, but short enough that unhealthy states are detected and - * alerted on quickly. + * alerted on quickly. The default value is zero. */ @property(nonatomic, strong, nullable) GTLRDuration *duration; diff --git a/Sources/GeneratedServices/MyBusinessVerifications/GTLRMyBusinessVerificationsObjects.m b/Sources/GeneratedServices/MyBusinessVerifications/GTLRMyBusinessVerificationsObjects.m index 96602fdd7..b5af04834 100644 --- a/Sources/GeneratedServices/MyBusinessVerifications/GTLRMyBusinessVerificationsObjects.m +++ b/Sources/GeneratedServices/MyBusinessVerifications/GTLRMyBusinessVerificationsObjects.m @@ -30,6 +30,7 @@ NSString * const kGTLRMyBusinessVerifications_Verification_Method_Email = @"EMAIL"; NSString * const kGTLRMyBusinessVerifications_Verification_Method_PhoneCall = @"PHONE_CALL"; NSString * const kGTLRMyBusinessVerifications_Verification_Method_Sms = @"SMS"; +NSString * const kGTLRMyBusinessVerifications_Verification_Method_TrustedPartner = @"TRUSTED_PARTNER"; NSString * const kGTLRMyBusinessVerifications_Verification_Method_VerificationMethodUnspecified = @"VERIFICATION_METHOD_UNSPECIFIED"; NSString * const kGTLRMyBusinessVerifications_Verification_Method_VettedPartner = @"VETTED_PARTNER"; @@ -45,6 +46,7 @@ NSString * const kGTLRMyBusinessVerifications_VerificationOption_VerificationMethod_Email = @"EMAIL"; NSString * const kGTLRMyBusinessVerifications_VerificationOption_VerificationMethod_PhoneCall = @"PHONE_CALL"; NSString * const kGTLRMyBusinessVerifications_VerificationOption_VerificationMethod_Sms = @"SMS"; +NSString * const kGTLRMyBusinessVerifications_VerificationOption_VerificationMethod_TrustedPartner = @"TRUSTED_PARTNER"; NSString * const kGTLRMyBusinessVerifications_VerificationOption_VerificationMethod_VerificationMethodUnspecified = @"VERIFICATION_METHOD_UNSPECIFIED"; NSString * const kGTLRMyBusinessVerifications_VerificationOption_VerificationMethod_VettedPartner = @"VETTED_PARTNER"; @@ -54,6 +56,7 @@ NSString * const kGTLRMyBusinessVerifications_VerifyLocationRequest_Method_Email = @"EMAIL"; NSString * const kGTLRMyBusinessVerifications_VerifyLocationRequest_Method_PhoneCall = @"PHONE_CALL"; NSString * const kGTLRMyBusinessVerifications_VerifyLocationRequest_Method_Sms = @"SMS"; +NSString * const kGTLRMyBusinessVerifications_VerifyLocationRequest_Method_TrustedPartner = @"TRUSTED_PARTNER"; NSString * const kGTLRMyBusinessVerifications_VerifyLocationRequest_Method_VerificationMethodUnspecified = @"VERIFICATION_METHOD_UNSPECIFIED"; NSString * const kGTLRMyBusinessVerifications_VerifyLocationRequest_Method_VettedPartner = @"VETTED_PARTNER"; @@ -273,7 +276,7 @@ @implementation GTLRMyBusinessVerifications_Verify @implementation GTLRMyBusinessVerifications_VerifyLocationRequest @dynamic context, emailAddress, languageCode, mailerContact, method, - phoneNumber, token; + phoneNumber, token, trustedPartnerToken; @end diff --git a/Sources/GeneratedServices/MyBusinessVerifications/Public/GoogleAPIClientForREST/GTLRMyBusinessVerificationsObjects.h b/Sources/GeneratedServices/MyBusinessVerifications/Public/GoogleAPIClientForREST/GTLRMyBusinessVerificationsObjects.h index 6ede12625..c32f180e9 100644 --- a/Sources/GeneratedServices/MyBusinessVerifications/Public/GoogleAPIClientForREST/GTLRMyBusinessVerificationsObjects.h +++ b/Sources/GeneratedServices/MyBusinessVerifications/Public/GoogleAPIClientForREST/GTLRMyBusinessVerificationsObjects.h @@ -122,6 +122,12 @@ FOUNDATION_EXTERN NSString * const kGTLRMyBusinessVerifications_Verification_Met * Value: "SMS" */ FOUNDATION_EXTERN NSString * const kGTLRMyBusinessVerifications_Verification_Method_Sms; +/** + * Verify the location via a trusted partner. + * + * Value: "TRUSTED_PARTNER" + */ +FOUNDATION_EXTERN NSString * const kGTLRMyBusinessVerifications_Verification_Method_TrustedPartner; /** * Default value, will result in errors. * @@ -201,6 +207,12 @@ FOUNDATION_EXTERN NSString * const kGTLRMyBusinessVerifications_VerificationOpti * Value: "SMS" */ FOUNDATION_EXTERN NSString * const kGTLRMyBusinessVerifications_VerificationOption_VerificationMethod_Sms; +/** + * Verify the location via a trusted partner. + * + * Value: "TRUSTED_PARTNER" + */ +FOUNDATION_EXTERN NSString * const kGTLRMyBusinessVerifications_VerificationOption_VerificationMethod_TrustedPartner; /** * Default value, will result in errors. * @@ -252,6 +264,12 @@ FOUNDATION_EXTERN NSString * const kGTLRMyBusinessVerifications_VerifyLocationRe * Value: "SMS" */ FOUNDATION_EXTERN NSString * const kGTLRMyBusinessVerifications_VerifyLocationRequest_Method_Sms; +/** + * Verify the location via a trusted partner. + * + * Value: "TRUSTED_PARTNER" + */ +FOUNDATION_EXTERN NSString * const kGTLRMyBusinessVerifications_VerifyLocationRequest_Method_TrustedPartner; /** * Default value, will result in errors. * @@ -678,6 +696,8 @@ FOUNDATION_EXTERN NSString * const kGTLRMyBusinessVerifications_VerifyLocationRe * @arg @c kGTLRMyBusinessVerifications_Verification_Method_Sms Send an SMS * with a verification PIN to a specific phone number. The PIN is used to * complete verification with Google. (Value: "SMS") + * @arg @c kGTLRMyBusinessVerifications_Verification_Method_TrustedPartner + * Verify the location via a trusted partner. (Value: "TRUSTED_PARTNER") * @arg @c kGTLRMyBusinessVerifications_Verification_Method_VerificationMethodUnspecified * Default value, will result in errors. (Value: * "VERIFICATION_METHOD_UNSPECIFIED") @@ -751,6 +771,8 @@ FOUNDATION_EXTERN NSString * const kGTLRMyBusinessVerifications_VerifyLocationRe * @arg @c kGTLRMyBusinessVerifications_VerificationOption_VerificationMethod_Sms * Send an SMS with a verification PIN to a specific phone number. The * PIN is used to complete verification with Google. (Value: "SMS") + * @arg @c kGTLRMyBusinessVerifications_VerificationOption_VerificationMethod_TrustedPartner + * Verify the location via a trusted partner. (Value: "TRUSTED_PARTNER") * @arg @c kGTLRMyBusinessVerifications_VerificationOption_VerificationMethod_VerificationMethodUnspecified * Default value, will result in errors. (Value: * "VERIFICATION_METHOD_UNSPECIFIED") @@ -849,6 +871,8 @@ FOUNDATION_EXTERN NSString * const kGTLRMyBusinessVerifications_VerifyLocationRe * @arg @c kGTLRMyBusinessVerifications_VerifyLocationRequest_Method_Sms Send * an SMS with a verification PIN to a specific phone number. The PIN is * used to complete verification with Google. (Value: "SMS") + * @arg @c kGTLRMyBusinessVerifications_VerifyLocationRequest_Method_TrustedPartner + * Verify the location via a trusted partner. (Value: "TRUSTED_PARTNER") * @arg @c kGTLRMyBusinessVerifications_VerifyLocationRequest_Method_VerificationMethodUnspecified * Default value, will result in errors. (Value: * "VERIFICATION_METHOD_UNSPECIFIED") @@ -873,6 +897,12 @@ FOUNDATION_EXTERN NSString * const kGTLRMyBusinessVerifications_VerifyLocationRe */ @property(nonatomic, strong, nullable) GTLRMyBusinessVerifications_VerificationToken *token; +/** + * The input for TRUSTED_PARTNER method The verification token that is + * associated to the location. + */ +@property(nonatomic, copy, nullable) NSString *trustedPartnerToken; + @end diff --git a/Sources/GeneratedServices/NetAppFiles/GTLRNetAppFilesObjects.m b/Sources/GeneratedServices/NetAppFiles/GTLRNetAppFilesObjects.m index 7383afea9..f9a48319c 100644 --- a/Sources/GeneratedServices/NetAppFiles/GTLRNetAppFilesObjects.m +++ b/Sources/GeneratedServices/NetAppFiles/GTLRNetAppFilesObjects.m @@ -60,6 +60,19 @@ NSString * const kGTLRNetAppFiles_BackupVault_State_StateUnspecified = @"STATE_UNSPECIFIED"; NSString * const kGTLRNetAppFiles_BackupVault_State_Updating = @"UPDATING"; +// GTLRNetAppFiles_HybridReplicationParameters.hybridReplicationType +NSString * const kGTLRNetAppFiles_HybridReplicationParameters_HybridReplicationType_ContinuousReplication = @"CONTINUOUS_REPLICATION"; +NSString * const kGTLRNetAppFiles_HybridReplicationParameters_HybridReplicationType_Migration = @"MIGRATION"; +NSString * const kGTLRNetAppFiles_HybridReplicationParameters_HybridReplicationType_OnpremReplication = @"ONPREM_REPLICATION"; +NSString * const kGTLRNetAppFiles_HybridReplicationParameters_HybridReplicationType_ReverseOnpremReplication = @"REVERSE_ONPREM_REPLICATION"; +NSString * const kGTLRNetAppFiles_HybridReplicationParameters_HybridReplicationType_VolumeHybridReplicationTypeUnspecified = @"VOLUME_HYBRID_REPLICATION_TYPE_UNSPECIFIED"; + +// GTLRNetAppFiles_HybridReplicationParameters.replicationSchedule +NSString * const kGTLRNetAppFiles_HybridReplicationParameters_ReplicationSchedule_Daily = @"DAILY"; +NSString * const kGTLRNetAppFiles_HybridReplicationParameters_ReplicationSchedule_Every10Minutes = @"EVERY_10_MINUTES"; +NSString * const kGTLRNetAppFiles_HybridReplicationParameters_ReplicationSchedule_Hourly = @"HOURLY"; +NSString * const kGTLRNetAppFiles_HybridReplicationParameters_ReplicationSchedule_HybridReplicationScheduleUnspecified = @"HYBRID_REPLICATION_SCHEDULE_UNSPECIFIED"; + // GTLRNetAppFiles_KmsConfig.state NSString * const kGTLRNetAppFiles_KmsConfig_State_Creating = @"CREATING"; NSString * const kGTLRNetAppFiles_KmsConfig_State_Deleting = @"DELETING"; @@ -111,12 +124,16 @@ NSString * const kGTLRNetAppFiles_Replication_HybridReplicationType_ContinuousReplication = @"CONTINUOUS_REPLICATION"; NSString * const kGTLRNetAppFiles_Replication_HybridReplicationType_HybridReplicationTypeUnspecified = @"HYBRID_REPLICATION_TYPE_UNSPECIFIED"; NSString * const kGTLRNetAppFiles_Replication_HybridReplicationType_Migration = @"MIGRATION"; +NSString * const kGTLRNetAppFiles_Replication_HybridReplicationType_OnpremReplication = @"ONPREM_REPLICATION"; +NSString * const kGTLRNetAppFiles_Replication_HybridReplicationType_ReverseOnpremReplication = @"REVERSE_ONPREM_REPLICATION"; // GTLRNetAppFiles_Replication.mirrorState NSString * const kGTLRNetAppFiles_Replication_MirrorState_Aborted = @"ABORTED"; NSString * const kGTLRNetAppFiles_Replication_MirrorState_BaselineTransferring = @"BASELINE_TRANSFERRING"; +NSString * const kGTLRNetAppFiles_Replication_MirrorState_ExternallyManaged = @"EXTERNALLY_MANAGED"; NSString * const kGTLRNetAppFiles_Replication_MirrorState_Mirrored = @"MIRRORED"; NSString * const kGTLRNetAppFiles_Replication_MirrorState_MirrorStateUnspecified = @"MIRROR_STATE_UNSPECIFIED"; +NSString * const kGTLRNetAppFiles_Replication_MirrorState_PendingPeering = @"PENDING_PEERING"; NSString * const kGTLRNetAppFiles_Replication_MirrorState_Preparing = @"PREPARING"; NSString * const kGTLRNetAppFiles_Replication_MirrorState_Stopped = @"STOPPED"; NSString * const kGTLRNetAppFiles_Replication_MirrorState_Transferring = @"TRANSFERRING"; @@ -136,7 +153,9 @@ NSString * const kGTLRNetAppFiles_Replication_State_Creating = @"CREATING"; NSString * const kGTLRNetAppFiles_Replication_State_Deleting = @"DELETING"; NSString * const kGTLRNetAppFiles_Replication_State_Error = @"ERROR"; +NSString * const kGTLRNetAppFiles_Replication_State_ExternallyManagedReplication = @"EXTERNALLY_MANAGED_REPLICATION"; NSString * const kGTLRNetAppFiles_Replication_State_PendingClusterPeering = @"PENDING_CLUSTER_PEERING"; +NSString * const kGTLRNetAppFiles_Replication_State_PendingRemoteResync = @"PENDING_REMOTE_RESYNC"; NSString * const kGTLRNetAppFiles_Replication_State_PendingSvmPeering = @"PENDING_SVM_PEERING"; NSString * const kGTLRNetAppFiles_Replication_State_Ready = @"READY"; NSString * const kGTLRNetAppFiles_Replication_State_StateUnspecified = @"STATE_UNSPECIFIED"; @@ -162,6 +181,11 @@ NSString * const kGTLRNetAppFiles_StoragePool_EncryptionType_EncryptionTypeUnspecified = @"ENCRYPTION_TYPE_UNSPECIFIED"; NSString * const kGTLRNetAppFiles_StoragePool_EncryptionType_ServiceManaged = @"SERVICE_MANAGED"; +// GTLRNetAppFiles_StoragePool.qosType +NSString * const kGTLRNetAppFiles_StoragePool_QosType_Auto = @"AUTO"; +NSString * const kGTLRNetAppFiles_StoragePool_QosType_Manual = @"MANUAL"; +NSString * const kGTLRNetAppFiles_StoragePool_QosType_QosTypeUnspecified = @"QOS_TYPE_UNSPECIFIED"; + // GTLRNetAppFiles_StoragePool.serviceLevel NSString * const kGTLRNetAppFiles_StoragePool_ServiceLevel_Extreme = @"EXTREME"; NSString * const kGTLRNetAppFiles_StoragePool_ServiceLevel_Flex = @"FLEX"; @@ -518,8 +542,9 @@ @implementation GTLRNetAppFiles_HybridPeeringDetails // @implementation GTLRNetAppFiles_HybridReplicationParameters -@dynamic clusterLocation, descriptionProperty, labels, peerClusterName, - peerIpAddresses, peerSvmName, peerVolumeName, replication; +@dynamic clusterLocation, descriptionProperty, hybridReplicationType, labels, + largeVolumeConstituentCount, peerClusterName, peerIpAddresses, + peerSvmName, peerVolumeName, replication, replicationSchedule; + (NSDictionary *)propertyToJSONKeyMap { return @{ @"descriptionProperty" : @"description" }; @@ -1022,8 +1047,9 @@ + (Class)classForAdditionalProperties { @implementation GTLRNetAppFiles_Replication @dynamic clusterLocation, createTime, descriptionProperty, destinationVolume, destinationVolumeParameters, healthy, hybridPeeringDetails, - hybridReplicationType, labels, mirrorState, name, replicationSchedule, - role, sourceVolume, state, stateDetails, transferStats; + hybridReplicationType, hybridReplicationUserCommands, labels, + mirrorState, name, replicationSchedule, role, sourceVolume, state, + stateDetails, transferStats; + (NSDictionary *)propertyToJSONKeyMap { return @{ @"descriptionProperty" : @"description" }; @@ -1185,12 +1211,13 @@ @implementation GTLRNetAppFiles_StopReplicationRequest // @implementation GTLRNetAppFiles_StoragePool -@dynamic activeDirectory, allowAutoTiering, capacityGib, createTime, - customPerformanceEnabled, descriptionProperty, enableHotTierAutoResize, - encryptionType, globalAccessAllowed, hotTierSizeGib, kmsConfig, labels, - ldapEnabled, name, network, psaRange, replicaZone, satisfiesPzi, - satisfiesPzs, serviceLevel, state, stateDetails, totalIops, - totalThroughputMibps, volumeCapacityGib, volumeCount, zoneProperty; +@dynamic activeDirectory, allowAutoTiering, availableThroughputMibps, + capacityGib, createTime, customPerformanceEnabled, descriptionProperty, + enableHotTierAutoResize, encryptionType, globalAccessAllowed, + hotTierSizeGib, kmsConfig, labels, ldapEnabled, name, network, + psaRange, qosType, replicaZone, satisfiesPzi, satisfiesPzs, + serviceLevel, state, stateDetails, totalIops, totalThroughputMibps, + volumeCapacityGib, volumeCount, zoneProperty; + (NSDictionary *)propertyToJSONKeyMap { NSDictionary *map = @{ @@ -1257,6 +1284,24 @@ @implementation GTLRNetAppFiles_TransferStats @end +// ---------------------------------------------------------------------------- +// +// GTLRNetAppFiles_UserCommands +// + +@implementation GTLRNetAppFiles_UserCommands +@dynamic commands; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"commands" : [NSString class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRNetAppFiles_ValidateDirectoryServiceRequest @@ -1299,8 +1344,8 @@ @implementation GTLRNetAppFiles_Volume multipleEndpoints, name, network, protocols, psaRange, replicaZone, restoreParameters, restrictedActions, securityStyle, serviceLevel, shareName, smbSettings, snapReserve, snapshotDirectory, snapshotPolicy, - state, stateDetails, storagePool, tieringPolicy, unixPermissions, - usedGib, zoneProperty; + state, stateDetails, storagePool, throughputMibps, tieringPolicy, + unixPermissions, usedGib, zoneProperty; + (NSDictionary *)propertyToJSONKeyMap { NSDictionary *map = @{ diff --git a/Sources/GeneratedServices/NetAppFiles/Public/GoogleAPIClientForREST/GTLRNetAppFilesObjects.h b/Sources/GeneratedServices/NetAppFiles/Public/GoogleAPIClientForREST/GTLRNetAppFilesObjects.h index 7c906a6c6..171c992c9 100644 --- a/Sources/GeneratedServices/NetAppFiles/Public/GoogleAPIClientForREST/GTLRNetAppFilesObjects.h +++ b/Sources/GeneratedServices/NetAppFiles/Public/GoogleAPIClientForREST/GTLRNetAppFilesObjects.h @@ -58,6 +58,7 @@ @class GTLRNetAppFiles_StoragePool_Labels; @class GTLRNetAppFiles_TieringPolicy; @class GTLRNetAppFiles_TransferStats; +@class GTLRNetAppFiles_UserCommands; @class GTLRNetAppFiles_Volume; @class GTLRNetAppFiles_Volume_Labels; @class GTLRNetAppFiles_WeeklySchedule; @@ -298,6 +299,68 @@ FOUNDATION_EXTERN NSString * const kGTLRNetAppFiles_BackupVault_State_StateUnspe */ FOUNDATION_EXTERN NSString * const kGTLRNetAppFiles_BackupVault_State_Updating; +// ---------------------------------------------------------------------------- +// GTLRNetAppFiles_HybridReplicationParameters.hybridReplicationType + +/** + * Hybrid replication type for continuous replication. + * + * Value: "CONTINUOUS_REPLICATION" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetAppFiles_HybridReplicationParameters_HybridReplicationType_ContinuousReplication; +/** + * Hybrid replication type for migration. + * + * Value: "MIGRATION" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetAppFiles_HybridReplicationParameters_HybridReplicationType_Migration; +/** + * New field for reversible OnPrem replication, to be used for data protection. + * + * Value: "ONPREM_REPLICATION" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetAppFiles_HybridReplicationParameters_HybridReplicationType_OnpremReplication; +/** + * New field for reversible OnPrem replication, to be used for data protection. + * + * Value: "REVERSE_ONPREM_REPLICATION" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetAppFiles_HybridReplicationParameters_HybridReplicationType_ReverseOnpremReplication; +/** + * Unspecified hybrid replication type. + * + * Value: "VOLUME_HYBRID_REPLICATION_TYPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetAppFiles_HybridReplicationParameters_HybridReplicationType_VolumeHybridReplicationTypeUnspecified; + +// ---------------------------------------------------------------------------- +// GTLRNetAppFiles_HybridReplicationParameters.replicationSchedule + +/** + * Replication happens once every day. + * + * Value: "DAILY" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetAppFiles_HybridReplicationParameters_ReplicationSchedule_Daily; +/** + * Replication happens once every 10 minutes. + * + * Value: "EVERY_10_MINUTES" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetAppFiles_HybridReplicationParameters_ReplicationSchedule_Every10Minutes; +/** + * Replication happens once every hour. + * + * Value: "HOURLY" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetAppFiles_HybridReplicationParameters_ReplicationSchedule_Hourly; +/** + * Unspecified HybridReplicationSchedule + * + * Value: "HYBRID_REPLICATION_SCHEDULE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetAppFiles_HybridReplicationParameters_ReplicationSchedule_HybridReplicationScheduleUnspecified; + // ---------------------------------------------------------------------------- // GTLRNetAppFiles_KmsConfig.state @@ -555,6 +618,19 @@ FOUNDATION_EXTERN NSString * const kGTLRNetAppFiles_Replication_HybridReplicatio * Value: "MIGRATION" */ FOUNDATION_EXTERN NSString * const kGTLRNetAppFiles_Replication_HybridReplicationType_Migration; +/** + * New field for reversible OnPrem replication, to be used for data protection. + * + * Value: "ONPREM_REPLICATION" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetAppFiles_Replication_HybridReplicationType_OnpremReplication; +/** + * Hybrid replication type for incremental Transfer in the reverse direction + * (GCNV is source and Onprem is destination) + * + * Value: "REVERSE_ONPREM_REPLICATION" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetAppFiles_Replication_HybridReplicationType_ReverseOnpremReplication; // ---------------------------------------------------------------------------- // GTLRNetAppFiles_Replication.mirrorState @@ -571,6 +647,12 @@ FOUNDATION_EXTERN NSString * const kGTLRNetAppFiles_Replication_MirrorState_Abor * Value: "BASELINE_TRANSFERRING" */ FOUNDATION_EXTERN NSString * const kGTLRNetAppFiles_Replication_MirrorState_BaselineTransferring; +/** + * Replication is being managed from Onprem ONTAP. + * + * Value: "EXTERNALLY_MANAGED" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetAppFiles_Replication_MirrorState_ExternallyManaged; /** * Destination volume has been initialized and is ready to receive replication * transfers. @@ -584,6 +666,12 @@ FOUNDATION_EXTERN NSString * const kGTLRNetAppFiles_Replication_MirrorState_Mirr * Value: "MIRROR_STATE_UNSPECIFIED" */ FOUNDATION_EXTERN NSString * const kGTLRNetAppFiles_Replication_MirrorState_MirrorStateUnspecified; +/** + * Peering is yet to be established. + * + * Value: "PENDING_PEERING" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetAppFiles_Replication_MirrorState_PendingPeering; /** * Destination volume is being prepared. * @@ -674,12 +762,24 @@ FOUNDATION_EXTERN NSString * const kGTLRNetAppFiles_Replication_State_Deleting; * Value: "ERROR" */ FOUNDATION_EXTERN NSString * const kGTLRNetAppFiles_Replication_State_Error; +/** + * Onprem ONTAP is destination and Replication can only be managed from Onprem. + * + * Value: "EXTERNALLY_MANAGED_REPLICATION" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetAppFiles_Replication_State_ExternallyManagedReplication; /** * Replication is waiting for cluster peering to be established. * * Value: "PENDING_CLUSTER_PEERING" */ FOUNDATION_EXTERN NSString * const kGTLRNetAppFiles_Replication_State_PendingClusterPeering; +/** + * Replication is waiting for Commands to be executed on Onprem ONTAP. + * + * Value: "PENDING_REMOTE_RESYNC" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetAppFiles_Replication_State_PendingRemoteResync; /** * Replication is waiting for SVM peering to be established. * @@ -801,6 +901,28 @@ FOUNDATION_EXTERN NSString * const kGTLRNetAppFiles_StoragePool_EncryptionType_E */ FOUNDATION_EXTERN NSString * const kGTLRNetAppFiles_StoragePool_EncryptionType_ServiceManaged; +// ---------------------------------------------------------------------------- +// GTLRNetAppFiles_StoragePool.qosType + +/** + * QoS Type is Auto + * + * Value: "AUTO" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetAppFiles_StoragePool_QosType_Auto; +/** + * QoS Type is Manual + * + * Value: "MANUAL" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetAppFiles_StoragePool_QosType_Manual; +/** + * Unspecified QoS Type + * + * Value: "QOS_TYPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetAppFiles_StoragePool_QosType_QosTypeUnspecified; + // ---------------------------------------------------------------------------- // GTLRNetAppFiles_StoragePool.serviceLevel @@ -1965,9 +2087,37 @@ FOUNDATION_EXTERN NSString * const kGTLRNetAppFiles_Volume_State_Updating; */ @property(nonatomic, copy, nullable) NSString *descriptionProperty; +/** + * Optional. Type of the hybrid replication. + * + * Likely values: + * @arg @c kGTLRNetAppFiles_HybridReplicationParameters_HybridReplicationType_ContinuousReplication + * Hybrid replication type for continuous replication. (Value: + * "CONTINUOUS_REPLICATION") + * @arg @c kGTLRNetAppFiles_HybridReplicationParameters_HybridReplicationType_Migration + * Hybrid replication type for migration. (Value: "MIGRATION") + * @arg @c kGTLRNetAppFiles_HybridReplicationParameters_HybridReplicationType_OnpremReplication + * New field for reversible OnPrem replication, to be used for data + * protection. (Value: "ONPREM_REPLICATION") + * @arg @c kGTLRNetAppFiles_HybridReplicationParameters_HybridReplicationType_ReverseOnpremReplication + * New field for reversible OnPrem replication, to be used for data + * protection. (Value: "REVERSE_ONPREM_REPLICATION") + * @arg @c kGTLRNetAppFiles_HybridReplicationParameters_HybridReplicationType_VolumeHybridReplicationTypeUnspecified + * Unspecified hybrid replication type. (Value: + * "VOLUME_HYBRID_REPLICATION_TYPE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *hybridReplicationType; + /** Optional. Labels to be added to the replication as the key value pairs. */ @property(nonatomic, strong, nullable) GTLRNetAppFiles_HybridReplicationParameters_Labels *labels; +/** + * Optional. Constituent volume count for large volume. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *largeVolumeConstituentCount; + /** * Required. Name of the user's local source cluster to be peered with the * destination cluster. @@ -1992,6 +2142,22 @@ FOUNDATION_EXTERN NSString * const kGTLRNetAppFiles_Volume_State_Updating; /** Required. Desired name for the replication of this volume. */ @property(nonatomic, copy, nullable) NSString *replication; +/** + * Optional. Replication Schedule for the replication created. + * + * Likely values: + * @arg @c kGTLRNetAppFiles_HybridReplicationParameters_ReplicationSchedule_Daily + * Replication happens once every day. (Value: "DAILY") + * @arg @c kGTLRNetAppFiles_HybridReplicationParameters_ReplicationSchedule_Every10Minutes + * Replication happens once every 10 minutes. (Value: "EVERY_10_MINUTES") + * @arg @c kGTLRNetAppFiles_HybridReplicationParameters_ReplicationSchedule_Hourly + * Replication happens once every hour. (Value: "HOURLY") + * @arg @c kGTLRNetAppFiles_HybridReplicationParameters_ReplicationSchedule_HybridReplicationScheduleUnspecified + * Unspecified HybridReplicationSchedule (Value: + * "HYBRID_REPLICATION_SCHEDULE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *replicationSchedule; + @end @@ -2847,9 +3013,22 @@ FOUNDATION_EXTERN NSString * const kGTLRNetAppFiles_Volume_State_Updating; * "HYBRID_REPLICATION_TYPE_UNSPECIFIED") * @arg @c kGTLRNetAppFiles_Replication_HybridReplicationType_Migration * Hybrid replication type for migration. (Value: "MIGRATION") + * @arg @c kGTLRNetAppFiles_Replication_HybridReplicationType_OnpremReplication + * New field for reversible OnPrem replication, to be used for data + * protection. (Value: "ONPREM_REPLICATION") + * @arg @c kGTLRNetAppFiles_Replication_HybridReplicationType_ReverseOnpremReplication + * Hybrid replication type for incremental Transfer in the reverse + * direction (GCNV is source and Onprem is destination) (Value: + * "REVERSE_ONPREM_REPLICATION") */ @property(nonatomic, copy, nullable) NSString *hybridReplicationType; +/** + * Output only. Copy pastable snapmirror commands to be executed on onprem + * cluster by the customer. + */ +@property(nonatomic, strong, nullable) GTLRNetAppFiles_UserCommands *hybridReplicationUserCommands; + /** Resource labels to represent user provided metadata. */ @property(nonatomic, strong, nullable) GTLRNetAppFiles_Replication_Labels *labels; @@ -2861,11 +3040,16 @@ FOUNDATION_EXTERN NSString * const kGTLRNetAppFiles_Volume_State_Updating; * aborted. (Value: "ABORTED") * @arg @c kGTLRNetAppFiles_Replication_MirrorState_BaselineTransferring * Baseline replication is in progress. (Value: "BASELINE_TRANSFERRING") + * @arg @c kGTLRNetAppFiles_Replication_MirrorState_ExternallyManaged + * Replication is being managed from Onprem ONTAP. (Value: + * "EXTERNALLY_MANAGED") * @arg @c kGTLRNetAppFiles_Replication_MirrorState_Mirrored Destination * volume has been initialized and is ready to receive replication * transfers. (Value: "MIRRORED") * @arg @c kGTLRNetAppFiles_Replication_MirrorState_MirrorStateUnspecified * Unspecified MirrorState (Value: "MIRROR_STATE_UNSPECIFIED") + * @arg @c kGTLRNetAppFiles_Replication_MirrorState_PendingPeering Peering is + * yet to be established. (Value: "PENDING_PEERING") * @arg @c kGTLRNetAppFiles_Replication_MirrorState_Preparing Destination * volume is being prepared. (Value: "PREPARING") * @arg @c kGTLRNetAppFiles_Replication_MirrorState_Stopped Destination @@ -2926,9 +3110,15 @@ FOUNDATION_EXTERN NSString * const kGTLRNetAppFiles_Volume_State_Updating; * deleting. (Value: "DELETING") * @arg @c kGTLRNetAppFiles_Replication_State_Error Replication is in error * state. (Value: "ERROR") + * @arg @c kGTLRNetAppFiles_Replication_State_ExternallyManagedReplication + * Onprem ONTAP is destination and Replication can only be managed from + * Onprem. (Value: "EXTERNALLY_MANAGED_REPLICATION") * @arg @c kGTLRNetAppFiles_Replication_State_PendingClusterPeering * Replication is waiting for cluster peering to be established. (Value: * "PENDING_CLUSTER_PEERING") + * @arg @c kGTLRNetAppFiles_Replication_State_PendingRemoteResync Replication + * is waiting for Commands to be executed on Onprem ONTAP. (Value: + * "PENDING_REMOTE_RESYNC") * @arg @c kGTLRNetAppFiles_Replication_State_PendingSvmPeering Replication * is waiting for SVM peering to be established. (Value: * "PENDING_SVM_PEERING") @@ -3297,6 +3487,13 @@ FOUNDATION_EXTERN NSString * const kGTLRNetAppFiles_Volume_State_Updating; */ @property(nonatomic, strong, nullable) NSNumber *allowAutoTiering; +/** + * Output only. Available throughput of the storage pool (in MiB/s). + * + * Uses NSNumber of doubleValue. + */ +@property(nonatomic, strong, nullable) NSNumber *availableThroughputMibps; + /** * Required. Capacity in GIB of the pool * @@ -3392,6 +3589,19 @@ FOUNDATION_EXTERN NSString * const kGTLRNetAppFiles_Volume_State_Updating; */ @property(nonatomic, copy, nullable) NSString *psaRange; +/** + * Optional. QoS (Quality of Service) Type of the storage pool + * + * Likely values: + * @arg @c kGTLRNetAppFiles_StoragePool_QosType_Auto QoS Type is Auto (Value: + * "AUTO") + * @arg @c kGTLRNetAppFiles_StoragePool_QosType_Manual QoS Type is Manual + * (Value: "MANUAL") + * @arg @c kGTLRNetAppFiles_StoragePool_QosType_QosTypeUnspecified + * Unspecified QoS Type (Value: "QOS_TYPE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *qosType; + /** Optional. Specifies the replica zone for regional storagePool. */ @property(nonatomic, copy, nullable) NSString *replicaZone; @@ -3602,6 +3812,17 @@ FOUNDATION_EXTERN NSString * const kGTLRNetAppFiles_Volume_State_Updating; @end +/** + * UserCommands contains the commands to be executed by the customer. + */ +@interface GTLRNetAppFiles_UserCommands : GTLRObject + +/** Output only. List of commands to be executed by the customer. */ +@property(nonatomic, strong, nullable) NSArray *commands; + +@end + + /** * ValidateDirectoryServiceRequest validates the directory service policy * attached to the storage pool. @@ -3675,7 +3896,8 @@ FOUNDATION_EXTERN NSString * const kGTLRNetAppFiles_Volume_State_Updating; @property(nonatomic, strong, nullable) NSNumber *capacityGib; /** - * Output only. Size of the volume cold tier data in GiB. + * Output only. Size of the volume cold tier data rounded down to the nearest + * GiB. * * Uses NSNumber of longLongValue. */ @@ -3878,6 +4100,13 @@ FOUNDATION_EXTERN NSString * const kGTLRNetAppFiles_Volume_State_Updating; /** Required. StoragePool name of the volume */ @property(nonatomic, copy, nullable) NSString *storagePool; +/** + * Optional. Throughput of the volume (in MiB/s) + * + * Uses NSNumber of doubleValue. + */ +@property(nonatomic, strong, nullable) NSNumber *throughputMibps; + /** Tiering policy for the volume. */ @property(nonatomic, strong, nullable) GTLRNetAppFiles_TieringPolicy *tieringPolicy; diff --git a/Sources/GeneratedServices/NetAppFiles/Public/GoogleAPIClientForREST/GTLRNetAppFilesQuery.h b/Sources/GeneratedServices/NetAppFiles/Public/GoogleAPIClientForREST/GTLRNetAppFilesQuery.h index ff945d037..515184656 100644 --- a/Sources/GeneratedServices/NetAppFiles/Public/GoogleAPIClientForREST/GTLRNetAppFilesQuery.h +++ b/Sources/GeneratedServices/NetAppFiles/Public/GoogleAPIClientForREST/GTLRNetAppFilesQuery.h @@ -1084,8 +1084,8 @@ NS_ASSUME_NONNULL_BEGIN @interface GTLRNetAppFilesQuery_ProjectsLocationsList : GTLRNetAppFilesQuery /** - * Optional. A list of extra location types that should be used as conditions - * for controlling the visibility of the locations. + * Optional. Do not use this field. It is unsupported and is ignored unless + * explicitly documented otherwise. This is primarily for internal usage. */ @property(nonatomic, strong, nullable) NSArray *extraLocationTypes; diff --git a/Sources/GeneratedServices/NetworkManagement/GTLRNetworkManagementObjects.m b/Sources/GeneratedServices/NetworkManagement/GTLRNetworkManagementObjects.m index beaba9de7..3fb73333c 100644 --- a/Sources/GeneratedServices/NetworkManagement/GTLRNetworkManagementObjects.m +++ b/Sources/GeneratedServices/NetworkManagement/GTLRNetworkManagementObjects.m @@ -222,6 +222,11 @@ NSString * const kGTLRNetworkManagement_FirewallInfo_FirewallRuleType_UnsupportedFirewallPolicyRule = @"UNSUPPORTED_FIREWALL_POLICY_RULE"; NSString * const kGTLRNetworkManagement_FirewallInfo_FirewallRuleType_VpcFirewallRule = @"VPC_FIREWALL_RULE"; +// GTLRNetworkManagement_FirewallInfo.targetType +NSString * const kGTLRNetworkManagement_FirewallInfo_TargetType_Instances = @"INSTANCES"; +NSString * const kGTLRNetworkManagement_FirewallInfo_TargetType_InternalManagedLb = @"INTERNAL_MANAGED_LB"; +NSString * const kGTLRNetworkManagement_FirewallInfo_TargetType_TargetTypeUnspecified = @"TARGET_TYPE_UNSPECIFIED"; + // GTLRNetworkManagement_ForwardInfo.target NSString * const kGTLRNetworkManagement_ForwardInfo_Target_AnotherProject = @"ANOTHER_PROJECT"; NSString * const kGTLRNetworkManagement_ForwardInfo_Target_CloudSqlInstance = @"CLOUD_SQL_INSTANCE"; @@ -344,7 +349,6 @@ NSString * const kGTLRNetworkManagement_ProviderTag_ResourceType_MonitoringPoint = @"MONITORING_POINT"; NSString * const kGTLRNetworkManagement_ProviderTag_ResourceType_MonitoringPolicy = @"MONITORING_POLICY"; NSString * const kGTLRNetworkManagement_ProviderTag_ResourceType_NetworkPath = @"NETWORK_PATH"; -NSString * const kGTLRNetworkManagement_ProviderTag_ResourceType_PathTemplate = @"PATH_TEMPLATE"; NSString * const kGTLRNetworkManagement_ProviderTag_ResourceType_ResourceTypeUnspecified = @"RESOURCE_TYPE_UNSPECIFIED"; NSString * const kGTLRNetworkManagement_ProviderTag_ResourceType_WebPath = @"WEB_PATH"; @@ -403,6 +407,7 @@ NSString * const kGTLRNetworkManagement_Step_State_ApplyRoute = @"APPLY_ROUTE"; NSString * const kGTLRNetworkManagement_Step_State_ArriveAtExternalLoadBalancer = @"ARRIVE_AT_EXTERNAL_LOAD_BALANCER"; NSString * const kGTLRNetworkManagement_Step_State_ArriveAtInstance = @"ARRIVE_AT_INSTANCE"; +NSString * const kGTLRNetworkManagement_Step_State_ArriveAtInterconnectAttachment = @"ARRIVE_AT_INTERCONNECT_ATTACHMENT"; NSString * const kGTLRNetworkManagement_Step_State_ArriveAtInternalLoadBalancer = @"ARRIVE_AT_INTERNAL_LOAD_BALANCER"; NSString * const kGTLRNetworkManagement_Step_State_ArriveAtVpcConnector = @"ARRIVE_AT_VPC_CONNECTOR"; NSString * const kGTLRNetworkManagement_Step_State_ArriveAtVpnGateway = @"ARRIVE_AT_VPN_GATEWAY"; @@ -692,7 +697,8 @@ @implementation GTLRNetworkManagement_DirectVpcEgressConnectionInfo // @implementation GTLRNetworkManagement_DropInfo -@dynamic cause, destinationIp, region, resourceUri, sourceIp; +@dynamic cause, destinationGeolocationCode, destinationIp, region, resourceUri, + sourceGeolocationCode, sourceIp; @end @@ -762,7 +768,7 @@ @implementation GTLRNetworkManagement_Expr @implementation GTLRNetworkManagement_FirewallInfo @dynamic action, direction, displayName, firewallRuleType, networkUri, policy, policyPriority, policyUri, priority, targetServiceAccounts, targetTags, - uri; + targetType, uri; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -797,6 +803,16 @@ @implementation GTLRNetworkManagement_ForwardingRuleInfo @end +// ---------------------------------------------------------------------------- +// +// GTLRNetworkManagement_GeoLocation +// + +@implementation GTLRNetworkManagement_GeoLocation +@dynamic country, formattedAddress; +@end + + // ---------------------------------------------------------------------------- // // GTLRNetworkManagement_GKEMasterInfo @@ -856,6 +872,16 @@ @implementation GTLRNetworkManagement_InstanceInfo @end +// ---------------------------------------------------------------------------- +// +// GTLRNetworkManagement_InterconnectAttachmentInfo +// + +@implementation GTLRNetworkManagement_InterconnectAttachmentInfo +@dynamic cloudRouterUri, displayName, interconnectUri, region, uri; +@end + + // ---------------------------------------------------------------------------- // // GTLRNetworkManagement_LatencyDistribution @@ -1158,7 +1184,8 @@ + (Class)classForAdditionalProperties { @implementation GTLRNetworkManagement_MonitoringPoint @dynamic autoGeoLocationEnabled, connectionStatus, createTime, displayName, errors, geoLocation, host, hostname, name, networkInterfaces, - originatingIp, providerTags, type, updateTime, upgradeType, version; + originatingIp, providerTags, type, updateTime, upgradeAvailable, + upgradeType, version; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -1211,7 +1238,15 @@ @implementation GTLRNetworkManagement_NetworkInterface // @implementation GTLRNetworkManagement_NetworkMonitoringProvider -@dynamic createTime, name, providerType, providerUri, state, updateTime; +@dynamic createTime, errors, name, providerType, providerUri, state, updateTime; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"errors" : [NSString class] + }; + return map; +} + @end @@ -1507,11 +1542,11 @@ @implementation GTLRNetworkManagement_Step @dynamic abort, appEngineVersion, causesDrop, cloudFunction, cloudRunRevision, cloudSqlInstance, deliver, descriptionProperty, directVpcEgressConnection, drop, endpoint, firewall, forward, - forwardingRule, gkeMaster, googleService, instance, loadBalancer, - loadBalancerBackendInfo, nat, network, projectId, proxyConnection, - redisCluster, redisInstance, route, serverlessExternalConnection, - serverlessNeg, state, storageBucket, vpcConnector, vpnGateway, - vpnTunnel; + forwardingRule, gkeMaster, googleService, instance, + interconnectAttachment, loadBalancer, loadBalancerBackendInfo, nat, + network, projectId, proxyConnection, redisCluster, redisInstance, + route, serverlessExternalConnection, serverlessNeg, state, + storageBucket, vpcConnector, vpnGateway, vpnTunnel; + (NSDictionary *)propertyToJSONKeyMap { return @{ @"descriptionProperty" : @"description" }; diff --git a/Sources/GeneratedServices/NetworkManagement/Public/GoogleAPIClientForREST/GTLRNetworkManagementObjects.h b/Sources/GeneratedServices/NetworkManagement/Public/GoogleAPIClientForREST/GTLRNetworkManagementObjects.h index 80f7d74f6..2274cd71c 100644 --- a/Sources/GeneratedServices/NetworkManagement/Public/GoogleAPIClientForREST/GTLRNetworkManagementObjects.h +++ b/Sources/GeneratedServices/NetworkManagement/Public/GoogleAPIClientForREST/GTLRNetworkManagementObjects.h @@ -38,10 +38,12 @@ @class GTLRNetworkManagement_FirewallInfo; @class GTLRNetworkManagement_ForwardInfo; @class GTLRNetworkManagement_ForwardingRuleInfo; +@class GTLRNetworkManagement_GeoLocation; @class GTLRNetworkManagement_GKEMasterInfo; @class GTLRNetworkManagement_GoogleServiceInfo; @class GTLRNetworkManagement_Host; @class GTLRNetworkManagement_InstanceInfo; +@class GTLRNetworkManagement_InterconnectAttachmentInfo; @class GTLRNetworkManagement_LatencyDistribution; @class GTLRNetworkManagement_LatencyPercentile; @class GTLRNetworkManagement_LoadBalancerBackend; @@ -1410,6 +1412,29 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_FirewallInfo_FirewallR */ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_FirewallInfo_FirewallRuleType_VpcFirewallRule; +// ---------------------------------------------------------------------------- +// GTLRNetworkManagement_FirewallInfo.targetType + +/** + * Firewall rule applies to instances. + * + * Value: "INSTANCES" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_FirewallInfo_TargetType_Instances; +/** + * Firewall rule applies to internal managed load balancers. + * + * Value: "INTERNAL_MANAGED_LB" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_FirewallInfo_TargetType_InternalManagedLb; +/** + * Target type is not specified. In this case we treat the rule as applying to + * INSTANCES target type. + * + * Value: "TARGET_TYPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_FirewallInfo_TargetType_TargetTypeUnspecified; + // ---------------------------------------------------------------------------- // GTLRNetworkManagement_ForwardInfo.target @@ -2027,12 +2052,6 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_ProviderTag_ResourceTy * Value: "NETWORK_PATH" */ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_ProviderTag_ResourceType_NetworkPath; -/** - * Path template. - * - * Value: "PATH_TEMPLATE" - */ -FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_ProviderTag_ResourceType_PathTemplate; /** * The default value. This value is used if the status is omitted. * @@ -2359,6 +2378,12 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_Step_State_ArriveAtExt * Value: "ARRIVE_AT_INSTANCE" */ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_Step_State_ArriveAtInstance; +/** + * Forwarding state: arriving at an interconnect attachment. + * + * Value: "ARRIVE_AT_INTERCONNECT_ATTACHMENT" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_Step_State_ArriveAtInterconnectAttachment; /** * Forwarding state: arriving at a Compute Engine internal load balancer. * @@ -3813,6 +3838,9 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_WebPath_WorkflowType_W */ @property(nonatomic, copy, nullable) NSString *cause; +/** Geolocation (region code) of the destination IP address (if relevant). */ +@property(nonatomic, copy, nullable) NSString *destinationGeolocationCode; + /** Destination IP address of the dropped packet (if relevant). */ @property(nonatomic, copy, nullable) NSString *destinationIp; @@ -3822,6 +3850,9 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_WebPath_WorkflowType_W /** URI of the resource that caused the drop. */ @property(nonatomic, copy, nullable) NSString *resourceUri; +/** Geolocation (region code) of the source IP address (if relevant). */ +@property(nonatomic, copy, nullable) NSString *sourceGeolocationCode; + /** Source IP address of the dropped packet (if relevant). */ @property(nonatomic, copy, nullable) NSString *sourceIp; @@ -3884,8 +3915,8 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_WebPath_WorkflowType_W * used for protocol forwarding, Private Service Connect and other network * services to provide forwarding information in the control plane. Applicable * only to destination endpoint. Format: - * projects/{project}/global/forwardingRules/{id} or - * projects/{project}/regions/{region}/forwardingRules/{id} + * `projects/{project}/global/forwardingRules/{id}` or + * `projects/{project}/regions/{region}/forwardingRules/{id}` */ @property(nonatomic, copy, nullable) NSString *forwardingRule; @@ -4234,6 +4265,21 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_WebPath_WorkflowType_W */ @property(nonatomic, strong, nullable) NSArray *targetTags; +/** + * Target type of the firewall rule. + * + * Likely values: + * @arg @c kGTLRNetworkManagement_FirewallInfo_TargetType_Instances Firewall + * rule applies to instances. (Value: "INSTANCES") + * @arg @c kGTLRNetworkManagement_FirewallInfo_TargetType_InternalManagedLb + * Firewall rule applies to internal managed load balancers. (Value: + * "INTERNAL_MANAGED_LB") + * @arg @c kGTLRNetworkManagement_FirewallInfo_TargetType_TargetTypeUnspecified + * Target type is not specified. In this case we treat the rule as + * applying to INSTANCES target type. (Value: "TARGET_TYPE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *targetType; + /** * The URI of the firewall rule. This field is not applicable to implied VPC * firewall rules. @@ -4336,6 +4382,20 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_WebPath_WorkflowType_W @end +/** + * The geographical location of the MonitoringPoint. + */ +@interface GTLRNetworkManagement_GeoLocation : GTLRObject + +/** Country. */ +@property(nonatomic, copy, nullable) NSString *country; + +/** Formatted address. */ +@property(nonatomic, copy, nullable) NSString *formattedAddress; + +@end + + /** * For display only. Metadata associated with a Google Kubernetes Engine (GKE) * cluster master. @@ -4501,6 +4561,34 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_WebPath_WorkflowType_W @end +/** + * For display only. Metadata associated with an Interconnect attachment. + */ +@interface GTLRNetworkManagement_InterconnectAttachmentInfo : GTLRObject + +/** URI of the Cloud Router to be used for dynamic routing. */ +@property(nonatomic, copy, nullable) NSString *cloudRouterUri; + +/** Name of an Interconnect attachment. */ +@property(nonatomic, copy, nullable) NSString *displayName; + +/** + * URI of the Interconnect where the Interconnect attachment is configured. + */ +@property(nonatomic, copy, nullable) NSString *interconnectUri; + +/** + * Name of a Google Cloud region where the Interconnect attachment is + * configured. + */ +@property(nonatomic, copy, nullable) NSString *region; + +/** URI of an Interconnect attachment. */ +@property(nonatomic, copy, nullable) NSString *uri; + +@end + + /** * Describes measured latency distribution. */ @@ -5017,11 +5105,8 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_WebPath_WorkflowType_W /** Output only. The codes of errors detected in the MonitoringPoint. */ @property(nonatomic, strong, nullable) NSArray *errors; -/** - * Output only. The geographical location of the MonitoringPoint. Examples: - - * "New York, NY, USA" - "Berlin, Germany" - */ -@property(nonatomic, copy, nullable) NSString *geoLocation; +/** Output only. The geographical location of the MonitoringPoint. ; */ +@property(nonatomic, strong, nullable) GTLRNetworkManagement_GeoLocation *geoLocation; /** Output only. The host information of the MonitoringPoint. */ @property(nonatomic, strong, nullable) GTLRNetworkManagement_Host *host; @@ -5053,6 +5138,13 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_WebPath_WorkflowType_W /** Output only. The time the MonitoringPoint was updated. */ @property(nonatomic, strong, nullable) GTLRDateTime *updateTime; +/** + * Output only. Indicates if an upgrade is available for the MonitoringPoint. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *upgradeAvailable; + /** * Output only. The type of upgrade available for the MonitoringPoint. * @@ -5231,6 +5323,12 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_WebPath_WorkflowType_W /** Output only. The time the NetworkMonitoringProvider was created. */ @property(nonatomic, strong, nullable) GTLRDateTime *createTime; +/** + * Output only. The list of error messages detected for the + * NetworkMonitoringProvider. + */ +@property(nonatomic, strong, nullable) NSArray *errors; + /** * Output only. Identifier. Name of the resource. Format: * `projects/{project}/locations/{location}/networkMonitoringProviders/{network_monitoring_provider}` @@ -5291,8 +5389,10 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_WebPath_WorkflowType_W /** Output only. IP address or hostname of the network path destination. */ @property(nonatomic, copy, nullable) NSString *destination; -/** Output only. Geographical location of the destination MonitoringPoint. */ -@property(nonatomic, copy, nullable) NSString *destinationGeoLocation; +/** + * Output only. Geographical location of the destination MonitoringPoint. ; + */ +@property(nonatomic, strong, nullable) GTLRNetworkManagement_GeoLocation *destinationGeoLocation; /** Output only. The display name of the network path. */ @property(nonatomic, copy, nullable) NSString *displayName; @@ -5700,8 +5800,6 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_WebPath_WorkflowType_W * Monitoring policy. (Value: "MONITORING_POLICY") * @arg @c kGTLRNetworkManagement_ProviderTag_ResourceType_NetworkPath * Network path. (Value: "NETWORK_PATH") - * @arg @c kGTLRNetworkManagement_ProviderTag_ResourceType_PathTemplate Path - * template. (Value: "PATH_TEMPLATE") * @arg @c kGTLRNetworkManagement_ProviderTag_ResourceType_ResourceTypeUnspecified * The default value. This value is used if the status is omitted. * (Value: "RESOURCE_TYPE_UNSPECIFIED") @@ -6327,6 +6425,9 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_WebPath_WorkflowType_W /** Display information of a Compute Engine instance. */ @property(nonatomic, strong, nullable) GTLRNetworkManagement_InstanceInfo *instance; +/** Display information of an interconnect attachment. */ +@property(nonatomic, strong, nullable) GTLRNetworkManagement_InterconnectAttachmentInfo *interconnectAttachment; + /** * Display information of the load balancers. Deprecated in favor of the * `load_balancer_backend_info` field, not used in new tests. @@ -6392,6 +6493,9 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_WebPath_WorkflowType_W * @arg @c kGTLRNetworkManagement_Step_State_ArriveAtInstance Forwarding * state: arriving at a Compute Engine instance. (Value: * "ARRIVE_AT_INSTANCE") + * @arg @c kGTLRNetworkManagement_Step_State_ArriveAtInterconnectAttachment + * Forwarding state: arriving at an interconnect attachment. (Value: + * "ARRIVE_AT_INTERCONNECT_ATTACHMENT") * @arg @c kGTLRNetworkManagement_Step_State_ArriveAtInternalLoadBalancer * Forwarding state: arriving at a Compute Engine internal load balancer. * (Value: "ARRIVE_AT_INTERNAL_LOAD_BALANCER") diff --git a/Sources/GeneratedServices/NetworkManagement/Public/GoogleAPIClientForREST/GTLRNetworkManagementQuery.h b/Sources/GeneratedServices/NetworkManagement/Public/GoogleAPIClientForREST/GTLRNetworkManagementQuery.h index 75d46666c..4e384ca33 100644 --- a/Sources/GeneratedServices/NetworkManagement/Public/GoogleAPIClientForREST/GTLRNetworkManagementQuery.h +++ b/Sources/GeneratedServices/NetworkManagement/Public/GoogleAPIClientForREST/GTLRNetworkManagementQuery.h @@ -71,8 +71,8 @@ NS_ASSUME_NONNULL_BEGIN @interface GTLRNetworkManagementQuery_OrganizationsLocationsList : GTLRNetworkManagementQuery /** - * Optional. A list of extra location types that should be used as conditions - * for controlling the visibility of the locations. + * Optional. Do not use this field. It is unsupported and is ignored unless + * explicitly documented otherwise. This is primarily for internal usage. */ @property(nonatomic, strong, nullable) NSArray *extraLocationTypes; @@ -865,8 +865,8 @@ NS_ASSUME_NONNULL_BEGIN @interface GTLRNetworkManagementQuery_ProjectsLocationsList : GTLRNetworkManagementQuery /** - * Optional. A list of extra location types that should be used as conditions - * for controlling the visibility of the locations. + * Optional. Do not use this field. It is unsupported and is ignored unless + * explicitly documented otherwise. This is primarily for internal usage. */ @property(nonatomic, strong, nullable) NSArray *extraLocationTypes; @@ -992,7 +992,7 @@ NS_ASSUME_NONNULL_BEGIN /** * Required. Name of the resource. Format: - * projects/{project}/locations/{location}/networkMonitoringProviders/{network_monitoring_provider} + * `projects/{project}/locations/{location}/networkMonitoringProviders/{network_monitoring_provider}` */ @property(nonatomic, copy, nullable) NSString *name; @@ -1002,7 +1002,7 @@ NS_ASSUME_NONNULL_BEGIN * Gets the NetworkMonitoringProvider resource. * * @param name Required. Name of the resource. Format: - * projects/{project}/locations/{location}/networkMonitoringProviders/{network_monitoring_provider} + * `projects/{project}/locations/{location}/networkMonitoringProviders/{network_monitoring_provider}` * * @return GTLRNetworkManagementQuery_ProjectsLocationsNetworkMonitoringProvidersGet */ @@ -1038,7 +1038,7 @@ NS_ASSUME_NONNULL_BEGIN /** * Required. Parent value for ListNetworkMonitoringProvidersRequest. Format: - * projects/{project}/locations/{location} + * `projects/{project}/locations/{location}` */ @property(nonatomic, copy, nullable) NSString *parent; @@ -1049,7 +1049,7 @@ NS_ASSUME_NONNULL_BEGIN * * @param parent Required. Parent value for * ListNetworkMonitoringProvidersRequest. Format: - * projects/{project}/locations/{location} + * `projects/{project}/locations/{location}` * * @return GTLRNetworkManagementQuery_ProjectsLocationsNetworkMonitoringProvidersList * diff --git a/Sources/GeneratedServices/NetworkSecurity/Public/GoogleAPIClientForREST/GTLRNetworkSecurityObjects.h b/Sources/GeneratedServices/NetworkSecurity/Public/GoogleAPIClientForREST/GTLRNetworkSecurityObjects.h index 4e6c1b38b..324c39890 100644 --- a/Sources/GeneratedServices/NetworkSecurity/Public/GoogleAPIClientForREST/GTLRNetworkSecurityObjects.h +++ b/Sources/GeneratedServices/NetworkSecurity/Public/GoogleAPIClientForREST/GTLRNetworkSecurityObjects.h @@ -309,7 +309,7 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkSecurity_AuthzPolicy_Action_Deny; // GTLRNetworkSecurity_AuthzPolicyAuthzRulePrincipal.principalSelector /** - * The principal rule is matched against the common name in the client’s + * The principal rule is matched against the common name in the client's * certificate. Authorization against multiple common names in the client * certificate is not supported. Requests with multiple common names in the * client certificate will be rejected if CLIENT_CERT_COMMON_NAME is set as the @@ -323,15 +323,18 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkSecurity_AuthzPolicy_Action_Deny; FOUNDATION_EXTERN NSString * const kGTLRNetworkSecurity_AuthzPolicyAuthzRulePrincipal_PrincipalSelector_ClientCertCommonName; /** * The principal rule is matched against a list of DNS Name SANs in the - * validated client’s certificate. A match happens when there is any exact DNS - * Name SAN value match. + * validated client's certificate. A match happens when there is any exact DNS + * Name SAN value match. This is only applicable for Application Load Balancers + * except for classic Global External Application load balancer. + * CLIENT_CERT_DNS_NAME_SAN is not supported for INTERNAL_SELF_MANAGED load + * balancing scheme. * * Value: "CLIENT_CERT_DNS_NAME_SAN" */ FOUNDATION_EXTERN NSString * const kGTLRNetworkSecurity_AuthzPolicyAuthzRulePrincipal_PrincipalSelector_ClientCertDnsNameSan; /** * The principal rule is matched against a list of URI SANs in the validated - * client’s certificate. A match happens when there is any exact URI SAN value + * client's certificate. A match happens when there is any exact URI SAN value * match. This is the default principal selector. * * Value: "CLIENT_CERT_URI_SAN" @@ -1847,7 +1850,8 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkSecurity_TlsInspectionPolicy_TlsF /** * Optional. A list of IP addresses or IP address ranges to match against the - * source IP address of the request. Limited to 5 ip_blocks. + * source IP address of the request. Limited to 10 ip_blocks per Authorization + * Policy */ @property(nonatomic, strong, nullable) NSArray *ipBlocks; @@ -1858,13 +1862,17 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkSecurity_TlsInspectionPolicy_TlsF * successfully validated by mTLS. Each identity is a string whose value is * matched against a list of URI SANs, DNS Name SANs, or the common name in the * client's certificate. A match happens when any principal matches with the - * rule. Limited to 5 principals. + * rule. Limited to 50 principals per Authorization Policy for Regional + * Internal Application Load Balancer, Regional External Application Load + * Balancer, Cross-region Internal Application Load Balancer, and Cloud Service + * Mesh. Limited to 25 principals per Authorization Policy for Global External + * Application Load Balancer. */ @property(nonatomic, strong, nullable) NSArray *principals; /** * Optional. A list of resources to match against the resource of the source VM - * of a request. Limited to 5 resources. + * of a request. Limited to 10 resources per Authorization Policy. */ @property(nonatomic, strong, nullable) NSArray *resources; @@ -1923,7 +1931,7 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkSecurity_TlsInspectionPolicy_TlsF * * Likely values: * @arg @c kGTLRNetworkSecurity_AuthzPolicyAuthzRulePrincipal_PrincipalSelector_ClientCertCommonName - * The principal rule is matched against the common name in the client’s + * The principal rule is matched against the common name in the client's * certificate. Authorization against multiple common names in the client * certificate is not supported. Requests with multiple common names in * the client certificate will be rejected if CLIENT_CERT_COMMON_NAME is @@ -1935,11 +1943,15 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkSecurity_TlsInspectionPolicy_TlsF * "CLIENT_CERT_COMMON_NAME") * @arg @c kGTLRNetworkSecurity_AuthzPolicyAuthzRulePrincipal_PrincipalSelector_ClientCertDnsNameSan * The principal rule is matched against a list of DNS Name SANs in the - * validated client’s certificate. A match happens when there is any - * exact DNS Name SAN value match. (Value: "CLIENT_CERT_DNS_NAME_SAN") + * validated client's certificate. A match happens when there is any + * exact DNS Name SAN value match. This is only applicable for + * Application Load Balancers except for classic Global External + * Application load balancer. CLIENT_CERT_DNS_NAME_SAN is not supported + * for INTERNAL_SELF_MANAGED load balancing scheme. (Value: + * "CLIENT_CERT_DNS_NAME_SAN") * @arg @c kGTLRNetworkSecurity_AuthzPolicyAuthzRulePrincipal_PrincipalSelector_ClientCertUriSan * The principal rule is matched against a list of URI SANs in the - * validated client’s certificate. A match happens when there is any + * validated client's certificate. A match happens when there is any * exact URI SAN value match. This is the default principal selector. * (Value: "CLIENT_CERT_URI_SAN") * @arg @c kGTLRNetworkSecurity_AuthzPolicyAuthzRulePrincipal_PrincipalSelector_PrincipalSelectorUnspecified @@ -1983,7 +1995,7 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkSecurity_TlsInspectionPolicy_TlsF * Required. A list of resource tag value permanent IDs to match against the * resource manager tags value associated with the source VM of a request. The * match follows AND semantics which means all the ids must match. Limited to 5 - * matches. + * ids in the Tag value id set. * * Uses NSNumber of longLongValue. */ @@ -2072,23 +2084,26 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkSecurity_TlsInspectionPolicy_TlsF /** * Optional. A list of HTTP Hosts to match against. The match can be one of * exact, prefix, suffix, or contains (substring match). Matches are always - * case sensitive unless the ignoreCase is set. Limited to 5 matches. + * case sensitive unless the ignoreCase is set. Limited to 10 hosts per + * Authorization Policy. */ @property(nonatomic, strong, nullable) NSArray *hosts; /** * Optional. A list of HTTP methods to match against. Each entry must be a * valid HTTP method name (GET, PUT, POST, HEAD, PATCH, DELETE, OPTIONS). It - * only allows exact match and is always case sensitive. + * only allows exact match and is always case sensitive. Limited to 10 methods + * per Authorization Policy. */ @property(nonatomic, strong, nullable) NSArray *methods; /** * Optional. A list of paths to match against. The match can be one of exact, * prefix, suffix, or contains (substring match). Matches are always case - * sensitive unless the ignoreCase is set. Limited to 5 matches. Note that this - * path match includes the query parameters. For gRPC services, this should be - * a fully-qualified name of the form /package.service/method. + * sensitive unless the ignoreCase is set. Limited to 10 paths per + * Authorization Policy. Note that this path match includes the query + * parameters. For gRPC services, this should be a fully-qualified name of the + * form /package.service/method. */ @property(nonatomic, strong, nullable) NSArray *paths; @@ -2104,7 +2119,8 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkSecurity_TlsInspectionPolicy_TlsF * Required. A list of headers to match against in http header. The match can * be one of exact, prefix, suffix, or contains (substring match). The match * follows AND semantics which means all the headers must match. Matches are - * always case sensitive unless the ignoreCase is set. Limited to 5 matches. + * always case sensitive unless the ignoreCase is set. Limited to 10 headers + * per Authorization Policy. */ @property(nonatomic, strong, nullable) NSArray *headers; @@ -2542,7 +2558,7 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkSecurity_TlsInspectionPolicy_TlsF /** - * Message describing Endpoint object + * Message describing Endpoint object. */ @interface GTLRNetworkSecurity_FirewallEndpoint : GTLRObject @@ -2565,7 +2581,7 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkSecurity_TlsInspectionPolicy_TlsF /** Required. Project to bill on endpoint uptime usage. */ @property(nonatomic, copy, nullable) NSString *billingProjectId; -/** Output only. Create time stamp */ +/** Output only. Create time stamp. */ @property(nonatomic, strong, nullable) GTLRDateTime *createTime; /** @@ -2578,7 +2594,7 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkSecurity_TlsInspectionPolicy_TlsF /** Optional. Labels as key value pairs */ @property(nonatomic, strong, nullable) GTLRNetworkSecurity_FirewallEndpoint_Labels *labels; -/** Immutable. Identifier. name of resource */ +/** Immutable. Identifier. Name of resource. */ @property(nonatomic, copy, nullable) NSString *name; /** diff --git a/Sources/GeneratedServices/NetworkSecurity/Public/GoogleAPIClientForREST/GTLRNetworkSecurityQuery.h b/Sources/GeneratedServices/NetworkSecurity/Public/GoogleAPIClientForREST/GTLRNetworkSecurityQuery.h index d071294e8..950be2643 100644 --- a/Sources/GeneratedServices/NetworkSecurity/Public/GoogleAPIClientForREST/GTLRNetworkSecurityQuery.h +++ b/Sources/GeneratedServices/NetworkSecurity/Public/GoogleAPIClientForREST/GTLRNetworkSecurityQuery.h @@ -594,7 +594,7 @@ NS_ASSUME_NONNULL_BEGIN */ @interface GTLRNetworkSecurityQuery_OrganizationsLocationsFirewallEndpointsPatch : GTLRNetworkSecurityQuery -/** Immutable. Identifier. name of resource */ +/** Immutable. Identifier. Name of resource. */ @property(nonatomic, copy, nullable) NSString *name; /** @@ -630,7 +630,7 @@ NS_ASSUME_NONNULL_BEGIN * * @param object The @c GTLRNetworkSecurity_FirewallEndpoint to include in the * query. - * @param name Immutable. Identifier. name of resource + * @param name Immutable. Identifier. Name of resource. * * @return GTLRNetworkSecurityQuery_OrganizationsLocationsFirewallEndpointsPatch */ diff --git a/Sources/GeneratedServices/Networkconnectivity/GTLRNetworkconnectivityObjects.m b/Sources/GeneratedServices/Networkconnectivity/GTLRNetworkconnectivityObjects.m index 5572d8c98..f3d814b0c 100644 --- a/Sources/GeneratedServices/Networkconnectivity/GTLRNetworkconnectivityObjects.m +++ b/Sources/GeneratedServices/Networkconnectivity/GTLRNetworkconnectivityObjects.m @@ -58,6 +58,11 @@ NSString * const kGTLRNetworkconnectivity_ConsumerPscConnection_State_Failed = @"FAILED"; NSString * const kGTLRNetworkconnectivity_ConsumerPscConnection_State_StateUnspecified = @"STATE_UNSPECIFIED"; +// GTLRNetworkconnectivity_DestinationEndpoint.state +NSString * const kGTLRNetworkconnectivity_DestinationEndpoint_State_Invalid = @"INVALID"; +NSString * const kGTLRNetworkconnectivity_DestinationEndpoint_State_StateUnspecified = @"STATE_UNSPECIFIED"; +NSString * const kGTLRNetworkconnectivity_DestinationEndpoint_State_Valid = @"VALID"; + // GTLRNetworkconnectivity_Filter.protocolVersion NSString * const kGTLRNetworkconnectivity_Filter_ProtocolVersion_Ipv4 = @"IPV4"; NSString * const kGTLRNetworkconnectivity_Filter_ProtocolVersion_Ipv6 = @"IPV6"; @@ -191,6 +196,12 @@ NSString * const kGTLRNetworkconnectivity_RouteTable_State_StateUnspecified = @"STATE_UNSPECIFIED"; NSString * const kGTLRNetworkconnectivity_RouteTable_State_Updating = @"UPDATING"; +// GTLRNetworkconnectivity_ServiceConfig.eligibilityCriteria +NSString * const kGTLRNetworkconnectivity_ServiceConfig_EligibilityCriteria_EligibilityCriteriaUnspecified = @"ELIGIBILITY_CRITERIA_UNSPECIFIED"; +NSString * const kGTLRNetworkconnectivity_ServiceConfig_EligibilityCriteria_NetworkServiceTierPremiumOnly = @"NETWORK_SERVICE_TIER_PREMIUM_ONLY"; +NSString * const kGTLRNetworkconnectivity_ServiceConfig_EligibilityCriteria_NetworkServiceTierStandardOnly = @"NETWORK_SERVICE_TIER_STANDARD_ONLY"; +NSString * const kGTLRNetworkconnectivity_ServiceConfig_EligibilityCriteria_RequestEndpointRegionalEndpointOnly = @"REQUEST_ENDPOINT_REGIONAL_ENDPOINT_ONLY"; + // GTLRNetworkconnectivity_ServiceConnectionMap.infrastructure NSString * const kGTLRNetworkconnectivity_ServiceConnectionMap_Infrastructure_InfrastructureUnspecified = @"INFRASTRUCTURE_UNSPECIFIED"; NSString * const kGTLRNetworkconnectivity_ServiceConnectionMap_Infrastructure_Psc = @"PSC"; @@ -249,6 +260,14 @@ NSString * const kGTLRNetworkconnectivity_SpokeTypeCount_SpokeType_VpcNetwork = @"VPC_NETWORK"; NSString * const kGTLRNetworkconnectivity_SpokeTypeCount_SpokeType_VpnTunnel = @"VPN_TUNNEL"; +// GTLRNetworkconnectivity_StateMetadata.state +NSString * const kGTLRNetworkconnectivity_StateMetadata_State_Active = @"ACTIVE"; +NSString * const kGTLRNetworkconnectivity_StateMetadata_State_Adding = @"ADDING"; +NSString * const kGTLRNetworkconnectivity_StateMetadata_State_Deleting = @"DELETING"; +NSString * const kGTLRNetworkconnectivity_StateMetadata_State_StateUnspecified = @"STATE_UNSPECIFIED"; +NSString * const kGTLRNetworkconnectivity_StateMetadata_State_Suspended = @"SUSPENDED"; +NSString * const kGTLRNetworkconnectivity_StateMetadata_State_Suspending = @"SUSPENDING"; + // GTLRNetworkconnectivity_StateReason.code NSString * const kGTLRNetworkconnectivity_StateReason_Code_CodeUnspecified = @"CODE_UNSPECIFIED"; NSString * const kGTLRNetworkconnectivity_StateReason_Code_Failed = @"FAILED"; @@ -443,6 +462,57 @@ + (Class)classForAdditionalProperties { @end +// ---------------------------------------------------------------------------- +// +// GTLRNetworkconnectivity_Destination +// + +@implementation GTLRNetworkconnectivity_Destination +@dynamic createTime, descriptionProperty, endpoints, ETag, ipPrefix, labels, + name, stateTimeline, uid, updateTime; + ++ (NSDictionary *)propertyToJSONKeyMap { + NSDictionary *map = @{ + @"descriptionProperty" : @"description", + @"ETag" : @"etag" + }; + return map; +} + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"endpoints" : [GTLRNetworkconnectivity_DestinationEndpoint class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRNetworkconnectivity_Destination_Labels +// + +@implementation GTLRNetworkconnectivity_Destination_Labels + ++ (Class)classForAdditionalProperties { + return [NSString class]; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRNetworkconnectivity_DestinationEndpoint +// + +@implementation GTLRNetworkconnectivity_DestinationEndpoint +@dynamic asn, csp, state, updateTime; +@end + + // ---------------------------------------------------------------------------- // // GTLRNetworkconnectivity_Empty @@ -835,6 +905,29 @@ @implementation GTLRNetworkconnectivity_LinkedVpnTunnels @end +// ---------------------------------------------------------------------------- +// +// GTLRNetworkconnectivity_ListDestinationsResponse +// + +@implementation GTLRNetworkconnectivity_ListDestinationsResponse +@dynamic destinations, nextPageToken, unreachable; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"destinations" : [GTLRNetworkconnectivity_Destination class], + @"unreachable" : [NSString class] + }; + return map; +} + ++ (NSString *)collectionItemsKey { + return @"destinations"; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRNetworkconnectivity_ListGroupsResponse @@ -949,6 +1042,51 @@ + (NSString *)collectionItemsKey { @end +// ---------------------------------------------------------------------------- +// +// GTLRNetworkconnectivity_ListMulticloudDataTransferConfigsResponse +// + +@implementation GTLRNetworkconnectivity_ListMulticloudDataTransferConfigsResponse +@dynamic multicloudDataTransferConfigs, nextPageToken, unreachable; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"multicloudDataTransferConfigs" : [GTLRNetworkconnectivity_MulticloudDataTransferConfig class], + @"unreachable" : [NSString class] + }; + return map; +} + ++ (NSString *)collectionItemsKey { + return @"multicloudDataTransferConfigs"; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRNetworkconnectivity_ListMulticloudDataTransferSupportedServicesResponse +// + +@implementation GTLRNetworkconnectivity_ListMulticloudDataTransferSupportedServicesResponse +@dynamic multicloudDataTransferSupportedServices, nextPageToken; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"multicloudDataTransferSupportedServices" : [GTLRNetworkconnectivity_MulticloudDataTransferSupportedService class] + }; + return map; +} + ++ (NSString *)collectionItemsKey { + return @"multicloudDataTransferSupportedServices"; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRNetworkconnectivity_ListPolicyBasedRoutesResponse @@ -1222,6 +1360,72 @@ @implementation GTLRNetworkconnectivity_Migration @end +// ---------------------------------------------------------------------------- +// +// GTLRNetworkconnectivity_MulticloudDataTransferConfig +// + +@implementation GTLRNetworkconnectivity_MulticloudDataTransferConfig +@dynamic createTime, descriptionProperty, destinationsActiveCount, + destinationsCount, ETag, labels, name, services, uid, updateTime; + ++ (NSDictionary *)propertyToJSONKeyMap { + NSDictionary *map = @{ + @"descriptionProperty" : @"description", + @"ETag" : @"etag" + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRNetworkconnectivity_MulticloudDataTransferConfig_Labels +// + +@implementation GTLRNetworkconnectivity_MulticloudDataTransferConfig_Labels + ++ (Class)classForAdditionalProperties { + return [NSString class]; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRNetworkconnectivity_MulticloudDataTransferConfig_Services +// + +@implementation GTLRNetworkconnectivity_MulticloudDataTransferConfig_Services + ++ (Class)classForAdditionalProperties { + return [GTLRNetworkconnectivity_StateTimeline class]; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRNetworkconnectivity_MulticloudDataTransferSupportedService +// + +@implementation GTLRNetworkconnectivity_MulticloudDataTransferSupportedService +@dynamic name, serviceConfigs; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"serviceConfigs" : [GTLRNetworkconnectivity_ServiceConfig class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRNetworkconnectivity_NextHopInterconnectAttachment @@ -1616,6 +1820,16 @@ + (Class)classForAdditionalProperties { @end +// ---------------------------------------------------------------------------- +// +// GTLRNetworkconnectivity_ServiceConfig +// + +@implementation GTLRNetworkconnectivity_ServiceConfig +@dynamic eligibilityCriteria, supportEndTime; +@end + + // ---------------------------------------------------------------------------- // // GTLRNetworkconnectivity_ServiceConnectionMap @@ -1839,6 +2053,16 @@ @implementation GTLRNetworkconnectivity_SpokeTypeCount @end +// ---------------------------------------------------------------------------- +// +// GTLRNetworkconnectivity_StateMetadata +// + +@implementation GTLRNetworkconnectivity_StateMetadata +@dynamic effectiveTime, state; +@end + + // ---------------------------------------------------------------------------- // // GTLRNetworkconnectivity_StateReason @@ -1849,6 +2073,24 @@ @implementation GTLRNetworkconnectivity_StateReason @end +// ---------------------------------------------------------------------------- +// +// GTLRNetworkconnectivity_StateTimeline +// + +@implementation GTLRNetworkconnectivity_StateTimeline +@dynamic states; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"states" : [GTLRNetworkconnectivity_StateMetadata class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRNetworkconnectivity_TestIamPermissionsRequest diff --git a/Sources/GeneratedServices/Networkconnectivity/GTLRNetworkconnectivityQuery.m b/Sources/GeneratedServices/Networkconnectivity/GTLRNetworkconnectivityQuery.m index b45c6dc05..525fc3843 100644 --- a/Sources/GeneratedServices/Networkconnectivity/GTLRNetworkconnectivityQuery.m +++ b/Sources/GeneratedServices/Networkconnectivity/GTLRNetworkconnectivityQuery.m @@ -981,6 +981,274 @@ + (instancetype)queryWithName:(NSString *)name { @end +@implementation GTLRNetworkconnectivityQuery_ProjectsLocationsMulticloudDataTransferConfigsCreate + +@dynamic multicloudDataTransferConfigId, parent, requestId; + ++ (instancetype)queryWithObject:(GTLRNetworkconnectivity_MulticloudDataTransferConfig *)object + parent:(NSString *)parent { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v1/{+parent}/multicloudDataTransferConfigs"; + GTLRNetworkconnectivityQuery_ProjectsLocationsMulticloudDataTransferConfigsCreate *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.parent = parent; + query.expectedObjectClass = [GTLRNetworkconnectivity_GoogleLongrunningOperation class]; + query.loggingName = @"networkconnectivity.projects.locations.multicloudDataTransferConfigs.create"; + return query; +} + +@end + +@implementation GTLRNetworkconnectivityQuery_ProjectsLocationsMulticloudDataTransferConfigsDelete + +@dynamic ETag, name, requestId; + ++ (NSDictionary *)parameterNameMap { + return @{ @"ETag" : @"etag" }; +} + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRNetworkconnectivityQuery_ProjectsLocationsMulticloudDataTransferConfigsDelete *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"DELETE" + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRNetworkconnectivity_GoogleLongrunningOperation class]; + query.loggingName = @"networkconnectivity.projects.locations.multicloudDataTransferConfigs.delete"; + return query; +} + +@end + +@implementation GTLRNetworkconnectivityQuery_ProjectsLocationsMulticloudDataTransferConfigsDestinationsCreate + +@dynamic destinationId, parent, requestId; + ++ (instancetype)queryWithObject:(GTLRNetworkconnectivity_Destination *)object + parent:(NSString *)parent { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v1/{+parent}/destinations"; + GTLRNetworkconnectivityQuery_ProjectsLocationsMulticloudDataTransferConfigsDestinationsCreate *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.parent = parent; + query.expectedObjectClass = [GTLRNetworkconnectivity_GoogleLongrunningOperation class]; + query.loggingName = @"networkconnectivity.projects.locations.multicloudDataTransferConfigs.destinations.create"; + return query; +} + +@end + +@implementation GTLRNetworkconnectivityQuery_ProjectsLocationsMulticloudDataTransferConfigsDestinationsDelete + +@dynamic ETag, name, requestId; + ++ (NSDictionary *)parameterNameMap { + return @{ @"ETag" : @"etag" }; +} + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRNetworkconnectivityQuery_ProjectsLocationsMulticloudDataTransferConfigsDestinationsDelete *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"DELETE" + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRNetworkconnectivity_GoogleLongrunningOperation class]; + query.loggingName = @"networkconnectivity.projects.locations.multicloudDataTransferConfigs.destinations.delete"; + return query; +} + +@end + +@implementation GTLRNetworkconnectivityQuery_ProjectsLocationsMulticloudDataTransferConfigsDestinationsGet + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRNetworkconnectivityQuery_ProjectsLocationsMulticloudDataTransferConfigsDestinationsGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRNetworkconnectivity_Destination class]; + query.loggingName = @"networkconnectivity.projects.locations.multicloudDataTransferConfigs.destinations.get"; + return query; +} + +@end + +@implementation GTLRNetworkconnectivityQuery_ProjectsLocationsMulticloudDataTransferConfigsDestinationsList + +@dynamic filter, orderBy, pageSize, pageToken, parent, returnPartialSuccess; + ++ (instancetype)queryWithParent:(NSString *)parent { + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v1/{+parent}/destinations"; + GTLRNetworkconnectivityQuery_ProjectsLocationsMulticloudDataTransferConfigsDestinationsList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.parent = parent; + query.expectedObjectClass = [GTLRNetworkconnectivity_ListDestinationsResponse class]; + query.loggingName = @"networkconnectivity.projects.locations.multicloudDataTransferConfigs.destinations.list"; + return query; +} + +@end + +@implementation GTLRNetworkconnectivityQuery_ProjectsLocationsMulticloudDataTransferConfigsDestinationsPatch + +@dynamic name, requestId, updateMask; + ++ (instancetype)queryWithObject:(GTLRNetworkconnectivity_Destination *)object + name:(NSString *)name { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRNetworkconnectivityQuery_ProjectsLocationsMulticloudDataTransferConfigsDestinationsPatch *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"PATCH" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.name = name; + query.expectedObjectClass = [GTLRNetworkconnectivity_GoogleLongrunningOperation class]; + query.loggingName = @"networkconnectivity.projects.locations.multicloudDataTransferConfigs.destinations.patch"; + return query; +} + +@end + +@implementation GTLRNetworkconnectivityQuery_ProjectsLocationsMulticloudDataTransferConfigsGet + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRNetworkconnectivityQuery_ProjectsLocationsMulticloudDataTransferConfigsGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRNetworkconnectivity_MulticloudDataTransferConfig class]; + query.loggingName = @"networkconnectivity.projects.locations.multicloudDataTransferConfigs.get"; + return query; +} + +@end + +@implementation GTLRNetworkconnectivityQuery_ProjectsLocationsMulticloudDataTransferConfigsList + +@dynamic filter, orderBy, pageSize, pageToken, parent, returnPartialSuccess; + ++ (instancetype)queryWithParent:(NSString *)parent { + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v1/{+parent}/multicloudDataTransferConfigs"; + GTLRNetworkconnectivityQuery_ProjectsLocationsMulticloudDataTransferConfigsList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.parent = parent; + query.expectedObjectClass = [GTLRNetworkconnectivity_ListMulticloudDataTransferConfigsResponse class]; + query.loggingName = @"networkconnectivity.projects.locations.multicloudDataTransferConfigs.list"; + return query; +} + +@end + +@implementation GTLRNetworkconnectivityQuery_ProjectsLocationsMulticloudDataTransferConfigsPatch + +@dynamic name, requestId, updateMask; + ++ (instancetype)queryWithObject:(GTLRNetworkconnectivity_MulticloudDataTransferConfig *)object + name:(NSString *)name { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRNetworkconnectivityQuery_ProjectsLocationsMulticloudDataTransferConfigsPatch *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"PATCH" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.name = name; + query.expectedObjectClass = [GTLRNetworkconnectivity_GoogleLongrunningOperation class]; + query.loggingName = @"networkconnectivity.projects.locations.multicloudDataTransferConfigs.patch"; + return query; +} + +@end + +@implementation GTLRNetworkconnectivityQuery_ProjectsLocationsMulticloudDataTransferSupportedServicesGet + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRNetworkconnectivityQuery_ProjectsLocationsMulticloudDataTransferSupportedServicesGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRNetworkconnectivity_MulticloudDataTransferSupportedService class]; + query.loggingName = @"networkconnectivity.projects.locations.multicloudDataTransferSupportedServices.get"; + return query; +} + +@end + +@implementation GTLRNetworkconnectivityQuery_ProjectsLocationsMulticloudDataTransferSupportedServicesList + +@dynamic pageSize, pageToken, parent; + ++ (instancetype)queryWithParent:(NSString *)parent { + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v1/{+parent}/multicloudDataTransferSupportedServices"; + GTLRNetworkconnectivityQuery_ProjectsLocationsMulticloudDataTransferSupportedServicesList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.parent = parent; + query.expectedObjectClass = [GTLRNetworkconnectivity_ListMulticloudDataTransferSupportedServicesResponse class]; + query.loggingName = @"networkconnectivity.projects.locations.multicloudDataTransferSupportedServices.list"; + return query; +} + +@end + @implementation GTLRNetworkconnectivityQuery_ProjectsLocationsOperationsCancel @dynamic name; diff --git a/Sources/GeneratedServices/Networkconnectivity/Public/GoogleAPIClientForREST/GTLRNetworkconnectivityObjects.h b/Sources/GeneratedServices/Networkconnectivity/Public/GoogleAPIClientForREST/GTLRNetworkconnectivityObjects.h index 6fd8a8006..889bd7b6b 100644 --- a/Sources/GeneratedServices/Networkconnectivity/Public/GoogleAPIClientForREST/GTLRNetworkconnectivityObjects.h +++ b/Sources/GeneratedServices/Networkconnectivity/Public/GoogleAPIClientForREST/GTLRNetworkconnectivityObjects.h @@ -24,6 +24,9 @@ @class GTLRNetworkconnectivity_ConsumerPscConfig_ServiceAttachmentIpAddressMap; @class GTLRNetworkconnectivity_ConsumerPscConnection; @class GTLRNetworkconnectivity_ConsumerPscConnection_ProducerInstanceMetadata; +@class GTLRNetworkconnectivity_Destination; +@class GTLRNetworkconnectivity_Destination_Labels; +@class GTLRNetworkconnectivity_DestinationEndpoint; @class GTLRNetworkconnectivity_Expr; @class GTLRNetworkconnectivity_Filter; @class GTLRNetworkconnectivity_GoogleLongrunningOperation; @@ -50,6 +53,10 @@ @class GTLRNetworkconnectivity_Location_Labels; @class GTLRNetworkconnectivity_Location_Metadata; @class GTLRNetworkconnectivity_Migration; +@class GTLRNetworkconnectivity_MulticloudDataTransferConfig; +@class GTLRNetworkconnectivity_MulticloudDataTransferConfig_Labels; +@class GTLRNetworkconnectivity_MulticloudDataTransferConfig_Services; +@class GTLRNetworkconnectivity_MulticloudDataTransferSupportedService; @class GTLRNetworkconnectivity_NextHopInterconnectAttachment; @class GTLRNetworkconnectivity_NextHopRouterApplianceInstance; @class GTLRNetworkconnectivity_NextHopSpoke; @@ -73,6 +80,7 @@ @class GTLRNetworkconnectivity_RoutingVPC; @class GTLRNetworkconnectivity_ServiceClass; @class GTLRNetworkconnectivity_ServiceClass_Labels; +@class GTLRNetworkconnectivity_ServiceConfig; @class GTLRNetworkconnectivity_ServiceConnectionMap; @class GTLRNetworkconnectivity_ServiceConnectionMap_Labels; @class GTLRNetworkconnectivity_ServiceConnectionPolicy; @@ -85,7 +93,9 @@ @class GTLRNetworkconnectivity_SpokeStateReasonCount; @class GTLRNetworkconnectivity_SpokeSummary; @class GTLRNetworkconnectivity_SpokeTypeCount; +@class GTLRNetworkconnectivity_StateMetadata; @class GTLRNetworkconnectivity_StateReason; +@class GTLRNetworkconnectivity_StateTimeline; @class GTLRNetworkconnectivity_VirtualMachine; @class GTLRNetworkconnectivity_Warnings; @class GTLRNetworkconnectivity_Warnings_Data; @@ -334,6 +344,28 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivity_ConsumerPscConnectio */ FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivity_ConsumerPscConnection_State_StateUnspecified; +// ---------------------------------------------------------------------------- +// GTLRNetworkconnectivity_DestinationEndpoint.state + +/** + * The Endpoint is invalid. + * + * Value: "INVALID" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivity_DestinationEndpoint_State_Invalid; +/** + * An invalid state as the default case. + * + * Value: "STATE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivity_DestinationEndpoint_State_StateUnspecified; +/** + * The Endpoint is valid. + * + * Value: "VALID" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivity_DestinationEndpoint_State_Valid; + // ---------------------------------------------------------------------------- // GTLRNetworkconnectivity_Filter.protocolVersion @@ -1045,6 +1077,37 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivity_RouteTable_State_Sta */ FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivity_RouteTable_State_Updating; +// ---------------------------------------------------------------------------- +// GTLRNetworkconnectivity_ServiceConfig.eligibilityCriteria + +/** + * An invalid eligibility criteria as the default case. + * + * Value: "ELIGIBILITY_CRITERIA_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivity_ServiceConfig_EligibilityCriteria_EligibilityCriteriaUnspecified; +/** + * The service is eligible for multicloud data transfer only for the premium + * network tier. + * + * Value: "NETWORK_SERVICE_TIER_PREMIUM_ONLY" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivity_ServiceConfig_EligibilityCriteria_NetworkServiceTierPremiumOnly; +/** + * The service is eligible for multicloud data transfer only for the standard + * network tier. + * + * Value: "NETWORK_SERVICE_TIER_STANDARD_ONLY" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivity_ServiceConfig_EligibilityCriteria_NetworkServiceTierStandardOnly; +/** + * The service is eligible for multicloud data transfer only for the regional + * endpoint. + * + * Value: "REQUEST_ENDPOINT_REGIONAL_ENDPOINT_ONLY" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivity_ServiceConfig_EligibilityCriteria_RequestEndpointRegionalEndpointOnly; + // ---------------------------------------------------------------------------- // GTLRNetworkconnectivity_ServiceConnectionMap.infrastructure @@ -1344,6 +1407,46 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivity_SpokeTypeCount_Spoke */ FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivity_SpokeTypeCount_SpokeType_VpnTunnel; +// ---------------------------------------------------------------------------- +// GTLRNetworkconnectivity_StateMetadata.state + +/** + * The resource is in use. + * + * Value: "ACTIVE" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivity_StateMetadata_State_Active; +/** + * The resource is being added. + * + * Value: "ADDING" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivity_StateMetadata_State_Adding; +/** + * The resource is being deleted. + * + * Value: "DELETING" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivity_StateMetadata_State_Deleting; +/** + * An invalid state as the default case. + * + * Value: "STATE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivity_StateMetadata_State_StateUnspecified; +/** + * The resource is not in use for billing and is suspended. + * + * Value: "SUSPENDED" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivity_StateMetadata_State_Suspended; +/** + * The resource is being suspended. + * + * Value: "SUSPENDING" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivity_StateMetadata_State_Suspending; + // ---------------------------------------------------------------------------- // GTLRNetworkconnectivity_StateReason.code @@ -1974,6 +2077,120 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivity_Warnings_Code_Warnin @end +/** + * The Destination resource. + */ +@interface GTLRNetworkconnectivity_Destination : GTLRObject + +/** Output only. Time when the Destination was created. */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; + +/** + * Optional. An optional field to provide a description of this resource. + * + * Remapped to 'descriptionProperty' to avoid NSObject's 'description'. + */ +@property(nonatomic, copy, nullable) NSString *descriptionProperty; + +/** + * Required. Unordered list. The list of Endpoints configured for the IP + * Prefix. + */ +@property(nonatomic, strong, nullable) NSArray *endpoints; + +/** + * The etag is computed by the server, and may be sent on update and delete + * requests to ensure the client has an up-to-date value before proceeding. + */ +@property(nonatomic, copy, nullable) NSString *ETag; + +/** + * Required. Immutable. Remote IP Prefix in the remote CSP, where the + * customer's workload is located + */ +@property(nonatomic, copy, nullable) NSString *ipPrefix; + +/** Optional. User-defined labels. */ +@property(nonatomic, strong, nullable) GTLRNetworkconnectivity_Destination_Labels *labels; + +/** + * Identifier. The name of the Destination resource. Format: + * `projects/{project}/locations/{location}/multicloudDataTransferConfigs/{multicloud_data_transfer_config}/destinations/{destination}`. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Output only. The timeline of the expected Destination states or the current + * rest state. If a state change is expected, the value will be the list of + * ADDING, DELETING or SUSPENDING statesdepending on the actions taken. + * Example: "state_timeline": { "states": [ { "state": "ADDING", // The time + * when the Destination will be activated. "effective_time": + * "2024-12-01T08:00:00Z" }, { "state": "SUSPENDING", // The time when the + * Destination will be suspended. "effective_time": "2024-12-01T20:00:00Z" } ] + * } + */ +@property(nonatomic, strong, nullable) GTLRNetworkconnectivity_StateTimeline *stateTimeline; + +/** + * Output only. The Google-generated UUID for the destination. This value is + * unique across all destination resources. If a destination is deleted and + * another with the same name is created, the new destination is assigned a + * different uid. + */ +@property(nonatomic, copy, nullable) NSString *uid; + +/** Output only. Time when the Destination was updated. */ +@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; + +@end + + +/** + * Optional. User-defined labels. + * + * @note This class is documented as having more properties of NSString. Use @c + * -additionalJSONKeys and @c -additionalPropertyForName: to get the list + * of properties and then fetch them; or @c -additionalProperties to + * fetch them all at once. + */ +@interface GTLRNetworkconnectivity_Destination_Labels : GTLRObject +@end + + +/** + * The metadata for a DestinationEndpoint. + */ +@interface GTLRNetworkconnectivity_DestinationEndpoint : GTLRObject + +/** + * Required. The ASN of the remote IP Prefix. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *asn; + +/** Required. The name of the CSP of the remote IP Prefix. */ +@property(nonatomic, copy, nullable) NSString *csp; + +/** + * Output only. The state of the Endpoint. + * + * Likely values: + * @arg @c kGTLRNetworkconnectivity_DestinationEndpoint_State_Invalid The + * Endpoint is invalid. (Value: "INVALID") + * @arg @c kGTLRNetworkconnectivity_DestinationEndpoint_State_StateUnspecified + * An invalid state as the default case. (Value: "STATE_UNSPECIFIED") + * @arg @c kGTLRNetworkconnectivity_DestinationEndpoint_State_Valid The + * Endpoint is valid. (Value: "VALID") + */ +@property(nonatomic, copy, nullable) NSString *state; + +/** Output only. Time when the DestinationEndpoint was updated. */ +@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; + +@end + + /** * A generic empty message that you can re-use to avoid defining duplicated * empty messages in your APIs. A typical example is to use it as the request @@ -2712,10 +2929,11 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivity_Warnings_Code_Warnin /** * Optional. Can be set to narrow down or pick a different address space while - * searching for a free range. If not set, defaults to the "10.0.0.0/8" address - * space. This can be used to search in other rfc-1918 address spaces like - * "172.16.0.0/12" and "192.168.0.0/16" or non-rfc-1918 address spaces used in - * the VPC. + * searching for a free range. If not set, defaults to the ["10.0.0.0/8", + * "172.16.0.0/12", "192.168.0.0/16"] address space (for auto-mode networks, + * the "10.0.0.0/9" range is used instead of "10.0.0.0/8"). This can be used to + * target the search in other rfc-1918 address spaces like "172.16.0.0/12" and + * "192.168.0.0/16" or non-rfc-1918 address spaces used in the VPC. */ @property(nonatomic, strong, nullable) NSArray *targetCidrRange; @@ -2961,6 +3179,33 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivity_Warnings_Code_Warnin @end +/** + * Response message for ListDestinations. + * + * @note This class supports NSFastEnumeration and indexed subscripting over + * its "destinations" property. If returned as the result of a query, it + * should support automatic pagination (when @c shouldFetchNextPages is + * enabled). + */ +@interface GTLRNetworkconnectivity_ListDestinationsResponse : GTLRCollectionObject + +/** + * Destinations to be returned. + * + * @note This property is used to support NSFastEnumeration and indexed + * subscripting on this class. + */ +@property(nonatomic, strong, nullable) NSArray *destinations; + +/** The next page token. */ +@property(nonatomic, copy, nullable) NSString *nextPageToken; + +/** Locations that could not be reached. */ +@property(nonatomic, strong, nullable) NSArray *unreachable; + +@end + + /** * Response for HubService.ListGroups method. * @@ -3109,6 +3354,57 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivity_Warnings_Code_Warnin @end +/** + * Response message for ListMulticloudDataTransferConfigs. + * + * @note This class supports NSFastEnumeration and indexed subscripting over + * its "multicloudDataTransferConfigs" property. If returned as the + * result of a query, it should support automatic pagination (when @c + * shouldFetchNextPages is enabled). + */ +@interface GTLRNetworkconnectivity_ListMulticloudDataTransferConfigsResponse : GTLRCollectionObject + +/** + * MulticloudDataTransferConfigs to be returned. + * + * @note This property is used to support NSFastEnumeration and indexed + * subscripting on this class. + */ +@property(nonatomic, strong, nullable) NSArray *multicloudDataTransferConfigs; + +/** The next page token. */ +@property(nonatomic, copy, nullable) NSString *nextPageToken; + +/** Locations that could not be reached. */ +@property(nonatomic, strong, nullable) NSArray *unreachable; + +@end + + +/** + * Response message for ListMulticloudDataTransferSupportedServices. + * + * @note This class supports NSFastEnumeration and indexed subscripting over + * its "multicloudDataTransferSupportedServices" property. If returned as + * the result of a query, it should support automatic pagination (when @c + * shouldFetchNextPages is enabled). + */ +@interface GTLRNetworkconnectivity_ListMulticloudDataTransferSupportedServicesResponse : GTLRCollectionObject + +/** + * The list of supported services. + * + * @note This property is used to support NSFastEnumeration and indexed + * subscripting on this class. + */ +@property(nonatomic, strong, nullable) NSArray *multicloudDataTransferSupportedServices; + +/** The next page token. */ +@property(nonatomic, copy, nullable) NSString *nextPageToken; + +@end + + /** * Response for PolicyBasedRoutingService.ListPolicyBasedRoutes method. * @@ -3477,6 +3773,122 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivity_Warnings_Code_Warnin @end +/** + * The MulticloudDataTransferConfig resource. This lists the services for which + * customer is opting in for Multicloud Data Transfer. + */ +@interface GTLRNetworkconnectivity_MulticloudDataTransferConfig : GTLRObject + +/** Output only. Time when the MulticloudDataTransferConfig was created. */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; + +/** + * Optional. An optional field to provide a description of this resource. + * + * Remapped to 'descriptionProperty' to avoid NSObject's 'description'. + */ +@property(nonatomic, copy, nullable) NSString *descriptionProperty; + +/** + * Output only. The number of Destinations in use under the + * MulticloudDataTransferConfig resource. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *destinationsActiveCount; + +/** + * Output only. The number of Destinations configured under the + * MulticloudDataTransferConfig resource. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *destinationsCount; + +/** + * The etag is computed by the server, and may be sent on update and delete + * requests to ensure the client has an up-to-date value before proceeding. + */ +@property(nonatomic, copy, nullable) NSString *ETag; + +/** Optional. User-defined labels. */ +@property(nonatomic, strong, nullable) GTLRNetworkconnectivity_MulticloudDataTransferConfig_Labels *labels; + +/** + * Identifier. The name of the MulticloudDataTransferConfig resource. Format: + * `projects/{project}/locations/{location}/multicloudDataTransferConfigs/{multicloud_data_transfer_config}`. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Optional. This map services to either their current or planned states. + * Service names are keys, and the associated values describe the service's + * state. If a state change is expected, the value will be the list of ADDING + * or DELETING states depending on the actions taken. Example: "services": { + * "big-query": { "states": [ { "state": "ADDING", "effective_time": + * "2024-12-12T08:00:00Z" }, ] }, "cloud-storage": { "states": [ { "state": + * "ACTIVE", } ] } } + */ +@property(nonatomic, strong, nullable) GTLRNetworkconnectivity_MulticloudDataTransferConfig_Services *services; + +/** + * Output only. The Google-generated UUID for the MulticloudDataTransferConfig. + * This value is unique across all MulticloudDataTransferConfig resources. If a + * MulticloudDataTransferConfig is deleted and another with the same name is + * created, the new MulticloudDataTransferConfig is assigned a different uid. + */ +@property(nonatomic, copy, nullable) NSString *uid; + +/** Output only. Time when the MulticloudDataTransferConfig was updated. */ +@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; + +@end + + +/** + * Optional. User-defined labels. + * + * @note This class is documented as having more properties of NSString. Use @c + * -additionalJSONKeys and @c -additionalPropertyForName: to get the list + * of properties and then fetch them; or @c -additionalProperties to + * fetch them all at once. + */ +@interface GTLRNetworkconnectivity_MulticloudDataTransferConfig_Labels : GTLRObject +@end + + +/** + * Optional. This map services to either their current or planned states. + * Service names are keys, and the associated values describe the service's + * state. If a state change is expected, the value will be the list of ADDING + * or DELETING states depending on the actions taken. Example: "services": { + * "big-query": { "states": [ { "state": "ADDING", "effective_time": + * "2024-12-12T08:00:00Z" }, ] }, "cloud-storage": { "states": [ { "state": + * "ACTIVE", } ] } } + * + * @note This class is documented as having more properties of + * GTLRNetworkconnectivity_StateTimeline. Use @c -additionalJSONKeys and + * @c -additionalPropertyForName: to get the list of properties and then + * fetch them; or @c -additionalProperties to fetch them all at once. + */ +@interface GTLRNetworkconnectivity_MulticloudDataTransferConfig_Services : GTLRObject +@end + + +/** + * The supported service for Multicloud Data Transfer. + */ +@interface GTLRNetworkconnectivity_MulticloudDataTransferSupportedService : GTLRObject + +/** Identifier. The name of the service. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** Output only. The network service tiers supported for the service. */ +@property(nonatomic, strong, nullable) NSArray *serviceConfigs; + +@end + + /** * A route next hop that leads to an interconnect attachment resource. */ @@ -4623,6 +5035,44 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivity_Warnings_Code_Warnin @end +/** + * Specifies the Multicloud Data Transfer supported services configuration. + * This includes either the network tier or the request endpoint. If end of + * support for multicloud data transfer is planned for a service's network tier + * or request endpoint, the end time will be provided. + */ +@interface GTLRNetworkconnectivity_ServiceConfig : GTLRObject + +/** + * Output only. The eligibility criteria for the service. The user has to meet + * the eligibility criteria specified here for the service to qualify for + * multicloud data transfer. + * + * Likely values: + * @arg @c kGTLRNetworkconnectivity_ServiceConfig_EligibilityCriteria_EligibilityCriteriaUnspecified + * An invalid eligibility criteria as the default case. (Value: + * "ELIGIBILITY_CRITERIA_UNSPECIFIED") + * @arg @c kGTLRNetworkconnectivity_ServiceConfig_EligibilityCriteria_NetworkServiceTierPremiumOnly + * The service is eligible for multicloud data transfer only for the + * premium network tier. (Value: "NETWORK_SERVICE_TIER_PREMIUM_ONLY") + * @arg @c kGTLRNetworkconnectivity_ServiceConfig_EligibilityCriteria_NetworkServiceTierStandardOnly + * The service is eligible for multicloud data transfer only for the + * standard network tier. (Value: "NETWORK_SERVICE_TIER_STANDARD_ONLY") + * @arg @c kGTLRNetworkconnectivity_ServiceConfig_EligibilityCriteria_RequestEndpointRegionalEndpointOnly + * The service is eligible for multicloud data transfer only for the + * regional endpoint. (Value: "REQUEST_ENDPOINT_REGIONAL_ENDPOINT_ONLY") + */ +@property(nonatomic, copy, nullable) NSString *eligibilityCriteria; + +/** + * Output only. The eligibility criteria support end time. If the end time is + * not specified, no planned end time is available. + */ +@property(nonatomic, strong, nullable) GTLRDateTime *supportEndTime; + +@end + + /** * The ServiceConnectionMap resource. */ @@ -5194,6 +5644,44 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivity_Warnings_Code_Warnin @end +/** + * The state and activation time details of the resource state. + */ +@interface GTLRNetworkconnectivity_StateMetadata : GTLRObject + +/** + * Output only. This field will be accompanied only with transient states + * (PENDING_ADD, PENDING_DELETE, PENDING_SUSPENSION) and denotes the time when + * the transient state of the resource will be effective. For instance, if the + * state is "ADDING," this field will show the time the resource transitions to + * "ACTIVE." Similarly, if the state is "PENDING_DELETE," it will show the + * deletion time. + */ +@property(nonatomic, strong, nullable) GTLRDateTime *effectiveTime; + +/** + * Output only. The state of the resource. + * + * Likely values: + * @arg @c kGTLRNetworkconnectivity_StateMetadata_State_Active The resource + * is in use. (Value: "ACTIVE") + * @arg @c kGTLRNetworkconnectivity_StateMetadata_State_Adding The resource + * is being added. (Value: "ADDING") + * @arg @c kGTLRNetworkconnectivity_StateMetadata_State_Deleting The resource + * is being deleted. (Value: "DELETING") + * @arg @c kGTLRNetworkconnectivity_StateMetadata_State_StateUnspecified An + * invalid state as the default case. (Value: "STATE_UNSPECIFIED") + * @arg @c kGTLRNetworkconnectivity_StateMetadata_State_Suspended The + * resource is not in use for billing and is suspended. (Value: + * "SUSPENDED") + * @arg @c kGTLRNetworkconnectivity_StateMetadata_State_Suspending The + * resource is being suspended. (Value: "SUSPENDING") + */ +@property(nonatomic, copy, nullable) NSString *state; + +@end + + /** * The reason a spoke is inactive. */ @@ -5235,6 +5723,19 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivity_Warnings_Code_Warnin @end +/** + * The timeline of pending states for a resource. + */ +@interface GTLRNetworkconnectivity_StateTimeline : GTLRObject + +/** + * Output only. The state and activation time details of the resource state. + */ +@property(nonatomic, strong, nullable) NSArray *states; + +@end + + /** * Request message for `TestIamPermissions` method. */ diff --git a/Sources/GeneratedServices/Networkconnectivity/Public/GoogleAPIClientForREST/GTLRNetworkconnectivityQuery.h b/Sources/GeneratedServices/Networkconnectivity/Public/GoogleAPIClientForREST/GTLRNetworkconnectivityQuery.h index e5b78c50d..0d78f5cb1 100644 --- a/Sources/GeneratedServices/Networkconnectivity/Public/GoogleAPIClientForREST/GTLRNetworkconnectivityQuery.h +++ b/Sources/GeneratedServices/Networkconnectivity/Public/GoogleAPIClientForREST/GTLRNetworkconnectivityQuery.h @@ -1766,8 +1766,8 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivityViewSpokeViewUnspecif @interface GTLRNetworkconnectivityQuery_ProjectsLocationsList : GTLRNetworkconnectivityQuery /** - * Optional. A list of extra location types that should be used as conditions - * for controlling the visibility of the locations. + * Optional. Do not use this field. It is unsupported and is ignored unless + * explicitly documented otherwise. This is primarily for internal usage. */ @property(nonatomic, strong, nullable) NSArray *extraLocationTypes; @@ -1810,6 +1810,549 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivityViewSpokeViewUnspecif @end +/** + * Creates a MulticloudDataTransferConfig in a given project and location. + * + * Method: networkconnectivity.projects.locations.multicloudDataTransferConfigs.create + * + * Authorization scope(s): + * @c kGTLRAuthScopeNetworkconnectivityCloudPlatform + */ +@interface GTLRNetworkconnectivityQuery_ProjectsLocationsMulticloudDataTransferConfigsCreate : GTLRNetworkconnectivityQuery + +/** + * Required. The ID to use for the MulticloudDataTransferConfig, which will + * become the final component of the MulticloudDataTransferConfig's resource + * name. + */ +@property(nonatomic, copy, nullable) NSString *multicloudDataTransferConfigId; + +/** Required. The parent resource's name */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Optional. An optional request ID to identify requests. Specify a unique + * request ID so that if you must retry your request, the server will know to + * ignore the request if it has already been completed. The server will + * guarantee that for at least 60 minutes since the first request. For example, + * consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can + * check if original operation with the same request ID was received, and if + * so, will ignore the second request. This prevents clients from accidentally + * creating duplicate MulticloudDataTransferConfigs. The request ID must be a + * valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ +@property(nonatomic, copy, nullable) NSString *requestId; + +/** + * Fetches a @c GTLRNetworkconnectivity_GoogleLongrunningOperation. + * + * Creates a MulticloudDataTransferConfig in a given project and location. + * + * @param object The @c GTLRNetworkconnectivity_MulticloudDataTransferConfig to + * include in the query. + * @param parent Required. The parent resource's name + * + * @return GTLRNetworkconnectivityQuery_ProjectsLocationsMulticloudDataTransferConfigsCreate + */ ++ (instancetype)queryWithObject:(GTLRNetworkconnectivity_MulticloudDataTransferConfig *)object + parent:(NSString *)parent; + +@end + +/** + * Deletes a single MulticloudDataTransferConfig. + * + * Method: networkconnectivity.projects.locations.multicloudDataTransferConfigs.delete + * + * Authorization scope(s): + * @c kGTLRAuthScopeNetworkconnectivityCloudPlatform + */ +@interface GTLRNetworkconnectivityQuery_ProjectsLocationsMulticloudDataTransferConfigsDelete : GTLRNetworkconnectivityQuery + +/** + * Optional. The etag is computed by the server, and may be sent on update and + * delete requests to ensure the client has an up-to-date value before + * proceeding. + */ +@property(nonatomic, copy, nullable) NSString *ETag; + +/** + * Required. The name of the MulticloudDataTransferConfig resource to delete. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Optional. An optional request ID to identify requests. Specify a unique + * request ID so that if you must retry your request, the server will know to + * ignore the request if it has already been completed. The server will + * guarantee that for at least 60 minutes since the first request. For example, + * consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can + * check if original operation with the same request ID was received, and if + * so, will ignore the second request. This prevents clients from accidentally + * creating duplicate MulticloudDataTransferConfigs. The request ID must be a + * valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ +@property(nonatomic, copy, nullable) NSString *requestId; + +/** + * Fetches a @c GTLRNetworkconnectivity_GoogleLongrunningOperation. + * + * Deletes a single MulticloudDataTransferConfig. + * + * @param name Required. The name of the MulticloudDataTransferConfig resource + * to delete. + * + * @return GTLRNetworkconnectivityQuery_ProjectsLocationsMulticloudDataTransferConfigsDelete + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Creates a Destination in a given project and location. + * + * Method: networkconnectivity.projects.locations.multicloudDataTransferConfigs.destinations.create + * + * Authorization scope(s): + * @c kGTLRAuthScopeNetworkconnectivityCloudPlatform + */ +@interface GTLRNetworkconnectivityQuery_ProjectsLocationsMulticloudDataTransferConfigsDestinationsCreate : GTLRNetworkconnectivityQuery + +/** + * Required. The ID to use for the Destination, which will become the final + * component of the Destination's resource name. + */ +@property(nonatomic, copy, nullable) NSString *destinationId; + +/** Required. The parent resource's name */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Optional. An optional request ID to identify requests. Specify a unique + * request ID so that if you must retry your request, the server will know to + * ignore the request if it has already been completed. The server will + * guarantee that for at least 60 minutes since the first request. For example, + * consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can + * check if original operation with the same request ID was received, and if + * so, will ignore the second request. This prevents clients from accidentally + * creating duplicate Destinations. The request ID must be a valid UUID with + * the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ +@property(nonatomic, copy, nullable) NSString *requestId; + +/** + * Fetches a @c GTLRNetworkconnectivity_GoogleLongrunningOperation. + * + * Creates a Destination in a given project and location. + * + * @param object The @c GTLRNetworkconnectivity_Destination to include in the + * query. + * @param parent Required. The parent resource's name + * + * @return GTLRNetworkconnectivityQuery_ProjectsLocationsMulticloudDataTransferConfigsDestinationsCreate + */ ++ (instancetype)queryWithObject:(GTLRNetworkconnectivity_Destination *)object + parent:(NSString *)parent; + +@end + +/** + * Deletes a single Destination. + * + * Method: networkconnectivity.projects.locations.multicloudDataTransferConfigs.destinations.delete + * + * Authorization scope(s): + * @c kGTLRAuthScopeNetworkconnectivityCloudPlatform + */ +@interface GTLRNetworkconnectivityQuery_ProjectsLocationsMulticloudDataTransferConfigsDestinationsDelete : GTLRNetworkconnectivityQuery + +/** + * Optional. The etag is computed by the server, and may be sent on update and + * delete requests to ensure the client has an up-to-date value before + * proceeding. + */ +@property(nonatomic, copy, nullable) NSString *ETag; + +/** Required. The name of the Destination resource to delete. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Optional. An optional request ID to identify requests. Specify a unique + * request ID so that if you must retry your request, the server will know to + * ignore the request if it has already been completed. The server will + * guarantee that for at least 60 minutes since the first request. For example, + * consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can + * check if original operation with the same request ID was received, and if + * so, will ignore the second request. The request ID must be a valid UUID with + * the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ +@property(nonatomic, copy, nullable) NSString *requestId; + +/** + * Fetches a @c GTLRNetworkconnectivity_GoogleLongrunningOperation. + * + * Deletes a single Destination. + * + * @param name Required. The name of the Destination resource to delete. + * + * @return GTLRNetworkconnectivityQuery_ProjectsLocationsMulticloudDataTransferConfigsDestinationsDelete + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Gets details of a single Destination. + * + * Method: networkconnectivity.projects.locations.multicloudDataTransferConfigs.destinations.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeNetworkconnectivityCloudPlatform + */ +@interface GTLRNetworkconnectivityQuery_ProjectsLocationsMulticloudDataTransferConfigsDestinationsGet : GTLRNetworkconnectivityQuery + +/** Required. Name of the Destination to get. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRNetworkconnectivity_Destination. + * + * Gets details of a single Destination. + * + * @param name Required. Name of the Destination to get. + * + * @return GTLRNetworkconnectivityQuery_ProjectsLocationsMulticloudDataTransferConfigsDestinationsGet + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Lists Destinations in a given project and location. + * + * Method: networkconnectivity.projects.locations.multicloudDataTransferConfigs.destinations.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeNetworkconnectivityCloudPlatform + */ +@interface GTLRNetworkconnectivityQuery_ProjectsLocationsMulticloudDataTransferConfigsDestinationsList : GTLRNetworkconnectivityQuery + +/** + * Optional. A filter expression that filters the results listed in the + * response. + */ +@property(nonatomic, copy, nullable) NSString *filter; + +/** Optional. Sort the results by a certain order. */ +@property(nonatomic, copy, nullable) NSString *orderBy; + +/** + * Optional. The maximum number of results per page that should be returned. + */ +@property(nonatomic, assign) NSInteger pageSize; + +/** Optional. The page token. */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** Required. The parent resource's name */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Optional. If true, allow partial responses for multi-regional Aggregated + * List requests. + */ +@property(nonatomic, assign) BOOL returnPartialSuccess; + +/** + * Fetches a @c GTLRNetworkconnectivity_ListDestinationsResponse. + * + * Lists Destinations in a given project and location. + * + * @param parent Required. The parent resource's name + * + * @return GTLRNetworkconnectivityQuery_ProjectsLocationsMulticloudDataTransferConfigsDestinationsList + * + * @note Automatic pagination will be done when @c shouldFetchNextPages is + * enabled. See @c shouldFetchNextPages on @c GTLRService for more + * information. + */ ++ (instancetype)queryWithParent:(NSString *)parent; + +@end + +/** + * Updates a Destination in a given project and location. + * + * Method: networkconnectivity.projects.locations.multicloudDataTransferConfigs.destinations.patch + * + * Authorization scope(s): + * @c kGTLRAuthScopeNetworkconnectivityCloudPlatform + */ +@interface GTLRNetworkconnectivityQuery_ProjectsLocationsMulticloudDataTransferConfigsDestinationsPatch : GTLRNetworkconnectivityQuery + +/** + * Identifier. The name of the Destination resource. Format: + * `projects/{project}/locations/{location}/multicloudDataTransferConfigs/{multicloud_data_transfer_config}/destinations/{destination}`. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Optional. An optional request ID to identify requests. Specify a unique + * request ID so that if you must retry your request, the server will know to + * ignore the request if it has already been completed. The server will + * guarantee that for at least 60 minutes since the first request. For example, + * consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can + * check if original operation with the same request ID was received, and if + * so, will ignore the second request. The request ID must be a valid UUID with + * the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ +@property(nonatomic, copy, nullable) NSString *requestId; + +/** + * Optional. Field mask is used to specify the fields to be overwritten in the + * Destination resource by the update. The fields specified in the update_mask + * are relative to the resource, not the full request. A field will be + * overwritten if it is in the mask. If the user does not provide a mask then + * all fields will be overwritten. + * + * String format is a comma-separated list of fields. + */ +@property(nonatomic, copy, nullable) NSString *updateMask; + +/** + * Fetches a @c GTLRNetworkconnectivity_GoogleLongrunningOperation. + * + * Updates a Destination in a given project and location. + * + * @param object The @c GTLRNetworkconnectivity_Destination to include in the + * query. + * @param name Identifier. The name of the Destination resource. Format: + * `projects/{project}/locations/{location}/multicloudDataTransferConfigs/{multicloud_data_transfer_config}/destinations/{destination}`. + * + * @return GTLRNetworkconnectivityQuery_ProjectsLocationsMulticloudDataTransferConfigsDestinationsPatch + */ ++ (instancetype)queryWithObject:(GTLRNetworkconnectivity_Destination *)object + name:(NSString *)name; + +@end + +/** + * Gets details of a single MulticloudDataTransferConfig. + * + * Method: networkconnectivity.projects.locations.multicloudDataTransferConfigs.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeNetworkconnectivityCloudPlatform + */ +@interface GTLRNetworkconnectivityQuery_ProjectsLocationsMulticloudDataTransferConfigsGet : GTLRNetworkconnectivityQuery + +/** Required. Name of the MulticloudDataTransferConfig to get. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRNetworkconnectivity_MulticloudDataTransferConfig. + * + * Gets details of a single MulticloudDataTransferConfig. + * + * @param name Required. Name of the MulticloudDataTransferConfig to get. + * + * @return GTLRNetworkconnectivityQuery_ProjectsLocationsMulticloudDataTransferConfigsGet + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Lists MulticloudDataTransferConfigs in a given project and location. + * + * Method: networkconnectivity.projects.locations.multicloudDataTransferConfigs.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeNetworkconnectivityCloudPlatform + */ +@interface GTLRNetworkconnectivityQuery_ProjectsLocationsMulticloudDataTransferConfigsList : GTLRNetworkconnectivityQuery + +/** + * Optional. A filter expression that filters the results listed in the + * response. + */ +@property(nonatomic, copy, nullable) NSString *filter; + +/** Optional. Sort the results by a certain order. */ +@property(nonatomic, copy, nullable) NSString *orderBy; + +/** + * Optional. The maximum number of results per page that should be returned. + */ +@property(nonatomic, assign) NSInteger pageSize; + +/** Optional. The page token. */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** Required. The parent resource's name */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Optional. If true, allow partial responses for multi-regional Aggregated + * List requests. + */ +@property(nonatomic, assign) BOOL returnPartialSuccess; + +/** + * Fetches a @c + * GTLRNetworkconnectivity_ListMulticloudDataTransferConfigsResponse. + * + * Lists MulticloudDataTransferConfigs in a given project and location. + * + * @param parent Required. The parent resource's name + * + * @return GTLRNetworkconnectivityQuery_ProjectsLocationsMulticloudDataTransferConfigsList + * + * @note Automatic pagination will be done when @c shouldFetchNextPages is + * enabled. See @c shouldFetchNextPages on @c GTLRService for more + * information. + */ ++ (instancetype)queryWithParent:(NSString *)parent; + +@end + +/** + * Updates a MulticloudDataTransferConfig in a given project and location. + * + * Method: networkconnectivity.projects.locations.multicloudDataTransferConfigs.patch + * + * Authorization scope(s): + * @c kGTLRAuthScopeNetworkconnectivityCloudPlatform + */ +@interface GTLRNetworkconnectivityQuery_ProjectsLocationsMulticloudDataTransferConfigsPatch : GTLRNetworkconnectivityQuery + +/** + * Identifier. The name of the MulticloudDataTransferConfig resource. Format: + * `projects/{project}/locations/{location}/multicloudDataTransferConfigs/{multicloud_data_transfer_config}`. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Optional. An optional request ID to identify requests. Specify a unique + * request ID so that if you must retry your request, the server will know to + * ignore the request if it has already been completed. The server will + * guarantee that for at least 60 minutes after the first request. For example, + * consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can + * check if original operation with the same request ID was received, and if + * so, will ignore the second request. This prevents clients from accidentally + * creating duplicate MulticloudDataTransferConfigs. The request ID must be a + * valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ +@property(nonatomic, copy, nullable) NSString *requestId; + +/** + * Optional. Field mask is used to specify the fields to be overwritten in the + * MulticloudDataTransferConfig resource by the update. The fields specified in + * the update_mask are relative to the resource, not the full request. A field + * will be overwritten if it is in the mask. If the user does not provide a + * mask then all fields will be overwritten. + * + * String format is a comma-separated list of fields. + */ +@property(nonatomic, copy, nullable) NSString *updateMask; + +/** + * Fetches a @c GTLRNetworkconnectivity_GoogleLongrunningOperation. + * + * Updates a MulticloudDataTransferConfig in a given project and location. + * + * @param object The @c GTLRNetworkconnectivity_MulticloudDataTransferConfig to + * include in the query. + * @param name Identifier. The name of the MulticloudDataTransferConfig + * resource. Format: + * `projects/{project}/locations/{location}/multicloudDataTransferConfigs/{multicloud_data_transfer_config}`. + * + * @return GTLRNetworkconnectivityQuery_ProjectsLocationsMulticloudDataTransferConfigsPatch + */ ++ (instancetype)queryWithObject:(GTLRNetworkconnectivity_MulticloudDataTransferConfig *)object + name:(NSString *)name; + +@end + +/** + * Gets details of a single MulticloudDataTransferSupportedServices. + * + * Method: networkconnectivity.projects.locations.multicloudDataTransferSupportedServices.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeNetworkconnectivityCloudPlatform + */ +@interface GTLRNetworkconnectivityQuery_ProjectsLocationsMulticloudDataTransferSupportedServicesGet : GTLRNetworkconnectivityQuery + +/** Required. The name of the service. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRNetworkconnectivity_MulticloudDataTransferSupportedService. + * + * Gets details of a single MulticloudDataTransferSupportedServices. + * + * @param name Required. The name of the service. + * + * @return GTLRNetworkconnectivityQuery_ProjectsLocationsMulticloudDataTransferSupportedServicesGet + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Lists the supported services for Multicloud Data Transfer. This is a + * passthrough method. + * + * Method: networkconnectivity.projects.locations.multicloudDataTransferSupportedServices.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeNetworkconnectivityCloudPlatform + */ +@interface GTLRNetworkconnectivityQuery_ProjectsLocationsMulticloudDataTransferSupportedServicesList : GTLRNetworkconnectivityQuery + +/** + * Optional. The maximum number of results per page that should be returned. + */ +@property(nonatomic, assign) NSInteger pageSize; + +/** Optional. The page token. */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** Required. The parent resource's name */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c + * GTLRNetworkconnectivity_ListMulticloudDataTransferSupportedServicesResponse. + * + * Lists the supported services for Multicloud Data Transfer. This is a + * passthrough method. + * + * @param parent Required. The parent resource's name + * + * @return GTLRNetworkconnectivityQuery_ProjectsLocationsMulticloudDataTransferSupportedServicesList + * + * @note Automatic pagination will be done when @c shouldFetchNextPages is + * enabled. See @c shouldFetchNextPages on @c GTLRService for more + * information. + */ ++ (instancetype)queryWithParent:(NSString *)parent; + +@end + /** * Starts asynchronous cancellation on a long-running operation. The server * makes a best effort to cancel the operation, but success is not guaranteed. diff --git a/Sources/GeneratedServices/OnDemandScanning/GTLROnDemandScanningObjects.m b/Sources/GeneratedServices/OnDemandScanning/GTLROnDemandScanningObjects.m index 01ccfbce9..a6cff79bd 100644 --- a/Sources/GeneratedServices/OnDemandScanning/GTLROnDemandScanningObjects.m +++ b/Sources/GeneratedServices/OnDemandScanning/GTLROnDemandScanningObjects.m @@ -493,6 +493,16 @@ @implementation GTLROnDemandScanning_Category @end +// ---------------------------------------------------------------------------- +// +// GTLROnDemandScanning_CISAKnownExploitedVulnerabilities +// + +@implementation GTLROnDemandScanning_CISAKnownExploitedVulnerabilities +@dynamic knownRansomwareCampaignUse; +@end + + // ---------------------------------------------------------------------------- // // GTLROnDemandScanning_CloudRepoSourceContext @@ -663,6 +673,16 @@ @implementation GTLROnDemandScanning_EnvelopeSignature @end +// ---------------------------------------------------------------------------- +// +// GTLROnDemandScanning_ExploitPredictionScoringSystem +// + +@implementation GTLROnDemandScanning_ExploitPredictionScoringSystem +@dynamic percentile, score; +@end + + // ---------------------------------------------------------------------------- // // GTLROnDemandScanning_File @@ -1498,6 +1518,16 @@ + (Class)classForAdditionalProperties { @end +// ---------------------------------------------------------------------------- +// +// GTLROnDemandScanning_Risk +// + +@implementation GTLROnDemandScanning_Risk +@dynamic cisaKev, epss; +@end + + // ---------------------------------------------------------------------------- // // GTLROnDemandScanning_RunDetails @@ -1965,7 +1995,7 @@ @implementation GTLROnDemandScanning_VexAssessment @implementation GTLROnDemandScanning_VulnerabilityOccurrence @dynamic cvssScore, cvssV2, cvssv3, cvssVersion, effectiveSeverity, extraDetails, fixAvailable, longDescription, packageIssue, relatedUrls, - severity, shortDescription, type, vexAssessment; + risk, severity, shortDescription, type, vexAssessment; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ diff --git a/Sources/GeneratedServices/OnDemandScanning/Public/GoogleAPIClientForREST/GTLROnDemandScanningObjects.h b/Sources/GeneratedServices/OnDemandScanning/Public/GoogleAPIClientForREST/GTLROnDemandScanningObjects.h index 7ec93d041..643b94814 100644 --- a/Sources/GeneratedServices/OnDemandScanning/Public/GoogleAPIClientForREST/GTLROnDemandScanningObjects.h +++ b/Sources/GeneratedServices/OnDemandScanning/Public/GoogleAPIClientForREST/GTLROnDemandScanningObjects.h @@ -29,6 +29,7 @@ @class GTLROnDemandScanning_BuildProvenance; @class GTLROnDemandScanning_BuildProvenance_BuildOptions; @class GTLROnDemandScanning_Category; +@class GTLROnDemandScanning_CISAKnownExploitedVulnerabilities; @class GTLROnDemandScanning_CloudRepoSourceContext; @class GTLROnDemandScanning_Command; @class GTLROnDemandScanning_Completeness; @@ -40,6 +41,7 @@ @class GTLROnDemandScanning_DSSEAttestationOccurrence; @class GTLROnDemandScanning_Envelope; @class GTLROnDemandScanning_EnvelopeSignature; +@class GTLROnDemandScanning_ExploitPredictionScoringSystem; @class GTLROnDemandScanning_File; @class GTLROnDemandScanning_File_Digest; @class GTLROnDemandScanning_FileHashes; @@ -98,6 +100,7 @@ @class GTLROnDemandScanning_ResourceDescriptor; @class GTLROnDemandScanning_ResourceDescriptor_Annotations; @class GTLROnDemandScanning_ResourceDescriptor_Digest; +@class GTLROnDemandScanning_Risk; @class GTLROnDemandScanning_RunDetails; @class GTLROnDemandScanning_SbomReferenceIntotoPayload; @class GTLROnDemandScanning_SbomReferenceIntotoPredicate; @@ -1354,6 +1357,20 @@ FOUNDATION_EXTERN NSString * const kGTLROnDemandScanning_VulnerabilityOccurrence @end +/** + * GTLROnDemandScanning_CISAKnownExploitedVulnerabilities + */ +@interface GTLROnDemandScanning_CISAKnownExploitedVulnerabilities : GTLRObject + +/** + * Whether the vulnerability is known to have been leveraged as part of a + * ransomware campaign. + */ +@property(nonatomic, copy, nullable) NSString *knownRansomwareCampaignUse; + +@end + + /** * A CloudRepoSourceContext denotes a particular revision in a Google Cloud * Source Repo. @@ -1849,6 +1866,30 @@ FOUNDATION_EXTERN NSString * const kGTLROnDemandScanning_VulnerabilityOccurrence @end +/** + * GTLROnDemandScanning_ExploitPredictionScoringSystem + */ +@interface GTLROnDemandScanning_ExploitPredictionScoringSystem : GTLRObject + +/** + * The percentile of the current score, the proportion of all scored + * vulnerabilities with the same or a lower EPSS score + * + * Uses NSNumber of doubleValue. + */ +@property(nonatomic, strong, nullable) NSNumber *percentile; + +/** + * The EPSS score representing the probability [0-1] of exploitation in the + * wild in the next 30 days + * + * Uses NSNumber of doubleValue. + */ +@property(nonatomic, strong, nullable) NSNumber *score; + +@end + + /** * GTLROnDemandScanning_File */ @@ -3314,6 +3355,26 @@ FOUNDATION_EXTERN NSString * const kGTLROnDemandScanning_VulnerabilityOccurrence @end +/** + * GTLROnDemandScanning_Risk + */ +@interface GTLROnDemandScanning_Risk : GTLRObject + +/** + * CISA maintains the authoritative source of vulnerabilities that have been + * exploited in the wild. + */ +@property(nonatomic, strong, nullable) GTLROnDemandScanning_CISAKnownExploitedVulnerabilities *cisaKev; + +/** + * The Exploit Prediction Scoring System (EPSS) estimates the likelihood + * (probability) that a software vulnerability will be exploited in the wild. + */ +@property(nonatomic, strong, nullable) GTLROnDemandScanning_ExploitPredictionScoringSystem *epss; + +@end + + /** * GTLROnDemandScanning_RunDetails */ @@ -4227,6 +4288,9 @@ FOUNDATION_EXTERN NSString * const kGTLROnDemandScanning_VulnerabilityOccurrence /** Output only. URLs related to this vulnerability. */ @property(nonatomic, strong, nullable) NSArray *relatedUrls; +/** Risk information about the vulnerability, such as CISA, EPSS, etc. */ +@property(nonatomic, strong, nullable) GTLROnDemandScanning_Risk *risk; + /** * Output only. The note provider assigned severity of this vulnerability. * diff --git a/Sources/GeneratedServices/OracleDatabase/Public/GoogleAPIClientForREST/GTLROracleDatabaseQuery.h b/Sources/GeneratedServices/OracleDatabase/Public/GoogleAPIClientForREST/GTLROracleDatabaseQuery.h index 2b4e383a6..f1e4a744d 100644 --- a/Sources/GeneratedServices/OracleDatabase/Public/GoogleAPIClientForREST/GTLROracleDatabaseQuery.h +++ b/Sources/GeneratedServices/OracleDatabase/Public/GoogleAPIClientForREST/GTLROracleDatabaseQuery.h @@ -1208,8 +1208,8 @@ NS_ASSUME_NONNULL_BEGIN @interface GTLROracleDatabaseQuery_ProjectsLocationsList : GTLROracleDatabaseQuery /** - * Optional. A list of extra location types that should be used as conditions - * for controlling the visibility of the locations. + * Optional. Do not use this field. It is unsupported and is ignored unless + * explicitly documented otherwise. This is primarily for internal usage. */ @property(nonatomic, strong, nullable) NSArray *extraLocationTypes; diff --git a/Sources/GeneratedServices/ParameterManager/Public/GoogleAPIClientForREST/GTLRParameterManagerQuery.h b/Sources/GeneratedServices/ParameterManager/Public/GoogleAPIClientForREST/GTLRParameterManagerQuery.h index 439f2fa4b..ab4b621d5 100644 --- a/Sources/GeneratedServices/ParameterManager/Public/GoogleAPIClientForREST/GTLRParameterManagerQuery.h +++ b/Sources/GeneratedServices/ParameterManager/Public/GoogleAPIClientForREST/GTLRParameterManagerQuery.h @@ -103,8 +103,8 @@ FOUNDATION_EXTERN NSString * const kGTLRParameterManagerViewViewUnspecified; @interface GTLRParameterManagerQuery_ProjectsLocationsList : GTLRParameterManagerQuery /** - * Optional. A list of extra location types that should be used as conditions - * for controlling the visibility of the locations. + * Optional. Do not use this field. It is unsupported and is ignored unless + * explicitly documented otherwise. This is primarily for internal usage. */ @property(nonatomic, strong, nullable) NSArray *extraLocationTypes; diff --git a/Sources/GeneratedServices/PaymentsResellerSubscription/GTLRPaymentsResellerSubscriptionObjects.m b/Sources/GeneratedServices/PaymentsResellerSubscription/GTLRPaymentsResellerSubscriptionObjects.m index 1581498a2..735dd7f7f 100644 --- a/Sources/GeneratedServices/PaymentsResellerSubscription/GTLRPaymentsResellerSubscriptionObjects.m +++ b/Sources/GeneratedServices/PaymentsResellerSubscription/GTLRPaymentsResellerSubscriptionObjects.m @@ -11,184 +11,184 @@ // ---------------------------------------------------------------------------- // Constants -// GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1CancelSubscriptionRequest.cancellationReason -NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1CancelSubscriptionRequest_CancellationReason_CancellationReasonAccidentalPurchase = @"CANCELLATION_REASON_ACCIDENTAL_PURCHASE"; -NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1CancelSubscriptionRequest_CancellationReason_CancellationReasonAccountClosed = @"CANCELLATION_REASON_ACCOUNT_CLOSED"; -NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1CancelSubscriptionRequest_CancellationReason_CancellationReasonFraud = @"CANCELLATION_REASON_FRAUD"; -NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1CancelSubscriptionRequest_CancellationReason_CancellationReasonOther = @"CANCELLATION_REASON_OTHER"; -NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1CancelSubscriptionRequest_CancellationReason_CancellationReasonPastDue = @"CANCELLATION_REASON_PAST_DUE"; -NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1CancelSubscriptionRequest_CancellationReason_CancellationReasonRemorse = @"CANCELLATION_REASON_REMORSE"; -NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1CancelSubscriptionRequest_CancellationReason_CancellationReasonSystemCancel = @"CANCELLATION_REASON_SYSTEM_CANCEL"; -NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1CancelSubscriptionRequest_CancellationReason_CancellationReasonSystemError = @"CANCELLATION_REASON_SYSTEM_ERROR"; -NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1CancelSubscriptionRequest_CancellationReason_CancellationReasonUnspecified = @"CANCELLATION_REASON_UNSPECIFIED"; -NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1CancelSubscriptionRequest_CancellationReason_CancellationReasonUpgradeDowngrade = @"CANCELLATION_REASON_UPGRADE_DOWNGRADE"; -NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1CancelSubscriptionRequest_CancellationReason_CancellationReasonUserDelinquency = @"CANCELLATION_REASON_USER_DELINQUENCY"; - -// GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Duration.unit -NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Duration_Unit_Day = @"DAY"; -NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Duration_Unit_Hour = @"HOUR"; -NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Duration_Unit_Month = @"MONTH"; -NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Duration_Unit_UnitUnspecified = @"UNIT_UNSPECIFIED"; - -// GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1GoogleOnePayload.offering -NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1GoogleOnePayload_Offering_OfferingHardBundle = @"OFFERING_HARD_BUNDLE"; -NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1GoogleOnePayload_Offering_OfferingSoftBundle = @"OFFERING_SOFT_BUNDLE"; -NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1GoogleOnePayload_Offering_OfferingUnspecified = @"OFFERING_UNSPECIFIED"; -NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1GoogleOnePayload_Offering_OfferingVasBundle = @"OFFERING_VAS_BUNDLE"; -NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1GoogleOnePayload_Offering_OfferingVasStandalone = @"OFFERING_VAS_STANDALONE"; - -// GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1GoogleOnePayload.salesChannel -NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1GoogleOnePayload_SalesChannel_ChannelOnlineAndroidApp = @"CHANNEL_ONLINE_ANDROID_APP"; -NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1GoogleOnePayload_SalesChannel_ChannelOnlineIosApp = @"CHANNEL_ONLINE_IOS_APP"; -NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1GoogleOnePayload_SalesChannel_ChannelOnlineWeb = @"CHANNEL_ONLINE_WEB"; -NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1GoogleOnePayload_SalesChannel_ChannelRetail = @"CHANNEL_RETAIL"; -NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1GoogleOnePayload_SalesChannel_ChannelUnspecified = @"CHANNEL_UNSPECIFIED"; - -// GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Product.productType -NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Product_ProductType_ProductTypeBundleSubscription = @"PRODUCT_TYPE_BUNDLE_SUBSCRIPTION"; -NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Product_ProductType_ProductTypeSubscription = @"PRODUCT_TYPE_SUBSCRIPTION"; -NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Product_ProductType_ProductTypeUnspecified = @"PRODUCT_TYPE_UNSPECIFIED"; - -// GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Promotion.promotionType -NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Promotion_PromotionType_PromotionTypeFreeTrial = @"PROMOTION_TYPE_FREE_TRIAL"; -NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Promotion_PromotionType_PromotionTypeIntroductoryPricing = @"PROMOTION_TYPE_INTRODUCTORY_PRICING"; -NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Promotion_PromotionType_PromotionTypeUnspecified = @"PROMOTION_TYPE_UNSPECIFIED"; - -// GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Subscription.processingState -NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Subscription_ProcessingState_ProcessingStateCancelling = @"PROCESSING_STATE_CANCELLING"; -NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Subscription_ProcessingState_ProcessingStateRecurring = @"PROCESSING_STATE_RECURRING"; -NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Subscription_ProcessingState_ProcessingStateUnspecified = @"PROCESSING_STATE_UNSPECIFIED"; - -// GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Subscription.state -NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Subscription_State_StateActive = @"STATE_ACTIVE"; -NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Subscription_State_StateCancelAtEndOfCycle = @"STATE_CANCEL_AT_END_OF_CYCLE"; -NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Subscription_State_StateCancelled = @"STATE_CANCELLED"; -NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Subscription_State_StateCreated = @"STATE_CREATED"; -NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Subscription_State_StateInGracePeriod = @"STATE_IN_GRACE_PERIOD"; -NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Subscription_State_StateSuspended = @"STATE_SUSPENDED"; -NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Subscription_State_StateUnspecified = @"STATE_UNSPECIFIED"; - -// GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionCancellationDetails.reason -NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionCancellationDetails_Reason_CancellationReasonAccidentalPurchase = @"CANCELLATION_REASON_ACCIDENTAL_PURCHASE"; -NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionCancellationDetails_Reason_CancellationReasonAccountClosed = @"CANCELLATION_REASON_ACCOUNT_CLOSED"; -NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionCancellationDetails_Reason_CancellationReasonFraud = @"CANCELLATION_REASON_FRAUD"; -NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionCancellationDetails_Reason_CancellationReasonOther = @"CANCELLATION_REASON_OTHER"; -NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionCancellationDetails_Reason_CancellationReasonPastDue = @"CANCELLATION_REASON_PAST_DUE"; -NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionCancellationDetails_Reason_CancellationReasonRemorse = @"CANCELLATION_REASON_REMORSE"; -NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionCancellationDetails_Reason_CancellationReasonSystemCancel = @"CANCELLATION_REASON_SYSTEM_CANCEL"; -NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionCancellationDetails_Reason_CancellationReasonSystemError = @"CANCELLATION_REASON_SYSTEM_ERROR"; -NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionCancellationDetails_Reason_CancellationReasonUnspecified = @"CANCELLATION_REASON_UNSPECIFIED"; -NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionCancellationDetails_Reason_CancellationReasonUpgradeDowngrade = @"CANCELLATION_REASON_UPGRADE_DOWNGRADE"; -NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionCancellationDetails_Reason_CancellationReasonUserDelinquency = @"CANCELLATION_REASON_USER_DELINQUENCY"; - -// GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionLineItem.recurrenceType -NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionLineItem_RecurrenceType_LineItemRecurrenceTypeOneTime = @"LINE_ITEM_RECURRENCE_TYPE_ONE_TIME"; -NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionLineItem_RecurrenceType_LineItemRecurrenceTypePeriodic = @"LINE_ITEM_RECURRENCE_TYPE_PERIODIC"; -NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionLineItem_RecurrenceType_LineItemRecurrenceTypeUnspecified = @"LINE_ITEM_RECURRENCE_TYPE_UNSPECIFIED"; - -// GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionLineItem.state -NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionLineItem_State_LineItemStateActivating = @"LINE_ITEM_STATE_ACTIVATING"; -NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionLineItem_State_LineItemStateActive = @"LINE_ITEM_STATE_ACTIVE"; -NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionLineItem_State_LineItemStateDeactivating = @"LINE_ITEM_STATE_DEACTIVATING"; -NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionLineItem_State_LineItemStateInactive = @"LINE_ITEM_STATE_INACTIVE"; -NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionLineItem_State_LineItemStateNew = @"LINE_ITEM_STATE_NEW"; -NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionLineItem_State_LineItemStateOffCycleCharging = @"LINE_ITEM_STATE_OFF_CYCLE_CHARGING"; -NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionLineItem_State_LineItemStateUnspecified = @"LINE_ITEM_STATE_UNSPECIFIED"; -NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionLineItem_State_LineItemStateWaitingToDeactivate = @"LINE_ITEM_STATE_WAITING_TO_DEACTIVATE"; - -// GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionPromotionSpec.type -NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionPromotionSpec_Type_PromotionTypeFreeTrial = @"PROMOTION_TYPE_FREE_TRIAL"; -NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionPromotionSpec_Type_PromotionTypeIntroductoryPricing = @"PROMOTION_TYPE_INTRODUCTORY_PRICING"; -NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionPromotionSpec_Type_PromotionTypeUnspecified = @"PROMOTION_TYPE_UNSPECIFIED"; - -// GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionUpgradeDowngradeDetails.billingCycleSpec -NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionUpgradeDowngradeDetails_BillingCycleSpec_BillingCycleSpecAlignWithPreviousSubscription = @"BILLING_CYCLE_SPEC_ALIGN_WITH_PREVIOUS_SUBSCRIPTION"; -NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionUpgradeDowngradeDetails_BillingCycleSpec_BillingCycleSpecDeferredToNextRecurrence = @"BILLING_CYCLE_SPEC_DEFERRED_TO_NEXT_RECURRENCE"; -NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionUpgradeDowngradeDetails_BillingCycleSpec_BillingCycleSpecStartImmediately = @"BILLING_CYCLE_SPEC_START_IMMEDIATELY"; -NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionUpgradeDowngradeDetails_BillingCycleSpec_BillingCycleSpecUnspecified = @"BILLING_CYCLE_SPEC_UNSPECIFIED"; - -// GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1YoutubePayload.partnerPlanType -NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1YoutubePayload_PartnerPlanType_PartnerPlanTypeHardBundle = @"PARTNER_PLAN_TYPE_HARD_BUNDLE"; -NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1YoutubePayload_PartnerPlanType_PartnerPlanTypeSoftBundle = @"PARTNER_PLAN_TYPE_SOFT_BUNDLE"; -NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1YoutubePayload_PartnerPlanType_PartnerPlanTypeStandalone = @"PARTNER_PLAN_TYPE_STANDALONE"; -NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1YoutubePayload_PartnerPlanType_PartnerPlanTypeUnspecified = @"PARTNER_PLAN_TYPE_UNSPECIFIED"; +// GTLRPaymentsResellerSubscription_CancelSubscriptionRequest.cancellationReason +NSString * const kGTLRPaymentsResellerSubscription_CancelSubscriptionRequest_CancellationReason_CancellationReasonAccidentalPurchase = @"CANCELLATION_REASON_ACCIDENTAL_PURCHASE"; +NSString * const kGTLRPaymentsResellerSubscription_CancelSubscriptionRequest_CancellationReason_CancellationReasonAccountClosed = @"CANCELLATION_REASON_ACCOUNT_CLOSED"; +NSString * const kGTLRPaymentsResellerSubscription_CancelSubscriptionRequest_CancellationReason_CancellationReasonFraud = @"CANCELLATION_REASON_FRAUD"; +NSString * const kGTLRPaymentsResellerSubscription_CancelSubscriptionRequest_CancellationReason_CancellationReasonOther = @"CANCELLATION_REASON_OTHER"; +NSString * const kGTLRPaymentsResellerSubscription_CancelSubscriptionRequest_CancellationReason_CancellationReasonPastDue = @"CANCELLATION_REASON_PAST_DUE"; +NSString * const kGTLRPaymentsResellerSubscription_CancelSubscriptionRequest_CancellationReason_CancellationReasonRemorse = @"CANCELLATION_REASON_REMORSE"; +NSString * const kGTLRPaymentsResellerSubscription_CancelSubscriptionRequest_CancellationReason_CancellationReasonSystemCancel = @"CANCELLATION_REASON_SYSTEM_CANCEL"; +NSString * const kGTLRPaymentsResellerSubscription_CancelSubscriptionRequest_CancellationReason_CancellationReasonSystemError = @"CANCELLATION_REASON_SYSTEM_ERROR"; +NSString * const kGTLRPaymentsResellerSubscription_CancelSubscriptionRequest_CancellationReason_CancellationReasonUnspecified = @"CANCELLATION_REASON_UNSPECIFIED"; +NSString * const kGTLRPaymentsResellerSubscription_CancelSubscriptionRequest_CancellationReason_CancellationReasonUpgradeDowngrade = @"CANCELLATION_REASON_UPGRADE_DOWNGRADE"; +NSString * const kGTLRPaymentsResellerSubscription_CancelSubscriptionRequest_CancellationReason_CancellationReasonUserDelinquency = @"CANCELLATION_REASON_USER_DELINQUENCY"; + +// GTLRPaymentsResellerSubscription_Duration.unit +NSString * const kGTLRPaymentsResellerSubscription_Duration_Unit_Day = @"DAY"; +NSString * const kGTLRPaymentsResellerSubscription_Duration_Unit_Hour = @"HOUR"; +NSString * const kGTLRPaymentsResellerSubscription_Duration_Unit_Month = @"MONTH"; +NSString * const kGTLRPaymentsResellerSubscription_Duration_Unit_UnitUnspecified = @"UNIT_UNSPECIFIED"; + +// GTLRPaymentsResellerSubscription_GoogleOnePayload.offering +NSString * const kGTLRPaymentsResellerSubscription_GoogleOnePayload_Offering_OfferingHardBundle = @"OFFERING_HARD_BUNDLE"; +NSString * const kGTLRPaymentsResellerSubscription_GoogleOnePayload_Offering_OfferingSoftBundle = @"OFFERING_SOFT_BUNDLE"; +NSString * const kGTLRPaymentsResellerSubscription_GoogleOnePayload_Offering_OfferingUnspecified = @"OFFERING_UNSPECIFIED"; +NSString * const kGTLRPaymentsResellerSubscription_GoogleOnePayload_Offering_OfferingVasBundle = @"OFFERING_VAS_BUNDLE"; +NSString * const kGTLRPaymentsResellerSubscription_GoogleOnePayload_Offering_OfferingVasStandalone = @"OFFERING_VAS_STANDALONE"; + +// GTLRPaymentsResellerSubscription_GoogleOnePayload.salesChannel +NSString * const kGTLRPaymentsResellerSubscription_GoogleOnePayload_SalesChannel_ChannelOnlineAndroidApp = @"CHANNEL_ONLINE_ANDROID_APP"; +NSString * const kGTLRPaymentsResellerSubscription_GoogleOnePayload_SalesChannel_ChannelOnlineIosApp = @"CHANNEL_ONLINE_IOS_APP"; +NSString * const kGTLRPaymentsResellerSubscription_GoogleOnePayload_SalesChannel_ChannelOnlineWeb = @"CHANNEL_ONLINE_WEB"; +NSString * const kGTLRPaymentsResellerSubscription_GoogleOnePayload_SalesChannel_ChannelRetail = @"CHANNEL_RETAIL"; +NSString * const kGTLRPaymentsResellerSubscription_GoogleOnePayload_SalesChannel_ChannelUnspecified = @"CHANNEL_UNSPECIFIED"; + +// GTLRPaymentsResellerSubscription_Product.productType +NSString * const kGTLRPaymentsResellerSubscription_Product_ProductType_ProductTypeBundleSubscription = @"PRODUCT_TYPE_BUNDLE_SUBSCRIPTION"; +NSString * const kGTLRPaymentsResellerSubscription_Product_ProductType_ProductTypeSubscription = @"PRODUCT_TYPE_SUBSCRIPTION"; +NSString * const kGTLRPaymentsResellerSubscription_Product_ProductType_ProductTypeUnspecified = @"PRODUCT_TYPE_UNSPECIFIED"; // GTLRPaymentsResellerSubscription_ProductBundleDetails.entitlementMode NSString * const kGTLRPaymentsResellerSubscription_ProductBundleDetails_EntitlementMode_EntitlementModeFull = @"ENTITLEMENT_MODE_FULL"; NSString * const kGTLRPaymentsResellerSubscription_ProductBundleDetails_EntitlementMode_EntitlementModeIncremental = @"ENTITLEMENT_MODE_INCREMENTAL"; NSString * const kGTLRPaymentsResellerSubscription_ProductBundleDetails_EntitlementMode_EntitlementModeUnspecified = @"ENTITLEMENT_MODE_UNSPECIFIED"; -// ---------------------------------------------------------------------------- -// -// GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Amount -// - -@implementation GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Amount +// GTLRPaymentsResellerSubscription_Promotion.promotionType +NSString * const kGTLRPaymentsResellerSubscription_Promotion_PromotionType_PromotionTypeFreeTrial = @"PROMOTION_TYPE_FREE_TRIAL"; +NSString * const kGTLRPaymentsResellerSubscription_Promotion_PromotionType_PromotionTypeIntroductoryPricing = @"PROMOTION_TYPE_INTRODUCTORY_PRICING"; +NSString * const kGTLRPaymentsResellerSubscription_Promotion_PromotionType_PromotionTypeUnspecified = @"PROMOTION_TYPE_UNSPECIFIED"; + +// GTLRPaymentsResellerSubscription_Subscription.processingState +NSString * const kGTLRPaymentsResellerSubscription_Subscription_ProcessingState_ProcessingStateCancelling = @"PROCESSING_STATE_CANCELLING"; +NSString * const kGTLRPaymentsResellerSubscription_Subscription_ProcessingState_ProcessingStateRecurring = @"PROCESSING_STATE_RECURRING"; +NSString * const kGTLRPaymentsResellerSubscription_Subscription_ProcessingState_ProcessingStateUnspecified = @"PROCESSING_STATE_UNSPECIFIED"; + +// GTLRPaymentsResellerSubscription_Subscription.state +NSString * const kGTLRPaymentsResellerSubscription_Subscription_State_StateActive = @"STATE_ACTIVE"; +NSString * const kGTLRPaymentsResellerSubscription_Subscription_State_StateCancelAtEndOfCycle = @"STATE_CANCEL_AT_END_OF_CYCLE"; +NSString * const kGTLRPaymentsResellerSubscription_Subscription_State_StateCancelled = @"STATE_CANCELLED"; +NSString * const kGTLRPaymentsResellerSubscription_Subscription_State_StateCreated = @"STATE_CREATED"; +NSString * const kGTLRPaymentsResellerSubscription_Subscription_State_StateInGracePeriod = @"STATE_IN_GRACE_PERIOD"; +NSString * const kGTLRPaymentsResellerSubscription_Subscription_State_StateSuspended = @"STATE_SUSPENDED"; +NSString * const kGTLRPaymentsResellerSubscription_Subscription_State_StateUnspecified = @"STATE_UNSPECIFIED"; + +// GTLRPaymentsResellerSubscription_SubscriptionCancellationDetails.reason +NSString * const kGTLRPaymentsResellerSubscription_SubscriptionCancellationDetails_Reason_CancellationReasonAccidentalPurchase = @"CANCELLATION_REASON_ACCIDENTAL_PURCHASE"; +NSString * const kGTLRPaymentsResellerSubscription_SubscriptionCancellationDetails_Reason_CancellationReasonAccountClosed = @"CANCELLATION_REASON_ACCOUNT_CLOSED"; +NSString * const kGTLRPaymentsResellerSubscription_SubscriptionCancellationDetails_Reason_CancellationReasonFraud = @"CANCELLATION_REASON_FRAUD"; +NSString * const kGTLRPaymentsResellerSubscription_SubscriptionCancellationDetails_Reason_CancellationReasonOther = @"CANCELLATION_REASON_OTHER"; +NSString * const kGTLRPaymentsResellerSubscription_SubscriptionCancellationDetails_Reason_CancellationReasonPastDue = @"CANCELLATION_REASON_PAST_DUE"; +NSString * const kGTLRPaymentsResellerSubscription_SubscriptionCancellationDetails_Reason_CancellationReasonRemorse = @"CANCELLATION_REASON_REMORSE"; +NSString * const kGTLRPaymentsResellerSubscription_SubscriptionCancellationDetails_Reason_CancellationReasonSystemCancel = @"CANCELLATION_REASON_SYSTEM_CANCEL"; +NSString * const kGTLRPaymentsResellerSubscription_SubscriptionCancellationDetails_Reason_CancellationReasonSystemError = @"CANCELLATION_REASON_SYSTEM_ERROR"; +NSString * const kGTLRPaymentsResellerSubscription_SubscriptionCancellationDetails_Reason_CancellationReasonUnspecified = @"CANCELLATION_REASON_UNSPECIFIED"; +NSString * const kGTLRPaymentsResellerSubscription_SubscriptionCancellationDetails_Reason_CancellationReasonUpgradeDowngrade = @"CANCELLATION_REASON_UPGRADE_DOWNGRADE"; +NSString * const kGTLRPaymentsResellerSubscription_SubscriptionCancellationDetails_Reason_CancellationReasonUserDelinquency = @"CANCELLATION_REASON_USER_DELINQUENCY"; + +// GTLRPaymentsResellerSubscription_SubscriptionLineItem.recurrenceType +NSString * const kGTLRPaymentsResellerSubscription_SubscriptionLineItem_RecurrenceType_LineItemRecurrenceTypeOneTime = @"LINE_ITEM_RECURRENCE_TYPE_ONE_TIME"; +NSString * const kGTLRPaymentsResellerSubscription_SubscriptionLineItem_RecurrenceType_LineItemRecurrenceTypePeriodic = @"LINE_ITEM_RECURRENCE_TYPE_PERIODIC"; +NSString * const kGTLRPaymentsResellerSubscription_SubscriptionLineItem_RecurrenceType_LineItemRecurrenceTypeUnspecified = @"LINE_ITEM_RECURRENCE_TYPE_UNSPECIFIED"; + +// GTLRPaymentsResellerSubscription_SubscriptionLineItem.state +NSString * const kGTLRPaymentsResellerSubscription_SubscriptionLineItem_State_LineItemStateActivating = @"LINE_ITEM_STATE_ACTIVATING"; +NSString * const kGTLRPaymentsResellerSubscription_SubscriptionLineItem_State_LineItemStateActive = @"LINE_ITEM_STATE_ACTIVE"; +NSString * const kGTLRPaymentsResellerSubscription_SubscriptionLineItem_State_LineItemStateDeactivating = @"LINE_ITEM_STATE_DEACTIVATING"; +NSString * const kGTLRPaymentsResellerSubscription_SubscriptionLineItem_State_LineItemStateInactive = @"LINE_ITEM_STATE_INACTIVE"; +NSString * const kGTLRPaymentsResellerSubscription_SubscriptionLineItem_State_LineItemStateNew = @"LINE_ITEM_STATE_NEW"; +NSString * const kGTLRPaymentsResellerSubscription_SubscriptionLineItem_State_LineItemStateOffCycleCharging = @"LINE_ITEM_STATE_OFF_CYCLE_CHARGING"; +NSString * const kGTLRPaymentsResellerSubscription_SubscriptionLineItem_State_LineItemStateUnspecified = @"LINE_ITEM_STATE_UNSPECIFIED"; +NSString * const kGTLRPaymentsResellerSubscription_SubscriptionLineItem_State_LineItemStateWaitingToDeactivate = @"LINE_ITEM_STATE_WAITING_TO_DEACTIVATE"; + +// GTLRPaymentsResellerSubscription_SubscriptionPromotionSpec.type +NSString * const kGTLRPaymentsResellerSubscription_SubscriptionPromotionSpec_Type_PromotionTypeFreeTrial = @"PROMOTION_TYPE_FREE_TRIAL"; +NSString * const kGTLRPaymentsResellerSubscription_SubscriptionPromotionSpec_Type_PromotionTypeIntroductoryPricing = @"PROMOTION_TYPE_INTRODUCTORY_PRICING"; +NSString * const kGTLRPaymentsResellerSubscription_SubscriptionPromotionSpec_Type_PromotionTypeUnspecified = @"PROMOTION_TYPE_UNSPECIFIED"; + +// GTLRPaymentsResellerSubscription_SubscriptionUpgradeDowngradeDetails.billingCycleSpec +NSString * const kGTLRPaymentsResellerSubscription_SubscriptionUpgradeDowngradeDetails_BillingCycleSpec_BillingCycleSpecAlignWithPreviousSubscription = @"BILLING_CYCLE_SPEC_ALIGN_WITH_PREVIOUS_SUBSCRIPTION"; +NSString * const kGTLRPaymentsResellerSubscription_SubscriptionUpgradeDowngradeDetails_BillingCycleSpec_BillingCycleSpecDeferredToNextRecurrence = @"BILLING_CYCLE_SPEC_DEFERRED_TO_NEXT_RECURRENCE"; +NSString * const kGTLRPaymentsResellerSubscription_SubscriptionUpgradeDowngradeDetails_BillingCycleSpec_BillingCycleSpecStartImmediately = @"BILLING_CYCLE_SPEC_START_IMMEDIATELY"; +NSString * const kGTLRPaymentsResellerSubscription_SubscriptionUpgradeDowngradeDetails_BillingCycleSpec_BillingCycleSpecUnspecified = @"BILLING_CYCLE_SPEC_UNSPECIFIED"; + +// GTLRPaymentsResellerSubscription_YoutubePayload.partnerPlanType +NSString * const kGTLRPaymentsResellerSubscription_YoutubePayload_PartnerPlanType_PartnerPlanTypeHardBundle = @"PARTNER_PLAN_TYPE_HARD_BUNDLE"; +NSString * const kGTLRPaymentsResellerSubscription_YoutubePayload_PartnerPlanType_PartnerPlanTypeSoftBundle = @"PARTNER_PLAN_TYPE_SOFT_BUNDLE"; +NSString * const kGTLRPaymentsResellerSubscription_YoutubePayload_PartnerPlanType_PartnerPlanTypeStandalone = @"PARTNER_PLAN_TYPE_STANDALONE"; +NSString * const kGTLRPaymentsResellerSubscription_YoutubePayload_PartnerPlanType_PartnerPlanTypeUnspecified = @"PARTNER_PLAN_TYPE_UNSPECIFIED"; + +// ---------------------------------------------------------------------------- +// +// GTLRPaymentsResellerSubscription_Amount +// + +@implementation GTLRPaymentsResellerSubscription_Amount @dynamic amountMicros, currencyCode; @end // ---------------------------------------------------------------------------- // -// GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1CancelSubscriptionRequest +// GTLRPaymentsResellerSubscription_CancelSubscriptionRequest // -@implementation GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1CancelSubscriptionRequest +@implementation GTLRPaymentsResellerSubscription_CancelSubscriptionRequest @dynamic cancelImmediately, cancellationReason; @end // ---------------------------------------------------------------------------- // -// GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1CancelSubscriptionResponse +// GTLRPaymentsResellerSubscription_CancelSubscriptionResponse // -@implementation GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1CancelSubscriptionResponse +@implementation GTLRPaymentsResellerSubscription_CancelSubscriptionResponse @dynamic subscription; @end // ---------------------------------------------------------------------------- // -// GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1CreateSubscriptionIntent +// GTLRPaymentsResellerSubscription_CreateSubscriptionIntent // -@implementation GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1CreateSubscriptionIntent +@implementation GTLRPaymentsResellerSubscription_CreateSubscriptionIntent @dynamic parent, subscription, subscriptionId; @end // ---------------------------------------------------------------------------- // -// GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Duration +// GTLRPaymentsResellerSubscription_Duration // -@implementation GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Duration +@implementation GTLRPaymentsResellerSubscription_Duration @dynamic count, unit; @end // ---------------------------------------------------------------------------- // -// GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1EntitleSubscriptionIntent +// GTLRPaymentsResellerSubscription_EntitleSubscriptionIntent // -@implementation GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1EntitleSubscriptionIntent +@implementation GTLRPaymentsResellerSubscription_EntitleSubscriptionIntent @dynamic name; @end // ---------------------------------------------------------------------------- // -// GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1EntitleSubscriptionRequest +// GTLRPaymentsResellerSubscription_EntitleSubscriptionRequest // -@implementation GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1EntitleSubscriptionRequest +@implementation GTLRPaymentsResellerSubscription_EntitleSubscriptionRequest @dynamic lineItemEntitlementDetails; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ - @"lineItemEntitlementDetails" : [GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1EntitleSubscriptionRequestLineItemEntitlementDetails class] + @"lineItemEntitlementDetails" : [GTLRPaymentsResellerSubscription_EntitleSubscriptionRequestLineItemEntitlementDetails class] }; return map; } @@ -198,10 +198,10 @@ @implementation GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubs // ---------------------------------------------------------------------------- // -// GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1EntitleSubscriptionRequestLineItemEntitlementDetails +// GTLRPaymentsResellerSubscription_EntitleSubscriptionRequestLineItemEntitlementDetails // -@implementation GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1EntitleSubscriptionRequestLineItemEntitlementDetails +@implementation GTLRPaymentsResellerSubscription_EntitleSubscriptionRequestLineItemEntitlementDetails @dynamic lineItemIndex, products; + (NSDictionary *)arrayPropertyToClassMap { @@ -216,65 +216,65 @@ @implementation GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubs // ---------------------------------------------------------------------------- // -// GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1EntitleSubscriptionResponse +// GTLRPaymentsResellerSubscription_EntitleSubscriptionResponse // -@implementation GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1EntitleSubscriptionResponse +@implementation GTLRPaymentsResellerSubscription_EntitleSubscriptionResponse @dynamic subscription; @end // ---------------------------------------------------------------------------- // -// GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1ExtendSubscriptionRequest +// GTLRPaymentsResellerSubscription_ExtendSubscriptionRequest // -@implementation GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1ExtendSubscriptionRequest +@implementation GTLRPaymentsResellerSubscription_ExtendSubscriptionRequest @dynamic extension, requestId; @end // ---------------------------------------------------------------------------- // -// GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1ExtendSubscriptionResponse +// GTLRPaymentsResellerSubscription_ExtendSubscriptionResponse // -@implementation GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1ExtendSubscriptionResponse +@implementation GTLRPaymentsResellerSubscription_ExtendSubscriptionResponse @dynamic cycleEndTime, freeTrialEndTime, renewalTime; @end // ---------------------------------------------------------------------------- // -// GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Extension +// GTLRPaymentsResellerSubscription_Extension // -@implementation GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Extension +@implementation GTLRPaymentsResellerSubscription_Extension @dynamic duration, partnerUserToken; @end // ---------------------------------------------------------------------------- // -// GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1FindEligiblePromotionsRequest +// GTLRPaymentsResellerSubscription_FindEligiblePromotionsRequest // -@implementation GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1FindEligiblePromotionsRequest +@implementation GTLRPaymentsResellerSubscription_FindEligiblePromotionsRequest @dynamic filter, pageSize, pageToken; @end // ---------------------------------------------------------------------------- // -// GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1FindEligiblePromotionsResponse +// GTLRPaymentsResellerSubscription_FindEligiblePromotionsResponse // -@implementation GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1FindEligiblePromotionsResponse +@implementation GTLRPaymentsResellerSubscription_FindEligiblePromotionsResponse @dynamic nextPageToken, promotions; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ - @"promotions" : [GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Promotion class] + @"promotions" : [GTLRPaymentsResellerSubscription_Promotion class] }; return map; } @@ -288,50 +288,50 @@ + (NSString *)collectionItemsKey { // ---------------------------------------------------------------------------- // -// GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1FiniteBillingCycleDetails +// GTLRPaymentsResellerSubscription_FiniteBillingCycleDetails // -@implementation GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1FiniteBillingCycleDetails +@implementation GTLRPaymentsResellerSubscription_FiniteBillingCycleDetails @dynamic billingCycleCountLimit; @end // ---------------------------------------------------------------------------- // -// GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1GenerateUserSessionRequest +// GTLRPaymentsResellerSubscription_GenerateUserSessionRequest // -@implementation GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1GenerateUserSessionRequest +@implementation GTLRPaymentsResellerSubscription_GenerateUserSessionRequest @dynamic intentPayload; @end // ---------------------------------------------------------------------------- // -// GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1GenerateUserSessionResponse +// GTLRPaymentsResellerSubscription_GenerateUserSessionResponse // -@implementation GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1GenerateUserSessionResponse +@implementation GTLRPaymentsResellerSubscription_GenerateUserSessionResponse @dynamic userSession; @end // ---------------------------------------------------------------------------- // -// GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1GoogleHomePayload +// GTLRPaymentsResellerSubscription_GoogleHomePayload // -@implementation GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1GoogleHomePayload -@dynamic attachedToGoogleStructure, partnerStructureId; +@implementation GTLRPaymentsResellerSubscription_GoogleHomePayload +@dynamic attachedToGoogleStructure, googleStructureId, partnerStructureId; @end // ---------------------------------------------------------------------------- // -// GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1GoogleOnePayload +// GTLRPaymentsResellerSubscription_GoogleOnePayload // -@implementation GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1GoogleOnePayload +@implementation GTLRPaymentsResellerSubscription_GoogleOnePayload @dynamic campaigns, offering, salesChannel, storeId; + (NSDictionary *)arrayPropertyToClassMap { @@ -346,25 +346,35 @@ @implementation GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubs // ---------------------------------------------------------------------------- // -// GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1IntentPayload +// GTLRPaymentsResellerSubscription_GoogleTypeLocalizedText // -@implementation GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1IntentPayload +@implementation GTLRPaymentsResellerSubscription_GoogleTypeLocalizedText +@dynamic languageCode, text; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRPaymentsResellerSubscription_IntentPayload +// + +@implementation GTLRPaymentsResellerSubscription_IntentPayload @dynamic createIntent, entitleIntent; @end // ---------------------------------------------------------------------------- // -// GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1ListProductsResponse +// GTLRPaymentsResellerSubscription_ListProductsResponse // -@implementation GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1ListProductsResponse +@implementation GTLRPaymentsResellerSubscription_ListProductsResponse @dynamic nextPageToken, products; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ - @"products" : [GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Product class] + @"products" : [GTLRPaymentsResellerSubscription_Product class] }; return map; } @@ -378,15 +388,15 @@ + (NSString *)collectionItemsKey { // ---------------------------------------------------------------------------- // -// GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1ListPromotionsResponse +// GTLRPaymentsResellerSubscription_ListPromotionsResponse // -@implementation GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1ListPromotionsResponse +@implementation GTLRPaymentsResellerSubscription_ListPromotionsResponse @dynamic nextPageToken, promotions; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ - @"promotions" : [GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Promotion class] + @"promotions" : [GTLRPaymentsResellerSubscription_Promotion class] }; return map; } @@ -400,26 +410,26 @@ + (NSString *)collectionItemsKey { // ---------------------------------------------------------------------------- // -// GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Location +// GTLRPaymentsResellerSubscription_Location // -@implementation GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Location +@implementation GTLRPaymentsResellerSubscription_Location @dynamic postalCode, regionCode; @end // ---------------------------------------------------------------------------- // -// GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Product +// GTLRPaymentsResellerSubscription_Product // -@implementation GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Product +@implementation GTLRPaymentsResellerSubscription_Product @dynamic bundleDetails, finiteBillingCycleDetails, name, priceConfigs, productType, regionCodes, subscriptionBillingCycleDuration, titles; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ - @"priceConfigs" : [GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1ProductPriceConfig class], + @"priceConfigs" : [GTLRPaymentsResellerSubscription_ProductPriceConfig class], @"regionCodes" : [NSString class], @"titles" : [GTLRPaymentsResellerSubscription_GoogleTypeLocalizedText class] }; @@ -431,40 +441,58 @@ @implementation GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubs // ---------------------------------------------------------------------------- // -// GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1ProductBundleDetailsBundleElement +// GTLRPaymentsResellerSubscription_ProductBundleDetails +// + +@implementation GTLRPaymentsResellerSubscription_ProductBundleDetails +@dynamic bundleElements, entitlementMode; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"bundleElements" : [GTLRPaymentsResellerSubscription_ProductBundleDetailsBundleElement class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRPaymentsResellerSubscription_ProductBundleDetailsBundleElement // -@implementation GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1ProductBundleDetailsBundleElement +@implementation GTLRPaymentsResellerSubscription_ProductBundleDetailsBundleElement @dynamic product; @end // ---------------------------------------------------------------------------- // -// GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1ProductPayload +// GTLRPaymentsResellerSubscription_ProductPayload // -@implementation GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1ProductPayload +@implementation GTLRPaymentsResellerSubscription_ProductPayload @dynamic googleHomePayload, googleOnePayload, youtubePayload; @end // ---------------------------------------------------------------------------- // -// GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1ProductPriceConfig +// GTLRPaymentsResellerSubscription_ProductPriceConfig // -@implementation GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1ProductPriceConfig +@implementation GTLRPaymentsResellerSubscription_ProductPriceConfig @dynamic amount, regionCode; @end // ---------------------------------------------------------------------------- // -// GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Promotion +// GTLRPaymentsResellerSubscription_Promotion // -@implementation GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Promotion +@implementation GTLRPaymentsResellerSubscription_Promotion @dynamic applicableProducts, endTime, freeTrialDuration, introductoryPricingDetails, name, promotionType, regionCodes, startTime, titles; @@ -483,15 +511,15 @@ @implementation GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubs // ---------------------------------------------------------------------------- // -// GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1PromotionIntroductoryPricingDetails +// GTLRPaymentsResellerSubscription_PromotionIntroductoryPricingDetails // -@implementation GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1PromotionIntroductoryPricingDetails +@implementation GTLRPaymentsResellerSubscription_PromotionIntroductoryPricingDetails @dynamic introductoryPricingSpecs; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ - @"introductoryPricingSpecs" : [GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1PromotionIntroductoryPricingDetailsIntroductoryPricingSpec class] + @"introductoryPricingSpecs" : [GTLRPaymentsResellerSubscription_PromotionIntroductoryPricingDetailsIntroductoryPricingSpec class] }; return map; } @@ -501,49 +529,49 @@ @implementation GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubs // ---------------------------------------------------------------------------- // -// GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1PromotionIntroductoryPricingDetailsIntroductoryPricingSpec +// GTLRPaymentsResellerSubscription_PromotionIntroductoryPricingDetailsIntroductoryPricingSpec // -@implementation GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1PromotionIntroductoryPricingDetailsIntroductoryPricingSpec +@implementation GTLRPaymentsResellerSubscription_PromotionIntroductoryPricingDetailsIntroductoryPricingSpec @dynamic discountAmount, discountRatioMicros, recurrenceCount, regionCode; @end // ---------------------------------------------------------------------------- // -// GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1ResumeSubscriptionRequest +// GTLRPaymentsResellerSubscription_ResumeSubscriptionRequest // -@implementation GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1ResumeSubscriptionRequest +@implementation GTLRPaymentsResellerSubscription_ResumeSubscriptionRequest @end // ---------------------------------------------------------------------------- // -// GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1ResumeSubscriptionResponse +// GTLRPaymentsResellerSubscription_ResumeSubscriptionResponse // -@implementation GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1ResumeSubscriptionResponse +@implementation GTLRPaymentsResellerSubscription_ResumeSubscriptionResponse @dynamic subscription; @end // ---------------------------------------------------------------------------- // -// GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1ServicePeriod +// GTLRPaymentsResellerSubscription_ServicePeriod // -@implementation GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1ServicePeriod +@implementation GTLRPaymentsResellerSubscription_ServicePeriod @dynamic endTime, startTime; @end // ---------------------------------------------------------------------------- // -// GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Subscription +// GTLRPaymentsResellerSubscription_Subscription // -@implementation GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Subscription +@implementation GTLRPaymentsResellerSubscription_Subscription @dynamic cancellationDetails, createTime, cycleEndTime, endUserEntitled, freeTrialEndTime, lineItems, migrationDetails, name, partnerUserToken, processingState, products, promotions, promotionSpecs, purchaseTime, @@ -552,10 +580,10 @@ @implementation GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubs + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ - @"lineItems" : [GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionLineItem class], + @"lineItems" : [GTLRPaymentsResellerSubscription_SubscriptionLineItem class], @"products" : [NSString class], @"promotions" : [NSString class], - @"promotionSpecs" : [GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionPromotionSpec class] + @"promotionSpecs" : [GTLRPaymentsResellerSubscription_SubscriptionPromotionSpec class] }; return map; } @@ -565,20 +593,20 @@ @implementation GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubs // ---------------------------------------------------------------------------- // -// GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionCancellationDetails +// GTLRPaymentsResellerSubscription_SubscriptionCancellationDetails // -@implementation GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionCancellationDetails +@implementation GTLRPaymentsResellerSubscription_SubscriptionCancellationDetails @dynamic reason; @end // ---------------------------------------------------------------------------- // -// GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionLineItem +// GTLRPaymentsResellerSubscription_SubscriptionLineItem // -@implementation GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionLineItem +@implementation GTLRPaymentsResellerSubscription_SubscriptionLineItem @dynamic amount, bundleDetails, descriptionProperty, finiteBillingCycleDetails, lineItemFreeTrialEndTime, lineItemIndex, lineItemPromotionSpecs, oneTimeRecurrenceDetails, product, productPayload, recurrenceType, @@ -590,7 +618,7 @@ @implementation GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubs + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ - @"lineItemPromotionSpecs" : [GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionPromotionSpec class] + @"lineItemPromotionSpecs" : [GTLRPaymentsResellerSubscription_SubscriptionPromotionSpec class] }; return map; } @@ -600,159 +628,131 @@ @implementation GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubs // ---------------------------------------------------------------------------- // -// GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionLineItemBundleDetailsBundleElementDetails +// GTLRPaymentsResellerSubscription_SubscriptionLineItemBundleDetails // -@implementation GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionLineItemBundleDetailsBundleElementDetails -@dynamic product, userAccountLinkedTime; -@end - +@implementation GTLRPaymentsResellerSubscription_SubscriptionLineItemBundleDetails +@dynamic bundleElementDetails; -// ---------------------------------------------------------------------------- -// -// GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionLineItemOneTimeRecurrenceDetails -// ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"bundleElementDetails" : [GTLRPaymentsResellerSubscription_SubscriptionLineItemBundleDetailsBundleElementDetails class] + }; + return map; +} -@implementation GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionLineItemOneTimeRecurrenceDetails -@dynamic servicePeriod; @end // ---------------------------------------------------------------------------- // -// GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionMigrationDetails +// GTLRPaymentsResellerSubscription_SubscriptionLineItemBundleDetailsBundleElementDetails // -@implementation GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionMigrationDetails -@dynamic migratedSubscriptionId; +@implementation GTLRPaymentsResellerSubscription_SubscriptionLineItemBundleDetailsBundleElementDetails +@dynamic product, userAccountLinkedTime; @end // ---------------------------------------------------------------------------- // -// GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionPromotionSpec +// GTLRPaymentsResellerSubscription_SubscriptionLineItemOneTimeRecurrenceDetails // -@implementation GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionPromotionSpec -@dynamic freeTrialDuration, introductoryPricingDetails, promotion, type; +@implementation GTLRPaymentsResellerSubscription_SubscriptionLineItemOneTimeRecurrenceDetails +@dynamic servicePeriod; @end // ---------------------------------------------------------------------------- // -// GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionUpgradeDowngradeDetails +// GTLRPaymentsResellerSubscription_SubscriptionMigrationDetails // -@implementation GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionUpgradeDowngradeDetails -@dynamic billingCycleSpec, previousSubscriptionId; +@implementation GTLRPaymentsResellerSubscription_SubscriptionMigrationDetails +@dynamic migratedSubscriptionId; @end // ---------------------------------------------------------------------------- // -// GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SuspendSubscriptionRequest +// GTLRPaymentsResellerSubscription_SubscriptionPromotionSpec // -@implementation GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SuspendSubscriptionRequest +@implementation GTLRPaymentsResellerSubscription_SubscriptionPromotionSpec +@dynamic freeTrialDuration, introductoryPricingDetails, promotion, type; @end // ---------------------------------------------------------------------------- // -// GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SuspendSubscriptionResponse +// GTLRPaymentsResellerSubscription_SubscriptionUpgradeDowngradeDetails // -@implementation GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SuspendSubscriptionResponse -@dynamic subscription; +@implementation GTLRPaymentsResellerSubscription_SubscriptionUpgradeDowngradeDetails +@dynamic billingCycleSpec, previousSubscriptionId; @end // ---------------------------------------------------------------------------- // -// GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1UndoCancelSubscriptionRequest +// GTLRPaymentsResellerSubscription_SuspendSubscriptionRequest // -@implementation GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1UndoCancelSubscriptionRequest +@implementation GTLRPaymentsResellerSubscription_SuspendSubscriptionRequest @end // ---------------------------------------------------------------------------- // -// GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1UndoCancelSubscriptionResponse +// GTLRPaymentsResellerSubscription_SuspendSubscriptionResponse // -@implementation GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1UndoCancelSubscriptionResponse +@implementation GTLRPaymentsResellerSubscription_SuspendSubscriptionResponse @dynamic subscription; @end // ---------------------------------------------------------------------------- // -// GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1UserSession +// GTLRPaymentsResellerSubscription_UndoCancelSubscriptionRequest // -@implementation GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1UserSession -@dynamic expireTime, token; -@end - - -// ---------------------------------------------------------------------------- -// -// GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1YoutubePayload -// - -@implementation GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1YoutubePayload -@dynamic accessEndTime, partnerEligibilityIds, partnerPlanType; - -+ (NSDictionary *)arrayPropertyToClassMap { - NSDictionary *map = @{ - @"partnerEligibilityIds" : [NSString class] - }; - return map; -} - +@implementation GTLRPaymentsResellerSubscription_UndoCancelSubscriptionRequest @end // ---------------------------------------------------------------------------- // -// GTLRPaymentsResellerSubscription_GoogleTypeLocalizedText +// GTLRPaymentsResellerSubscription_UndoCancelSubscriptionResponse // -@implementation GTLRPaymentsResellerSubscription_GoogleTypeLocalizedText -@dynamic languageCode, text; +@implementation GTLRPaymentsResellerSubscription_UndoCancelSubscriptionResponse +@dynamic subscription; @end // ---------------------------------------------------------------------------- // -// GTLRPaymentsResellerSubscription_ProductBundleDetails +// GTLRPaymentsResellerSubscription_UserSession // -@implementation GTLRPaymentsResellerSubscription_ProductBundleDetails -@dynamic bundleElements, entitlementMode; - -+ (NSDictionary *)arrayPropertyToClassMap { - NSDictionary *map = @{ - @"bundleElements" : [GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1ProductBundleDetailsBundleElement class] - }; - return map; -} - +@implementation GTLRPaymentsResellerSubscription_UserSession +@dynamic expireTime, token; @end // ---------------------------------------------------------------------------- // -// GTLRPaymentsResellerSubscription_SubscriptionLineItemBundleDetails +// GTLRPaymentsResellerSubscription_YoutubePayload // -@implementation GTLRPaymentsResellerSubscription_SubscriptionLineItemBundleDetails -@dynamic bundleElementDetails; +@implementation GTLRPaymentsResellerSubscription_YoutubePayload +@dynamic accessEndTime, partnerEligibilityIds, partnerPlanType; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ - @"bundleElementDetails" : [GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionLineItemBundleDetailsBundleElementDetails class] + @"partnerEligibilityIds" : [NSString class] }; return map; } diff --git a/Sources/GeneratedServices/PaymentsResellerSubscription/GTLRPaymentsResellerSubscriptionQuery.m b/Sources/GeneratedServices/PaymentsResellerSubscription/GTLRPaymentsResellerSubscriptionQuery.m index f9e02fc93..e7a9423f3 100644 --- a/Sources/GeneratedServices/PaymentsResellerSubscription/GTLRPaymentsResellerSubscriptionQuery.m +++ b/Sources/GeneratedServices/PaymentsResellerSubscription/GTLRPaymentsResellerSubscriptionQuery.m @@ -26,7 +26,7 @@ + (instancetype)queryWithParent:(NSString *)parent { HTTPMethod:nil pathParameterNames:pathParams]; query.parent = parent; - query.expectedObjectClass = [GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1ListProductsResponse class]; + query.expectedObjectClass = [GTLRPaymentsResellerSubscription_ListProductsResponse class]; query.loggingName = @"paymentsresellersubscription.partners.products.list"; return query; } @@ -37,7 +37,7 @@ @implementation GTLRPaymentsResellerSubscriptionQuery_PartnersPromotionsFindElig @dynamic parent; -+ (instancetype)queryWithObject:(GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1FindEligiblePromotionsRequest *)object ++ (instancetype)queryWithObject:(GTLRPaymentsResellerSubscription_FindEligiblePromotionsRequest *)object parent:(NSString *)parent { if (object == nil) { #if defined(DEBUG) && DEBUG @@ -53,7 +53,7 @@ + (instancetype)queryWithObject:(GTLRPaymentsResellerSubscription_GoogleCloudPay pathParameterNames:pathParams]; query.bodyObject = object; query.parent = parent; - query.expectedObjectClass = [GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1FindEligiblePromotionsResponse class]; + query.expectedObjectClass = [GTLRPaymentsResellerSubscription_FindEligiblePromotionsResponse class]; query.loggingName = @"paymentsresellersubscription.partners.promotions.findEligible"; return query; } @@ -72,7 +72,7 @@ + (instancetype)queryWithParent:(NSString *)parent { HTTPMethod:nil pathParameterNames:pathParams]; query.parent = parent; - query.expectedObjectClass = [GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1ListPromotionsResponse class]; + query.expectedObjectClass = [GTLRPaymentsResellerSubscription_ListPromotionsResponse class]; query.loggingName = @"paymentsresellersubscription.partners.promotions.list"; return query; } @@ -83,7 +83,7 @@ @implementation GTLRPaymentsResellerSubscriptionQuery_PartnersSubscriptionsCance @dynamic name; -+ (instancetype)queryWithObject:(GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1CancelSubscriptionRequest *)object ++ (instancetype)queryWithObject:(GTLRPaymentsResellerSubscription_CancelSubscriptionRequest *)object name:(NSString *)name { if (object == nil) { #if defined(DEBUG) && DEBUG @@ -99,7 +99,7 @@ + (instancetype)queryWithObject:(GTLRPaymentsResellerSubscription_GoogleCloudPay pathParameterNames:pathParams]; query.bodyObject = object; query.name = name; - query.expectedObjectClass = [GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1CancelSubscriptionResponse class]; + query.expectedObjectClass = [GTLRPaymentsResellerSubscription_CancelSubscriptionResponse class]; query.loggingName = @"paymentsresellersubscription.partners.subscriptions.cancel"; return query; } @@ -110,7 +110,7 @@ @implementation GTLRPaymentsResellerSubscriptionQuery_PartnersSubscriptionsCreat @dynamic parent, subscriptionId; -+ (instancetype)queryWithObject:(GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Subscription *)object ++ (instancetype)queryWithObject:(GTLRPaymentsResellerSubscription_Subscription *)object parent:(NSString *)parent { if (object == nil) { #if defined(DEBUG) && DEBUG @@ -126,7 +126,7 @@ + (instancetype)queryWithObject:(GTLRPaymentsResellerSubscription_GoogleCloudPay pathParameterNames:pathParams]; query.bodyObject = object; query.parent = parent; - query.expectedObjectClass = [GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Subscription class]; + query.expectedObjectClass = [GTLRPaymentsResellerSubscription_Subscription class]; query.loggingName = @"paymentsresellersubscription.partners.subscriptions.create"; return query; } @@ -137,7 +137,7 @@ @implementation GTLRPaymentsResellerSubscriptionQuery_PartnersSubscriptionsEntit @dynamic name; -+ (instancetype)queryWithObject:(GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1EntitleSubscriptionRequest *)object ++ (instancetype)queryWithObject:(GTLRPaymentsResellerSubscription_EntitleSubscriptionRequest *)object name:(NSString *)name { if (object == nil) { #if defined(DEBUG) && DEBUG @@ -153,7 +153,7 @@ + (instancetype)queryWithObject:(GTLRPaymentsResellerSubscription_GoogleCloudPay pathParameterNames:pathParams]; query.bodyObject = object; query.name = name; - query.expectedObjectClass = [GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1EntitleSubscriptionResponse class]; + query.expectedObjectClass = [GTLRPaymentsResellerSubscription_EntitleSubscriptionResponse class]; query.loggingName = @"paymentsresellersubscription.partners.subscriptions.entitle"; return query; } @@ -164,7 +164,7 @@ @implementation GTLRPaymentsResellerSubscriptionQuery_PartnersSubscriptionsExten @dynamic name; -+ (instancetype)queryWithObject:(GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1ExtendSubscriptionRequest *)object ++ (instancetype)queryWithObject:(GTLRPaymentsResellerSubscription_ExtendSubscriptionRequest *)object name:(NSString *)name { if (object == nil) { #if defined(DEBUG) && DEBUG @@ -180,7 +180,7 @@ + (instancetype)queryWithObject:(GTLRPaymentsResellerSubscription_GoogleCloudPay pathParameterNames:pathParams]; query.bodyObject = object; query.name = name; - query.expectedObjectClass = [GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1ExtendSubscriptionResponse class]; + query.expectedObjectClass = [GTLRPaymentsResellerSubscription_ExtendSubscriptionResponse class]; query.loggingName = @"paymentsresellersubscription.partners.subscriptions.extend"; return query; } @@ -199,7 +199,7 @@ + (instancetype)queryWithName:(NSString *)name { HTTPMethod:nil pathParameterNames:pathParams]; query.name = name; - query.expectedObjectClass = [GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Subscription class]; + query.expectedObjectClass = [GTLRPaymentsResellerSubscription_Subscription class]; query.loggingName = @"paymentsresellersubscription.partners.subscriptions.get"; return query; } @@ -210,7 +210,7 @@ @implementation GTLRPaymentsResellerSubscriptionQuery_PartnersSubscriptionsProvi @dynamic parent, subscriptionId; -+ (instancetype)queryWithObject:(GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Subscription *)object ++ (instancetype)queryWithObject:(GTLRPaymentsResellerSubscription_Subscription *)object parent:(NSString *)parent { if (object == nil) { #if defined(DEBUG) && DEBUG @@ -226,7 +226,7 @@ + (instancetype)queryWithObject:(GTLRPaymentsResellerSubscription_GoogleCloudPay pathParameterNames:pathParams]; query.bodyObject = object; query.parent = parent; - query.expectedObjectClass = [GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Subscription class]; + query.expectedObjectClass = [GTLRPaymentsResellerSubscription_Subscription class]; query.loggingName = @"paymentsresellersubscription.partners.subscriptions.provision"; return query; } @@ -237,7 +237,7 @@ @implementation GTLRPaymentsResellerSubscriptionQuery_PartnersSubscriptionsResum @dynamic name; -+ (instancetype)queryWithObject:(GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1ResumeSubscriptionRequest *)object ++ (instancetype)queryWithObject:(GTLRPaymentsResellerSubscription_ResumeSubscriptionRequest *)object name:(NSString *)name { if (object == nil) { #if defined(DEBUG) && DEBUG @@ -253,7 +253,7 @@ + (instancetype)queryWithObject:(GTLRPaymentsResellerSubscription_GoogleCloudPay pathParameterNames:pathParams]; query.bodyObject = object; query.name = name; - query.expectedObjectClass = [GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1ResumeSubscriptionResponse class]; + query.expectedObjectClass = [GTLRPaymentsResellerSubscription_ResumeSubscriptionResponse class]; query.loggingName = @"paymentsresellersubscription.partners.subscriptions.resume"; return query; } @@ -264,7 +264,7 @@ @implementation GTLRPaymentsResellerSubscriptionQuery_PartnersSubscriptionsSuspe @dynamic name; -+ (instancetype)queryWithObject:(GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SuspendSubscriptionRequest *)object ++ (instancetype)queryWithObject:(GTLRPaymentsResellerSubscription_SuspendSubscriptionRequest *)object name:(NSString *)name { if (object == nil) { #if defined(DEBUG) && DEBUG @@ -280,7 +280,7 @@ + (instancetype)queryWithObject:(GTLRPaymentsResellerSubscription_GoogleCloudPay pathParameterNames:pathParams]; query.bodyObject = object; query.name = name; - query.expectedObjectClass = [GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SuspendSubscriptionResponse class]; + query.expectedObjectClass = [GTLRPaymentsResellerSubscription_SuspendSubscriptionResponse class]; query.loggingName = @"paymentsresellersubscription.partners.subscriptions.suspend"; return query; } @@ -291,7 +291,7 @@ @implementation GTLRPaymentsResellerSubscriptionQuery_PartnersSubscriptionsUndoC @dynamic name; -+ (instancetype)queryWithObject:(GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1UndoCancelSubscriptionRequest *)object ++ (instancetype)queryWithObject:(GTLRPaymentsResellerSubscription_UndoCancelSubscriptionRequest *)object name:(NSString *)name { if (object == nil) { #if defined(DEBUG) && DEBUG @@ -307,7 +307,7 @@ + (instancetype)queryWithObject:(GTLRPaymentsResellerSubscription_GoogleCloudPay pathParameterNames:pathParams]; query.bodyObject = object; query.name = name; - query.expectedObjectClass = [GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1UndoCancelSubscriptionResponse class]; + query.expectedObjectClass = [GTLRPaymentsResellerSubscription_UndoCancelSubscriptionResponse class]; query.loggingName = @"paymentsresellersubscription.partners.subscriptions.undoCancel"; return query; } @@ -318,7 +318,7 @@ @implementation GTLRPaymentsResellerSubscriptionQuery_PartnersUserSessionsGenera @dynamic parent; -+ (instancetype)queryWithObject:(GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1GenerateUserSessionRequest *)object ++ (instancetype)queryWithObject:(GTLRPaymentsResellerSubscription_GenerateUserSessionRequest *)object parent:(NSString *)parent { if (object == nil) { #if defined(DEBUG) && DEBUG @@ -334,7 +334,7 @@ + (instancetype)queryWithObject:(GTLRPaymentsResellerSubscription_GoogleCloudPay pathParameterNames:pathParams]; query.bodyObject = object; query.parent = parent; - query.expectedObjectClass = [GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1GenerateUserSessionResponse class]; + query.expectedObjectClass = [GTLRPaymentsResellerSubscription_GenerateUserSessionResponse class]; query.loggingName = @"paymentsresellersubscription.partners.userSessions.generate"; return query; } diff --git a/Sources/GeneratedServices/PaymentsResellerSubscription/Public/GoogleAPIClientForREST/GTLRPaymentsResellerSubscriptionObjects.h b/Sources/GeneratedServices/PaymentsResellerSubscription/Public/GoogleAPIClientForREST/GTLRPaymentsResellerSubscriptionObjects.h index 1d7640f85..64930bc32 100644 --- a/Sources/GeneratedServices/PaymentsResellerSubscription/Public/GoogleAPIClientForREST/GTLRPaymentsResellerSubscriptionObjects.h +++ b/Sources/GeneratedServices/PaymentsResellerSubscription/Public/GoogleAPIClientForREST/GTLRPaymentsResellerSubscriptionObjects.h @@ -12,38 +12,38 @@ #error This file was generated by a different version of ServiceGenerator which is incompatible with this GTLR library source. #endif -@class GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Amount; -@class GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1CreateSubscriptionIntent; -@class GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Duration; -@class GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1EntitleSubscriptionIntent; -@class GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1EntitleSubscriptionRequestLineItemEntitlementDetails; -@class GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Extension; -@class GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1FiniteBillingCycleDetails; -@class GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1GoogleHomePayload; -@class GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1GoogleOnePayload; -@class GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1IntentPayload; -@class GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Location; -@class GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Product; -@class GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1ProductBundleDetailsBundleElement; -@class GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1ProductPayload; -@class GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1ProductPriceConfig; -@class GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Promotion; -@class GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1PromotionIntroductoryPricingDetails; -@class GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1PromotionIntroductoryPricingDetailsIntroductoryPricingSpec; -@class GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1ServicePeriod; -@class GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Subscription; -@class GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionCancellationDetails; -@class GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionLineItem; -@class GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionLineItemBundleDetailsBundleElementDetails; -@class GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionLineItemOneTimeRecurrenceDetails; -@class GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionMigrationDetails; -@class GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionPromotionSpec; -@class GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionUpgradeDowngradeDetails; -@class GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1UserSession; -@class GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1YoutubePayload; +@class GTLRPaymentsResellerSubscription_Amount; +@class GTLRPaymentsResellerSubscription_CreateSubscriptionIntent; +@class GTLRPaymentsResellerSubscription_Duration; +@class GTLRPaymentsResellerSubscription_EntitleSubscriptionIntent; +@class GTLRPaymentsResellerSubscription_EntitleSubscriptionRequestLineItemEntitlementDetails; +@class GTLRPaymentsResellerSubscription_Extension; +@class GTLRPaymentsResellerSubscription_FiniteBillingCycleDetails; +@class GTLRPaymentsResellerSubscription_GoogleHomePayload; +@class GTLRPaymentsResellerSubscription_GoogleOnePayload; @class GTLRPaymentsResellerSubscription_GoogleTypeLocalizedText; +@class GTLRPaymentsResellerSubscription_IntentPayload; +@class GTLRPaymentsResellerSubscription_Location; +@class GTLRPaymentsResellerSubscription_Product; @class GTLRPaymentsResellerSubscription_ProductBundleDetails; +@class GTLRPaymentsResellerSubscription_ProductBundleDetailsBundleElement; +@class GTLRPaymentsResellerSubscription_ProductPayload; +@class GTLRPaymentsResellerSubscription_ProductPriceConfig; +@class GTLRPaymentsResellerSubscription_Promotion; +@class GTLRPaymentsResellerSubscription_PromotionIntroductoryPricingDetails; +@class GTLRPaymentsResellerSubscription_PromotionIntroductoryPricingDetailsIntroductoryPricingSpec; +@class GTLRPaymentsResellerSubscription_ServicePeriod; +@class GTLRPaymentsResellerSubscription_Subscription; +@class GTLRPaymentsResellerSubscription_SubscriptionCancellationDetails; +@class GTLRPaymentsResellerSubscription_SubscriptionLineItem; @class GTLRPaymentsResellerSubscription_SubscriptionLineItemBundleDetails; +@class GTLRPaymentsResellerSubscription_SubscriptionLineItemBundleDetailsBundleElementDetails; +@class GTLRPaymentsResellerSubscription_SubscriptionLineItemOneTimeRecurrenceDetails; +@class GTLRPaymentsResellerSubscription_SubscriptionMigrationDetails; +@class GTLRPaymentsResellerSubscription_SubscriptionPromotionSpec; +@class GTLRPaymentsResellerSubscription_SubscriptionUpgradeDowngradeDetails; +@class GTLRPaymentsResellerSubscription_UserSession; +@class GTLRPaymentsResellerSubscription_YoutubePayload; // Generated comments include content from the discovery document; avoid them // causing warnings since clang's checks are some what arbitrary. @@ -56,108 +56,108 @@ NS_ASSUME_NONNULL_BEGIN // Constants - For some of the classes' properties below. // ---------------------------------------------------------------------------- -// GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1CancelSubscriptionRequest.cancellationReason +// GTLRPaymentsResellerSubscription_CancelSubscriptionRequest.cancellationReason /** * Accidential purchase. * * Value: "CANCELLATION_REASON_ACCIDENTAL_PURCHASE" */ -FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1CancelSubscriptionRequest_CancellationReason_CancellationReasonAccidentalPurchase; +FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_CancelSubscriptionRequest_CancellationReason_CancellationReasonAccidentalPurchase; /** * Used for notification only, do not use in Cancel API. User account closed. * * Value: "CANCELLATION_REASON_ACCOUNT_CLOSED" */ -FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1CancelSubscriptionRequest_CancellationReason_CancellationReasonAccountClosed; +FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_CancelSubscriptionRequest_CancellationReason_CancellationReasonAccountClosed; /** * Fraudualant transaction. * * Value: "CANCELLATION_REASON_FRAUD" */ -FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1CancelSubscriptionRequest_CancellationReason_CancellationReasonFraud; +FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_CancelSubscriptionRequest_CancellationReason_CancellationReasonFraud; /** * Other reason. * * Value: "CANCELLATION_REASON_OTHER" */ -FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1CancelSubscriptionRequest_CancellationReason_CancellationReasonOther; +FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_CancelSubscriptionRequest_CancellationReason_CancellationReasonOther; /** * Payment is past due. * * Value: "CANCELLATION_REASON_PAST_DUE" */ -FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1CancelSubscriptionRequest_CancellationReason_CancellationReasonPastDue; +FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_CancelSubscriptionRequest_CancellationReason_CancellationReasonPastDue; /** * Buyer's remorse. * * Value: "CANCELLATION_REASON_REMORSE" */ -FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1CancelSubscriptionRequest_CancellationReason_CancellationReasonRemorse; +FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_CancelSubscriptionRequest_CancellationReason_CancellationReasonRemorse; /** * Used for notification only, do not use in Cancel API. The subscription is * cancelled by Google automatically since it is no longer valid. * * Value: "CANCELLATION_REASON_SYSTEM_CANCEL" */ -FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1CancelSubscriptionRequest_CancellationReason_CancellationReasonSystemCancel; +FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_CancelSubscriptionRequest_CancellationReason_CancellationReasonSystemCancel; /** * Used for notification only, do not use in Cancel API. Cancellation due to an * unrecoverable system error. * * Value: "CANCELLATION_REASON_SYSTEM_ERROR" */ -FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1CancelSubscriptionRequest_CancellationReason_CancellationReasonSystemError; +FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_CancelSubscriptionRequest_CancellationReason_CancellationReasonSystemError; /** * Reason is unspecified. Should not be used. * * Value: "CANCELLATION_REASON_UNSPECIFIED" */ -FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1CancelSubscriptionRequest_CancellationReason_CancellationReasonUnspecified; +FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_CancelSubscriptionRequest_CancellationReason_CancellationReasonUnspecified; /** * Used for notification only, do not use in Cancel API. Cancellation due to * upgrade or downgrade. * * Value: "CANCELLATION_REASON_UPGRADE_DOWNGRADE" */ -FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1CancelSubscriptionRequest_CancellationReason_CancellationReasonUpgradeDowngrade; +FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_CancelSubscriptionRequest_CancellationReason_CancellationReasonUpgradeDowngrade; /** * Cancellation due to user delinquency * * Value: "CANCELLATION_REASON_USER_DELINQUENCY" */ -FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1CancelSubscriptionRequest_CancellationReason_CancellationReasonUserDelinquency; +FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_CancelSubscriptionRequest_CancellationReason_CancellationReasonUserDelinquency; // ---------------------------------------------------------------------------- -// GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Duration.unit +// GTLRPaymentsResellerSubscription_Duration.unit /** * Unit of a day. * * Value: "DAY" */ -FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Duration_Unit_Day; +FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_Duration_Unit_Day; /** * Unit of an hour. It is used for testing. * * Value: "HOUR" */ -FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Duration_Unit_Hour; +FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_Duration_Unit_Hour; /** * Unit of a calendar month. * * Value: "MONTH" */ -FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Duration_Unit_Month; +FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_Duration_Unit_Month; /** * Default value, reserved as an invalid or an unexpected value. * * Value: "UNIT_UNSPECIFIED" */ -FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Duration_Unit_UnitUnspecified; +FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_Duration_Unit_UnitUnspecified; // ---------------------------------------------------------------------------- -// GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1GoogleOnePayload.offering +// GTLRPaymentsResellerSubscription_GoogleOnePayload.offering /** * Product purchased as part of a hard bundle where Google One was included @@ -165,20 +165,20 @@ FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_GoogleCloud * * Value: "OFFERING_HARD_BUNDLE" */ -FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1GoogleOnePayload_Offering_OfferingHardBundle; +FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_GoogleOnePayload_Offering_OfferingHardBundle; /** * Purchased as part of a bundle where Google One was provided as an option. * Google One pricing is included in the bundle. * * Value: "OFFERING_SOFT_BUNDLE" */ -FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1GoogleOnePayload_Offering_OfferingSoftBundle; +FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_GoogleOnePayload_Offering_OfferingSoftBundle; /** * The type of partner offering is unspecified. * * Value: "OFFERING_UNSPECIFIED" */ -FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1GoogleOnePayload_Offering_OfferingUnspecified; +FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_GoogleOnePayload_Offering_OfferingUnspecified; /** * Google One product purchased as a Value added service in addition to * existing partner's products. Customer pays additional amount for Google One @@ -186,51 +186,51 @@ FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_GoogleCloud * * Value: "OFFERING_VAS_BUNDLE" */ -FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1GoogleOnePayload_Offering_OfferingVasBundle; +FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_GoogleOnePayload_Offering_OfferingVasBundle; /** * Google One product purchased by itself by customer as a value add service. * Customer pays additional amount for Google One product. * * Value: "OFFERING_VAS_STANDALONE" */ -FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1GoogleOnePayload_Offering_OfferingVasStandalone; +FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_GoogleOnePayload_Offering_OfferingVasStandalone; // ---------------------------------------------------------------------------- -// GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1GoogleOnePayload.salesChannel +// GTLRPaymentsResellerSubscription_GoogleOnePayload.salesChannel /** * Sold through partner android app. * * Value: "CHANNEL_ONLINE_ANDROID_APP" */ -FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1GoogleOnePayload_SalesChannel_ChannelOnlineAndroidApp; +FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_GoogleOnePayload_SalesChannel_ChannelOnlineAndroidApp; /** * Sold through partner iOS app. * * Value: "CHANNEL_ONLINE_IOS_APP" */ -FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1GoogleOnePayload_SalesChannel_ChannelOnlineIosApp; +FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_GoogleOnePayload_SalesChannel_ChannelOnlineIosApp; /** * Sold through partner website. * * Value: "CHANNEL_ONLINE_WEB" */ -FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1GoogleOnePayload_SalesChannel_ChannelOnlineWeb; +FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_GoogleOnePayload_SalesChannel_ChannelOnlineWeb; /** * Sold at store. * * Value: "CHANNEL_RETAIL" */ -FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1GoogleOnePayload_SalesChannel_ChannelRetail; +FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_GoogleOnePayload_SalesChannel_ChannelRetail; /** * The channel type is unspecified. * * Value: "CHANNEL_UNSPECIFIED" */ -FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1GoogleOnePayload_SalesChannel_ChannelUnspecified; +FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_GoogleOnePayload_SalesChannel_ChannelUnspecified; // ---------------------------------------------------------------------------- -// GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Product.productType +// GTLRPaymentsResellerSubscription_Product.productType /** * The product is a bundled subscription plan, which includes multiple @@ -238,92 +238,114 @@ FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_GoogleCloud * * Value: "PRODUCT_TYPE_BUNDLE_SUBSCRIPTION" */ -FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Product_ProductType_ProductTypeBundleSubscription; +FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_Product_ProductType_ProductTypeBundleSubscription; /** * The product is a subscription. * * Value: "PRODUCT_TYPE_SUBSCRIPTION" */ -FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Product_ProductType_ProductTypeSubscription; +FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_Product_ProductType_ProductTypeSubscription; /** * Unspecified. It's reserved as an unexpected value, should not be used. * * Value: "PRODUCT_TYPE_UNSPECIFIED" */ -FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Product_ProductType_ProductTypeUnspecified; +FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_Product_ProductType_ProductTypeUnspecified; // ---------------------------------------------------------------------------- -// GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Promotion.promotionType +// GTLRPaymentsResellerSubscription_ProductBundleDetails.entitlementMode + +/** + * All the bundle elements must be fully activated in a single request. + * + * Value: "ENTITLEMENT_MODE_FULL" + */ +FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_ProductBundleDetails_EntitlementMode_EntitlementModeFull; +/** + * The bundle elements could be incrementally activated. + * + * Value: "ENTITLEMENT_MODE_INCREMENTAL" + */ +FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_ProductBundleDetails_EntitlementMode_EntitlementModeIncremental; +/** + * Unspecified. It's reserved as an unexpected value, should not be used. + * + * Value: "ENTITLEMENT_MODE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_ProductBundleDetails_EntitlementMode_EntitlementModeUnspecified; + +// ---------------------------------------------------------------------------- +// GTLRPaymentsResellerSubscription_Promotion.promotionType /** * The promotion is a free trial. * * Value: "PROMOTION_TYPE_FREE_TRIAL" */ -FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Promotion_PromotionType_PromotionTypeFreeTrial; +FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_Promotion_PromotionType_PromotionTypeFreeTrial; /** * The promotion is a reduced introductory pricing. * * Value: "PROMOTION_TYPE_INTRODUCTORY_PRICING" */ -FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Promotion_PromotionType_PromotionTypeIntroductoryPricing; +FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_Promotion_PromotionType_PromotionTypeIntroductoryPricing; /** * The promotion type is unspecified. * * Value: "PROMOTION_TYPE_UNSPECIFIED" */ -FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Promotion_PromotionType_PromotionTypeUnspecified; +FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_Promotion_PromotionType_PromotionTypeUnspecified; // ---------------------------------------------------------------------------- -// GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Subscription.processingState +// GTLRPaymentsResellerSubscription_Subscription.processingState /** * The subscription is being cancelled. * * Value: "PROCESSING_STATE_CANCELLING" */ -FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Subscription_ProcessingState_ProcessingStateCancelling; +FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_Subscription_ProcessingState_ProcessingStateCancelling; /** * The subscription is recurring. * * Value: "PROCESSING_STATE_RECURRING" */ -FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Subscription_ProcessingState_ProcessingStateRecurring; +FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_Subscription_ProcessingState_ProcessingStateRecurring; /** * The processing state is unspecified. * * Value: "PROCESSING_STATE_UNSPECIFIED" */ -FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Subscription_ProcessingState_ProcessingStateUnspecified; +FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_Subscription_ProcessingState_ProcessingStateUnspecified; // ---------------------------------------------------------------------------- -// GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Subscription.state +// GTLRPaymentsResellerSubscription_Subscription.state /** * The subscription is active. * * Value: "STATE_ACTIVE" */ -FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Subscription_State_StateActive; +FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_Subscription_State_StateActive; /** * The subscription is waiting to be cancelled by the next recurrence cycle. * * Value: "STATE_CANCEL_AT_END_OF_CYCLE" */ -FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Subscription_State_StateCancelAtEndOfCycle; +FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_Subscription_State_StateCancelAtEndOfCycle; /** * The subscription is cancelled. This is the final state of the subscription, * as it can no longer be modified or reactivated. * * Value: "STATE_CANCELLED" */ -FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Subscription_State_StateCancelled; +FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_Subscription_State_StateCancelled; /** * The subscription is created, a state before it is moved to STATE_ACTIVE. * * Value: "STATE_CREATED" */ -FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Subscription_State_StateCreated; +FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_Subscription_State_StateCreated; /** * The subscription is in grace period. It can happen: 1) in manual extend * mode, the subscription is not extended by the partner at the end of current @@ -332,117 +354,117 @@ FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_GoogleCloud * * Value: "STATE_IN_GRACE_PERIOD" */ -FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Subscription_State_StateInGracePeriod; +FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_Subscription_State_StateInGracePeriod; /** * The subscription is suspended. * * Value: "STATE_SUSPENDED" */ -FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Subscription_State_StateSuspended; +FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_Subscription_State_StateSuspended; /** * The state is unspecified. * * Value: "STATE_UNSPECIFIED" */ -FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Subscription_State_StateUnspecified; +FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_Subscription_State_StateUnspecified; // ---------------------------------------------------------------------------- -// GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionCancellationDetails.reason +// GTLRPaymentsResellerSubscription_SubscriptionCancellationDetails.reason /** * Accidential purchase. * * Value: "CANCELLATION_REASON_ACCIDENTAL_PURCHASE" */ -FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionCancellationDetails_Reason_CancellationReasonAccidentalPurchase; +FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_SubscriptionCancellationDetails_Reason_CancellationReasonAccidentalPurchase; /** * Used for notification only, do not use in Cancel API. User account closed. * * Value: "CANCELLATION_REASON_ACCOUNT_CLOSED" */ -FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionCancellationDetails_Reason_CancellationReasonAccountClosed; +FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_SubscriptionCancellationDetails_Reason_CancellationReasonAccountClosed; /** * Fraudualant transaction. * * Value: "CANCELLATION_REASON_FRAUD" */ -FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionCancellationDetails_Reason_CancellationReasonFraud; +FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_SubscriptionCancellationDetails_Reason_CancellationReasonFraud; /** * Other reason. * * Value: "CANCELLATION_REASON_OTHER" */ -FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionCancellationDetails_Reason_CancellationReasonOther; +FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_SubscriptionCancellationDetails_Reason_CancellationReasonOther; /** * Payment is past due. * * Value: "CANCELLATION_REASON_PAST_DUE" */ -FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionCancellationDetails_Reason_CancellationReasonPastDue; +FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_SubscriptionCancellationDetails_Reason_CancellationReasonPastDue; /** * Buyer's remorse. * * Value: "CANCELLATION_REASON_REMORSE" */ -FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionCancellationDetails_Reason_CancellationReasonRemorse; +FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_SubscriptionCancellationDetails_Reason_CancellationReasonRemorse; /** * Used for notification only, do not use in Cancel API. The subscription is * cancelled by Google automatically since it is no longer valid. * * Value: "CANCELLATION_REASON_SYSTEM_CANCEL" */ -FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionCancellationDetails_Reason_CancellationReasonSystemCancel; +FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_SubscriptionCancellationDetails_Reason_CancellationReasonSystemCancel; /** * Used for notification only, do not use in Cancel API. Cancellation due to an * unrecoverable system error. * * Value: "CANCELLATION_REASON_SYSTEM_ERROR" */ -FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionCancellationDetails_Reason_CancellationReasonSystemError; +FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_SubscriptionCancellationDetails_Reason_CancellationReasonSystemError; /** * Reason is unspecified. Should not be used. * * Value: "CANCELLATION_REASON_UNSPECIFIED" */ -FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionCancellationDetails_Reason_CancellationReasonUnspecified; +FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_SubscriptionCancellationDetails_Reason_CancellationReasonUnspecified; /** * Used for notification only, do not use in Cancel API. Cancellation due to * upgrade or downgrade. * * Value: "CANCELLATION_REASON_UPGRADE_DOWNGRADE" */ -FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionCancellationDetails_Reason_CancellationReasonUpgradeDowngrade; +FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_SubscriptionCancellationDetails_Reason_CancellationReasonUpgradeDowngrade; /** * Cancellation due to user delinquency * * Value: "CANCELLATION_REASON_USER_DELINQUENCY" */ -FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionCancellationDetails_Reason_CancellationReasonUserDelinquency; +FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_SubscriptionCancellationDetails_Reason_CancellationReasonUserDelinquency; // ---------------------------------------------------------------------------- -// GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionLineItem.recurrenceType +// GTLRPaymentsResellerSubscription_SubscriptionLineItem.recurrenceType /** * The line item does not recur in the future. * * Value: "LINE_ITEM_RECURRENCE_TYPE_ONE_TIME" */ -FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionLineItem_RecurrenceType_LineItemRecurrenceTypeOneTime; +FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_SubscriptionLineItem_RecurrenceType_LineItemRecurrenceTypeOneTime; /** * The line item recurs periodically. * * Value: "LINE_ITEM_RECURRENCE_TYPE_PERIODIC" */ -FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionLineItem_RecurrenceType_LineItemRecurrenceTypePeriodic; +FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_SubscriptionLineItem_RecurrenceType_LineItemRecurrenceTypePeriodic; /** * The line item recurrence type is unspecified. * * Value: "LINE_ITEM_RECURRENCE_TYPE_UNSPECIFIED" */ -FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionLineItem_RecurrenceType_LineItemRecurrenceTypeUnspecified; +FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_SubscriptionLineItem_RecurrenceType_LineItemRecurrenceTypeUnspecified; // ---------------------------------------------------------------------------- -// GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionLineItem.state +// GTLRPaymentsResellerSubscription_SubscriptionLineItem.state /** * The line item is being activated in order to be charged. If a free trial @@ -452,7 +474,7 @@ FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_GoogleCloud * * Value: "LINE_ITEM_STATE_ACTIVATING" */ -FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionLineItem_State_LineItemStateActivating; +FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_SubscriptionLineItem_State_LineItemStateActivating; /** * The line item is in ACTIVE state. If the subscription is cancelled or * suspended, the line item will not be charged even if the line item is @@ -460,70 +482,70 @@ FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_GoogleCloud * * Value: "LINE_ITEM_STATE_ACTIVE" */ -FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionLineItem_State_LineItemStateActive; +FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_SubscriptionLineItem_State_LineItemStateActive; /** * The line item is being deactivated, and a prorated refund in being * processed. * * Value: "LINE_ITEM_STATE_DEACTIVATING" */ -FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionLineItem_State_LineItemStateDeactivating; +FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_SubscriptionLineItem_State_LineItemStateDeactivating; /** * The line item is in INACTIVE state. * * Value: "LINE_ITEM_STATE_INACTIVE" */ -FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionLineItem_State_LineItemStateInactive; +FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_SubscriptionLineItem_State_LineItemStateInactive; /** * The line item is new, and is not activated or charged yet. * * Value: "LINE_ITEM_STATE_NEW" */ -FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionLineItem_State_LineItemStateNew; +FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_SubscriptionLineItem_State_LineItemStateNew; /** * Line item is being charged off-cycle. * * Value: "LINE_ITEM_STATE_OFF_CYCLE_CHARGING" */ -FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionLineItem_State_LineItemStateOffCycleCharging; +FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_SubscriptionLineItem_State_LineItemStateOffCycleCharging; /** * Unspecified state. * * Value: "LINE_ITEM_STATE_UNSPECIFIED" */ -FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionLineItem_State_LineItemStateUnspecified; +FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_SubscriptionLineItem_State_LineItemStateUnspecified; /** * The line item is scheduled to be deactivated at the end of the current * cycle. * * Value: "LINE_ITEM_STATE_WAITING_TO_DEACTIVATE" */ -FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionLineItem_State_LineItemStateWaitingToDeactivate; +FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_SubscriptionLineItem_State_LineItemStateWaitingToDeactivate; // ---------------------------------------------------------------------------- -// GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionPromotionSpec.type +// GTLRPaymentsResellerSubscription_SubscriptionPromotionSpec.type /** * The promotion is a free trial. * * Value: "PROMOTION_TYPE_FREE_TRIAL" */ -FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionPromotionSpec_Type_PromotionTypeFreeTrial; +FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_SubscriptionPromotionSpec_Type_PromotionTypeFreeTrial; /** * The promotion is a reduced introductory pricing. * * Value: "PROMOTION_TYPE_INTRODUCTORY_PRICING" */ -FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionPromotionSpec_Type_PromotionTypeIntroductoryPricing; +FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_SubscriptionPromotionSpec_Type_PromotionTypeIntroductoryPricing; /** * The promotion type is unspecified. * * Value: "PROMOTION_TYPE_UNSPECIFIED" */ -FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionPromotionSpec_Type_PromotionTypeUnspecified; +FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_SubscriptionPromotionSpec_Type_PromotionTypeUnspecified; // ---------------------------------------------------------------------------- -// GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionUpgradeDowngradeDetails.billingCycleSpec +// GTLRPaymentsResellerSubscription_SubscriptionUpgradeDowngradeDetails.billingCycleSpec /** * The billing cycle of the new subscription starts immediately but aligns with @@ -532,29 +554,29 @@ FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_GoogleCloud * * Value: "BILLING_CYCLE_SPEC_ALIGN_WITH_PREVIOUS_SUBSCRIPTION" */ -FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionUpgradeDowngradeDetails_BillingCycleSpec_BillingCycleSpecAlignWithPreviousSubscription; +FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_SubscriptionUpgradeDowngradeDetails_BillingCycleSpec_BillingCycleSpecAlignWithPreviousSubscription; /** * The billing cycle starts at the end of the previous subscription's billing * cycle and aligns with the previous subscription's billing cycle. * * Value: "BILLING_CYCLE_SPEC_DEFERRED_TO_NEXT_RECURRENCE" */ -FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionUpgradeDowngradeDetails_BillingCycleSpec_BillingCycleSpecDeferredToNextRecurrence; +FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_SubscriptionUpgradeDowngradeDetails_BillingCycleSpec_BillingCycleSpecDeferredToNextRecurrence; /** * The billing cycle of the new subscription starts immediately. * * Value: "BILLING_CYCLE_SPEC_START_IMMEDIATELY" */ -FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionUpgradeDowngradeDetails_BillingCycleSpec_BillingCycleSpecStartImmediately; +FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_SubscriptionUpgradeDowngradeDetails_BillingCycleSpec_BillingCycleSpecStartImmediately; /** * Billing cycle spec is not specified. * * Value: "BILLING_CYCLE_SPEC_UNSPECIFIED" */ -FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionUpgradeDowngradeDetails_BillingCycleSpec_BillingCycleSpecUnspecified; +FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_SubscriptionUpgradeDowngradeDetails_BillingCycleSpec_BillingCycleSpecUnspecified; // ---------------------------------------------------------------------------- -// GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1YoutubePayload.partnerPlanType +// GTLRPaymentsResellerSubscription_YoutubePayload.partnerPlanType /** * This item is bundled with another partner offering, the item is provisioned @@ -562,53 +584,31 @@ FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_GoogleCloud * * Value: "PARTNER_PLAN_TYPE_HARD_BUNDLE" */ -FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1YoutubePayload_PartnerPlanType_PartnerPlanTypeHardBundle; +FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_YoutubePayload_PartnerPlanType_PartnerPlanTypeHardBundle; /** * This item is bundled with another partner offering, the item is provisioned * after puchase, when the user opts in this Google service. * * Value: "PARTNER_PLAN_TYPE_SOFT_BUNDLE" */ -FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1YoutubePayload_PartnerPlanType_PartnerPlanTypeSoftBundle; +FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_YoutubePayload_PartnerPlanType_PartnerPlanTypeSoftBundle; /** * This item is offered as a standalone product to the user. * * Value: "PARTNER_PLAN_TYPE_STANDALONE" */ -FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1YoutubePayload_PartnerPlanType_PartnerPlanTypeStandalone; +FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_YoutubePayload_PartnerPlanType_PartnerPlanTypeStandalone; /** * Unspecified. Should not use, reserved as an invalid value. * * Value: "PARTNER_PLAN_TYPE_UNSPECIFIED" */ -FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1YoutubePayload_PartnerPlanType_PartnerPlanTypeUnspecified; - -// ---------------------------------------------------------------------------- -// GTLRPaymentsResellerSubscription_ProductBundleDetails.entitlementMode - -/** - * All the bundle elements must be fully activated in a single request. - * - * Value: "ENTITLEMENT_MODE_FULL" - */ -FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_ProductBundleDetails_EntitlementMode_EntitlementModeFull; -/** - * The bundle elements could be incrementally activated. - * - * Value: "ENTITLEMENT_MODE_INCREMENTAL" - */ -FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_ProductBundleDetails_EntitlementMode_EntitlementModeIncremental; -/** - * Unspecified. It's reserved as an unexpected value, should not be used. - * - * Value: "ENTITLEMENT_MODE_UNSPECIFIED" - */ -FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_ProductBundleDetails_EntitlementMode_EntitlementModeUnspecified; +FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_YoutubePayload_PartnerPlanType_PartnerPlanTypeUnspecified; /** * Describes the amount unit including the currency code. */ -@interface GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Amount : GTLRObject +@interface GTLRPaymentsResellerSubscription_Amount : GTLRObject /** * Required. Amount in micros (1_000_000 micros = 1 currency unit) @@ -629,7 +629,7 @@ FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_ProductBund /** * Request to cancel a subscription. */ -@interface GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1CancelSubscriptionRequest : GTLRObject +@interface GTLRPaymentsResellerSubscription_CancelSubscriptionRequest : GTLRObject /** * Optional. If true, Google will cancel the subscription immediately, and may @@ -647,36 +647,36 @@ FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_ProductBund * Specifies the reason for the cancellation. * * Likely values: - * @arg @c kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1CancelSubscriptionRequest_CancellationReason_CancellationReasonAccidentalPurchase + * @arg @c kGTLRPaymentsResellerSubscription_CancelSubscriptionRequest_CancellationReason_CancellationReasonAccidentalPurchase * Accidential purchase. (Value: * "CANCELLATION_REASON_ACCIDENTAL_PURCHASE") - * @arg @c kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1CancelSubscriptionRequest_CancellationReason_CancellationReasonAccountClosed + * @arg @c kGTLRPaymentsResellerSubscription_CancelSubscriptionRequest_CancellationReason_CancellationReasonAccountClosed * Used for notification only, do not use in Cancel API. User account * closed. (Value: "CANCELLATION_REASON_ACCOUNT_CLOSED") - * @arg @c kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1CancelSubscriptionRequest_CancellationReason_CancellationReasonFraud + * @arg @c kGTLRPaymentsResellerSubscription_CancelSubscriptionRequest_CancellationReason_CancellationReasonFraud * Fraudualant transaction. (Value: "CANCELLATION_REASON_FRAUD") - * @arg @c kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1CancelSubscriptionRequest_CancellationReason_CancellationReasonOther + * @arg @c kGTLRPaymentsResellerSubscription_CancelSubscriptionRequest_CancellationReason_CancellationReasonOther * Other reason. (Value: "CANCELLATION_REASON_OTHER") - * @arg @c kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1CancelSubscriptionRequest_CancellationReason_CancellationReasonPastDue + * @arg @c kGTLRPaymentsResellerSubscription_CancelSubscriptionRequest_CancellationReason_CancellationReasonPastDue * Payment is past due. (Value: "CANCELLATION_REASON_PAST_DUE") - * @arg @c kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1CancelSubscriptionRequest_CancellationReason_CancellationReasonRemorse + * @arg @c kGTLRPaymentsResellerSubscription_CancelSubscriptionRequest_CancellationReason_CancellationReasonRemorse * Buyer's remorse. (Value: "CANCELLATION_REASON_REMORSE") - * @arg @c kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1CancelSubscriptionRequest_CancellationReason_CancellationReasonSystemCancel + * @arg @c kGTLRPaymentsResellerSubscription_CancelSubscriptionRequest_CancellationReason_CancellationReasonSystemCancel * Used for notification only, do not use in Cancel API. The subscription * is cancelled by Google automatically since it is no longer valid. * (Value: "CANCELLATION_REASON_SYSTEM_CANCEL") - * @arg @c kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1CancelSubscriptionRequest_CancellationReason_CancellationReasonSystemError + * @arg @c kGTLRPaymentsResellerSubscription_CancelSubscriptionRequest_CancellationReason_CancellationReasonSystemError * Used for notification only, do not use in Cancel API. Cancellation due * to an unrecoverable system error. (Value: * "CANCELLATION_REASON_SYSTEM_ERROR") - * @arg @c kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1CancelSubscriptionRequest_CancellationReason_CancellationReasonUnspecified + * @arg @c kGTLRPaymentsResellerSubscription_CancelSubscriptionRequest_CancellationReason_CancellationReasonUnspecified * Reason is unspecified. Should not be used. (Value: * "CANCELLATION_REASON_UNSPECIFIED") - * @arg @c kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1CancelSubscriptionRequest_CancellationReason_CancellationReasonUpgradeDowngrade + * @arg @c kGTLRPaymentsResellerSubscription_CancelSubscriptionRequest_CancellationReason_CancellationReasonUpgradeDowngrade * Used for notification only, do not use in Cancel API. Cancellation due * to upgrade or downgrade. (Value: * "CANCELLATION_REASON_UPGRADE_DOWNGRADE") - * @arg @c kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1CancelSubscriptionRequest_CancellationReason_CancellationReasonUserDelinquency + * @arg @c kGTLRPaymentsResellerSubscription_CancelSubscriptionRequest_CancellationReason_CancellationReasonUserDelinquency * Cancellation due to user delinquency (Value: * "CANCELLATION_REASON_USER_DELINQUENCY") */ @@ -688,10 +688,10 @@ FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_ProductBund /** * Response that contains the cancelled subscription resource. */ -@interface GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1CancelSubscriptionResponse : GTLRObject +@interface GTLRPaymentsResellerSubscription_CancelSubscriptionResponse : GTLRObject /** The cancelled subscription resource. */ -@property(nonatomic, strong, nullable) GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Subscription *subscription; +@property(nonatomic, strong, nullable) GTLRPaymentsResellerSubscription_Subscription *subscription; @end @@ -699,7 +699,7 @@ FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_ProductBund /** * Intent message for creating a Subscription resource. */ -@interface GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1CreateSubscriptionIntent : GTLRObject +@interface GTLRPaymentsResellerSubscription_CreateSubscriptionIntent : GTLRObject /** * Required. The parent resource name, which is the identifier of the partner. @@ -707,7 +707,7 @@ FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_ProductBund @property(nonatomic, copy, nullable) NSString *parent; /** Required. The Subscription to be created. */ -@property(nonatomic, strong, nullable) GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Subscription *subscription; +@property(nonatomic, strong, nullable) GTLRPaymentsResellerSubscription_Subscription *subscription; /** * Required. Identifies the subscription resource on the Partner side. The @@ -723,7 +723,7 @@ FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_ProductBund /** * Describes the length of a period of a time. */ -@interface GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Duration : GTLRObject +@interface GTLRPaymentsResellerSubscription_Duration : GTLRObject /** * number of duration units to be included. @@ -736,13 +736,13 @@ FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_ProductBund * The unit used for the duration * * Likely values: - * @arg @c kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Duration_Unit_Day - * Unit of a day. (Value: "DAY") - * @arg @c kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Duration_Unit_Hour - * Unit of an hour. It is used for testing. (Value: "HOUR") - * @arg @c kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Duration_Unit_Month - * Unit of a calendar month. (Value: "MONTH") - * @arg @c kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Duration_Unit_UnitUnspecified + * @arg @c kGTLRPaymentsResellerSubscription_Duration_Unit_Day Unit of a day. + * (Value: "DAY") + * @arg @c kGTLRPaymentsResellerSubscription_Duration_Unit_Hour Unit of an + * hour. It is used for testing. (Value: "HOUR") + * @arg @c kGTLRPaymentsResellerSubscription_Duration_Unit_Month Unit of a + * calendar month. (Value: "MONTH") + * @arg @c kGTLRPaymentsResellerSubscription_Duration_Unit_UnitUnspecified * Default value, reserved as an invalid or an unexpected value. (Value: * "UNIT_UNSPECIFIED") */ @@ -754,7 +754,7 @@ FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_ProductBund /** * Intent for entitling the previously provisioned subscription to an end user. */ -@interface GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1EntitleSubscriptionIntent : GTLRObject +@interface GTLRPaymentsResellerSubscription_EntitleSubscriptionIntent : GTLRObject /** * Required. The name of the subscription resource that is entitled to the @@ -770,13 +770,13 @@ FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_ProductBund * Partner request for entitling the previously provisioned subscription to an * end user. The end user identity is inferred from the request OAuth context. */ -@interface GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1EntitleSubscriptionRequest : GTLRObject +@interface GTLRPaymentsResellerSubscription_EntitleSubscriptionRequest : GTLRObject /** * Optional. The line items to be entitled. If unspecified, all line items will * be entitled. */ -@property(nonatomic, strong, nullable) NSArray *lineItemEntitlementDetails; +@property(nonatomic, strong, nullable) NSArray *lineItemEntitlementDetails; @end @@ -784,7 +784,7 @@ FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_ProductBund /** * The details of the line item to be entitled. */ -@interface GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1EntitleSubscriptionRequestLineItemEntitlementDetails : GTLRObject +@interface GTLRPaymentsResellerSubscription_EntitleSubscriptionRequestLineItemEntitlementDetails : GTLRObject /** * Required. The index of the line item to be entitled. @@ -807,10 +807,10 @@ FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_ProductBund /** * Response that contains the entitled subscription resource. */ -@interface GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1EntitleSubscriptionResponse : GTLRObject +@interface GTLRPaymentsResellerSubscription_EntitleSubscriptionResponse : GTLRObject /** The subscription that has user linked to it. */ -@property(nonatomic, strong, nullable) GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Subscription *subscription; +@property(nonatomic, strong, nullable) GTLRPaymentsResellerSubscription_Subscription *subscription; @end @@ -819,13 +819,13 @@ FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_ProductBund * Request message for extending a Subscription resource. A new recurrence will * be made based on the subscription schedule defined by the original product. */ -@interface GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1ExtendSubscriptionRequest : GTLRObject +@interface GTLRPaymentsResellerSubscription_ExtendSubscriptionRequest : GTLRObject /** * Required. Specifies details of the extension. Currently, the duration of the * extension must be exactly one billing cycle of the original subscription. */ -@property(nonatomic, strong, nullable) GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Extension *extension; +@property(nonatomic, strong, nullable) GTLRPaymentsResellerSubscription_Extension *extension; /** * Required. Restricted to 36 ASCII characters. A random UUID is recommended. @@ -842,7 +842,7 @@ FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_ProductBund /** * Response that contains the timestamps after the extension. */ -@interface GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1ExtendSubscriptionResponse : GTLRObject +@interface GTLRPaymentsResellerSubscription_ExtendSubscriptionResponse : GTLRObject /** * The time at which the subscription is expected to be extended, in ISO 8061 @@ -873,10 +873,10 @@ FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_ProductBund /** * Describes the details of an extension request. */ -@interface GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Extension : GTLRObject +@interface GTLRPaymentsResellerSubscription_Extension : GTLRObject /** Required. Specifies the period of access the subscription should grant. */ -@property(nonatomic, strong, nullable) GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Duration *duration; +@property(nonatomic, strong, nullable) GTLRPaymentsResellerSubscription_Duration *duration; /** Required. Identifier of the end-user in partner’s system. */ @property(nonatomic, copy, nullable) NSString *partnerUserToken; @@ -887,7 +887,7 @@ FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_ProductBund /** * Request to find eligible promotions for the current user. */ -@interface GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1FindEligiblePromotionsRequest : GTLRObject +@interface GTLRPaymentsResellerSubscription_FindEligiblePromotionsRequest : GTLRObject /** * Optional. Specifies the filters for the promotion results. The syntax is @@ -932,7 +932,7 @@ FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_ProductBund * should support automatic pagination (when @c shouldFetchNextPages is * enabled). */ -@interface GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1FindEligiblePromotionsResponse : GTLRCollectionObject +@interface GTLRPaymentsResellerSubscription_FindEligiblePromotionsResponse : GTLRCollectionObject /** * A token, which can be sent as `page_token` to retrieve the next page. If @@ -946,7 +946,7 @@ FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_ProductBund * @note This property is used to support NSFastEnumeration and indexed * subscripting on this class. */ -@property(nonatomic, strong, nullable) NSArray *promotions; +@property(nonatomic, strong, nullable) NSArray *promotions; @end @@ -954,7 +954,7 @@ FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_ProductBund /** * Details for a subscriptiin line item with finite billing cycles. */ -@interface GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1FiniteBillingCycleDetails : GTLRObject +@interface GTLRPaymentsResellerSubscription_FiniteBillingCycleDetails : GTLRObject /** * Required. The number of a subscription line item billing cycles after which @@ -970,10 +970,10 @@ FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_ProductBund /** * Request to generate a user session. */ -@interface GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1GenerateUserSessionRequest : GTLRObject +@interface GTLRPaymentsResellerSubscription_GenerateUserSessionRequest : GTLRObject /** The user intent to generate the user session. */ -@property(nonatomic, strong, nullable) GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1IntentPayload *intentPayload; +@property(nonatomic, strong, nullable) GTLRPaymentsResellerSubscription_IntentPayload *intentPayload; @end @@ -981,13 +981,13 @@ FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_ProductBund /** * Response that contains the details for generated user session. */ -@interface GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1GenerateUserSessionResponse : GTLRObject +@interface GTLRPaymentsResellerSubscription_GenerateUserSessionResponse : GTLRObject /** * The generated user session. The token size is proportional to the size of * the intent payload. */ -@property(nonatomic, strong, nullable) GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1UserSession *userSession; +@property(nonatomic, strong, nullable) GTLRPaymentsResellerSubscription_UserSession *userSession; @end @@ -995,7 +995,7 @@ FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_ProductBund /** * Payload specific for Google Home products. */ -@interface GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1GoogleHomePayload : GTLRObject +@interface GTLRPaymentsResellerSubscription_GoogleHomePayload : GTLRObject /** * Output only. This identifies whether the subscription is attached to a @@ -1005,6 +1005,9 @@ FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_ProductBund */ @property(nonatomic, strong, nullable) NSNumber *attachedToGoogleStructure; +/** Optional. Structure identifier on Google side. */ +@property(nonatomic, copy, nullable) NSString *googleStructureId; + /** * Optional. This identifies the structure ID on partner side that the * subscription should be applied to. Only required when the partner requires @@ -1018,7 +1021,7 @@ FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_ProductBund /** * Payload specific to Google One products. */ -@interface GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1GoogleOnePayload : GTLRObject +@interface GTLRPaymentsResellerSubscription_GoogleOnePayload : GTLRObject /** Campaign attributed to sales of this subscription. */ @property(nonatomic, strong, nullable) NSArray *campaigns; @@ -1027,22 +1030,22 @@ FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_ProductBund * The type of offering the subscription was sold by the partner. e.g. VAS. * * Likely values: - * @arg @c kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1GoogleOnePayload_Offering_OfferingHardBundle + * @arg @c kGTLRPaymentsResellerSubscription_GoogleOnePayload_Offering_OfferingHardBundle * Product purchased as part of a hard bundle where Google One was * included with the bundle. Google One pricing is included in the * bundle. (Value: "OFFERING_HARD_BUNDLE") - * @arg @c kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1GoogleOnePayload_Offering_OfferingSoftBundle + * @arg @c kGTLRPaymentsResellerSubscription_GoogleOnePayload_Offering_OfferingSoftBundle * Purchased as part of a bundle where Google One was provided as an * option. Google One pricing is included in the bundle. (Value: * "OFFERING_SOFT_BUNDLE") - * @arg @c kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1GoogleOnePayload_Offering_OfferingUnspecified + * @arg @c kGTLRPaymentsResellerSubscription_GoogleOnePayload_Offering_OfferingUnspecified * The type of partner offering is unspecified. (Value: * "OFFERING_UNSPECIFIED") - * @arg @c kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1GoogleOnePayload_Offering_OfferingVasBundle + * @arg @c kGTLRPaymentsResellerSubscription_GoogleOnePayload_Offering_OfferingVasBundle * Google One product purchased as a Value added service in addition to * existing partner's products. Customer pays additional amount for * Google One product. (Value: "OFFERING_VAS_BUNDLE") - * @arg @c kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1GoogleOnePayload_Offering_OfferingVasStandalone + * @arg @c kGTLRPaymentsResellerSubscription_GoogleOnePayload_Offering_OfferingVasStandalone * Google One product purchased by itself by customer as a value add * service. Customer pays additional amount for Google One product. * (Value: "OFFERING_VAS_STANDALONE") @@ -1053,16 +1056,16 @@ FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_ProductBund * The type of sales channel through which the subscription was sold. * * Likely values: - * @arg @c kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1GoogleOnePayload_SalesChannel_ChannelOnlineAndroidApp + * @arg @c kGTLRPaymentsResellerSubscription_GoogleOnePayload_SalesChannel_ChannelOnlineAndroidApp * Sold through partner android app. (Value: * "CHANNEL_ONLINE_ANDROID_APP") - * @arg @c kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1GoogleOnePayload_SalesChannel_ChannelOnlineIosApp + * @arg @c kGTLRPaymentsResellerSubscription_GoogleOnePayload_SalesChannel_ChannelOnlineIosApp * Sold through partner iOS app. (Value: "CHANNEL_ONLINE_IOS_APP") - * @arg @c kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1GoogleOnePayload_SalesChannel_ChannelOnlineWeb + * @arg @c kGTLRPaymentsResellerSubscription_GoogleOnePayload_SalesChannel_ChannelOnlineWeb * Sold through partner website. (Value: "CHANNEL_ONLINE_WEB") - * @arg @c kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1GoogleOnePayload_SalesChannel_ChannelRetail + * @arg @c kGTLRPaymentsResellerSubscription_GoogleOnePayload_SalesChannel_ChannelRetail * Sold at store. (Value: "CHANNEL_RETAIL") - * @arg @c kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1GoogleOnePayload_SalesChannel_ChannelUnspecified + * @arg @c kGTLRPaymentsResellerSubscription_GoogleOnePayload_SalesChannel_ChannelUnspecified * The channel type is unspecified. (Value: "CHANNEL_UNSPECIFIED") */ @property(nonatomic, copy, nullable) NSString *salesChannel; @@ -1073,16 +1076,34 @@ FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_ProductBund @end +/** + * Localized variant of a text in a particular language. + */ +@interface GTLRPaymentsResellerSubscription_GoogleTypeLocalizedText : GTLRObject + +/** + * The text's BCP-47 language code, such as "en-US" or "sr-Latn". For more + * information, see + * http://www.unicode.org/reports/tr35/#Unicode_locale_identifier. + */ +@property(nonatomic, copy, nullable) NSString *languageCode; + +/** Localized string in the language corresponding to language_code below. */ +@property(nonatomic, copy, nullable) NSString *text; + +@end + + /** * The payload that describes the user intent. */ -@interface GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1IntentPayload : GTLRObject +@interface GTLRPaymentsResellerSubscription_IntentPayload : GTLRObject /** The request to create a subscription. */ -@property(nonatomic, strong, nullable) GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1CreateSubscriptionIntent *createIntent; +@property(nonatomic, strong, nullable) GTLRPaymentsResellerSubscription_CreateSubscriptionIntent *createIntent; /** The request to entitle a subscription. */ -@property(nonatomic, strong, nullable) GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1EntitleSubscriptionIntent *entitleIntent; +@property(nonatomic, strong, nullable) GTLRPaymentsResellerSubscription_EntitleSubscriptionIntent *entitleIntent; @end @@ -1095,7 +1116,7 @@ FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_ProductBund * should support automatic pagination (when @c shouldFetchNextPages is * enabled). */ -@interface GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1ListProductsResponse : GTLRCollectionObject +@interface GTLRPaymentsResellerSubscription_ListProductsResponse : GTLRCollectionObject /** * A token, which can be sent as `page_token` to retrieve the next page. If @@ -1109,7 +1130,7 @@ FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_ProductBund * @note This property is used to support NSFastEnumeration and indexed * subscripting on this class. */ -@property(nonatomic, strong, nullable) NSArray *products; +@property(nonatomic, strong, nullable) NSArray *products; @end @@ -1122,7 +1143,7 @@ FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_ProductBund * should support automatic pagination (when @c shouldFetchNextPages is * enabled). */ -@interface GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1ListPromotionsResponse : GTLRCollectionObject +@interface GTLRPaymentsResellerSubscription_ListPromotionsResponse : GTLRCollectionObject /** * A token, which can be sent as `page_token` to retrieve the next page. If @@ -1136,7 +1157,7 @@ FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_ProductBund * @note This property is used to support NSFastEnumeration and indexed * subscripting on this class. */ -@property(nonatomic, strong, nullable) NSArray *promotions; +@property(nonatomic, strong, nullable) NSArray *promotions; @end @@ -1144,7 +1165,7 @@ FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_ProductBund /** * Describes a location of an end user. */ -@interface GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Location : GTLRObject +@interface GTLRPaymentsResellerSubscription_Location : GTLRObject /** The postal code this location refers to. Ex. "94043" */ @property(nonatomic, copy, nullable) NSString *postalCode; @@ -1161,7 +1182,7 @@ FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_ProductBund /** * A Product resource that defines a subscription service that can be resold. */ -@interface GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Product : GTLRObject +@interface GTLRPaymentsResellerSubscription_Product : GTLRObject /** Output only. Specifies the details for a bundle product. */ @property(nonatomic, strong, nullable) GTLRPaymentsResellerSubscription_ProductBundleDetails *bundleDetails; @@ -1170,7 +1191,7 @@ FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_ProductBund * Optional. Details for a subscription line item with finite billing cycles. * If unset, the line item will be charged indefinitely. */ -@property(nonatomic, strong, nullable) GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1FiniteBillingCycleDetails *finiteBillingCycleDetails; +@property(nonatomic, strong, nullable) GTLRPaymentsResellerSubscription_FiniteBillingCycleDetails *finiteBillingCycleDetails; /** * Identifier. Response only. Resource name of the product. It will have the @@ -1179,18 +1200,18 @@ FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_ProductBund @property(nonatomic, copy, nullable) NSString *name; /** Output only. Price configs for the product in the available regions. */ -@property(nonatomic, strong, nullable) NSArray *priceConfigs; +@property(nonatomic, strong, nullable) NSArray *priceConfigs; /** * Output only. Specifies the type of the product. * * Likely values: - * @arg @c kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Product_ProductType_ProductTypeBundleSubscription + * @arg @c kGTLRPaymentsResellerSubscription_Product_ProductType_ProductTypeBundleSubscription * The product is a bundled subscription plan, which includes multiple * subscription elements. (Value: "PRODUCT_TYPE_BUNDLE_SUBSCRIPTION") - * @arg @c kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Product_ProductType_ProductTypeSubscription + * @arg @c kGTLRPaymentsResellerSubscription_Product_ProductType_ProductTypeSubscription * The product is a subscription. (Value: "PRODUCT_TYPE_SUBSCRIPTION") - * @arg @c kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Product_ProductType_ProductTypeUnspecified + * @arg @c kGTLRPaymentsResellerSubscription_Product_ProductType_ProductTypeUnspecified * Unspecified. It's reserved as an unexpected value, should not be used. * (Value: "PRODUCT_TYPE_UNSPECIFIED") */ @@ -1205,7 +1226,7 @@ FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_ProductBund /** * Output only. Specifies the length of the billing cycle of the subscription. */ -@property(nonatomic, strong, nullable) GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Duration *subscriptionBillingCycleDuration; +@property(nonatomic, strong, nullable) GTLRPaymentsResellerSubscription_Duration *subscriptionBillingCycleDuration; /** Output only. Localized human readable name of the product. */ @property(nonatomic, strong, nullable) NSArray *titles; @@ -1213,10 +1234,37 @@ FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_ProductBund @end +/** + * Details for a bundle product. + */ +@interface GTLRPaymentsResellerSubscription_ProductBundleDetails : GTLRObject + +/** The individual products that are included in the bundle. */ +@property(nonatomic, strong, nullable) NSArray *bundleElements; + +/** + * The entitlement mode of the bundle product. + * + * Likely values: + * @arg @c kGTLRPaymentsResellerSubscription_ProductBundleDetails_EntitlementMode_EntitlementModeFull + * All the bundle elements must be fully activated in a single request. + * (Value: "ENTITLEMENT_MODE_FULL") + * @arg @c kGTLRPaymentsResellerSubscription_ProductBundleDetails_EntitlementMode_EntitlementModeIncremental + * The bundle elements could be incrementally activated. (Value: + * "ENTITLEMENT_MODE_INCREMENTAL") + * @arg @c kGTLRPaymentsResellerSubscription_ProductBundleDetails_EntitlementMode_EntitlementModeUnspecified + * Unspecified. It's reserved as an unexpected value, should not be used. + * (Value: "ENTITLEMENT_MODE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *entitlementMode; + +@end + + /** * The individual product that is included in the bundle. */ -@interface GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1ProductBundleDetailsBundleElement : GTLRObject +@interface GTLRPaymentsResellerSubscription_ProductBundleDetailsBundleElement : GTLRObject /** * Required. Output only. Product resource name that identifies the bundle @@ -1230,16 +1278,16 @@ FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_ProductBund /** * Specifies product specific payload. */ -@interface GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1ProductPayload : GTLRObject +@interface GTLRPaymentsResellerSubscription_ProductPayload : GTLRObject /** Payload specific to Google Home products. */ -@property(nonatomic, strong, nullable) GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1GoogleHomePayload *googleHomePayload; +@property(nonatomic, strong, nullable) GTLRPaymentsResellerSubscription_GoogleHomePayload *googleHomePayload; /** Product-specific payloads. Payload specific to Google One products. */ -@property(nonatomic, strong, nullable) GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1GoogleOnePayload *googleOnePayload; +@property(nonatomic, strong, nullable) GTLRPaymentsResellerSubscription_GoogleOnePayload *googleOnePayload; /** Payload specific to Youtube products. */ -@property(nonatomic, strong, nullable) GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1YoutubePayload *youtubePayload; +@property(nonatomic, strong, nullable) GTLRPaymentsResellerSubscription_YoutubePayload *youtubePayload; @end @@ -1247,10 +1295,10 @@ FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_ProductBund /** * Configs the prices in an available region. */ -@interface GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1ProductPriceConfig : GTLRObject +@interface GTLRPaymentsResellerSubscription_ProductPriceConfig : GTLRObject /** Output only. The price in the region. */ -@property(nonatomic, strong, nullable) GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Amount *amount; +@property(nonatomic, strong, nullable) GTLRPaymentsResellerSubscription_Amount *amount; /** * Output only. 2-letter ISO region code where the product is available in. Ex. @@ -1265,7 +1313,7 @@ FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_ProductBund * A Promotion resource that defines a promotion for a subscription that can be * resold. */ -@interface GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Promotion : GTLRObject +@interface GTLRPaymentsResellerSubscription_Promotion : GTLRObject /** Output only. The product ids this promotion can be applied to. */ @property(nonatomic, strong, nullable) NSArray *applicableProducts; @@ -1281,13 +1329,13 @@ FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_ProductBund * Optional. Specifies the duration of the free trial of the subscription when * promotion_type is PROMOTION_TYPE_FREE_TRIAL */ -@property(nonatomic, strong, nullable) GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Duration *freeTrialDuration; +@property(nonatomic, strong, nullable) GTLRPaymentsResellerSubscription_Duration *freeTrialDuration; /** * Optional. Specifies the introductory pricing details when the promotion_type * is PROMOTION_TYPE_INTRODUCTORY_PRICING. */ -@property(nonatomic, strong, nullable) GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1PromotionIntroductoryPricingDetails *introductoryPricingDetails; +@property(nonatomic, strong, nullable) GTLRPaymentsResellerSubscription_PromotionIntroductoryPricingDetails *introductoryPricingDetails; /** * Identifier. Response only. Resource name of the subscription promotion. It @@ -1299,12 +1347,12 @@ FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_ProductBund * Output only. Specifies the type of the promotion. * * Likely values: - * @arg @c kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Promotion_PromotionType_PromotionTypeFreeTrial + * @arg @c kGTLRPaymentsResellerSubscription_Promotion_PromotionType_PromotionTypeFreeTrial * The promotion is a free trial. (Value: "PROMOTION_TYPE_FREE_TRIAL") - * @arg @c kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Promotion_PromotionType_PromotionTypeIntroductoryPricing + * @arg @c kGTLRPaymentsResellerSubscription_Promotion_PromotionType_PromotionTypeIntroductoryPricing * The promotion is a reduced introductory pricing. (Value: * "PROMOTION_TYPE_INTRODUCTORY_PRICING") - * @arg @c kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Promotion_PromotionType_PromotionTypeUnspecified + * @arg @c kGTLRPaymentsResellerSubscription_Promotion_PromotionType_PromotionTypeUnspecified * The promotion type is unspecified. (Value: * "PROMOTION_TYPE_UNSPECIFIED") */ @@ -1331,10 +1379,10 @@ FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_ProductBund /** * The details of a introductory pricing promotion. */ -@interface GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1PromotionIntroductoryPricingDetails : GTLRObject +@interface GTLRPaymentsResellerSubscription_PromotionIntroductoryPricingDetails : GTLRObject /** Output only. Specifies the introductory pricing periods. */ -@property(nonatomic, strong, nullable) NSArray *introductoryPricingSpecs; +@property(nonatomic, strong, nullable) NSArray *introductoryPricingSpecs; @end @@ -1342,10 +1390,10 @@ FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_ProductBund /** * The duration of an introductory pricing promotion. */ -@interface GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1PromotionIntroductoryPricingDetailsIntroductoryPricingSpec : GTLRObject +@interface GTLRPaymentsResellerSubscription_PromotionIntroductoryPricingDetailsIntroductoryPricingSpec : GTLRObject /** Output only. The discount amount. The value is positive. */ -@property(nonatomic, strong, nullable) GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Amount *discountAmount; +@property(nonatomic, strong, nullable) GTLRPaymentsResellerSubscription_Amount *discountAmount; /** * Output only. The discount percentage in micros. For example, 50,000 @@ -1374,17 +1422,17 @@ FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_ProductBund /** * Request to resume a suspended subscription. */ -@interface GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1ResumeSubscriptionRequest : GTLRObject +@interface GTLRPaymentsResellerSubscription_ResumeSubscriptionRequest : GTLRObject @end /** * Response that contains the resumed subscription. */ -@interface GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1ResumeSubscriptionResponse : GTLRObject +@interface GTLRPaymentsResellerSubscription_ResumeSubscriptionResponse : GTLRObject /** The resumed subscription resource. */ -@property(nonatomic, strong, nullable) GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Subscription *subscription; +@property(nonatomic, strong, nullable) GTLRPaymentsResellerSubscription_Subscription *subscription; @end @@ -1393,7 +1441,7 @@ FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_ProductBund * A description of what time period or moment in time the product or service * is being delivered over. */ -@interface GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1ServicePeriod : GTLRObject +@interface GTLRPaymentsResellerSubscription_ServicePeriod : GTLRObject /** Optional. The end time of the service period. Time is exclusive. */ @property(nonatomic, strong, nullable) GTLRDateTime *endTime; @@ -1415,13 +1463,13 @@ FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_ProductBund * not do the same. To fully understand the specific details, please consult * the relevant contract or product policy. */ -@interface GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Subscription : GTLRObject +@interface GTLRPaymentsResellerSubscription_Subscription : GTLRObject /** * Output only. Describes the details of a cancelled subscription. Only * applicable to subscription of state `STATE_CANCELLED`. */ -@property(nonatomic, strong, nullable) GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionCancellationDetails *cancellationDetails; +@property(nonatomic, strong, nullable) GTLRPaymentsResellerSubscription_SubscriptionCancellationDetails *cancellationDetails; /** * Output only. System generated timestamp when the subscription is created. @@ -1450,13 +1498,13 @@ FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_ProductBund @property(nonatomic, strong, nullable) GTLRDateTime *freeTrialEndTime; /** Required. The line items of the subscription. */ -@property(nonatomic, strong, nullable) NSArray *lineItems; +@property(nonatomic, strong, nullable) NSArray *lineItems; /** * Output only. Describes the details of the migrated subscription. Only * populated if this subscription is migrated from another system. */ -@property(nonatomic, strong, nullable) GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionMigrationDetails *migrationDetails; +@property(nonatomic, strong, nullable) GTLRPaymentsResellerSubscription_SubscriptionMigrationDetails *migrationDetails; /** * Identifier. Resource name of the subscription. It will have the format of @@ -1477,12 +1525,12 @@ FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_ProductBund * subscription](/payments/reseller/subscription/reference/index/Receive.Notifications#payments-subscription-lifecycle). * * Likely values: - * @arg @c kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Subscription_ProcessingState_ProcessingStateCancelling + * @arg @c kGTLRPaymentsResellerSubscription_Subscription_ProcessingState_ProcessingStateCancelling * The subscription is being cancelled. (Value: * "PROCESSING_STATE_CANCELLING") - * @arg @c kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Subscription_ProcessingState_ProcessingStateRecurring + * @arg @c kGTLRPaymentsResellerSubscription_Subscription_ProcessingState_ProcessingStateRecurring * The subscription is recurring. (Value: "PROCESSING_STATE_RECURRING") - * @arg @c kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Subscription_ProcessingState_ProcessingStateUnspecified + * @arg @c kGTLRPaymentsResellerSubscription_Subscription_ProcessingState_ProcessingStateUnspecified * The processing state is unspecified. (Value: * "PROCESSING_STATE_UNSPECIFIED") */ @@ -1510,7 +1558,7 @@ FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_ProductBund * the end of the free trial period. Specify the promotion resource name only * when used as input. */ -@property(nonatomic, strong, nullable) NSArray *promotionSpecs; +@property(nonatomic, strong, nullable) NSArray *promotionSpecs; /** * Optional. The timestamp when the user transaction was made with the Partner. @@ -1540,7 +1588,7 @@ FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_ProductBund * Required. The location that the service is provided as indicated by the * partner. */ -@property(nonatomic, strong, nullable) GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Location *serviceLocation; +@property(nonatomic, strong, nullable) GTLRPaymentsResellerSubscription_Location *serviceLocation; /** * Output only. Describes the state of the subscription. See more details at @@ -1548,26 +1596,26 @@ FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_ProductBund * subscription](/payments/reseller/subscription/reference/index/Receive.Notifications#payments-subscription-lifecycle). * * Likely values: - * @arg @c kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Subscription_State_StateActive + * @arg @c kGTLRPaymentsResellerSubscription_Subscription_State_StateActive * The subscription is active. (Value: "STATE_ACTIVE") - * @arg @c kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Subscription_State_StateCancelAtEndOfCycle + * @arg @c kGTLRPaymentsResellerSubscription_Subscription_State_StateCancelAtEndOfCycle * The subscription is waiting to be cancelled by the next recurrence * cycle. (Value: "STATE_CANCEL_AT_END_OF_CYCLE") - * @arg @c kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Subscription_State_StateCancelled + * @arg @c kGTLRPaymentsResellerSubscription_Subscription_State_StateCancelled * The subscription is cancelled. This is the final state of the * subscription, as it can no longer be modified or reactivated. (Value: * "STATE_CANCELLED") - * @arg @c kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Subscription_State_StateCreated + * @arg @c kGTLRPaymentsResellerSubscription_Subscription_State_StateCreated * The subscription is created, a state before it is moved to * STATE_ACTIVE. (Value: "STATE_CREATED") - * @arg @c kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Subscription_State_StateInGracePeriod + * @arg @c kGTLRPaymentsResellerSubscription_Subscription_State_StateInGracePeriod * The subscription is in grace period. It can happen: 1) in manual * extend mode, the subscription is not extended by the partner at the * end of current cycle. 2) for outbound authorization enabled partners, * a renewal purchase order is rejected. (Value: "STATE_IN_GRACE_PERIOD") - * @arg @c kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Subscription_State_StateSuspended + * @arg @c kGTLRPaymentsResellerSubscription_Subscription_State_StateSuspended * The subscription is suspended. (Value: "STATE_SUSPENDED") - * @arg @c kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Subscription_State_StateUnspecified + * @arg @c kGTLRPaymentsResellerSubscription_Subscription_State_StateUnspecified * The state is unspecified. (Value: "STATE_UNSPECIFIED") */ @property(nonatomic, copy, nullable) NSString *state; @@ -1583,7 +1631,7 @@ FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_ProductBund * upgrades/downgrades from. Only populated if this subscription is an * upgrade/downgrade from another subscription. */ -@property(nonatomic, strong, nullable) GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionUpgradeDowngradeDetails *upgradeDowngradeDetails; +@property(nonatomic, strong, nullable) GTLRPaymentsResellerSubscription_SubscriptionUpgradeDowngradeDetails *upgradeDowngradeDetails; @end @@ -1591,42 +1639,42 @@ FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_ProductBund /** * Describes the details of a cancelled or cancelling subscription. */ -@interface GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionCancellationDetails : GTLRObject +@interface GTLRPaymentsResellerSubscription_SubscriptionCancellationDetails : GTLRObject /** * Output only. The reason of the cancellation. * * Likely values: - * @arg @c kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionCancellationDetails_Reason_CancellationReasonAccidentalPurchase + * @arg @c kGTLRPaymentsResellerSubscription_SubscriptionCancellationDetails_Reason_CancellationReasonAccidentalPurchase * Accidential purchase. (Value: * "CANCELLATION_REASON_ACCIDENTAL_PURCHASE") - * @arg @c kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionCancellationDetails_Reason_CancellationReasonAccountClosed + * @arg @c kGTLRPaymentsResellerSubscription_SubscriptionCancellationDetails_Reason_CancellationReasonAccountClosed * Used for notification only, do not use in Cancel API. User account * closed. (Value: "CANCELLATION_REASON_ACCOUNT_CLOSED") - * @arg @c kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionCancellationDetails_Reason_CancellationReasonFraud + * @arg @c kGTLRPaymentsResellerSubscription_SubscriptionCancellationDetails_Reason_CancellationReasonFraud * Fraudualant transaction. (Value: "CANCELLATION_REASON_FRAUD") - * @arg @c kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionCancellationDetails_Reason_CancellationReasonOther + * @arg @c kGTLRPaymentsResellerSubscription_SubscriptionCancellationDetails_Reason_CancellationReasonOther * Other reason. (Value: "CANCELLATION_REASON_OTHER") - * @arg @c kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionCancellationDetails_Reason_CancellationReasonPastDue + * @arg @c kGTLRPaymentsResellerSubscription_SubscriptionCancellationDetails_Reason_CancellationReasonPastDue * Payment is past due. (Value: "CANCELLATION_REASON_PAST_DUE") - * @arg @c kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionCancellationDetails_Reason_CancellationReasonRemorse + * @arg @c kGTLRPaymentsResellerSubscription_SubscriptionCancellationDetails_Reason_CancellationReasonRemorse * Buyer's remorse. (Value: "CANCELLATION_REASON_REMORSE") - * @arg @c kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionCancellationDetails_Reason_CancellationReasonSystemCancel + * @arg @c kGTLRPaymentsResellerSubscription_SubscriptionCancellationDetails_Reason_CancellationReasonSystemCancel * Used for notification only, do not use in Cancel API. The subscription * is cancelled by Google automatically since it is no longer valid. * (Value: "CANCELLATION_REASON_SYSTEM_CANCEL") - * @arg @c kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionCancellationDetails_Reason_CancellationReasonSystemError + * @arg @c kGTLRPaymentsResellerSubscription_SubscriptionCancellationDetails_Reason_CancellationReasonSystemError * Used for notification only, do not use in Cancel API. Cancellation due * to an unrecoverable system error. (Value: * "CANCELLATION_REASON_SYSTEM_ERROR") - * @arg @c kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionCancellationDetails_Reason_CancellationReasonUnspecified + * @arg @c kGTLRPaymentsResellerSubscription_SubscriptionCancellationDetails_Reason_CancellationReasonUnspecified * Reason is unspecified. Should not be used. (Value: * "CANCELLATION_REASON_UNSPECIFIED") - * @arg @c kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionCancellationDetails_Reason_CancellationReasonUpgradeDowngrade + * @arg @c kGTLRPaymentsResellerSubscription_SubscriptionCancellationDetails_Reason_CancellationReasonUpgradeDowngrade * Used for notification only, do not use in Cancel API. Cancellation due * to upgrade or downgrade. (Value: * "CANCELLATION_REASON_UPGRADE_DOWNGRADE") - * @arg @c kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionCancellationDetails_Reason_CancellationReasonUserDelinquency + * @arg @c kGTLRPaymentsResellerSubscription_SubscriptionCancellationDetails_Reason_CancellationReasonUserDelinquency * Cancellation due to user delinquency (Value: * "CANCELLATION_REASON_USER_DELINQUENCY") */ @@ -1638,14 +1686,14 @@ FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_ProductBund /** * Individual line item definition of a subscription. */ -@interface GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionLineItem : GTLRObject +@interface GTLRPaymentsResellerSubscription_SubscriptionLineItem : GTLRObject /** * Output only. The price of the product/service in this line item. The amount * could be the wholesale price, or it can include a cost of sale based on the * contract. */ -@property(nonatomic, strong, nullable) GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Amount *amount; +@property(nonatomic, strong, nullable) GTLRPaymentsResellerSubscription_Amount *amount; /** * Output only. The bundle details for the line item. Only populated if the @@ -1665,7 +1713,7 @@ FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_ProductBund * If unset, the line item will be charged indefinitely. Used only with * LINE_ITEM_RECURRENCE_TYPE_PERIODIC. */ -@property(nonatomic, strong, nullable) GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1FiniteBillingCycleDetails *finiteBillingCycleDetails; +@property(nonatomic, strong, nullable) GTLRPaymentsResellerSubscription_FiniteBillingCycleDetails *finiteBillingCycleDetails; /** * Output only. The free trial end time will be populated after the line item @@ -1688,10 +1736,10 @@ FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_ProductBund * not enabled. If used, the request will be rejected. When used as input in * Create or Provision API, specify its resource name only. */ -@property(nonatomic, strong, nullable) NSArray *lineItemPromotionSpecs; +@property(nonatomic, strong, nullable) NSArray *lineItemPromotionSpecs; /** Output only. Details only set for a ONE_TIME recurrence line item. */ -@property(nonatomic, strong, nullable) GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionLineItemOneTimeRecurrenceDetails *oneTimeRecurrenceDetails; +@property(nonatomic, strong, nullable) GTLRPaymentsResellerSubscription_SubscriptionLineItemOneTimeRecurrenceDetails *oneTimeRecurrenceDetails; /** * Required. Product resource name that identifies one the line item The format @@ -1700,19 +1748,19 @@ FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_ProductBund @property(nonatomic, copy, nullable) NSString *product; /** Optional. Product specific payload for this line item. */ -@property(nonatomic, strong, nullable) GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1ProductPayload *productPayload; +@property(nonatomic, strong, nullable) GTLRPaymentsResellerSubscription_ProductPayload *productPayload; /** * Output only. The recurrence type of the line item. * * Likely values: - * @arg @c kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionLineItem_RecurrenceType_LineItemRecurrenceTypeOneTime + * @arg @c kGTLRPaymentsResellerSubscription_SubscriptionLineItem_RecurrenceType_LineItemRecurrenceTypeOneTime * The line item does not recur in the future. (Value: * "LINE_ITEM_RECURRENCE_TYPE_ONE_TIME") - * @arg @c kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionLineItem_RecurrenceType_LineItemRecurrenceTypePeriodic + * @arg @c kGTLRPaymentsResellerSubscription_SubscriptionLineItem_RecurrenceType_LineItemRecurrenceTypePeriodic * The line item recurs periodically. (Value: * "LINE_ITEM_RECURRENCE_TYPE_PERIODIC") - * @arg @c kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionLineItem_RecurrenceType_LineItemRecurrenceTypeUnspecified + * @arg @c kGTLRPaymentsResellerSubscription_SubscriptionLineItem_RecurrenceType_LineItemRecurrenceTypeUnspecified * The line item recurrence type is unspecified. (Value: * "LINE_ITEM_RECURRENCE_TYPE_UNSPECIFIED") */ @@ -1722,30 +1770,30 @@ FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_ProductBund * Output only. The state of the line item. * * Likely values: - * @arg @c kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionLineItem_State_LineItemStateActivating + * @arg @c kGTLRPaymentsResellerSubscription_SubscriptionLineItem_State_LineItemStateActivating * The line item is being activated in order to be charged. If a free * trial applies to the line item, the line item is pending a prorated * charge at the end of the free trial period, as indicated by * `line_item_free_trial_end_time`. (Value: "LINE_ITEM_STATE_ACTIVATING") - * @arg @c kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionLineItem_State_LineItemStateActive + * @arg @c kGTLRPaymentsResellerSubscription_SubscriptionLineItem_State_LineItemStateActive * The line item is in ACTIVE state. If the subscription is cancelled or * suspended, the line item will not be charged even if the line item is * active. (Value: "LINE_ITEM_STATE_ACTIVE") - * @arg @c kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionLineItem_State_LineItemStateDeactivating + * @arg @c kGTLRPaymentsResellerSubscription_SubscriptionLineItem_State_LineItemStateDeactivating * The line item is being deactivated, and a prorated refund in being * processed. (Value: "LINE_ITEM_STATE_DEACTIVATING") - * @arg @c kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionLineItem_State_LineItemStateInactive + * @arg @c kGTLRPaymentsResellerSubscription_SubscriptionLineItem_State_LineItemStateInactive * The line item is in INACTIVE state. (Value: * "LINE_ITEM_STATE_INACTIVE") - * @arg @c kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionLineItem_State_LineItemStateNew + * @arg @c kGTLRPaymentsResellerSubscription_SubscriptionLineItem_State_LineItemStateNew * The line item is new, and is not activated or charged yet. (Value: * "LINE_ITEM_STATE_NEW") - * @arg @c kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionLineItem_State_LineItemStateOffCycleCharging + * @arg @c kGTLRPaymentsResellerSubscription_SubscriptionLineItem_State_LineItemStateOffCycleCharging * Line item is being charged off-cycle. (Value: * "LINE_ITEM_STATE_OFF_CYCLE_CHARGING") - * @arg @c kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionLineItem_State_LineItemStateUnspecified + * @arg @c kGTLRPaymentsResellerSubscription_SubscriptionLineItem_State_LineItemStateUnspecified * Unspecified state. (Value: "LINE_ITEM_STATE_UNSPECIFIED") - * @arg @c kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionLineItem_State_LineItemStateWaitingToDeactivate + * @arg @c kGTLRPaymentsResellerSubscription_SubscriptionLineItem_State_LineItemStateWaitingToDeactivate * The line item is scheduled to be deactivated at the end of the current * cycle. (Value: "LINE_ITEM_STATE_WAITING_TO_DEACTIVATE") */ @@ -1754,10 +1802,21 @@ FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_ProductBund @end +/** + * The bundle details for a line item corresponding to a hard bundle. + */ +@interface GTLRPaymentsResellerSubscription_SubscriptionLineItemBundleDetails : GTLRObject + +/** Output only. The details for each element in the hard bundle. */ +@property(nonatomic, strong, nullable) NSArray *bundleElementDetails; + +@end + + /** * The details for an element in the hard bundle. */ -@interface GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionLineItemBundleDetailsBundleElementDetails : GTLRObject +@interface GTLRPaymentsResellerSubscription_SubscriptionLineItemBundleDetailsBundleElementDetails : GTLRObject /** * Output only. Product resource name that identifies the bundle element. The @@ -1774,10 +1833,10 @@ FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_ProductBund /** * Details for a ONE_TIME recurrence line item. */ -@interface GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionLineItemOneTimeRecurrenceDetails : GTLRObject +@interface GTLRPaymentsResellerSubscription_SubscriptionLineItemOneTimeRecurrenceDetails : GTLRObject /** Output only. The service period of the ONE_TIME line item. */ -@property(nonatomic, strong, nullable) GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1ServicePeriod *servicePeriod; +@property(nonatomic, strong, nullable) GTLRPaymentsResellerSubscription_ServicePeriod *servicePeriod; @end @@ -1785,7 +1844,7 @@ FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_ProductBund /** * Describes the details of the migrated subscription. */ -@interface GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionMigrationDetails : GTLRObject +@interface GTLRPaymentsResellerSubscription_SubscriptionMigrationDetails : GTLRObject /** Output only. The migrated subscription id in the legacy system. */ @property(nonatomic, copy, nullable) NSString *migratedSubscriptionId; @@ -1796,19 +1855,19 @@ FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_ProductBund /** * Describes the spec for one promotion. */ -@interface GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionPromotionSpec : GTLRObject +@interface GTLRPaymentsResellerSubscription_SubscriptionPromotionSpec : GTLRObject /** * Output only. The duration of the free trial if the promotion is of type * FREE_TRIAL. */ -@property(nonatomic, strong, nullable) GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Duration *freeTrialDuration; +@property(nonatomic, strong, nullable) GTLRPaymentsResellerSubscription_Duration *freeTrialDuration; /** * Output only. The details of the introductory pricing spec if the promotion * is of type INTRODUCTORY_PRICING. */ -@property(nonatomic, strong, nullable) GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1PromotionIntroductoryPricingDetails *introductoryPricingDetails; +@property(nonatomic, strong, nullable) GTLRPaymentsResellerSubscription_PromotionIntroductoryPricingDetails *introductoryPricingDetails; /** * Required. Promotion resource name that identifies a promotion. The format is @@ -1820,12 +1879,12 @@ FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_ProductBund * Output only. The type of the promotion for the spec. * * Likely values: - * @arg @c kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionPromotionSpec_Type_PromotionTypeFreeTrial + * @arg @c kGTLRPaymentsResellerSubscription_SubscriptionPromotionSpec_Type_PromotionTypeFreeTrial * The promotion is a free trial. (Value: "PROMOTION_TYPE_FREE_TRIAL") - * @arg @c kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionPromotionSpec_Type_PromotionTypeIntroductoryPricing + * @arg @c kGTLRPaymentsResellerSubscription_SubscriptionPromotionSpec_Type_PromotionTypeIntroductoryPricing * The promotion is a reduced introductory pricing. (Value: * "PROMOTION_TYPE_INTRODUCTORY_PRICING") - * @arg @c kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionPromotionSpec_Type_PromotionTypeUnspecified + * @arg @c kGTLRPaymentsResellerSubscription_SubscriptionPromotionSpec_Type_PromotionTypeUnspecified * The promotion type is unspecified. (Value: * "PROMOTION_TYPE_UNSPECIFIED") */ @@ -1838,34 +1897,37 @@ FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_ProductBund * Details about the previous subscription that this new subscription * upgrades/downgrades from. */ -@interface GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionUpgradeDowngradeDetails : GTLRObject +@interface GTLRPaymentsResellerSubscription_SubscriptionUpgradeDowngradeDetails : GTLRObject /** * Required. Specifies the billing cycle spec for the new upgraded/downgraded * subscription. * * Likely values: - * @arg @c kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionUpgradeDowngradeDetails_BillingCycleSpec_BillingCycleSpecAlignWithPreviousSubscription + * @arg @c kGTLRPaymentsResellerSubscription_SubscriptionUpgradeDowngradeDetails_BillingCycleSpec_BillingCycleSpecAlignWithPreviousSubscription * The billing cycle of the new subscription starts immediately but * aligns with the previous subscription it upgrades or downgrades from. * First cycle of the new subscription will be prorated. (Value: * "BILLING_CYCLE_SPEC_ALIGN_WITH_PREVIOUS_SUBSCRIPTION") - * @arg @c kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionUpgradeDowngradeDetails_BillingCycleSpec_BillingCycleSpecDeferredToNextRecurrence + * @arg @c kGTLRPaymentsResellerSubscription_SubscriptionUpgradeDowngradeDetails_BillingCycleSpec_BillingCycleSpecDeferredToNextRecurrence * The billing cycle starts at the end of the previous subscription's * billing cycle and aligns with the previous subscription's billing * cycle. (Value: "BILLING_CYCLE_SPEC_DEFERRED_TO_NEXT_RECURRENCE") - * @arg @c kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionUpgradeDowngradeDetails_BillingCycleSpec_BillingCycleSpecStartImmediately + * @arg @c kGTLRPaymentsResellerSubscription_SubscriptionUpgradeDowngradeDetails_BillingCycleSpec_BillingCycleSpecStartImmediately * The billing cycle of the new subscription starts immediately. (Value: * "BILLING_CYCLE_SPEC_START_IMMEDIATELY") - * @arg @c kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionUpgradeDowngradeDetails_BillingCycleSpec_BillingCycleSpecUnspecified + * @arg @c kGTLRPaymentsResellerSubscription_SubscriptionUpgradeDowngradeDetails_BillingCycleSpec_BillingCycleSpecUnspecified * Billing cycle spec is not specified. (Value: * "BILLING_CYCLE_SPEC_UNSPECIFIED") */ @property(nonatomic, copy, nullable) NSString *billingCycleSpec; /** - * Required. The previous subscription id to be replaced. This is not the full - * resource name, use the subscription_id segment only. + * Required. The previous subscription id to be replaced. The format can be one + * of the following: 1. `subscription_id`: the old subscription id under the + * same partner_id. 2. `partners/{partner_id}/subscriptions/{subscription_id}`. + * A different partner_id is allowed. But they must be under the same partner + * group. */ @property(nonatomic, copy, nullable) NSString *previousSubscriptionId; @@ -1875,17 +1937,17 @@ FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_ProductBund /** * Request to suspend a subscription. */ -@interface GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SuspendSubscriptionRequest : GTLRObject +@interface GTLRPaymentsResellerSubscription_SuspendSubscriptionRequest : GTLRObject @end /** * Response that contains the suspended subscription. */ -@interface GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SuspendSubscriptionResponse : GTLRObject +@interface GTLRPaymentsResellerSubscription_SuspendSubscriptionResponse : GTLRObject /** The suspended subscription resource. */ -@property(nonatomic, strong, nullable) GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Subscription *subscription; +@property(nonatomic, strong, nullable) GTLRPaymentsResellerSubscription_Subscription *subscription; @end @@ -1893,17 +1955,17 @@ FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_ProductBund /** * Request to revoke a cancellation request. */ -@interface GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1UndoCancelSubscriptionRequest : GTLRObject +@interface GTLRPaymentsResellerSubscription_UndoCancelSubscriptionRequest : GTLRObject @end /** * Response that contains the updated subscription resource. */ -@interface GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1UndoCancelSubscriptionResponse : GTLRObject +@interface GTLRPaymentsResellerSubscription_UndoCancelSubscriptionResponse : GTLRObject /** The updated subscription resource. */ -@property(nonatomic, strong, nullable) GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Subscription *subscription; +@property(nonatomic, strong, nullable) GTLRPaymentsResellerSubscription_Subscription *subscription; @end @@ -1922,7 +1984,7 @@ FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_ProductBund * Signup](/payments/reseller/subscription/reference/index/User.Signup.Integration/Google.Managed.Signup) * documentation for additional integration details. */ -@interface GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1UserSession : GTLRObject +@interface GTLRPaymentsResellerSubscription_UserSession : GTLRObject /** Output only. The time at which the user session expires. */ @property(nonatomic, strong, nullable) GTLRDateTime *expireTime; @@ -1940,7 +2002,7 @@ FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_ProductBund /** * Payload specific to Youtube products. */ -@interface GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1YoutubePayload : GTLRObject +@interface GTLRPaymentsResellerSubscription_YoutubePayload : GTLRObject /** Output only. The access expiration time for this line item. */ @property(nonatomic, strong, nullable) GTLRDateTime *accessEndTime; @@ -1952,17 +2014,17 @@ FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_ProductBund * Optional. Specifies the plan type offered to the end user by the partner. * * Likely values: - * @arg @c kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1YoutubePayload_PartnerPlanType_PartnerPlanTypeHardBundle + * @arg @c kGTLRPaymentsResellerSubscription_YoutubePayload_PartnerPlanType_PartnerPlanTypeHardBundle * This item is bundled with another partner offering, the item is * provisioned at purchase time. (Value: "PARTNER_PLAN_TYPE_HARD_BUNDLE") - * @arg @c kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1YoutubePayload_PartnerPlanType_PartnerPlanTypeSoftBundle + * @arg @c kGTLRPaymentsResellerSubscription_YoutubePayload_PartnerPlanType_PartnerPlanTypeSoftBundle * This item is bundled with another partner offering, the item is * provisioned after puchase, when the user opts in this Google service. * (Value: "PARTNER_PLAN_TYPE_SOFT_BUNDLE") - * @arg @c kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1YoutubePayload_PartnerPlanType_PartnerPlanTypeStandalone + * @arg @c kGTLRPaymentsResellerSubscription_YoutubePayload_PartnerPlanType_PartnerPlanTypeStandalone * This item is offered as a standalone product to the user. (Value: * "PARTNER_PLAN_TYPE_STANDALONE") - * @arg @c kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1YoutubePayload_PartnerPlanType_PartnerPlanTypeUnspecified + * @arg @c kGTLRPaymentsResellerSubscription_YoutubePayload_PartnerPlanType_PartnerPlanTypeUnspecified * Unspecified. Should not use, reserved as an invalid value. (Value: * "PARTNER_PLAN_TYPE_UNSPECIFIED") */ @@ -1970,62 +2032,6 @@ FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_ProductBund @end - -/** - * Localized variant of a text in a particular language. - */ -@interface GTLRPaymentsResellerSubscription_GoogleTypeLocalizedText : GTLRObject - -/** - * The text's BCP-47 language code, such as "en-US" or "sr-Latn". For more - * information, see - * http://www.unicode.org/reports/tr35/#Unicode_locale_identifier. - */ -@property(nonatomic, copy, nullable) NSString *languageCode; - -/** Localized string in the language corresponding to language_code below. */ -@property(nonatomic, copy, nullable) NSString *text; - -@end - - -/** - * Details for a bundle product. - */ -@interface GTLRPaymentsResellerSubscription_ProductBundleDetails : GTLRObject - -/** The individual products that are included in the bundle. */ -@property(nonatomic, strong, nullable) NSArray *bundleElements; - -/** - * The entitlement mode of the bundle product. - * - * Likely values: - * @arg @c kGTLRPaymentsResellerSubscription_ProductBundleDetails_EntitlementMode_EntitlementModeFull - * All the bundle elements must be fully activated in a single request. - * (Value: "ENTITLEMENT_MODE_FULL") - * @arg @c kGTLRPaymentsResellerSubscription_ProductBundleDetails_EntitlementMode_EntitlementModeIncremental - * The bundle elements could be incrementally activated. (Value: - * "ENTITLEMENT_MODE_INCREMENTAL") - * @arg @c kGTLRPaymentsResellerSubscription_ProductBundleDetails_EntitlementMode_EntitlementModeUnspecified - * Unspecified. It's reserved as an unexpected value, should not be used. - * (Value: "ENTITLEMENT_MODE_UNSPECIFIED") - */ -@property(nonatomic, copy, nullable) NSString *entitlementMode; - -@end - - -/** - * The bundle details for a line item corresponding to a hard bundle. - */ -@interface GTLRPaymentsResellerSubscription_SubscriptionLineItemBundleDetails : GTLRObject - -/** Output only. The details for each element in the hard bundle. */ -@property(nonatomic, strong, nullable) NSArray *bundleElementDetails; - -@end - NS_ASSUME_NONNULL_END #pragma clang diagnostic pop diff --git a/Sources/GeneratedServices/PaymentsResellerSubscription/Public/GoogleAPIClientForREST/GTLRPaymentsResellerSubscriptionQuery.h b/Sources/GeneratedServices/PaymentsResellerSubscription/Public/GoogleAPIClientForREST/GTLRPaymentsResellerSubscriptionQuery.h index a51ef5540..aba437d08 100644 --- a/Sources/GeneratedServices/PaymentsResellerSubscription/Public/GoogleAPIClientForREST/GTLRPaymentsResellerSubscriptionQuery.h +++ b/Sources/GeneratedServices/PaymentsResellerSubscription/Public/GoogleAPIClientForREST/GTLRPaymentsResellerSubscriptionQuery.h @@ -79,8 +79,7 @@ NS_ASSUME_NONNULL_BEGIN @property(nonatomic, copy, nullable) NSString *parent; /** - * Fetches a @c - * GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1ListProductsResponse. + * Fetches a @c GTLRPaymentsResellerSubscription_ListProductsResponse. * * Currently, it doesn't support **YouTube** products. Retrieves the products * that can be resold by the partner. It should be autenticated with a service @@ -120,7 +119,7 @@ NS_ASSUME_NONNULL_BEGIN /** * Fetches a @c - * GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1FindEligiblePromotionsResponse. + * GTLRPaymentsResellerSubscription_FindEligiblePromotionsResponse. * * Currently, it is only enabeld for **YouTube**. Finds eligible promotions for * the current user. The API requires user authorization via OAuth. The bare @@ -128,14 +127,14 @@ NS_ASSUME_NONNULL_BEGIN * screen. * * @param object The @c - * GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1FindEligiblePromotionsRequest - * to include in the query. + * GTLRPaymentsResellerSubscription_FindEligiblePromotionsRequest to include + * in the query. * @param parent Required. The parent, the partner that can resell. Format: * partners/{partner} * * @return GTLRPaymentsResellerSubscriptionQuery_PartnersPromotionsFindEligible */ -+ (instancetype)queryWithObject:(GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1FindEligiblePromotionsRequest *)object ++ (instancetype)queryWithObject:(GTLRPaymentsResellerSubscription_FindEligiblePromotionsRequest *)object parent:(NSString *)parent; @end @@ -189,8 +188,7 @@ NS_ASSUME_NONNULL_BEGIN @property(nonatomic, copy, nullable) NSString *parent; /** - * Fetches a @c - * GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1ListPromotionsResponse. + * Fetches a @c GTLRPaymentsResellerSubscription_ListPromotionsResponse. * * Currently, it doesn't support **YouTube** promotions. Retrieves the * promotions, such as free trial, that can be used by the partner. It should @@ -228,23 +226,22 @@ NS_ASSUME_NONNULL_BEGIN @property(nonatomic, copy, nullable) NSString *name; /** - * Fetches a @c - * GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1CancelSubscriptionResponse. + * Fetches a @c GTLRPaymentsResellerSubscription_CancelSubscriptionResponse. * * Cancels a subscription service either immediately or by the end of the * current billing cycle for their customers. It should be called directly by * the partner using service accounts. * * @param object The @c - * GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1CancelSubscriptionRequest - * to include in the query. + * GTLRPaymentsResellerSubscription_CancelSubscriptionRequest to include in + * the query. * @param name Required. The name of the subscription resource to be cancelled. * It will have the format of * "partners/{partner_id}/subscriptions/{subscription_id}" * * @return GTLRPaymentsResellerSubscriptionQuery_PartnersSubscriptionsCancel */ -+ (instancetype)queryWithObject:(GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1CancelSubscriptionRequest *)object ++ (instancetype)queryWithObject:(GTLRPaymentsResellerSubscription_CancelSubscriptionRequest *)object name:(NSString *)name; @end @@ -276,22 +273,20 @@ NS_ASSUME_NONNULL_BEGIN @property(nonatomic, copy, nullable) NSString *subscriptionId; /** - * Fetches a @c - * GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Subscription. + * Fetches a @c GTLRPaymentsResellerSubscription_Subscription. * * Used by partners to create a subscription for their customers. The created * subscription is associated with the end user inferred from the end user * credentials. This API must be authorized by the end user using OAuth. * - * @param object The @c - * GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Subscription - * to include in the query. + * @param object The @c GTLRPaymentsResellerSubscription_Subscription to + * include in the query. * @param parent Required. The parent resource name, which is the identifier of * the partner. It will have the format of "partners/{partner_id}". * * @return GTLRPaymentsResellerSubscriptionQuery_PartnersSubscriptionsCreate */ -+ (instancetype)queryWithObject:(GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Subscription *)object ++ (instancetype)queryWithObject:(GTLRPaymentsResellerSubscription_Subscription *)object parent:(NSString *)parent; @end @@ -316,23 +311,22 @@ NS_ASSUME_NONNULL_BEGIN @property(nonatomic, copy, nullable) NSString *name; /** - * Fetches a @c - * GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1EntitleSubscriptionResponse. + * Fetches a @c GTLRPaymentsResellerSubscription_EntitleSubscriptionResponse. * * Entitles a previously provisioned subscription to the current end user. The * end user identity is inferred from the authorized credential of the request. * This API must be authorized by the end user using OAuth. * * @param object The @c - * GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1EntitleSubscriptionRequest - * to include in the query. + * GTLRPaymentsResellerSubscription_EntitleSubscriptionRequest to include in + * the query. * @param name Required. The name of the subscription resource that is entitled * to the current end user. It will have the format of * "partners/{partner_id}/subscriptions/{subscription_id}" * * @return GTLRPaymentsResellerSubscriptionQuery_PartnersSubscriptionsEntitle */ -+ (instancetype)queryWithObject:(GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1EntitleSubscriptionRequest *)object ++ (instancetype)queryWithObject:(GTLRPaymentsResellerSubscription_EntitleSubscriptionRequest *)object name:(NSString *)name; @end @@ -357,8 +351,7 @@ NS_ASSUME_NONNULL_BEGIN @property(nonatomic, copy, nullable) NSString *name; /** - * Fetches a @c - * GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1ExtendSubscriptionResponse. + * Fetches a @c GTLRPaymentsResellerSubscription_ExtendSubscriptionResponse. * * [Opt-in only] Most partners should be on auto-extend by default. Extends a * subscription service for their customers on an ongoing basis for the @@ -366,15 +359,15 @@ NS_ASSUME_NONNULL_BEGIN * the partner using service accounts. * * @param object The @c - * GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1ExtendSubscriptionRequest - * to include in the query. + * GTLRPaymentsResellerSubscription_ExtendSubscriptionRequest to include in + * the query. * @param name Required. The name of the subscription resource to be extended. * It will have the format of * "partners/{partner_id}/subscriptions/{subscription_id}". * * @return GTLRPaymentsResellerSubscriptionQuery_PartnersSubscriptionsExtend */ -+ (instancetype)queryWithObject:(GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1ExtendSubscriptionRequest *)object ++ (instancetype)queryWithObject:(GTLRPaymentsResellerSubscription_ExtendSubscriptionRequest *)object name:(NSString *)name; @end @@ -397,8 +390,7 @@ NS_ASSUME_NONNULL_BEGIN @property(nonatomic, copy, nullable) NSString *name; /** - * Fetches a @c - * GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Subscription. + * Fetches a @c GTLRPaymentsResellerSubscription_Subscription. * * Gets a subscription by id. It should be called directly by the partner using * service accounts. @@ -442,8 +434,7 @@ NS_ASSUME_NONNULL_BEGIN @property(nonatomic, copy, nullable) NSString *subscriptionId; /** - * Fetches a @c - * GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Subscription. + * Fetches a @c GTLRPaymentsResellerSubscription_Subscription. * * Used by partners to provision a subscription for their customers. This * creates a subscription without associating it with the end user account. @@ -451,15 +442,14 @@ NS_ASSUME_NONNULL_BEGIN * end user account to be associated with the subscription. It should be called * directly by the partner using service accounts. * - * @param object The @c - * GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Subscription - * to include in the query. + * @param object The @c GTLRPaymentsResellerSubscription_Subscription to + * include in the query. * @param parent Required. The parent resource name, which is the identifier of * the partner. It will have the format of "partners/{partner_id}". * * @return GTLRPaymentsResellerSubscriptionQuery_PartnersSubscriptionsProvision */ -+ (instancetype)queryWithObject:(GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Subscription *)object ++ (instancetype)queryWithObject:(GTLRPaymentsResellerSubscription_Subscription *)object parent:(NSString *)parent; @end @@ -483,23 +473,22 @@ NS_ASSUME_NONNULL_BEGIN @property(nonatomic, copy, nullable) NSString *name; /** - * Fetches a @c - * GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1ResumeSubscriptionResponse. + * Fetches a @c GTLRPaymentsResellerSubscription_ResumeSubscriptionResponse. * * Resumes a suspended subscription. The new billing cycle will start at the * time of the request. It should be called directly by the partner using * service accounts. * * @param object The @c - * GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1ResumeSubscriptionRequest - * to include in the query. + * GTLRPaymentsResellerSubscription_ResumeSubscriptionRequest to include in + * the query. * @param name Required. The name of the subscription resource to be resumed. * It will have the format of * "partners/{partner_id}/subscriptions/{subscription_id}" * * @return GTLRPaymentsResellerSubscriptionQuery_PartnersSubscriptionsResume */ -+ (instancetype)queryWithObject:(GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1ResumeSubscriptionRequest *)object ++ (instancetype)queryWithObject:(GTLRPaymentsResellerSubscription_ResumeSubscriptionRequest *)object name:(NSString *)name; @end @@ -523,23 +512,22 @@ NS_ASSUME_NONNULL_BEGIN @property(nonatomic, copy, nullable) NSString *name; /** - * Fetches a @c - * GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SuspendSubscriptionResponse. + * Fetches a @c GTLRPaymentsResellerSubscription_SuspendSubscriptionResponse. * * Suspends a subscription. Contract terms may dictate if a prorated refund * will be issued upon suspension. It should be called directly by the partner * using service accounts. * * @param object The @c - * GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SuspendSubscriptionRequest - * to include in the query. + * GTLRPaymentsResellerSubscription_SuspendSubscriptionRequest to include in + * the query. * @param name Required. The name of the subscription resource to be suspended. * It will have the format of * "partners/{partner_id}/subscriptions/{subscription_id}" * * @return GTLRPaymentsResellerSubscriptionQuery_PartnersSubscriptionsSuspend */ -+ (instancetype)queryWithObject:(GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SuspendSubscriptionRequest *)object ++ (instancetype)queryWithObject:(GTLRPaymentsResellerSubscription_SuspendSubscriptionRequest *)object name:(NSString *)name; @end @@ -567,7 +555,7 @@ NS_ASSUME_NONNULL_BEGIN /** * Fetches a @c - * GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1UndoCancelSubscriptionResponse. + * GTLRPaymentsResellerSubscription_UndoCancelSubscriptionResponse. * * Currently, it is used by **Google One, Play Pass** partners. Revokes the * pending cancellation of a subscription, which is currently in @@ -576,15 +564,15 @@ NS_ASSUME_NONNULL_BEGIN * partner using service accounts. * * @param object The @c - * GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1UndoCancelSubscriptionRequest - * to include in the query. + * GTLRPaymentsResellerSubscription_UndoCancelSubscriptionRequest to include + * in the query. * @param name Required. The name of the subscription resource whose pending * cancellation needs to be undone. It will have the format of * "partners/{partner_id}/subscriptions/{subscription_id}" * * @return GTLRPaymentsResellerSubscriptionQuery_PartnersSubscriptionsUndoCancel */ -+ (instancetype)queryWithObject:(GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1UndoCancelSubscriptionRequest *)object ++ (instancetype)queryWithObject:(GTLRPaymentsResellerSubscription_UndoCancelSubscriptionRequest *)object name:(NSString *)name; @end @@ -611,8 +599,7 @@ NS_ASSUME_NONNULL_BEGIN @property(nonatomic, copy, nullable) NSString *parent; /** - * Fetches a @c - * GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1GenerateUserSessionResponse. + * Fetches a @c GTLRPaymentsResellerSubscription_GenerateUserSessionResponse. * * This API replaces user authorized OAuth consent based APIs (Create, * Entitle). Issues a timed session token for the given user intent. You can @@ -622,14 +609,14 @@ NS_ASSUME_NONNULL_BEGIN * default, the session token is valid for 1 hour. * * @param object The @c - * GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1GenerateUserSessionRequest - * to include in the query. + * GTLRPaymentsResellerSubscription_GenerateUserSessionRequest to include in + * the query. * @param parent Required. The parent, the partner that can resell. Format: * partners/{partner} * * @return GTLRPaymentsResellerSubscriptionQuery_PartnersUserSessionsGenerate */ -+ (instancetype)queryWithObject:(GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1GenerateUserSessionRequest *)object ++ (instancetype)queryWithObject:(GTLRPaymentsResellerSubscription_GenerateUserSessionRequest *)object parent:(NSString *)parent; @end diff --git a/Sources/GeneratedServices/PlayIntegrity/GTLRPlayIntegrityObjects.m b/Sources/GeneratedServices/PlayIntegrity/GTLRPlayIntegrityObjects.m index 5410585fb..c80f068f4 100644 --- a/Sources/GeneratedServices/PlayIntegrity/GTLRPlayIntegrityObjects.m +++ b/Sources/GeneratedServices/PlayIntegrity/GTLRPlayIntegrityObjects.m @@ -70,6 +70,12 @@ NSString * const kGTLRPlayIntegrity_EnvironmentDetails_PlayProtectVerdict_PossibleRisk = @"POSSIBLE_RISK"; NSString * const kGTLRPlayIntegrity_EnvironmentDetails_PlayProtectVerdict_Unevaluated = @"UNEVALUATED"; +// GTLRPlayIntegrity_PcAccountDetails.appLicensingVerdict +NSString * const kGTLRPlayIntegrity_PcAccountDetails_AppLicensingVerdict_Licensed = @"LICENSED"; +NSString * const kGTLRPlayIntegrity_PcAccountDetails_AppLicensingVerdict_Unevaluated = @"UNEVALUATED"; +NSString * const kGTLRPlayIntegrity_PcAccountDetails_AppLicensingVerdict_Unknown = @"UNKNOWN"; +NSString * const kGTLRPlayIntegrity_PcAccountDetails_AppLicensingVerdict_Unlicensed = @"UNLICENSED"; + // GTLRPlayIntegrity_PcDeviceIntegrity.deviceRecognitionVerdict NSString * const kGTLRPlayIntegrity_PcDeviceIntegrity_DeviceRecognitionVerdict_DeviceRecognitionVerdictUnspecified = @"DEVICE_RECOGNITION_VERDICT_UNSPECIFIED"; NSString * const kGTLRPlayIntegrity_PcDeviceIntegrity_DeviceRecognitionVerdict_MeetsPcIntegrity = @"MEETS_PC_INTEGRITY"; @@ -233,6 +239,16 @@ @implementation GTLRPlayIntegrity_EnvironmentDetails @end +// ---------------------------------------------------------------------------- +// +// GTLRPlayIntegrity_PcAccountDetails +// + +@implementation GTLRPlayIntegrity_PcAccountDetails +@dynamic appLicensingVerdict; +@end + + // ---------------------------------------------------------------------------- // // GTLRPlayIntegrity_PcDeviceIntegrity @@ -267,7 +283,7 @@ @implementation GTLRPlayIntegrity_PcRequestDetails // @implementation GTLRPlayIntegrity_PcTokenPayloadExternal -@dynamic deviceIntegrity, requestDetails; +@dynamic accountDetails, deviceIntegrity, requestDetails; @end diff --git a/Sources/GeneratedServices/PlayIntegrity/Public/GoogleAPIClientForREST/GTLRPlayIntegrityObjects.h b/Sources/GeneratedServices/PlayIntegrity/Public/GoogleAPIClientForREST/GTLRPlayIntegrityObjects.h index a7aeee8a8..84f5db730 100644 --- a/Sources/GeneratedServices/PlayIntegrity/Public/GoogleAPIClientForREST/GTLRPlayIntegrityObjects.h +++ b/Sources/GeneratedServices/PlayIntegrity/Public/GoogleAPIClientForREST/GTLRPlayIntegrityObjects.h @@ -25,6 +25,7 @@ @class GTLRPlayIntegrity_DeviceIntegrity; @class GTLRPlayIntegrity_DeviceRecall; @class GTLRPlayIntegrity_EnvironmentDetails; +@class GTLRPlayIntegrity_PcAccountDetails; @class GTLRPlayIntegrity_PcDeviceIntegrity; @class GTLRPlayIntegrity_PcRequestDetails; @class GTLRPlayIntegrity_PcTokenPayloadExternal; @@ -91,7 +92,7 @@ FOUNDATION_EXTERN NSString * const kGTLRPlayIntegrity_AccountActivity_ActivityLe // GTLRPlayIntegrity_AccountDetails.appLicensingVerdict /** - * The app and certificate match the versions distributed by Play. + * The user has a valid license to use the app. * * Value: "LICENSED" */ @@ -111,7 +112,7 @@ FOUNDATION_EXTERN NSString * const kGTLRPlayIntegrity_AccountDetails_AppLicensin */ FOUNDATION_EXTERN NSString * const kGTLRPlayIntegrity_AccountDetails_AppLicensingVerdict_Unknown; /** - * The certificate or package name does not match Google Play records. + * The user does not have a valid license to use the app. * * Value: "UNLICENSED" */ @@ -340,6 +341,35 @@ FOUNDATION_EXTERN NSString * const kGTLRPlayIntegrity_EnvironmentDetails_PlayPro */ FOUNDATION_EXTERN NSString * const kGTLRPlayIntegrity_EnvironmentDetails_PlayProtectVerdict_Unevaluated; +// ---------------------------------------------------------------------------- +// GTLRPlayIntegrity_PcAccountDetails.appLicensingVerdict + +/** + * The user has a valid license to use the app. + * + * Value: "LICENSED" + */ +FOUNDATION_EXTERN NSString * const kGTLRPlayIntegrity_PcAccountDetails_AppLicensingVerdict_Licensed; +/** + * Licensing details were not evaluated since a necessary requirement was + * missed. + * + * Value: "UNEVALUATED" + */ +FOUNDATION_EXTERN NSString * const kGTLRPlayIntegrity_PcAccountDetails_AppLicensingVerdict_Unevaluated; +/** + * Play does not have sufficient information to evaluate licensing details + * + * Value: "UNKNOWN" + */ +FOUNDATION_EXTERN NSString * const kGTLRPlayIntegrity_PcAccountDetails_AppLicensingVerdict_Unknown; +/** + * The user does not have a valid license to use the app. + * + * Value: "UNLICENSED" + */ +FOUNDATION_EXTERN NSString * const kGTLRPlayIntegrity_PcAccountDetails_AppLicensingVerdict_Unlicensed; + // ---------------------------------------------------------------------------- // GTLRPlayIntegrity_PcDeviceIntegrity.deviceRecognitionVerdict @@ -447,8 +477,7 @@ GTLR_DEPRECATED * * Likely values: * @arg @c kGTLRPlayIntegrity_AccountDetails_AppLicensingVerdict_Licensed The - * app and certificate match the versions distributed by Play. (Value: - * "LICENSED") + * user has a valid license to use the app. (Value: "LICENSED") * @arg @c kGTLRPlayIntegrity_AccountDetails_AppLicensingVerdict_Unevaluated * Licensing details were not evaluated since a necessary requirement was * missed. For example DeviceIntegrity did not meet the minimum bar or @@ -457,8 +486,8 @@ GTLR_DEPRECATED * does not have sufficient information to evaluate licensing details * (Value: "UNKNOWN") * @arg @c kGTLRPlayIntegrity_AccountDetails_AppLicensingVerdict_Unlicensed - * The certificate or package name does not match Google Play records. - * (Value: "UNLICENSED") + * The user does not have a valid license to use the app. (Value: + * "UNLICENSED") */ @property(nonatomic, copy, nullable) NSString *appLicensingVerdict; @@ -669,6 +698,34 @@ GTLR_DEPRECATED @end +/** + * Contains the account information such as the licensing status for the user + * in the scope. + */ +@interface GTLRPlayIntegrity_PcAccountDetails : GTLRObject + +/** + * Required. Details about the licensing status of the user for the app in the + * scope. + * + * Likely values: + * @arg @c kGTLRPlayIntegrity_PcAccountDetails_AppLicensingVerdict_Licensed + * The user has a valid license to use the app. (Value: "LICENSED") + * @arg @c kGTLRPlayIntegrity_PcAccountDetails_AppLicensingVerdict_Unevaluated + * Licensing details were not evaluated since a necessary requirement was + * missed. (Value: "UNEVALUATED") + * @arg @c kGTLRPlayIntegrity_PcAccountDetails_AppLicensingVerdict_Unknown + * Play does not have sufficient information to evaluate licensing + * details (Value: "UNKNOWN") + * @arg @c kGTLRPlayIntegrity_PcAccountDetails_AppLicensingVerdict_Unlicensed + * The user does not have a valid license to use the app. (Value: + * "UNLICENSED") + */ +@property(nonatomic, copy, nullable) NSString *appLicensingVerdict; + +@end + + /** * Contains the device attestation information. */ @@ -705,6 +762,9 @@ GTLR_DEPRECATED */ @interface GTLRPlayIntegrity_PcTokenPayloadExternal : GTLRObject +/** Details about the account information such as the licensing status. */ +@property(nonatomic, strong, nullable) GTLRPlayIntegrity_PcAccountDetails *accountDetails; + /** Required. Details about the device integrity. */ @property(nonatomic, strong, nullable) GTLRPlayIntegrity_PcDeviceIntegrity *deviceIntegrity; diff --git a/Sources/GeneratedServices/PolicySimulator/Public/GoogleAPIClientForREST/GTLRPolicySimulatorObjects.h b/Sources/GeneratedServices/PolicySimulator/Public/GoogleAPIClientForREST/GTLRPolicySimulatorObjects.h index d6140d028..789913d11 100644 --- a/Sources/GeneratedServices/PolicySimulator/Public/GoogleAPIClientForREST/GTLRPolicySimulatorObjects.h +++ b/Sources/GeneratedServices/PolicySimulator/Public/GoogleAPIClientForREST/GTLRPolicySimulatorObjects.h @@ -922,8 +922,8 @@ FOUNDATION_EXTERN NSString * const kGTLRPolicySimulator_GoogleIamV1AuditLogConfi /** * Optional. Required for managed constraints if parameters are defined. Passes * parameter values when policy enforcement is enabled. Ensure that parameter - * value types match those defined in the constraint definition. For example: { - * "allowedLocations" : ["us-east1", "us-west1"], "allowAll" : true } + * value types match those defined in the constraint definition. For example: + * ``` { "allowedLocations" : ["us-east1", "us-west1"], "allowAll" : true } ``` */ @property(nonatomic, strong, nullable) GTLRPolicySimulator_GoogleCloudOrgpolicyV2PolicySpecPolicyRule_Parameters *parameters; @@ -939,8 +939,8 @@ FOUNDATION_EXTERN NSString * const kGTLRPolicySimulator_GoogleIamV1AuditLogConfi /** * Optional. Required for managed constraints if parameters are defined. Passes * parameter values when policy enforcement is enabled. Ensure that parameter - * value types match those defined in the constraint definition. For example: { - * "allowedLocations" : ["us-east1", "us-west1"], "allowAll" : true } + * value types match those defined in the constraint definition. For example: + * ``` { "allowedLocations" : ["us-east1", "us-west1"], "allowAll" : true } ``` * * @note This class is documented as having more properties of any valid JSON * type. Use @c -additionalJSONKeys and @c -additionalPropertyForName: to diff --git a/Sources/GeneratedServices/Reports/GTLRReportsQuery.m b/Sources/GeneratedServices/Reports/GTLRReportsQuery.m index 400b8d093..187a182d1 100644 --- a/Sources/GeneratedServices/Reports/GTLRReportsQuery.m +++ b/Sources/GeneratedServices/Reports/GTLRReportsQuery.m @@ -21,6 +21,7 @@ NSString * const kGTLRReportsApplicationNameCalendar = @"calendar"; NSString * const kGTLRReportsApplicationNameChat = @"chat"; NSString * const kGTLRReportsApplicationNameChrome = @"chrome"; +NSString * const kGTLRReportsApplicationNameClassroom = @"classroom"; NSString * const kGTLRReportsApplicationNameContextAwareAccess = @"context_aware_access"; NSString * const kGTLRReportsApplicationNameDataStudio = @"data_studio"; NSString * const kGTLRReportsApplicationNameDrive = @"drive"; diff --git a/Sources/GeneratedServices/Reports/Public/GoogleAPIClientForREST/GTLRReportsQuery.h b/Sources/GeneratedServices/Reports/Public/GoogleAPIClientForREST/GTLRReportsQuery.h index 183a74f83..9ab1abf13 100644 --- a/Sources/GeneratedServices/Reports/Public/GoogleAPIClientForREST/GTLRReportsQuery.h +++ b/Sources/GeneratedServices/Reports/Public/GoogleAPIClientForREST/GTLRReportsQuery.h @@ -66,6 +66,14 @@ FOUNDATION_EXTERN NSString * const kGTLRReportsApplicationNameChat; * Value: "chrome" */ FOUNDATION_EXTERN NSString * const kGTLRReportsApplicationNameChrome; +/** + * The Classroom activity reports return information about different types of + * [Classroom activity + * events](https://developers.google.com/workspace/admin/reports/v1/appendix/activity/classroom). + * + * Value: "classroom" + */ +FOUNDATION_EXTERN NSString * const kGTLRReportsApplicationNameClassroom; /** * The Context-aware access activity reports return information about users' * access denied events due to Context-aware access rules. @@ -316,6 +324,11 @@ FOUNDATION_EXTERN NSString * const kGTLRReportsEntityTypeGplusCommunities; * Workspace activity reports return information about various types of * Gemini activity events performed by users within a Workspace * application. (Value: "gemini_in_workspace_apps") + * @arg @c kGTLRReportsApplicationNameClassroom The Classroom activity + * reports return information about different types of [Classroom + * activity + * events](https://developers.google.com/workspace/admin/reports/v1/appendix/activity/classroom). + * (Value: "classroom") */ @property(nonatomic, copy, nullable) NSString *applicationName; @@ -534,6 +547,11 @@ FOUNDATION_EXTERN NSString * const kGTLRReportsEntityTypeGplusCommunities; * Workspace activity reports return information about various types of * Gemini activity events performed by users within a Workspace * application. (Value: "gemini_in_workspace_apps") + * @arg @c kGTLRReportsApplicationNameClassroom The Classroom activity + * reports return information about different types of [Classroom + * activity + * events](https://developers.google.com/workspace/admin/reports/v1/appendix/activity/classroom). + * (Value: "classroom") * * @return GTLRReportsQuery_ActivitiesList * @@ -639,6 +657,11 @@ FOUNDATION_EXTERN NSString * const kGTLRReportsEntityTypeGplusCommunities; * reports return information about various Google Keep activity events. * The Keep activity report is only available for Google Workspace * Business and Enterprise customers. (Value: "keep") + * @arg @c kGTLRReportsApplicationNameClassroom The Classroom activity + * reports return information about different types of [Classroom + * activity + * events](https://developers.google.com/workspace/admin/reports/v1/appendix/activity/classroom). + * (Value: "classroom") */ @property(nonatomic, copy, nullable) NSString *applicationName; @@ -851,6 +874,11 @@ FOUNDATION_EXTERN NSString * const kGTLRReportsEntityTypeGplusCommunities; * reports return information about various Google Keep activity events. * The Keep activity report is only available for Google Workspace * Business and Enterprise customers. (Value: "keep") + * @arg @c kGTLRReportsApplicationNameClassroom The Classroom activity + * reports return information about different types of [Classroom + * activity + * events](https://developers.google.com/workspace/admin/reports/v1/appendix/activity/classroom). + * (Value: "classroom") * * @return GTLRReportsQuery_ActivitiesWatch */ diff --git a/Sources/GeneratedServices/SQLAdmin/GTLRSQLAdminObjects.m b/Sources/GeneratedServices/SQLAdmin/GTLRSQLAdminObjects.m index fed7f551d..d9070790d 100644 --- a/Sources/GeneratedServices/SQLAdmin/GTLRSQLAdminObjects.m +++ b/Sources/GeneratedServices/SQLAdmin/GTLRSQLAdminObjects.m @@ -243,6 +243,10 @@ NSString * const kGTLRSQLAdmin_ConnectSettings_DatabaseVersion_Sqlserver2022Standard = @"SQLSERVER_2022_STANDARD"; NSString * const kGTLRSQLAdmin_ConnectSettings_DatabaseVersion_Sqlserver2022Web = @"SQLSERVER_2022_WEB"; +// GTLRSQLAdmin_ConnectSettings.mdxProtocolSupport +NSString * const kGTLRSQLAdmin_ConnectSettings_MdxProtocolSupport_ClientProtocolType = @"CLIENT_PROTOCOL_TYPE"; +NSString * const kGTLRSQLAdmin_ConnectSettings_MdxProtocolSupport_MdxProtocolSupportUnspecified = @"MDX_PROTOCOL_SUPPORT_UNSPECIFIED"; + // GTLRSQLAdmin_ConnectSettings.serverCaMode NSString * const kGTLRSQLAdmin_ConnectSettings_ServerCaMode_CaModeUnspecified = @"CA_MODE_UNSPECIFIED"; NSString * const kGTLRSQLAdmin_ConnectSettings_ServerCaMode_CustomerManagedCasCa = @"CUSTOMER_MANAGED_CAS_CA"; @@ -588,6 +592,11 @@ NSString * const kGTLRSQLAdmin_Settings_ReplicationType_SqlReplicationTypeUnspecified = @"SQL_REPLICATION_TYPE_UNSPECIFIED"; NSString * const kGTLRSQLAdmin_Settings_ReplicationType_Synchronous = @"SYNCHRONOUS"; +// GTLRSQLAdmin_SqlActiveDirectoryConfig.mode +NSString * const kGTLRSQLAdmin_SqlActiveDirectoryConfig_Mode_ActiveDirectoryModeUnspecified = @"ACTIVE_DIRECTORY_MODE_UNSPECIFIED"; +NSString * const kGTLRSQLAdmin_SqlActiveDirectoryConfig_Mode_ManagedActiveDirectory = @"MANAGED_ACTIVE_DIRECTORY"; +NSString * const kGTLRSQLAdmin_SqlActiveDirectoryConfig_Mode_SelfManagedActiveDirectory = @"SELF_MANAGED_ACTIVE_DIRECTORY"; + // GTLRSQLAdmin_SqlExternalSyncSettingError.type NSString * const kGTLRSQLAdmin_SqlExternalSyncSettingError_Type_BinlogNotEnabled = @"BINLOG_NOT_ENABLED"; NSString * const kGTLRSQLAdmin_SqlExternalSyncSettingError_Type_BinlogRetentionSetting = @"BINLOG_RETENTION_SETTING"; @@ -620,10 +629,12 @@ NSString * const kGTLRSQLAdmin_SqlExternalSyncSettingError_Type_PgSubscriptionCount = @"PG_SUBSCRIPTION_COUNT"; NSString * const kGTLRSQLAdmin_SqlExternalSyncSettingError_Type_PgSyncParallelLevel = @"PG_SYNC_PARALLEL_LEVEL"; NSString * const kGTLRSQLAdmin_SqlExternalSyncSettingError_Type_PrimaryAlreadySetup = @"PRIMARY_ALREADY_SETUP"; +NSString * const kGTLRSQLAdmin_SqlExternalSyncSettingError_Type_PromptDeleteExisting = @"PROMPT_DELETE_EXISTING"; NSString * const kGTLRSQLAdmin_SqlExternalSyncSettingError_Type_PscOnlyInstanceWithNoNetworkAttachmentUri = @"PSC_ONLY_INSTANCE_WITH_NO_NETWORK_ATTACHMENT_URI"; NSString * const kGTLRSQLAdmin_SqlExternalSyncSettingError_Type_ReplicaAlreadySetup = @"REPLICA_ALREADY_SETUP"; NSString * const kGTLRSQLAdmin_SqlExternalSyncSettingError_Type_RiskyBackupAdminPrivilege = @"RISKY_BACKUP_ADMIN_PRIVILEGE"; NSString * const kGTLRSQLAdmin_SqlExternalSyncSettingError_Type_SelectedObjectsNotExistOnSource = @"SELECTED_OBJECTS_NOT_EXIST_ON_SOURCE"; +NSString * const kGTLRSQLAdmin_SqlExternalSyncSettingError_Type_SelectedObjectsReferenceUnselectedObjects = @"SELECTED_OBJECTS_REFERENCE_UNSELECTED_OBJECTS"; NSString * const kGTLRSQLAdmin_SqlExternalSyncSettingError_Type_SourceMaxSubscriptions = @"SOURCE_MAX_SUBSCRIPTIONS"; NSString * const kGTLRSQLAdmin_SqlExternalSyncSettingError_Type_SqlExternalSyncSettingErrorTypeUnspecified = @"SQL_EXTERNAL_SYNC_SETTING_ERROR_TYPE_UNSPECIFIED"; NSString * const kGTLRSQLAdmin_SqlExternalSyncSettingError_Type_SqlserverAgentNotRunning = @"SQLSERVER_AGENT_NOT_RUNNING"; @@ -644,6 +655,7 @@ NSString * const kGTLRSQLAdmin_SqlExternalSyncSettingError_Type_UnsupportedTableDefinition = @"UNSUPPORTED_TABLE_DEFINITION"; NSString * const kGTLRSQLAdmin_SqlExternalSyncSettingError_Type_UnsupportedTablesWithReplicaIdentity = @"UNSUPPORTED_TABLES_WITH_REPLICA_IDENTITY"; NSString * const kGTLRSQLAdmin_SqlExternalSyncSettingError_Type_UsersNotCreatedInReplica = @"USERS_NOT_CREATED_IN_REPLICA"; +NSString * const kGTLRSQLAdmin_SqlExternalSyncSettingError_Type_WillDeleteExisting = @"WILL_DELETE_EXISTING"; // GTLRSQLAdmin_SqlInstancesStartExternalSyncRequest.migrationType NSString * const kGTLRSQLAdmin_SqlInstancesStartExternalSyncRequest_MigrationType_Logical = @"LOGICAL"; @@ -919,7 +931,7 @@ + (BOOL)isKindValidForClassRegistry { @implementation GTLRSQLAdmin_CloneContext @dynamic allocatedIpRange, binLogCoordinates, databaseNames, destinationInstanceName, kind, pitrTimestampMs, pointInTime, - preferredSecondaryZone, preferredZone; + preferredSecondaryZone, preferredZone, sourceInstanceDeletionTime; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -937,13 +949,23 @@ + (BOOL)isKindValidForClassRegistry { @end +// ---------------------------------------------------------------------------- +// +// GTLRSQLAdmin_Column +// + +@implementation GTLRSQLAdmin_Column +@dynamic name, type; +@end + + // ---------------------------------------------------------------------------- // // GTLRSQLAdmin_ConnectionPoolConfig // @implementation GTLRSQLAdmin_ConnectionPoolConfig -@dynamic connectionPoolingEnabled, flags; +@dynamic connectionPoolingEnabled, flags, poolerCount; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -991,14 +1013,15 @@ @implementation GTLRSQLAdmin_ConnectPoolNodeConfig @implementation GTLRSQLAdmin_ConnectSettings @dynamic backendType, customSubjectAlternativeNames, databaseVersion, dnsName, - dnsNames, ipAddresses, kind, nodeCount, nodes, pscEnabled, region, - serverCaCert, serverCaMode; + dnsNames, ipAddresses, kind, mdxProtocolSupport, nodeCount, nodes, + pscEnabled, region, serverCaCert, serverCaMode; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @"customSubjectAlternativeNames" : [NSString class], @"dnsNames" : [GTLRSQLAdmin_DnsNameMapping class], @"ipAddresses" : [GTLRSQLAdmin_IpMapping class], + @"mdxProtocolSupport" : [NSString class], @"nodes" : [GTLRSQLAdmin_ConnectPoolNodeConfig class] }; return map; @@ -1051,10 +1074,10 @@ @implementation GTLRSQLAdmin_DatabaseFlags // @implementation GTLRSQLAdmin_DatabaseInstance -@dynamic availableMaintenanceVersions, backendType, clearNetwork, - connectionName, createTime, currentDiskSize, databaseInstalledVersion, - databaseVersion, diskEncryptionConfiguration, diskEncryptionStatus, - dnsName, dnsNames, ETag, failoverReplica, gceZone, geminiConfig, +@dynamic availableMaintenanceVersions, backendType, connectionName, createTime, + currentDiskSize, databaseInstalledVersion, databaseVersion, + diskEncryptionConfiguration, diskEncryptionStatus, dnsName, dnsNames, + ETag, failoverReplica, gceZone, geminiConfig, includeReplicasForMajorVersionUpgrade, instanceType, ipAddresses, ipv6Address, kind, maintenanceVersion, masterInstanceName, maxDiskSize, name, nodeCount, nodes, onPremisesConfiguration, outOfDiskReport, @@ -1282,6 +1305,16 @@ @implementation GTLRSQLAdmin_Empty @end +// ---------------------------------------------------------------------------- +// +// GTLRSQLAdmin_ExecuteSqlPayload +// + +@implementation GTLRSQLAdmin_ExecuteSqlPayload +@dynamic autoIamAuthn, database, rowLimit, sqlStatement; +@end + + // ---------------------------------------------------------------------------- // // GTLRSQLAdmin_ExportContext @@ -1405,6 +1438,16 @@ + (BOOL)isKindValidForClassRegistry { @end +// ---------------------------------------------------------------------------- +// +// GTLRSQLAdmin_FinalBackupConfig +// + +@implementation GTLRSQLAdmin_FinalBackupConfig +@dynamic enabled, retentionDays; +@end + + // ---------------------------------------------------------------------------- // // GTLRSQLAdmin_Flag @@ -1766,7 +1809,16 @@ @implementation GTLRSQLAdmin_InstancesReencryptRequest // @implementation GTLRSQLAdmin_InstancesRestoreBackupRequest -@dynamic backup, backupdrBackup, restoreBackupContext, restoreInstanceSettings; +@dynamic backup, backupdrBackup, restoreBackupContext, + restoreInstanceClearOverridesFieldNames, restoreInstanceSettings; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"restoreInstanceClearOverridesFieldNames" : [NSString class] + }; + return map; +} + @end @@ -1898,6 +1950,16 @@ + (BOOL)isKindValidForClassRegistry { @end +// ---------------------------------------------------------------------------- +// +// GTLRSQLAdmin_Metadata +// + +@implementation GTLRSQLAdmin_Metadata +@dynamic sqlStatementExecutionTime; +@end + + // ---------------------------------------------------------------------------- // // GTLRSQLAdmin_MySqlReplicaConfiguration @@ -2148,6 +2210,25 @@ @implementation GTLRSQLAdmin_PscConfig @end +// ---------------------------------------------------------------------------- +// +// GTLRSQLAdmin_QueryResult +// + +@implementation GTLRSQLAdmin_QueryResult +@dynamic columns, message, partialResult, rows; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"columns" : [GTLRSQLAdmin_Column class], + @"rows" : [GTLRSQLAdmin_Row class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRSQLAdmin_ReplicaConfiguration @@ -2236,6 +2317,24 @@ + (BOOL)isKindValidForClassRegistry { @end +// ---------------------------------------------------------------------------- +// +// GTLRSQLAdmin_Row +// + +@implementation GTLRSQLAdmin_Row +@dynamic values; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"values" : [GTLRSQLAdmin_Value class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRSQLAdmin_SelectedObjects @@ -2259,12 +2358,12 @@ @implementation GTLRSQLAdmin_Settings dataCacheConfig, dataDiskProvisionedIops, dataDiskProvisionedThroughput, dataDiskSizeGb, dataDiskType, deletionProtectionEnabled, denyMaintenancePeriods, edition, - enableDataplexIntegration, enableGoogleMlIntegration, insightsConfig, - ipConfiguration, kind, locationPreference, maintenanceWindow, - passwordValidationPolicy, pricingPlan, replicationLagMaxSeconds, - replicationType, retainBackupsOnDelete, settingsVersion, - sqlServerAuditConfig, storageAutoResize, storageAutoResizeLimit, tier, - timeZone, userLabels; + enableDataplexIntegration, enableGoogleMlIntegration, + finalBackupConfig, insightsConfig, ipConfiguration, kind, + locationPreference, maintenanceWindow, passwordValidationPolicy, + pricingPlan, replicationLagMaxSeconds, replicationType, + retainBackupsOnDelete, settingsVersion, sqlServerAuditConfig, + storageAutoResize, storageAutoResizeLimit, tier, timeZone, userLabels; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -2304,7 +2403,15 @@ + (Class)classForAdditionalProperties { // @implementation GTLRSQLAdmin_SqlActiveDirectoryConfig -@dynamic domain, kind; +@dynamic adminCredentialSecretName, dnsServers, domain, kind, mode, + organizationalUnit; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"dnsServers" : [NSString class] + }; + return map; +} + (BOOL)isKindValidForClassRegistry { // This class has a "kind" property that doesn't appear to be usable to @@ -2342,6 +2449,24 @@ @implementation GTLRSQLAdmin_SqlInstancesAcquireSsrsLeaseResponse @end +// ---------------------------------------------------------------------------- +// +// GTLRSQLAdmin_SqlInstancesExecuteSqlResponse +// + +@implementation GTLRSQLAdmin_SqlInstancesExecuteSqlResponse +@dynamic metadata, results; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"results" : [GTLRSQLAdmin_QueryResult class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRSQLAdmin_SqlInstancesGetDiskShrinkConfigResponse @@ -2411,8 +2536,8 @@ @implementation GTLRSQLAdmin_SqlInstancesResetReplicaSizeRequest // @implementation GTLRSQLAdmin_SqlInstancesStartExternalSyncRequest -@dynamic migrationType, mysqlSyncConfig, skipVerification, syncMode, - syncParallelLevel; +@dynamic migrationType, mysqlSyncConfig, replicaOverwriteEnabled, + skipVerification, syncMode, syncParallelLevel; @end @@ -2763,3 +2888,13 @@ + (BOOL)isKindValidForClassRegistry { } @end + + +// ---------------------------------------------------------------------------- +// +// GTLRSQLAdmin_Value +// + +@implementation GTLRSQLAdmin_Value +@dynamic nullValue, value; +@end diff --git a/Sources/GeneratedServices/SQLAdmin/GTLRSQLAdminQuery.m b/Sources/GeneratedServices/SQLAdmin/GTLRSQLAdminQuery.m index 19d1f96d6..7a121f8c8 100644 --- a/Sources/GeneratedServices/SQLAdmin/GTLRSQLAdminQuery.m +++ b/Sources/GeneratedServices/SQLAdmin/GTLRSQLAdminQuery.m @@ -686,6 +686,37 @@ + (instancetype)queryWithObject:(GTLRSQLAdmin_InstancesDemoteMasterRequest *)obj @end +@implementation GTLRSQLAdminQuery_InstancesExecuteSql + +@dynamic instance, project; + ++ (instancetype)queryWithObject:(GTLRSQLAdmin_ExecuteSqlPayload *)object + project:(NSString *)project + instance:(NSString *)instance { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSArray *pathParams = @[ + @"instance", @"project" + ]; + NSString *pathURITemplate = @"v1/projects/{project}/instances/{instance}/executeSql"; + GTLRSQLAdminQuery_InstancesExecuteSql *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.project = project; + query.instance = instance; + query.expectedObjectClass = [GTLRSQLAdmin_SqlInstancesExecuteSqlResponse class]; + query.loggingName = @"sql.instances.executeSql"; + return query; +} + +@end + @implementation GTLRSQLAdminQuery_InstancesExport @dynamic instance, project; @@ -1389,7 +1420,7 @@ + (instancetype)queryWithProject:(NSString *)project @implementation GTLRSQLAdminQuery_ProjectsInstancesGetLatestRecoveryTime -@dynamic instance, project; +@dynamic instance, project, sourceInstanceDeletionTime; + (instancetype)queryWithProject:(NSString *)project instance:(NSString *)instance { diff --git a/Sources/GeneratedServices/SQLAdmin/Public/GoogleAPIClientForREST/GTLRSQLAdminObjects.h b/Sources/GeneratedServices/SQLAdmin/Public/GoogleAPIClientForREST/GTLRSQLAdminObjects.h index c99e83556..d1757f7e7 100644 --- a/Sources/GeneratedServices/SQLAdmin/Public/GoogleAPIClientForREST/GTLRSQLAdminObjects.h +++ b/Sources/GeneratedServices/SQLAdmin/Public/GoogleAPIClientForREST/GTLRSQLAdminObjects.h @@ -27,6 +27,7 @@ @class GTLRSQLAdmin_BackupRun; @class GTLRSQLAdmin_BinLogCoordinates; @class GTLRSQLAdmin_CloneContext; +@class GTLRSQLAdmin_Column; @class GTLRSQLAdmin_ConnectionPoolConfig; @class GTLRSQLAdmin_ConnectionPoolFlags; @class GTLRSQLAdmin_ConnectPoolNodeConfig; @@ -53,6 +54,7 @@ @class GTLRSQLAdmin_ExportContext_TdeExportOptions; @class GTLRSQLAdmin_ExternalSyncSelectedObject; @class GTLRSQLAdmin_FailoverContext; +@class GTLRSQLAdmin_FinalBackupConfig; @class GTLRSQLAdmin_Flag; @class GTLRSQLAdmin_GeminiInstanceConfig; @class GTLRSQLAdmin_ImportContext; @@ -69,6 +71,7 @@ @class GTLRSQLAdmin_IpMapping; @class GTLRSQLAdmin_LocationPreference; @class GTLRSQLAdmin_MaintenanceWindow; +@class GTLRSQLAdmin_Metadata; @class GTLRSQLAdmin_MySqlReplicaConfiguration; @class GTLRSQLAdmin_MySqlSyncConfig; @class GTLRSQLAdmin_OnPremisesConfiguration; @@ -80,12 +83,14 @@ @class GTLRSQLAdmin_PoolNodeConfig; @class GTLRSQLAdmin_PscAutoConnectionConfig; @class GTLRSQLAdmin_PscConfig; +@class GTLRSQLAdmin_QueryResult; @class GTLRSQLAdmin_ReplicaConfiguration; @class GTLRSQLAdmin_ReplicationCluster; @class GTLRSQLAdmin_Reschedule; @class GTLRSQLAdmin_RestoreBackupContext; @class GTLRSQLAdmin_RotateServerCaContext; @class GTLRSQLAdmin_RotateServerCertificateContext; +@class GTLRSQLAdmin_Row; @class GTLRSQLAdmin_SelectedObjects; @class GTLRSQLAdmin_Settings; @class GTLRSQLAdmin_Settings_UserLabels; @@ -104,6 +109,7 @@ @class GTLRSQLAdmin_TruncateLogContext; @class GTLRSQLAdmin_User; @class GTLRSQLAdmin_UserPasswordValidationPolicy; +@class GTLRSQLAdmin_Value; // Generated comments include content from the discovery document; avoid them // causing warnings since clang's checks are some what arbitrary. @@ -1387,6 +1393,22 @@ FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_ConnectSettings_DatabaseVersion */ FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_ConnectSettings_DatabaseVersion_Sqlserver2022Web; +// ---------------------------------------------------------------------------- +// GTLRSQLAdmin_ConnectSettings.mdxProtocolSupport + +/** + * Client should send the client protocol type in the MDX request. + * + * Value: "CLIENT_PROTOCOL_TYPE" + */ +FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_ConnectSettings_MdxProtocolSupport_ClientProtocolType; +/** + * Not specified. + * + * Value: "MDX_PROTOCOL_SUPPORT_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_ConnectSettings_MdxProtocolSupport_MdxProtocolSupportUnspecified; + // ---------------------------------------------------------------------------- // GTLRSQLAdmin_ConnectSettings.serverCaMode @@ -3226,6 +3248,29 @@ FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_Settings_ReplicationType_SqlRep */ FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_Settings_ReplicationType_Synchronous; +// ---------------------------------------------------------------------------- +// GTLRSQLAdmin_SqlActiveDirectoryConfig.mode + +/** + * Unspecified mode. Will default to MANAGED_ACTIVE_DIRECTORY if the mode is + * not specified to maintain backward compatibility. + * + * Value: "ACTIVE_DIRECTORY_MODE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_SqlActiveDirectoryConfig_Mode_ActiveDirectoryModeUnspecified; +/** + * Managed Active Directory mode. + * + * Value: "MANAGED_ACTIVE_DIRECTORY" + */ +FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_SqlActiveDirectoryConfig_Mode_ManagedActiveDirectory; +/** + * Self-managed Active Directory mode. + * + * Value: "SELF_MANAGED_ACTIVE_DIRECTORY" + */ +FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_SqlActiveDirectoryConfig_Mode_SelfManagedActiveDirectory; + // ---------------------------------------------------------------------------- // GTLRSQLAdmin_SqlExternalSyncSettingError.type @@ -3413,6 +3458,14 @@ FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_SqlExternalSyncSettingError_Typ * Value: "PRIMARY_ALREADY_SETUP" */ FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_SqlExternalSyncSettingError_Type_PrimaryAlreadySetup; +/** + * The migration will delete existing data in the replica; set + * replica_overwrite_enabled in the request to acknowledge this. This is an + * error. MySQL only. + * + * Value: "PROMPT_DELETE_EXISTING" + */ +FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_SqlExternalSyncSettingError_Type_PromptDeleteExisting; /** * PSC only destination instance does not have a network attachment URI. * @@ -3434,6 +3487,14 @@ FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_SqlExternalSyncSettingError_Typ * Value: "SELECTED_OBJECTS_NOT_EXIST_ON_SOURCE" */ FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_SqlExternalSyncSettingError_Type_SelectedObjectsNotExistOnSource; +/** + * Selected objects reference unselected objects. Based on their object type + * (foreign key constraint or view), selected objects will fail during + * migration. + * + * Value: "SELECTED_OBJECTS_REFERENCE_UNSELECTED_OBJECTS" + */ +FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_SqlExternalSyncSettingError_Type_SelectedObjectsReferenceUnselectedObjects; /** * This warning message indicates that Cloud SQL uses the maximum number of * subscriptions to migrate data from the source to the destination. @@ -3563,6 +3624,14 @@ FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_SqlExternalSyncSettingError_Typ * Value: "USERS_NOT_CREATED_IN_REPLICA" */ FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_SqlExternalSyncSettingError_Type_UsersNotCreatedInReplica; +/** + * The migration will delete existing data in the replica; + * replica_overwrite_enabled was set in the request acknowledging this. This is + * a warning rather than an error. MySQL only. + * + * Value: "WILL_DELETE_EXISTING" + */ +FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_SqlExternalSyncSettingError_Type_WillDeleteExisting; // ---------------------------------------------------------------------------- // GTLRSQLAdmin_SqlInstancesStartExternalSyncRequest.migrationType @@ -4850,6 +4919,26 @@ FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_User_Type_CloudIamUser; */ @property(nonatomic, copy, nullable) NSString *preferredZone; +/** + * The timestamp used to identify the time when the source instance is deleted. + * If this instance is deleted, then you must set the timestamp. + */ +@property(nonatomic, strong, nullable) GTLRDateTime *sourceInstanceDeletionTime; + +@end + + +/** + * Contains the name and datatype of a column. + */ +@interface GTLRSQLAdmin_Column : GTLRObject + +/** Name of the column. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** Datatype of the column. */ +@property(nonatomic, copy, nullable) NSString *type; + @end @@ -4868,6 +4957,13 @@ FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_User_Type_CloudIamUser; /** Optional. List of connection pool configuration flags. */ @property(nonatomic, strong, nullable) NSArray *flags; +/** + * Output only. Number of connection poolers. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *poolerCount; + @end @@ -5096,6 +5192,15 @@ FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_User_Type_CloudIamUser; /** This is always `sql#connectSettings`. */ @property(nonatomic, copy, nullable) NSString *kind; +/** + * Optional. Output only. mdx_protocol_support controls how the client uses + * metadata exchange when connecting to the instance. The values in the list + * representing parts of the MDX protocol that are supported by this instance. + * When the list is empty, the instance does not support MDX, so the client + * must not send an MDX request. The default is empty. + */ +@property(nonatomic, strong, nullable) NSArray *mdxProtocolSupport; + /** * The number of read pool nodes in a read pool. * @@ -5242,13 +5347,6 @@ FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_User_Type_CloudIamUser; */ @property(nonatomic, copy, nullable) NSString *backendType; -/** - * Clears private network settings when the instance is restored. - * - * Uses NSNumber of boolValue. - */ -@property(nonatomic, strong, nullable) NSNumber *clearNetwork; - /** Connection name of the Cloud SQL instance used in connection strings. */ @property(nonatomic, copy, nullable) NSString *connectionName; @@ -5987,6 +6085,39 @@ FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_User_Type_CloudIamUser; @end +/** + * The request payload used to execute SQL statements. + */ +@interface GTLRSQLAdmin_ExecuteSqlPayload : GTLRObject + +/** + * Optional. When set to true, the API caller identity associated with the + * request is used for database authentication. The API caller must be an IAM + * user in the database. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *autoIamAuthn; + +/** Optional. Name of the database on which the statement will be executed. */ +@property(nonatomic, copy, nullable) NSString *database; + +/** + * Optional. The maximum number of rows returned per SQL statement. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *rowLimit; + +/** + * Required. SQL statements to run on the database. It can be a single + * statement or a sequence of statements separated by semicolons. + */ +@property(nonatomic, copy, nullable) NSString *sqlStatement; + +@end + + /** * Database instance export context. */ @@ -6306,6 +6437,30 @@ FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_User_Type_CloudIamUser; @end +/** + * Config used to determine the final backup settings for the instance. + */ +@interface GTLRSQLAdmin_FinalBackupConfig : GTLRObject + +/** + * Whether the final backup is enabled for the instance. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *enabled; + +/** + * The number of days to retain the final backup after the instance deletion. + * The final backup will be purged at (time_of_instance_deletion + + * retention_days). + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *retentionDays; + +@end + + /** * A flag resource. */ @@ -7061,6 +7216,13 @@ FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_User_Type_CloudIamUser; /** Parameters required to perform the restore backup operation. */ @property(nonatomic, strong, nullable) GTLRSQLAdmin_RestoreBackupContext *restoreBackupContext; +/** + * Optional. This field has the same purpose as restore_instance_settings, + * changes any instance settings stored in the backup you are restoring from. + * With the difference that these fields are cleared in the settings. + */ +@property(nonatomic, strong, nullable) NSArray *restoreInstanceClearOverridesFieldNames; + /** * Optional. By using this parameter, Cloud SQL overrides any instance settings * stored in the backup you are restoring from. You can't change the instance's @@ -7430,6 +7592,18 @@ FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_User_Type_CloudIamUser; @end +/** + * The additional metadata information regarding the execution of the SQL + * statements. + */ +@interface GTLRSQLAdmin_Metadata : GTLRObject + +/** The time taken to execute the SQL statements. */ +@property(nonatomic, strong, nullable) GTLRDuration *sqlStatementExecutionTime; + +@end + + /** * Read-replica configuration specific to MySQL databases. */ @@ -8008,7 +8182,6 @@ FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_User_Type_CloudIamUser; * 1035](https://tools.ietf.org/html/rfc1035) standards. Specifically, the name * must be 1-63 characters long and match the regular expression * [a-z]([-a-z0-9]*[a-z0-9])?. Reserved for future use. - * http://go/speckle-subnet-picker-clone */ @property(nonatomic, copy, nullable) NSString *allocatedIpRange; @@ -8177,6 +8350,33 @@ FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_User_Type_CloudIamUser; @end +/** + * QueryResult contains the result of executing a single SQL statement. + */ +@interface GTLRSQLAdmin_QueryResult : GTLRObject + +/** + * List of columns included in the result. This also includes the data type of + * the column. + */ +@property(nonatomic, strong, nullable) NSArray *columns; + +/** Message related to the SQL execution result. */ +@property(nonatomic, copy, nullable) NSString *message; + +/** + * Set to true if the SQL execution's result is truncated due to size limits. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *partialResult; + +/** Rows returned by the SQL statement. */ +@property(nonatomic, strong, nullable) NSArray *rows; + +@end + + /** * Read-replica configuration for connecting to the primary instance. */ @@ -8350,6 +8550,17 @@ FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_User_Type_CloudIamUser; @end +/** + * Contains the values for a row. + */ +@interface GTLRSQLAdmin_Row : GTLRObject + +/** The values for the row. */ +@property(nonatomic, strong, nullable) NSArray *values; + +@end + + /** * A list of objects that the user selects for replication from an external * source instance. @@ -8563,6 +8774,9 @@ FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_User_Type_CloudIamUser; */ @property(nonatomic, strong, nullable) NSNumber *enableGoogleMlIntegration; +/** Optional. The final backup configuration for the instance. */ +@property(nonatomic, strong, nullable) GTLRSQLAdmin_FinalBackupConfig *finalBackupConfig; + /** Insights configuration, for now relevant only for Postgres. */ @property(nonatomic, strong, nullable) GTLRSQLAdmin_InsightsConfig *insightsConfig; @@ -8711,12 +8925,46 @@ FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_User_Type_CloudIamUser; */ @interface GTLRSQLAdmin_SqlActiveDirectoryConfig : GTLRObject +/** + * Optional. The secret manager key storing the administrator credential. + * (e.g., projects/{project}/secrets/{secret}). + */ +@property(nonatomic, copy, nullable) NSString *adminCredentialSecretName; + +/** + * Optional. Domain controller IPv4 addresses used to bootstrap Active + * Directory. + */ +@property(nonatomic, strong, nullable) NSArray *dnsServers; + /** The name of the domain (e.g., mydomain.com). */ @property(nonatomic, copy, nullable) NSString *domain; /** This is always sql#activeDirectoryConfig. */ @property(nonatomic, copy, nullable) NSString *kind; +/** + * Optional. The mode of the Active Directory configuration. + * + * Likely values: + * @arg @c kGTLRSQLAdmin_SqlActiveDirectoryConfig_Mode_ActiveDirectoryModeUnspecified + * Unspecified mode. Will default to MANAGED_ACTIVE_DIRECTORY if the mode + * is not specified to maintain backward compatibility. (Value: + * "ACTIVE_DIRECTORY_MODE_UNSPECIFIED") + * @arg @c kGTLRSQLAdmin_SqlActiveDirectoryConfig_Mode_ManagedActiveDirectory + * Managed Active Directory mode. (Value: "MANAGED_ACTIVE_DIRECTORY") + * @arg @c kGTLRSQLAdmin_SqlActiveDirectoryConfig_Mode_SelfManagedActiveDirectory + * Self-managed Active Directory mode. (Value: + * "SELF_MANAGED_ACTIVE_DIRECTORY") + */ +@property(nonatomic, copy, nullable) NSString *mode; + +/** + * Optional. The organizational unit distinguished name. This is the full + * hierarchical path to the organizational unit. + */ +@property(nonatomic, copy, nullable) NSString *organizationalUnit; + @end @@ -8833,6 +9081,10 @@ FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_User_Type_CloudIamUser; * @arg @c kGTLRSQLAdmin_SqlExternalSyncSettingError_Type_PrimaryAlreadySetup * The primary instance has been setup and will fail the setup. (Value: * "PRIMARY_ALREADY_SETUP") + * @arg @c kGTLRSQLAdmin_SqlExternalSyncSettingError_Type_PromptDeleteExisting + * The migration will delete existing data in the replica; set + * replica_overwrite_enabled in the request to acknowledge this. This is + * an error. MySQL only. (Value: "PROMPT_DELETE_EXISTING") * @arg @c kGTLRSQLAdmin_SqlExternalSyncSettingError_Type_PscOnlyInstanceWithNoNetworkAttachmentUri * PSC only destination instance does not have a network attachment URI. * (Value: "PSC_ONLY_INSTANCE_WITH_NO_NETWORK_ATTACHMENT_URI") @@ -8845,6 +9097,11 @@ FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_User_Type_CloudIamUser; * @arg @c kGTLRSQLAdmin_SqlExternalSyncSettingError_Type_SelectedObjectsNotExistOnSource * The selected objects don't exist on the source instance. (Value: * "SELECTED_OBJECTS_NOT_EXIST_ON_SOURCE") + * @arg @c kGTLRSQLAdmin_SqlExternalSyncSettingError_Type_SelectedObjectsReferenceUnselectedObjects + * Selected objects reference unselected objects. Based on their object + * type (foreign key constraint or view), selected objects will fail + * during migration. (Value: + * "SELECTED_OBJECTS_REFERENCE_UNSELECTED_OBJECTS") * @arg @c kGTLRSQLAdmin_SqlExternalSyncSettingError_Type_SourceMaxSubscriptions * This warning message indicates that Cloud SQL uses the maximum number * of subscriptions to migrate data from the source to the destination. @@ -8913,6 +9170,11 @@ FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_User_Type_CloudIamUser; * First, create all users, which are in the pg_user_mappings table of * the source database, in the destination instance. Then, perform the * migration. (Value: "USERS_NOT_CREATED_IN_REPLICA") + * @arg @c kGTLRSQLAdmin_SqlExternalSyncSettingError_Type_WillDeleteExisting + * The migration will delete existing data in the replica; + * replica_overwrite_enabled was set in the request acknowledging this. + * This is a warning rather than an error. MySQL only. (Value: + * "WILL_DELETE_EXISTING") */ @property(nonatomic, copy, nullable) NSString *type; @@ -8930,6 +9192,23 @@ FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_User_Type_CloudIamUser; @end +/** + * Execute SQL statements response. + */ +@interface GTLRSQLAdmin_SqlInstancesExecuteSqlResponse : GTLRObject + +/** + * The additional metadata information regarding the execution of the SQL + * statements. + */ +@property(nonatomic, strong, nullable) GTLRSQLAdmin_Metadata *metadata; + +/** The list of results after executing all the SQL statements. */ +@property(nonatomic, strong, nullable) NSArray *results; + +@end + + /** * Instance get disk shrink config response. */ @@ -9018,6 +9297,16 @@ FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_User_Type_CloudIamUser; /** MySQL-specific settings for start external sync. */ @property(nonatomic, strong, nullable) GTLRSQLAdmin_MySqlSyncConfig *mysqlSyncConfig; +/** + * Optional. MySQL only. True if end-user has confirmed that this SES call will + * wipe replica databases overlapping with the proposed selected_objects. If + * this field is not set and there are both overlapping and additional + * databases proposed, an error will be returned. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *replicaOverwriteEnabled; + /** * Whether to skip the verification step (VESS). * @@ -9690,6 +9979,24 @@ FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_User_Type_CloudIamUser; @end + +/** + * The cell value of the table. + */ +@interface GTLRSQLAdmin_Value : GTLRObject + +/** + * If cell value is null, then this flag will be set to true. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *nullValue; + +/** The cell value in string format. */ +@property(nonatomic, copy, nullable) NSString *value; + +@end + NS_ASSUME_NONNULL_END #pragma clang diagnostic pop diff --git a/Sources/GeneratedServices/SQLAdmin/Public/GoogleAPIClientForREST/GTLRSQLAdminQuery.h b/Sources/GeneratedServices/SQLAdmin/Public/GoogleAPIClientForREST/GTLRSQLAdminQuery.h index 2d3e00210..05032ec79 100644 --- a/Sources/GeneratedServices/SQLAdmin/Public/GoogleAPIClientForREST/GTLRSQLAdminQuery.h +++ b/Sources/GeneratedServices/SQLAdmin/Public/GoogleAPIClientForREST/GTLRSQLAdminQuery.h @@ -1077,6 +1077,42 @@ FOUNDATION_EXTERN NSString * const kGTLRSQLAdminFlagScopeSqlFlagScopeUnspecified @end +/** + * Execute SQL statements. + * + * Method: sql.instances.executeSql + * + * Authorization scope(s): + * @c kGTLRAuthScopeSQLAdminCloudPlatform + * @c kGTLRAuthScopeSQLAdminSqlserviceAdmin + */ +@interface GTLRSQLAdminQuery_InstancesExecuteSql : GTLRSQLAdminQuery + +/** Required. Database instance ID. This does not include the project ID. */ +@property(nonatomic, copy, nullable) NSString *instance; + +/** Required. Project ID of the project that contains the instance. */ +@property(nonatomic, copy, nullable) NSString *project; + +/** + * Fetches a @c GTLRSQLAdmin_SqlInstancesExecuteSqlResponse. + * + * Execute SQL statements. + * + * @param object The @c GTLRSQLAdmin_ExecuteSqlPayload to include in the query. + * @param project Required. Project ID of the project that contains the + * instance. + * @param instance Required. Database instance ID. This does not include the + * project ID. + * + * @return GTLRSQLAdminQuery_InstancesExecuteSql + */ ++ (instancetype)queryWithObject:(GTLRSQLAdmin_ExecuteSqlPayload *)object + project:(NSString *)project + instance:(NSString *)instance; + +@end + /** * Exports data from a Cloud SQL instance to a Cloud Storage bucket as a SQL * dump or CSV file. @@ -2108,6 +2144,12 @@ FOUNDATION_EXTERN NSString * const kGTLRSQLAdminFlagScopeSqlFlagScopeUnspecified /** Project ID of the project that contains the instance. */ @property(nonatomic, copy, nullable) NSString *project; +/** + * The timestamp used to identify the time when the source instance is deleted. + * If this instance is deleted, then you must set the timestamp. + */ +@property(nonatomic, strong, nullable) GTLRDateTime *sourceInstanceDeletionTime; + /** * Fetches a @c GTLRSQLAdmin_SqlInstancesGetLatestRecoveryTimeResponse. * diff --git a/Sources/GeneratedServices/SaaSServiceManagement/GTLRSaaSServiceManagementObjects.m b/Sources/GeneratedServices/SaaSServiceManagement/GTLRSaaSServiceManagementObjects.m index 1bf1055aa..68deb0d41 100644 --- a/Sources/GeneratedServices/SaaSServiceManagement/GTLRSaaSServiceManagementObjects.m +++ b/Sources/GeneratedServices/SaaSServiceManagement/GTLRSaaSServiceManagementObjects.m @@ -3,6 +3,8 @@ // ---------------------------------------------------------------------------- // API: // SaaS Runtime API (saasservicemgmt/v1beta1) +// Description: +// Model, deploy, and operate your SaaS at scale. // Documentation: // https://cloud.google.com/saas-runtime/docs diff --git a/Sources/GeneratedServices/SaaSServiceManagement/GTLRSaaSServiceManagementQuery.m b/Sources/GeneratedServices/SaaSServiceManagement/GTLRSaaSServiceManagementQuery.m index 60d7ac934..2158361f4 100644 --- a/Sources/GeneratedServices/SaaSServiceManagement/GTLRSaaSServiceManagementQuery.m +++ b/Sources/GeneratedServices/SaaSServiceManagement/GTLRSaaSServiceManagementQuery.m @@ -3,6 +3,8 @@ // ---------------------------------------------------------------------------- // API: // SaaS Runtime API (saasservicemgmt/v1beta1) +// Description: +// Model, deploy, and operate your SaaS at scale. // Documentation: // https://cloud.google.com/saas-runtime/docs diff --git a/Sources/GeneratedServices/SaaSServiceManagement/GTLRSaaSServiceManagementService.m b/Sources/GeneratedServices/SaaSServiceManagement/GTLRSaaSServiceManagementService.m index c29ac5fe1..be37aaedd 100644 --- a/Sources/GeneratedServices/SaaSServiceManagement/GTLRSaaSServiceManagementService.m +++ b/Sources/GeneratedServices/SaaSServiceManagement/GTLRSaaSServiceManagementService.m @@ -3,6 +3,8 @@ // ---------------------------------------------------------------------------- // API: // SaaS Runtime API (saasservicemgmt/v1beta1) +// Description: +// Model, deploy, and operate your SaaS at scale. // Documentation: // https://cloud.google.com/saas-runtime/docs diff --git a/Sources/GeneratedServices/SaaSServiceManagement/Public/GoogleAPIClientForREST/GTLRSaaSServiceManagement.h b/Sources/GeneratedServices/SaaSServiceManagement/Public/GoogleAPIClientForREST/GTLRSaaSServiceManagement.h index dd3a969d6..59af9eb82 100644 --- a/Sources/GeneratedServices/SaaSServiceManagement/Public/GoogleAPIClientForREST/GTLRSaaSServiceManagement.h +++ b/Sources/GeneratedServices/SaaSServiceManagement/Public/GoogleAPIClientForREST/GTLRSaaSServiceManagement.h @@ -3,6 +3,8 @@ // ---------------------------------------------------------------------------- // API: // SaaS Runtime API (saasservicemgmt/v1beta1) +// Description: +// Model, deploy, and operate your SaaS at scale. // Documentation: // https://cloud.google.com/saas-runtime/docs diff --git a/Sources/GeneratedServices/SaaSServiceManagement/Public/GoogleAPIClientForREST/GTLRSaaSServiceManagementObjects.h b/Sources/GeneratedServices/SaaSServiceManagement/Public/GoogleAPIClientForREST/GTLRSaaSServiceManagementObjects.h index 0166cb05c..4d3d07427 100644 --- a/Sources/GeneratedServices/SaaSServiceManagement/Public/GoogleAPIClientForREST/GTLRSaaSServiceManagementObjects.h +++ b/Sources/GeneratedServices/SaaSServiceManagement/Public/GoogleAPIClientForREST/GTLRSaaSServiceManagementObjects.h @@ -3,6 +3,8 @@ // ---------------------------------------------------------------------------- // API: // SaaS Runtime API (saasservicemgmt/v1beta1) +// Description: +// Model, deploy, and operate your SaaS at scale. // Documentation: // https://cloud.google.com/saas-runtime/docs @@ -1583,8 +1585,8 @@ FOUNDATION_EXTERN NSString * const kGTLRSaaSServiceManagement_UnitVariable_Type_ @property(nonatomic, strong, nullable) GTLRSaaSServiceManagement_Saas_Labels *labels; /** - * Optional. Immutable. List of locations that the service is available in. - * Rollout refers to the list to generate a rollout plan. + * Optional. List of locations that the service is available in. Rollout refers + * to the list to generate a rollout plan. */ @property(nonatomic, strong, nullable) NSArray *locations; @@ -1676,7 +1678,7 @@ FOUNDATION_EXTERN NSString * const kGTLRSaaSServiceManagement_UnitVariable_Type_ /** * Optional. Immutable. A reference to the consumer resource this SaaS Tenant * is representing. The relationship with a consumer resource can be used by - * EasySaaS for retrieving consumer-defined settings and policies such as + * SaaS Runtime for retrieving consumer-defined settings and policies such as * maintenance policies (using Unified Maintenance Policy API). */ @property(nonatomic, copy, nullable) NSString *consumerResource; @@ -1706,8 +1708,8 @@ FOUNDATION_EXTERN NSString * const kGTLRSaaSServiceManagement_UnitVariable_Type_ /** * Required. Immutable. A reference to the Saas that defines the product - * (managed service) that the producer wants to manage with EasySaaS. Part of - * the EasySaaS common data model. + * (managed service) that the producer wants to manage with SaaS Runtime. Part + * of the SaaS Runtime common data model. */ @property(nonatomic, copy, nullable) NSString *saas; @@ -1770,7 +1772,8 @@ FOUNDATION_EXTERN NSString * const kGTLRSaaSServiceManagement_UnitVariable_Type_ @property(nonatomic, copy, nullable) NSString *dependency; /** - * Optional. Tells EasySaaS if this mapping should be used during lookup or not + * Optional. Tells SaaS Runtime if this mapping should be used during lookup or + * not * * Uses NSNumber of boolValue. */ @@ -2141,8 +2144,8 @@ FOUNDATION_EXTERN NSString * const kGTLRSaaSServiceManagement_UnitVariable_Type_ /** * Required. Immutable. A reference to the Saas that defines the product - * (managed service) that the producer wants to manage with EasySaaS. Part of - * the EasySaaS common data model. Immutable once set. + * (managed service) that the producer wants to manage with SaaS Runtime. Part + * of the SaaS Runtime common data model. Immutable once set. */ @property(nonatomic, copy, nullable) NSString *saas; @@ -2200,7 +2203,8 @@ FOUNDATION_EXTERN NSString * const kGTLRSaaSServiceManagement_UnitVariable_Type_ * will be allowed to execute at a time (that can change in the future for * non-mutating operations). UnitOperations allow different actors interacting * with the same unit to focus only on the change they have requested. This is - * a base object that contains the common fields in all unit operations. + * a base object that contains the common fields in all unit operations. Next: + * 19 */ @interface GTLRSaaSServiceManagement_UnitOperation : GTLRObject diff --git a/Sources/GeneratedServices/SaaSServiceManagement/Public/GoogleAPIClientForREST/GTLRSaaSServiceManagementQuery.h b/Sources/GeneratedServices/SaaSServiceManagement/Public/GoogleAPIClientForREST/GTLRSaaSServiceManagementQuery.h index b9551acd7..e456fbd0b 100644 --- a/Sources/GeneratedServices/SaaSServiceManagement/Public/GoogleAPIClientForREST/GTLRSaaSServiceManagementQuery.h +++ b/Sources/GeneratedServices/SaaSServiceManagement/Public/GoogleAPIClientForREST/GTLRSaaSServiceManagementQuery.h @@ -3,6 +3,8 @@ // ---------------------------------------------------------------------------- // API: // SaaS Runtime API (saasservicemgmt/v1beta1) +// Description: +// Model, deploy, and operate your SaaS at scale. // Documentation: // https://cloud.google.com/saas-runtime/docs diff --git a/Sources/GeneratedServices/SaaSServiceManagement/Public/GoogleAPIClientForREST/GTLRSaaSServiceManagementService.h b/Sources/GeneratedServices/SaaSServiceManagement/Public/GoogleAPIClientForREST/GTLRSaaSServiceManagementService.h index 93bd789ee..869f0bc1b 100644 --- a/Sources/GeneratedServices/SaaSServiceManagement/Public/GoogleAPIClientForREST/GTLRSaaSServiceManagementService.h +++ b/Sources/GeneratedServices/SaaSServiceManagement/Public/GoogleAPIClientForREST/GTLRSaaSServiceManagementService.h @@ -3,6 +3,8 @@ // ---------------------------------------------------------------------------- // API: // SaaS Runtime API (saasservicemgmt/v1beta1) +// Description: +// Model, deploy, and operate your SaaS at scale. // Documentation: // https://cloud.google.com/saas-runtime/docs @@ -36,6 +38,8 @@ FOUNDATION_EXTERN NSString * const kGTLRAuthScopeSaaSServiceManagementCloudPlatf /** * Service for executing SaaS Runtime API queries. + * + * Model, deploy, and operate your SaaS at scale. */ @interface GTLRSaaSServiceManagementService : GTLRService diff --git a/Sources/GeneratedServices/SecureSourceManager/GTLRSecureSourceManagerObjects.m b/Sources/GeneratedServices/SecureSourceManager/GTLRSecureSourceManagerObjects.m new file mode 100644 index 000000000..ee2eecf27 --- /dev/null +++ b/Sources/GeneratedServices/SecureSourceManager/GTLRSecureSourceManagerObjects.m @@ -0,0 +1,1045 @@ +// NOTE: This file was generated by the ServiceGenerator. + +// ---------------------------------------------------------------------------- +// API: +// Secure Source Manager API (securesourcemanager/v1) +// Description: +// Regionally deployed, single-tenant managed source code repository hosted on +// Google Cloud. +// Documentation: +// https://cloud.google.com/secure-source-manager + +#import + +// ---------------------------------------------------------------------------- +// Constants + +// GTLRSecureSourceManager_AuditLogConfig.logType +NSString * const kGTLRSecureSourceManager_AuditLogConfig_LogType_AdminRead = @"ADMIN_READ"; +NSString * const kGTLRSecureSourceManager_AuditLogConfig_LogType_DataRead = @"DATA_READ"; +NSString * const kGTLRSecureSourceManager_AuditLogConfig_LogType_DataWrite = @"DATA_WRITE"; +NSString * const kGTLRSecureSourceManager_AuditLogConfig_LogType_LogTypeUnspecified = @"LOG_TYPE_UNSPECIFIED"; + +// GTLRSecureSourceManager_FileDiff.action +NSString * const kGTLRSecureSourceManager_FileDiff_Action_ActionUnspecified = @"ACTION_UNSPECIFIED"; +NSString * const kGTLRSecureSourceManager_FileDiff_Action_Added = @"ADDED"; +NSString * const kGTLRSecureSourceManager_FileDiff_Action_Deleted = @"DELETED"; +NSString * const kGTLRSecureSourceManager_FileDiff_Action_Modified = @"MODIFIED"; + +// GTLRSecureSourceManager_Hook.events +NSString * const kGTLRSecureSourceManager_Hook_Events_PullRequest = @"PULL_REQUEST"; +NSString * const kGTLRSecureSourceManager_Hook_Events_Push = @"PUSH"; +NSString * const kGTLRSecureSourceManager_Hook_Events_Unspecified = @"UNSPECIFIED"; + +// GTLRSecureSourceManager_Instance.state +NSString * const kGTLRSecureSourceManager_Instance_State_Active = @"ACTIVE"; +NSString * const kGTLRSecureSourceManager_Instance_State_Creating = @"CREATING"; +NSString * const kGTLRSecureSourceManager_Instance_State_Deleting = @"DELETING"; +NSString * const kGTLRSecureSourceManager_Instance_State_Paused = @"PAUSED"; +NSString * const kGTLRSecureSourceManager_Instance_State_StateUnspecified = @"STATE_UNSPECIFIED"; +NSString * const kGTLRSecureSourceManager_Instance_State_Unknown = @"UNKNOWN"; + +// GTLRSecureSourceManager_Instance.stateNote +NSString * const kGTLRSecureSourceManager_Instance_StateNote_InstanceResuming = @"INSTANCE_RESUMING"; +NSString * const kGTLRSecureSourceManager_Instance_StateNote_PausedCmekUnavailable = @"PAUSED_CMEK_UNAVAILABLE"; +NSString * const kGTLRSecureSourceManager_Instance_StateNote_StateNoteUnspecified = @"STATE_NOTE_UNSPECIFIED"; + +// GTLRSecureSourceManager_Issue.state +NSString * const kGTLRSecureSourceManager_Issue_State_Closed = @"CLOSED"; +NSString * const kGTLRSecureSourceManager_Issue_State_Open = @"OPEN"; +NSString * const kGTLRSecureSourceManager_Issue_State_StateUnspecified = @"STATE_UNSPECIFIED"; + +// GTLRSecureSourceManager_PullRequest.state +NSString * const kGTLRSecureSourceManager_PullRequest_State_Closed = @"CLOSED"; +NSString * const kGTLRSecureSourceManager_PullRequest_State_Merged = @"MERGED"; +NSString * const kGTLRSecureSourceManager_PullRequest_State_Open = @"OPEN"; +NSString * const kGTLRSecureSourceManager_PullRequest_State_StateUnspecified = @"STATE_UNSPECIFIED"; + +// GTLRSecureSourceManager_Review.actionType +NSString * const kGTLRSecureSourceManager_Review_ActionType_ActionTypeUnspecified = @"ACTION_TYPE_UNSPECIFIED"; +NSString * const kGTLRSecureSourceManager_Review_ActionType_Approved = @"APPROVED"; +NSString * const kGTLRSecureSourceManager_Review_ActionType_ChangeRequested = @"CHANGE_REQUESTED"; +NSString * const kGTLRSecureSourceManager_Review_ActionType_Comment = @"COMMENT"; + +// GTLRSecureSourceManager_TreeEntry.type +NSString * const kGTLRSecureSourceManager_TreeEntry_Type_Blob = @"BLOB"; +NSString * const kGTLRSecureSourceManager_TreeEntry_Type_Commit = @"COMMIT"; +NSString * const kGTLRSecureSourceManager_TreeEntry_Type_ObjectTypeUnspecified = @"OBJECT_TYPE_UNSPECIFIED"; +NSString * const kGTLRSecureSourceManager_TreeEntry_Type_Tree = @"TREE"; + +// ---------------------------------------------------------------------------- +// +// GTLRSecureSourceManager_AuditConfig +// + +@implementation GTLRSecureSourceManager_AuditConfig +@dynamic auditLogConfigs, service; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"auditLogConfigs" : [GTLRSecureSourceManager_AuditLogConfig class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSecureSourceManager_AuditLogConfig +// + +@implementation GTLRSecureSourceManager_AuditLogConfig +@dynamic exemptedMembers, logType; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"exemptedMembers" : [NSString class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSecureSourceManager_BatchCreatePullRequestCommentsRequest +// + +@implementation GTLRSecureSourceManager_BatchCreatePullRequestCommentsRequest +@dynamic requests; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"requests" : [GTLRSecureSourceManager_CreatePullRequestCommentRequest class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSecureSourceManager_Binding +// + +@implementation GTLRSecureSourceManager_Binding +@dynamic condition, members, role; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"members" : [NSString class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSecureSourceManager_Branch +// + +@implementation GTLRSecureSourceManager_Branch +@dynamic ref, sha; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSecureSourceManager_BranchRule +// + +@implementation GTLRSecureSourceManager_BranchRule +@dynamic allowStaleReviews, annotations, createTime, disabled, ETag, + includePattern, minimumApprovalsCount, minimumReviewsCount, name, + requireCommentsResolved, requiredStatusChecks, requireLinearHistory, + requirePullRequest, uid, updateTime; + ++ (NSDictionary *)propertyToJSONKeyMap { + return @{ @"ETag" : @"etag" }; +} + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"requiredStatusChecks" : [GTLRSecureSourceManager_Check class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSecureSourceManager_BranchRule_Annotations +// + +@implementation GTLRSecureSourceManager_BranchRule_Annotations + ++ (Class)classForAdditionalProperties { + return [NSString class]; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSecureSourceManager_CancelOperationRequest +// + +@implementation GTLRSecureSourceManager_CancelOperationRequest +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSecureSourceManager_Check +// + +@implementation GTLRSecureSourceManager_Check +@dynamic context; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSecureSourceManager_CloseIssueRequest +// + +@implementation GTLRSecureSourceManager_CloseIssueRequest +@dynamic ETag; + ++ (NSDictionary *)propertyToJSONKeyMap { + return @{ @"ETag" : @"etag" }; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSecureSourceManager_ClosePullRequestRequest +// + +@implementation GTLRSecureSourceManager_ClosePullRequestRequest +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSecureSourceManager_Code +// + +@implementation GTLRSecureSourceManager_Code +@dynamic body, effectiveCommitSha, effectiveRootComment, position, reply, + resolved; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSecureSourceManager_Comment +// + +@implementation GTLRSecureSourceManager_Comment +@dynamic body; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSecureSourceManager_CreatePullRequestCommentRequest +// + +@implementation GTLRSecureSourceManager_CreatePullRequestCommentRequest +@dynamic parent, pullRequestComment; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSecureSourceManager_Empty +// + +@implementation GTLRSecureSourceManager_Empty +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSecureSourceManager_Expr +// + +@implementation GTLRSecureSourceManager_Expr +@dynamic descriptionProperty, expression, location, title; + ++ (NSDictionary *)propertyToJSONKeyMap { + return @{ @"descriptionProperty" : @"description" }; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSecureSourceManager_FetchBlobResponse +// + +@implementation GTLRSecureSourceManager_FetchBlobResponse +@dynamic content, sha; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSecureSourceManager_FetchTreeResponse +// + +@implementation GTLRSecureSourceManager_FetchTreeResponse +@dynamic nextPageToken, treeEntries; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"treeEntries" : [GTLRSecureSourceManager_TreeEntry class] + }; + return map; +} + ++ (NSString *)collectionItemsKey { + return @"treeEntries"; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSecureSourceManager_FileDiff +// + +@implementation GTLRSecureSourceManager_FileDiff +@dynamic action, name, patch, sha; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSecureSourceManager_Hook +// + +@implementation GTLRSecureSourceManager_Hook +@dynamic createTime, disabled, events, name, pushOption, sensitiveQueryString, + targetUri, uid, updateTime; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"events" : [NSString class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSecureSourceManager_HostConfig +// + +@implementation GTLRSecureSourceManager_HostConfig +@dynamic api, gitHttp, gitSsh, html; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSecureSourceManager_InitialConfig +// + +@implementation GTLRSecureSourceManager_InitialConfig +@dynamic defaultBranch, gitignores, license, readme; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"gitignores" : [NSString class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSecureSourceManager_Instance +// + +@implementation GTLRSecureSourceManager_Instance +@dynamic createTime, hostConfig, kmsKey, labels, name, privateConfig, state, + stateNote, updateTime, workforceIdentityFederationConfig; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSecureSourceManager_Instance_Labels +// + +@implementation GTLRSecureSourceManager_Instance_Labels + ++ (Class)classForAdditionalProperties { + return [NSString class]; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSecureSourceManager_Issue +// + +@implementation GTLRSecureSourceManager_Issue +@dynamic body, closeTime, createTime, ETag, name, state, title, updateTime; + ++ (NSDictionary *)propertyToJSONKeyMap { + return @{ @"ETag" : @"etag" }; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSecureSourceManager_IssueComment +// + +@implementation GTLRSecureSourceManager_IssueComment +@dynamic body, createTime, name, updateTime; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSecureSourceManager_ListBranchRulesResponse +// + +@implementation GTLRSecureSourceManager_ListBranchRulesResponse +@dynamic branchRules, nextPageToken; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"branchRules" : [GTLRSecureSourceManager_BranchRule class] + }; + return map; +} + ++ (NSString *)collectionItemsKey { + return @"branchRules"; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSecureSourceManager_ListHooksResponse +// + +@implementation GTLRSecureSourceManager_ListHooksResponse +@dynamic hooks, nextPageToken; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"hooks" : [GTLRSecureSourceManager_Hook class] + }; + return map; +} + ++ (NSString *)collectionItemsKey { + return @"hooks"; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSecureSourceManager_ListInstancesResponse +// + +@implementation GTLRSecureSourceManager_ListInstancesResponse +@dynamic instances, nextPageToken, unreachable; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"instances" : [GTLRSecureSourceManager_Instance class], + @"unreachable" : [NSString class] + }; + return map; +} + ++ (NSString *)collectionItemsKey { + return @"instances"; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSecureSourceManager_ListIssueCommentsResponse +// + +@implementation GTLRSecureSourceManager_ListIssueCommentsResponse +@dynamic issueComments, nextPageToken; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"issueComments" : [GTLRSecureSourceManager_IssueComment class] + }; + return map; +} + ++ (NSString *)collectionItemsKey { + return @"issueComments"; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSecureSourceManager_ListIssuesResponse +// + +@implementation GTLRSecureSourceManager_ListIssuesResponse +@dynamic issues, nextPageToken; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"issues" : [GTLRSecureSourceManager_Issue class] + }; + return map; +} + ++ (NSString *)collectionItemsKey { + return @"issues"; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSecureSourceManager_ListLocationsResponse +// + +@implementation GTLRSecureSourceManager_ListLocationsResponse +@dynamic locations, nextPageToken; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"locations" : [GTLRSecureSourceManager_Location class] + }; + return map; +} + ++ (NSString *)collectionItemsKey { + return @"locations"; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSecureSourceManager_ListOperationsResponse +// + +@implementation GTLRSecureSourceManager_ListOperationsResponse +@dynamic nextPageToken, operations; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"operations" : [GTLRSecureSourceManager_Operation class] + }; + return map; +} + ++ (NSString *)collectionItemsKey { + return @"operations"; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSecureSourceManager_ListPullRequestCommentsResponse +// + +@implementation GTLRSecureSourceManager_ListPullRequestCommentsResponse +@dynamic nextPageToken, pullRequestComments; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"pullRequestComments" : [GTLRSecureSourceManager_PullRequestComment class] + }; + return map; +} + ++ (NSString *)collectionItemsKey { + return @"pullRequestComments"; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSecureSourceManager_ListPullRequestFileDiffsResponse +// + +@implementation GTLRSecureSourceManager_ListPullRequestFileDiffsResponse +@dynamic fileDiffs, nextPageToken; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"fileDiffs" : [GTLRSecureSourceManager_FileDiff class] + }; + return map; +} + ++ (NSString *)collectionItemsKey { + return @"fileDiffs"; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSecureSourceManager_ListPullRequestsResponse +// + +@implementation GTLRSecureSourceManager_ListPullRequestsResponse +@dynamic nextPageToken, pullRequests; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"pullRequests" : [GTLRSecureSourceManager_PullRequest class] + }; + return map; +} + ++ (NSString *)collectionItemsKey { + return @"pullRequests"; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSecureSourceManager_ListRepositoriesResponse +// + +@implementation GTLRSecureSourceManager_ListRepositoriesResponse +@dynamic nextPageToken, repositories; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"repositories" : [GTLRSecureSourceManager_Repository class] + }; + return map; +} + ++ (NSString *)collectionItemsKey { + return @"repositories"; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSecureSourceManager_Location +// + +@implementation GTLRSecureSourceManager_Location +@dynamic displayName, labels, locationId, metadata, name; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSecureSourceManager_Location_Labels +// + +@implementation GTLRSecureSourceManager_Location_Labels + ++ (Class)classForAdditionalProperties { + return [NSString class]; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSecureSourceManager_Location_Metadata +// + +@implementation GTLRSecureSourceManager_Location_Metadata + ++ (Class)classForAdditionalProperties { + return [NSObject class]; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSecureSourceManager_MergePullRequestRequest +// + +@implementation GTLRSecureSourceManager_MergePullRequestRequest +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSecureSourceManager_OpenIssueRequest +// + +@implementation GTLRSecureSourceManager_OpenIssueRequest +@dynamic ETag; + ++ (NSDictionary *)propertyToJSONKeyMap { + return @{ @"ETag" : @"etag" }; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSecureSourceManager_OpenPullRequestRequest +// + +@implementation GTLRSecureSourceManager_OpenPullRequestRequest +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSecureSourceManager_Operation +// + +@implementation GTLRSecureSourceManager_Operation +@dynamic done, error, metadata, name, response; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSecureSourceManager_Operation_Metadata +// + +@implementation GTLRSecureSourceManager_Operation_Metadata + ++ (Class)classForAdditionalProperties { + return [NSObject class]; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSecureSourceManager_Operation_Response +// + +@implementation GTLRSecureSourceManager_Operation_Response + ++ (Class)classForAdditionalProperties { + return [NSObject class]; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSecureSourceManager_OperationMetadata +// + +@implementation GTLRSecureSourceManager_OperationMetadata +@dynamic apiVersion, createTime, endTime, requestedCancellation, statusMessage, + target, verb; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSecureSourceManager_Policy +// + +@implementation GTLRSecureSourceManager_Policy +@dynamic auditConfigs, bindings, ETag, version; + ++ (NSDictionary *)propertyToJSONKeyMap { + return @{ @"ETag" : @"etag" }; +} + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"auditConfigs" : [GTLRSecureSourceManager_AuditConfig class], + @"bindings" : [GTLRSecureSourceManager_Binding class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSecureSourceManager_Position +// + +@implementation GTLRSecureSourceManager_Position +@dynamic line, path; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSecureSourceManager_PrivateConfig +// + +@implementation GTLRSecureSourceManager_PrivateConfig +@dynamic caPool, httpServiceAttachment, isPrivate, pscAllowedProjects, + sshServiceAttachment; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"pscAllowedProjects" : [NSString class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSecureSourceManager_PullRequest +// + +@implementation GTLRSecureSourceManager_PullRequest +@dynamic base, body, closeTime, createTime, head, name, state, title, + updateTime; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSecureSourceManager_PullRequestComment +// + +@implementation GTLRSecureSourceManager_PullRequestComment +@dynamic code, comment, createTime, name, review, updateTime; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSecureSourceManager_PushOption +// + +@implementation GTLRSecureSourceManager_PushOption +@dynamic branchFilter; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSecureSourceManager_Repository +// + +@implementation GTLRSecureSourceManager_Repository +@dynamic createTime, descriptionProperty, ETag, initialConfig, instance, name, + uid, updateTime, uris; + ++ (NSDictionary *)propertyToJSONKeyMap { + NSDictionary *map = @{ + @"descriptionProperty" : @"description", + @"ETag" : @"etag" + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSecureSourceManager_ResolvePullRequestCommentsRequest +// + +@implementation GTLRSecureSourceManager_ResolvePullRequestCommentsRequest +@dynamic autoFill, names; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"names" : [NSString class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSecureSourceManager_Review +// + +@implementation GTLRSecureSourceManager_Review +@dynamic actionType, body, effectiveCommitSha; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSecureSourceManager_SetIamPolicyRequest +// + +@implementation GTLRSecureSourceManager_SetIamPolicyRequest +@dynamic policy, updateMask; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSecureSourceManager_Status +// + +@implementation GTLRSecureSourceManager_Status +@dynamic code, details, message; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"details" : [GTLRSecureSourceManager_Status_Details_Item class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSecureSourceManager_Status_Details_Item +// + +@implementation GTLRSecureSourceManager_Status_Details_Item + ++ (Class)classForAdditionalProperties { + return [NSObject class]; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSecureSourceManager_TestIamPermissionsRequest +// + +@implementation GTLRSecureSourceManager_TestIamPermissionsRequest +@dynamic permissions; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"permissions" : [NSString class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSecureSourceManager_TestIamPermissionsResponse +// + +@implementation GTLRSecureSourceManager_TestIamPermissionsResponse +@dynamic permissions; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"permissions" : [NSString class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSecureSourceManager_TreeEntry +// + +@implementation GTLRSecureSourceManager_TreeEntry +@dynamic mode, path, sha, size, type; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSecureSourceManager_UnresolvePullRequestCommentsRequest +// + +@implementation GTLRSecureSourceManager_UnresolvePullRequestCommentsRequest +@dynamic autoFill, names; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"names" : [NSString class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSecureSourceManager_URIs +// + +@implementation GTLRSecureSourceManager_URIs +@dynamic api, gitHttps, html; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSecureSourceManager_WorkforceIdentityFederationConfig +// + +@implementation GTLRSecureSourceManager_WorkforceIdentityFederationConfig +@dynamic enabled; +@end diff --git a/Sources/GeneratedServices/SecureSourceManager/GTLRSecureSourceManagerQuery.m b/Sources/GeneratedServices/SecureSourceManager/GTLRSecureSourceManagerQuery.m new file mode 100644 index 000000000..6d3ed995f --- /dev/null +++ b/Sources/GeneratedServices/SecureSourceManager/GTLRSecureSourceManagerQuery.m @@ -0,0 +1,1420 @@ +// NOTE: This file was generated by the ServiceGenerator. + +// ---------------------------------------------------------------------------- +// API: +// Secure Source Manager API (securesourcemanager/v1) +// Description: +// Regionally deployed, single-tenant managed source code repository hosted on +// Google Cloud. +// Documentation: +// https://cloud.google.com/secure-source-manager + +#import + +@implementation GTLRSecureSourceManagerQuery + +@dynamic fields; + +@end + +@implementation GTLRSecureSourceManagerQuery_ProjectsLocationsGet + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRSecureSourceManagerQuery_ProjectsLocationsGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRSecureSourceManager_Location class]; + query.loggingName = @"securesourcemanager.projects.locations.get"; + return query; +} + +@end + +@implementation GTLRSecureSourceManagerQuery_ProjectsLocationsInstancesCreate + +@dynamic instanceId, parent, requestId; + ++ (instancetype)queryWithObject:(GTLRSecureSourceManager_Instance *)object + parent:(NSString *)parent { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v1/{+parent}/instances"; + GTLRSecureSourceManagerQuery_ProjectsLocationsInstancesCreate *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.parent = parent; + query.expectedObjectClass = [GTLRSecureSourceManager_Operation class]; + query.loggingName = @"securesourcemanager.projects.locations.instances.create"; + return query; +} + +@end + +@implementation GTLRSecureSourceManagerQuery_ProjectsLocationsInstancesDelete + +@dynamic name, requestId; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRSecureSourceManagerQuery_ProjectsLocationsInstancesDelete *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"DELETE" + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRSecureSourceManager_Operation class]; + query.loggingName = @"securesourcemanager.projects.locations.instances.delete"; + return query; +} + +@end + +@implementation GTLRSecureSourceManagerQuery_ProjectsLocationsInstancesGet + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRSecureSourceManagerQuery_ProjectsLocationsInstancesGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRSecureSourceManager_Instance class]; + query.loggingName = @"securesourcemanager.projects.locations.instances.get"; + return query; +} + +@end + +@implementation GTLRSecureSourceManagerQuery_ProjectsLocationsInstancesGetIamPolicy + +@dynamic optionsRequestedPolicyVersion, resource; + ++ (NSDictionary *)parameterNameMap { + return @{ @"optionsRequestedPolicyVersion" : @"options.requestedPolicyVersion" }; +} + ++ (instancetype)queryWithResource:(NSString *)resource { + NSArray *pathParams = @[ @"resource" ]; + NSString *pathURITemplate = @"v1/{+resource}:getIamPolicy"; + GTLRSecureSourceManagerQuery_ProjectsLocationsInstancesGetIamPolicy *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.resource = resource; + query.expectedObjectClass = [GTLRSecureSourceManager_Policy class]; + query.loggingName = @"securesourcemanager.projects.locations.instances.getIamPolicy"; + return query; +} + +@end + +@implementation GTLRSecureSourceManagerQuery_ProjectsLocationsInstancesList + +@dynamic filter, orderBy, pageSize, pageToken, parent; + ++ (instancetype)queryWithParent:(NSString *)parent { + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v1/{+parent}/instances"; + GTLRSecureSourceManagerQuery_ProjectsLocationsInstancesList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.parent = parent; + query.expectedObjectClass = [GTLRSecureSourceManager_ListInstancesResponse class]; + query.loggingName = @"securesourcemanager.projects.locations.instances.list"; + return query; +} + +@end + +@implementation GTLRSecureSourceManagerQuery_ProjectsLocationsInstancesSetIamPolicy + +@dynamic resource; + ++ (instancetype)queryWithObject:(GTLRSecureSourceManager_SetIamPolicyRequest *)object + resource:(NSString *)resource { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSArray *pathParams = @[ @"resource" ]; + NSString *pathURITemplate = @"v1/{+resource}:setIamPolicy"; + GTLRSecureSourceManagerQuery_ProjectsLocationsInstancesSetIamPolicy *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.resource = resource; + query.expectedObjectClass = [GTLRSecureSourceManager_Policy class]; + query.loggingName = @"securesourcemanager.projects.locations.instances.setIamPolicy"; + return query; +} + +@end + +@implementation GTLRSecureSourceManagerQuery_ProjectsLocationsInstancesTestIamPermissions + +@dynamic resource; + ++ (instancetype)queryWithObject:(GTLRSecureSourceManager_TestIamPermissionsRequest *)object + resource:(NSString *)resource { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSArray *pathParams = @[ @"resource" ]; + NSString *pathURITemplate = @"v1/{+resource}:testIamPermissions"; + GTLRSecureSourceManagerQuery_ProjectsLocationsInstancesTestIamPermissions *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.resource = resource; + query.expectedObjectClass = [GTLRSecureSourceManager_TestIamPermissionsResponse class]; + query.loggingName = @"securesourcemanager.projects.locations.instances.testIamPermissions"; + return query; +} + +@end + +@implementation GTLRSecureSourceManagerQuery_ProjectsLocationsList + +@dynamic extraLocationTypes, filter, name, pageSize, pageToken; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"extraLocationTypes" : [NSString class] + }; + return map; +} + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}/locations"; + GTLRSecureSourceManagerQuery_ProjectsLocationsList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRSecureSourceManager_ListLocationsResponse class]; + query.loggingName = @"securesourcemanager.projects.locations.list"; + return query; +} + +@end + +@implementation GTLRSecureSourceManagerQuery_ProjectsLocationsOperationsCancel + +@dynamic name; + ++ (instancetype)queryWithObject:(GTLRSecureSourceManager_CancelOperationRequest *)object + name:(NSString *)name { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}:cancel"; + GTLRSecureSourceManagerQuery_ProjectsLocationsOperationsCancel *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.name = name; + query.expectedObjectClass = [GTLRSecureSourceManager_Empty class]; + query.loggingName = @"securesourcemanager.projects.locations.operations.cancel"; + return query; +} + +@end + +@implementation GTLRSecureSourceManagerQuery_ProjectsLocationsOperationsDelete + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRSecureSourceManagerQuery_ProjectsLocationsOperationsDelete *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"DELETE" + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRSecureSourceManager_Empty class]; + query.loggingName = @"securesourcemanager.projects.locations.operations.delete"; + return query; +} + +@end + +@implementation GTLRSecureSourceManagerQuery_ProjectsLocationsOperationsGet + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRSecureSourceManagerQuery_ProjectsLocationsOperationsGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRSecureSourceManager_Operation class]; + query.loggingName = @"securesourcemanager.projects.locations.operations.get"; + return query; +} + +@end + +@implementation GTLRSecureSourceManagerQuery_ProjectsLocationsOperationsList + +@dynamic filter, name, pageSize, pageToken; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}/operations"; + GTLRSecureSourceManagerQuery_ProjectsLocationsOperationsList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRSecureSourceManager_ListOperationsResponse class]; + query.loggingName = @"securesourcemanager.projects.locations.operations.list"; + return query; +} + +@end + +@implementation GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesBranchRulesCreate + +@dynamic branchRuleId, parent; + ++ (instancetype)queryWithObject:(GTLRSecureSourceManager_BranchRule *)object + parent:(NSString *)parent { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v1/{+parent}/branchRules"; + GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesBranchRulesCreate *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.parent = parent; + query.expectedObjectClass = [GTLRSecureSourceManager_Operation class]; + query.loggingName = @"securesourcemanager.projects.locations.repositories.branchRules.create"; + return query; +} + +@end + +@implementation GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesBranchRulesDelete + +@dynamic allowMissing, name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesBranchRulesDelete *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"DELETE" + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRSecureSourceManager_Operation class]; + query.loggingName = @"securesourcemanager.projects.locations.repositories.branchRules.delete"; + return query; +} + +@end + +@implementation GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesBranchRulesGet + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesBranchRulesGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRSecureSourceManager_BranchRule class]; + query.loggingName = @"securesourcemanager.projects.locations.repositories.branchRules.get"; + return query; +} + +@end + +@implementation GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesBranchRulesList + +@dynamic pageSize, pageToken, parent; + ++ (instancetype)queryWithParent:(NSString *)parent { + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v1/{+parent}/branchRules"; + GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesBranchRulesList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.parent = parent; + query.expectedObjectClass = [GTLRSecureSourceManager_ListBranchRulesResponse class]; + query.loggingName = @"securesourcemanager.projects.locations.repositories.branchRules.list"; + return query; +} + +@end + +@implementation GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesBranchRulesPatch + +@dynamic name, updateMask, validateOnly; + ++ (instancetype)queryWithObject:(GTLRSecureSourceManager_BranchRule *)object + name:(NSString *)name { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesBranchRulesPatch *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"PATCH" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.name = name; + query.expectedObjectClass = [GTLRSecureSourceManager_Operation class]; + query.loggingName = @"securesourcemanager.projects.locations.repositories.branchRules.patch"; + return query; +} + +@end + +@implementation GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesCreate + +@dynamic parent, repositoryId; + ++ (instancetype)queryWithObject:(GTLRSecureSourceManager_Repository *)object + parent:(NSString *)parent { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v1/{+parent}/repositories"; + GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesCreate *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.parent = parent; + query.expectedObjectClass = [GTLRSecureSourceManager_Operation class]; + query.loggingName = @"securesourcemanager.projects.locations.repositories.create"; + return query; +} + +@end + +@implementation GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesDelete + +@dynamic allowMissing, name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesDelete *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"DELETE" + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRSecureSourceManager_Operation class]; + query.loggingName = @"securesourcemanager.projects.locations.repositories.delete"; + return query; +} + +@end + +@implementation GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesFetchBlob + +@dynamic repository, sha; + ++ (instancetype)queryWithRepository:(NSString *)repository { + NSArray *pathParams = @[ @"repository" ]; + NSString *pathURITemplate = @"v1/{+repository}:fetchBlob"; + GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesFetchBlob *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.repository = repository; + query.expectedObjectClass = [GTLRSecureSourceManager_FetchBlobResponse class]; + query.loggingName = @"securesourcemanager.projects.locations.repositories.fetchBlob"; + return query; +} + +@end + +@implementation GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesFetchTree + +@dynamic pageSize, pageToken, recursive, ref, repository; + ++ (instancetype)queryWithRepository:(NSString *)repository { + NSArray *pathParams = @[ @"repository" ]; + NSString *pathURITemplate = @"v1/{+repository}:fetchTree"; + GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesFetchTree *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.repository = repository; + query.expectedObjectClass = [GTLRSecureSourceManager_FetchTreeResponse class]; + query.loggingName = @"securesourcemanager.projects.locations.repositories.fetchTree"; + return query; +} + +@end + +@implementation GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesGet + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRSecureSourceManager_Repository class]; + query.loggingName = @"securesourcemanager.projects.locations.repositories.get"; + return query; +} + +@end + +@implementation GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesGetIamPolicy + +@dynamic optionsRequestedPolicyVersion, resource; + ++ (NSDictionary *)parameterNameMap { + return @{ @"optionsRequestedPolicyVersion" : @"options.requestedPolicyVersion" }; +} + ++ (instancetype)queryWithResource:(NSString *)resource { + NSArray *pathParams = @[ @"resource" ]; + NSString *pathURITemplate = @"v1/{+resource}:getIamPolicy"; + GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesGetIamPolicy *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.resource = resource; + query.expectedObjectClass = [GTLRSecureSourceManager_Policy class]; + query.loggingName = @"securesourcemanager.projects.locations.repositories.getIamPolicy"; + return query; +} + +@end + +@implementation GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesHooksCreate + +@dynamic hookId, parent; + ++ (instancetype)queryWithObject:(GTLRSecureSourceManager_Hook *)object + parent:(NSString *)parent { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v1/{+parent}/hooks"; + GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesHooksCreate *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.parent = parent; + query.expectedObjectClass = [GTLRSecureSourceManager_Operation class]; + query.loggingName = @"securesourcemanager.projects.locations.repositories.hooks.create"; + return query; +} + +@end + +@implementation GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesHooksDelete + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesHooksDelete *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"DELETE" + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRSecureSourceManager_Operation class]; + query.loggingName = @"securesourcemanager.projects.locations.repositories.hooks.delete"; + return query; +} + +@end + +@implementation GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesHooksGet + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesHooksGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRSecureSourceManager_Hook class]; + query.loggingName = @"securesourcemanager.projects.locations.repositories.hooks.get"; + return query; +} + +@end + +@implementation GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesHooksList + +@dynamic pageSize, pageToken, parent; + ++ (instancetype)queryWithParent:(NSString *)parent { + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v1/{+parent}/hooks"; + GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesHooksList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.parent = parent; + query.expectedObjectClass = [GTLRSecureSourceManager_ListHooksResponse class]; + query.loggingName = @"securesourcemanager.projects.locations.repositories.hooks.list"; + return query; +} + +@end + +@implementation GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesHooksPatch + +@dynamic name, updateMask; + ++ (instancetype)queryWithObject:(GTLRSecureSourceManager_Hook *)object + name:(NSString *)name { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesHooksPatch *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"PATCH" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.name = name; + query.expectedObjectClass = [GTLRSecureSourceManager_Operation class]; + query.loggingName = @"securesourcemanager.projects.locations.repositories.hooks.patch"; + return query; +} + +@end + +@implementation GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesIssuesClose + +@dynamic name; + ++ (instancetype)queryWithObject:(GTLRSecureSourceManager_CloseIssueRequest *)object + name:(NSString *)name { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}:close"; + GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesIssuesClose *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.name = name; + query.expectedObjectClass = [GTLRSecureSourceManager_Operation class]; + query.loggingName = @"securesourcemanager.projects.locations.repositories.issues.close"; + return query; +} + +@end + +@implementation GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesIssuesCreate + +@dynamic parent; + ++ (instancetype)queryWithObject:(GTLRSecureSourceManager_Issue *)object + parent:(NSString *)parent { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v1/{+parent}/issues"; + GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesIssuesCreate *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.parent = parent; + query.expectedObjectClass = [GTLRSecureSourceManager_Operation class]; + query.loggingName = @"securesourcemanager.projects.locations.repositories.issues.create"; + return query; +} + +@end + +@implementation GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesIssuesDelete + +@dynamic ETag, name; + ++ (NSDictionary *)parameterNameMap { + return @{ @"ETag" : @"etag" }; +} + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesIssuesDelete *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"DELETE" + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRSecureSourceManager_Operation class]; + query.loggingName = @"securesourcemanager.projects.locations.repositories.issues.delete"; + return query; +} + +@end + +@implementation GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesIssuesGet + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesIssuesGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRSecureSourceManager_Issue class]; + query.loggingName = @"securesourcemanager.projects.locations.repositories.issues.get"; + return query; +} + +@end + +@implementation GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesIssuesIssueCommentsCreate + +@dynamic parent; + ++ (instancetype)queryWithObject:(GTLRSecureSourceManager_IssueComment *)object + parent:(NSString *)parent { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v1/{+parent}/issueComments"; + GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesIssuesIssueCommentsCreate *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.parent = parent; + query.expectedObjectClass = [GTLRSecureSourceManager_Operation class]; + query.loggingName = @"securesourcemanager.projects.locations.repositories.issues.issueComments.create"; + return query; +} + +@end + +@implementation GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesIssuesIssueCommentsDelete + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesIssuesIssueCommentsDelete *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"DELETE" + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRSecureSourceManager_Operation class]; + query.loggingName = @"securesourcemanager.projects.locations.repositories.issues.issueComments.delete"; + return query; +} + +@end + +@implementation GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesIssuesIssueCommentsGet + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesIssuesIssueCommentsGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRSecureSourceManager_IssueComment class]; + query.loggingName = @"securesourcemanager.projects.locations.repositories.issues.issueComments.get"; + return query; +} + +@end + +@implementation GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesIssuesIssueCommentsList + +@dynamic pageSize, pageToken, parent; + ++ (instancetype)queryWithParent:(NSString *)parent { + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v1/{+parent}/issueComments"; + GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesIssuesIssueCommentsList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.parent = parent; + query.expectedObjectClass = [GTLRSecureSourceManager_ListIssueCommentsResponse class]; + query.loggingName = @"securesourcemanager.projects.locations.repositories.issues.issueComments.list"; + return query; +} + +@end + +@implementation GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesIssuesIssueCommentsPatch + +@dynamic name, updateMask; + ++ (instancetype)queryWithObject:(GTLRSecureSourceManager_IssueComment *)object + name:(NSString *)name { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesIssuesIssueCommentsPatch *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"PATCH" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.name = name; + query.expectedObjectClass = [GTLRSecureSourceManager_Operation class]; + query.loggingName = @"securesourcemanager.projects.locations.repositories.issues.issueComments.patch"; + return query; +} + +@end + +@implementation GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesIssuesList + +@dynamic filter, pageSize, pageToken, parent; + ++ (instancetype)queryWithParent:(NSString *)parent { + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v1/{+parent}/issues"; + GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesIssuesList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.parent = parent; + query.expectedObjectClass = [GTLRSecureSourceManager_ListIssuesResponse class]; + query.loggingName = @"securesourcemanager.projects.locations.repositories.issues.list"; + return query; +} + +@end + +@implementation GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesIssuesOpen + +@dynamic name; + ++ (instancetype)queryWithObject:(GTLRSecureSourceManager_OpenIssueRequest *)object + name:(NSString *)name { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}:open"; + GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesIssuesOpen *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.name = name; + query.expectedObjectClass = [GTLRSecureSourceManager_Operation class]; + query.loggingName = @"securesourcemanager.projects.locations.repositories.issues.open"; + return query; +} + +@end + +@implementation GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesIssuesPatch + +@dynamic name, updateMask; + ++ (instancetype)queryWithObject:(GTLRSecureSourceManager_Issue *)object + name:(NSString *)name { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesIssuesPatch *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"PATCH" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.name = name; + query.expectedObjectClass = [GTLRSecureSourceManager_Operation class]; + query.loggingName = @"securesourcemanager.projects.locations.repositories.issues.patch"; + return query; +} + +@end + +@implementation GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesList + +@dynamic filter, instance, pageSize, pageToken, parent; + ++ (instancetype)queryWithParent:(NSString *)parent { + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v1/{+parent}/repositories"; + GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.parent = parent; + query.expectedObjectClass = [GTLRSecureSourceManager_ListRepositoriesResponse class]; + query.loggingName = @"securesourcemanager.projects.locations.repositories.list"; + return query; +} + +@end + +@implementation GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesPatch + +@dynamic name, updateMask, validateOnly; + ++ (instancetype)queryWithObject:(GTLRSecureSourceManager_Repository *)object + name:(NSString *)name { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesPatch *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"PATCH" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.name = name; + query.expectedObjectClass = [GTLRSecureSourceManager_Operation class]; + query.loggingName = @"securesourcemanager.projects.locations.repositories.patch"; + return query; +} + +@end + +@implementation GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesPullRequestsClose + +@dynamic name; + ++ (instancetype)queryWithObject:(GTLRSecureSourceManager_ClosePullRequestRequest *)object + name:(NSString *)name { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}:close"; + GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesPullRequestsClose *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.name = name; + query.expectedObjectClass = [GTLRSecureSourceManager_Operation class]; + query.loggingName = @"securesourcemanager.projects.locations.repositories.pullRequests.close"; + return query; +} + +@end + +@implementation GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesPullRequestsCreate + +@dynamic parent; + ++ (instancetype)queryWithObject:(GTLRSecureSourceManager_PullRequest *)object + parent:(NSString *)parent { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v1/{+parent}/pullRequests"; + GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesPullRequestsCreate *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.parent = parent; + query.expectedObjectClass = [GTLRSecureSourceManager_Operation class]; + query.loggingName = @"securesourcemanager.projects.locations.repositories.pullRequests.create"; + return query; +} + +@end + +@implementation GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesPullRequestsGet + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesPullRequestsGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRSecureSourceManager_PullRequest class]; + query.loggingName = @"securesourcemanager.projects.locations.repositories.pullRequests.get"; + return query; +} + +@end + +@implementation GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesPullRequestsList + +@dynamic pageSize, pageToken, parent; + ++ (instancetype)queryWithParent:(NSString *)parent { + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v1/{+parent}/pullRequests"; + GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesPullRequestsList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.parent = parent; + query.expectedObjectClass = [GTLRSecureSourceManager_ListPullRequestsResponse class]; + query.loggingName = @"securesourcemanager.projects.locations.repositories.pullRequests.list"; + return query; +} + +@end + +@implementation GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesPullRequestsListFileDiffs + +@dynamic name, pageSize, pageToken; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}:listFileDiffs"; + GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesPullRequestsListFileDiffs *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRSecureSourceManager_ListPullRequestFileDiffsResponse class]; + query.loggingName = @"securesourcemanager.projects.locations.repositories.pullRequests.listFileDiffs"; + return query; +} + +@end + +@implementation GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesPullRequestsMerge + +@dynamic name; + ++ (instancetype)queryWithObject:(GTLRSecureSourceManager_MergePullRequestRequest *)object + name:(NSString *)name { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}:merge"; + GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesPullRequestsMerge *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.name = name; + query.expectedObjectClass = [GTLRSecureSourceManager_Operation class]; + query.loggingName = @"securesourcemanager.projects.locations.repositories.pullRequests.merge"; + return query; +} + +@end + +@implementation GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesPullRequestsOpen + +@dynamic name; + ++ (instancetype)queryWithObject:(GTLRSecureSourceManager_OpenPullRequestRequest *)object + name:(NSString *)name { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}:open"; + GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesPullRequestsOpen *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.name = name; + query.expectedObjectClass = [GTLRSecureSourceManager_Operation class]; + query.loggingName = @"securesourcemanager.projects.locations.repositories.pullRequests.open"; + return query; +} + +@end + +@implementation GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesPullRequestsPatch + +@dynamic name, updateMask; + ++ (instancetype)queryWithObject:(GTLRSecureSourceManager_PullRequest *)object + name:(NSString *)name { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesPullRequestsPatch *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"PATCH" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.name = name; + query.expectedObjectClass = [GTLRSecureSourceManager_Operation class]; + query.loggingName = @"securesourcemanager.projects.locations.repositories.pullRequests.patch"; + return query; +} + +@end + +@implementation GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesPullRequestsPullRequestCommentsBatchCreate + +@dynamic parent; + ++ (instancetype)queryWithObject:(GTLRSecureSourceManager_BatchCreatePullRequestCommentsRequest *)object + parent:(NSString *)parent { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v1/{+parent}/pullRequestComments:batchCreate"; + GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesPullRequestsPullRequestCommentsBatchCreate *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.parent = parent; + query.expectedObjectClass = [GTLRSecureSourceManager_Operation class]; + query.loggingName = @"securesourcemanager.projects.locations.repositories.pullRequests.pullRequestComments.batchCreate"; + return query; +} + +@end + +@implementation GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesPullRequestsPullRequestCommentsCreate + +@dynamic parent; + ++ (instancetype)queryWithObject:(GTLRSecureSourceManager_PullRequestComment *)object + parent:(NSString *)parent { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v1/{+parent}/pullRequestComments"; + GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesPullRequestsPullRequestCommentsCreate *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.parent = parent; + query.expectedObjectClass = [GTLRSecureSourceManager_Operation class]; + query.loggingName = @"securesourcemanager.projects.locations.repositories.pullRequests.pullRequestComments.create"; + return query; +} + +@end + +@implementation GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesPullRequestsPullRequestCommentsDelete + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesPullRequestsPullRequestCommentsDelete *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"DELETE" + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRSecureSourceManager_Operation class]; + query.loggingName = @"securesourcemanager.projects.locations.repositories.pullRequests.pullRequestComments.delete"; + return query; +} + +@end + +@implementation GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesPullRequestsPullRequestCommentsGet + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesPullRequestsPullRequestCommentsGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRSecureSourceManager_PullRequestComment class]; + query.loggingName = @"securesourcemanager.projects.locations.repositories.pullRequests.pullRequestComments.get"; + return query; +} + +@end + +@implementation GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesPullRequestsPullRequestCommentsList + +@dynamic pageSize, pageToken, parent; + ++ (instancetype)queryWithParent:(NSString *)parent { + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v1/{+parent}/pullRequestComments"; + GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesPullRequestsPullRequestCommentsList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.parent = parent; + query.expectedObjectClass = [GTLRSecureSourceManager_ListPullRequestCommentsResponse class]; + query.loggingName = @"securesourcemanager.projects.locations.repositories.pullRequests.pullRequestComments.list"; + return query; +} + +@end + +@implementation GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesPullRequestsPullRequestCommentsPatch + +@dynamic name, updateMask; + ++ (instancetype)queryWithObject:(GTLRSecureSourceManager_PullRequestComment *)object + name:(NSString *)name { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesPullRequestsPullRequestCommentsPatch *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"PATCH" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.name = name; + query.expectedObjectClass = [GTLRSecureSourceManager_Operation class]; + query.loggingName = @"securesourcemanager.projects.locations.repositories.pullRequests.pullRequestComments.patch"; + return query; +} + +@end + +@implementation GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesPullRequestsPullRequestCommentsResolve + +@dynamic parent; + ++ (instancetype)queryWithObject:(GTLRSecureSourceManager_ResolvePullRequestCommentsRequest *)object + parent:(NSString *)parent { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v1/{+parent}/pullRequestComments:resolve"; + GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesPullRequestsPullRequestCommentsResolve *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.parent = parent; + query.expectedObjectClass = [GTLRSecureSourceManager_Operation class]; + query.loggingName = @"securesourcemanager.projects.locations.repositories.pullRequests.pullRequestComments.resolve"; + return query; +} + +@end + +@implementation GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesPullRequestsPullRequestCommentsUnresolve + +@dynamic parent; + ++ (instancetype)queryWithObject:(GTLRSecureSourceManager_UnresolvePullRequestCommentsRequest *)object + parent:(NSString *)parent { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v1/{+parent}/pullRequestComments:unresolve"; + GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesPullRequestsPullRequestCommentsUnresolve *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.parent = parent; + query.expectedObjectClass = [GTLRSecureSourceManager_Operation class]; + query.loggingName = @"securesourcemanager.projects.locations.repositories.pullRequests.pullRequestComments.unresolve"; + return query; +} + +@end + +@implementation GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesSetIamPolicy + +@dynamic resource; + ++ (instancetype)queryWithObject:(GTLRSecureSourceManager_SetIamPolicyRequest *)object + resource:(NSString *)resource { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSArray *pathParams = @[ @"resource" ]; + NSString *pathURITemplate = @"v1/{+resource}:setIamPolicy"; + GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesSetIamPolicy *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.resource = resource; + query.expectedObjectClass = [GTLRSecureSourceManager_Policy class]; + query.loggingName = @"securesourcemanager.projects.locations.repositories.setIamPolicy"; + return query; +} + +@end + +@implementation GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesTestIamPermissions + +@dynamic resource; + ++ (instancetype)queryWithObject:(GTLRSecureSourceManager_TestIamPermissionsRequest *)object + resource:(NSString *)resource { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSArray *pathParams = @[ @"resource" ]; + NSString *pathURITemplate = @"v1/{+resource}:testIamPermissions"; + GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesTestIamPermissions *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.resource = resource; + query.expectedObjectClass = [GTLRSecureSourceManager_TestIamPermissionsResponse class]; + query.loggingName = @"securesourcemanager.projects.locations.repositories.testIamPermissions"; + return query; +} + +@end diff --git a/Sources/GeneratedServices/SecureSourceManager/GTLRSecureSourceManagerService.m b/Sources/GeneratedServices/SecureSourceManager/GTLRSecureSourceManagerService.m new file mode 100644 index 000000000..06e584228 --- /dev/null +++ b/Sources/GeneratedServices/SecureSourceManager/GTLRSecureSourceManagerService.m @@ -0,0 +1,36 @@ +// NOTE: This file was generated by the ServiceGenerator. + +// ---------------------------------------------------------------------------- +// API: +// Secure Source Manager API (securesourcemanager/v1) +// Description: +// Regionally deployed, single-tenant managed source code repository hosted on +// Google Cloud. +// Documentation: +// https://cloud.google.com/secure-source-manager + +#import + +// ---------------------------------------------------------------------------- +// Authorization scope + +NSString * const kGTLRAuthScopeSecureSourceManagerCloudPlatform = @"https://www.googleapis.com/auth/cloud-platform"; + +// ---------------------------------------------------------------------------- +// GTLRSecureSourceManagerService +// + +@implementation GTLRSecureSourceManagerService + +- (instancetype)init { + self = [super init]; + if (self) { + // From discovery. + self.rootURLString = @"https://securesourcemanager.googleapis.com/"; + self.batchPath = @"batch"; + self.prettyPrintQueryParameterNames = @[ @"prettyPrint" ]; + } + return self; +} + +@end diff --git a/Sources/GeneratedServices/SecureSourceManager/Public/GoogleAPIClientForREST/GTLRSecureSourceManager.h b/Sources/GeneratedServices/SecureSourceManager/Public/GoogleAPIClientForREST/GTLRSecureSourceManager.h new file mode 100644 index 000000000..e6c0047b8 --- /dev/null +++ b/Sources/GeneratedServices/SecureSourceManager/Public/GoogleAPIClientForREST/GTLRSecureSourceManager.h @@ -0,0 +1,14 @@ +// NOTE: This file was generated by the ServiceGenerator. + +// ---------------------------------------------------------------------------- +// API: +// Secure Source Manager API (securesourcemanager/v1) +// Description: +// Regionally deployed, single-tenant managed source code repository hosted on +// Google Cloud. +// Documentation: +// https://cloud.google.com/secure-source-manager + +#import "GTLRSecureSourceManagerObjects.h" +#import "GTLRSecureSourceManagerQuery.h" +#import "GTLRSecureSourceManagerService.h" diff --git a/Sources/GeneratedServices/SecureSourceManager/Public/GoogleAPIClientForREST/GTLRSecureSourceManagerObjects.h b/Sources/GeneratedServices/SecureSourceManager/Public/GoogleAPIClientForREST/GTLRSecureSourceManagerObjects.h new file mode 100644 index 000000000..9e7e75913 --- /dev/null +++ b/Sources/GeneratedServices/SecureSourceManager/Public/GoogleAPIClientForREST/GTLRSecureSourceManagerObjects.h @@ -0,0 +1,2268 @@ +// NOTE: This file was generated by the ServiceGenerator. + +// ---------------------------------------------------------------------------- +// API: +// Secure Source Manager API (securesourcemanager/v1) +// Description: +// Regionally deployed, single-tenant managed source code repository hosted on +// Google Cloud. +// Documentation: +// https://cloud.google.com/secure-source-manager + +#import + +#if GTLR_RUNTIME_VERSION != 3000 +#error This file was generated by a different version of ServiceGenerator which is incompatible with this GTLR library source. +#endif + +@class GTLRSecureSourceManager_AuditConfig; +@class GTLRSecureSourceManager_AuditLogConfig; +@class GTLRSecureSourceManager_Binding; +@class GTLRSecureSourceManager_Branch; +@class GTLRSecureSourceManager_BranchRule; +@class GTLRSecureSourceManager_BranchRule_Annotations; +@class GTLRSecureSourceManager_Check; +@class GTLRSecureSourceManager_Code; +@class GTLRSecureSourceManager_Comment; +@class GTLRSecureSourceManager_CreatePullRequestCommentRequest; +@class GTLRSecureSourceManager_Expr; +@class GTLRSecureSourceManager_FileDiff; +@class GTLRSecureSourceManager_Hook; +@class GTLRSecureSourceManager_HostConfig; +@class GTLRSecureSourceManager_InitialConfig; +@class GTLRSecureSourceManager_Instance; +@class GTLRSecureSourceManager_Instance_Labels; +@class GTLRSecureSourceManager_Issue; +@class GTLRSecureSourceManager_IssueComment; +@class GTLRSecureSourceManager_Location; +@class GTLRSecureSourceManager_Location_Labels; +@class GTLRSecureSourceManager_Location_Metadata; +@class GTLRSecureSourceManager_Operation; +@class GTLRSecureSourceManager_Operation_Metadata; +@class GTLRSecureSourceManager_Operation_Response; +@class GTLRSecureSourceManager_Policy; +@class GTLRSecureSourceManager_Position; +@class GTLRSecureSourceManager_PrivateConfig; +@class GTLRSecureSourceManager_PullRequest; +@class GTLRSecureSourceManager_PullRequestComment; +@class GTLRSecureSourceManager_PushOption; +@class GTLRSecureSourceManager_Repository; +@class GTLRSecureSourceManager_Review; +@class GTLRSecureSourceManager_Status; +@class GTLRSecureSourceManager_Status_Details_Item; +@class GTLRSecureSourceManager_TreeEntry; +@class GTLRSecureSourceManager_URIs; +@class GTLRSecureSourceManager_WorkforceIdentityFederationConfig; + +// Generated comments include content from the discovery document; avoid them +// causing warnings since clang's checks are some what arbitrary. +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wdocumentation" + +NS_ASSUME_NONNULL_BEGIN + +// ---------------------------------------------------------------------------- +// Constants - For some of the classes' properties below. + +// ---------------------------------------------------------------------------- +// GTLRSecureSourceManager_AuditLogConfig.logType + +/** + * Admin reads. Example: CloudIAM getIamPolicy + * + * Value: "ADMIN_READ" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecureSourceManager_AuditLogConfig_LogType_AdminRead; +/** + * Data reads. Example: CloudSQL Users list + * + * Value: "DATA_READ" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecureSourceManager_AuditLogConfig_LogType_DataRead; +/** + * Data writes. Example: CloudSQL Users create + * + * Value: "DATA_WRITE" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecureSourceManager_AuditLogConfig_LogType_DataWrite; +/** + * Default case. Should never be this. + * + * Value: "LOG_TYPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecureSourceManager_AuditLogConfig_LogType_LogTypeUnspecified; + +// ---------------------------------------------------------------------------- +// GTLRSecureSourceManager_FileDiff.action + +/** + * Unspecified. + * + * Value: "ACTION_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecureSourceManager_FileDiff_Action_ActionUnspecified; +/** + * The file was added. + * + * Value: "ADDED" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecureSourceManager_FileDiff_Action_Added; +/** + * The file was deleted. + * + * Value: "DELETED" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecureSourceManager_FileDiff_Action_Deleted; +/** + * The file was modified. + * + * Value: "MODIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecureSourceManager_FileDiff_Action_Modified; + +// ---------------------------------------------------------------------------- +// GTLRSecureSourceManager_Hook.events + +/** + * Pull request events are triggered when a pull request is opened, closed, + * reopened, or edited. + * + * Value: "PULL_REQUEST" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecureSourceManager_Hook_Events_PullRequest; +/** + * Push events are triggered when pushing to the repository. + * + * Value: "PUSH" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecureSourceManager_Hook_Events_Push; +/** + * Unspecified. + * + * Value: "UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecureSourceManager_Hook_Events_Unspecified; + +// ---------------------------------------------------------------------------- +// GTLRSecureSourceManager_Instance.state + +/** + * Instance is ready. + * + * Value: "ACTIVE" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecureSourceManager_Instance_State_Active; +/** + * Instance is being created. + * + * Value: "CREATING" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecureSourceManager_Instance_State_Creating; +/** + * Instance is being deleted. + * + * Value: "DELETING" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecureSourceManager_Instance_State_Deleting; +/** + * Instance is paused. + * + * Value: "PAUSED" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecureSourceManager_Instance_State_Paused; +/** + * Not set. This should only be the case for incoming requests. + * + * Value: "STATE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecureSourceManager_Instance_State_StateUnspecified; +/** + * Instance is unknown, we are not sure if it's functioning. + * + * Value: "UNKNOWN" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecureSourceManager_Instance_State_Unknown; + +// ---------------------------------------------------------------------------- +// GTLRSecureSourceManager_Instance.stateNote + +/** + * INSTANCE_RESUMING indicates that the instance was previously paused and is + * under the process of being brought back. + * + * Value: "INSTANCE_RESUMING" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecureSourceManager_Instance_StateNote_InstanceResuming GTLR_DEPRECATED; +/** + * CMEK access is unavailable. + * + * Value: "PAUSED_CMEK_UNAVAILABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecureSourceManager_Instance_StateNote_PausedCmekUnavailable; +/** + * STATE_NOTE_UNSPECIFIED as the first value of State. + * + * Value: "STATE_NOTE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecureSourceManager_Instance_StateNote_StateNoteUnspecified; + +// ---------------------------------------------------------------------------- +// GTLRSecureSourceManager_Issue.state + +/** + * A closed issue. + * + * Value: "CLOSED" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecureSourceManager_Issue_State_Closed; +/** + * An open issue. + * + * Value: "OPEN" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecureSourceManager_Issue_State_Open; +/** + * Unspecified. + * + * Value: "STATE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecureSourceManager_Issue_State_StateUnspecified; + +// ---------------------------------------------------------------------------- +// GTLRSecureSourceManager_PullRequest.state + +/** + * A closed pull request. + * + * Value: "CLOSED" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecureSourceManager_PullRequest_State_Closed; +/** + * A merged pull request. + * + * Value: "MERGED" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecureSourceManager_PullRequest_State_Merged; +/** + * An open pull request. + * + * Value: "OPEN" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecureSourceManager_PullRequest_State_Open; +/** + * Unspecified. + * + * Value: "STATE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecureSourceManager_PullRequest_State_StateUnspecified; + +// ---------------------------------------------------------------------------- +// GTLRSecureSourceManager_Review.actionType + +/** + * Unspecified. + * + * Value: "ACTION_TYPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecureSourceManager_Review_ActionType_ActionTypeUnspecified; +/** + * Change approved from this review. + * + * Value: "APPROVED" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecureSourceManager_Review_ActionType_Approved; +/** + * Change required from this review. + * + * Value: "CHANGE_REQUESTED" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecureSourceManager_Review_ActionType_ChangeRequested; +/** + * A general review comment. + * + * Value: "COMMENT" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecureSourceManager_Review_ActionType_Comment; + +// ---------------------------------------------------------------------------- +// GTLRSecureSourceManager_TreeEntry.type + +/** + * Represents a file (contains file data). + * + * Value: "BLOB" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecureSourceManager_TreeEntry_Type_Blob; +/** + * Represents a pointer to another repository (submodule). + * + * Value: "COMMIT" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecureSourceManager_TreeEntry_Type_Commit; +/** + * Default value, indicating the object type is unspecified. + * + * Value: "OBJECT_TYPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecureSourceManager_TreeEntry_Type_ObjectTypeUnspecified; +/** + * Represents a directory (folder). + * + * Value: "TREE" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecureSourceManager_TreeEntry_Type_Tree; + +/** + * Specifies the audit configuration for a service. The configuration + * determines which permission types are logged, and what identities, if any, + * are exempted from logging. An AuditConfig must have one or more + * AuditLogConfigs. If there are AuditConfigs for both `allServices` and a + * specific service, the union of the two AuditConfigs is used for that + * service: the log_types specified in each AuditConfig are enabled, and the + * exempted_members in each AuditLogConfig are exempted. Example Policy with + * multiple AuditConfigs: { "audit_configs": [ { "service": "allServices", + * "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ + * "user:jose\@example.com" ] }, { "log_type": "DATA_WRITE" }, { "log_type": + * "ADMIN_READ" } ] }, { "service": "sampleservice.googleapis.com", + * "audit_log_configs": [ { "log_type": "DATA_READ" }, { "log_type": + * "DATA_WRITE", "exempted_members": [ "user:aliya\@example.com" ] } ] } ] } + * For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ + * logging. It also exempts `jose\@example.com` from DATA_READ logging, and + * `aliya\@example.com` from DATA_WRITE logging. + */ +@interface GTLRSecureSourceManager_AuditConfig : GTLRObject + +/** The configuration for logging of each type of permission. */ +@property(nonatomic, strong, nullable) NSArray *auditLogConfigs; + +/** + * Specifies a service that will be enabled for audit logging. For example, + * `storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a + * special value that covers all services. + */ +@property(nonatomic, copy, nullable) NSString *service; + +@end + + +/** + * Provides the configuration for logging a type of permissions. Example: { + * "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ + * "user:jose\@example.com" ] }, { "log_type": "DATA_WRITE" } ] } This enables + * 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose\@example.com from + * DATA_READ logging. + */ +@interface GTLRSecureSourceManager_AuditLogConfig : GTLRObject + +/** + * Specifies the identities that do not cause logging for this type of + * permission. Follows the same format of Binding.members. + */ +@property(nonatomic, strong, nullable) NSArray *exemptedMembers; + +/** + * The log type that this config enables. + * + * Likely values: + * @arg @c kGTLRSecureSourceManager_AuditLogConfig_LogType_AdminRead Admin + * reads. Example: CloudIAM getIamPolicy (Value: "ADMIN_READ") + * @arg @c kGTLRSecureSourceManager_AuditLogConfig_LogType_DataRead Data + * reads. Example: CloudSQL Users list (Value: "DATA_READ") + * @arg @c kGTLRSecureSourceManager_AuditLogConfig_LogType_DataWrite Data + * writes. Example: CloudSQL Users create (Value: "DATA_WRITE") + * @arg @c kGTLRSecureSourceManager_AuditLogConfig_LogType_LogTypeUnspecified + * Default case. Should never be this. (Value: "LOG_TYPE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *logType; + +@end + + +/** + * The request to batch create pull request comments. + */ +@interface GTLRSecureSourceManager_BatchCreatePullRequestCommentsRequest : GTLRObject + +/** + * Required. The request message specifying the resources to create. There + * should be exactly one CreatePullRequestCommentRequest with CommentDetail + * being REVIEW in the list, and no more than 100 + * CreatePullRequestCommentRequests with CommentDetail being CODE in the list + */ +@property(nonatomic, strong, nullable) NSArray *requests; + +@end + + +/** + * Associates `members`, or principals, with a `role`. + */ +@interface GTLRSecureSourceManager_Binding : GTLRObject + +/** + * The condition that is associated with this binding. If the condition + * evaluates to `true`, then this binding applies to the current request. If + * the condition evaluates to `false`, then this binding does not apply to the + * current request. However, a different role binding might grant the same role + * to one or more of the principals in this binding. To learn which resources + * support conditions in their IAM policies, see the [IAM + * documentation](https://cloud.google.com/iam/help/conditions/resource-policies). + */ +@property(nonatomic, strong, nullable) GTLRSecureSourceManager_Expr *condition; + +/** + * Specifies the principals requesting access for a Google Cloud resource. + * `members` can have the following values: * `allUsers`: A special identifier + * that represents anyone who is on the internet; with or without a Google + * account. * `allAuthenticatedUsers`: A special identifier that represents + * anyone who is authenticated with a Google account or a service account. Does + * not include identities that come from external identity providers (IdPs) + * through identity federation. * `user:{emailid}`: An email address that + * represents a specific Google account. For example, `alice\@example.com` . * + * `serviceAccount:{emailid}`: An email address that represents a Google + * service account. For example, `my-other-app\@appspot.gserviceaccount.com`. * + * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An + * identifier for a [Kubernetes service + * account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). + * For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * + * `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`. * + * `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 + * email address (plus unique identifier) representing a service account that + * has been recently deleted. For example, + * `my-other-app\@appspot.gserviceaccount.com?uid=123456789012345678901`. If + * the service account is undeleted, this value reverts to + * `serviceAccount:{emailid}` and the undeleted service account retains the + * role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email + * address (plus unique identifier) representing a Google group that has been + * 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. * + * `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 *members; + +/** + * Role that is assigned to the list of `members`, or principals. For example, + * `roles/viewer`, `roles/editor`, or `roles/owner`. For an overview of the IAM + * roles and permissions, see the [IAM + * documentation](https://cloud.google.com/iam/docs/roles-overview). For a list + * of the available pre-defined roles, see + * [here](https://cloud.google.com/iam/docs/understanding-roles). + */ +@property(nonatomic, copy, nullable) NSString *role; + +@end + + +/** + * Branch represents a branch involved in a pull request. + */ +@interface GTLRSecureSourceManager_Branch : GTLRObject + +/** Required. Name of the branch. */ +@property(nonatomic, copy, nullable) NSString *ref; + +/** Output only. The commit at the tip of the branch. */ +@property(nonatomic, copy, nullable) NSString *sha; + +@end + + +/** + * Metadata of a BranchRule. BranchRule is the protection rule to enforce + * pre-defined rules on designated branches within a repository. + */ +@interface GTLRSecureSourceManager_BranchRule : GTLRObject + +/** + * Optional. Determines if allow stale reviews or approvals before merging to + * the branch. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *allowStaleReviews; + +/** + * Optional. User annotations. These attributes can only be set and used by the + * user. See https://google.aip.dev/128#annotations for more details such as + * format and size limitations. + */ +@property(nonatomic, strong, nullable) GTLRSecureSourceManager_BranchRule_Annotations *annotations; + +/** Output only. Create timestamp. */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; + +/** + * Optional. Determines if the branch rule is disabled or not. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *disabled; + +/** + * Optional. This checksum is computed by the server based on the value of + * other fields, and may be sent on update and delete requests to ensure the + * client has an up-to-date value before proceeding. + */ +@property(nonatomic, copy, nullable) NSString *ETag; + +/** + * Optional. The pattern of the branch that can match to this BranchRule. + * Specified as regex. .* for all branches. Examples: main, (main|release.*). + * Current MVP phase only support `.*` for wildcard. + */ +@property(nonatomic, copy, nullable) NSString *includePattern; + +/** + * Optional. The minimum number of approvals required for the branch rule to be + * matched. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *minimumApprovalsCount; + +/** + * Optional. The minimum number of reviews required for the branch rule to be + * matched. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *minimumReviewsCount; + +/** + * Optional. A unique identifier for a BranchRule. The name should be of the + * format: + * `projects/{project}/locations/{location}/repositories/{repository}/branchRules/{branch_rule}` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Optional. Determines if require comments resolved before merging to the + * branch. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *requireCommentsResolved; + +/** Optional. List of required status checks before merging to the branch. */ +@property(nonatomic, strong, nullable) NSArray *requiredStatusChecks; + +/** + * Optional. Determines if require linear history before merging to the branch. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *requireLinearHistory; + +/** + * Optional. Determines if the branch rule requires a pull request or not. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *requirePullRequest; + +/** Output only. Unique identifier of the repository. */ +@property(nonatomic, copy, nullable) NSString *uid; + +/** Output only. Update timestamp. */ +@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; + +@end + + +/** + * Optional. User annotations. These attributes can only be set and used by the + * user. See https://google.aip.dev/128#annotations for more details such as + * format and size limitations. + * + * @note This class is documented as having more properties of NSString. Use @c + * -additionalJSONKeys and @c -additionalPropertyForName: to get the list + * of properties and then fetch them; or @c -additionalProperties to + * fetch them all at once. + */ +@interface GTLRSecureSourceManager_BranchRule_Annotations : GTLRObject +@end + + +/** + * The request message for Operations.CancelOperation. + */ +@interface GTLRSecureSourceManager_CancelOperationRequest : GTLRObject +@end + + +/** + * Check is a type for status check. + */ +@interface GTLRSecureSourceManager_Check : GTLRObject + +/** Required. The context of the check. */ +@property(nonatomic, copy, nullable) NSString *context; + +@end + + +/** + * The request to close an issue. + */ +@interface GTLRSecureSourceManager_CloseIssueRequest : GTLRObject + +/** + * Optional. The current etag of the issue. If the etag is provided and does + * not match the current etag of the issue, closing will be blocked and an + * ABORTED error will be returned. + */ +@property(nonatomic, copy, nullable) NSString *ETag; + +@end + + +/** + * ClosePullRequestRequest is the request to close a pull request. + */ +@interface GTLRSecureSourceManager_ClosePullRequestRequest : GTLRObject +@end + + +/** + * The comment on a code line. + */ +@interface GTLRSecureSourceManager_Code : GTLRObject + +/** Required. The comment body. */ +@property(nonatomic, copy, nullable) NSString *body; + +/** Output only. The effective commit sha this code comment is pointing to. */ +@property(nonatomic, copy, nullable) NSString *effectiveCommitSha; + +/** + * Output only. The root comment of the conversation, derived from the reply + * field. + */ +@property(nonatomic, copy, nullable) NSString *effectiveRootComment; + +/** Optional. The position of the comment. */ +@property(nonatomic, strong, nullable) GTLRSecureSourceManager_Position *position; + +/** + * Optional. Input only. The PullRequestComment resource name that this comment + * is replying to. + */ +@property(nonatomic, copy, nullable) NSString *reply; + +/** + * Output only. Boolean indicator if the comment is resolved. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *resolved; + +@end + + +/** + * The general pull request comment. + */ +@interface GTLRSecureSourceManager_Comment : GTLRObject + +/** Required. The comment body. */ +@property(nonatomic, copy, nullable) NSString *body; + +@end + + +/** + * The request to create a pull request comment. + */ +@interface GTLRSecureSourceManager_CreatePullRequestCommentRequest : GTLRObject + +/** + * Required. The pull request in which to create the pull request comment. + * Format: + * `projects/{project_number}/locations/{location_id}/repositories/{repository_id}/pullRequests/{pull_request_id}` + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** Required. The pull request comment to create. */ +@property(nonatomic, strong, nullable) GTLRSecureSourceManager_PullRequestComment *pullRequestComment; + +@end + + +/** + * A generic empty message that you can re-use to avoid defining duplicated + * empty messages in your APIs. A typical example is to use it as the request + * or the response type of an API method. For instance: service Foo { rpc + * Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } + */ +@interface GTLRSecureSourceManager_Empty : GTLRObject +@end + + +/** + * Represents a textual expression in the Common Expression Language (CEL) + * syntax. CEL is a C-like expression language. The syntax and semantics of CEL + * are documented at https://github.com/google/cel-spec. Example (Comparison): + * title: "Summary size limit" description: "Determines if a summary is less + * than 100 chars" expression: "document.summary.size() < 100" Example + * (Equality): title: "Requestor is owner" description: "Determines if + * requestor is the document owner" expression: "document.owner == + * request.auth.claims.email" Example (Logic): title: "Public documents" + * description: "Determine whether the document should be publicly visible" + * expression: "document.type != 'private' && document.type != 'internal'" + * Example (Data Manipulation): title: "Notification string" description: + * "Create a notification string with a timestamp." expression: "'New message + * received at ' + string(document.create_time)" The exact variables and + * functions that may be referenced within an expression are determined by the + * service that evaluates it. See the service documentation for additional + * information. + */ +@interface GTLRSecureSourceManager_Expr : GTLRObject + +/** + * Optional. Description of the expression. This is a longer text which + * describes the expression, e.g. when hovered over it in a UI. + * + * Remapped to 'descriptionProperty' to avoid NSObject's 'description'. + */ +@property(nonatomic, copy, nullable) NSString *descriptionProperty; + +/** + * Textual representation of an expression in Common Expression Language + * syntax. + */ +@property(nonatomic, copy, nullable) NSString *expression; + +/** + * Optional. String indicating the location of the expression for error + * reporting, e.g. a file name and a position in the file. + */ +@property(nonatomic, copy, nullable) NSString *location; + +/** + * Optional. Title for the expression, i.e. a short string describing its + * purpose. This can be used e.g. in UIs which allow to enter the expression. + */ +@property(nonatomic, copy, nullable) NSString *title; + +@end + + +/** + * Response message containing the content of a blob. + */ +@interface GTLRSecureSourceManager_FetchBlobResponse : GTLRObject + +/** The content of the blob, encoded as base64. */ +@property(nonatomic, copy, nullable) NSString *content; + +/** The SHA-1 hash of the blob. */ +@property(nonatomic, copy, nullable) NSString *sha; + +@end + + +/** + * Response message containing a list of TreeEntry objects. + * + * @note This class supports NSFastEnumeration and indexed subscripting over + * its "treeEntries" property. If returned as the result of a query, it + * should support automatic pagination (when @c shouldFetchNextPages is + * enabled). + */ +@interface GTLRSecureSourceManager_FetchTreeResponse : GTLRCollectionObject + +/** A token identifying a page of results the server should return. */ +@property(nonatomic, copy, nullable) NSString *nextPageToken; + +/** + * The list of TreeEntry objects. + * + * @note This property is used to support NSFastEnumeration and indexed + * subscripting on this class. + */ +@property(nonatomic, strong, nullable) NSArray *treeEntries; + +@end + + +/** + * Metadata of a FileDiff. FileDiff represents a single file diff in a pull + * request. + */ +@interface GTLRSecureSourceManager_FileDiff : GTLRObject + +/** + * Output only. The action taken on the file (eg. added, modified, deleted). + * + * Likely values: + * @arg @c kGTLRSecureSourceManager_FileDiff_Action_ActionUnspecified + * Unspecified. (Value: "ACTION_UNSPECIFIED") + * @arg @c kGTLRSecureSourceManager_FileDiff_Action_Added The file was added. + * (Value: "ADDED") + * @arg @c kGTLRSecureSourceManager_FileDiff_Action_Deleted The file was + * deleted. (Value: "DELETED") + * @arg @c kGTLRSecureSourceManager_FileDiff_Action_Modified The file was + * modified. (Value: "MODIFIED") + */ +@property(nonatomic, copy, nullable) NSString *action; + +/** Output only. The name of the file. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** Output only. The git patch containing the file changes. */ +@property(nonatomic, copy, nullable) NSString *patch; + +/** Output only. The commit pointing to the file changes. */ +@property(nonatomic, copy, nullable) NSString *sha; + +@end + + +/** + * Metadata of a Secure Source Manager Hook. + */ +@interface GTLRSecureSourceManager_Hook : GTLRObject + +/** Output only. Create timestamp. */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; + +/** + * Optional. Determines if the hook disabled or not. Set to true to stop + * sending traffic. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *disabled; + +/** Optional. The events that trigger hook on. */ +@property(nonatomic, strong, nullable) NSArray *events; + +/** + * Identifier. A unique identifier for a Hook. The name should be of the + * format: + * `projects/{project}/locations/{location_id}/repositories/{repository_id}/hooks/{hook_id}` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** Optional. The trigger option for push events. */ +@property(nonatomic, strong, nullable) GTLRSecureSourceManager_PushOption *pushOption; + +/** Optional. The sensitive query string to be appended to the target URI. */ +@property(nonatomic, copy, nullable) NSString *sensitiveQueryString; + +/** Required. The target URI to which the payloads will be delivered. */ +@property(nonatomic, copy, nullable) NSString *targetUri; + +/** Output only. Unique identifier of the hook. */ +@property(nonatomic, copy, nullable) NSString *uid; + +/** Output only. Update timestamp. */ +@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; + +@end + + +/** + * HostConfig has different instance endpoints. + */ +@interface GTLRSecureSourceManager_HostConfig : GTLRObject + +/** Output only. API hostname. */ +@property(nonatomic, copy, nullable) NSString *api; + +/** Output only. Git HTTP hostname. */ +@property(nonatomic, copy, nullable) NSString *gitHttp; + +/** Output only. Git SSH hostname. */ +@property(nonatomic, copy, nullable) NSString *gitSsh; + +/** Output only. HTML hostname. */ +@property(nonatomic, copy, nullable) NSString *html; + +@end + + +/** + * Repository initialization configuration. + */ +@interface GTLRSecureSourceManager_InitialConfig : GTLRObject + +/** Default branch name of the repository. */ +@property(nonatomic, copy, nullable) NSString *defaultBranch; + +/** + * List of gitignore template names user can choose from. Valid values: + * actionscript, ada, agda, android, anjuta, ansible, appcelerator-titanium, + * app-engine, archives, arch-linux-packages, atmel-studio, autotools, backup, + * bazaar, bazel, bitrix, bricx-cc, c, cake-php, calabash, cf-wheels, + * chef-cookbook, clojure, cloud9, c-make, code-igniter, code-kit, + * code-sniffer, common-lisp, composer, concrete5, coq, cordova, cpp, + * craft-cms, cuda, cvs, d, dart, dart-editor, delphi, diff, dm, dreamweaver, + * dropbox, drupal, drupal-7, eagle, eclipse, eiffel-studio, elisp, elixir, + * elm, emacs, ensime, epi-server, erlang, esp-idf, espresso, exercism, + * expression-engine, ext-js, fancy, finale, flex-builder, force-dot-com, + * fortran, fuel-php, gcov, git-book, gnome-shell-extension, go, godot, gpg, + * gradle, grails, gwt, haskell, hugo, iar-ewarm, idris, igor-pro, images, + * infor-cms, java, jboss, jboss-4, jboss-6, jdeveloper, jekyll, jenkins-home, + * jenv, jet-brains, jigsaw, joomla, julia, jupyter-notebooks, kate, kdevelop4, + * kentico, ki-cad, kohana, kotlin, lab-view, laravel, lazarus, leiningen, + * lemon-stand, libre-office, lilypond, linux, lithium, logtalk, lua, lyx, + * mac-os, magento, magento-1, magento-2, matlab, maven, mercurial, mercury, + * metals, meta-programming-system, meteor, microsoft-office, model-sim, + * momentics, mono-develop, nanoc, net-beans, nikola, nim, ninja, node, + * notepad-pp, nwjs, objective--c, ocaml, octave, opa, open-cart, openssl, + * oracle-forms, otto, packer, patch, perl, perl6, phalcon, phoenix, pimcore, + * play-framework, plone, prestashop, processing, psoc-creator, puppet, + * pure-script, putty, python, qooxdoo, qt, r, racket, rails, raku, red, + * redcar, redis, rhodes-rhomobile, ros, ruby, rust, sam, sass, sbt, scala, + * scheme, scons, scrivener, sdcc, seam-gen, sketch-up, slick-edit, smalltalk, + * snap, splunk, stata, stella, sublime-text, sugar-crm, svn, swift, symfony, + * symphony-cms, synopsys-vcs, tags, terraform, tex, text-mate, textpattern, + * think-php, tortoise-git, turbo-gears-2, typo3, umbraco, unity, + * unreal-engine, vagrant, vim, virtual-env, virtuoso, visual-studio, + * visual-studio-code, vue, vvvv, waf, web-methods, windows, word-press, xcode, + * xilinx, xilinx-ise, xojo, yeoman, yii, zend-framework, zephir. + */ +@property(nonatomic, strong, nullable) NSArray *gitignores; + +/** + * License template name user can choose from. Valid values: license-0bsd, + * license-389-exception, aal, abstyles, adobe-2006, adobe-glyph, adsl, + * afl-1-1, afl-1-2, afl-2-0, afl-2-1, afl-3-0, afmparse, agpl-1-0, + * agpl-1-0-only, agpl-1-0-or-later, agpl-3-0-only, agpl-3-0-or-later, aladdin, + * amdplpa, aml, ampas, antlr-pd, antlr-pd-fallback, apache-1-0, apache-1-1, + * apache-2-0, apafml, apl-1-0, apsl-1-0, apsl-1-1, apsl-1-2, apsl-2-0, + * artistic-1-0, artistic-1-0-cl8, artistic-1-0-perl, artistic-2-0, + * autoconf-exception-2-0, autoconf-exception-3-0, bahyph, barr, beerware, + * bison-exception-2-2, bittorrent-1-0, bittorrent-1-1, blessing, + * blueoak-1-0-0, bootloader-exception, borceux, bsd-1-clause, bsd-2-clause, + * bsd-2-clause-freebsd, bsd-2-clause-netbsd, bsd-2-clause-patent, + * bsd-2-clause-views, bsd-3-clause, bsd-3-clause-attribution, + * bsd-3-clause-clear, bsd-3-clause-lbnl, bsd-3-clause-modification, + * bsd-3-clause-no-nuclear-license, bsd-3-clause-no-nuclear-license-2014, + * bsd-3-clause-no-nuclear-warranty, bsd-3-clause-open-mpi, bsd-4-clause, + * bsd-4-clause-shortened, bsd-4-clause-uc, bsd-protection, bsd-source-code, + * bsl-1-0, busl-1-1, cal-1-0, cal-1-0-combined-work-exception, caldera, + * catosl-1-1, cc0-1-0, cc-by-1-0, cc-by-2-0, cc-by-3-0, cc-by-3-0-at, + * cc-by-3-0-us, cc-by-4-0, cc-by-nc-1-0, cc-by-nc-2-0, cc-by-nc-3-0, + * cc-by-nc-4-0, cc-by-nc-nd-1-0, cc-by-nc-nd-2-0, cc-by-nc-nd-3-0, + * cc-by-nc-nd-3-0-igo, cc-by-nc-nd-4-0, cc-by-nc-sa-1-0, cc-by-nc-sa-2-0, + * cc-by-nc-sa-3-0, cc-by-nc-sa-4-0, cc-by-nd-1-0, cc-by-nd-2-0, cc-by-nd-3-0, + * cc-by-nd-4-0, cc-by-sa-1-0, cc-by-sa-2-0, cc-by-sa-2-0-uk, cc-by-sa-2-1-jp, + * cc-by-sa-3-0, cc-by-sa-3-0-at, cc-by-sa-4-0, cc-pddc, cddl-1-0, cddl-1-1, + * cdla-permissive-1-0, cdla-sharing-1-0, cecill-1-0, cecill-1-1, cecill-2-0, + * cecill-2-1, cecill-b, cecill-c, cern-ohl-1-1, cern-ohl-1-2, cern-ohl-p-2-0, + * cern-ohl-s-2-0, cern-ohl-w-2-0, clartistic, classpath-exception-2-0, + * clisp-exception-2-0, cnri-jython, cnri-python, cnri-python-gpl-compatible, + * condor-1-1, copyleft-next-0-3-0, copyleft-next-0-3-1, cpal-1-0, cpl-1-0, + * cpol-1-02, crossword, crystal-stacker, cua-opl-1-0, cube, c-uda-1-0, curl, + * d-fsl-1-0, diffmark, digirule-foss-exception, doc, dotseqn, drl-1-0, dsdp, + * dvipdfm, ecl-1-0, ecl-2-0, ecos-exception-2-0, efl-1-0, efl-2-0, egenix, + * entessa, epics, epl-1-0, epl-2-0, erlpl-1-1, etalab-2-0, eu-datagrid, + * eupl-1-0, eupl-1-1, eupl-1-2, eurosym, fair, fawkes-runtime-exception, + * fltk-exception, font-exception-2-0, frameworx-1-0, freebsd-doc, freeimage, + * freertos-exception-2-0, fsfap, fsful, fsfullr, ftl, gcc-exception-2-0, + * gcc-exception-3-1, gd, gfdl-1-1-invariants-only, + * gfdl-1-1-invariants-or-later, gfdl-1-1-no-invariants-only, + * gfdl-1-1-no-invariants-or-later, gfdl-1-1-only, gfdl-1-1-or-later, + * gfdl-1-2-invariants-only, gfdl-1-2-invariants-or-later, + * gfdl-1-2-no-invariants-only, gfdl-1-2-no-invariants-or-later, gfdl-1-2-only, + * gfdl-1-2-or-later, gfdl-1-3-invariants-only, gfdl-1-3-invariants-or-later, + * gfdl-1-3-no-invariants-only, gfdl-1-3-no-invariants-or-later, gfdl-1-3-only, + * gfdl-1-3-or-later, giftware, gl2ps, glide, glulxe, glwtpl, + * gnu-javamail-exception, gnuplot, gpl-1-0-only, gpl-1-0-or-later, + * gpl-2-0-only, gpl-2-0-or-later, gpl-3-0-linking-exception, + * gpl-3-0-linking-source-exception, gpl-3-0-only, gpl-3-0-or-later, + * gpl-cc-1-0, gsoap-1-3b, haskell-report, hippocratic-2-1, hpnd, + * hpnd-sell-variant, htmltidy, i2p-gpl-java-exception, ibm-pibs, icu, ijg, + * image-magick, imatix, imlib2, info-zip, intel, intel-acpi, interbase-1-0, + * ipa, ipl-1-0, isc, jasper-2-0, jpnic, json, lal-1-2, lal-1-3, latex2e, + * leptonica, lgpl-2-0-only, lgpl-2-0-or-later, lgpl-2-1-only, + * lgpl-2-1-or-later, lgpl-3-0-linking-exception, lgpl-3-0-only, + * lgpl-3-0-or-later, lgpllr, libpng, libpng-2-0, libselinux-1-0, libtiff, + * libtool-exception, liliq-p-1-1, liliq-r-1-1, liliq-rplus-1-1, linux-openib, + * linux-syscall-note, llvm-exception, lpl-1-0, lpl-1-02, lppl-1-0, lppl-1-1, + * lppl-1-2, lppl-1-3a, lppl-1-3c, lzma-exception, make-index, mif-exception, + * miros, mit, mit-0, mit-advertising, mit-cmu, mit-enna, mit-feh, + * mit-modern-variant, mitnfa, mit-open-group, motosoto, mpich2, mpl-1-0, + * mpl-1-1, mpl-2-0, mpl-2-0-no-copyleft-exception, ms-pl, ms-rl, mtll, + * mulanpsl-1-0, mulanpsl-2-0, multics, mup, naist-2003, nasa-1-3, naumen, + * nbpl-1-0, ncgl-uk-2-0, ncsa, netcdf, net-snmp, newsletr, ngpl, nist-pd, + * nist-pd-fallback, nlod-1-0, nlpl, nokia, nokia-qt-exception-1-1, nosl, + * noweb, npl-1-0, npl-1-1, nposl-3-0, nrl, ntp, ntp-0, + * ocaml-lgpl-linking-exception, occt-exception-1-0, occt-pl, oclc-2-0, + * odbl-1-0, odc-by-1-0, ofl-1-0, ofl-1-0-no-rfn, ofl-1-0-rfn, ofl-1-1, + * ofl-1-1-no-rfn, ofl-1-1-rfn, ogc-1-0, ogdl-taiwan-1-0, ogl-canada-2-0, + * ogl-uk-1-0, ogl-uk-2-0, ogl-uk-3-0, ogtsl, oldap-1-1, oldap-1-2, oldap-1-3, + * oldap-1-4, oldap-2-0, oldap-2-0-1, oldap-2-1, oldap-2-2, oldap-2-2-1, + * oldap-2-2-2, oldap-2-3, oldap-2-4, oldap-2-7, oml, + * openjdk-assembly-exception-1-0, openssl, openvpn-openssl-exception, opl-1-0, + * oset-pl-2-1, osl-1-0, osl-1-1, osl-2-0, osl-2-1, osl-3-0, o-uda-1-0, + * parity-6-0-0, parity-7-0-0, pddl-1-0, php-3-0, php-3-01, plexus, + * polyform-noncommercial-1-0-0, polyform-small-business-1-0-0, postgresql, + * psf-2-0, psfrag, ps-or-pdf-font-exception-20170817, psutils, python-2-0, + * qhull, qpl-1-0, qt-gpl-exception-1-0, qt-lgpl-exception-1-1, + * qwt-exception-1-0, rdisc, rhecos-1-1, rpl-1-1, rpsl-1-0, rsa-md, rscpl, + * ruby, saxpath, sax-pd, scea, sendmail, sendmail-8-23, sgi-b-1-0, sgi-b-1-1, + * sgi-b-2-0, shl-0-51, shl-2-0, shl-2-1, simpl-2-0, sissl, sissl-1-2, + * sleepycat, smlnj, smppl, snia, spencer-86, spencer-94, spencer-99, spl-1-0, + * ssh-openssh, ssh-short, sspl-1-0, sugarcrm-1-1-3, swift-exception, swl, + * tapr-ohl-1-0, tcl, tcp-wrappers, tmate, torque-1-1, tosl, tu-berlin-1-0, + * tu-berlin-2-0, u-boot-exception-2-0, ucl-1-0, unicode-dfs-2015, + * unicode-dfs-2016, unicode-tou, universal-foss-exception-1-0, unlicense, + * upl-1-0, vim, vostrom, vsl-1-0, w3c, w3c-19980720, w3c-20150513, watcom-1-0, + * wsuipa, wtfpl, wxwindows-exception-3-1, x11, xerox, xfree86-1-1, xinetd, + * xnet, xpp, xskat, ypl-1-0, ypl-1-1, zed, zend-2-0, zimbra-1-3, zimbra-1-4, + * zlib, zlib-acknowledgement, zpl-1-1, zpl-2-0, zpl-2-1. + */ +@property(nonatomic, copy, nullable) NSString *license; + +/** README template name. Valid template name(s) are: default. */ +@property(nonatomic, copy, nullable) NSString *readme; + +@end + + +/** + * A resource that represents a Secure Source Manager instance. + */ +@interface GTLRSecureSourceManager_Instance : GTLRObject + +/** Output only. Create timestamp. */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; + +/** Output only. A list of hostnames for this instance. */ +@property(nonatomic, strong, nullable) GTLRSecureSourceManager_HostConfig *hostConfig; + +/** + * Optional. Immutable. Customer-managed encryption key name, in the format + * projects/ * /locations/ * /keyRings/ * /cryptoKeys/ *. + */ +@property(nonatomic, copy, nullable) NSString *kmsKey; + +/** Optional. Labels as key value pairs. */ +@property(nonatomic, strong, nullable) GTLRSecureSourceManager_Instance_Labels *labels; + +/** + * Optional. A unique identifier for an instance. The name should be of the + * format: + * `projects/{project_number}/locations/{location_id}/instances/{instance_id}` + * `project_number`: Maps to a unique int64 id assigned to each project. + * `location_id`: Refers to the region where the instance will be deployed. + * Since Secure Source Manager is a regional service, it must be one of the + * valid GCP regions. `instance_id`: User provided name for the instance, must + * be unique for a project_number and location_id combination. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** Optional. Private settings for private instance. */ +@property(nonatomic, strong, nullable) GTLRSecureSourceManager_PrivateConfig *privateConfig; + +/** + * Output only. Current state of the instance. + * + * Likely values: + * @arg @c kGTLRSecureSourceManager_Instance_State_Active Instance is ready. + * (Value: "ACTIVE") + * @arg @c kGTLRSecureSourceManager_Instance_State_Creating Instance is being + * created. (Value: "CREATING") + * @arg @c kGTLRSecureSourceManager_Instance_State_Deleting Instance is being + * deleted. (Value: "DELETING") + * @arg @c kGTLRSecureSourceManager_Instance_State_Paused Instance is paused. + * (Value: "PAUSED") + * @arg @c kGTLRSecureSourceManager_Instance_State_StateUnspecified Not set. + * This should only be the case for incoming requests. (Value: + * "STATE_UNSPECIFIED") + * @arg @c kGTLRSecureSourceManager_Instance_State_Unknown Instance is + * unknown, we are not sure if it's functioning. (Value: "UNKNOWN") + */ +@property(nonatomic, copy, nullable) NSString *state; + +/** + * Output only. An optional field providing information about the current + * instance state. + * + * Likely values: + * @arg @c kGTLRSecureSourceManager_Instance_StateNote_InstanceResuming + * INSTANCE_RESUMING indicates that the instance was previously paused + * and is under the process of being brought back. (Value: + * "INSTANCE_RESUMING") + * @arg @c kGTLRSecureSourceManager_Instance_StateNote_PausedCmekUnavailable + * CMEK access is unavailable. (Value: "PAUSED_CMEK_UNAVAILABLE") + * @arg @c kGTLRSecureSourceManager_Instance_StateNote_StateNoteUnspecified + * STATE_NOTE_UNSPECIFIED as the first value of State. (Value: + * "STATE_NOTE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *stateNote; + +/** Output only. Update timestamp. */ +@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; + +/** + * Optional. Configuration for Workforce Identity Federation to support third + * party identity provider. If unset, defaults to the Google OIDC IdP. + */ +@property(nonatomic, strong, nullable) GTLRSecureSourceManager_WorkforceIdentityFederationConfig *workforceIdentityFederationConfig; + +@end + + +/** + * Optional. Labels as key value pairs. + * + * @note This class is documented as having more properties of NSString. Use @c + * -additionalJSONKeys and @c -additionalPropertyForName: to get the list + * of properties and then fetch them; or @c -additionalProperties to + * fetch them all at once. + */ +@interface GTLRSecureSourceManager_Instance_Labels : GTLRObject +@end + + +/** + * Metadata of an Issue. + */ +@interface GTLRSecureSourceManager_Issue : GTLRObject + +/** Optional. Issue body. Provides a detailed description of the issue. */ +@property(nonatomic, copy, nullable) NSString *body; + +/** Output only. Close timestamp (if closed). Cleared when is re-opened. */ +@property(nonatomic, strong, nullable) GTLRDateTime *closeTime; + +/** Output only. Creation timestamp. */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; + +/** + * Optional. This checksum is computed by the server based on the value of + * other fields, and may be sent on update and delete requests to ensure the + * client has an up-to-date value before proceeding. + */ +@property(nonatomic, copy, nullable) NSString *ETag; + +/** + * Identifier. Unique identifier for an issue. The issue id is generated by the + * server. Format: + * `projects/{project}/locations/{location}/repositories/{repository}/issues/{issue_id}` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Output only. State of the issue. + * + * Likely values: + * @arg @c kGTLRSecureSourceManager_Issue_State_Closed A closed issue. + * (Value: "CLOSED") + * @arg @c kGTLRSecureSourceManager_Issue_State_Open An open issue. (Value: + * "OPEN") + * @arg @c kGTLRSecureSourceManager_Issue_State_StateUnspecified Unspecified. + * (Value: "STATE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *state; + +/** Required. Issue title. */ +@property(nonatomic, copy, nullable) NSString *title; + +/** Output only. Last updated timestamp. */ +@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; + +@end + + +/** + * IssueComment represents a comment on an issue. + */ +@interface GTLRSecureSourceManager_IssueComment : GTLRObject + +/** Required. The comment body. */ +@property(nonatomic, copy, nullable) NSString *body; + +/** Output only. Creation timestamp. */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; + +/** + * Identifier. Unique identifier for an issue comment. The comment id is + * generated by the server. Format: + * `projects/{project}/locations/{location}/repositories/{repository}/issues/{issue}/issueComments/{comment_id}` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** Output only. Last updated timestamp. */ +@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; + +@end + + +/** + * ListBranchRulesResponse is the response to listing branchRules. + * + * @note This class supports NSFastEnumeration and indexed subscripting over + * its "branchRules" property. If returned as the result of a query, it + * should support automatic pagination (when @c shouldFetchNextPages is + * enabled). + */ +@interface GTLRSecureSourceManager_ListBranchRulesResponse : GTLRCollectionObject + +/** + * The list of branch rules. + * + * @note This property is used to support NSFastEnumeration and indexed + * subscripting on this class. + */ +@property(nonatomic, strong, nullable) NSArray *branchRules; + +/** A token identifying a page of results the server should return. */ +@property(nonatomic, copy, nullable) NSString *nextPageToken; + +@end + + +/** + * ListHooksResponse is response to list hooks. + * + * @note This class supports NSFastEnumeration and indexed subscripting over + * its "hooks" property. If returned as the result of a query, it should + * support automatic pagination (when @c shouldFetchNextPages is + * enabled). + */ +@interface GTLRSecureSourceManager_ListHooksResponse : GTLRCollectionObject + +/** + * The list of hooks. + * + * @note This property is used to support NSFastEnumeration and indexed + * subscripting on this class. + */ +@property(nonatomic, strong, nullable) NSArray *hooks; + +/** A token identifying a page of results the server should return. */ +@property(nonatomic, copy, nullable) NSString *nextPageToken; + +@end + + +/** + * GTLRSecureSourceManager_ListInstancesResponse + * + * @note This class supports NSFastEnumeration and indexed subscripting over + * its "instances" property. If returned as the result of a query, it + * should support automatic pagination (when @c shouldFetchNextPages is + * enabled). + */ +@interface GTLRSecureSourceManager_ListInstancesResponse : GTLRCollectionObject + +/** + * The list of instances. + * + * @note This property is used to support NSFastEnumeration and indexed + * subscripting on this class. + */ +@property(nonatomic, strong, nullable) NSArray *instances; + +/** A token identifying a page of results the server should return. */ +@property(nonatomic, copy, nullable) NSString *nextPageToken; + +/** Locations that could not be reached. */ +@property(nonatomic, strong, nullable) NSArray *unreachable; + +@end + + +/** + * The response to list issue comments. + * + * @note This class supports NSFastEnumeration and indexed subscripting over + * its "issueComments" property. If returned as the result of a query, it + * should support automatic pagination (when @c shouldFetchNextPages is + * enabled). + */ +@interface GTLRSecureSourceManager_ListIssueCommentsResponse : GTLRCollectionObject + +/** + * The list of issue comments. + * + * @note This property is used to support NSFastEnumeration and indexed + * subscripting on this class. + */ +@property(nonatomic, strong, nullable) NSArray *issueComments; + +/** A token identifying a page of results the server should return. */ +@property(nonatomic, copy, nullable) NSString *nextPageToken; + +@end + + +/** + * The response to list issues. + * + * @note This class supports NSFastEnumeration and indexed subscripting over + * its "issues" property. If returned as the result of a query, it should + * support automatic pagination (when @c shouldFetchNextPages is + * enabled). + */ +@interface GTLRSecureSourceManager_ListIssuesResponse : GTLRCollectionObject + +/** + * The list of issues. + * + * @note This property is used to support NSFastEnumeration and indexed + * subscripting on this class. + */ +@property(nonatomic, strong, nullable) NSArray *issues; + +/** A token identifying a page of results the server should return. */ +@property(nonatomic, copy, nullable) NSString *nextPageToken; + +@end + + +/** + * The response message for Locations.ListLocations. + * + * @note This class supports NSFastEnumeration and indexed subscripting over + * its "locations" property. If returned as the result of a query, it + * should support automatic pagination (when @c shouldFetchNextPages is + * enabled). + */ +@interface GTLRSecureSourceManager_ListLocationsResponse : GTLRCollectionObject + +/** + * A list of locations that matches the specified filter in the request. + * + * @note This property is used to support NSFastEnumeration and indexed + * subscripting on this class. + */ +@property(nonatomic, strong, nullable) NSArray *locations; + +/** The standard List next-page token. */ +@property(nonatomic, copy, nullable) NSString *nextPageToken; + +@end + + +/** + * The response message for Operations.ListOperations. + * + * @note This class supports NSFastEnumeration and indexed subscripting over + * its "operations" property. If returned as the result of a query, it + * should support automatic pagination (when @c shouldFetchNextPages is + * enabled). + */ +@interface GTLRSecureSourceManager_ListOperationsResponse : GTLRCollectionObject + +/** The standard List next-page token. */ +@property(nonatomic, copy, nullable) NSString *nextPageToken; + +/** + * A list of operations that matches the specified filter in the request. + * + * @note This property is used to support NSFastEnumeration and indexed + * subscripting on this class. + */ +@property(nonatomic, strong, nullable) NSArray *operations; + +@end + + +/** + * The response to list pull request comments. + * + * @note This class supports NSFastEnumeration and indexed subscripting over + * its "pullRequestComments" property. If returned as the result of a + * query, it should support automatic pagination (when @c + * shouldFetchNextPages is enabled). + */ +@interface GTLRSecureSourceManager_ListPullRequestCommentsResponse : GTLRCollectionObject + +/** + * A token to set as page_token to retrieve the next page. If this field is + * omitted, there are no subsequent pages. + */ +@property(nonatomic, copy, nullable) NSString *nextPageToken; + +/** + * The list of pull request comments. + * + * @note This property is used to support NSFastEnumeration and indexed + * subscripting on this class. + */ +@property(nonatomic, strong, nullable) NSArray *pullRequestComments; + +@end + + +/** + * ListPullRequestFileDiffsResponse is the response containing file diffs + * returned from ListPullRequestFileDiffs. + * + * @note This class supports NSFastEnumeration and indexed subscripting over + * its "fileDiffs" property. If returned as the result of a query, it + * should support automatic pagination (when @c shouldFetchNextPages is + * enabled). + */ +@interface GTLRSecureSourceManager_ListPullRequestFileDiffsResponse : GTLRCollectionObject + +/** + * The list of pull request file diffs. + * + * @note This property is used to support NSFastEnumeration and indexed + * subscripting on this class. + */ +@property(nonatomic, strong, nullable) NSArray *fileDiffs; + +/** A token identifying a page of results the server should return. */ +@property(nonatomic, copy, nullable) NSString *nextPageToken; + +@end + + +/** + * ListPullRequestsResponse is the response to list pull requests. + * + * @note This class supports NSFastEnumeration and indexed subscripting over + * its "pullRequests" property. If returned as the result of a query, it + * should support automatic pagination (when @c shouldFetchNextPages is + * enabled). + */ +@interface GTLRSecureSourceManager_ListPullRequestsResponse : GTLRCollectionObject + +/** A token identifying a page of results the server should return. */ +@property(nonatomic, copy, nullable) NSString *nextPageToken; + +/** + * The list of pull requests. + * + * @note This property is used to support NSFastEnumeration and indexed + * subscripting on this class. + */ +@property(nonatomic, strong, nullable) NSArray *pullRequests; + +@end + + +/** + * GTLRSecureSourceManager_ListRepositoriesResponse + * + * @note This class supports NSFastEnumeration and indexed subscripting over + * its "repositories" property. If returned as the result of a query, it + * should support automatic pagination (when @c shouldFetchNextPages is + * enabled). + */ +@interface GTLRSecureSourceManager_ListRepositoriesResponse : GTLRCollectionObject + +/** A token identifying a page of results the server should return. */ +@property(nonatomic, copy, nullable) NSString *nextPageToken; + +/** + * The list of repositories. + * + * @note This property is used to support NSFastEnumeration and indexed + * subscripting on this class. + */ +@property(nonatomic, strong, nullable) NSArray *repositories; + +@end + + +/** + * A resource that represents a Google Cloud location. + */ +@interface GTLRSecureSourceManager_Location : GTLRObject + +/** + * The friendly name for this location, typically a nearby city name. For + * example, "Tokyo". + */ +@property(nonatomic, copy, nullable) NSString *displayName; + +/** + * Cross-service attributes for the location. For example + * {"cloud.googleapis.com/region": "us-east1"} + */ +@property(nonatomic, strong, nullable) GTLRSecureSourceManager_Location_Labels *labels; + +/** The canonical id for this location. For example: `"us-east1"`. */ +@property(nonatomic, copy, nullable) NSString *locationId; + +/** + * Service-specific metadata. For example the available capacity at the given + * location. + */ +@property(nonatomic, strong, nullable) GTLRSecureSourceManager_Location_Metadata *metadata; + +/** + * Resource name for the location, which may vary between implementations. For + * example: `"projects/example-project/locations/us-east1"` + */ +@property(nonatomic, copy, nullable) NSString *name; + +@end + + +/** + * Cross-service attributes for the location. For example + * {"cloud.googleapis.com/region": "us-east1"} + * + * @note This class is documented as having more properties of NSString. Use @c + * -additionalJSONKeys and @c -additionalPropertyForName: to get the list + * of properties and then fetch them; or @c -additionalProperties to + * fetch them all at once. + */ +@interface GTLRSecureSourceManager_Location_Labels : GTLRObject +@end + + +/** + * Service-specific metadata. For example the available capacity at the given + * location. + * + * @note This class is documented as having more properties of any valid JSON + * type. Use @c -additionalJSONKeys and @c -additionalPropertyForName: to + * get the list of properties and then fetch them; or @c + * -additionalProperties to fetch them all at once. + */ +@interface GTLRSecureSourceManager_Location_Metadata : GTLRObject +@end + + +/** + * MergePullRequestRequest is the request to merge a pull request. + */ +@interface GTLRSecureSourceManager_MergePullRequestRequest : GTLRObject +@end + + +/** + * The request to open an issue. + */ +@interface GTLRSecureSourceManager_OpenIssueRequest : GTLRObject + +/** + * Optional. The current etag of the issue. If the etag is provided and does + * not match the current etag of the issue, opening will be blocked and an + * ABORTED error will be returned. + */ +@property(nonatomic, copy, nullable) NSString *ETag; + +@end + + +/** + * OpenPullRequestRequest is the request to open a pull request. + */ +@interface GTLRSecureSourceManager_OpenPullRequestRequest : GTLRObject +@end + + +/** + * This resource represents a long-running operation that is the result of a + * network API call. + */ +@interface GTLRSecureSourceManager_Operation : GTLRObject + +/** + * If the value is `false`, it means the operation is still in progress. If + * `true`, the operation is completed, and either `error` or `response` is + * available. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *done; + +/** The error result of the operation in case of failure or cancellation. */ +@property(nonatomic, strong, nullable) GTLRSecureSourceManager_Status *error; + +/** + * Service-specific metadata associated with the operation. It typically + * contains progress information and common metadata such as create time. Some + * services might not provide such metadata. Any method that returns a + * long-running operation should document the metadata type, if any. + */ +@property(nonatomic, strong, nullable) GTLRSecureSourceManager_Operation_Metadata *metadata; + +/** + * The server-assigned name, which is only unique within the same service that + * originally returns it. If you use the default HTTP mapping, the `name` + * should be a resource name ending with `operations/{unique_id}`. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * The normal, successful response of the operation. If the original method + * returns no data on success, such as `Delete`, the response is + * `google.protobuf.Empty`. If the original method is standard + * `Get`/`Create`/`Update`, the response should be the resource. For other + * methods, the response should have the type `XxxResponse`, where `Xxx` is the + * original method name. For example, if the original method name is + * `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`. + */ +@property(nonatomic, strong, nullable) GTLRSecureSourceManager_Operation_Response *response; + +@end + + +/** + * Service-specific metadata associated with the operation. It typically + * contains progress information and common metadata such as create time. Some + * services might not provide such metadata. Any method that returns a + * long-running operation should document the metadata type, if any. + * + * @note This class is documented as having more properties of any valid JSON + * type. Use @c -additionalJSONKeys and @c -additionalPropertyForName: to + * get the list of properties and then fetch them; or @c + * -additionalProperties to fetch them all at once. + */ +@interface GTLRSecureSourceManager_Operation_Metadata : GTLRObject +@end + + +/** + * The normal, successful response of the operation. If the original method + * returns no data on success, such as `Delete`, the response is + * `google.protobuf.Empty`. If the original method is standard + * `Get`/`Create`/`Update`, the response should be the resource. For other + * methods, the response should have the type `XxxResponse`, where `Xxx` is the + * original method name. For example, if the original method name is + * `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`. + * + * @note This class is documented as having more properties of any valid JSON + * type. Use @c -additionalJSONKeys and @c -additionalPropertyForName: to + * get the list of properties and then fetch them; or @c + * -additionalProperties to fetch them all at once. + */ +@interface GTLRSecureSourceManager_Operation_Response : GTLRObject +@end + + +/** + * Represents the metadata of the long-running operation. + */ +@interface GTLRSecureSourceManager_OperationMetadata : GTLRObject + +/** Output only. API version used to start the operation. */ +@property(nonatomic, copy, nullable) NSString *apiVersion; + +/** Output only. The time the operation was created. */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; + +/** Output only. The time the operation finished running. */ +@property(nonatomic, strong, nullable) GTLRDateTime *endTime; + +/** + * Output only. Identifies whether the user has requested cancellation of the + * operation. Operations that have successfully been cancelled have + * Operation.error value with a google.rpc.Status.code of 1, corresponding to + * `Code.CANCELLED`. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *requestedCancellation; + +/** Output only. Human-readable status of the operation, if any. */ +@property(nonatomic, copy, nullable) NSString *statusMessage; + +/** + * Output only. Server-defined resource path for the target of the operation. + */ +@property(nonatomic, copy, nullable) NSString *target; + +/** Output only. Name of the verb executed by the operation. */ +@property(nonatomic, copy, nullable) NSString *verb; + +@end + + +/** + * An Identity and Access Management (IAM) policy, which specifies access + * controls for Google Cloud resources. A `Policy` is a collection of + * `bindings`. A `binding` binds one or more `members`, or principals, to a + * single `role`. Principals can be user accounts, service accounts, Google + * groups, and domains (such as G Suite). A `role` is a named list of + * permissions; each `role` can be an IAM predefined role or a user-created + * custom role. For some types of Google Cloud resources, a `binding` can also + * specify a `condition`, which is a logical expression that allows access to a + * resource only if the expression evaluates to `true`. A condition can add + * constraints based on attributes of the request, the resource, or both. To + * learn which resources support conditions in their IAM policies, see the [IAM + * documentation](https://cloud.google.com/iam/help/conditions/resource-policies). + * **JSON example:** ``` { "bindings": [ { "role": + * "roles/resourcemanager.organizationAdmin", "members": [ + * "user:mike\@example.com", "group:admins\@example.com", "domain:google.com", + * "serviceAccount:my-project-id\@appspot.gserviceaccount.com" ] }, { "role": + * "roles/resourcemanager.organizationViewer", "members": [ + * "user:eve\@example.com" ], "condition": { "title": "expirable access", + * "description": "Does not grant access after Sep 2020", "expression": + * "request.time < timestamp('2020-10-01T00:00:00.000Z')", } } ], "etag": + * "BwWWja0YfJA=", "version": 3 } ``` **YAML example:** ``` bindings: - + * members: - user:mike\@example.com - group:admins\@example.com - + * domain:google.com - + * serviceAccount:my-project-id\@appspot.gserviceaccount.com role: + * roles/resourcemanager.organizationAdmin - members: - user:eve\@example.com + * role: roles/resourcemanager.organizationViewer condition: title: expirable + * access description: Does not grant access after Sep 2020 expression: + * request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= + * version: 3 ``` For a description of IAM and its features, see the [IAM + * documentation](https://cloud.google.com/iam/docs/). + */ +@interface GTLRSecureSourceManager_Policy : GTLRObject + +/** Specifies cloud audit logging configuration for this policy. */ +@property(nonatomic, strong, nullable) NSArray *auditConfigs; + +/** + * Associates a list of `members`, or principals, with a `role`. Optionally, + * may specify a `condition` that determines how and when the `bindings` are + * applied. Each of the `bindings` must contain at least one principal. The + * `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of + * these principals can be Google groups. Each occurrence of a principal counts + * towards these limits. For example, if the `bindings` grant 50 different + * roles to `user:alice\@example.com`, and not to any other principal, then you + * can add another 1,450 principals to the `bindings` in the `Policy`. + */ +@property(nonatomic, strong, nullable) NSArray *bindings; + +/** + * `etag` is used for optimistic concurrency control as a way to help prevent + * simultaneous updates of a policy from overwriting each other. It is strongly + * suggested that systems make use of the `etag` in the read-modify-write cycle + * to perform policy updates in order to avoid race conditions: An `etag` is + * returned in the response to `getIamPolicy`, and systems are expected to put + * that etag in the request to `setIamPolicy` to ensure that their change will + * be applied to the same version of the policy. **Important:** If you use IAM + * Conditions, you must include the `etag` field whenever you call + * `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a + * version `3` policy with a version `1` policy, and all of the conditions in + * the version `3` policy are lost. + * + * Contains encoded binary data; GTLRBase64 can encode/decode (probably + * web-safe format). + */ +@property(nonatomic, copy, nullable) NSString *ETag; + +/** + * Specifies the format of the policy. Valid values are `0`, `1`, and `3`. + * Requests that specify an invalid value are rejected. Any operation that + * affects conditional role bindings must specify version `3`. This requirement + * applies to the following operations: * Getting a policy that includes a + * conditional role binding * Adding a conditional role binding to a policy * + * Changing a conditional role binding in a policy * Removing any role binding, + * with or without a condition, from a policy that includes conditions + * **Important:** If you use IAM Conditions, you must include the `etag` field + * whenever you call `setIamPolicy`. If you omit this field, then IAM allows + * you to overwrite a version `3` policy with a version `1` policy, and all of + * the conditions in the version `3` policy are lost. If a policy does not + * include any conditions, operations on that policy may specify any valid + * version or leave the field unset. To learn which resources support + * conditions in their IAM policies, see the [IAM + * documentation](https://cloud.google.com/iam/help/conditions/resource-policies). + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *version; + +@end + + +/** + * The position of the code comment. + */ +@interface GTLRSecureSourceManager_Position : GTLRObject + +/** + * Required. The line number of the comment. Positive value means it's on the + * new side of the diff, negative value means it's on the old side. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *line; + +/** Required. The path of the file. */ +@property(nonatomic, copy, nullable) NSString *path; + +@end + + +/** + * PrivateConfig includes settings for private instance. + */ +@interface GTLRSecureSourceManager_PrivateConfig : GTLRObject + +/** + * Optional. Immutable. CA pool resource, resource must in the format of + * `projects/{project}/locations/{location}/caPools/{ca_pool}`. + */ +@property(nonatomic, copy, nullable) NSString *caPool; + +/** + * Output only. Service Attachment for HTTP, resource is in the format of + * `projects/{project}/regions/{region}/serviceAttachments/{service_attachment}`. + */ +@property(nonatomic, copy, nullable) NSString *httpServiceAttachment; + +/** + * Required. Immutable. Indicate if it's private instance. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *isPrivate; + +/** + * Optional. Additional allowed projects for setting up PSC connections. + * Instance host project is automatically allowed and does not need to be + * included in this list. + */ +@property(nonatomic, strong, nullable) NSArray *pscAllowedProjects; + +/** + * Output only. Service Attachment for SSH, resource is in the format of + * `projects/{project}/regions/{region}/serviceAttachments/{service_attachment}`. + */ +@property(nonatomic, copy, nullable) NSString *sshServiceAttachment; + +@end + + +/** + * Metadata of a PullRequest. PullRequest is the request from a user to merge a + * branch (head) into another branch (base). + */ +@interface GTLRSecureSourceManager_PullRequest : GTLRObject + +/** Required. The branch to merge changes in. */ +@property(nonatomic, strong, nullable) GTLRSecureSourceManager_Branch *base; + +/** + * Optional. The pull request body. Provides a detailed description of the + * changes. + */ +@property(nonatomic, copy, nullable) NSString *body; + +/** + * Output only. Close timestamp (if closed or merged). Cleared when pull + * request is re-opened. + */ +@property(nonatomic, strong, nullable) GTLRDateTime *closeTime; + +/** Output only. Creation timestamp. */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; + +/** Immutable. The branch containing the changes to be merged. */ +@property(nonatomic, strong, nullable) GTLRSecureSourceManager_Branch *head; + +/** + * Output only. A unique identifier for a PullRequest. The number appended at + * the end is generated by the server. Format: + * `projects/{project}/locations/{location}/repositories/{repository}/pullRequests/{pull_request_id}` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Output only. State of the pull request (open, closed or merged). + * + * Likely values: + * @arg @c kGTLRSecureSourceManager_PullRequest_State_Closed A closed pull + * request. (Value: "CLOSED") + * @arg @c kGTLRSecureSourceManager_PullRequest_State_Merged A merged pull + * request. (Value: "MERGED") + * @arg @c kGTLRSecureSourceManager_PullRequest_State_Open An open pull + * request. (Value: "OPEN") + * @arg @c kGTLRSecureSourceManager_PullRequest_State_StateUnspecified + * Unspecified. (Value: "STATE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *state; + +/** Required. The pull request title. */ +@property(nonatomic, copy, nullable) NSString *title; + +/** Output only. Last updated timestamp. */ +@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; + +@end + + +/** + * PullRequestComment represents a comment on a pull request. + */ +@interface GTLRSecureSourceManager_PullRequestComment : GTLRObject + +/** Optional. The comment on a code line. */ +@property(nonatomic, strong, nullable) GTLRSecureSourceManager_Code *code; + +/** Optional. The general pull request comment. */ +@property(nonatomic, strong, nullable) GTLRSecureSourceManager_Comment *comment; + +/** Output only. Creation timestamp. */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; + +/** + * Identifier. Unique identifier for the pull request comment. The comment id + * is generated by the server. Format: + * `projects/{project}/locations/{location}/repositories/{repository}/pullRequests/{pull_request}/pullRequestComments/{comment_id}` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** Optional. The review summary comment. */ +@property(nonatomic, strong, nullable) GTLRSecureSourceManager_Review *review; + +/** Output only. Last updated timestamp. */ +@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; + +@end + + +/** + * GTLRSecureSourceManager_PushOption + */ +@interface GTLRSecureSourceManager_PushOption : GTLRObject + +/** + * Optional. Trigger hook for matching branches only. Specified as glob + * pattern. If empty or *, events for all branches are reported. Examples: + * main, {main,release*}. See https://pkg.go.dev/github.com/gobwas/glob + * documentation. + */ +@property(nonatomic, copy, nullable) NSString *branchFilter; + +@end + + +/** + * Metadata of a Secure Source Manager repository. + */ +@interface GTLRSecureSourceManager_Repository : GTLRObject + +/** Output only. Create timestamp. */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; + +/** + * Optional. Description of the repository, which cannot exceed 500 characters. + * + * Remapped to 'descriptionProperty' to avoid NSObject's 'description'. + */ +@property(nonatomic, copy, nullable) NSString *descriptionProperty; + +/** + * Optional. This checksum is computed by the server based on the value of + * other fields, and may be sent on update and delete requests to ensure the + * client has an up-to-date value before proceeding. + */ +@property(nonatomic, copy, nullable) NSString *ETag; + +/** Input only. Initial configurations for the repository. */ +@property(nonatomic, strong, nullable) GTLRSecureSourceManager_InitialConfig *initialConfig; + +/** + * Optional. The name of the instance in which the repository is hosted, + * formatted as + * `projects/{project_number}/locations/{location_id}/instances/{instance_id}` + * When creating repository via securesourcemanager.googleapis.com, this field + * is used as input. When creating repository via *.sourcemanager.dev, this + * field is output only. + */ +@property(nonatomic, copy, nullable) NSString *instance; + +/** + * Optional. A unique identifier for a repository. The name should be of the + * format: + * `projects/{project}/locations/{location_id}/repositories/{repository_id}` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** Output only. Unique identifier of the repository. */ +@property(nonatomic, copy, nullable) NSString *uid; + +/** Output only. Update timestamp. */ +@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; + +/** Output only. URIs for the repository. */ +@property(nonatomic, strong, nullable) GTLRSecureSourceManager_URIs *uris; + +@end + + +/** + * The request to resolve multiple pull request comments. + */ +@interface GTLRSecureSourceManager_ResolvePullRequestCommentsRequest : GTLRObject + +/** + * Optional. If set, at least one comment in a thread is required, rest of the + * comments in the same thread will be automatically updated to resolved. If + * unset, all comments in the same thread need be present. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *autoFill; + +/** + * Required. The names of the pull request comments to resolve. Format: + * `projects/{project_number}/locations/{location_id}/repositories/{repository_id}/pullRequests/{pull_request_id}/pullRequestComments/{comment_id}` + * Only comments from the same threads are allowed in the same request. + */ +@property(nonatomic, strong, nullable) NSArray *names; + +@end + + +/** + * The review summary comment. + */ +@interface GTLRSecureSourceManager_Review : GTLRObject + +/** + * Required. The review action type. + * + * Likely values: + * @arg @c kGTLRSecureSourceManager_Review_ActionType_ActionTypeUnspecified + * Unspecified. (Value: "ACTION_TYPE_UNSPECIFIED") + * @arg @c kGTLRSecureSourceManager_Review_ActionType_Approved Change + * approved from this review. (Value: "APPROVED") + * @arg @c kGTLRSecureSourceManager_Review_ActionType_ChangeRequested Change + * required from this review. (Value: "CHANGE_REQUESTED") + * @arg @c kGTLRSecureSourceManager_Review_ActionType_Comment A general + * review comment. (Value: "COMMENT") + */ +@property(nonatomic, copy, nullable) NSString *actionType; + +/** Optional. The comment body. */ +@property(nonatomic, copy, nullable) NSString *body; + +/** Output only. The effective commit sha this review is pointing to. */ +@property(nonatomic, copy, nullable) NSString *effectiveCommitSha; + +@end + + +/** + * Request message for `SetIamPolicy` method. + */ +@interface GTLRSecureSourceManager_SetIamPolicyRequest : GTLRObject + +/** + * REQUIRED: The complete policy to be applied to the `resource`. The size of + * the policy is limited to a few 10s of KB. An empty policy is a valid policy + * but certain Google Cloud services (such as Projects) might reject them. + */ +@property(nonatomic, strong, nullable) GTLRSecureSourceManager_Policy *policy; + +/** + * OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only + * the fields in the mask will be modified. If no mask is provided, the + * following default mask is used: `paths: "bindings, etag"` + * + * String format is a comma-separated list of fields. + */ +@property(nonatomic, copy, nullable) NSString *updateMask; + +@end + + +/** + * The `Status` type defines a logical error model that is suitable for + * different programming environments, including REST APIs and RPC APIs. It is + * used by [gRPC](https://github.com/grpc). Each `Status` message contains + * three pieces of data: error code, error message, and error details. You can + * find out more about this error model and how to work with it in the [API + * Design Guide](https://cloud.google.com/apis/design/errors). + */ +@interface GTLRSecureSourceManager_Status : GTLRObject + +/** + * The status code, which should be an enum value of google.rpc.Code. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *code; + +/** + * A list of messages that carry the error details. There is a common set of + * message types for APIs to use. + */ +@property(nonatomic, strong, nullable) NSArray *details; + +/** + * A developer-facing error message, which should be in English. Any + * user-facing error message should be localized and sent in the + * google.rpc.Status.details field, or localized by the client. + */ +@property(nonatomic, copy, nullable) NSString *message; + +@end + + +/** + * GTLRSecureSourceManager_Status_Details_Item + * + * @note This class is documented as having more properties of any valid JSON + * type. Use @c -additionalJSONKeys and @c -additionalPropertyForName: to + * get the list of properties and then fetch them; or @c + * -additionalProperties to fetch them all at once. + */ +@interface GTLRSecureSourceManager_Status_Details_Item : GTLRObject +@end + + +/** + * Request message for `TestIamPermissions` method. + */ +@interface GTLRSecureSourceManager_TestIamPermissionsRequest : GTLRObject + +/** + * The set of permissions to check for the `resource`. Permissions with + * wildcards (such as `*` or `storage.*`) are not allowed. For more information + * see [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions). + */ +@property(nonatomic, strong, nullable) NSArray *permissions; + +@end + + +/** + * Response message for `TestIamPermissions` method. + */ +@interface GTLRSecureSourceManager_TestIamPermissionsResponse : GTLRObject + +/** + * A subset of `TestPermissionsRequest.permissions` that the caller is allowed. + */ +@property(nonatomic, strong, nullable) NSArray *permissions; + +@end + + +/** + * Represents an entry within a tree structure (like a Git tree). + */ +@interface GTLRSecureSourceManager_TreeEntry : GTLRObject + +/** + * Output only. The file mode as a string (e.g., "100644"). Indicates file + * type. Output-only. + */ +@property(nonatomic, copy, nullable) NSString *mode; + +/** + * Output only. The path of the file or directory within the tree (e.g., + * "src/main/java/MyClass.java"). Output-only. + */ +@property(nonatomic, copy, nullable) NSString *path; + +/** + * Output only. The SHA-1 hash of the object (unique identifier). Output-only. + */ +@property(nonatomic, copy, nullable) NSString *sha; + +/** + * Output only. The size of the object in bytes (only for blobs). Output-only. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *size; + +/** + * Output only. The type of the object (TREE, BLOB, COMMIT). Output-only. + * + * Likely values: + * @arg @c kGTLRSecureSourceManager_TreeEntry_Type_Blob Represents a file + * (contains file data). (Value: "BLOB") + * @arg @c kGTLRSecureSourceManager_TreeEntry_Type_Commit Represents a + * pointer to another repository (submodule). (Value: "COMMIT") + * @arg @c kGTLRSecureSourceManager_TreeEntry_Type_ObjectTypeUnspecified + * Default value, indicating the object type is unspecified. (Value: + * "OBJECT_TYPE_UNSPECIFIED") + * @arg @c kGTLRSecureSourceManager_TreeEntry_Type_Tree Represents a + * directory (folder). (Value: "TREE") + */ +@property(nonatomic, copy, nullable) NSString *type; + +@end + + +/** + * The request to unresolve multiple pull request comments. + */ +@interface GTLRSecureSourceManager_UnresolvePullRequestCommentsRequest : GTLRObject + +/** + * Optional. If set, at least one comment in a thread is required, rest of the + * comments in the same thread will be automatically updated to unresolved. If + * unset, all comments in the same thread need be present. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *autoFill; + +/** + * Required. The names of the pull request comments to unresolve. Format: + * `projects/{project_number}/locations/{location_id}/repositories/{repository_id}/pullRequests/{pull_request_id}/pullRequestComments/{comment_id}` + * Only comments from the same threads are allowed in the same request. + */ +@property(nonatomic, strong, nullable) NSArray *names; + +@end + + +/** + * URIs for the repository. + */ +@interface GTLRSecureSourceManager_URIs : GTLRObject + +/** Output only. API is the URI for API access. */ +@property(nonatomic, copy, nullable) NSString *api; + +/** Output only. git_https is the git HTTPS URI for git operations. */ +@property(nonatomic, copy, nullable) NSString *gitHttps; + +/** + * Output only. HTML is the URI for user to view the repository in a browser. + */ +@property(nonatomic, copy, nullable) NSString *html; + +@end + + +/** + * WorkforceIdentityFederationConfig allows this instance to support users from + * external identity providers. + */ +@interface GTLRSecureSourceManager_WorkforceIdentityFederationConfig : GTLRObject + +/** + * Optional. Immutable. Whether Workforce Identity Federation is enabled. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *enabled; + +@end + +NS_ASSUME_NONNULL_END + +#pragma clang diagnostic pop diff --git a/Sources/GeneratedServices/SecureSourceManager/Public/GoogleAPIClientForREST/GTLRSecureSourceManagerQuery.h b/Sources/GeneratedServices/SecureSourceManager/Public/GoogleAPIClientForREST/GTLRSecureSourceManagerQuery.h new file mode 100644 index 000000000..2a79078f3 --- /dev/null +++ b/Sources/GeneratedServices/SecureSourceManager/Public/GoogleAPIClientForREST/GTLRSecureSourceManagerQuery.h @@ -0,0 +1,2392 @@ +// NOTE: This file was generated by the ServiceGenerator. + +// ---------------------------------------------------------------------------- +// API: +// Secure Source Manager API (securesourcemanager/v1) +// Description: +// Regionally deployed, single-tenant managed source code repository hosted on +// Google Cloud. +// Documentation: +// https://cloud.google.com/secure-source-manager + +#import + +#if GTLR_RUNTIME_VERSION != 3000 +#error This file was generated by a different version of ServiceGenerator which is incompatible with this GTLR library source. +#endif + +#import "GTLRSecureSourceManagerObjects.h" + +// Generated comments include content from the discovery document; avoid them +// causing warnings since clang's checks are some what arbitrary. +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wdocumentation" + +NS_ASSUME_NONNULL_BEGIN + +/** + * Parent class for other Secure Source Manager query classes. + */ +@interface GTLRSecureSourceManagerQuery : GTLRQuery + +/** Selector specifying which fields to include in a partial response. */ +@property(nonatomic, copy, nullable) NSString *fields; + +@end + +/** + * Gets information about a location. + * + * Method: securesourcemanager.projects.locations.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeSecureSourceManagerCloudPlatform + */ +@interface GTLRSecureSourceManagerQuery_ProjectsLocationsGet : GTLRSecureSourceManagerQuery + +/** Resource name for the location. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRSecureSourceManager_Location. + * + * Gets information about a location. + * + * @param name Resource name for the location. + * + * @return GTLRSecureSourceManagerQuery_ProjectsLocationsGet + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Creates a new instance in a given project and location. + * + * Method: securesourcemanager.projects.locations.instances.create + * + * Authorization scope(s): + * @c kGTLRAuthScopeSecureSourceManagerCloudPlatform + */ +@interface GTLRSecureSourceManagerQuery_ProjectsLocationsInstancesCreate : GTLRSecureSourceManagerQuery + +/** Required. ID of the instance to be created. */ +@property(nonatomic, copy, nullable) NSString *instanceId; + +/** Required. Value for parent. */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Optional. An optional request ID to identify requests. Specify a unique + * request ID so that if you must retry your request, the server will know to + * ignore the request if it has already been completed. The server will + * guarantee that for at least 60 minutes since the first request. For example, + * consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can + * check if original operation with the same request ID was received, and if + * so, will ignore the second request. This prevents clients from accidentally + * creating duplicate commitments. The request ID must be a valid UUID with the + * exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ +@property(nonatomic, copy, nullable) NSString *requestId; + +/** + * Fetches a @c GTLRSecureSourceManager_Operation. + * + * Creates a new instance in a given project and location. + * + * @param object The @c GTLRSecureSourceManager_Instance to include in the + * query. + * @param parent Required. Value for parent. + * + * @return GTLRSecureSourceManagerQuery_ProjectsLocationsInstancesCreate + */ ++ (instancetype)queryWithObject:(GTLRSecureSourceManager_Instance *)object + parent:(NSString *)parent; + +@end + +/** + * Deletes a single instance. + * + * Method: securesourcemanager.projects.locations.instances.delete + * + * Authorization scope(s): + * @c kGTLRAuthScopeSecureSourceManagerCloudPlatform + */ +@interface GTLRSecureSourceManagerQuery_ProjectsLocationsInstancesDelete : GTLRSecureSourceManagerQuery + +/** Required. Name of the resource. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Optional. An optional request ID to identify requests. Specify a unique + * request ID so that if you must retry your request, the server will know to + * ignore the request if it has already been completed. The server will + * guarantee that for at least 60 minutes after the first request. For example, + * consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can + * check if original operation with the same request ID was received, and if + * so, will ignore the second request. This prevents clients from accidentally + * creating duplicate commitments. The request ID must be a valid UUID with the + * exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ +@property(nonatomic, copy, nullable) NSString *requestId; + +/** + * Fetches a @c GTLRSecureSourceManager_Operation. + * + * Deletes a single instance. + * + * @param name Required. Name of the resource. + * + * @return GTLRSecureSourceManagerQuery_ProjectsLocationsInstancesDelete + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Gets details of a single instance. + * + * Method: securesourcemanager.projects.locations.instances.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeSecureSourceManagerCloudPlatform + */ +@interface GTLRSecureSourceManagerQuery_ProjectsLocationsInstancesGet : GTLRSecureSourceManagerQuery + +/** Required. Name of the resource. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRSecureSourceManager_Instance. + * + * Gets details of a single instance. + * + * @param name Required. Name of the resource. + * + * @return GTLRSecureSourceManagerQuery_ProjectsLocationsInstancesGet + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Gets the access control policy for a resource. Returns an empty policy if + * the resource exists and does not have a policy set. + * + * Method: securesourcemanager.projects.locations.instances.getIamPolicy + * + * Authorization scope(s): + * @c kGTLRAuthScopeSecureSourceManagerCloudPlatform + */ +@interface GTLRSecureSourceManagerQuery_ProjectsLocationsInstancesGetIamPolicy : GTLRSecureSourceManagerQuery + +/** + * Optional. The maximum policy version that will be used to format the policy. + * Valid values are 0, 1, and 3. Requests specifying an invalid value will be + * rejected. Requests for policies with any conditional role bindings must + * specify version 3. Policies with no conditional role bindings may specify + * any valid value or leave the field unset. The policy in the response might + * use the policy version that you specified, or it might use a lower policy + * version. For example, if you specify version 3, but the policy has no + * conditional role bindings, the response uses version 1. To learn which + * resources support conditions in their IAM policies, see the [IAM + * documentation](https://cloud.google.com/iam/help/conditions/resource-policies). + */ +@property(nonatomic, assign) NSInteger optionsRequestedPolicyVersion; + +/** + * REQUIRED: The resource for which the policy is being requested. See + * [Resource names](https://cloud.google.com/apis/design/resource_names) for + * the appropriate value for this field. + */ +@property(nonatomic, copy, nullable) NSString *resource; + +/** + * Fetches a @c GTLRSecureSourceManager_Policy. + * + * Gets the access control policy for a resource. Returns an empty policy if + * the resource exists and does not have a policy set. + * + * @param resource REQUIRED: The resource for which the policy is being + * requested. See [Resource + * names](https://cloud.google.com/apis/design/resource_names) for the + * appropriate value for this field. + * + * @return GTLRSecureSourceManagerQuery_ProjectsLocationsInstancesGetIamPolicy + */ ++ (instancetype)queryWithResource:(NSString *)resource; + +@end + +/** + * Lists Instances in a given project and location. + * + * Method: securesourcemanager.projects.locations.instances.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeSecureSourceManagerCloudPlatform + */ +@interface GTLRSecureSourceManagerQuery_ProjectsLocationsInstancesList : GTLRSecureSourceManagerQuery + +/** Filter for filtering results. */ +@property(nonatomic, copy, nullable) NSString *filter; + +/** Hint for how to order the results. */ +@property(nonatomic, copy, nullable) NSString *orderBy; + +/** + * Requested page size. Server may return fewer items than requested. If + * unspecified, server will pick an appropriate default. + */ +@property(nonatomic, assign) NSInteger pageSize; + +/** A token identifying a page of results the server should return. */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** Required. Parent value for ListInstancesRequest. */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRSecureSourceManager_ListInstancesResponse. + * + * Lists Instances in a given project and location. + * + * @param parent Required. Parent value for ListInstancesRequest. + * + * @return GTLRSecureSourceManagerQuery_ProjectsLocationsInstancesList + * + * @note Automatic pagination will be done when @c shouldFetchNextPages is + * enabled. See @c shouldFetchNextPages on @c GTLRService for more + * information. + */ ++ (instancetype)queryWithParent:(NSString *)parent; + +@end + +/** + * Sets the access control policy on the specified resource. Replaces any + * existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and + * `PERMISSION_DENIED` errors. + * + * Method: securesourcemanager.projects.locations.instances.setIamPolicy + * + * Authorization scope(s): + * @c kGTLRAuthScopeSecureSourceManagerCloudPlatform + */ +@interface GTLRSecureSourceManagerQuery_ProjectsLocationsInstancesSetIamPolicy : GTLRSecureSourceManagerQuery + +/** + * REQUIRED: The resource for which the policy is being specified. See + * [Resource names](https://cloud.google.com/apis/design/resource_names) for + * the appropriate value for this field. + */ +@property(nonatomic, copy, nullable) NSString *resource; + +/** + * Fetches a @c GTLRSecureSourceManager_Policy. + * + * Sets the access control policy on the specified resource. Replaces any + * existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and + * `PERMISSION_DENIED` errors. + * + * @param object The @c GTLRSecureSourceManager_SetIamPolicyRequest to include + * in the query. + * @param resource REQUIRED: The resource for which the policy is being + * specified. See [Resource + * names](https://cloud.google.com/apis/design/resource_names) for the + * appropriate value for this field. + * + * @return GTLRSecureSourceManagerQuery_ProjectsLocationsInstancesSetIamPolicy + */ ++ (instancetype)queryWithObject:(GTLRSecureSourceManager_SetIamPolicyRequest *)object + resource:(NSString *)resource; + +@end + +/** + * Returns permissions that a caller has on the specified resource. If the + * resource does not exist, this will return an empty set of permissions, not a + * `NOT_FOUND` error. Note: This operation is designed to be used for building + * permission-aware UIs and command-line tools, not for authorization checking. + * This operation may "fail open" without warning. + * + * Method: securesourcemanager.projects.locations.instances.testIamPermissions + * + * Authorization scope(s): + * @c kGTLRAuthScopeSecureSourceManagerCloudPlatform + */ +@interface GTLRSecureSourceManagerQuery_ProjectsLocationsInstancesTestIamPermissions : GTLRSecureSourceManagerQuery + +/** + * REQUIRED: The resource for which the policy detail is being requested. See + * [Resource names](https://cloud.google.com/apis/design/resource_names) for + * the appropriate value for this field. + */ +@property(nonatomic, copy, nullable) NSString *resource; + +/** + * Fetches a @c GTLRSecureSourceManager_TestIamPermissionsResponse. + * + * Returns permissions that a caller has on the specified resource. If the + * resource does not exist, this will return an empty set of permissions, not a + * `NOT_FOUND` error. Note: This operation is designed to be used for building + * permission-aware UIs and command-line tools, not for authorization checking. + * This operation may "fail open" without warning. + * + * @param object The @c GTLRSecureSourceManager_TestIamPermissionsRequest to + * include in the query. + * @param resource REQUIRED: The resource for which the policy detail is being + * requested. See [Resource + * names](https://cloud.google.com/apis/design/resource_names) for the + * appropriate value for this field. + * + * @return GTLRSecureSourceManagerQuery_ProjectsLocationsInstancesTestIamPermissions + */ ++ (instancetype)queryWithObject:(GTLRSecureSourceManager_TestIamPermissionsRequest *)object + resource:(NSString *)resource; + +@end + +/** + * Lists information about the supported locations for this service. + * + * Method: securesourcemanager.projects.locations.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeSecureSourceManagerCloudPlatform + */ +@interface GTLRSecureSourceManagerQuery_ProjectsLocationsList : GTLRSecureSourceManagerQuery + +/** + * 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 + * more detail in [AIP-160](https://google.aip.dev/160). + */ +@property(nonatomic, copy, nullable) NSString *filter; + +/** The resource that owns the locations collection, if applicable. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * The maximum number of results to return. If not set, the service selects a + * default. + */ +@property(nonatomic, assign) NSInteger pageSize; + +/** + * A page token received from the `next_page_token` field in the response. Send + * that page token to receive the subsequent page. + */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** + * Fetches a @c GTLRSecureSourceManager_ListLocationsResponse. + * + * Lists information about the supported locations for this service. + * + * @param name The resource that owns the locations collection, if applicable. + * + * @return GTLRSecureSourceManagerQuery_ProjectsLocationsList + * + * @note Automatic pagination will be done when @c shouldFetchNextPages is + * enabled. See @c shouldFetchNextPages on @c GTLRService for more + * information. + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Starts asynchronous cancellation on a long-running operation. The server + * makes a best effort to cancel the operation, but success is not guaranteed. + * If the server doesn't support this method, it returns + * `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or + * other methods to check whether the cancellation succeeded or whether the + * operation completed despite cancellation. On successful cancellation, the + * operation is not deleted; instead, it becomes an operation with an + * Operation.error value with a google.rpc.Status.code of `1`, corresponding to + * `Code.CANCELLED`. + * + * Method: securesourcemanager.projects.locations.operations.cancel + * + * Authorization scope(s): + * @c kGTLRAuthScopeSecureSourceManagerCloudPlatform + */ +@interface GTLRSecureSourceManagerQuery_ProjectsLocationsOperationsCancel : GTLRSecureSourceManagerQuery + +/** The name of the operation resource to be cancelled. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRSecureSourceManager_Empty. + * + * Starts asynchronous cancellation on a long-running operation. The server + * makes a best effort to cancel the operation, but success is not guaranteed. + * If the server doesn't support this method, it returns + * `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or + * other methods to check whether the cancellation succeeded or whether the + * operation completed despite cancellation. On successful cancellation, the + * operation is not deleted; instead, it becomes an operation with an + * Operation.error value with a google.rpc.Status.code of `1`, corresponding to + * `Code.CANCELLED`. + * + * @param object The @c GTLRSecureSourceManager_CancelOperationRequest to + * include in the query. + * @param name The name of the operation resource to be cancelled. + * + * @return GTLRSecureSourceManagerQuery_ProjectsLocationsOperationsCancel + */ ++ (instancetype)queryWithObject:(GTLRSecureSourceManager_CancelOperationRequest *)object + name:(NSString *)name; + +@end + +/** + * Deletes a long-running operation. This method indicates that the client is + * no longer interested in the operation result. It does not cancel the + * operation. If the server doesn't support this method, it returns + * `google.rpc.Code.UNIMPLEMENTED`. + * + * Method: securesourcemanager.projects.locations.operations.delete + * + * Authorization scope(s): + * @c kGTLRAuthScopeSecureSourceManagerCloudPlatform + */ +@interface GTLRSecureSourceManagerQuery_ProjectsLocationsOperationsDelete : GTLRSecureSourceManagerQuery + +/** The name of the operation resource to be deleted. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRSecureSourceManager_Empty. + * + * Deletes a long-running operation. This method indicates that the client is + * no longer interested in the operation result. It does not cancel the + * operation. If the server doesn't support this method, it returns + * `google.rpc.Code.UNIMPLEMENTED`. + * + * @param name The name of the operation resource to be deleted. + * + * @return GTLRSecureSourceManagerQuery_ProjectsLocationsOperationsDelete + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Gets the latest state of a long-running operation. Clients can use this + * method to poll the operation result at intervals as recommended by the API + * service. + * + * Method: securesourcemanager.projects.locations.operations.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeSecureSourceManagerCloudPlatform + */ +@interface GTLRSecureSourceManagerQuery_ProjectsLocationsOperationsGet : GTLRSecureSourceManagerQuery + +/** The name of the operation resource. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRSecureSourceManager_Operation. + * + * Gets the latest state of a long-running operation. Clients can use this + * method to poll the operation result at intervals as recommended by the API + * service. + * + * @param name The name of the operation resource. + * + * @return GTLRSecureSourceManagerQuery_ProjectsLocationsOperationsGet + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Lists operations that match the specified filter in the request. If the + * server doesn't support this method, it returns `UNIMPLEMENTED`. + * + * Method: securesourcemanager.projects.locations.operations.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeSecureSourceManagerCloudPlatform + */ +@interface GTLRSecureSourceManagerQuery_ProjectsLocationsOperationsList : GTLRSecureSourceManagerQuery + +/** The standard list filter. */ +@property(nonatomic, copy, nullable) NSString *filter; + +/** The name of the operation's parent resource. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** The standard list page size. */ +@property(nonatomic, assign) NSInteger pageSize; + +/** The standard list page token. */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** + * Fetches a @c GTLRSecureSourceManager_ListOperationsResponse. + * + * Lists operations that match the specified filter in the request. If the + * server doesn't support this method, it returns `UNIMPLEMENTED`. + * + * @param name The name of the operation's parent resource. + * + * @return GTLRSecureSourceManagerQuery_ProjectsLocationsOperationsList + * + * @note Automatic pagination will be done when @c shouldFetchNextPages is + * enabled. See @c shouldFetchNextPages on @c GTLRService for more + * information. + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * CreateBranchRule creates a branch rule in a given repository. + * + * Method: securesourcemanager.projects.locations.repositories.branchRules.create + * + * Authorization scope(s): + * @c kGTLRAuthScopeSecureSourceManagerCloudPlatform + */ +@interface GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesBranchRulesCreate : GTLRSecureSourceManagerQuery + +@property(nonatomic, copy, nullable) NSString *branchRuleId; + +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRSecureSourceManager_Operation. + * + * CreateBranchRule creates a branch rule in a given repository. + * + * @param object The @c GTLRSecureSourceManager_BranchRule to include in the + * query. + * @param parent NSString + * + * @return GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesBranchRulesCreate + */ ++ (instancetype)queryWithObject:(GTLRSecureSourceManager_BranchRule *)object + parent:(NSString *)parent; + +@end + +/** + * DeleteBranchRule deletes a branch rule. + * + * Method: securesourcemanager.projects.locations.repositories.branchRules.delete + * + * Authorization scope(s): + * @c kGTLRAuthScopeSecureSourceManagerCloudPlatform + */ +@interface GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesBranchRulesDelete : GTLRSecureSourceManagerQuery + +/** + * Optional. If set to true, and the branch rule is not found, the request will + * succeed but no action will be taken on the server. + */ +@property(nonatomic, assign) BOOL allowMissing; + +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRSecureSourceManager_Operation. + * + * DeleteBranchRule deletes a branch rule. + * + * @param name NSString + * + * @return GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesBranchRulesDelete + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * GetBranchRule gets a branch rule. + * + * Method: securesourcemanager.projects.locations.repositories.branchRules.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeSecureSourceManagerCloudPlatform + */ +@interface GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesBranchRulesGet : GTLRSecureSourceManagerQuery + +/** + * Required. Name of the repository to retrieve. The format is + * `projects/{project}/locations/{location}/repositories/{repository}/branchRules/{branch_rule}`. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRSecureSourceManager_BranchRule. + * + * GetBranchRule gets a branch rule. + * + * @param name Required. Name of the repository to retrieve. The format is + * `projects/{project}/locations/{location}/repositories/{repository}/branchRules/{branch_rule}`. + * + * @return GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesBranchRulesGet + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * ListBranchRules lists branch rules in a given repository. + * + * Method: securesourcemanager.projects.locations.repositories.branchRules.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeSecureSourceManagerCloudPlatform + */ +@interface GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesBranchRulesList : GTLRSecureSourceManagerQuery + +@property(nonatomic, assign) NSInteger pageSize; + +@property(nonatomic, copy, nullable) NSString *pageToken; + +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRSecureSourceManager_ListBranchRulesResponse. + * + * ListBranchRules lists branch rules in a given repository. + * + * @param parent NSString + * + * @return GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesBranchRulesList + * + * @note Automatic pagination will be done when @c shouldFetchNextPages is + * enabled. See @c shouldFetchNextPages on @c GTLRService for more + * information. + */ ++ (instancetype)queryWithParent:(NSString *)parent; + +@end + +/** + * UpdateBranchRule updates a branch rule. + * + * Method: securesourcemanager.projects.locations.repositories.branchRules.patch + * + * Authorization scope(s): + * @c kGTLRAuthScopeSecureSourceManagerCloudPlatform + */ +@interface GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesBranchRulesPatch : GTLRSecureSourceManagerQuery + +/** + * Optional. A unique identifier for a BranchRule. The name should be of the + * format: + * `projects/{project}/locations/{location}/repositories/{repository}/branchRules/{branch_rule}` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Required. Field mask is used to specify the fields to be overwritten in the + * branchRule resource by the update. The fields specified in the update_mask + * are relative to the resource, not the full request. A field will be + * overwritten if it is in the mask. The special value "*" means full + * replacement. + * + * String format is a comma-separated list of fields. + */ +@property(nonatomic, copy, nullable) NSString *updateMask; + +/** + * Optional. If set, validate the request and preview the review, but do not + * actually post it. (https://google.aip.dev/163, for declarative friendly) + */ +@property(nonatomic, assign) BOOL validateOnly; + +/** + * Fetches a @c GTLRSecureSourceManager_Operation. + * + * UpdateBranchRule updates a branch rule. + * + * @param object The @c GTLRSecureSourceManager_BranchRule to include in the + * query. + * @param name Optional. A unique identifier for a BranchRule. The name should + * be of the format: + * `projects/{project}/locations/{location}/repositories/{repository}/branchRules/{branch_rule}` + * + * @return GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesBranchRulesPatch + */ ++ (instancetype)queryWithObject:(GTLRSecureSourceManager_BranchRule *)object + name:(NSString *)name; + +@end + +/** + * Creates a new repository in a given project and location. The + * Repository.Instance field is required in the request body for requests using + * the securesourcemanager.googleapis.com endpoint. + * + * Method: securesourcemanager.projects.locations.repositories.create + * + * Authorization scope(s): + * @c kGTLRAuthScopeSecureSourceManagerCloudPlatform + */ +@interface GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesCreate : GTLRSecureSourceManagerQuery + +/** + * Required. The project in which to create the repository. Values are of the + * form `projects/{project_number}/locations/{location_id}` + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Required. The ID to use for the repository, which will become the final + * component of the repository's resource name. This value should be 4-63 + * characters, and valid characters are /a-z-/. + */ +@property(nonatomic, copy, nullable) NSString *repositoryId; + +/** + * Fetches a @c GTLRSecureSourceManager_Operation. + * + * Creates a new repository in a given project and location. The + * Repository.Instance field is required in the request body for requests using + * the securesourcemanager.googleapis.com endpoint. + * + * @param object The @c GTLRSecureSourceManager_Repository to include in the + * query. + * @param parent Required. The project in which to create the repository. + * Values are of the form `projects/{project_number}/locations/{location_id}` + * + * @return GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesCreate + */ ++ (instancetype)queryWithObject:(GTLRSecureSourceManager_Repository *)object + parent:(NSString *)parent; + +@end + +/** + * Deletes a Repository. + * + * Method: securesourcemanager.projects.locations.repositories.delete + * + * Authorization scope(s): + * @c kGTLRAuthScopeSecureSourceManagerCloudPlatform + */ +@interface GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesDelete : GTLRSecureSourceManagerQuery + +/** + * Optional. If set to true, and the repository is not found, the request will + * succeed but no action will be taken on the server. + */ +@property(nonatomic, assign) BOOL allowMissing; + +/** + * Required. Name of the repository to delete. The format is + * `projects/{project_number}/locations/{location_id}/repositories/{repository_id}`. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRSecureSourceManager_Operation. + * + * Deletes a Repository. + * + * @param name Required. Name of the repository to delete. The format is + * `projects/{project_number}/locations/{location_id}/repositories/{repository_id}`. + * + * @return GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesDelete + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Fetches a blob from a repository. + * + * Method: securesourcemanager.projects.locations.repositories.fetchBlob + * + * Authorization scope(s): + * @c kGTLRAuthScopeSecureSourceManagerCloudPlatform + */ +@interface GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesFetchBlob : GTLRSecureSourceManagerQuery + +/** + * Required. The format is + * `projects/{project_number}/locations/{location_id}/repositories/{repository_id}`. + * Specifies the repository containing the blob. + */ +@property(nonatomic, copy, nullable) NSString *repository; + +/** Required. The SHA-1 hash of the blob to retrieve. */ +@property(nonatomic, copy, nullable) NSString *sha; + +/** + * Fetches a @c GTLRSecureSourceManager_FetchBlobResponse. + * + * Fetches a blob from a repository. + * + * @param repository Required. The format is + * `projects/{project_number}/locations/{location_id}/repositories/{repository_id}`. + * Specifies the repository containing the blob. + * + * @return GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesFetchBlob + */ ++ (instancetype)queryWithRepository:(NSString *)repository; + +@end + +/** + * Fetches a tree from a repository. + * + * Method: securesourcemanager.projects.locations.repositories.fetchTree + * + * Authorization scope(s): + * @c kGTLRAuthScopeSecureSourceManagerCloudPlatform + */ +@interface GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesFetchTree : GTLRSecureSourceManagerQuery + +/** + * Optional. Requested page size. Server may return fewer items than requested. + * If unspecified, at most 10,000 items will be returned. + */ +@property(nonatomic, assign) NSInteger pageSize; + +/** + * Optional. A token identifying a page of results the server should return. + */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** + * Optional. If true, include all subfolders and their files in the response. + * If false, only the immediate children are returned. + */ +@property(nonatomic, assign) BOOL recursive; + +/** + * Optional. `ref` can be a SHA-1 hash, a branch name, or a tag. Specifies + * which tree to fetch. If not specified, the default branch will be used. + */ +@property(nonatomic, copy, nullable) NSString *ref; + +/** + * Required. The format is + * `projects/{project_number}/locations/{location_id}/repositories/{repository_id}`. + * Specifies the repository to fetch the tree from. + */ +@property(nonatomic, copy, nullable) NSString *repository; + +/** + * Fetches a @c GTLRSecureSourceManager_FetchTreeResponse. + * + * Fetches a tree from a repository. + * + * @param repository Required. The format is + * `projects/{project_number}/locations/{location_id}/repositories/{repository_id}`. + * Specifies the repository to fetch the tree from. + * + * @return GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesFetchTree + * + * @note Automatic pagination will be done when @c shouldFetchNextPages is + * enabled. See @c shouldFetchNextPages on @c GTLRService for more + * information. + */ ++ (instancetype)queryWithRepository:(NSString *)repository; + +@end + +/** + * Gets metadata of a repository. + * + * Method: securesourcemanager.projects.locations.repositories.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeSecureSourceManagerCloudPlatform + */ +@interface GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesGet : GTLRSecureSourceManagerQuery + +/** + * Required. Name of the repository to retrieve. The format is + * `projects/{project_number}/locations/{location_id}/repositories/{repository_id}`. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRSecureSourceManager_Repository. + * + * Gets metadata of a repository. + * + * @param name Required. Name of the repository to retrieve. The format is + * `projects/{project_number}/locations/{location_id}/repositories/{repository_id}`. + * + * @return GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesGet + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Get IAM policy for a repository. + * + * Method: securesourcemanager.projects.locations.repositories.getIamPolicy + * + * Authorization scope(s): + * @c kGTLRAuthScopeSecureSourceManagerCloudPlatform + */ +@interface GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesGetIamPolicy : GTLRSecureSourceManagerQuery + +/** + * Optional. The maximum policy version that will be used to format the policy. + * Valid values are 0, 1, and 3. Requests specifying an invalid value will be + * rejected. Requests for policies with any conditional role bindings must + * specify version 3. Policies with no conditional role bindings may specify + * any valid value or leave the field unset. The policy in the response might + * use the policy version that you specified, or it might use a lower policy + * version. For example, if you specify version 3, but the policy has no + * conditional role bindings, the response uses version 1. To learn which + * resources support conditions in their IAM policies, see the [IAM + * documentation](https://cloud.google.com/iam/help/conditions/resource-policies). + */ +@property(nonatomic, assign) NSInteger optionsRequestedPolicyVersion; + +/** + * REQUIRED: The resource for which the policy is being requested. See + * [Resource names](https://cloud.google.com/apis/design/resource_names) for + * the appropriate value for this field. + */ +@property(nonatomic, copy, nullable) NSString *resource; + +/** + * Fetches a @c GTLRSecureSourceManager_Policy. + * + * Get IAM policy for a repository. + * + * @param resource REQUIRED: The resource for which the policy is being + * requested. See [Resource + * names](https://cloud.google.com/apis/design/resource_names) for the + * appropriate value for this field. + * + * @return GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesGetIamPolicy + */ ++ (instancetype)queryWithResource:(NSString *)resource; + +@end + +/** + * Creates a new hook in a given repository. + * + * Method: securesourcemanager.projects.locations.repositories.hooks.create + * + * Authorization scope(s): + * @c kGTLRAuthScopeSecureSourceManagerCloudPlatform + */ +@interface GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesHooksCreate : GTLRSecureSourceManagerQuery + +/** + * Required. The ID to use for the hook, which will become the final component + * of the hook's resource name. This value restricts to lower-case letters, + * numbers, and hyphen, with the first character a letter, the last a letter or + * a number, and a 63 character maximum. + */ +@property(nonatomic, copy, nullable) NSString *hookId; + +/** + * Required. The repository in which to create the hook. Values are of the form + * `projects/{project_number}/locations/{location_id}/repositories/{repository_id}` + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRSecureSourceManager_Operation. + * + * Creates a new hook in a given repository. + * + * @param object The @c GTLRSecureSourceManager_Hook to include in the query. + * @param parent Required. The repository in which to create the hook. Values + * are of the form + * `projects/{project_number}/locations/{location_id}/repositories/{repository_id}` + * + * @return GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesHooksCreate + */ ++ (instancetype)queryWithObject:(GTLRSecureSourceManager_Hook *)object + parent:(NSString *)parent; + +@end + +/** + * Deletes a Hook. + * + * Method: securesourcemanager.projects.locations.repositories.hooks.delete + * + * Authorization scope(s): + * @c kGTLRAuthScopeSecureSourceManagerCloudPlatform + */ +@interface GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesHooksDelete : GTLRSecureSourceManagerQuery + +/** + * Required. Name of the hook to delete. The format is + * `projects/{project_number}/locations/{location_id}/repositories/{repository_id}/hooks/{hook_id}`. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRSecureSourceManager_Operation. + * + * Deletes a Hook. + * + * @param name Required. Name of the hook to delete. The format is + * `projects/{project_number}/locations/{location_id}/repositories/{repository_id}/hooks/{hook_id}`. + * + * @return GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesHooksDelete + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Gets metadata of a hook. + * + * Method: securesourcemanager.projects.locations.repositories.hooks.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeSecureSourceManagerCloudPlatform + */ +@interface GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesHooksGet : GTLRSecureSourceManagerQuery + +/** + * Required. Name of the hook to retrieve. The format is + * `projects/{project_number}/locations/{location_id}/repositories/{repository_id}/hooks/{hook_id}`. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRSecureSourceManager_Hook. + * + * Gets metadata of a hook. + * + * @param name Required. Name of the hook to retrieve. The format is + * `projects/{project_number}/locations/{location_id}/repositories/{repository_id}/hooks/{hook_id}`. + * + * @return GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesHooksGet + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Lists hooks in a given repository. + * + * Method: securesourcemanager.projects.locations.repositories.hooks.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeSecureSourceManagerCloudPlatform + */ +@interface GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesHooksList : GTLRSecureSourceManagerQuery + +/** + * Optional. Requested page size. Server may return fewer items than requested. + * If unspecified, server will pick an appropriate default. + */ +@property(nonatomic, assign) NSInteger pageSize; + +/** + * Optional. A token identifying a page of results the server should return. + */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** Required. Parent value for ListHooksRequest. */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRSecureSourceManager_ListHooksResponse. + * + * Lists hooks in a given repository. + * + * @param parent Required. Parent value for ListHooksRequest. + * + * @return GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesHooksList + * + * @note Automatic pagination will be done when @c shouldFetchNextPages is + * enabled. See @c shouldFetchNextPages on @c GTLRService for more + * information. + */ ++ (instancetype)queryWithParent:(NSString *)parent; + +@end + +/** + * Updates the metadata of a hook. + * + * Method: securesourcemanager.projects.locations.repositories.hooks.patch + * + * Authorization scope(s): + * @c kGTLRAuthScopeSecureSourceManagerCloudPlatform + */ +@interface GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesHooksPatch : GTLRSecureSourceManagerQuery + +/** + * Identifier. A unique identifier for a Hook. The name should be of the + * format: + * `projects/{project}/locations/{location_id}/repositories/{repository_id}/hooks/{hook_id}` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Required. Field mask is used to specify the fields to be overwritten in the + * hook resource by the update. The fields specified in the update_mask are + * relative to the resource, not the full request. A field will be overwritten + * if it is in the mask. The special value "*" means full replacement. + * + * String format is a comma-separated list of fields. + */ +@property(nonatomic, copy, nullable) NSString *updateMask; + +/** + * Fetches a @c GTLRSecureSourceManager_Operation. + * + * Updates the metadata of a hook. + * + * @param object The @c GTLRSecureSourceManager_Hook to include in the query. + * @param name Identifier. A unique identifier for a Hook. The name should be + * of the format: + * `projects/{project}/locations/{location_id}/repositories/{repository_id}/hooks/{hook_id}` + * + * @return GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesHooksPatch + */ ++ (instancetype)queryWithObject:(GTLRSecureSourceManager_Hook *)object + name:(NSString *)name; + +@end + +/** + * Closes an issue. + * + * Method: securesourcemanager.projects.locations.repositories.issues.close + * + * Authorization scope(s): + * @c kGTLRAuthScopeSecureSourceManagerCloudPlatform + */ +@interface GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesIssuesClose : GTLRSecureSourceManagerQuery + +/** + * Required. Name of the issue to close. The format is + * `projects/{project_number}/locations/{location_id}/repositories/{repository_id}/issues/{issue_id}`. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRSecureSourceManager_Operation. + * + * Closes an issue. + * + * @param object The @c GTLRSecureSourceManager_CloseIssueRequest to include in + * the query. + * @param name Required. Name of the issue to close. The format is + * `projects/{project_number}/locations/{location_id}/repositories/{repository_id}/issues/{issue_id}`. + * + * @return GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesIssuesClose + */ ++ (instancetype)queryWithObject:(GTLRSecureSourceManager_CloseIssueRequest *)object + name:(NSString *)name; + +@end + +/** + * Creates an issue. + * + * Method: securesourcemanager.projects.locations.repositories.issues.create + * + * Authorization scope(s): + * @c kGTLRAuthScopeSecureSourceManagerCloudPlatform + */ +@interface GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesIssuesCreate : GTLRSecureSourceManagerQuery + +/** + * Required. The repository in which to create the issue. Format: + * `projects/{project_number}/locations/{location_id}/repositories/{repository_id}` + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRSecureSourceManager_Operation. + * + * Creates an issue. + * + * @param object The @c GTLRSecureSourceManager_Issue to include in the query. + * @param parent Required. The repository in which to create the issue. Format: + * `projects/{project_number}/locations/{location_id}/repositories/{repository_id}` + * + * @return GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesIssuesCreate + */ ++ (instancetype)queryWithObject:(GTLRSecureSourceManager_Issue *)object + parent:(NSString *)parent; + +@end + +/** + * Deletes an issue. + * + * Method: securesourcemanager.projects.locations.repositories.issues.delete + * + * Authorization scope(s): + * @c kGTLRAuthScopeSecureSourceManagerCloudPlatform + */ +@interface GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesIssuesDelete : GTLRSecureSourceManagerQuery + +/** + * Optional. The current etag of the issue. If the etag is provided and does + * not match the current etag of the issue, deletion will be blocked and an + * ABORTED error will be returned. + */ +@property(nonatomic, copy, nullable) NSString *ETag; + +/** + * Required. Name of the issue to delete. The format is + * `projects/{project_number}/locations/{location_id}/repositories/{repository_id}/issues/{issue_id}`. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRSecureSourceManager_Operation. + * + * Deletes an issue. + * + * @param name Required. Name of the issue to delete. The format is + * `projects/{project_number}/locations/{location_id}/repositories/{repository_id}/issues/{issue_id}`. + * + * @return GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesIssuesDelete + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Gets an issue. + * + * Method: securesourcemanager.projects.locations.repositories.issues.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeSecureSourceManagerCloudPlatform + */ +@interface GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesIssuesGet : GTLRSecureSourceManagerQuery + +/** + * Required. Name of the issue to retrieve. The format is + * `projects/{project}/locations/{location}/repositories/{repository}/issues/{issue_id}`. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRSecureSourceManager_Issue. + * + * Gets an issue. + * + * @param name Required. Name of the issue to retrieve. The format is + * `projects/{project}/locations/{location}/repositories/{repository}/issues/{issue_id}`. + * + * @return GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesIssuesGet + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Creates an issue comment. + * + * Method: securesourcemanager.projects.locations.repositories.issues.issueComments.create + * + * Authorization scope(s): + * @c kGTLRAuthScopeSecureSourceManagerCloudPlatform + */ +@interface GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesIssuesIssueCommentsCreate : GTLRSecureSourceManagerQuery + +/** + * Required. The issue in which to create the issue comment. Format: + * `projects/{project_number}/locations/{location_id}/repositories/{repository_id}/issues/{issue_id}` + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRSecureSourceManager_Operation. + * + * Creates an issue comment. + * + * @param object The @c GTLRSecureSourceManager_IssueComment to include in the + * query. + * @param parent Required. The issue in which to create the issue comment. + * Format: + * `projects/{project_number}/locations/{location_id}/repositories/{repository_id}/issues/{issue_id}` + * + * @return GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesIssuesIssueCommentsCreate + */ ++ (instancetype)queryWithObject:(GTLRSecureSourceManager_IssueComment *)object + parent:(NSString *)parent; + +@end + +/** + * Deletes an issue comment. + * + * Method: securesourcemanager.projects.locations.repositories.issues.issueComments.delete + * + * Authorization scope(s): + * @c kGTLRAuthScopeSecureSourceManagerCloudPlatform + */ +@interface GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesIssuesIssueCommentsDelete : GTLRSecureSourceManagerQuery + +/** + * Required. Name of the issue comment to delete. The format is + * `projects/{project_number}/locations/{location_id}/repositories/{repository_id}/issues/{issue_id}/issueComments/{comment_id}`. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRSecureSourceManager_Operation. + * + * Deletes an issue comment. + * + * @param name Required. Name of the issue comment to delete. The format is + * `projects/{project_number}/locations/{location_id}/repositories/{repository_id}/issues/{issue_id}/issueComments/{comment_id}`. + * + * @return GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesIssuesIssueCommentsDelete + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Gets an issue comment. + * + * Method: securesourcemanager.projects.locations.repositories.issues.issueComments.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeSecureSourceManagerCloudPlatform + */ +@interface GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesIssuesIssueCommentsGet : GTLRSecureSourceManagerQuery + +/** + * Required. Name of the issue comment to retrieve. The format is + * `projects/{project}/locations/{location}/repositories/{repository}/issues/{issue_id}/issueComments/{comment_id}`. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRSecureSourceManager_IssueComment. + * + * Gets an issue comment. + * + * @param name Required. Name of the issue comment to retrieve. The format is + * `projects/{project}/locations/{location}/repositories/{repository}/issues/{issue_id}/issueComments/{comment_id}`. + * + * @return GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesIssuesIssueCommentsGet + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Lists comments in an issue. + * + * Method: securesourcemanager.projects.locations.repositories.issues.issueComments.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeSecureSourceManagerCloudPlatform + */ +@interface GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesIssuesIssueCommentsList : GTLRSecureSourceManagerQuery + +/** + * Optional. Requested page size. Server may return fewer items than requested. + * If unspecified, server will pick an appropriate default. + */ +@property(nonatomic, assign) NSInteger pageSize; + +/** + * Optional. A token identifying a page of results the server should return. + */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** + * Required. The issue in which to list the comments. Format: + * `projects/{project_number}/locations/{location_id}/repositories/{repository_id}/issues/{issue_id}` + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRSecureSourceManager_ListIssueCommentsResponse. + * + * Lists comments in an issue. + * + * @param parent Required. The issue in which to list the comments. Format: + * `projects/{project_number}/locations/{location_id}/repositories/{repository_id}/issues/{issue_id}` + * + * @return GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesIssuesIssueCommentsList + * + * @note Automatic pagination will be done when @c shouldFetchNextPages is + * enabled. See @c shouldFetchNextPages on @c GTLRService for more + * information. + */ ++ (instancetype)queryWithParent:(NSString *)parent; + +@end + +/** + * Updates an issue comment. + * + * Method: securesourcemanager.projects.locations.repositories.issues.issueComments.patch + * + * Authorization scope(s): + * @c kGTLRAuthScopeSecureSourceManagerCloudPlatform + */ +@interface GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesIssuesIssueCommentsPatch : GTLRSecureSourceManagerQuery + +/** + * Identifier. Unique identifier for an issue comment. The comment id is + * generated by the server. Format: + * `projects/{project}/locations/{location}/repositories/{repository}/issues/{issue}/issueComments/{comment_id}` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Optional. Field mask is used to specify the fields to be overwritten in the + * issue comment resource by the update. The fields specified in the + * update_mask are relative to the resource, not the full request. A field will + * be overwritten if it is in the mask. The special value "*" means full + * replacement. + * + * String format is a comma-separated list of fields. + */ +@property(nonatomic, copy, nullable) NSString *updateMask; + +/** + * Fetches a @c GTLRSecureSourceManager_Operation. + * + * Updates an issue comment. + * + * @param object The @c GTLRSecureSourceManager_IssueComment to include in the + * query. + * @param name Identifier. Unique identifier for an issue comment. The comment + * id is generated by the server. Format: + * `projects/{project}/locations/{location}/repositories/{repository}/issues/{issue}/issueComments/{comment_id}` + * + * @return GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesIssuesIssueCommentsPatch + */ ++ (instancetype)queryWithObject:(GTLRSecureSourceManager_IssueComment *)object + name:(NSString *)name; + +@end + +/** + * Lists issues in a repository. + * + * Method: securesourcemanager.projects.locations.repositories.issues.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeSecureSourceManagerCloudPlatform + */ +@interface GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesIssuesList : GTLRSecureSourceManagerQuery + +/** Optional. Used to filter the resulting issues list. */ +@property(nonatomic, copy, nullable) NSString *filter; + +/** + * Optional. Requested page size. Server may return fewer items than requested. + * If unspecified, server will pick an appropriate default. + */ +@property(nonatomic, assign) NSInteger pageSize; + +/** + * Optional. A token identifying a page of results the server should return. + */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** + * Required. The repository in which to list issues. Format: + * `projects/{project_number}/locations/{location_id}/repositories/{repository_id}` + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRSecureSourceManager_ListIssuesResponse. + * + * Lists issues in a repository. + * + * @param parent Required. The repository in which to list issues. Format: + * `projects/{project_number}/locations/{location_id}/repositories/{repository_id}` + * + * @return GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesIssuesList + * + * @note Automatic pagination will be done when @c shouldFetchNextPages is + * enabled. See @c shouldFetchNextPages on @c GTLRService for more + * information. + */ ++ (instancetype)queryWithParent:(NSString *)parent; + +@end + +/** + * Opens an issue. + * + * Method: securesourcemanager.projects.locations.repositories.issues.open + * + * Authorization scope(s): + * @c kGTLRAuthScopeSecureSourceManagerCloudPlatform + */ +@interface GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesIssuesOpen : GTLRSecureSourceManagerQuery + +/** + * Required. Name of the issue to open. The format is + * `projects/{project_number}/locations/{location_id}/repositories/{repository_id}/issues/{issue_id}`. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRSecureSourceManager_Operation. + * + * Opens an issue. + * + * @param object The @c GTLRSecureSourceManager_OpenIssueRequest to include in + * the query. + * @param name Required. Name of the issue to open. The format is + * `projects/{project_number}/locations/{location_id}/repositories/{repository_id}/issues/{issue_id}`. + * + * @return GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesIssuesOpen + */ ++ (instancetype)queryWithObject:(GTLRSecureSourceManager_OpenIssueRequest *)object + name:(NSString *)name; + +@end + +/** + * Updates a issue. + * + * Method: securesourcemanager.projects.locations.repositories.issues.patch + * + * Authorization scope(s): + * @c kGTLRAuthScopeSecureSourceManagerCloudPlatform + */ +@interface GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesIssuesPatch : GTLRSecureSourceManagerQuery + +/** + * Identifier. Unique identifier for an issue. The issue id is generated by the + * server. Format: + * `projects/{project}/locations/{location}/repositories/{repository}/issues/{issue_id}` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Optional. Field mask is used to specify the fields to be overwritten in the + * issue resource by the update. The fields specified in the update_mask are + * relative to the resource, not the full request. A field will be overwritten + * if it is in the mask. The special value "*" means full replacement. + * + * String format is a comma-separated list of fields. + */ +@property(nonatomic, copy, nullable) NSString *updateMask; + +/** + * Fetches a @c GTLRSecureSourceManager_Operation. + * + * Updates a issue. + * + * @param object The @c GTLRSecureSourceManager_Issue to include in the query. + * @param name Identifier. Unique identifier for an issue. The issue id is + * generated by the server. Format: + * `projects/{project}/locations/{location}/repositories/{repository}/issues/{issue_id}` + * + * @return GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesIssuesPatch + */ ++ (instancetype)queryWithObject:(GTLRSecureSourceManager_Issue *)object + name:(NSString *)name; + +@end + +/** + * Lists Repositories in a given project and location. The instance field is + * required in the query parameter for requests using the + * securesourcemanager.googleapis.com endpoint. + * + * Method: securesourcemanager.projects.locations.repositories.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeSecureSourceManagerCloudPlatform + */ +@interface GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesList : GTLRSecureSourceManagerQuery + +/** Optional. Filter results. */ +@property(nonatomic, copy, nullable) NSString *filter; + +/** + * Optional. The name of the instance in which the repository is hosted, + * formatted as + * `projects/{project_number}/locations/{location_id}/instances/{instance_id}`. + * When listing repositories via securesourcemanager.googleapis.com, this field + * is required. When listing repositories via *.sourcemanager.dev, this field + * is ignored. + */ +@property(nonatomic, copy, nullable) NSString *instance; + +/** + * Optional. Requested page size. Server may return fewer items than requested. + * If unspecified, server will pick an appropriate default. + */ +@property(nonatomic, assign) NSInteger pageSize; + +/** A token identifying a page of results the server should return. */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** Required. Parent value for ListRepositoriesRequest. */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRSecureSourceManager_ListRepositoriesResponse. + * + * Lists Repositories in a given project and location. The instance field is + * required in the query parameter for requests using the + * securesourcemanager.googleapis.com endpoint. + * + * @param parent Required. Parent value for ListRepositoriesRequest. + * + * @return GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesList + * + * @note Automatic pagination will be done when @c shouldFetchNextPages is + * enabled. See @c shouldFetchNextPages on @c GTLRService for more + * information. + */ ++ (instancetype)queryWithParent:(NSString *)parent; + +@end + +/** + * Updates the metadata of a repository. + * + * Method: securesourcemanager.projects.locations.repositories.patch + * + * Authorization scope(s): + * @c kGTLRAuthScopeSecureSourceManagerCloudPlatform + */ +@interface GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesPatch : GTLRSecureSourceManagerQuery + +/** + * Optional. A unique identifier for a repository. The name should be of the + * format: + * `projects/{project}/locations/{location_id}/repositories/{repository_id}` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Optional. Field mask is used to specify the fields to be overwritten in the + * repository resource by the update. The fields specified in the update_mask + * are relative to the resource, not the full request. A field will be + * overwritten if it is in the mask. If the user does not provide a mask then + * all fields will be overwritten. + * + * String format is a comma-separated list of fields. + */ +@property(nonatomic, copy, nullable) NSString *updateMask; + +/** + * Optional. False by default. If set to true, the request is validated and the + * user is provided with an expected result, but no actual change is made. + */ +@property(nonatomic, assign) BOOL validateOnly; + +/** + * Fetches a @c GTLRSecureSourceManager_Operation. + * + * Updates the metadata of a repository. + * + * @param object The @c GTLRSecureSourceManager_Repository to include in the + * query. + * @param name Optional. A unique identifier for a repository. The name should + * be of the format: + * `projects/{project}/locations/{location_id}/repositories/{repository_id}` + * + * @return GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesPatch + */ ++ (instancetype)queryWithObject:(GTLRSecureSourceManager_Repository *)object + name:(NSString *)name; + +@end + +/** + * Closes a pull request without merging. + * + * Method: securesourcemanager.projects.locations.repositories.pullRequests.close + * + * Authorization scope(s): + * @c kGTLRAuthScopeSecureSourceManagerCloudPlatform + */ +@interface GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesPullRequestsClose : GTLRSecureSourceManagerQuery + +/** + * Required. The pull request to close. Format: + * `projects/{project_number}/locations/{location_id}/repositories/{repository_id}/pullRequests/{pull_request_id}` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRSecureSourceManager_Operation. + * + * Closes a pull request without merging. + * + * @param object The @c GTLRSecureSourceManager_ClosePullRequestRequest to + * include in the query. + * @param name Required. The pull request to close. Format: + * `projects/{project_number}/locations/{location_id}/repositories/{repository_id}/pullRequests/{pull_request_id}` + * + * @return GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesPullRequestsClose + */ ++ (instancetype)queryWithObject:(GTLRSecureSourceManager_ClosePullRequestRequest *)object + name:(NSString *)name; + +@end + +/** + * Creates a pull request. + * + * Method: securesourcemanager.projects.locations.repositories.pullRequests.create + * + * Authorization scope(s): + * @c kGTLRAuthScopeSecureSourceManagerCloudPlatform + */ +@interface GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesPullRequestsCreate : GTLRSecureSourceManagerQuery + +/** + * Required. The repository that the pull request is created from. Format: + * `projects/{project_number}/locations/{location_id}/repositories/{repository_id}` + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRSecureSourceManager_Operation. + * + * Creates a pull request. + * + * @param object The @c GTLRSecureSourceManager_PullRequest to include in the + * query. + * @param parent Required. The repository that the pull request is created + * from. Format: + * `projects/{project_number}/locations/{location_id}/repositories/{repository_id}` + * + * @return GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesPullRequestsCreate + */ ++ (instancetype)queryWithObject:(GTLRSecureSourceManager_PullRequest *)object + parent:(NSString *)parent; + +@end + +/** + * Gets a pull request. + * + * Method: securesourcemanager.projects.locations.repositories.pullRequests.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeSecureSourceManagerCloudPlatform + */ +@interface GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesPullRequestsGet : GTLRSecureSourceManagerQuery + +/** + * Required. Name of the pull request to retrieve. The format is + * `projects/{project}/locations/{location}/repositories/{repository}/pullRequests/{pull_request}`. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRSecureSourceManager_PullRequest. + * + * Gets a pull request. + * + * @param name Required. Name of the pull request to retrieve. The format is + * `projects/{project}/locations/{location}/repositories/{repository}/pullRequests/{pull_request}`. + * + * @return GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesPullRequestsGet + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Lists pull requests in a repository. + * + * Method: securesourcemanager.projects.locations.repositories.pullRequests.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeSecureSourceManagerCloudPlatform + */ +@interface GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesPullRequestsList : GTLRSecureSourceManagerQuery + +/** + * Optional. Requested page size. Server may return fewer items than requested. + * If unspecified, server will pick an appropriate default. + */ +@property(nonatomic, assign) NSInteger pageSize; + +/** + * Optional. A token identifying a page of results the server should return. + */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** + * Required. The repository in which to list pull requests. Format: + * `projects/{project_number}/locations/{location_id}/repositories/{repository_id}` + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRSecureSourceManager_ListPullRequestsResponse. + * + * Lists pull requests in a repository. + * + * @param parent Required. The repository in which to list pull requests. + * Format: + * `projects/{project_number}/locations/{location_id}/repositories/{repository_id}` + * + * @return GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesPullRequestsList + * + * @note Automatic pagination will be done when @c shouldFetchNextPages is + * enabled. See @c shouldFetchNextPages on @c GTLRService for more + * information. + */ ++ (instancetype)queryWithParent:(NSString *)parent; + +@end + +/** + * Lists a pull request's file diffs. + * + * Method: securesourcemanager.projects.locations.repositories.pullRequests.listFileDiffs + * + * Authorization scope(s): + * @c kGTLRAuthScopeSecureSourceManagerCloudPlatform + */ +@interface GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesPullRequestsListFileDiffs : GTLRSecureSourceManagerQuery + +/** + * Required. The pull request to list file diffs for. Format: + * `projects/{project_number}/locations/{location_id}/repositories/{repository_id}/pullRequests/{pull_request_id}` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Optional. Requested page size. Server may return fewer items than requested. + * If unspecified, server will pick an appropriate default. + */ +@property(nonatomic, assign) NSInteger pageSize; + +/** + * Optional. A token identifying a page of results the server should return. + */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** + * Fetches a @c GTLRSecureSourceManager_ListPullRequestFileDiffsResponse. + * + * Lists a pull request's file diffs. + * + * @param name Required. The pull request to list file diffs for. Format: + * `projects/{project_number}/locations/{location_id}/repositories/{repository_id}/pullRequests/{pull_request_id}` + * + * @return GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesPullRequestsListFileDiffs + * + * @note Automatic pagination will be done when @c shouldFetchNextPages is + * enabled. See @c shouldFetchNextPages on @c GTLRService for more + * information. + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Merges a pull request. + * + * Method: securesourcemanager.projects.locations.repositories.pullRequests.merge + * + * Authorization scope(s): + * @c kGTLRAuthScopeSecureSourceManagerCloudPlatform + */ +@interface GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesPullRequestsMerge : GTLRSecureSourceManagerQuery + +/** + * Required. The pull request to merge. Format: + * `projects/{project_number}/locations/{location_id}/repositories/{repository_id}/pullRequests/{pull_request_id}` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRSecureSourceManager_Operation. + * + * Merges a pull request. + * + * @param object The @c GTLRSecureSourceManager_MergePullRequestRequest to + * include in the query. + * @param name Required. The pull request to merge. Format: + * `projects/{project_number}/locations/{location_id}/repositories/{repository_id}/pullRequests/{pull_request_id}` + * + * @return GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesPullRequestsMerge + */ ++ (instancetype)queryWithObject:(GTLRSecureSourceManager_MergePullRequestRequest *)object + name:(NSString *)name; + +@end + +/** + * Opens a pull request. + * + * Method: securesourcemanager.projects.locations.repositories.pullRequests.open + * + * Authorization scope(s): + * @c kGTLRAuthScopeSecureSourceManagerCloudPlatform + */ +@interface GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesPullRequestsOpen : GTLRSecureSourceManagerQuery + +/** + * Required. The pull request to open. Format: + * `projects/{project_number}/locations/{location_id}/repositories/{repository_id}/pullRequests/{pull_request_id}` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRSecureSourceManager_Operation. + * + * Opens a pull request. + * + * @param object The @c GTLRSecureSourceManager_OpenPullRequestRequest to + * include in the query. + * @param name Required. The pull request to open. Format: + * `projects/{project_number}/locations/{location_id}/repositories/{repository_id}/pullRequests/{pull_request_id}` + * + * @return GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesPullRequestsOpen + */ ++ (instancetype)queryWithObject:(GTLRSecureSourceManager_OpenPullRequestRequest *)object + name:(NSString *)name; + +@end + +/** + * Updates a pull request. + * + * Method: securesourcemanager.projects.locations.repositories.pullRequests.patch + * + * Authorization scope(s): + * @c kGTLRAuthScopeSecureSourceManagerCloudPlatform + */ +@interface GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesPullRequestsPatch : GTLRSecureSourceManagerQuery + +/** + * Output only. A unique identifier for a PullRequest. The number appended at + * the end is generated by the server. Format: + * `projects/{project}/locations/{location}/repositories/{repository}/pullRequests/{pull_request_id}` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Optional. Field mask is used to specify the fields to be overwritten in the + * pull request resource by the update. The fields specified in the update_mask + * are relative to the resource, not the full request. A field will be + * overwritten if it is in the mask. The special value "*" means full + * replacement. + * + * String format is a comma-separated list of fields. + */ +@property(nonatomic, copy, nullable) NSString *updateMask; + +/** + * Fetches a @c GTLRSecureSourceManager_Operation. + * + * Updates a pull request. + * + * @param object The @c GTLRSecureSourceManager_PullRequest to include in the + * query. + * @param name Output only. A unique identifier for a PullRequest. The number + * appended at the end is generated by the server. Format: + * `projects/{project}/locations/{location}/repositories/{repository}/pullRequests/{pull_request_id}` + * + * @return GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesPullRequestsPatch + */ ++ (instancetype)queryWithObject:(GTLRSecureSourceManager_PullRequest *)object + name:(NSString *)name; + +@end + +/** + * Batch creates pull request comments. + * + * Method: securesourcemanager.projects.locations.repositories.pullRequests.pullRequestComments.batchCreate + * + * Authorization scope(s): + * @c kGTLRAuthScopeSecureSourceManagerCloudPlatform + */ +@interface GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesPullRequestsPullRequestCommentsBatchCreate : GTLRSecureSourceManagerQuery + +/** + * Required. The pull request in which to create the pull request comments. + * Format: + * `projects/{project_number}/locations/{location_id}/repositories/{repository_id}/pullRequests/{pull_request_id}` + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRSecureSourceManager_Operation. + * + * Batch creates pull request comments. + * + * @param object The @c + * GTLRSecureSourceManager_BatchCreatePullRequestCommentsRequest to include + * in the query. + * @param parent Required. The pull request in which to create the pull request + * comments. Format: + * `projects/{project_number}/locations/{location_id}/repositories/{repository_id}/pullRequests/{pull_request_id}` + * + * @return GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesPullRequestsPullRequestCommentsBatchCreate + */ ++ (instancetype)queryWithObject:(GTLRSecureSourceManager_BatchCreatePullRequestCommentsRequest *)object + parent:(NSString *)parent; + +@end + +/** + * Creates a pull request comment. + * + * Method: securesourcemanager.projects.locations.repositories.pullRequests.pullRequestComments.create + * + * Authorization scope(s): + * @c kGTLRAuthScopeSecureSourceManagerCloudPlatform + */ +@interface GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesPullRequestsPullRequestCommentsCreate : GTLRSecureSourceManagerQuery + +/** + * Required. The pull request in which to create the pull request comment. + * Format: + * `projects/{project_number}/locations/{location_id}/repositories/{repository_id}/pullRequests/{pull_request_id}` + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRSecureSourceManager_Operation. + * + * Creates a pull request comment. + * + * @param object The @c GTLRSecureSourceManager_PullRequestComment to include + * in the query. + * @param parent Required. The pull request in which to create the pull request + * comment. Format: + * `projects/{project_number}/locations/{location_id}/repositories/{repository_id}/pullRequests/{pull_request_id}` + * + * @return GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesPullRequestsPullRequestCommentsCreate + */ ++ (instancetype)queryWithObject:(GTLRSecureSourceManager_PullRequestComment *)object + parent:(NSString *)parent; + +@end + +/** + * Deletes a pull request comment. + * + * Method: securesourcemanager.projects.locations.repositories.pullRequests.pullRequestComments.delete + * + * Authorization scope(s): + * @c kGTLRAuthScopeSecureSourceManagerCloudPlatform + */ +@interface GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesPullRequestsPullRequestCommentsDelete : GTLRSecureSourceManagerQuery + +/** + * Required. Name of the pull request comment to delete. The format is + * `projects/{project_number}/locations/{location_id}/repositories/{repository_id}/pullRequests/{pull_request_id}/pullRequestComments/{comment_id}`. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRSecureSourceManager_Operation. + * + * Deletes a pull request comment. + * + * @param name Required. Name of the pull request comment to delete. The format + * is + * `projects/{project_number}/locations/{location_id}/repositories/{repository_id}/pullRequests/{pull_request_id}/pullRequestComments/{comment_id}`. + * + * @return GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesPullRequestsPullRequestCommentsDelete + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Gets a pull request comment. + * + * Method: securesourcemanager.projects.locations.repositories.pullRequests.pullRequestComments.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeSecureSourceManagerCloudPlatform + */ +@interface GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesPullRequestsPullRequestCommentsGet : GTLRSecureSourceManagerQuery + +/** + * Required. Name of the pull request comment to retrieve. The format is + * `projects/{project_number}/locations/{location_id}/repositories/{repository_id}/pullRequests/{pull_request_id}/pullRequestComments/{comment_id}`. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRSecureSourceManager_PullRequestComment. + * + * Gets a pull request comment. + * + * @param name Required. Name of the pull request comment to retrieve. The + * format is + * `projects/{project_number}/locations/{location_id}/repositories/{repository_id}/pullRequests/{pull_request_id}/pullRequestComments/{comment_id}`. + * + * @return GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesPullRequestsPullRequestCommentsGet + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Lists pull request comments. + * + * Method: securesourcemanager.projects.locations.repositories.pullRequests.pullRequestComments.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeSecureSourceManagerCloudPlatform + */ +@interface GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesPullRequestsPullRequestCommentsList : GTLRSecureSourceManagerQuery + +/** + * Optional. Requested page size. If unspecified, at most 100 pull request + * comments will be returned. The maximum value is 100; values above 100 will + * be coerced to 100. + */ +@property(nonatomic, assign) NSInteger pageSize; + +/** + * Optional. A token identifying a page of results the server should return. + */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** + * Required. The pull request in which to list pull request comments. Format: + * `projects/{project_number}/locations/{location_id}/repositories/{repository_id}/pullRequests/{pull_request_id}` + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRSecureSourceManager_ListPullRequestCommentsResponse. + * + * Lists pull request comments. + * + * @param parent Required. The pull request in which to list pull request + * comments. Format: + * `projects/{project_number}/locations/{location_id}/repositories/{repository_id}/pullRequests/{pull_request_id}` + * + * @return GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesPullRequestsPullRequestCommentsList + * + * @note Automatic pagination will be done when @c shouldFetchNextPages is + * enabled. See @c shouldFetchNextPages on @c GTLRService for more + * information. + */ ++ (instancetype)queryWithParent:(NSString *)parent; + +@end + +/** + * Updates a pull request comment. + * + * Method: securesourcemanager.projects.locations.repositories.pullRequests.pullRequestComments.patch + * + * Authorization scope(s): + * @c kGTLRAuthScopeSecureSourceManagerCloudPlatform + */ +@interface GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesPullRequestsPullRequestCommentsPatch : GTLRSecureSourceManagerQuery + +/** + * Identifier. Unique identifier for the pull request comment. The comment id + * is generated by the server. Format: + * `projects/{project}/locations/{location}/repositories/{repository}/pullRequests/{pull_request}/pullRequestComments/{comment_id}` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Optional. Field mask is used to specify the fields to be overwritten in the + * pull request comment resource by the update. Updatable fields are `body`. + * + * String format is a comma-separated list of fields. + */ +@property(nonatomic, copy, nullable) NSString *updateMask; + +/** + * Fetches a @c GTLRSecureSourceManager_Operation. + * + * Updates a pull request comment. + * + * @param object The @c GTLRSecureSourceManager_PullRequestComment to include + * in the query. + * @param name Identifier. Unique identifier for the pull request comment. The + * comment id is generated by the server. Format: + * `projects/{project}/locations/{location}/repositories/{repository}/pullRequests/{pull_request}/pullRequestComments/{comment_id}` + * + * @return GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesPullRequestsPullRequestCommentsPatch + */ ++ (instancetype)queryWithObject:(GTLRSecureSourceManager_PullRequestComment *)object + name:(NSString *)name; + +@end + +/** + * Resolves pull request comments. + * + * Method: securesourcemanager.projects.locations.repositories.pullRequests.pullRequestComments.resolve + * + * Authorization scope(s): + * @c kGTLRAuthScopeSecureSourceManagerCloudPlatform + */ +@interface GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesPullRequestsPullRequestCommentsResolve : GTLRSecureSourceManagerQuery + +/** + * Required. The pull request in which to resolve the pull request comments. + * Format: + * `projects/{project_number}/locations/{location_id}/repositories/{repository_id}/pullRequests/{pull_request_id}` + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRSecureSourceManager_Operation. + * + * Resolves pull request comments. + * + * @param object The @c + * GTLRSecureSourceManager_ResolvePullRequestCommentsRequest to include in + * the query. + * @param parent Required. The pull request in which to resolve the pull + * request comments. Format: + * `projects/{project_number}/locations/{location_id}/repositories/{repository_id}/pullRequests/{pull_request_id}` + * + * @return GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesPullRequestsPullRequestCommentsResolve + */ ++ (instancetype)queryWithObject:(GTLRSecureSourceManager_ResolvePullRequestCommentsRequest *)object + parent:(NSString *)parent; + +@end + +/** + * Unresolves pull request comment. + * + * Method: securesourcemanager.projects.locations.repositories.pullRequests.pullRequestComments.unresolve + * + * Authorization scope(s): + * @c kGTLRAuthScopeSecureSourceManagerCloudPlatform + */ +@interface GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesPullRequestsPullRequestCommentsUnresolve : GTLRSecureSourceManagerQuery + +/** + * Required. The pull request in which to resolve the pull request comments. + * Format: + * `projects/{project_number}/locations/{location_id}/repositories/{repository_id}/pullRequests/{pull_request_id}` + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRSecureSourceManager_Operation. + * + * Unresolves pull request comment. + * + * @param object The @c + * GTLRSecureSourceManager_UnresolvePullRequestCommentsRequest to include in + * the query. + * @param parent Required. The pull request in which to resolve the pull + * request comments. Format: + * `projects/{project_number}/locations/{location_id}/repositories/{repository_id}/pullRequests/{pull_request_id}` + * + * @return GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesPullRequestsPullRequestCommentsUnresolve + */ ++ (instancetype)queryWithObject:(GTLRSecureSourceManager_UnresolvePullRequestCommentsRequest *)object + parent:(NSString *)parent; + +@end + +/** + * Set IAM policy on a repository. + * + * Method: securesourcemanager.projects.locations.repositories.setIamPolicy + * + * Authorization scope(s): + * @c kGTLRAuthScopeSecureSourceManagerCloudPlatform + */ +@interface GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesSetIamPolicy : GTLRSecureSourceManagerQuery + +/** + * REQUIRED: The resource for which the policy is being specified. See + * [Resource names](https://cloud.google.com/apis/design/resource_names) for + * the appropriate value for this field. + */ +@property(nonatomic, copy, nullable) NSString *resource; + +/** + * Fetches a @c GTLRSecureSourceManager_Policy. + * + * Set IAM policy on a repository. + * + * @param object The @c GTLRSecureSourceManager_SetIamPolicyRequest to include + * in the query. + * @param resource REQUIRED: The resource for which the policy is being + * specified. See [Resource + * names](https://cloud.google.com/apis/design/resource_names) for the + * appropriate value for this field. + * + * @return GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesSetIamPolicy + */ ++ (instancetype)queryWithObject:(GTLRSecureSourceManager_SetIamPolicyRequest *)object + resource:(NSString *)resource; + +@end + +/** + * Test IAM permissions on a repository. IAM permission checks are not required + * on this method. + * + * Method: securesourcemanager.projects.locations.repositories.testIamPermissions + * + * Authorization scope(s): + * @c kGTLRAuthScopeSecureSourceManagerCloudPlatform + */ +@interface GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesTestIamPermissions : GTLRSecureSourceManagerQuery + +/** + * REQUIRED: The resource for which the policy detail is being requested. See + * [Resource names](https://cloud.google.com/apis/design/resource_names) for + * the appropriate value for this field. + */ +@property(nonatomic, copy, nullable) NSString *resource; + +/** + * Fetches a @c GTLRSecureSourceManager_TestIamPermissionsResponse. + * + * Test IAM permissions on a repository. IAM permission checks are not required + * on this method. + * + * @param object The @c GTLRSecureSourceManager_TestIamPermissionsRequest to + * include in the query. + * @param resource REQUIRED: The resource for which the policy detail is being + * requested. See [Resource + * names](https://cloud.google.com/apis/design/resource_names) for the + * appropriate value for this field. + * + * @return GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesTestIamPermissions + */ ++ (instancetype)queryWithObject:(GTLRSecureSourceManager_TestIamPermissionsRequest *)object + resource:(NSString *)resource; + +@end + +NS_ASSUME_NONNULL_END + +#pragma clang diagnostic pop diff --git a/Sources/GeneratedServices/SecureSourceManager/Public/GoogleAPIClientForREST/GTLRSecureSourceManagerService.h b/Sources/GeneratedServices/SecureSourceManager/Public/GoogleAPIClientForREST/GTLRSecureSourceManagerService.h new file mode 100644 index 000000000..d7f28921f --- /dev/null +++ b/Sources/GeneratedServices/SecureSourceManager/Public/GoogleAPIClientForREST/GTLRSecureSourceManagerService.h @@ -0,0 +1,75 @@ +// NOTE: This file was generated by the ServiceGenerator. + +// ---------------------------------------------------------------------------- +// API: +// Secure Source Manager API (securesourcemanager/v1) +// Description: +// Regionally deployed, single-tenant managed source code repository hosted on +// Google Cloud. +// Documentation: +// https://cloud.google.com/secure-source-manager + +#import + +#if GTLR_RUNTIME_VERSION != 3000 +#error This file was generated by a different version of ServiceGenerator which is incompatible with this GTLR library source. +#endif + +// Generated comments include content from the discovery document; avoid them +// causing warnings since clang's checks are some what arbitrary. +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wdocumentation" + +NS_ASSUME_NONNULL_BEGIN + +// ---------------------------------------------------------------------------- +// Authorization scope + +/** + * Authorization scope: See, edit, configure, and delete your Google Cloud data + * and see the email address for your Google Account. + * + * Value "https://www.googleapis.com/auth/cloud-platform" + */ +FOUNDATION_EXTERN NSString * const kGTLRAuthScopeSecureSourceManagerCloudPlatform; + +// ---------------------------------------------------------------------------- +// GTLRSecureSourceManagerService +// + +/** + * Service for executing Secure Source Manager API queries. + * + * Regionally deployed, single-tenant managed source code repository hosted on + * Google Cloud. + */ +@interface GTLRSecureSourceManagerService : GTLRService + +// No new methods + +// Clients should create a standard query with any of the class methods in +// GTLRSecureSourceManagerQuery.h. The query can the be sent with GTLRService's +// execute methods, +// +// - (GTLRServiceTicket *)executeQuery:(GTLRQuery *)query +// completionHandler:(void (^)(GTLRServiceTicket *ticket, +// id object, NSError *error))handler; +// or +// - (GTLRServiceTicket *)executeQuery:(GTLRQuery *)query +// delegate:(id)delegate +// didFinishSelector:(SEL)finishedSelector; +// +// where finishedSelector has a signature of: +// +// - (void)serviceTicket:(GTLRServiceTicket *)ticket +// finishedWithObject:(id)object +// error:(NSError *)error; +// +// The object passed to the completion handler or delegate method +// is a subclass of GTLRObject, determined by the query method executed. + +@end + +NS_ASSUME_NONNULL_END + +#pragma clang diagnostic pop diff --git a/Sources/GeneratedServices/SecurityCommandCenter/GTLRSecurityCommandCenterObjects.m b/Sources/GeneratedServices/SecurityCommandCenter/GTLRSecurityCommandCenterObjects.m index de6d815c5..627c8d2c9 100644 --- a/Sources/GeneratedServices/SecurityCommandCenter/GTLRSecurityCommandCenterObjects.m +++ b/Sources/GeneratedServices/SecurityCommandCenter/GTLRSecurityCommandCenterObjects.m @@ -3209,8 +3209,8 @@ @implementation GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2BackupDisas // @implementation GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2BigQueryExport -@dynamic createTime, dataset, descriptionProperty, filter, mostRecentEditor, - name, principal, updateTime; +@dynamic createTime, cryptoKeyName, dataset, descriptionProperty, filter, + mostRecentEditor, name, principal, updateTime; + (NSDictionary *)propertyToJSONKeyMap { return @{ @"descriptionProperty" : @"description" }; @@ -3698,7 +3698,7 @@ @implementation GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2Finding backupDisasterRecovery, canonicalName, category, chokepoint, cloudArmor, cloudDlpDataProfile, cloudDlpInspection, complianceDetails, compliances, connections, contacts, containers, createTime, - dataAccessEvents, database, dataFlowEvents, + cryptoKeyName, dataAccessEvents, database, dataFlowEvents, dataRetentionDeletionEvents, descriptionProperty, disk, eventTime, exfiltration, externalSystems, externalUri, files, findingClass, groupMemberships, iamBindings, indicator, ipRules, job, kernelRootkit, @@ -4206,8 +4206,8 @@ @implementation GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack // @implementation GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MuteConfig -@dynamic createTime, descriptionProperty, expiryTime, filter, mostRecentEditor, - name, type, updateTime; +@dynamic createTime, cryptoKeyName, descriptionProperty, expiryTime, filter, + mostRecentEditor, name, type, updateTime; + (NSDictionary *)propertyToJSONKeyMap { return @{ @"descriptionProperty" : @"description" }; diff --git a/Sources/GeneratedServices/SecurityCommandCenter/Public/GoogleAPIClientForREST/GTLRSecurityCommandCenterObjects.h b/Sources/GeneratedServices/SecurityCommandCenter/Public/GoogleAPIClientForREST/GTLRSecurityCommandCenterObjects.h index b1cf94e36..33a4169ff 100644 --- a/Sources/GeneratedServices/SecurityCommandCenter/Public/GoogleAPIClientForREST/GTLRSecurityCommandCenterObjects.h +++ b/Sources/GeneratedServices/SecurityCommandCenter/Public/GoogleAPIClientForREST/GTLRSecurityCommandCenterObjects.h @@ -12227,6 +12227,13 @@ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_VulnerabilitySnaps */ @property(nonatomic, strong, nullable) GTLRDateTime *createTime; +/** + * Output only. The resource name of the Cloud KMS `CryptoKey` used to protect + * this configuration's data, if configured during Security Command Center + * activation. + */ +@property(nonatomic, copy, nullable) NSString *cryptoKeyName; + /** * The dataset to write findings' updates to. Its format is * "projects/[project_id]/datasets/[bigquery_dataset_id]". BigQuery dataset @@ -13565,6 +13572,12 @@ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_VulnerabilitySnaps */ @property(nonatomic, strong, nullable) GTLRDateTime *createTime; +/** + * Output only. The name of the Cloud KMS key used to encrypt this finding, if + * any. + */ +@property(nonatomic, copy, nullable) NSString *cryptoKeyName; + /** Data access events associated with the finding. */ @property(nonatomic, strong, nullable) NSArray *dataAccessEvents; @@ -14862,6 +14875,13 @@ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_VulnerabilitySnaps */ @property(nonatomic, strong, nullable) GTLRDateTime *createTime; +/** + * Output only. The resource name of the Cloud KMS `CryptoKey` used to encrypt + * this configuration data, if CMEK was enabled during Security Command Center + * activation. + */ +@property(nonatomic, copy, nullable) NSString *cryptoKeyName; + /** * A description of the mute config. * diff --git a/Sources/GeneratedServices/SecurityPosture/Public/GoogleAPIClientForREST/GTLRSecurityPostureObjects.h b/Sources/GeneratedServices/SecurityPosture/Public/GoogleAPIClientForREST/GTLRSecurityPostureObjects.h index 889c14ae5..d62bfb0a6 100644 --- a/Sources/GeneratedServices/SecurityPosture/Public/GoogleAPIClientForREST/GTLRSecurityPostureObjects.h +++ b/Sources/GeneratedServices/SecurityPosture/Public/GoogleAPIClientForREST/GTLRSecurityPostureObjects.h @@ -826,8 +826,8 @@ FOUNDATION_EXTERN NSString * const kGTLRSecurityPosture_Violation_Severity_Sever /** * Optional. Required for managed constraints if parameters are defined. Passes * parameter values when policy enforcement is enabled. Ensure that parameter - * value types match those defined in the constraint definition. For example: { - * "allowedLocations" : ["us-east1", "us-west1"], "allowAll" : true } + * value types match those defined in the constraint definition. For example: + * ``` { "allowedLocations": ["us-east1", "us-west1"], "allowAll": true } ``` */ @property(nonatomic, strong, nullable) GTLRSecurityPosture_GoogleCloudSecuritypostureV1PolicyRule_Parameters *parameters; @@ -849,8 +849,8 @@ FOUNDATION_EXTERN NSString * const kGTLRSecurityPosture_Violation_Severity_Sever /** * Optional. Required for managed constraints if parameters are defined. Passes * parameter values when policy enforcement is enabled. Ensure that parameter - * value types match those defined in the constraint definition. For example: { - * "allowedLocations" : ["us-east1", "us-west1"], "allowAll" : true } + * value types match those defined in the constraint definition. For example: + * ``` { "allowedLocations": ["us-east1", "us-west1"], "allowAll": true } ``` * * @note This class is documented as having more properties of any valid JSON * type. Use @c -additionalJSONKeys and @c -additionalPropertyForName: to @@ -1797,19 +1797,15 @@ FOUNDATION_EXTERN NSString * const kGTLRSecurityPosture_Violation_Severity_Sever /** - * Set multiple resource types for one policy, for example: resourceTypes: + * Set multiple resource types for one policy, for example: ``` resourceTypes: * included: - compute.googleapis.com/Instance - compute.googleapis.com/Disk - * Constraint definition contains an empty resource type in order to support - * multiple resource types in the policy. Only supports managed constraints. - * Method type is `GOVERN_TAGS`. Refer go/multi-resource-support-force-tags-gmc - * to get more details. + * ``` Constraint definition contains an empty resource type in order to + * support multiple resource types in the policy. Only supports managed + * constraints. Method type is `GOVERN_TAGS`. */ @interface GTLRSecurityPosture_ResourceTypes : GTLRObject -/** - * Optional. The resource types we currently support. - * cloud/orgpolicy/customconstraintconfig/prod/resource_types.prototext - */ +/** Optional. The resource types we currently support. */ @property(nonatomic, strong, nullable) NSArray *included; @end diff --git a/Sources/GeneratedServices/SecurityPosture/Public/GoogleAPIClientForREST/GTLRSecurityPostureQuery.h b/Sources/GeneratedServices/SecurityPosture/Public/GoogleAPIClientForREST/GTLRSecurityPostureQuery.h index 6926f79cf..1538dce19 100644 --- a/Sources/GeneratedServices/SecurityPosture/Public/GoogleAPIClientForREST/GTLRSecurityPostureQuery.h +++ b/Sources/GeneratedServices/SecurityPosture/Public/GoogleAPIClientForREST/GTLRSecurityPostureQuery.h @@ -963,8 +963,8 @@ NS_ASSUME_NONNULL_BEGIN @interface GTLRSecurityPostureQuery_ProjectsLocationsList : GTLRSecurityPostureQuery /** - * Optional. A list of extra location types that should be used as conditions - * for controlling the visibility of the locations. + * Optional. Do not use this field. It is unsupported and is ignored unless + * explicitly documented otherwise. This is primarily for internal usage. */ @property(nonatomic, strong, nullable) NSArray *extraLocationTypes; diff --git a/Sources/GeneratedServices/Solar/Public/GoogleAPIClientForREST/GTLRSolarObjects.h b/Sources/GeneratedServices/Solar/Public/GoogleAPIClientForREST/GTLRSolarObjects.h index 945a5c7eb..030c71521 100644 --- a/Sources/GeneratedServices/Solar/Public/GoogleAPIClientForREST/GTLRSolarObjects.h +++ b/Sources/GeneratedServices/Solar/Public/GoogleAPIClientForREST/GTLRSolarObjects.h @@ -47,10 +47,7 @@ NS_ASSUME_NONNULL_BEGIN /** * Solar data is derived from enhanced satellite imagery processed at 0.25 - * m/pixel. **Note:** This enum is only available if - * `experiments=EXPANDED_COVERAGE` is set in the request. For more information, - * see [Expanded - * Coverage](https://developers.google.com/maps/documentation/solar/expanded-coverage). + * m/pixel. * * Value: "BASE" */ @@ -88,10 +85,7 @@ FOUNDATION_EXTERN NSString * const kGTLRSolar_BuildingInsights_ImageryQuality_Me /** * Solar data is derived from enhanced satellite imagery processed at 0.25 - * m/pixel. **Note:** This enum is only available if - * `experiments=EXPANDED_COVERAGE` is set in the request. For more information, - * see [Expanded - * Coverage](https://developers.google.com/maps/documentation/solar/expanded-coverage). + * m/pixel. * * Value: "BASE" */ @@ -178,10 +172,6 @@ FOUNDATION_EXTERN NSString * const kGTLRSolar_Panel_Orientation_SolarPanelOrient * Likely values: * @arg @c kGTLRSolar_BuildingInsights_ImageryQuality_Base Solar data is * derived from enhanced satellite imagery processed at 0.25 m/pixel. - * **Note:** This enum is only available if - * `experiments=EXPANDED_COVERAGE` is set in the request. For more - * information, see [Expanded - * Coverage](https://developers.google.com/maps/documentation/solar/expanded-coverage). * (Value: "BASE") * @arg @c kGTLRSolar_BuildingInsights_ImageryQuality_High Solar data is * derived from aerial imagery captured at low-altitude and processed at @@ -322,11 +312,8 @@ FOUNDATION_EXTERN NSString * const kGTLRSolar_Panel_Orientation_SolarPanelOrient * * Likely values: * @arg @c kGTLRSolar_DataLayers_ImageryQuality_Base Solar data is derived - * from enhanced satellite imagery processed at 0.25 m/pixel. **Note:** - * This enum is only available if `experiments=EXPANDED_COVERAGE` is set - * in the request. For more information, see [Expanded - * Coverage](https://developers.google.com/maps/documentation/solar/expanded-coverage). - * (Value: "BASE") + * from enhanced satellite imagery processed at 0.25 m/pixel. (Value: + * "BASE") * @arg @c kGTLRSolar_DataLayers_ImageryQuality_High Solar data is derived * from aerial imagery captured at low-altitude and processed at 0.1 * m/pixel. (Value: "HIGH") diff --git a/Sources/GeneratedServices/Solar/Public/GoogleAPIClientForREST/GTLRSolarQuery.h b/Sources/GeneratedServices/Solar/Public/GoogleAPIClientForREST/GTLRSolarQuery.h index d4744f4f2..bf2369469 100644 --- a/Sources/GeneratedServices/Solar/Public/GoogleAPIClientForREST/GTLRSolarQuery.h +++ b/Sources/GeneratedServices/Solar/Public/GoogleAPIClientForREST/GTLRSolarQuery.h @@ -47,10 +47,7 @@ FOUNDATION_EXTERN NSString * const kGTLRSolarExperimentsExperimentUnspecified; /** * Solar data is derived from enhanced satellite imagery processed at 0.25 - * m/pixel. **Note:** This enum is only available if - * `experiments=EXPANDED_COVERAGE` is set in the request. For more information, - * see [Expanded - * Coverage](https://developers.google.com/maps/documentation/solar/expanded-coverage). + * m/pixel. * * Value: "BASE" */ @@ -186,11 +183,7 @@ FOUNDATION_EXTERN NSString * const kGTLRSolarViewImageryLayers; * @arg @c kGTLRSolarRequiredQualityLow Solar data is derived from enhanced * satellite imagery processed at 0.25 m/pixel. (Value: "LOW") * @arg @c kGTLRSolarRequiredQualityBase Solar data is derived from enhanced - * satellite imagery processed at 0.25 m/pixel. **Note:** This enum is - * only available if `experiments=EXPANDED_COVERAGE` is set in the - * request. For more information, see [Expanded - * Coverage](https://developers.google.com/maps/documentation/solar/expanded-coverage). - * (Value: "BASE") + * satellite imagery processed at 0.25 m/pixel. (Value: "BASE") */ @property(nonatomic, copy, nullable) NSString *requiredQuality; @@ -286,11 +279,7 @@ FOUNDATION_EXTERN NSString * const kGTLRSolarViewImageryLayers; * @arg @c kGTLRSolarRequiredQualityLow Solar data is derived from enhanced * satellite imagery processed at 0.25 m/pixel. (Value: "LOW") * @arg @c kGTLRSolarRequiredQualityBase Solar data is derived from enhanced - * satellite imagery processed at 0.25 m/pixel. **Note:** This enum is - * only available if `experiments=EXPANDED_COVERAGE` is set in the - * request. For more information, see [Expanded - * Coverage](https://developers.google.com/maps/documentation/solar/expanded-coverage). - * (Value: "BASE") + * satellite imagery processed at 0.25 m/pixel. (Value: "BASE") */ @property(nonatomic, copy, nullable) NSString *requiredQuality; diff --git a/Sources/GeneratedServices/Storage/GTLRStorageObjects.m b/Sources/GeneratedServices/Storage/GTLRStorageObjects.m index 12eba5502..c218dbe82 100644 --- a/Sources/GeneratedServices/Storage/GTLRStorageObjects.m +++ b/Sources/GeneratedServices/Storage/GTLRStorageObjects.m @@ -560,8 +560,8 @@ @implementation GTLRStorage_BucketStorageLayout_HierarchicalNamespace // @implementation GTLRStorage_BulkRestoreObjectsRequest -@dynamic allowOverwrite, copySourceAcl, matchGlobs, softDeletedAfterTime, - softDeletedBeforeTime; +@dynamic allowOverwrite, copySourceAcl, createdAfterTime, createdBeforeTime, + matchGlobs, softDeletedAfterTime, softDeletedBeforeTime; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ diff --git a/Sources/GeneratedServices/Storage/Public/GoogleAPIClientForREST/GTLRStorageObjects.h b/Sources/GeneratedServices/Storage/Public/GoogleAPIClientForREST/GTLRStorageObjects.h index 8b73a891b..78f694786 100644 --- a/Sources/GeneratedServices/Storage/Public/GoogleAPIClientForREST/GTLRStorageObjects.h +++ b/Sources/GeneratedServices/Storage/Public/GoogleAPIClientForREST/GTLRStorageObjects.h @@ -1381,6 +1381,12 @@ FOUNDATION_EXTERN NSString * const kGTLRStorage_Bucket_Encryption_GoogleManagedE */ @property(nonatomic, strong, nullable) NSNumber *copySourceAcl NS_RETURNS_NOT_RETAINED; +/** Restores only the objects that were created after this time. */ +@property(nonatomic, strong, nullable) GTLRDateTime *createdAfterTime; + +/** Restores only the objects that were created before this time. */ +@property(nonatomic, strong, nullable) GTLRDateTime *createdBeforeTime; + /** * Restores only the objects matching any of the specified glob(s). If this * parameter is not specified, all objects will be restored within the diff --git a/Sources/GeneratedServices/StorageBatchOperations/Public/GoogleAPIClientForREST/GTLRStorageBatchOperationsQuery.h b/Sources/GeneratedServices/StorageBatchOperations/Public/GoogleAPIClientForREST/GTLRStorageBatchOperationsQuery.h index e2bfe98da..ce9f4c339 100644 --- a/Sources/GeneratedServices/StorageBatchOperations/Public/GoogleAPIClientForREST/GTLRStorageBatchOperationsQuery.h +++ b/Sources/GeneratedServices/StorageBatchOperations/Public/GoogleAPIClientForREST/GTLRStorageBatchOperationsQuery.h @@ -256,8 +256,8 @@ NS_ASSUME_NONNULL_BEGIN @interface GTLRStorageBatchOperationsQuery_ProjectsLocationsList : GTLRStorageBatchOperationsQuery /** - * Optional. A list of extra location types that should be used as conditions - * for controlling the visibility of the locations. + * Optional. Do not use this field. It is unsupported and is ignored unless + * explicitly documented otherwise. This is primarily for internal usage. */ @property(nonatomic, strong, nullable) NSArray *extraLocationTypes; diff --git a/Sources/GeneratedServices/StorageTransfer/Public/GoogleAPIClientForREST/GTLRStorageTransferObjects.h b/Sources/GeneratedServices/StorageTransfer/Public/GoogleAPIClientForREST/GTLRStorageTransferObjects.h index c38e47993..eff72cbd0 100644 --- a/Sources/GeneratedServices/StorageTransfer/Public/GoogleAPIClientForREST/GTLRStorageTransferObjects.h +++ b/Sources/GeneratedServices/StorageTransfer/Public/GoogleAPIClientForREST/GTLRStorageTransferObjects.h @@ -1119,12 +1119,12 @@ FOUNDATION_EXTERN NSString * const kGTLRStorageTransfer_TransferOptions_Overwrit */ @interface GTLRStorageTransfer_ErrorLogEntry : GTLRObject -/** A list of messages that carry the error details. */ +/** Optional. A list of messages that carry the error details. */ @property(nonatomic, strong, nullable) NSArray *errorDetails; /** - * Required. A URL that refers to the target (a data source, a data sink, or an - * object) with which the error is associated. + * Output only. A URL that refers to the target (a data source, a data sink, or + * an object) with which the error is associated. */ @property(nonatomic, copy, nullable) NSString *url; @@ -2643,19 +2643,19 @@ FOUNDATION_EXTERN NSString * const kGTLRStorageTransfer_TransferOptions_Overwrit */ @interface GTLRStorageTransfer_TransferSpec : GTLRObject -/** An AWS S3 compatible data source. */ +/** Optional. An AWS S3 compatible data source. */ @property(nonatomic, strong, nullable) GTLRStorageTransfer_AwsS3CompatibleData *awsS3CompatibleDataSource; -/** An AWS S3 data source. */ +/** Optional. An AWS S3 data source. */ @property(nonatomic, strong, nullable) GTLRStorageTransfer_AwsS3Data *awsS3DataSource; -/** An Azure Blob Storage data source. */ +/** Optional. An Azure Blob Storage data source. */ @property(nonatomic, strong, nullable) GTLRStorageTransfer_AzureBlobStorageData *azureBlobStorageDataSource; -/** A Cloud Storage data sink. */ +/** Optional. A Cloud Storage data sink. */ @property(nonatomic, strong, nullable) GTLRStorageTransfer_GcsData *gcsDataSink; -/** A Cloud Storage data source. */ +/** Optional. A Cloud Storage data source. */ @property(nonatomic, strong, nullable) GTLRStorageTransfer_GcsData *gcsDataSource; /** @@ -2667,10 +2667,10 @@ FOUNDATION_EXTERN NSString * const kGTLRStorageTransfer_TransferOptions_Overwrit */ @property(nonatomic, strong, nullable) GTLRStorageTransfer_GcsData *gcsIntermediateDataLocation; -/** An HDFS cluster data source. */ +/** Optional. An HDFS cluster data source. */ @property(nonatomic, strong, nullable) GTLRStorageTransfer_HdfsData *hdfsDataSource; -/** An HTTP URL data source. */ +/** Optional. An HTTP URL data source. */ @property(nonatomic, strong, nullable) GTLRStorageTransfer_HttpData *httpDataSource; /** @@ -2680,10 +2680,10 @@ FOUNDATION_EXTERN NSString * const kGTLRStorageTransfer_TransferOptions_Overwrit */ @property(nonatomic, strong, nullable) GTLRStorageTransfer_ObjectConditions *objectConditions; -/** A POSIX Filesystem data sink. */ +/** Optional. A POSIX Filesystem data sink. */ @property(nonatomic, strong, nullable) GTLRStorageTransfer_PosixFilesystem *posixDataSink; -/** A POSIX Filesystem data source. */ +/** Optional. A POSIX Filesystem data source. */ @property(nonatomic, strong, nullable) GTLRStorageTransfer_PosixFilesystem *posixDataSource; /** diff --git a/Sources/GeneratedServices/Texttospeech/GTLRTexttospeechObjects.m b/Sources/GeneratedServices/Texttospeech/GTLRTexttospeechObjects.m index e517657bf..0da65a325 100644 --- a/Sources/GeneratedServices/Texttospeech/GTLRTexttospeechObjects.m +++ b/Sources/GeneratedServices/Texttospeech/GTLRTexttospeechObjects.m @@ -365,5 +365,5 @@ @implementation GTLRTexttospeech_VoiceCloneParams // @implementation GTLRTexttospeech_VoiceSelectionParams -@dynamic customVoice, languageCode, name, ssmlGender, voiceClone; +@dynamic customVoice, languageCode, modelName, name, ssmlGender, voiceClone; @end diff --git a/Sources/GeneratedServices/Texttospeech/Public/GoogleAPIClientForREST/GTLRTexttospeechObjects.h b/Sources/GeneratedServices/Texttospeech/Public/GoogleAPIClientForREST/GTLRTexttospeechObjects.h index e769f45a0..4a207a814 100644 --- a/Sources/GeneratedServices/Texttospeech/Public/GoogleAPIClientForREST/GTLRTexttospeechObjects.h +++ b/Sources/GeneratedServices/Texttospeech/Public/GoogleAPIClientForREST/GTLRTexttospeechObjects.h @@ -877,6 +877,12 @@ FOUNDATION_EXTERN NSString * const kGTLRTexttospeech_VoiceSelectionParams_SsmlGe */ @property(nonatomic, copy, nullable) NSString *languageCode; +/** + * Optional. The name of the model. If set, the service will choose the model + * matching the specified configuration. + */ +@property(nonatomic, copy, nullable) NSString *modelName; + /** * The name of the voice. If both the name and the gender are not set, the * service will choose a voice based on the other parameters such as diff --git a/Sources/GeneratedServices/VMwareEngine/GTLRVMwareEngineObjects.m b/Sources/GeneratedServices/VMwareEngine/GTLRVMwareEngineObjects.m index 03ea2764d..107d8bfa6 100644 --- a/Sources/GeneratedServices/VMwareEngine/GTLRVMwareEngineObjects.m +++ b/Sources/GeneratedServices/VMwareEngine/GTLRVMwareEngineObjects.m @@ -300,6 +300,21 @@ NSString * const kGTLRVMwareEngine_WeeklyTimeInterval_StartDay_Tuesday = @"TUESDAY"; NSString * const kGTLRVMwareEngine_WeeklyTimeInterval_StartDay_Wednesday = @"WEDNESDAY"; +// ---------------------------------------------------------------------------- +// +// GTLRVMwareEngine_AcceleratePrivateCloudDeletionRequest +// + +@implementation GTLRVMwareEngine_AcceleratePrivateCloudDeletionRequest +@dynamic ETag, requestId; + ++ (NSDictionary *)propertyToJSONKeyMap { + return @{ @"ETag" : @"etag" }; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRVMwareEngine_Announcement diff --git a/Sources/GeneratedServices/VMwareEngine/GTLRVMwareEngineQuery.m b/Sources/GeneratedServices/VMwareEngine/GTLRVMwareEngineQuery.m index 77d4b52ad..73b998732 100644 --- a/Sources/GeneratedServices/VMwareEngine/GTLRVMwareEngineQuery.m +++ b/Sources/GeneratedServices/VMwareEngine/GTLRVMwareEngineQuery.m @@ -1520,6 +1520,33 @@ + (instancetype)queryWithObject:(GTLRVMwareEngine_PrivateCloud *)object @end +@implementation GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsPrivateCloudDeletionNow + +@dynamic name; + ++ (instancetype)queryWithObject:(GTLRVMwareEngine_AcceleratePrivateCloudDeletionRequest *)object + name:(NSString *)name { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}:privateCloudDeletionNow"; + GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsPrivateCloudDeletionNow *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.name = name; + query.expectedObjectClass = [GTLRVMwareEngine_Operation class]; + query.loggingName = @"vmwareengine.projects.locations.privateClouds.privateCloudDeletionNow"; + return query; +} + +@end + @implementation GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsResetNsxCredentials @dynamic privateCloud; diff --git a/Sources/GeneratedServices/VMwareEngine/Public/GoogleAPIClientForREST/GTLRVMwareEngineObjects.h b/Sources/GeneratedServices/VMwareEngine/Public/GoogleAPIClientForREST/GTLRVMwareEngineObjects.h index 133e8d5f9..1d8ce546c 100644 --- a/Sources/GeneratedServices/VMwareEngine/Public/GoogleAPIClientForREST/GTLRVMwareEngineObjects.h +++ b/Sources/GeneratedServices/VMwareEngine/Public/GoogleAPIClientForREST/GTLRVMwareEngineObjects.h @@ -1508,6 +1508,28 @@ FOUNDATION_EXTERN NSString * const kGTLRVMwareEngine_WeeklyTimeInterval_StartDay */ FOUNDATION_EXTERN NSString * const kGTLRVMwareEngine_WeeklyTimeInterval_StartDay_Wednesday; +/** + * Request message for VmwareEngine.AcceleratePrivateCloudDeletion + */ +@interface GTLRVMwareEngine_AcceleratePrivateCloudDeletionRequest : GTLRObject + +/** + * Optional. Checksum used to ensure that the user-provided value is up to date + * before the server processes the request. The server compares provided + * checksum with the current checksum of the resource. If the user-provided + * value is out of date, this request returns an `ABORTED` error. + */ +@property(nonatomic, copy, nullable) NSString *ETag; + +/** + * Optional. The request ID must be a valid UUID with the exception that zero + * UUID is not supported (00000000-0000-0000-0000-000000000000). + */ +@property(nonatomic, copy, nullable) NSString *requestId; + +@end + + /** * Announcement for the resources of Vmware Engine. */ diff --git a/Sources/GeneratedServices/VMwareEngine/Public/GoogleAPIClientForREST/GTLRVMwareEngineQuery.h b/Sources/GeneratedServices/VMwareEngine/Public/GoogleAPIClientForREST/GTLRVMwareEngineQuery.h index 78496596d..1ff9a00b0 100644 --- a/Sources/GeneratedServices/VMwareEngine/Public/GoogleAPIClientForREST/GTLRVMwareEngineQuery.h +++ b/Sources/GeneratedServices/VMwareEngine/Public/GoogleAPIClientForREST/GTLRVMwareEngineQuery.h @@ -3742,6 +3742,50 @@ NS_ASSUME_NONNULL_BEGIN @end +/** + * Accelerates the deletion of a private cloud that is currently in soft + * deletion A `PrivateCloud` resource in soft deletion has `PrivateCloud.state` + * set to `SOFT_DELETED` and `PrivateCloud.expireTime` set to the time when + * deletion can no longer be reversed. + * + * Method: vmwareengine.projects.locations.privateClouds.privateCloudDeletionNow + * + * Authorization scope(s): + * @c kGTLRAuthScopeVMwareEngineCloudPlatform + */ +@interface GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsPrivateCloudDeletionNow : GTLRVMwareEngineQuery + +/** + * Required. The resource name of the private cloud in softdeletion. Resource + * names are schemeless URIs that follow the conventions in + * https://cloud.google.com/apis/design/resource_names. For example: + * `projects/my-project/locations/us-central1-a/privateClouds/my-cloud` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRVMwareEngine_Operation. + * + * Accelerates the deletion of a private cloud that is currently in soft + * deletion A `PrivateCloud` resource in soft deletion has `PrivateCloud.state` + * set to `SOFT_DELETED` and `PrivateCloud.expireTime` set to the time when + * deletion can no longer be reversed. + * + * @param object The @c GTLRVMwareEngine_AcceleratePrivateCloudDeletionRequest + * to include in the query. + * @param name Required. The resource name of the private cloud in + * softdeletion. Resource names are schemeless URIs that follow the + * conventions in https://cloud.google.com/apis/design/resource_names. For + * example: + * `projects/my-project/locations/us-central1-a/privateClouds/my-cloud` + * + * @return GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsPrivateCloudDeletionNow + */ ++ (instancetype)queryWithObject:(GTLRVMwareEngine_AcceleratePrivateCloudDeletionRequest *)object + name:(NSString *)name; + +@end + /** * Resets credentials of the NSX appliance. * diff --git a/Sources/GeneratedServices/VersionHistory/GTLRVersionHistoryObjects.m b/Sources/GeneratedServices/VersionHistory/GTLRVersionHistoryObjects.m index 2ee24e31d..65345171e 100644 --- a/Sources/GeneratedServices/VersionHistory/GTLRVersionHistoryObjects.m +++ b/Sources/GeneratedServices/VersionHistory/GTLRVersionHistoryObjects.m @@ -167,7 +167,33 @@ @implementation GTLRVersionHistory_Platform // @implementation GTLRVersionHistory_Release -@dynamic fraction, fractionGroup, name, pinnable, serving, version; +@dynamic fraction, fractionGroup, name, pinnable, rolloutData, serving, version; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"rolloutData" : [GTLRVersionHistory_RolloutData class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRVersionHistory_RolloutData +// + +@implementation GTLRVersionHistory_RolloutData +@dynamic rolloutName, tag; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"tag" : [NSString class] + }; + return map; +} + @end diff --git a/Sources/GeneratedServices/VersionHistory/Public/GoogleAPIClientForREST/GTLRVersionHistoryObjects.h b/Sources/GeneratedServices/VersionHistory/Public/GoogleAPIClientForREST/GTLRVersionHistoryObjects.h index a3c7bdb5f..ef08348d6 100644 --- a/Sources/GeneratedServices/VersionHistory/Public/GoogleAPIClientForREST/GTLRVersionHistoryObjects.h +++ b/Sources/GeneratedServices/VersionHistory/Public/GoogleAPIClientForREST/GTLRVersionHistoryObjects.h @@ -18,6 +18,7 @@ @class GTLRVersionHistory_Interval; @class GTLRVersionHistory_Platform; @class GTLRVersionHistory_Release; +@class GTLRVersionHistory_RolloutData; @class GTLRVersionHistory_Version; // Generated comments include content from the discovery document; avoid them @@ -441,6 +442,13 @@ FOUNDATION_EXTERN NSString * const kGTLRVersionHistory_Platform_PlatformType_Win */ @property(nonatomic, strong, nullable) NSNumber *pinnable; +/** + * Rollout-related metadata. Some releases are part of one or more A/B + * rollouts. This field contains the names and data describing this release's + * role in any rollouts. + */ +@property(nonatomic, strong, nullable) NSArray *rolloutData; + /** * Timestamp interval of when the release was live. If end_time is unspecified, * the release is currently live. @@ -453,6 +461,24 @@ FOUNDATION_EXTERN NSString * const kGTLRVersionHistory_Platform_PlatformType_Win @end +/** + * Rollout-related metadata for a release. + */ +@interface GTLRVersionHistory_RolloutData : GTLRObject + +/** The name of the rollout. */ +@property(nonatomic, copy, nullable) NSString *rolloutName; + +/** + * Tags associated with a release's role in a rollout. Most rollouts will have + * at least one release with a "rollout" tag and another release with a + * "control" tag. Some rollouts may have additional named arms. + */ +@property(nonatomic, strong, nullable) NSArray *tag; + +@end + + /** * Each Version is owned by a Channel. A Version only displays the Version * number (e.g. 84.0.4147.38). A Version owns a collection of releases. diff --git a/Sources/GeneratedServices/Vision/Public/GoogleAPIClientForREST/GTLRVisionObjects.h b/Sources/GeneratedServices/Vision/Public/GoogleAPIClientForREST/GTLRVisionObjects.h index fb4588e93..d332689fb 100644 --- a/Sources/GeneratedServices/Vision/Public/GoogleAPIClientForREST/GTLRVisionObjects.h +++ b/Sources/GeneratedServices/Vision/Public/GoogleAPIClientForREST/GTLRVisionObjects.h @@ -5659,8 +5659,7 @@ FOUNDATION_EXTERN NSString * const kGTLRVision_SafeSearchAnnotation_Violence_Ver /** * Model to use for the feature. Supported values: "builtin/stable" (the * default if unset) and "builtin/latest". `DOCUMENT_TEXT_DETECTION` and - * `TEXT_DETECTION` also support "builtin/weekly" for the bleeding edge release - * updated weekly. + * `TEXT_DETECTION` also support "builtin/rc" for the latest release candidate. */ @property(nonatomic, copy, nullable) NSString *model; diff --git a/Sources/GeneratedServices/Walletobjects/GTLRWalletobjectsObjects.m b/Sources/GeneratedServices/Walletobjects/GTLRWalletobjectsObjects.m index a138e57a3..bded1c760 100644 --- a/Sources/GeneratedServices/Walletobjects/GTLRWalletobjectsObjects.m +++ b/Sources/GeneratedServices/Walletobjects/GTLRWalletobjectsObjects.m @@ -1663,7 +1663,7 @@ @implementation GTLRWalletobjects_GroupingInfo // @implementation GTLRWalletobjects_Image -@dynamic contentDescription, kind, sourceUri; +@dynamic contentDescription, kind, privateImageId, sourceUri; + (BOOL)isKindValidForClassRegistry { // This class has a "kind" property that doesn't appear to be usable to @@ -2934,6 +2934,25 @@ @implementation GTLRWalletobjects_UpcomingNotification @end +// ---------------------------------------------------------------------------- +// +// GTLRWalletobjects_UploadPrivateImageRequest +// + +@implementation GTLRWalletobjects_UploadPrivateImageRequest +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRWalletobjects_UploadPrivateImageResponse +// + +@implementation GTLRWalletobjects_UploadPrivateImageResponse +@dynamic privateImageId; +@end + + // ---------------------------------------------------------------------------- // // GTLRWalletobjects_Uri diff --git a/Sources/GeneratedServices/Walletobjects/Public/GoogleAPIClientForREST/GTLRWalletobjectsObjects.h b/Sources/GeneratedServices/Walletobjects/Public/GoogleAPIClientForREST/GTLRWalletobjectsObjects.h index 341b7b87e..a1d5f7666 100644 --- a/Sources/GeneratedServices/Walletobjects/Public/GoogleAPIClientForREST/GTLRWalletobjectsObjects.h +++ b/Sources/GeneratedServices/Walletobjects/Public/GoogleAPIClientForREST/GTLRWalletobjectsObjects.h @@ -6306,7 +6306,17 @@ FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_TransitObject_TripType_Tri */ @property(nonatomic, copy, nullable) NSString *kind GTLR_DEPRECATED; -/** The URI for the image. */ +/** + * An ID for an already uploaded private image. Either this or source_uri + * should be set. Requests setting both or neither will be rejected. Please + * contact support to use private images. + */ +@property(nonatomic, copy, nullable) NSString *privateImageId; + +/** + * A URI for the image. Either this or private_image_id should be set. Requests + * setting both or neither will be rejected. + */ @property(nonatomic, strong, nullable) GTLRWalletobjects_ImageUri *sourceUri; @end @@ -10340,6 +10350,27 @@ FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_TransitObject_TripType_Tri @end +/** + * Request to upload a private image to use in a pass. + */ +@interface GTLRWalletobjects_UploadPrivateImageRequest : GTLRObject +@end + + +/** + * Response for uploading the private image. + */ +@interface GTLRWalletobjects_UploadPrivateImageResponse : GTLRObject + +/** + * Unique ID of the uploaded image to be referenced later in + * Image.private_image_id. + */ +@property(nonatomic, copy, nullable) NSString *privateImageId; + +@end + + /** * GTLRWalletobjects_Uri */ diff --git a/Sources/GeneratedServices/WorkloadManager/GTLRWorkloadManagerObjects.m b/Sources/GeneratedServices/WorkloadManager/GTLRWorkloadManagerObjects.m index edb6cb748..45b3bbb85 100644 --- a/Sources/GeneratedServices/WorkloadManager/GTLRWorkloadManagerObjects.m +++ b/Sources/GeneratedServices/WorkloadManager/GTLRWorkloadManagerObjects.m @@ -92,6 +92,11 @@ NSString * const kGTLRWorkloadManager_Evaluation_EvaluationType_SccIac = @"SCC_IAC"; NSString * const kGTLRWorkloadManager_Evaluation_EvaluationType_SqlServer = @"SQL_SERVER"; +// GTLRWorkloadManager_Execution.engine +NSString * const kGTLRWorkloadManager_Execution_Engine_EngineScanner = @"ENGINE_SCANNER"; +NSString * const kGTLRWorkloadManager_Execution_Engine_EngineUnspecified = @"ENGINE_UNSPECIFIED"; +NSString * const kGTLRWorkloadManager_Execution_Engine_V2 = @"V2"; + // GTLRWorkloadManager_Execution.runType NSString * const kGTLRWorkloadManager_Execution_RunType_OneTime = @"ONE_TIME"; NSString * const kGTLRWorkloadManager_Execution_RunType_Scheduled = @"SCHEDULED"; @@ -214,6 +219,14 @@ NSString * const kGTLRWorkloadManager_SapWorkload_Architecture_StandaloneDatabase = @"STANDALONE_DATABASE"; NSString * const kGTLRWorkloadManager_SapWorkload_Architecture_StandaloneDatabaseHa = @"STANDALONE_DATABASE_HA"; +// GTLRWorkloadManager_ServiceStates.state +NSString * const kGTLRWorkloadManager_ServiceStates_State_ConfigFailure = @"CONFIG_FAILURE"; +NSString * const kGTLRWorkloadManager_ServiceStates_State_Disabled = @"DISABLED"; +NSString * const kGTLRWorkloadManager_ServiceStates_State_Enabled = @"ENABLED"; +NSString * const kGTLRWorkloadManager_ServiceStates_State_FunctionailityFailure = @"FUNCTIONAILITY_FAILURE"; +NSString * const kGTLRWorkloadManager_ServiceStates_State_IamFailure = @"IAM_FAILURE"; +NSString * const kGTLRWorkloadManager_ServiceStates_State_StateUnspecified = @"STATE_UNSPECIFIED"; + // GTLRWorkloadManager_SqlserverValidationValidationDetail.type NSString * const kGTLRWorkloadManager_SqlserverValidationValidationDetail_Type_DbBackupPolicy = @"DB_BACKUP_POLICY"; NSString * const kGTLRWorkloadManager_SqlserverValidationValidationDetail_Type_DbBufferPoolExtension = @"DB_BUFFER_POOL_EXTENSION"; @@ -269,7 +282,8 @@ + (Class)classForAdditionalProperties { // @implementation GTLRWorkloadManager_AgentStates -@dynamic availableVersion, installedVersion; +@dynamic availableVersion, hanaMonitoring, installedVersion, isFullyEnabled, + processMetrics, systemDiscovery; @end @@ -466,8 +480,9 @@ + (Class)classForAdditionalProperties { // @implementation GTLRWorkloadManager_Execution -@dynamic endTime, evaluationId, externalDataSources, inventoryTime, labels, - name, notices, resultSummary, ruleResults, runType, startTime, state; +@dynamic endTime, engine, evaluationId, externalDataSources, inventoryTime, + labels, name, notices, resultSummary, ruleResults, runType, startTime, + state; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -542,6 +557,16 @@ @implementation GTLRWorkloadManager_GceInstanceFilter @end +// ---------------------------------------------------------------------------- +// +// GTLRWorkloadManager_IAMPermission +// + +@implementation GTLRWorkloadManager_IAMPermission +@dynamic granted, name; +@end + + // ---------------------------------------------------------------------------- // // GTLRWorkloadManager_Insight @@ -1288,6 +1313,24 @@ @implementation GTLRWorkloadManager_ScannedResource @end +// ---------------------------------------------------------------------------- +// +// GTLRWorkloadManager_ServiceStates +// + +@implementation GTLRWorkloadManager_ServiceStates +@dynamic iamPermissions, state; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"iamPermissions" : [GTLRWorkloadManager_IAMPermission class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRWorkloadManager_ShellCommand diff --git a/Sources/GeneratedServices/WorkloadManager/Public/GoogleAPIClientForREST/GTLRWorkloadManagerObjects.h b/Sources/GeneratedServices/WorkloadManager/Public/GoogleAPIClientForREST/GTLRWorkloadManagerObjects.h index 302b292f9..3a582e645 100644 --- a/Sources/GeneratedServices/WorkloadManager/Public/GoogleAPIClientForREST/GTLRWorkloadManagerObjects.h +++ b/Sources/GeneratedServices/WorkloadManager/Public/GoogleAPIClientForREST/GTLRWorkloadManagerObjects.h @@ -36,6 +36,7 @@ @class GTLRWorkloadManager_ExecutionResult; @class GTLRWorkloadManager_ExternalDataSources; @class GTLRWorkloadManager_GceInstanceFilter; +@class GTLRWorkloadManager_IAMPermission; @class GTLRWorkloadManager_Insight; @class GTLRWorkloadManager_InstanceProperties; @class GTLRWorkloadManager_Location; @@ -75,6 +76,7 @@ @class GTLRWorkloadManager_SapWorkload; @class GTLRWorkloadManager_SapWorkload_Metadata; @class GTLRWorkloadManager_ScannedResource; +@class GTLRWorkloadManager_ServiceStates; @class GTLRWorkloadManager_ShellCommand; @class GTLRWorkloadManager_SqlserverValidation; @class GTLRWorkloadManager_SqlserverValidationDetails; @@ -475,6 +477,28 @@ FOUNDATION_EXTERN NSString * const kGTLRWorkloadManager_Evaluation_EvaluationTyp */ FOUNDATION_EXTERN NSString * const kGTLRWorkloadManager_Evaluation_EvaluationType_SqlServer; +// ---------------------------------------------------------------------------- +// GTLRWorkloadManager_Execution.engine + +/** + * SlimCG / Scanner + * + * Value: "ENGINE_SCANNER" + */ +FOUNDATION_EXTERN NSString * const kGTLRWorkloadManager_Execution_Engine_EngineScanner; +/** + * The original CG + * + * Value: "ENGINE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRWorkloadManager_Execution_Engine_EngineUnspecified; +/** + * Evaluation Engine V2 + * + * Value: "V2" + */ +FOUNDATION_EXTERN NSString * const kGTLRWorkloadManager_Execution_Engine_V2; + // ---------------------------------------------------------------------------- // GTLRWorkloadManager_Execution.runType @@ -1089,6 +1113,46 @@ FOUNDATION_EXTERN NSString * const kGTLRWorkloadManager_SapWorkload_Architecture */ FOUNDATION_EXTERN NSString * const kGTLRWorkloadManager_SapWorkload_Architecture_StandaloneDatabaseHa; +// ---------------------------------------------------------------------------- +// GTLRWorkloadManager_ServiceStates.state + +/** + * The state means the service has config errors. + * + * Value: "CONFIG_FAILURE" + */ +FOUNDATION_EXTERN NSString * const kGTLRWorkloadManager_ServiceStates_State_ConfigFailure; +/** + * The state means the service disabled. + * + * Value: "DISABLED" + */ +FOUNDATION_EXTERN NSString * const kGTLRWorkloadManager_ServiceStates_State_Disabled; +/** + * The state means the service has no error. + * + * Value: "ENABLED" + */ +FOUNDATION_EXTERN NSString * const kGTLRWorkloadManager_ServiceStates_State_Enabled; +/** + * The state means the service has functionality errors. + * + * Value: "FUNCTIONAILITY_FAILURE" + */ +FOUNDATION_EXTERN NSString * const kGTLRWorkloadManager_ServiceStates_State_FunctionailityFailure; +/** + * The state means the service has IAM permission errors. + * + * Value: "IAM_FAILURE" + */ +FOUNDATION_EXTERN NSString * const kGTLRWorkloadManager_ServiceStates_State_IamFailure; +/** + * The state is unspecified. + * + * Value: "STATE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRWorkloadManager_ServiceStates_State_StateUnspecified; + // ---------------------------------------------------------------------------- // GTLRWorkloadManager_SqlserverValidationValidationDetail.type @@ -1256,9 +1320,26 @@ FOUNDATION_EXTERN NSString * const kGTLRWorkloadManager_WorkloadProfile_Workload /** Optional. The available version of the agent in artifact registry. */ @property(nonatomic, copy, nullable) NSString *availableVersion; +/** Optional. HANA monitoring metrics of the agent. */ +@property(nonatomic, strong, nullable) GTLRWorkloadManager_ServiceStates *hanaMonitoring; + /** Optional. The installed version of the agent on the host. */ @property(nonatomic, copy, nullable) NSString *installedVersion; +/** + * Optional. Whether the agent is fully enabled. If false, the agent is has + * some issues. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *isFullyEnabled; + +/** Optional. The Process metrics of the agent. */ +@property(nonatomic, strong, nullable) GTLRWorkloadManager_ServiceStates *processMetrics; + +/** Optional. The System discovery metrics of the agent. */ +@property(nonatomic, strong, nullable) GTLRWorkloadManager_ServiceStates *systemDiscovery; + @end @@ -1762,6 +1843,19 @@ FOUNDATION_EXTERN NSString * const kGTLRWorkloadManager_WorkloadProfile_Workload /** Output only. [Output only] End time stamp */ @property(nonatomic, strong, nullable) GTLRDateTime *endTime; +/** + * Optional. Engine + * + * Likely values: + * @arg @c kGTLRWorkloadManager_Execution_Engine_EngineScanner SlimCG / + * Scanner (Value: "ENGINE_SCANNER") + * @arg @c kGTLRWorkloadManager_Execution_Engine_EngineUnspecified The + * original CG (Value: "ENGINE_UNSPECIFIED") + * @arg @c kGTLRWorkloadManager_Execution_Engine_V2 Evaluation Engine V2 + * (Value: "V2") + */ +@property(nonatomic, copy, nullable) NSString *engine; + /** Output only. [Output only] Evaluation ID */ @property(nonatomic, copy, nullable) NSString *evaluationId; @@ -1927,6 +2021,24 @@ FOUNDATION_EXTERN NSString * const kGTLRWorkloadManager_WorkloadProfile_Workload @end +/** + * The IAM permission status. + */ +@interface GTLRWorkloadManager_IAMPermission : GTLRObject + +/** + * Output only. Whether the permission is granted. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *granted; + +/** Output only. The name of the permission. */ +@property(nonatomic, copy, nullable) NSString *name; + +@end + + /** * A presentation of host resource usage where the workload runs. */ @@ -3350,6 +3462,37 @@ FOUNDATION_EXTERN NSString * const kGTLRWorkloadManager_WorkloadProfile_Workload @end +/** + * The state of the service. + */ +@interface GTLRWorkloadManager_ServiceStates : GTLRObject + +/** Optional. Output only. The IAM permissions for the service. */ +@property(nonatomic, strong, nullable) NSArray *iamPermissions; + +/** + * Output only. The overall state of the service. + * + * Likely values: + * @arg @c kGTLRWorkloadManager_ServiceStates_State_ConfigFailure The state + * means the service has config errors. (Value: "CONFIG_FAILURE") + * @arg @c kGTLRWorkloadManager_ServiceStates_State_Disabled The state means + * the service disabled. (Value: "DISABLED") + * @arg @c kGTLRWorkloadManager_ServiceStates_State_Enabled The state means + * the service has no error. (Value: "ENABLED") + * @arg @c kGTLRWorkloadManager_ServiceStates_State_FunctionailityFailure The + * state means the service has functionality errors. (Value: + * "FUNCTIONAILITY_FAILURE") + * @arg @c kGTLRWorkloadManager_ServiceStates_State_IamFailure The state + * means the service has IAM permission errors. (Value: "IAM_FAILURE") + * @arg @c kGTLRWorkloadManager_ServiceStates_State_StateUnspecified The + * state is unspecified. (Value: "STATE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *state; + +@end + + /** * * A ShellCommand is invoked via the agent's command line executor */