From 1e895b36facaac78825b9271f0795babf13512f4 Mon Sep 17 00:00:00 2001 From: Thomas Van Lenten Date: Wed, 25 Sep 2024 20:08:29 -0700 Subject: [PATCH] Update services. --- GoogleAPIClientForREST.podspec | 5 + Package.swift | 10 + .../GTLRAIPlatformNotebooksObjects.h | 4 +- .../GTLRAccessContextManagerObjects.m | 72 +- .../GTLRAccessContextManagerObjects.h | 181 + .../Aiplatform/GTLRAiplatformObjects.m | 150 +- .../Aiplatform/GTLRAiplatformQuery.m | 46 + .../GTLRAiplatformObjects.h | 306 +- .../GTLRAiplatformQuery.h | 68 +- .../GTLRAndroidManagementObjects.m | 56 +- .../GTLRAndroidManagementObjects.h | 241 +- .../GTLRAndroidProvisioningPartnerObjects.m | 4 +- .../GTLRAndroidProvisioningPartnerObjects.h | 6 + .../GTLRAndroidPublisherObjects.h | 28 +- .../GTLRAndroidPublisherQuery.h | 2 +- .../Apigee/GTLRApigeeObjects.m | 11 +- .../Apigee/GTLRApigeeQuery.m | 96 + .../GTLRApigeeObjects.h | 12 +- .../GoogleAPIClientForREST/GTLRApigeeQuery.h | 177 +- .../Appengine/GTLRAppengineObjects.m | 28 +- .../GTLRAppengineObjects.h | 26 + .../GTLRArtifactRegistryObjects.m | 16 +- .../GTLRArtifactRegistryObjects.h | 19 + .../GTLRArtifactRegistryQuery.h | 90 +- .../GTLRAssuredworkloadsObjects.m | 2 + .../GTLRAssuredworkloadsObjects.h | 16 + .../Backupdr/GTLRBackupdrObjects.m | 16 +- .../Backupdr/GTLRBackupdrQuery.m | 23 +- .../GTLRBackupdrObjects.h | 18 +- .../GTLRBackupdrQuery.h | 113 + .../GTLRBareMetalSolutionObjects.m | 2 +- .../GTLRBareMetalSolutionObjects.h | 10 +- .../GTLRBigQueryDataTransferObjects.m | 45 +- .../GTLRBigQueryDataTransferObjects.h | 105 + .../GTLRBigQueryReservationObjects.h | 9 +- .../Bigquery/GTLRBigqueryObjects.m | 1 + .../GTLRBigqueryObjects.h | 182 +- .../BigtableAdmin/GTLRBigtableAdminObjects.m | 33 +- .../GTLRBigtableAdminObjects.h | 124 +- .../CCAIPlatform/GTLRCCAIPlatformObjects.m | 5 +- .../GTLRCCAIPlatformObjects.h | 7 +- .../Calendar/GTLRCalendarQuery.m | 1 + .../GTLRCalendarObjects.h | 5 +- .../GTLRCalendarQuery.h | 18 +- .../GTLRCertificateAuthorityServiceObjects.h | 4 +- .../GTLRCertificateAuthorityServiceQuery.h | 8 +- .../ChecksService/GTLRChecksServiceQuery.m | 19 + .../GTLRChecksServiceQuery.h | 27 + .../GTLRChromeUXReportObjects.h | 4 +- .../CivicInfo/GTLRCivicInfoObjects.m | 24 + .../CivicInfo/GTLRCivicInfoQuery.m | 17 + .../GTLRCivicInfoObjects.h | 26 + .../GTLRCivicInfoQuery.h | 20 + .../GTLRClassroomObjects.h | 38 +- .../GTLRClassroomQuery.h | 274 +- .../GTLRCloudAlloyDBAdminObjects.m | 86 +- .../GTLRCloudAlloyDBAdminQuery.m | 27 + .../GTLRCloudAlloyDBAdminObjects.h | 355 +- .../GTLRCloudAlloyDBAdminQuery.h | 29 + .../GTLRCloudBatchObjects.h | 60 +- .../GTLRCloudControlsPartnerServiceObjects.h | 2 +- .../CloudDataplex/GTLRCloudDataplexObjects.m | 321 +- .../GTLRCloudDataplexObjects.h | 740 +- .../GTLRCloudDataplexQuery.h | 22 +- .../GTLRCloudFilestoreObjects.m | 49 +- .../GTLRCloudFilestoreObjects.h | 122 + .../GTLRCloudFunctionsObjects.m | 234 - .../GTLRCloudFunctionsObjects.h | 2028 ++---- .../GTLRCloudHealthcareQuery.m | 92 + .../GTLRCloudHealthcareObjects.h | 182 +- .../GTLRCloudHealthcareQuery.h | 268 + .../GTLRCloudIAPObjects.h | 6 +- .../CloudIdentity/GTLRCloudIdentityObjects.m | 1 + .../GTLRCloudIdentityObjects.h | 8 + .../CloudRedis/GTLRCloudRedisObjects.m | 320 +- .../GTLRCloudRedisObjects.h | 661 +- .../CloudRetail/GTLRCloudRetailObjects.m | 254 +- .../CloudRetail/GTLRCloudRetailQuery.m | 119 + .../GTLRCloudRetailObjects.h | 398 ++ .../GTLRCloudRetailQuery.h | 189 + .../CloudRun/GTLRCloudRunObjects.m | 9 +- .../GTLRCloudRunObjects.h | 44 +- .../GTLRCloudSchedulerObjects.m | 80 + .../CloudScheduler/GTLRCloudSchedulerQuery.m | 84 + .../GTLRCloudSchedulerObjects.h | 152 + .../GTLRCloudSchedulerQuery.h | 136 + .../GTLRCloudSecurityTokenObjects.h | 6 +- .../GTLRCloudWorkstationsObjects.h | 8 +- .../Cloudchannel/GTLRCloudchannelObjects.m | 4 +- .../Cloudchannel/GTLRCloudchannelQuery.m | 59 +- .../GTLRCloudchannelObjects.h | 13 +- .../GTLRCloudchannelQuery.h | 179 - .../Compute/GTLRComputeObjects.m | 22 +- .../GTLRComputeObjects.h | 68 +- .../GoogleAPIClientForREST/GTLRComputeQuery.h | 14 +- .../GTLRContactcenterinsightsObjects.m | 10 +- .../GTLRContactcenterinsightsObjects.h | 14 + .../Container/GTLRContainerObjects.m | 69 +- .../Container/GTLRContainerQuery.m | 2 +- .../Container/GTLRContainerService.m | 2 +- .../GoogleAPIClientForREST/GTLRContainer.h | 2 +- .../GTLRContainerObjects.h | 82 +- .../GTLRContainerQuery.h | 2 +- .../GTLRContainerService.h | 2 +- .../GeneratedServices/Css/GTLRCssObjects.m | 40 +- .../GoogleAPIClientForREST/GTLRCssObjects.h | 87 + .../GeneratedServices/DLP/GTLRDLPObjects.m | 216 +- .../GoogleAPIClientForREST/GTLRDLPObjects.h | 443 +- .../GoogleAPIClientForREST/GTLRDLPQuery.h | 30 +- .../GTLRDatabaseMigrationServiceObjects.m | 47 +- .../GTLRDatabaseMigrationServiceObjects.h | 63 +- .../Datastream/GTLRDatastreamObjects.m | 2 +- .../GTLRDatastreamObjects.h | 7 + .../GTLRDeveloperConnectObjects.m | 72 +- .../GTLRDeveloperConnectObjects.h | 221 + .../GTLRDeveloperConnectQuery.h | 10 +- .../GTLRDialogflowObjects.h | 3 +- .../GTLRDirectoryObjects.h | 48 +- .../GTLRDirectoryQuery.h | 2 +- .../GTLRDirectoryService.h | 4 +- .../GTLRDiscoveryEngineObjects.m | 259 +- .../GTLRDiscoveryEngineQuery.m | 2 +- .../GTLRDiscoveryEngineService.m | 2 +- .../GTLRDiscoveryEngine.h | 2 +- .../GTLRDiscoveryEngineObjects.h | 800 ++- .../GTLRDiscoveryEngineQuery.h | 222 +- .../GTLRDiscoveryEngineService.h | 2 +- .../DisplayVideo/GTLRDisplayVideoObjects.m | 3 + .../GTLRDisplayVideoObjects.h | 90 +- .../Document/GTLRDocumentObjects.m | 1917 ----- .../GTLRDocumentObjects.h | 6140 +++-------------- .../Drive/GTLRDriveObjects.m | 92 + .../GeneratedServices/Drive/GTLRDriveQuery.m | 91 + .../GoogleAPIClientForREST/GTLRDriveObjects.h | 154 + .../GoogleAPIClientForREST/GTLRDriveQuery.h | 207 +- .../Eventarc/GTLREventarcQuery.m | 308 + .../GTLREventarcQuery.h | 532 ++ .../GTLRFirebaseManagementObjects.m | 3 +- .../GTLRFirebaseManagementObjects.h | 22 + .../Firestore/GTLRFirestoreObjects.m | 22 +- .../Firestore/GTLRFirestoreQuery.m | 2 +- .../GTLRFirestoreObjects.h | 40 + .../GTLRFirestoreQuery.h | 11 + .../GTLRGoogleAnalyticsAdminQuery.h | 16 + .../HangoutsChat/GTLRHangoutsChatObjects.m | 13 +- .../HangoutsChat/GTLRHangoutsChatService.m | 4 + .../GTLRHangoutsChatObjects.h | 86 +- .../GTLRHangoutsChatQuery.h | 84 +- .../GTLRHangoutsChatService.h | 29 + .../Logging/GTLRLoggingObjects.m | 61 +- .../Logging/GTLRLoggingQuery.m | 333 + .../GTLRLoggingObjects.h | 102 +- .../GoogleAPIClientForREST/GTLRLoggingQuery.h | 621 ++ .../Looker/GTLRLookerObjects.m | 12 +- .../GTLRLookerObjects.h | 14 + .../MapsPlaces/GTLRMapsPlacesObjects.m | 97 +- .../MapsPlaces/GTLRMapsPlacesService.m | 1 + .../GTLRMapsPlacesObjects.h | 321 + .../GTLRMapsPlacesQuery.h | 1 + .../GTLRMapsPlacesService.h | 7 + .../GTLRMigrationCenterAPIObjects.h | 14 +- .../Monitoring/GTLRMonitoringObjects.m | 17 +- .../GTLRMonitoringObjects.h | 39 +- .../GTLRMonitoringQuery.h | 10 +- .../GTLRNetworkManagementObjects.m | 40 +- .../GTLRNetworkManagementObjects.h | 255 +- .../GTLRNetworkSecurityObjects.m | 1 + .../GTLRNetworkSecurityObjects.h | 9 + .../GTLRNetworkServicesObjects.m | 32 + .../GTLRNetworkServicesObjects.h | 132 +- .../GTLRNetworkconnectivityObjects.m | 69 +- .../GTLRNetworkconnectivityObjects.h | 157 +- .../GTLROracleDatabaseObjects.m | 1250 ++++ .../OracleDatabase/GTLROracleDatabaseQuery.m | 598 ++ .../GTLROracleDatabaseService.m | 36 + .../GTLROracleDatabase.h | 14 + .../GTLROracleDatabaseObjects.h | 4523 ++++++++++++ .../GTLROracleDatabaseQuery.h | 1254 ++++ .../GTLROracleDatabaseService.h | 75 + .../GTLRPaymentsResellerSubscriptionObjects.h | 10 +- .../GTLRPubsubObjects.h | 2 +- .../GTLRRecaptchaEnterpriseObjects.m | 1 + .../GTLRRecaptchaEnterpriseObjects.h | 70 +- .../GTLRRecaptchaEnterpriseQuery.h | 50 +- .../SQLAdmin/GTLRSQLAdminObjects.m | 53 + .../SQLAdmin/GTLRSQLAdminQuery.m | 77 + .../GTLRSQLAdminObjects.h | 78 +- .../GTLRSQLAdminQuery.h | 127 + .../GTLRSecurityCommandCenterObjects.m | 4 +- .../GTLRSecurityCommandCenterObjects.h | 6 + .../GTLRServerlessVPCAccessObjects.h | 20 +- .../GTLRServiceConsumerManagementObjects.m | 49 +- .../GTLRServiceConsumerManagementObjects.h | 80 +- .../GTLRServiceNetworkingObjects.m | 20 +- .../GTLRServiceNetworkingObjects.h | 19 + .../ServiceUsage/GTLRServiceUsageObjects.m | 49 +- .../GTLRServiceUsageObjects.h | 74 + .../GTLRSheetsObjects.h | 3 +- .../Spanner/GTLRSpannerObjects.m | 12 +- .../GTLRSpannerObjects.h | 38 + .../Storage/GTLRStorageObjects.m | 2 +- .../Storage/GTLRStorageQuery.m | 4 +- .../GTLRStorageObjects.h | 7 + .../GoogleAPIClientForREST/GTLRStorageQuery.h | 17 + .../Testing/GTLRTestingObjects.m | 17 +- .../GTLRTestingObjects.h | 18 + .../GTLRTranslateQuery.h | 1 + .../GTLRVMMigrationServiceQuery.h | 14 +- .../GTLRWalletobjectsObjects.h | 22 +- .../GTLRWorkflowExecutionsObjects.m | 1 + .../GTLRWorkflowExecutionsObjects.h | 13 +- .../GTLRWorkflowExecutionsQuery.h | 7 +- .../YouTube/GTLRYouTubeObjects.m | 17 +- .../GTLRYouTubeObjects.h | 23 +- 214 files changed, 23024 insertions(+), 11012 deletions(-) create mode 100644 Sources/GeneratedServices/OracleDatabase/GTLROracleDatabaseObjects.m create mode 100644 Sources/GeneratedServices/OracleDatabase/GTLROracleDatabaseQuery.m create mode 100644 Sources/GeneratedServices/OracleDatabase/GTLROracleDatabaseService.m create mode 100644 Sources/GeneratedServices/OracleDatabase/Public/GoogleAPIClientForREST/GTLROracleDatabase.h create mode 100644 Sources/GeneratedServices/OracleDatabase/Public/GoogleAPIClientForREST/GTLROracleDatabaseObjects.h create mode 100644 Sources/GeneratedServices/OracleDatabase/Public/GoogleAPIClientForREST/GTLROracleDatabaseQuery.h create mode 100644 Sources/GeneratedServices/OracleDatabase/Public/GoogleAPIClientForREST/GTLROracleDatabaseService.h diff --git a/GoogleAPIClientForREST.podspec b/GoogleAPIClientForREST.podspec index be5519bb1..a777a093d 100644 --- a/GoogleAPIClientForREST.podspec +++ b/GoogleAPIClientForREST.podspec @@ -1099,6 +1099,11 @@ Pod::Spec.new do |s| sp.source_files = 'Sources/GeneratedServices/OnDemandScanning/**/*.{h,m}' sp.public_header_files = 'Sources/GeneratedServices/OnDemandScanning/Public/GoogleAPIClientForREST/*.h' end + s.subspec 'OracleDatabase' do |sp| + sp.dependency 'GoogleAPIClientForREST/Core' + sp.source_files = 'Sources/GeneratedServices/OracleDatabase/**/*.{h,m}' + sp.public_header_files = 'Sources/GeneratedServices/OracleDatabase/Public/GoogleAPIClientForREST/*.h' + end s.subspec 'OrgPolicyAPI' do |sp| sp.dependency 'GoogleAPIClientForREST/Core' sp.source_files = 'Sources/GeneratedServices/OrgPolicyAPI/**/*.{h,m}' diff --git a/Package.swift b/Package.swift index 06f656b1a..11ff54b62 100644 --- a/Package.swift +++ b/Package.swift @@ -849,6 +849,10 @@ let package = Package( name: "GoogleAPIClientForREST_OnDemandScanning", targets: ["GoogleAPIClientForREST_OnDemandScanning"] ), + .library( + name: "GoogleAPIClientForREST_OracleDatabase", + targets: ["GoogleAPIClientForREST_OracleDatabase"] + ), .library( name: "GoogleAPIClientForREST_OrgPolicyAPI", targets: ["GoogleAPIClientForREST_OrgPolicyAPI"] @@ -2451,6 +2455,12 @@ let package = Package( path: "Sources/GeneratedServices/OnDemandScanning", publicHeadersPath: "Public" ), + .target( + name: "GoogleAPIClientForREST_OracleDatabase", + dependencies: ["GoogleAPIClientForRESTCore"], + path: "Sources/GeneratedServices/OracleDatabase", + publicHeadersPath: "Public" + ), .target( name: "GoogleAPIClientForREST_OrgPolicyAPI", dependencies: ["GoogleAPIClientForRESTCore"], diff --git a/Sources/GeneratedServices/AIPlatformNotebooks/Public/GoogleAPIClientForREST/GTLRAIPlatformNotebooksObjects.h b/Sources/GeneratedServices/AIPlatformNotebooks/Public/GoogleAPIClientForREST/GTLRAIPlatformNotebooksObjects.h index d744fc497..5b319bcc3 100644 --- a/Sources/GeneratedServices/AIPlatformNotebooks/Public/GoogleAPIClientForREST/GTLRAIPlatformNotebooksObjects.h +++ b/Sources/GeneratedServices/AIPlatformNotebooks/Public/GoogleAPIClientForREST/GTLRAIPlatformNotebooksObjects.h @@ -1083,8 +1083,8 @@ FOUNDATION_EXTERN NSString * const kGTLRAIPlatformNotebooks_UpgradeHistoryEntry_ @property(nonatomic, strong, nullable) GTLRAIPlatformNotebooks_ShieldedInstanceConfig *shieldedInstanceConfig; /** - * Optional. The Compute Engine tags to add to runtime (see [Tagging - * instances](https://cloud.google.com/compute/docs/label-or-tag-resources#tags)). + * Optional. The Compute Engine network tags to add to runtime (see [Add + * network tags](https://cloud.google.com/vpc/docs/add-remove-network-tags)). */ @property(nonatomic, strong, nullable) NSArray *tags; diff --git a/Sources/GeneratedServices/AccessContextManager/GTLRAccessContextManagerObjects.m b/Sources/GeneratedServices/AccessContextManager/GTLRAccessContextManagerObjects.m index cd2dff154..a06abf141 100644 --- a/Sources/GeneratedServices/AccessContextManager/GTLRAccessContextManagerObjects.m +++ b/Sources/GeneratedServices/AccessContextManager/GTLRAccessContextManagerObjects.m @@ -84,6 +84,12 @@ NSString * const kGTLRAccessContextManager_OsConstraint_OsType_Ios = @"IOS"; NSString * const kGTLRAccessContextManager_OsConstraint_OsType_OsUnspecified = @"OS_UNSPECIFIED"; +// GTLRAccessContextManager_ReauthSettings.reauthMethod +NSString * const kGTLRAccessContextManager_ReauthSettings_ReauthMethod_Login = @"LOGIN"; +NSString * const kGTLRAccessContextManager_ReauthSettings_ReauthMethod_Password = @"PASSWORD"; +NSString * const kGTLRAccessContextManager_ReauthSettings_ReauthMethod_ReauthMethodUnspecified = @"REAUTH_METHOD_UNSPECIFIED"; +NSString * const kGTLRAccessContextManager_ReauthSettings_ReauthMethod_SecurityKey = @"SECURITY_KEY"; + // GTLRAccessContextManager_ServicePerimeter.perimeterType NSString * const kGTLRAccessContextManager_ServicePerimeter_PerimeterType_PerimeterTypeBridge = @"PERIMETER_TYPE_BRIDGE"; NSString * const kGTLRAccessContextManager_ServicePerimeter_PerimeterType_PerimeterTypeRegular = @"PERIMETER_TYPE_REGULAR"; @@ -141,6 +147,34 @@ @implementation GTLRAccessContextManager_AccessPolicy @end +// ---------------------------------------------------------------------------- +// +// GTLRAccessContextManager_AccessScope +// + +@implementation GTLRAccessContextManager_AccessScope +@dynamic clientScope; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAccessContextManager_AccessSettings +// + +@implementation GTLRAccessContextManager_AccessSettings +@dynamic accessLevels, reauthSettings; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"accessLevels" : [NSString class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRAccessContextManager_ApiOperation @@ -268,6 +302,16 @@ @implementation GTLRAccessContextManager_CancelOperationRequest @end +// ---------------------------------------------------------------------------- +// +// GTLRAccessContextManager_ClientScope +// + +@implementation GTLRAccessContextManager_ClientScope +@dynamic restrictedClientApplication; +@end + + // ---------------------------------------------------------------------------- // // GTLRAccessContextManager_CommitServicePerimetersRequest @@ -445,14 +489,15 @@ @implementation GTLRAccessContextManager_Expr // @implementation GTLRAccessContextManager_GcpUserAccessBinding -@dynamic accessLevels, dryRunAccessLevels, groupKey, name, - restrictedClientApplications; +@dynamic accessLevels, dryRunAccessLevels, groupKey, name, reauthSettings, + restrictedClientApplications, scopedAccessSettings; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @"accessLevels" : [NSString class], @"dryRunAccessLevels" : [NSString class], - @"restrictedClientApplications" : [GTLRAccessContextManager_Application class] + @"restrictedClientApplications" : [GTLRAccessContextManager_Application class], + @"scopedAccessSettings" : [GTLRAccessContextManager_ScopedAccessSettings class] }; return map; } @@ -791,6 +836,17 @@ @implementation GTLRAccessContextManager_Policy @end +// ---------------------------------------------------------------------------- +// +// GTLRAccessContextManager_ReauthSettings +// + +@implementation GTLRAccessContextManager_ReauthSettings +@dynamic maxInactivity, reauthMethod, sessionLength, sessionLengthEnabled, + useOidcMaxAge; +@end + + // ---------------------------------------------------------------------------- // // GTLRAccessContextManager_ReplaceAccessLevelsRequest @@ -871,6 +927,16 @@ @implementation GTLRAccessContextManager_ReplaceServicePerimetersResponse @end +// ---------------------------------------------------------------------------- +// +// GTLRAccessContextManager_ScopedAccessSettings +// + +@implementation GTLRAccessContextManager_ScopedAccessSettings +@dynamic activeSettings, dryRunSettings, scope; +@end + + // ---------------------------------------------------------------------------- // // GTLRAccessContextManager_ServicePerimeter diff --git a/Sources/GeneratedServices/AccessContextManager/Public/GoogleAPIClientForREST/GTLRAccessContextManagerObjects.h b/Sources/GeneratedServices/AccessContextManager/Public/GoogleAPIClientForREST/GTLRAccessContextManagerObjects.h index 2773e96be..aa723a339 100644 --- a/Sources/GeneratedServices/AccessContextManager/Public/GoogleAPIClientForREST/GTLRAccessContextManagerObjects.h +++ b/Sources/GeneratedServices/AccessContextManager/Public/GoogleAPIClientForREST/GTLRAccessContextManagerObjects.h @@ -25,6 +25,8 @@ @class GTLRAccessContextManager_AccessLevel; @class GTLRAccessContextManager_AccessPolicy; +@class GTLRAccessContextManager_AccessScope; +@class GTLRAccessContextManager_AccessSettings; @class GTLRAccessContextManager_ApiOperation; @class GTLRAccessContextManager_Application; @class GTLRAccessContextManager_AuditConfig; @@ -32,6 +34,7 @@ @class GTLRAccessContextManager_AuthorizedOrgsDesc; @class GTLRAccessContextManager_BasicLevel; @class GTLRAccessContextManager_Binding; +@class GTLRAccessContextManager_ClientScope; @class GTLRAccessContextManager_Condition; @class GTLRAccessContextManager_CustomLevel; @class GTLRAccessContextManager_DevicePolicy; @@ -52,6 +55,8 @@ @class GTLRAccessContextManager_Operation_Response; @class GTLRAccessContextManager_OsConstraint; @class GTLRAccessContextManager_Policy; +@class GTLRAccessContextManager_ReauthSettings; +@class GTLRAccessContextManager_ScopedAccessSettings; @class GTLRAccessContextManager_ServicePerimeter; @class GTLRAccessContextManager_ServicePerimeterConfig; @class GTLRAccessContextManager_Status; @@ -363,6 +368,37 @@ FOUNDATION_EXTERN NSString * const kGTLRAccessContextManager_OsConstraint_OsType */ FOUNDATION_EXTERN NSString * const kGTLRAccessContextManager_OsConstraint_OsType_OsUnspecified; +// ---------------------------------------------------------------------------- +// GTLRAccessContextManager_ReauthSettings.reauthMethod + +/** + * The user will prompted to perform regular login. Users who are enrolled for + * two-step verification and haven't chosen to "Remember this computer" will be + * prompted for their second factor. + * + * Value: "LOGIN" + */ +FOUNDATION_EXTERN NSString * const kGTLRAccessContextManager_ReauthSettings_ReauthMethod_Login; +/** + * The user will be prompted for their password. + * + * Value: "PASSWORD" + */ +FOUNDATION_EXTERN NSString * const kGTLRAccessContextManager_ReauthSettings_ReauthMethod_Password; +/** + * If method undefined in API, we will use LOGIN by default. + * + * Value: "REAUTH_METHOD_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAccessContextManager_ReauthSettings_ReauthMethod_ReauthMethodUnspecified; +/** + * The user will be prompted to autheticate using their security key. If no + * security key has been configured, then we will fallback to LOGIN. + * + * Value: "SECURITY_KEY" + */ +FOUNDATION_EXTERN NSString * const kGTLRAccessContextManager_ReauthSettings_ReauthMethod_SecurityKey; + // ---------------------------------------------------------------------------- // GTLRAccessContextManager_ServicePerimeter.perimeterType @@ -566,6 +602,40 @@ FOUNDATION_EXTERN NSString * const kGTLRAccessContextManager_SupportedService_Su @end +/** + * Access scope represents the client scope, etc. to which the settings will be + * applied to. + */ +@interface GTLRAccessContextManager_AccessScope : GTLRObject + +/** Optional. Client scope for this access scope. */ +@property(nonatomic, strong, nullable) GTLRAccessContextManager_ClientScope *clientScope; + +@end + + +/** + * Access settings represent the set of conditions that must be met for access + * to be granted. At least one of the fields must be set. + */ +@interface GTLRAccessContextManager_AccessSettings : GTLRObject + +/** + * Optional. Access level that a user must have to be granted access. Only one + * access level is supported, not multiple. This repeated field must have + * exactly one element. Example: + * "accessPolicies/9522/accessLevels/device_trusted" + */ +@property(nonatomic, strong, nullable) NSArray *accessLevels; + +/** + * Optional. Reauth settings applied to user access on a given AccessScope. + */ +@property(nonatomic, strong, nullable) GTLRAccessContextManager_ReauthSettings *reauthSettings; + +@end + + /** * Identification for an API Operation. */ @@ -869,6 +939,18 @@ FOUNDATION_EXTERN NSString * const kGTLRAccessContextManager_SupportedService_Su @end +/** + * Client scope represents the application, etc. subject to this binding's + * restrictions. + */ +@interface GTLRAccessContextManager_ClientScope : GTLRObject + +/** Optional. The application that is subject to this binding's scope. */ +@property(nonatomic, strong, nullable) GTLRAccessContextManager_Application *restrictedClientApplication; + +@end + + /** * A request to commit dry-run specs in all Service Perimeters belonging to an * Access Policy. @@ -1295,6 +1377,9 @@ FOUNDATION_EXTERN NSString * const kGTLRAccessContextManager_SupportedService_Su */ @property(nonatomic, copy, nullable) NSString *name; +/** Optional. GCSL policy for the group key. */ +@property(nonatomic, strong, nullable) GTLRAccessContextManager_ReauthSettings *reauthSettings; + /** * Optional. A list of applications that are subject to this binding's * restrictions. If the list is empty, the binding restrictions will @@ -1302,6 +1387,13 @@ FOUNDATION_EXTERN NSString * const kGTLRAccessContextManager_SupportedService_Su */ @property(nonatomic, strong, nullable) NSArray *restrictedClientApplications; +/** + * Optional. A list of scoped access settings that set this binding's + * restrictions on a subset of applications. This field cannot be set if + * restricted_client_applications is set. + */ +@property(nonatomic, strong, nullable) NSArray *scopedAccessSettings; + @end @@ -1910,6 +2002,68 @@ FOUNDATION_EXTERN NSString * const kGTLRAccessContextManager_SupportedService_Su @end +/** + * Stores settings related to Google Cloud Session Length including session + * duration, the type of challenge (i.e. method) they should face when their + * session expires, and other related settings. + */ +@interface GTLRAccessContextManager_ReauthSettings : GTLRObject + +/** + * Optional. How long a user is allowed to take between actions before a new + * access token must be issued. Presently only set for Cloud Apps. + */ +@property(nonatomic, strong, nullable) GTLRDuration *maxInactivity; + +/** + * Optional. Reauth method when users GCP session is up. + * + * Likely values: + * @arg @c kGTLRAccessContextManager_ReauthSettings_ReauthMethod_Login The + * user will prompted to perform regular login. Users who are enrolled + * for two-step verification and haven't chosen to "Remember this + * computer" will be prompted for their second factor. (Value: "LOGIN") + * @arg @c kGTLRAccessContextManager_ReauthSettings_ReauthMethod_Password The + * user will be prompted for their password. (Value: "PASSWORD") + * @arg @c kGTLRAccessContextManager_ReauthSettings_ReauthMethod_ReauthMethodUnspecified + * If method undefined in API, we will use LOGIN by default. (Value: + * "REAUTH_METHOD_UNSPECIFIED") + * @arg @c kGTLRAccessContextManager_ReauthSettings_ReauthMethod_SecurityKey + * The user will be prompted to autheticate using their security key. If + * no security key has been configured, then we will fallback to LOGIN. + * (Value: "SECURITY_KEY") + */ +@property(nonatomic, copy, nullable) NSString *reauthMethod; + +/** + * Optional. The session length. Setting this field to zero is equal to + * disabling. Reauth. Also can set infinite session by flipping the enabled bit + * to false below. If use_oidc_max_age is true, for OIDC apps, the session + * length will be the minimum of this field and OIDC max_age param. + */ +@property(nonatomic, strong, nullable) GTLRDuration *sessionLength; + +/** + * Optional. Big red button to turn off GCSL. When false, all fields set above + * will be disregarded and the session length is basically infinite. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *sessionLengthEnabled; + +/** + * Optional. Only useful for OIDC apps. When false, the OIDC max_age param, if + * passed in the authentication request will be ignored. When true, the re-auth + * period will be the minimum of the session_length field and the max_age OIDC + * param. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *useOidcMaxAge; + +@end + + /** * A request to replace all existing Access Levels in an Access Policy with the * Access Levels provided. This is done atomically. @@ -1984,6 +2138,33 @@ FOUNDATION_EXTERN NSString * const kGTLRAccessContextManager_SupportedService_Su @end +/** + * A relationship between access settings and its scope. + */ +@interface GTLRAccessContextManager_ScopedAccessSettings : GTLRObject + +/** + * Optional. Access settings for this scoped access settings. This field may be + * empty if dry_run_settings is set. + */ +@property(nonatomic, strong, nullable) GTLRAccessContextManager_AccessSettings *activeSettings; + +/** + * Optional. Dry-run access settings for this scoped access settings. This + * field may be empty if active_settings is set. + */ +@property(nonatomic, strong, nullable) GTLRAccessContextManager_AccessSettings *dryRunSettings; + +/** + * Optional. Application, etc. to which the access settings will be applied to. + * Implicitly, this is the scoped access settings key; as such, it must be + * unique and non-empty. + */ +@property(nonatomic, strong, nullable) GTLRAccessContextManager_AccessScope *scope; + +@end + + /** * `ServicePerimeter` describes a set of Google Cloud resources which can * freely import and export data amongst themselves, but not export outside of diff --git a/Sources/GeneratedServices/Aiplatform/GTLRAiplatformObjects.m b/Sources/GeneratedServices/Aiplatform/GTLRAiplatformObjects.m index 8f082374d..9437e205d 100644 --- a/Sources/GeneratedServices/Aiplatform/GTLRAiplatformObjects.m +++ b/Sources/GeneratedServices/Aiplatform/GTLRAiplatformObjects.m @@ -562,6 +562,7 @@ NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1ReservationAffinity_ReservationAffinityType_TypeUnspecified = @"TYPE_UNSPECIFIED"; // GTLRAiplatform_GoogleCloudAiplatformV1SafetyRating.category +NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1SafetyRating_Category_HarmCategoryCivicIntegrity = @"HARM_CATEGORY_CIVIC_INTEGRITY"; NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1SafetyRating_Category_HarmCategoryDangerousContent = @"HARM_CATEGORY_DANGEROUS_CONTENT"; NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1SafetyRating_Category_HarmCategoryHarassment = @"HARM_CATEGORY_HARASSMENT"; NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1SafetyRating_Category_HarmCategoryHateSpeech = @"HARM_CATEGORY_HATE_SPEECH"; @@ -583,6 +584,7 @@ NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1SafetyRating_Severity_HarmSeverityUnspecified = @"HARM_SEVERITY_UNSPECIFIED"; // GTLRAiplatform_GoogleCloudAiplatformV1SafetySetting.category +NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1SafetySetting_Category_HarmCategoryCivicIntegrity = @"HARM_CATEGORY_CIVIC_INTEGRITY"; NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1SafetySetting_Category_HarmCategoryDangerousContent = @"HARM_CATEGORY_DANGEROUS_CONTENT"; NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1SafetySetting_Category_HarmCategoryHarassment = @"HARM_CATEGORY_HARASSMENT"; NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1SafetySetting_Category_HarmCategoryHateSpeech = @"HARM_CATEGORY_HATE_SPEECH"; @@ -600,6 +602,7 @@ NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1SafetySetting_Threshold_BlockNone = @"BLOCK_NONE"; NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1SafetySetting_Threshold_BlockOnlyHigh = @"BLOCK_ONLY_HIGH"; NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1SafetySetting_Threshold_HarmBlockThresholdUnspecified = @"HARM_BLOCK_THRESHOLD_UNSPECIFIED"; +NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1SafetySetting_Threshold_Off = @"OFF"; // GTLRAiplatform_GoogleCloudAiplatformV1SampleConfig.sampleStrategy NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1SampleConfig_SampleStrategy_SampleStrategyUnspecified = @"SAMPLE_STRATEGY_UNSPECIFIED"; @@ -919,10 +922,11 @@ @implementation GTLRAiplatform_CloudAiLargeModelsVisionNamedBoundingBox // @implementation GTLRAiplatform_CloudAiLargeModelsVisionRaiInfo -@dynamic detectedLabels, modelName, raiCategories, scores; +@dynamic blockedEntities, detectedLabels, modelName, raiCategories, scores; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ + @"blockedEntities" : [NSString class], @"detectedLabels" : [GTLRAiplatform_CloudAiLargeModelsVisionRaiInfoDetectedLabels class], @"raiCategories" : [NSString class], @"scores" : [NSNumber class] @@ -1977,7 +1981,7 @@ @implementation GTLRAiplatform_GoogleCloudAiplatformV1CancelTuningJobRequest @implementation GTLRAiplatform_GoogleCloudAiplatformV1Candidate @dynamic avgLogprobs, citationMetadata, content, finishMessage, finishReason, - groundingMetadata, index, safetyRatings; + groundingMetadata, index, logprobsResult, safetyRatings; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -2283,7 +2287,7 @@ @implementation GTLRAiplatform_GoogleCloudAiplatformV1CopyModelResponse // @implementation GTLRAiplatform_GoogleCloudAiplatformV1CountTokensRequest -@dynamic contents, instances, model, systemInstruction, tools; +@dynamic contents, generationConfig, instances, model, systemInstruction, tools; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -2467,6 +2471,16 @@ @implementation GTLRAiplatform_GoogleCloudAiplatformV1CreateNotebookExecutionJob @end +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1CreateNotebookExecutionJobRequest +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1CreateNotebookExecutionJobRequest +@dynamic notebookExecutionJob, notebookExecutionJobId, parent; +@end + + // ---------------------------------------------------------------------------- // // GTLRAiplatform_GoogleCloudAiplatformV1CreateNotebookRuntimeTemplateOperationMetadata @@ -2906,7 +2920,7 @@ @implementation GTLRAiplatform_GoogleCloudAiplatformV1DeployedIndex @dynamic automaticResources, createTime, dedicatedResources, deployedIndexAuthConfig, deploymentGroup, displayName, enableAccessLogging, identifier, index, indexSyncTime, - privateEndpoints, reservedIpRanges; + privateEndpoints, pscAutomationConfigs, reservedIpRanges; + (NSDictionary *)propertyToJSONKeyMap { return @{ @"identifier" : @"id" }; @@ -2914,6 +2928,7 @@ @implementation GTLRAiplatform_GoogleCloudAiplatformV1DeployedIndex + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ + @"pscAutomationConfigs" : [GTLRAiplatform_GoogleCloudAiplatformV1PSCAutomationConfig class], @"reservedIpRanges" : [NSString class] }; return map; @@ -4961,7 +4976,7 @@ @implementation GTLRAiplatform_GoogleCloudAiplatformV1GcsSource // @implementation GTLRAiplatform_GoogleCloudAiplatformV1GenerateContentRequest -@dynamic contents, generationConfig, safetySettings, systemInstruction, +@dynamic contents, generationConfig, labels, safetySettings, systemInstruction, toolConfig, tools; + (NSDictionary *)arrayPropertyToClassMap { @@ -4976,13 +4991,27 @@ @implementation GTLRAiplatform_GoogleCloudAiplatformV1GenerateContentRequest @end +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1GenerateContentRequest_Labels +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1GenerateContentRequest_Labels + ++ (Class)classForAdditionalProperties { + return [NSString class]; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRAiplatform_GoogleCloudAiplatformV1GenerateContentResponse // @implementation GTLRAiplatform_GoogleCloudAiplatformV1GenerateContentResponse -@dynamic candidates, promptFeedback, usageMetadata; +@dynamic candidates, modelVersion, promptFeedback, usageMetadata; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -5028,9 +5057,9 @@ @implementation GTLRAiplatform_GoogleCloudAiplatformV1GenerateContentResponseUsa // @implementation GTLRAiplatform_GoogleCloudAiplatformV1GenerationConfig -@dynamic candidateCount, frequencyPenalty, maxOutputTokens, presencePenalty, - responseMimeType, responseSchema, routingConfig, seed, stopSequences, - temperature, topK, topP; +@dynamic candidateCount, frequencyPenalty, logprobs, maxOutputTokens, + presencePenalty, responseLogprobs, responseMimeType, responseSchema, + routingConfig, seed, stopSequences, temperature, topK, topP; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -6755,6 +6784,53 @@ + (NSString *)collectionItemsKey { @end +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1LogprobsResult +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1LogprobsResult +@dynamic chosenCandidates, topCandidates; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"chosenCandidates" : [GTLRAiplatform_GoogleCloudAiplatformV1LogprobsResultCandidate class], + @"topCandidates" : [GTLRAiplatform_GoogleCloudAiplatformV1LogprobsResultTopCandidates class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1LogprobsResultCandidate +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1LogprobsResultCandidate +@dynamic logProbability, token, tokenId; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1LogprobsResultTopCandidates +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1LogprobsResultTopCandidates +@dynamic candidates; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"candidates" : [GTLRAiplatform_GoogleCloudAiplatformV1LogprobsResultCandidate class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRAiplatform_GoogleCloudAiplatformV1LookupStudyRequest @@ -8767,6 +8843,16 @@ @implementation GTLRAiplatform_GoogleCloudAiplatformV1PscAutomatedEndpoints @end +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1PSCAutomationConfig +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1PSCAutomationConfig +@dynamic network, projectId; +@end + + // ---------------------------------------------------------------------------- // // GTLRAiplatform_GoogleCloudAiplatformV1PublisherModel @@ -9551,6 +9637,16 @@ @implementation GTLRAiplatform_GoogleCloudAiplatformV1ReadTensorboardUsageRespon @end +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1RebaseTunedModelRequest +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1RebaseTunedModelRequest +@dynamic artifactDestination, deployToSameEndpoint, tunedModelRef, tuningJob; +@end + + // ---------------------------------------------------------------------------- // // GTLRAiplatform_GoogleCloudAiplatformV1RebootPersistentResourceOperationMetadata @@ -9951,10 +10047,11 @@ @implementation GTLRAiplatform_GoogleCloudAiplatformV1Scalar // @implementation GTLRAiplatform_GoogleCloudAiplatformV1Schedule -@dynamic allowQueueing, catchUp, createPipelineJobRequest, createTime, cron, - displayName, endTime, lastPauseTime, lastResumeTime, - lastScheduledRunResponse, maxConcurrentRunCount, maxRunCount, name, - nextRunTime, startedRunCount, startTime, state, updateTime; +@dynamic allowQueueing, catchUp, createNotebookExecutionJobRequest, + createPipelineJobRequest, createTime, cron, displayName, endTime, + lastPauseTime, lastResumeTime, lastScheduledRunResponse, + maxConcurrentRunCount, maxRunCount, name, nextRunTime, startedRunCount, + startTime, state, updateTime; @end @@ -9985,10 +10082,10 @@ @implementation GTLRAiplatform_GoogleCloudAiplatformV1Scheduling // @implementation GTLRAiplatform_GoogleCloudAiplatformV1Schema -@dynamic defaultProperty, descriptionProperty, enumProperty, example, format, - items, maximum, maxItems, maxLength, maxProperties, minimum, minItems, - minLength, minProperties, nullable, pattern, properties, required, - title, type; +@dynamic anyOf, defaultProperty, descriptionProperty, enumProperty, example, + format, items, maximum, maxItems, maxLength, maxProperties, minimum, + minItems, minLength, minProperties, nullable, pattern, properties, + propertyOrdering, required, title, type; + (NSDictionary *)propertyToJSONKeyMap { NSDictionary *map = @{ @@ -10001,7 +10098,9 @@ @implementation GTLRAiplatform_GoogleCloudAiplatformV1Schema + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ + @"anyOf" : [GTLRAiplatform_GoogleCloudAiplatformV1Schema class], @"enum" : [NSString class], + @"propertyOrdering" : [NSString class], @"required" : [NSString class] }; return map; @@ -11042,9 +11141,10 @@ @implementation GTLRAiplatform_GoogleCloudAiplatformV1SchemaTextExtractionAnnota // @implementation GTLRAiplatform_GoogleCloudAiplatformV1SchemaTextPromptDatasetMetadata -@dynamic candidateCount, gcsUri, groundingConfig, hasPromptVariable, - maxOutputTokens, note, promptType, stopSequences, systemInstruction, - systemInstructionGcsUri, temperature, text, topK, topP; +@dynamic candidateCount, gcsUri, groundingConfig, hasPromptVariable, logprobs, + maxOutputTokens, note, promptType, seedEnabled, seedValue, + stopSequences, systemInstruction, systemInstructionGcsUri, temperature, + text, topK, topP; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -13647,6 +13747,16 @@ @implementation GTLRAiplatform_GoogleCloudAiplatformV1TunedModel @end +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1TunedModelRef +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1TunedModelRef +@dynamic pipelineJob, tunedModel, tuningJob; +@end + + // ---------------------------------------------------------------------------- // // GTLRAiplatform_GoogleCloudAiplatformV1TuningDataStats diff --git a/Sources/GeneratedServices/Aiplatform/GTLRAiplatformQuery.m b/Sources/GeneratedServices/Aiplatform/GTLRAiplatformQuery.m index a4aadea31..b5e542321 100644 --- a/Sources/GeneratedServices/Aiplatform/GTLRAiplatformQuery.m +++ b/Sources/GeneratedServices/Aiplatform/GTLRAiplatformQuery.m @@ -11763,6 +11763,25 @@ + (instancetype)queryWithName:(NSString *)name { @end +@implementation GTLRAiplatformQuery_ProjectsLocationsTuningJobsOperationsDelete + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRAiplatformQuery_ProjectsLocationsTuningJobsOperationsDelete *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"DELETE" + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRAiplatform_GoogleProtobufEmpty class]; + query.loggingName = @"aiplatform.projects.locations.tuningJobs.operations.delete"; + return query; +} + +@end + @implementation GTLRAiplatformQuery_ProjectsLocationsTuningJobsOperationsGet @dynamic name; @@ -11801,6 +11820,33 @@ + (instancetype)queryWithName:(NSString *)name { @end +@implementation GTLRAiplatformQuery_ProjectsLocationsTuningJobsRebaseTunedModel + +@dynamic parent; + ++ (instancetype)queryWithObject:(GTLRAiplatform_GoogleCloudAiplatformV1RebaseTunedModelRequest *)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}/tuningJobs:rebaseTunedModel"; + GTLRAiplatformQuery_ProjectsLocationsTuningJobsRebaseTunedModel *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.parent = parent; + query.expectedObjectClass = [GTLRAiplatform_GoogleLongrunningOperation class]; + query.loggingName = @"aiplatform.projects.locations.tuningJobs.rebaseTunedModel"; + return query; +} + +@end + @implementation GTLRAiplatformQuery_PublishersModelsComputeTokens @dynamic endpoint; diff --git a/Sources/GeneratedServices/Aiplatform/Public/GoogleAPIClientForREST/GTLRAiplatformObjects.h b/Sources/GeneratedServices/Aiplatform/Public/GoogleAPIClientForREST/GTLRAiplatformObjects.h index a3eac2bd1..3279bf4a8 100644 --- a/Sources/GeneratedServices/Aiplatform/Public/GoogleAPIClientForREST/GTLRAiplatformObjects.h +++ b/Sources/GeneratedServices/Aiplatform/Public/GoogleAPIClientForREST/GTLRAiplatformObjects.h @@ -72,6 +72,7 @@ @class GTLRAiplatform_GoogleCloudAiplatformV1Context_Labels; @class GTLRAiplatform_GoogleCloudAiplatformV1Context_Metadata; @class GTLRAiplatform_GoogleCloudAiplatformV1CreateFeatureRequest; +@class GTLRAiplatform_GoogleCloudAiplatformV1CreateNotebookExecutionJobRequest; @class GTLRAiplatform_GoogleCloudAiplatformV1CreatePipelineJobRequest; @class GTLRAiplatform_GoogleCloudAiplatformV1CreateTensorboardRunRequest; @class GTLRAiplatform_GoogleCloudAiplatformV1CreateTensorboardTimeSeriesRequest; @@ -223,6 +224,7 @@ @class GTLRAiplatform_GoogleCloudAiplatformV1FunctionResponse_Response; @class GTLRAiplatform_GoogleCloudAiplatformV1GcsDestination; @class GTLRAiplatform_GoogleCloudAiplatformV1GcsSource; +@class GTLRAiplatform_GoogleCloudAiplatformV1GenerateContentRequest_Labels; @class GTLRAiplatform_GoogleCloudAiplatformV1GenerateContentResponsePromptFeedback; @class GTLRAiplatform_GoogleCloudAiplatformV1GenerateContentResponseUsageMetadata; @class GTLRAiplatform_GoogleCloudAiplatformV1GenerationConfig; @@ -263,6 +265,9 @@ @class GTLRAiplatform_GoogleCloudAiplatformV1Int64Array; @class GTLRAiplatform_GoogleCloudAiplatformV1IntegratedGradientsAttribution; @class GTLRAiplatform_GoogleCloudAiplatformV1LargeModelReference; +@class GTLRAiplatform_GoogleCloudAiplatformV1LogprobsResult; +@class GTLRAiplatform_GoogleCloudAiplatformV1LogprobsResultCandidate; +@class GTLRAiplatform_GoogleCloudAiplatformV1LogprobsResultTopCandidates; @class GTLRAiplatform_GoogleCloudAiplatformV1MachineSpec; @class GTLRAiplatform_GoogleCloudAiplatformV1ManualBatchTuningParameters; @class GTLRAiplatform_GoogleCloudAiplatformV1Measurement; @@ -407,6 +412,7 @@ @class GTLRAiplatform_GoogleCloudAiplatformV1Probe; @class GTLRAiplatform_GoogleCloudAiplatformV1ProbeExecAction; @class GTLRAiplatform_GoogleCloudAiplatformV1PscAutomatedEndpoints; +@class GTLRAiplatform_GoogleCloudAiplatformV1PSCAutomationConfig; @class GTLRAiplatform_GoogleCloudAiplatformV1PublisherModelCallToAction; @class GTLRAiplatform_GoogleCloudAiplatformV1PublisherModelCallToActionDeploy; @class GTLRAiplatform_GoogleCloudAiplatformV1PublisherModelCallToActionDeployDeployMetadata; @@ -663,6 +669,7 @@ @class GTLRAiplatform_GoogleCloudAiplatformV1TrialContext; @class GTLRAiplatform_GoogleCloudAiplatformV1TrialParameter; @class GTLRAiplatform_GoogleCloudAiplatformV1TunedModel; +@class GTLRAiplatform_GoogleCloudAiplatformV1TunedModelRef; @class GTLRAiplatform_GoogleCloudAiplatformV1TuningDataStats; @class GTLRAiplatform_GoogleCloudAiplatformV1TuningJob; @class GTLRAiplatform_GoogleCloudAiplatformV1TuningJob_Labels; @@ -3578,6 +3585,12 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Reserv // ---------------------------------------------------------------------------- // GTLRAiplatform_GoogleCloudAiplatformV1SafetyRating.category +/** + * The harm category is civic integrity. + * + * Value: "HARM_CATEGORY_CIVIC_INTEGRITY" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1SafetyRating_Category_HarmCategoryCivicIntegrity; /** * The harm category is dangerous content. * @@ -3680,6 +3693,12 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Safety // ---------------------------------------------------------------------------- // GTLRAiplatform_GoogleCloudAiplatformV1SafetySetting.category +/** + * The harm category is civic integrity. + * + * Value: "HARM_CATEGORY_CIVIC_INTEGRITY" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1SafetySetting_Category_HarmCategoryCivicIntegrity; /** * The harm category is dangerous content. * @@ -3766,6 +3785,12 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Safety * Value: "HARM_BLOCK_THRESHOLD_UNSPECIFIED" */ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1SafetySetting_Threshold_HarmBlockThresholdUnspecified; +/** + * Turn off the safety filter. + * + * Value: "OFF" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1SafetySetting_Threshold_Off; // ---------------------------------------------------------------------------- // GTLRAiplatform_GoogleCloudAiplatformV1SampleConfig.sampleStrategy @@ -5186,10 +5211,13 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Tuning /** - * GTLRAiplatform_CloudAiLargeModelsVisionRaiInfo + * Next ID: 6 */ @interface GTLRAiplatform_CloudAiLargeModelsVisionRaiInfo : GTLRObject +/** List of blocked entities from the blocklist if it is detected. */ +@property(nonatomic, strong, nullable) NSArray *blockedEntities; + /** The list of detected labels for different rai categories. */ @property(nonatomic, strong, nullable) NSArray *detectedLabels; @@ -7126,6 +7154,11 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Tuning */ @property(nonatomic, strong, nullable) NSNumber *index; +/** + * Output only. Log-likelihood scores for the response tokens and top tokens + */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1LogprobsResult *logprobsResult; + /** * Output only. List of ratings for the safety of a response candidate. There * is at most one rating per category. @@ -7643,6 +7676,12 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Tuning /** Optional. Input content. */ @property(nonatomic, strong, nullable) NSArray *contents; +/** + * Optional. Generation config that the model will use to generate the + * response. + */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1GenerationConfig *generationConfig; + /** * Optional. The instances that are the input to token counting call. Schema is * identical to the prediction schema of the underlying model. @@ -7909,6 +7948,26 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Tuning @end +/** + * Request message for [NotebookService.CreateNotebookExecutionJob] + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1CreateNotebookExecutionJobRequest : GTLRObject + +/** Required. The NotebookExecutionJob to create. */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1NotebookExecutionJob *notebookExecutionJob; + +/** Optional. User specified ID for the NotebookExecutionJob. */ +@property(nonatomic, copy, nullable) NSString *notebookExecutionJobId; + +/** + * Required. The resource name of the Location to create the + * NotebookExecutionJob. Format: `projects/{project}/locations/{location}` + */ +@property(nonatomic, copy, nullable) NSString *parent; + +@end + + /** * Metadata information for NotebookService.CreateNotebookRuntimeTemplate. */ @@ -9216,6 +9275,13 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Tuning */ @property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1IndexPrivateEndpoints *privateEndpoints; +/** + * Optional. If set for PSC deployed index, PSC connection will be + * automatically created after deployment is done and the endpoint information + * is populated in private_endpoints.psc_automated_endpoints. + */ +@property(nonatomic, strong, nullable) NSArray *pscAutomationConfigs; + /** * Optional. A list of reserved ip ranges under the VPC network that can be * used for this DeployedIndex. If set, we will deploy the index within the @@ -12090,10 +12156,10 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Tuning * unique entityId including nulls. If not set, will collapse all rows for each * unique entityId into a singe row with any non-null values if present, if no * non-null values are present will sync null. ex: If source has schema - * (entity_id, feature_timestamp, f0, f1) and values (e1, - * 2020-01-01T10:00:00.123Z, 10, 15) (e1, 2020-02-01T10:00:00.123Z, 20, null) - * If dense is set, (e1, 20, null) is synced to online stores. If dense is not - * set, (e1, 20, 15) is synced to online stores. + * `(entity_id, feature_timestamp, f0, f1)` and the following rows: `(e1, + * 2020-01-01T10:00:00.123Z, 10, 15)` `(e1, 2020-02-01T10:00:00.123Z, 20, + * null)` If dense is set, `(e1, 20, null)` is synced to online stores. If + * dense is not set, `(e1, 20, 15)` is synced to online stores. * * Uses NSNumber of boolValue. */ @@ -13334,10 +13400,11 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Tuning /** * Required. The BigQuery view/table URI that will be materialized on each * manual sync trigger. The table/view is expected to have the following - * columns at least: Field name Type Mode corpus_id STRING REQUIRED/NULLABLE - * file_id STRING REQUIRED/NULLABLE chunk_id STRING REQUIRED/NULLABLE - * chunk_data_type STRING REQUIRED/NULLABLE chunk_data STRING REQUIRED/NULLABLE - * embeddings FLOAT REPEATED file_original_uri STRING REQUIRED/NULLABLE + * columns and types at least: - `corpus_id` (STRING, NULLABLE/REQUIRED) - + * `file_id` (STRING, NULLABLE/REQUIRED) - `chunk_id` (STRING, + * NULLABLE/REQUIRED) - `chunk_data_type` (STRING, NULLABLE/REQUIRED) - + * `chunk_data` (STRING, NULLABLE/REQUIRED) - `embeddings` (FLOAT, REPEATED) - + * `file_original_uri` (STRING, NULLABLE/REQUIRED) */ @property(nonatomic, copy, nullable) NSString *uri; @@ -14016,6 +14083,15 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Tuning /** Optional. Generation config. */ @property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1GenerationConfig *generationConfig; +/** + * Optional. The labels with user-defined metadata for the request. It is used + * for billing and reporting only. Label keys and values can be no longer than + * 63 characters (Unicode codepoints) and can only contain lowercase letters, + * numeric characters, underscores, and dashes. International characters are + * allowed. Label values are optional. Label keys must start with a letter. + */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1GenerateContentRequest_Labels *labels; + /** * Optional. Per request settings for blocking unsafe content. Enforced on * GenerateContentResponse.candidates. @@ -14046,6 +14122,22 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Tuning @end +/** + * Optional. The labels with user-defined metadata for the request. It is used + * for billing and reporting only. Label keys and values can be no longer than + * 63 characters (Unicode codepoints) and can only contain lowercase letters, + * numeric characters, underscores, and dashes. International characters are + * allowed. Label values are optional. Label keys must start with a letter. + * + * @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_GoogleCloudAiplatformV1GenerateContentRequest_Labels : GTLRObject +@end + + /** * Response message for [PredictionService.GenerateContent]. */ @@ -14054,6 +14146,9 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Tuning /** Output only. Generated candidates. */ @property(nonatomic, strong, nullable) NSArray *candidates; +/** Output only. The model version used to generate the response. */ +@property(nonatomic, copy, nullable) NSString *modelVersion; + /** * Output only. Content filter results for a prompt sent in the request. Note: * Sent only in the first stream chunk. Only happens when no candidates were @@ -14150,6 +14245,13 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Tuning */ @property(nonatomic, strong, nullable) NSNumber *frequencyPenalty; +/** + * Optional. Logit probabilities. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *logprobs; + /** * Optional. The maximum number of output tokens to generate per message. * @@ -14164,6 +14266,13 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Tuning */ @property(nonatomic, strong, nullable) NSNumber *presencePenalty; +/** + * Optional. If true, export the logprobs results in response. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *responseLogprobs; + /** * Optional. Output response mimetype of the generated candidate text. * Supported mimetype: - `text/plain`: (default) Text output. - @@ -16948,6 +17057,59 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Tuning @end +/** + * Logprobs Result + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1LogprobsResult : GTLRObject + +/** + * Length = total number of decoding steps. The chosen candidates may or may + * not be in top_candidates. + */ +@property(nonatomic, strong, nullable) NSArray *chosenCandidates; + +/** Length = total number of decoding steps. */ +@property(nonatomic, strong, nullable) NSArray *topCandidates; + +@end + + +/** + * Candidate for the logprobs token and score. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1LogprobsResultCandidate : GTLRObject + +/** + * The candidate's log probability. + * + * Uses NSNumber of floatValue. + */ +@property(nonatomic, strong, nullable) NSNumber *logProbability; + +/** The candidate’s token string value. */ +@property(nonatomic, copy, nullable) NSString *token; + +/** + * The candidate’s token id value. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *tokenId; + +@end + + +/** + * Candidates with top log probabilities at each decoding step. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1LogprobsResultTopCandidates : GTLRObject + +/** Sorted by log probability in descending order. */ +@property(nonatomic, strong, nullable) NSArray *candidates; + +@end + + /** * Request message for VizierService.LookupStudy. */ @@ -22142,6 +22304,27 @@ GTLR_DEPRECATED @end +/** + * PSC config that is used to automatically create forwarding rule via + * ServiceConnectionMap. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1PSCAutomationConfig : GTLRObject + +/** + * Required. The full name of the Google Compute Engine + * [network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks). + * [Format](https://cloud.google.com/compute/docs/reference/rest/v1/networks/insert): + * `projects/{project}/global/networks/{network}`. Where {project} is a project + * number, as in '12345', and {network} is network name. + */ +@property(nonatomic, copy, nullable) NSString *network; + +/** Required. Project id used to create forwarding rule. */ +@property(nonatomic, copy, nullable) NSString *projectId; + +@end + + /** * A Model Garden Publisher Model. */ @@ -23446,6 +23629,37 @@ GTLR_DEPRECATED @end +/** + * Request message for GenAiTuningService.RebaseTunedModel. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1RebaseTunedModelRequest : GTLRObject + +/** Optional. The Google Cloud Storage location to write the artifacts. */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1GcsDestination *artifactDestination; + +/** + * Optional. By default, bison to gemini migration will always create new + * model/endpoint, but for gemini-1.0 to gemini-1.5 migration, we default + * deploy to the same endpoint. See details in this Section. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *deployToSameEndpoint; + +/** + * Required. TunedModel reference to retrieve the legacy model information. + */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1TunedModelRef *tunedModelRef; + +/** + * Optional. The TuningJob to be updated. Users can use this TuningJob field to + * overwrite tuning configs. + */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1TuningJob *tuningJob; + +@end + + /** * Details of operations that perform reboot PersistentResource. */ @@ -23867,6 +24081,9 @@ GTLR_DEPRECATED * Output only. Harm category. * * Likely values: + * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1SafetyRating_Category_HarmCategoryCivicIntegrity + * The harm category is civic integrity. (Value: + * "HARM_CATEGORY_CIVIC_INTEGRITY") * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1SafetyRating_Category_HarmCategoryDangerousContent * The harm category is dangerous content. (Value: * "HARM_CATEGORY_DANGEROUS_CONTENT") @@ -23967,6 +24184,9 @@ GTLR_DEPRECATED * Required. Harm category. * * Likely values: + * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1SafetySetting_Category_HarmCategoryCivicIntegrity + * The harm category is civic integrity. (Value: + * "HARM_CATEGORY_CIVIC_INTEGRITY") * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1SafetySetting_Category_HarmCategoryDangerousContent * The harm category is dangerous content. (Value: * "HARM_CATEGORY_DANGEROUS_CONTENT") @@ -24016,6 +24236,8 @@ GTLR_DEPRECATED * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1SafetySetting_Threshold_HarmBlockThresholdUnspecified * Unspecified harm block threshold. (Value: * "HARM_BLOCK_THRESHOLD_UNSPECIFIED") + * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1SafetySetting_Threshold_Off + * Turn off the safety filter. (Value: "OFF") */ @property(nonatomic, copy, nullable) NSString *threshold; @@ -24222,6 +24444,9 @@ GTLR_DEPRECATED */ @property(nonatomic, strong, nullable) NSNumber *catchUp; +/** Request for NotebookService.CreateNotebookExecutionJob. */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1CreateNotebookExecutionJobRequest *createNotebookExecutionJobRequest; + /** * Request for PipelineService.CreatePipelineJob. * CreatePipelineJobRequest.parent field is required (format: @@ -24428,6 +24653,12 @@ GTLR_DEPRECATED */ @interface GTLRAiplatform_GoogleCloudAiplatformV1Schema : GTLRObject +/** + * Optional. The value should be validated against any (one or more) of the + * subschemas in the list. + */ +@property(nonatomic, strong, nullable) NSArray *anyOf; + /** * Optional. Default value of the data. * @@ -24546,6 +24777,12 @@ GTLR_DEPRECATED /** Optional. SCHEMA FIELDS FOR TYPE OBJECT Properties of Type.OBJECT. */ @property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1Schema_Properties *properties; +/** + * Optional. The order of the properties. Not a standard field in open api + * spec. Only used to support the order of the properties. + */ +@property(nonatomic, strong, nullable) NSArray *propertyOrdering; + /** Optional. Required properties of Type.OBJECT. */ @property(nonatomic, strong, nullable) NSArray *required; @@ -27139,6 +27376,14 @@ GTLR_DEPRECATED */ @property(nonatomic, strong, nullable) NSNumber *hasPromptVariable; +/** + * Whether or not the user has enabled logit probabilities in the model + * parameters. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *logprobs; + /** * Value of the maximum number of tokens generated set when the dataset was * saved. @@ -27153,6 +27398,22 @@ GTLR_DEPRECATED /** Type of the prompt dataset. */ @property(nonatomic, copy, nullable) NSString *promptType; +/** + * Seeding enables model to return a deterministic response on a best effort + * basis. Determinism isn't guaranteed. This field determines whether or not + * seeding is enabled. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *seedEnabled; + +/** + * The actual value of the seed. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *seedValue; + /** Customized stop sequences. */ @property(nonatomic, strong, nullable) NSArray *stopSequences; @@ -31552,7 +31813,7 @@ GTLR_DEPRECATED /** - * Tuning Spec for Supervised Tuning. + * Tuning Spec for Supervised Tuning for first party models. */ @interface GTLRAiplatform_GoogleCloudAiplatformV1SupervisedTuningSpec : GTLRObject @@ -32361,7 +32622,7 @@ GTLR_DEPRECATED * subset of these functions by populating FunctionCall in the response. User * should provide a FunctionResponse for each function call in the next turn. * Based on the function responses, Model will generate the final response back - * to the user. Maximum 64 function declarations can be provided. + * to the user. Maximum 128 function declarations can be provided. */ @property(nonatomic, strong, nullable) NSArray *functionDeclarations; @@ -33036,6 +33297,29 @@ GTLR_DEPRECATED @end +/** + * TunedModel Reference for legacy model migration. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1TunedModelRef : GTLRObject + +/** + * Support migration from tuning job list page, from bison model to gemini + * model. + */ +@property(nonatomic, copy, nullable) NSString *pipelineJob; + +/** Support migration from model registry. */ +@property(nonatomic, copy, nullable) NSString *tunedModel; + +/** + * Support migration from tuning job list page, from gemini-1.0-pro-002 to 1.5 + * and above. + */ +@property(nonatomic, copy, nullable) NSString *tuningJob; + +@end + + /** * The tuning data statistic values for TuningJob. */ diff --git a/Sources/GeneratedServices/Aiplatform/Public/GoogleAPIClientForREST/GTLRAiplatformQuery.h b/Sources/GeneratedServices/Aiplatform/Public/GoogleAPIClientForREST/GTLRAiplatformQuery.h index 13cc4147a..8faaa0996 100644 --- a/Sources/GeneratedServices/Aiplatform/Public/GoogleAPIClientForREST/GTLRAiplatformQuery.h +++ b/Sources/GeneratedServices/Aiplatform/Public/GoogleAPIClientForREST/GTLRAiplatformQuery.h @@ -4914,7 +4914,7 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatformViewPublisherModelViewUnspecif /** * Required. The ID to use for this FeatureGroup, which will become the final - * component of the FeatureGroup's resource name. This value may be up to 60 + * component of the FeatureGroup's resource name. This value may be up to 128 * characters, and valid characters are `[a-z0-9_]`. The first character cannot * be a number. The value must be unique within the project and location. */ @@ -22241,6 +22241,38 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatformViewPublisherModelViewUnspecif @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: aiplatform.projects.locations.tuningJobs.operations.delete + * + * Authorization scope(s): + * @c kGTLRAuthScopeAiplatformCloudPlatform + */ +@interface GTLRAiplatformQuery_ProjectsLocationsTuningJobsOperationsDelete : GTLRAiplatformQuery + +/** The name of the operation resource to be deleted. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRAiplatform_GoogleProtobufEmpty. + * + * 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 GTLRAiplatformQuery_ProjectsLocationsTuningJobsOperationsDelete + */ ++ (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 @@ -22312,6 +22344,40 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatformViewPublisherModelViewUnspecif @end +/** + * Rebase a TunedModel. + * + * Method: aiplatform.projects.locations.tuningJobs.rebaseTunedModel + * + * Authorization scope(s): + * @c kGTLRAuthScopeAiplatformCloudPlatform + */ +@interface GTLRAiplatformQuery_ProjectsLocationsTuningJobsRebaseTunedModel : GTLRAiplatformQuery + +/** + * Required. The resource name of the Location into which to rebase the Model. + * Format: `projects/{project}/locations/{location}` + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRAiplatform_GoogleLongrunningOperation. + * + * Rebase a TunedModel. + * + * @param object The @c + * GTLRAiplatform_GoogleCloudAiplatformV1RebaseTunedModelRequest to include + * in the query. + * @param parent Required. The resource name of the Location into which to + * rebase the Model. Format: `projects/{project}/locations/{location}` + * + * @return GTLRAiplatformQuery_ProjectsLocationsTuningJobsRebaseTunedModel + */ ++ (instancetype)queryWithObject:(GTLRAiplatform_GoogleCloudAiplatformV1RebaseTunedModelRequest *)object + parent:(NSString *)parent; + +@end + /** * Return a list of tokens based on the input text. * diff --git a/Sources/GeneratedServices/AndroidManagement/GTLRAndroidManagementObjects.m b/Sources/GeneratedServices/AndroidManagement/GTLRAndroidManagementObjects.m index 4cbb8a659..1b8495d97 100644 --- a/Sources/GeneratedServices/AndroidManagement/GTLRAndroidManagementObjects.m +++ b/Sources/GeneratedServices/AndroidManagement/GTLRAndroidManagementObjects.m @@ -19,6 +19,12 @@ NSString * const kGTLRAndroidManagement_AdvancedSecurityOverrides_CommonCriteriaMode_CommonCriteriaModeEnabled = @"COMMON_CRITERIA_MODE_ENABLED"; NSString * const kGTLRAndroidManagement_AdvancedSecurityOverrides_CommonCriteriaMode_CommonCriteriaModeUnspecified = @"COMMON_CRITERIA_MODE_UNSPECIFIED"; +// GTLRAndroidManagement_AdvancedSecurityOverrides.contentProtectionPolicy +NSString * const kGTLRAndroidManagement_AdvancedSecurityOverrides_ContentProtectionPolicy_ContentProtectionDisabled = @"CONTENT_PROTECTION_DISABLED"; +NSString * const kGTLRAndroidManagement_AdvancedSecurityOverrides_ContentProtectionPolicy_ContentProtectionEnforced = @"CONTENT_PROTECTION_ENFORCED"; +NSString * const kGTLRAndroidManagement_AdvancedSecurityOverrides_ContentProtectionPolicy_ContentProtectionPolicyUnspecified = @"CONTENT_PROTECTION_POLICY_UNSPECIFIED"; +NSString * const kGTLRAndroidManagement_AdvancedSecurityOverrides_ContentProtectionPolicy_ContentProtectionUserChoice = @"CONTENT_PROTECTION_USER_CHOICE"; + // GTLRAndroidManagement_AdvancedSecurityOverrides.developerSettings NSString * const kGTLRAndroidManagement_AdvancedSecurityOverrides_DeveloperSettings_DeveloperSettingsAllowed = @"DEVELOPER_SETTINGS_ALLOWED"; NSString * const kGTLRAndroidManagement_AdvancedSecurityOverrides_DeveloperSettings_DeveloperSettingsDisabled = @"DEVELOPER_SETTINGS_DISABLED"; @@ -183,6 +189,13 @@ NSString * const kGTLRAndroidManagement_CommonCriteriaModeInfo_CommonCriteriaModeStatus_CommonCriteriaModeEnabled = @"COMMON_CRITERIA_MODE_ENABLED"; NSString * const kGTLRAndroidManagement_CommonCriteriaModeInfo_CommonCriteriaModeStatus_CommonCriteriaModeStatusUnknown = @"COMMON_CRITERIA_MODE_STATUS_UNKNOWN"; +// GTLRAndroidManagement_CommonCriteriaModeInfo.policySignatureVerificationStatus +NSString * const kGTLRAndroidManagement_CommonCriteriaModeInfo_PolicySignatureVerificationStatus_PolicySignatureVerificationDisabled = @"POLICY_SIGNATURE_VERIFICATION_DISABLED"; +NSString * const kGTLRAndroidManagement_CommonCriteriaModeInfo_PolicySignatureVerificationStatus_PolicySignatureVerificationFailed = @"POLICY_SIGNATURE_VERIFICATION_FAILED"; +NSString * const kGTLRAndroidManagement_CommonCriteriaModeInfo_PolicySignatureVerificationStatus_PolicySignatureVerificationNotSupported = @"POLICY_SIGNATURE_VERIFICATION_NOT_SUPPORTED"; +NSString * const kGTLRAndroidManagement_CommonCriteriaModeInfo_PolicySignatureVerificationStatus_PolicySignatureVerificationStatusUnspecified = @"POLICY_SIGNATURE_VERIFICATION_STATUS_UNSPECIFIED"; +NSString * const kGTLRAndroidManagement_CommonCriteriaModeInfo_PolicySignatureVerificationStatus_PolicySignatureVerificationSucceeded = @"POLICY_SIGNATURE_VERIFICATION_SUCCEEDED"; + // GTLRAndroidManagement_CrossProfilePolicies.crossProfileCopyPaste NSString * const kGTLRAndroidManagement_CrossProfilePolicies_CrossProfileCopyPaste_CopyFromWorkToPersonalDisallowed = @"COPY_FROM_WORK_TO_PERSONAL_DISALLOWED"; NSString * const kGTLRAndroidManagement_CrossProfilePolicies_CrossProfileCopyPaste_CrossProfileCopyPasteAllowed = @"CROSS_PROFILE_COPY_PASTE_ALLOWED"; @@ -758,6 +771,11 @@ NSString * const kGTLRAndroidManagement_WebToken_Permissions_ApproveApps = @"APPROVE_APPS"; NSString * const kGTLRAndroidManagement_WebToken_Permissions_WebTokenPermissionUnspecified = @"WEB_TOKEN_PERMISSION_UNSPECIFIED"; +// GTLRAndroidManagement_WifiRoamingSetting.wifiRoamingMode +NSString * const kGTLRAndroidManagement_WifiRoamingSetting_WifiRoamingMode_WifiRoamingAggressive = @"WIFI_ROAMING_AGGRESSIVE"; +NSString * const kGTLRAndroidManagement_WifiRoamingSetting_WifiRoamingMode_WifiRoamingDefault = @"WIFI_ROAMING_DEFAULT"; +NSString * const kGTLRAndroidManagement_WifiRoamingSetting_WifiRoamingMode_WifiRoamingModeUnspecified = @"WIFI_ROAMING_MODE_UNSPECIFIED"; + // GTLRAndroidManagement_WifiSsidPolicy.wifiSsidPolicyType NSString * const kGTLRAndroidManagement_WifiSsidPolicy_WifiSsidPolicyType_WifiSsidAllowlist = @"WIFI_SSID_ALLOWLIST"; NSString * const kGTLRAndroidManagement_WifiSsidPolicy_WifiSsidPolicyType_WifiSsidDenylist = @"WIFI_SSID_DENYLIST"; @@ -792,9 +810,9 @@ @implementation GTLRAndroidManagement_AdbShellInteractiveEvent // @implementation GTLRAndroidManagement_AdvancedSecurityOverrides -@dynamic commonCriteriaMode, developerSettings, googlePlayProtectVerifyApps, - mtePolicy, personalAppsThatCanReadWorkNotifications, - untrustedAppsPolicy; +@dynamic commonCriteriaMode, contentProtectionPolicy, developerSettings, + googlePlayProtectVerifyApps, mtePolicy, + personalAppsThatCanReadWorkNotifications, untrustedAppsPolicy; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -1157,7 +1175,7 @@ @implementation GTLRAndroidManagement_Command // @implementation GTLRAndroidManagement_CommonCriteriaModeInfo -@dynamic commonCriteriaModeStatus; +@dynamic commonCriteriaModeStatus, policySignatureVerificationStatus; @end @@ -1307,7 +1325,7 @@ + (Class)classForAdditionalProperties { @implementation GTLRAndroidManagement_DeviceConnectivityManagement @dynamic configureWifi, tetheringSettings, usbDataAccess, wifiDirectSettings, - wifiSsidPolicy; + wifiRoamingPolicy, wifiSsidPolicy; @end @@ -2745,6 +2763,34 @@ @implementation GTLRAndroidManagement_WebToken @end +// ---------------------------------------------------------------------------- +// +// GTLRAndroidManagement_WifiRoamingPolicy +// + +@implementation GTLRAndroidManagement_WifiRoamingPolicy +@dynamic wifiRoamingSettings; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"wifiRoamingSettings" : [GTLRAndroidManagement_WifiRoamingSetting class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAndroidManagement_WifiRoamingSetting +// + +@implementation GTLRAndroidManagement_WifiRoamingSetting +@dynamic wifiRoamingMode, wifiSsid; +@end + + // ---------------------------------------------------------------------------- // // GTLRAndroidManagement_WifiSsid diff --git a/Sources/GeneratedServices/AndroidManagement/Public/GoogleAPIClientForREST/GTLRAndroidManagementObjects.h b/Sources/GeneratedServices/AndroidManagement/Public/GoogleAPIClientForREST/GTLRAndroidManagementObjects.h index 85d86b13f..bfaf33035 100644 --- a/Sources/GeneratedServices/AndroidManagement/Public/GoogleAPIClientForREST/GTLRAndroidManagementObjects.h +++ b/Sources/GeneratedServices/AndroidManagement/Public/GoogleAPIClientForREST/GTLRAndroidManagementObjects.h @@ -143,6 +143,8 @@ @class GTLRAndroidManagement_UserFacingMessage_LocalizedMessages; @class GTLRAndroidManagement_WebApp; @class GTLRAndroidManagement_WebAppIcon; +@class GTLRAndroidManagement_WifiRoamingPolicy; +@class GTLRAndroidManagement_WifiRoamingSetting; @class GTLRAndroidManagement_WifiSsid; @class GTLRAndroidManagement_WifiSsidPolicy; @class GTLRAndroidManagement_WipeAction; @@ -181,6 +183,39 @@ FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_AdvancedSecurityOverri */ FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_AdvancedSecurityOverrides_CommonCriteriaMode_CommonCriteriaModeUnspecified; +// ---------------------------------------------------------------------------- +// GTLRAndroidManagement_AdvancedSecurityOverrides.contentProtectionPolicy + +/** + * Content protection is disabled and the user cannot change this. + * + * Value: "CONTENT_PROTECTION_DISABLED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_AdvancedSecurityOverrides_ContentProtectionPolicy_ContentProtectionDisabled; +/** + * Content protection is enabled and the user cannot change this.Supported on + * Android 15 and above. A nonComplianceDetail with API_LEVEL is reported if + * the Android version is less than 15. + * + * Value: "CONTENT_PROTECTION_ENFORCED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_AdvancedSecurityOverrides_ContentProtectionPolicy_ContentProtectionEnforced; +/** + * Unspecified. Defaults to CONTENT_PROTECTION_DISABLED. + * + * Value: "CONTENT_PROTECTION_POLICY_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_AdvancedSecurityOverrides_ContentProtectionPolicy_ContentProtectionPolicyUnspecified; +/** + * Content protection is not controlled by the policy. The user is allowed to + * choose the behavior of content protection.Supported on Android 15 and above. + * A nonComplianceDetail with API_LEVEL is reported if the Android version is + * less than 15. + * + * Value: "CONTENT_PROTECTION_USER_CHOICE" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_AdvancedSecurityOverrides_ContentProtectionPolicy_ContentProtectionUserChoice; + // ---------------------------------------------------------------------------- // GTLRAndroidManagement_AdvancedSecurityOverrides.developerSettings @@ -1071,6 +1106,44 @@ FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_CommonCriteriaModeInfo */ FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_CommonCriteriaModeInfo_CommonCriteriaModeStatus_CommonCriteriaModeStatusUnknown; +// ---------------------------------------------------------------------------- +// GTLRAndroidManagement_CommonCriteriaModeInfo.policySignatureVerificationStatus + +/** + * Policy signature verification is disabled on the device as + * common_criteria_mode is set to false. + * + * Value: "POLICY_SIGNATURE_VERIFICATION_DISABLED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_CommonCriteriaModeInfo_PolicySignatureVerificationStatus_PolicySignatureVerificationDisabled; +/** + * The policy signature verification failed. The policy has not been applied. + * + * Value: "POLICY_SIGNATURE_VERIFICATION_FAILED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_CommonCriteriaModeInfo_PolicySignatureVerificationStatus_PolicySignatureVerificationFailed; +/** + * Policy signature verification is not supported, e.g. because the device has + * been enrolled with a CloudDPC version that does not support the policy + * signature verification. + * + * Value: "POLICY_SIGNATURE_VERIFICATION_NOT_SUPPORTED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_CommonCriteriaModeInfo_PolicySignatureVerificationStatus_PolicySignatureVerificationNotSupported; +/** + * Unspecified. The verification status has not been reported. This is set only + * if statusReportingSettings.commonCriteriaModeEnabled is false. + * + * Value: "POLICY_SIGNATURE_VERIFICATION_STATUS_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_CommonCriteriaModeInfo_PolicySignatureVerificationStatus_PolicySignatureVerificationStatusUnspecified; +/** + * Policy signature verification succeeded. + * + * Value: "POLICY_SIGNATURE_VERIFICATION_SUCCEEDED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_CommonCriteriaModeInfo_PolicySignatureVerificationStatus_PolicySignatureVerificationSucceeded; + // ---------------------------------------------------------------------------- // GTLRAndroidManagement_CrossProfilePolicies.crossProfileCopyPaste @@ -3565,7 +3638,8 @@ FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_ProvisioningInfo_Owner * brightness. screenBrightness can still be set and it is taken into account * while the brightness is automatically adjusted. Supported on Android 9 and * above on fully managed devices. A NonComplianceDetail with API_LEVEL is - * reported if the Android version is less than 9. + * reported if the Android version is less than 9. Supported on work profiles + * on company-owned devices on Android 15 and above. * * Value: "BRIGHTNESS_AUTOMATIC" */ @@ -3575,7 +3649,8 @@ FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_ScreenBrightnessSettin * screenBrightness and the user is not allowed to configure the screen * brightness. screenBrightness must be set. Supported on Android 9 and above * on fully managed devices. A NonComplianceDetail with API_LEVEL is reported - * if the Android version is less than 9. + * if the Android version is less than 9. Supported on work profiles on + * company-owned devices on Android 15 and above. * * Value: "BRIGHTNESS_FIXED" */ @@ -3601,7 +3676,8 @@ FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_ScreenBrightnessSettin * The screen timeout is set to screenTimeout and the user is not allowed to * configure the timeout. screenTimeout must be set. Supported on Android 9 and * above on fully managed devices. A NonComplianceDetail with API_LEVEL is - * reported if the Android version is less than 9. + * reported if the Android version is less than 9. Supported on work profiles + * on company-owned devices on Android 15 and above. * * Value: "SCREEN_TIMEOUT_ENFORCED" */ @@ -4216,6 +4292,34 @@ FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_WebToken_Permissions_A */ FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_WebToken_Permissions_WebTokenPermissionUnspecified; +// ---------------------------------------------------------------------------- +// GTLRAndroidManagement_WifiRoamingSetting.wifiRoamingMode + +/** + * Aggressive roaming mode which allows quicker Wi-Fi roaming. Supported on + * Android 15 and above on fully managed devices and work profiles on + * company-owned devices. A nonComplianceDetail with MANAGEMENT_MODE is + * reported for other management modes. A nonComplianceDetail with API_LEVEL is + * reported if the Android version is less than 15. A nonComplianceDetail with + * DEVICE_INCOMPATIBLE is reported if the device does not support aggressive + * roaming mode. + * + * Value: "WIFI_ROAMING_AGGRESSIVE" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_WifiRoamingSetting_WifiRoamingMode_WifiRoamingAggressive; +/** + * Default Wi-Fi roaming mode of the device. + * + * Value: "WIFI_ROAMING_DEFAULT" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_WifiRoamingSetting_WifiRoamingMode_WifiRoamingDefault; +/** + * Unspecified. Defaults to WIFI_ROAMING_DEFAULT. + * + * Value: "WIFI_ROAMING_MODE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_WifiRoamingSetting_WifiRoamingMode_WifiRoamingModeUnspecified; + // ---------------------------------------------------------------------------- // GTLRAndroidManagement_WifiSsidPolicy.wifiSsidPolicyType @@ -4272,13 +4376,14 @@ FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_WifiSsidPolicy_WifiSsi * Controls Common Criteria Mode—security standards defined in the Common * Criteria for Information Technology Security Evaluation * (https://www.commoncriteriaportal.org/) (CC). Enabling Common Criteria Mode - * increases certain security components on a device, including AES-GCM - * encryption of Bluetooth Long Term Keys, and Wi-Fi configuration - * stores.Common Criteria Mode is only supported on company-owned devices - * running Android 11 or above.Warning: Common Criteria Mode enforces a strict - * security model typically only required for IT products used in national - * security systems and other highly sensitive organizations. Standard device - * use may be affected. Only enabled if required. + * increases certain security components on a device, see CommonCriteriaMode + * for details.Warning: Common Criteria Mode enforces a strict security model + * typically only required for IT products used in national security systems + * and other highly sensitive organizations. Standard device use may be + * affected. Only enabled if required. If Common Criteria Mode is turned off + * after being enabled previously, all user-configured Wi-Fi networks may be + * lost and any enterprise-configured Wi-Fi networks that require user input + * may need to be reconfigured. * * Likely values: * @arg @c kGTLRAndroidManagement_AdvancedSecurityOverrides_CommonCriteriaMode_CommonCriteriaModeDisabled @@ -4292,6 +4397,31 @@ FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_WifiSsidPolicy_WifiSsi */ @property(nonatomic, copy, nullable) NSString *commonCriteriaMode; +/** + * Optional. Controls whether content protection, which scans for deceptive + * apps, is enabled. This is supported on Android 15 and above. + * + * Likely values: + * @arg @c kGTLRAndroidManagement_AdvancedSecurityOverrides_ContentProtectionPolicy_ContentProtectionDisabled + * Content protection is disabled and the user cannot change this. + * (Value: "CONTENT_PROTECTION_DISABLED") + * @arg @c kGTLRAndroidManagement_AdvancedSecurityOverrides_ContentProtectionPolicy_ContentProtectionEnforced + * Content protection is enabled and the user cannot change + * this.Supported on Android 15 and above. A nonComplianceDetail with + * API_LEVEL is reported if the Android version is less than 15. (Value: + * "CONTENT_PROTECTION_ENFORCED") + * @arg @c kGTLRAndroidManagement_AdvancedSecurityOverrides_ContentProtectionPolicy_ContentProtectionPolicyUnspecified + * Unspecified. Defaults to CONTENT_PROTECTION_DISABLED. (Value: + * "CONTENT_PROTECTION_POLICY_UNSPECIFIED") + * @arg @c kGTLRAndroidManagement_AdvancedSecurityOverrides_ContentProtectionPolicy_ContentProtectionUserChoice + * Content protection is not controlled by the policy. The user is + * allowed to choose the behavior of content protection.Supported on + * Android 15 and above. A nonComplianceDetail with API_LEVEL is reported + * if the Android version is less than 15. (Value: + * "CONTENT_PROTECTION_USER_CHOICE") + */ +@property(nonatomic, copy, nullable) NSString *contentProtectionPolicy; + /** * Controls access to developer settings: developer options and safe boot. * Replaces safeBootDisabled (deprecated) and debuggingFeaturesAllowed @@ -5573,6 +5703,32 @@ GTLR_DEPRECATED */ @property(nonatomic, copy, nullable) NSString *commonCriteriaModeStatus; +/** + * Output only. The status of policy signature verification. + * + * Likely values: + * @arg @c kGTLRAndroidManagement_CommonCriteriaModeInfo_PolicySignatureVerificationStatus_PolicySignatureVerificationDisabled + * Policy signature verification is disabled on the device as + * common_criteria_mode is set to false. (Value: + * "POLICY_SIGNATURE_VERIFICATION_DISABLED") + * @arg @c kGTLRAndroidManagement_CommonCriteriaModeInfo_PolicySignatureVerificationStatus_PolicySignatureVerificationFailed + * The policy signature verification failed. The policy has not been + * applied. (Value: "POLICY_SIGNATURE_VERIFICATION_FAILED") + * @arg @c kGTLRAndroidManagement_CommonCriteriaModeInfo_PolicySignatureVerificationStatus_PolicySignatureVerificationNotSupported + * Policy signature verification is not supported, e.g. because the + * device has been enrolled with a CloudDPC version that does not support + * the policy signature verification. (Value: + * "POLICY_SIGNATURE_VERIFICATION_NOT_SUPPORTED") + * @arg @c kGTLRAndroidManagement_CommonCriteriaModeInfo_PolicySignatureVerificationStatus_PolicySignatureVerificationStatusUnspecified + * Unspecified. The verification status has not been reported. This is + * set only if statusReportingSettings.commonCriteriaModeEnabled is + * false. (Value: "POLICY_SIGNATURE_VERIFICATION_STATUS_UNSPECIFIED") + * @arg @c kGTLRAndroidManagement_CommonCriteriaModeInfo_PolicySignatureVerificationStatus_PolicySignatureVerificationSucceeded + * Policy signature verification succeeded. (Value: + * "POLICY_SIGNATURE_VERIFICATION_SUCCEEDED") + */ +@property(nonatomic, copy, nullable) NSString *policySignatureVerificationStatus; + @end @@ -6323,6 +6479,9 @@ GTLR_DEPRECATED */ @property(nonatomic, copy, nullable) NSString *wifiDirectSettings; +/** Optional. Wi-Fi roaming policy. */ +@property(nonatomic, strong, nullable) GTLRAndroidManagement_WifiRoamingPolicy *wifiRoamingPolicy; + /** * Restrictions on which Wi-Fi SSIDs the device can connect to. Note that this * does not affect which networks can be configured on the device. Supported on @@ -10106,7 +10265,8 @@ GTLR_DEPRECATED * brightness set. Any other value is rejected. screenBrightnessMode must be * either BRIGHTNESS_AUTOMATIC or BRIGHTNESS_FIXED to set this. Supported on * Android 9 and above on fully managed devices. A NonComplianceDetail with - * API_LEVEL is reported if the Android version is less than 9. + * API_LEVEL is reported if the Android version is less than 9. Supported on + * work profiles on company-owned devices on Android 15 and above. * * Uses NSNumber of intValue. */ @@ -10123,13 +10283,15 @@ GTLR_DEPRECATED * into account while the brightness is automatically adjusted. Supported * on Android 9 and above on fully managed devices. A NonComplianceDetail * with API_LEVEL is reported if the Android version is less than 9. - * (Value: "BRIGHTNESS_AUTOMATIC") + * Supported on work profiles on company-owned devices on Android 15 and + * above. (Value: "BRIGHTNESS_AUTOMATIC") * @arg @c kGTLRAndroidManagement_ScreenBrightnessSettings_ScreenBrightnessMode_BrightnessFixed * The screen brightness mode is fixed in which the brightness is set to * screenBrightness and the user is not allowed to configure the screen * brightness. screenBrightness must be set. Supported on Android 9 and * above on fully managed devices. A NonComplianceDetail with API_LEVEL - * is reported if the Android version is less than 9. (Value: + * is reported if the Android version is less than 9. Supported on work + * profiles on company-owned devices on Android 15 and above. (Value: * "BRIGHTNESS_FIXED") * @arg @c kGTLRAndroidManagement_ScreenBrightnessSettings_ScreenBrightnessMode_BrightnessUserChoice * The user is allowed to configure the screen brightness. @@ -10158,7 +10320,8 @@ GTLR_DEPRECATED * set to the lower bound. The lower bound may vary across devices. If this is * set, screenTimeoutMode must be SCREEN_TIMEOUT_ENFORCED. Supported on Android * 9 and above on fully managed devices. A NonComplianceDetail with API_LEVEL - * is reported if the Android version is less than 9. + * is reported if the Android version is less than 9. Supported on work + * profiles on company-owned devices on Android 15 and above. */ @property(nonatomic, strong, nullable) GTLRDuration *screenTimeout; @@ -10172,7 +10335,8 @@ GTLR_DEPRECATED * to configure the timeout. screenTimeout must be set. Supported on * Android 9 and above on fully managed devices. A NonComplianceDetail * with API_LEVEL is reported if the Android version is less than 9. - * (Value: "SCREEN_TIMEOUT_ENFORCED") + * Supported on work profiles on company-owned devices on Android 15 and + * above. (Value: "SCREEN_TIMEOUT_ENFORCED") * @arg @c kGTLRAndroidManagement_ScreenTimeoutSettings_ScreenTimeoutMode_ScreenTimeoutModeUnspecified * Unspecified. Defaults to SCREEN_TIMEOUT_USER_CHOICE. (Value: * "SCREEN_TIMEOUT_MODE_UNSPECIFIED") @@ -11275,6 +11439,53 @@ GTLR_DEPRECATED @end +/** + * Wi-Fi roaming policy. + */ +@interface GTLRAndroidManagement_WifiRoamingPolicy : GTLRObject + +/** + * Optional. Wi-Fi roaming settings. SSIDs provided in this list must be + * unique, the policy will be rejected otherwise. + */ +@property(nonatomic, strong, nullable) NSArray *wifiRoamingSettings; + +@end + + +/** + * Wi-Fi roaming setting. + */ +@interface GTLRAndroidManagement_WifiRoamingSetting : GTLRObject + +/** + * Required. Wi-Fi roaming mode for the specified SSID. + * + * Likely values: + * @arg @c kGTLRAndroidManagement_WifiRoamingSetting_WifiRoamingMode_WifiRoamingAggressive + * Aggressive roaming mode which allows quicker Wi-Fi roaming. Supported + * on Android 15 and above on fully managed devices and work profiles on + * company-owned devices. A nonComplianceDetail with MANAGEMENT_MODE is + * reported for other management modes. A nonComplianceDetail with + * API_LEVEL is reported if the Android version is less than 15. A + * nonComplianceDetail with DEVICE_INCOMPATIBLE is reported if the device + * does not support aggressive roaming mode. (Value: + * "WIFI_ROAMING_AGGRESSIVE") + * @arg @c kGTLRAndroidManagement_WifiRoamingSetting_WifiRoamingMode_WifiRoamingDefault + * Default Wi-Fi roaming mode of the device. (Value: + * "WIFI_ROAMING_DEFAULT") + * @arg @c kGTLRAndroidManagement_WifiRoamingSetting_WifiRoamingMode_WifiRoamingModeUnspecified + * Unspecified. Defaults to WIFI_ROAMING_DEFAULT. (Value: + * "WIFI_ROAMING_MODE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *wifiRoamingMode; + +/** Required. SSID of the Wi-Fi network. */ +@property(nonatomic, copy, nullable) NSString *wifiSsid; + +@end + + /** * Represents a Wi-Fi SSID. */ diff --git a/Sources/GeneratedServices/AndroidProvisioningPartner/GTLRAndroidProvisioningPartnerObjects.m b/Sources/GeneratedServices/AndroidProvisioningPartner/GTLRAndroidProvisioningPartnerObjects.m index 785aee25e..97ef0f502 100644 --- a/Sources/GeneratedServices/AndroidProvisioningPartner/GTLRAndroidProvisioningPartnerObjects.m +++ b/Sources/GeneratedServices/AndroidProvisioningPartner/GTLRAndroidProvisioningPartnerObjects.m @@ -312,8 +312,8 @@ @implementation GTLRAndroidProvisioningPartner_DeviceClaim // @implementation GTLRAndroidProvisioningPartner_DeviceIdentifier -@dynamic chromeOsAttestedDeviceId, deviceType, imei, manufacturer, meid, model, - serialNumber; +@dynamic chromeOsAttestedDeviceId, deviceType, imei, imei2, manufacturer, meid, + meid2, model, serialNumber; @end diff --git a/Sources/GeneratedServices/AndroidProvisioningPartner/Public/GoogleAPIClientForREST/GTLRAndroidProvisioningPartnerObjects.h b/Sources/GeneratedServices/AndroidProvisioningPartner/Public/GoogleAPIClientForREST/GTLRAndroidProvisioningPartnerObjects.h index f49d0278f..fff0846cf 100644 --- a/Sources/GeneratedServices/AndroidProvisioningPartner/Public/GoogleAPIClientForREST/GTLRAndroidProvisioningPartnerObjects.h +++ b/Sources/GeneratedServices/AndroidProvisioningPartner/Public/GoogleAPIClientForREST/GTLRAndroidProvisioningPartnerObjects.h @@ -933,6 +933,9 @@ FOUNDATION_EXTERN NSString * const kGTLRAndroidProvisioningPartner_UnclaimDevice /** The device’s IMEI number. Validated on input. */ @property(nonatomic, copy, nullable) NSString *imei; +/** The device’s second IMEI number. */ +@property(nonatomic, copy, nullable) NSString *imei2; + /** * The device manufacturer’s name. Matches the device's built-in value returned * from `android.os.Build.MANUFACTURER`. Allowed values are listed in [Android @@ -943,6 +946,9 @@ FOUNDATION_EXTERN NSString * const kGTLRAndroidProvisioningPartner_UnclaimDevice /** The device’s MEID number. */ @property(nonatomic, copy, nullable) NSString *meid; +/** The device’s second MEID number. */ +@property(nonatomic, copy, nullable) NSString *meid2; + /** * The device model's name. Allowed values are listed in [Android * models](/zero-touch/resources/manufacturer-names#model-names) and [Chrome OS diff --git a/Sources/GeneratedServices/AndroidPublisher/Public/GoogleAPIClientForREST/GTLRAndroidPublisherObjects.h b/Sources/GeneratedServices/AndroidPublisher/Public/GoogleAPIClientForREST/GTLRAndroidPublisherObjects.h index 2b7250186..e5e6ff766 100644 --- a/Sources/GeneratedServices/AndroidPublisher/Public/GoogleAPIClientForREST/GTLRAndroidPublisherObjects.h +++ b/Sources/GeneratedServices/AndroidPublisher/Public/GoogleAPIClientForREST/GTLRAndroidPublisherObjects.h @@ -2282,8 +2282,9 @@ GTLR_DEPRECATED @property(nonatomic, copy, nullable) NSString *accountHoldDuration; /** - * Required. Subscription period, specified in ISO 8601 format. For a list of - * acceptable billing periods, refer to the help center. + * Required. Immutable. Subscription period, specified in ISO 8601 format. For + * a list of acceptable billing periods, refer to the help center. The duration + * is immutable after the base plan is created. */ @property(nonatomic, copy, nullable) NSString *billingPeriodDuration; @@ -4290,13 +4291,15 @@ GTLR_DEPRECATED @property(nonatomic, copy, nullable) NSString *accountHoldDuration; /** - * Required. Subscription period, specified in ISO 8601 format. For a list of - * acceptable billing periods, refer to the help center. + * Required. Immutable. Subscription period, specified in ISO 8601 format. For + * a list of acceptable billing periods, refer to the help center. The duration + * is immutable after the base plan is created. */ @property(nonatomic, copy, nullable) NSString *billingPeriodDuration; /** - * Required. The number of payments the user is committed to. + * Required. Immutable. The number of payments the user is committed to. It is + * immutable after the base plan is created. * * Uses NSNumber of intValue. */ @@ -4331,8 +4334,9 @@ GTLR_DEPRECATED @property(nonatomic, copy, nullable) NSString *prorationMode; /** - * Required. Installments base plan renewal type. Determines the behavior at - * the end of the initial commitment. + * Required. Immutable. Installments base plan renewal type. Determines the + * behavior at the end of the initial commitment. The renewal type is immutable + * after the base plan is created. * * Likely values: * @arg @c kGTLRAndroidPublisher_InstallmentsBasePlanType_RenewalType_RenewalTypeRenewsWithCommitment @@ -5105,8 +5109,9 @@ GTLR_DEPRECATED @interface GTLRAndroidPublisher_PrepaidBasePlanType : GTLRObject /** - * Required. Subscription period, specified in ISO 8601 format. For a list of - * acceptable billing periods, refer to the help center. + * Required. Immutable. Subscription period, specified in ISO 8601 format. For + * a list of acceptable billing periods, refer to the help center. The duration + * is immutable after the base plan is created. */ @property(nonatomic, copy, nullable) NSString *billingPeriodDuration; @@ -6230,9 +6235,8 @@ GTLR_DEPRECATED /** * Required. The phases of this subscription offer. Must contain at least one - * entry, and may contain at most five. Users will always receive all these - * phases in the specified order. Phases may not be added, removed, or - * reordered after initial creation. + * and at most two entries. Users will always receive all these phases in the + * specified order. */ @property(nonatomic, strong, nullable) NSArray *phases; diff --git a/Sources/GeneratedServices/AndroidPublisher/Public/GoogleAPIClientForREST/GTLRAndroidPublisherQuery.h b/Sources/GeneratedServices/AndroidPublisher/Public/GoogleAPIClientForREST/GTLRAndroidPublisherQuery.h index 167ee26ce..6f65e75b8 100644 --- a/Sources/GeneratedServices/AndroidPublisher/Public/GoogleAPIClientForREST/GTLRAndroidPublisherQuery.h +++ b/Sources/GeneratedServices/AndroidPublisher/Public/GoogleAPIClientForREST/GTLRAndroidPublisherQuery.h @@ -684,7 +684,7 @@ FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisherLatencyToleranceProductU * @param packageName Package name of the app. * @param editId Identifier of the edit. * @param uploadParameters The media to include in this query. Maximum size - * 10737418240. Accepted MIME type: application/octet-stream + * 53687091200. Accepted MIME type: application/octet-stream * * @return GTLRAndroidPublisherQuery_EditsBundlesUpload */ diff --git a/Sources/GeneratedServices/Apigee/GTLRApigeeObjects.m b/Sources/GeneratedServices/Apigee/GTLRApigeeObjects.m index 37e2c1d95..db84259a4 100644 --- a/Sources/GeneratedServices/Apigee/GTLRApigeeObjects.m +++ b/Sources/GeneratedServices/Apigee/GTLRApigeeObjects.m @@ -4099,13 +4099,20 @@ @implementation GTLRApigee_GoogleCloudApigeeV1ScoreComponentRecommendationAction // @implementation GTLRApigee_GoogleCloudApigeeV1SecurityAction -@dynamic allow, conditionConfig, createTime, deny, descriptionProperty, - expireTime, flag, name, state, ttl, updateTime; +@dynamic allow, apiProxies, conditionConfig, createTime, deny, + descriptionProperty, expireTime, flag, name, state, ttl, updateTime; + (NSDictionary *)propertyToJSONKeyMap { return @{ @"descriptionProperty" : @"description" }; } ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"apiProxies" : [NSString class] + }; + return map; +} + @end diff --git a/Sources/GeneratedServices/Apigee/GTLRApigeeQuery.m b/Sources/GeneratedServices/Apigee/GTLRApigeeQuery.m index 614a5f64b..797d85c70 100644 --- a/Sources/GeneratedServices/Apigee/GTLRApigeeQuery.m +++ b/Sources/GeneratedServices/Apigee/GTLRApigeeQuery.m @@ -3207,6 +3207,48 @@ + (instancetype)queryWithName:(NSString *)name { @end +@implementation GTLRApigeeQuery_OrganizationsEnvironmentsDeploymentsGet + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRApigeeQuery_OrganizationsEnvironmentsDeploymentsGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRApigee_GoogleCloudApigeeV1Deployment class]; + query.loggingName = @"apigee.organizations.environments.deployments.get"; + return query; +} + +@end + +@implementation GTLRApigeeQuery_OrganizationsEnvironmentsDeploymentsGetIamPolicy + +@dynamic optionsRequestedPolicyVersion, resource; + ++ (NSDictionary *)parameterNameMap { + return @{ @"optionsRequestedPolicyVersion" : @"options.requestedPolicyVersion" }; +} + ++ (instancetype)queryWithResource:(NSString *)resource { + NSArray *pathParams = @[ @"resource" ]; + NSString *pathURITemplate = @"v1/{+resource}:getIamPolicy"; + GTLRApigeeQuery_OrganizationsEnvironmentsDeploymentsGetIamPolicy *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.resource = resource; + query.expectedObjectClass = [GTLRApigee_GoogleIamV1Policy class]; + query.loggingName = @"apigee.organizations.environments.deployments.getIamPolicy"; + return query; +} + +@end + @implementation GTLRApigeeQuery_OrganizationsEnvironmentsDeploymentsList @dynamic parent, sharedFlows; @@ -3226,6 +3268,60 @@ + (instancetype)queryWithParent:(NSString *)parent { @end +@implementation GTLRApigeeQuery_OrganizationsEnvironmentsDeploymentsSetIamPolicy + +@dynamic resource; + ++ (instancetype)queryWithObject:(GTLRApigee_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"; + GTLRApigeeQuery_OrganizationsEnvironmentsDeploymentsSetIamPolicy *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.resource = resource; + query.expectedObjectClass = [GTLRApigee_GoogleIamV1Policy class]; + query.loggingName = @"apigee.organizations.environments.deployments.setIamPolicy"; + return query; +} + +@end + +@implementation GTLRApigeeQuery_OrganizationsEnvironmentsDeploymentsTestIamPermissions + +@dynamic resource; + ++ (instancetype)queryWithObject:(GTLRApigee_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"; + GTLRApigeeQuery_OrganizationsEnvironmentsDeploymentsTestIamPermissions *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.resource = resource; + query.expectedObjectClass = [GTLRApigee_GoogleIamV1TestIamPermissionsResponse class]; + query.loggingName = @"apigee.organizations.environments.deployments.testIamPermissions"; + return query; +} + +@end + @implementation GTLRApigeeQuery_OrganizationsEnvironmentsFlowhooksAttachSharedFlowToFlowHook @dynamic name; diff --git a/Sources/GeneratedServices/Apigee/Public/GoogleAPIClientForREST/GTLRApigeeObjects.h b/Sources/GeneratedServices/Apigee/Public/GoogleAPIClientForREST/GTLRApigeeObjects.h index 150f0fffe..34db249a9 100644 --- a/Sources/GeneratedServices/Apigee/Public/GoogleAPIClientForREST/GTLRApigeeObjects.h +++ b/Sources/GeneratedServices/Apigee/Public/GoogleAPIClientForREST/GTLRApigeeObjects.h @@ -4334,7 +4334,7 @@ FOUNDATION_EXTERN NSString * const kGTLRApigee_GoogleIamV1AuditLogConfig_LogType /** Path of Cloud Storage bucket Required for `gcs` target_type. */ @property(nonatomic, copy, nullable) NSString *path; -/** Required. GCP project in which the datastore exists */ +/** Required. Google Cloud project in which the datastore exists */ @property(nonatomic, copy, nullable) NSString *projectId; /** Prefix of BigQuery table Required for `bigquery` target_type. */ @@ -9671,6 +9671,16 @@ FOUNDATION_EXTERN NSString * const kGTLRApigee_GoogleIamV1AuditLogConfig_LogType /** Allow a request through if it matches this SecurityAction. */ @property(nonatomic, strong, nullable) GTLRApigee_GoogleCloudApigeeV1SecurityActionAllow *allow; +/** + * Optional. If unset, this would apply to all proxies in the environment. If + * set, this action is enforced only if at least one proxy in the repeated list + * is deployed at the time of enforcement. If set, several restrictions are + * enforced on SecurityActions. There can be at most 100 enabled actions with + * proxies set in an env. Several other restrictions apply on conditions and + * are detailed later. + */ +@property(nonatomic, strong, nullable) NSArray *apiProxies; + /** Required. A valid SecurityAction must contain at least one condition. */ @property(nonatomic, strong, nullable) GTLRApigee_GoogleCloudApigeeV1SecurityActionConditionConfig *conditionConfig; diff --git a/Sources/GeneratedServices/Apigee/Public/GoogleAPIClientForREST/GTLRApigeeQuery.h b/Sources/GeneratedServices/Apigee/Public/GoogleAPIClientForREST/GTLRApigeeQuery.h index f06c528a4..88f702e45 100644 --- a/Sources/GeneratedServices/Apigee/Public/GoogleAPIClientForREST/GTLRApigeeQuery.h +++ b/Sources/GeneratedServices/Apigee/Public/GoogleAPIClientForREST/GTLRApigeeQuery.h @@ -2783,7 +2783,7 @@ FOUNDATION_EXTERN NSString * const kGTLRApigeeViewIngressConfigViewUnspecified; * completes. During this period, the Organization may be restored to its last * known state. After this period, the Organization will no longer be able to * be restored. **Note: During the data retention period specified using this - * field, the Apigee organization cannot be recreated in the same GCP + * field, the Apigee organization cannot be recreated in the same Google Cloud * project.** * * Likely values: @@ -6109,6 +6109,93 @@ FOUNDATION_EXTERN NSString * const kGTLRApigeeViewIngressConfigViewUnspecified; @end +/** + * Gets a particular deployment of Api proxy or a shared flow in an environment + * + * Method: apigee.organizations.environments.deployments.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeApigeeCloudPlatform + */ +@interface GTLRApigeeQuery_OrganizationsEnvironmentsDeploymentsGet : GTLRApigeeQuery + +/** + * Required. Name of the api proxy or the shared flow deployment. Use the + * following structure in your request: + * `organizations/{org}/environments/{env}/deployments/{deployment}` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRApigee_GoogleCloudApigeeV1Deployment. + * + * Gets a particular deployment of Api proxy or a shared flow in an environment + * + * @param name Required. Name of the api proxy or the shared flow deployment. + * Use the following structure in your request: + * `organizations/{org}/environments/{env}/deployments/{deployment}` + * + * @return GTLRApigeeQuery_OrganizationsEnvironmentsDeploymentsGet + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Gets the IAM policy on a deployment. For more information, see [Manage + * users, roles, and permissions using the + * API](https://cloud.google.com/apigee/docs/api-platform/system-administration/manage-users-roles). + * You must have the `apigee.deployments.getIamPolicy` permission to call this + * API. + * + * Method: apigee.organizations.environments.deployments.getIamPolicy + * + * Authorization scope(s): + * @c kGTLRAuthScopeApigeeCloudPlatform + */ +@interface GTLRApigeeQuery_OrganizationsEnvironmentsDeploymentsGetIamPolicy : GTLRApigeeQuery + +/** + * 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 GTLRApigee_GoogleIamV1Policy. + * + * Gets the IAM policy on a deployment. For more information, see [Manage + * users, roles, and permissions using the + * API](https://cloud.google.com/apigee/docs/api-platform/system-administration/manage-users-roles). + * You must have the `apigee.deployments.getIamPolicy` permission to call this + * API. + * + * @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 GTLRApigeeQuery_OrganizationsEnvironmentsDeploymentsGetIamPolicy + */ ++ (instancetype)queryWithResource:(NSString *)resource; + +@end + /** * Lists all deployments of API proxies or shared flows in an environment. * @@ -6147,6 +6234,94 @@ FOUNDATION_EXTERN NSString * const kGTLRApigeeViewIngressConfigViewUnspecified; @end +/** + * Sets the IAM policy on a deployment, if the policy already exists it will be + * replaced. For more information, see [Manage users, roles, and permissions + * using the + * API](https://cloud.google.com/apigee/docs/api-platform/system-administration/manage-users-roles). + * You must have the `apigee.deployments.setIamPolicy` permission to call this + * API. + * + * Method: apigee.organizations.environments.deployments.setIamPolicy + * + * Authorization scope(s): + * @c kGTLRAuthScopeApigeeCloudPlatform + */ +@interface GTLRApigeeQuery_OrganizationsEnvironmentsDeploymentsSetIamPolicy : GTLRApigeeQuery + +/** + * 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 GTLRApigee_GoogleIamV1Policy. + * + * Sets the IAM policy on a deployment, if the policy already exists it will be + * replaced. For more information, see [Manage users, roles, and permissions + * using the + * API](https://cloud.google.com/apigee/docs/api-platform/system-administration/manage-users-roles). + * You must have the `apigee.deployments.setIamPolicy` permission to call this + * API. + * + * @param object The @c GTLRApigee_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 GTLRApigeeQuery_OrganizationsEnvironmentsDeploymentsSetIamPolicy + */ ++ (instancetype)queryWithObject:(GTLRApigee_GoogleIamV1SetIamPolicyRequest *)object + resource:(NSString *)resource; + +@end + +/** + * Tests the permissions of a user on a deployment, and returns a subset of + * permissions that the user has on the deployment. If the deployment does not + * exist, an empty permission set is returned (a NOT_FOUND error is not + * returned). + * + * Method: apigee.organizations.environments.deployments.testIamPermissions + * + * Authorization scope(s): + * @c kGTLRAuthScopeApigeeCloudPlatform + */ +@interface GTLRApigeeQuery_OrganizationsEnvironmentsDeploymentsTestIamPermissions : GTLRApigeeQuery + +/** + * 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 GTLRApigee_GoogleIamV1TestIamPermissionsResponse. + * + * Tests the permissions of a user on a deployment, and returns a subset of + * permissions that the user has on the deployment. If the deployment does not + * exist, an empty permission set is returned (a NOT_FOUND error is not + * returned). + * + * @param object The @c GTLRApigee_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 GTLRApigeeQuery_OrganizationsEnvironmentsDeploymentsTestIamPermissions + */ ++ (instancetype)queryWithObject:(GTLRApigee_GoogleIamV1TestIamPermissionsRequest *)object + resource:(NSString *)resource; + +@end + /** * Attaches a shared flow to a flow hook. * diff --git a/Sources/GeneratedServices/Appengine/GTLRAppengineObjects.m b/Sources/GeneratedServices/Appengine/GTLRAppengineObjects.m index 60aa76701..3d98399b2 100644 --- a/Sources/GeneratedServices/Appengine/GTLRAppengineObjects.m +++ b/Sources/GeneratedServices/Appengine/GTLRAppengineObjects.m @@ -622,6 +622,24 @@ @implementation GTLRAppengine_FlexibleRuntimeSettings @end +// ---------------------------------------------------------------------------- +// +// GTLRAppengine_GceTag +// + +@implementation GTLRAppengine_GceTag +@dynamic parent, tag; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"parent" : [NSString class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRAppengine_GoogleAppengineV1betaLocationMetadata @@ -1132,9 +1150,17 @@ @implementation GTLRAppengine_ProjectEvent // @implementation GTLRAppengine_ProjectsMetadata -@dynamic consumerProjectId, consumerProjectNumber, consumerProjectState, +@dynamic consumerProjectId, consumerProjectNumber, consumerProjectState, gceTag, p4ServiceAccount, producerProjectId, producerProjectNumber, tenantProjectId, tenantProjectNumber; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"gceTag" : [GTLRAppengine_GceTag class] + }; + return map; +} + @end diff --git a/Sources/GeneratedServices/Appengine/Public/GoogleAPIClientForREST/GTLRAppengineObjects.h b/Sources/GeneratedServices/Appengine/Public/GoogleAPIClientForREST/GTLRAppengineObjects.h index ff2c19003..0aee67fcf 100644 --- a/Sources/GeneratedServices/Appengine/Public/GoogleAPIClientForREST/GTLRAppengineObjects.h +++ b/Sources/GeneratedServices/Appengine/Public/GoogleAPIClientForREST/GTLRAppengineObjects.h @@ -41,6 +41,7 @@ @class GTLRAppengine_FileInfo; @class GTLRAppengine_FirewallRule; @class GTLRAppengine_FlexibleRuntimeSettings; +@class GTLRAppengine_GceTag; @class GTLRAppengine_HealthCheck; @class GTLRAppengine_IdentityAwareProxy; @class GTLRAppengine_Instance; @@ -2229,6 +2230,25 @@ FOUNDATION_EXTERN NSString * const kGTLRAppengine_VpcAccessConnector_EgressSetti @end +/** + * For use only by GCE. GceTag is a wrapper around the GCE administrative tag + * with parent info. + */ +@interface GTLRAppengine_GceTag : GTLRObject + +/** + * The parents(s) of the tag. Eg. projects/123, folders/456 It usually contains + * only one parent. But, in some corner cases, it can contain multiple parents. + * Currently, organizations are not supported. + */ +@property(nonatomic, strong, nullable) NSArray *parent; + +/** The administrative_tag name. */ +@property(nonatomic, copy, nullable) NSString *tag; + +@end + + /** * Metadata for the given google.cloud.location.Location. */ @@ -3368,6 +3388,12 @@ FOUNDATION_EXTERN NSString * const kGTLRAppengine_VpcAccessConnector_EgressSetti */ @property(nonatomic, copy, nullable) NSString *consumerProjectState; +/** + * The GCE tags associated with the consumer project and those inherited due to + * their ancestry, if any. Not supported by CCFE. + */ +@property(nonatomic, strong, nullable) NSArray *gceTag; + /** * The service account authorized to operate on the consumer project. Note: * CCFE only propagates P4SA with default tag to CLH. diff --git a/Sources/GeneratedServices/ArtifactRegistry/GTLRArtifactRegistryObjects.m b/Sources/GeneratedServices/ArtifactRegistry/GTLRArtifactRegistryObjects.m index 08c38763b..b2cf0b72d 100644 --- a/Sources/GeneratedServices/ArtifactRegistry/GTLRArtifactRegistryObjects.m +++ b/Sources/GeneratedServices/ArtifactRegistry/GTLRArtifactRegistryObjects.m @@ -238,6 +238,16 @@ @implementation GTLRArtifactRegistry_CleanupPolicyMostRecentVersions @end +// ---------------------------------------------------------------------------- +// +// GTLRArtifactRegistry_CommonRemoteRepository +// + +@implementation GTLRArtifactRegistry_CommonRemoteRepository +@dynamic uri; +@end + + // ---------------------------------------------------------------------------- // // GTLRArtifactRegistry_DockerImage @@ -1110,9 +1120,9 @@ @implementation GTLRArtifactRegistry_PythonRepository // @implementation GTLRArtifactRegistry_RemoteRepositoryConfig -@dynamic aptRepository, descriptionProperty, disableUpstreamValidation, - dockerRepository, mavenRepository, npmRepository, pythonRepository, - upstreamCredentials, yumRepository; +@dynamic aptRepository, commonRepository, descriptionProperty, + disableUpstreamValidation, dockerRepository, mavenRepository, + npmRepository, pythonRepository, upstreamCredentials, yumRepository; + (NSDictionary *)propertyToJSONKeyMap { return @{ @"descriptionProperty" : @"description" }; diff --git a/Sources/GeneratedServices/ArtifactRegistry/Public/GoogleAPIClientForREST/GTLRArtifactRegistryObjects.h b/Sources/GeneratedServices/ArtifactRegistry/Public/GoogleAPIClientForREST/GTLRArtifactRegistryObjects.h index 46786eabc..397ae1042 100644 --- a/Sources/GeneratedServices/ArtifactRegistry/Public/GoogleAPIClientForREST/GTLRArtifactRegistryObjects.h +++ b/Sources/GeneratedServices/ArtifactRegistry/Public/GoogleAPIClientForREST/GTLRArtifactRegistryObjects.h @@ -21,6 +21,7 @@ @class GTLRArtifactRegistry_CleanupPolicy; @class GTLRArtifactRegistry_CleanupPolicyCondition; @class GTLRArtifactRegistry_CleanupPolicyMostRecentVersions; +@class GTLRArtifactRegistry_CommonRemoteRepository; @class GTLRArtifactRegistry_DockerImage; @class GTLRArtifactRegistry_DockerRepository; @class GTLRArtifactRegistry_DockerRepositoryConfig; @@ -811,6 +812,17 @@ FOUNDATION_EXTERN NSString * const kGTLRArtifactRegistry_YumArtifact_PackageType @end +/** + * Common remote repository settings type. + */ +@interface GTLRArtifactRegistry_CommonRemoteRepository : GTLRObject + +/** Required. A common public repository base for Remote Repository. */ +@property(nonatomic, copy, nullable) NSString *uri; + +@end + + /** * DockerImage represents a docker artifact. The following fields are returned * as untyped metadata in the Version resource, using camelcase keys (i.e. @@ -2288,6 +2300,13 @@ FOUNDATION_EXTERN NSString * const kGTLRArtifactRegistry_YumArtifact_PackageType /** Specific settings for an Apt remote repository. */ @property(nonatomic, strong, nullable) GTLRArtifactRegistry_AptRepository *aptRepository; +/** + * Common remote repository settings. Used as the RR upstream URL instead of + * Predefined and Custom remote repositories. UI and Gcloud will map all the + * new remote repositories to this field. + */ +@property(nonatomic, strong, nullable) GTLRArtifactRegistry_CommonRemoteRepository *commonRepository; + /** * The description of the remote source. * diff --git a/Sources/GeneratedServices/ArtifactRegistry/Public/GoogleAPIClientForREST/GTLRArtifactRegistryQuery.h b/Sources/GeneratedServices/ArtifactRegistry/Public/GoogleAPIClientForREST/GTLRArtifactRegistryQuery.h index d40037ca6..423010563 100644 --- a/Sources/GeneratedServices/ArtifactRegistry/Public/GoogleAPIClientForREST/GTLRArtifactRegistryQuery.h +++ b/Sources/GeneratedServices/ArtifactRegistry/Public/GoogleAPIClientForREST/GTLRArtifactRegistryQuery.h @@ -551,8 +551,8 @@ FOUNDATION_EXTERN NSString * const kGTLRArtifactRegistryViewVersionViewUnspecifi * An expression for filtering the results of the request. Filter rules are * case insensitive. The fields eligible for filtering are: * `name` * `owner` * * `annotations` Examples of using a filter: To filter the results of your - * request to files with the name "my_file.txt" in project my-project in the - * us-central region, in repository my-repo, append the following filter + * request to files with the name `my_file.txt` in project `my-project` in the + * `us-central` region, in repository `my-repo`, append the following filter * expression to your request: * * `name="projects/my-project/locations/us-central1/repositories/my-repo/files/my-file.txt"` * You can also use wildcards to match any number of characters before or after @@ -567,19 +567,19 @@ FOUNDATION_EXTERN NSString * const kGTLRArtifactRegistryViewVersionViewUnspecifi * request: * * `owner="projects/my-project/locations/us-central1/repositories/my-repo/packages/my-package/versions/1.0"` * To filter the results of your request to files with the annotation key-value - * pair [`external_link`:`external_link_value`], append the following filter + * pair [`external_link`: `external_link_value`], append the following filter * expression to your request: * - * "annotations.external_link:external_link_value" To filter just for a + * `"annotations.external_link:external_link_value"` To filter just for a * specific annotation key `external_link`, append the following filter - * expression to your request: * "annotations.external_link" If the annotation - * key or value contains special characters, you can escape them by surrounding - * the value with backticks. For example, to filter the results of your request - * to files with the annotation key-value pair + * expression to your request: * `"annotations.external_link"` If the + * annotation key or value contains special characters, you can escape them by + * surrounding the value with backticks. For example, to filter the results of + * your request to files with the annotation key-value pair * [`external.link`:`https://example.com/my-file`], append the following filter - * expression to your request: * - * "annotations.`external.link`:`https://example.com/my-file`" You can also + * expression to your request: * `` + * "annotations.`external.link`:`https://example.com/my-file`" `` You can also * filter with annotations with a wildcard to match any number of characters - * before or after the value: * "annotations.*_link:`*example.com*`" + * before or after the value: * `` "annotations.*_link:`*example.com*`" `` */ @property(nonatomic, copy, nullable) NSString *filter; @@ -905,11 +905,11 @@ FOUNDATION_EXTERN NSString * const kGTLRArtifactRegistryViewVersionViewUnspecifi * Optional. An expression for filtering the results of the request. Filter * rules are case insensitive. The fields eligible for filtering are: * `name` * Examples of using a filter: To filter the results of your request to - * repositories with the name "my-repo" in project my-project in the us-central - * region, append the following filter expression to your request: * - * `name="projects/my-project/locations/us-central1/repositories/my-repo` You - * can also use wildcards to match any number of characters before or after the - * value: * + * repositories with the name `my-repo` in project `my-project` in the + * `us-central` region, append the following filter expression to your request: + * * `name="projects/my-project/locations/us-central1/repositories/my-repo"` + * You can also use wildcards to match any number of characters before or after + * the value: * * `name="projects/my-project/locations/us-central1/repositories/my-*"` * * `name="projects/my-project/locations/us-central1/repositories/ *repo"` * * `name="projects/my-project/locations/us-central1/repositories/ *repo*"` @@ -1161,9 +1161,9 @@ FOUNDATION_EXTERN NSString * const kGTLRArtifactRegistryViewVersionViewUnspecifi * Optional. An expression for filtering the results of the request. Filter * rules are case insensitive. The fields eligible for filtering are: * `name` * * `annotations` Examples of using a filter: To filter the results of your - * request to packages with the name "my-package" in project my-project in the - * us-central region, in repository my-repo, append the following filter - * expression to your request: * + * request to packages with the name `my-package` in project `my-project` in + * the `us-central` region, in repository `my-repo`, append the following + * filter expression to your request: * * `name="projects/my-project/locations/us-central1/repositories/my-repo/packages/my-package"` * You can also use wildcards to match any number of characters before or after * the value: * @@ -1173,19 +1173,20 @@ FOUNDATION_EXTERN NSString * const kGTLRArtifactRegistryViewVersionViewUnspecifi * *package"` * * `name="projects/my-project/locations/us-central1/repositories/my-repo/packages/ * *pack*"` To filter the results of your request to packages with the - * annotation key-value pair [`external_link`:`external_link_value`], append + * annotation key-value pair [`external_link`: `external_link_value`], append * the following filter expression to your request": * - * "annotations.external_link:external_link_value" To filter the results just + * `"annotations.external_link:external_link_value"` To filter the results just * for a specific annotation key `external_link`, append the following filter - * expression to your request: * "annotations.external_link" If the annotation - * key or value contains special characters, you can escape them by surrounding - * the value with backticks. For example, to filter the results of your request - * to packages with the annotation key-value pair + * expression to your request: * `"annotations.external_link"` If the + * annotation key or value contains special characters, you can escape them by + * surrounding the value with backticks. For example, to filter the results of + * your request to packages with the annotation key-value pair * [`external.link`:`https://example.com/my-package`], append the following - * filter expression to your request: * - * "annotations.`external.link`:`https://example.com/my-package`" You can also - * filter with annotations with a wildcard to match any number of characters - * before or after the value: * "annotations.*_link:`*example.com*`" + * filter expression to your request: * `` + * "annotations.`external.link`:`https://example.com/my-package`" `` You can + * also filter with annotations with a wildcard to match any number of + * characters before or after the value: * `` + * "annotations.*_link:`*example.com*`" `` */ @property(nonatomic, copy, nullable) NSString *filter; @@ -1364,8 +1365,8 @@ FOUNDATION_EXTERN NSString * const kGTLRArtifactRegistryViewVersionViewUnspecifi * An expression for filtering the results of the request. Filter rules are * case insensitive. The fields eligible for filtering are: * `name` * * `version` Examples of using a filter: To filter the results of your request - * to tags with the name "my-tag" in package "my-package" in repository - * "my-repo" in project "my-project" in the us-central region, append the + * to tags with the name `my-tag` in package `my-package` in repository + * `my-repo` in project "`y-project` in the us-central region, append the * following filter expression to your request: * * `name="projects/my-project/locations/us-central1/repositories/my-repo/packages/my-package/tags/my-tag"` * You can also use wildcards to match any number of characters before or after @@ -1581,9 +1582,9 @@ FOUNDATION_EXTERN NSString * const kGTLRArtifactRegistryViewVersionViewUnspecifi * Optional. An expression for filtering the results of the request. Filter * rules are case insensitive. The fields eligible for filtering are: * `name` * * `annotations` Examples of using a filter: To filter the results of your - * request to versions with the name "my-version" in project my-project in the - * us-central region, in repository my-repo, append the following filter - * expression to your request: * + * request to versions with the name `my-version` in project `my-project` in + * the `us-central` region, in repository `my-repo`, append the following + * filter expression to your request: * * `name="projects/my-project/locations/us-central1/repositories/my-repo/packages/my-package/versions/my-version"` * You can also use wildcards to match any number of characters before or after * the value: * @@ -1593,19 +1594,20 @@ FOUNDATION_EXTERN NSString * const kGTLRArtifactRegistryViewVersionViewUnspecifi * * * `name="projects/my-project/locations/us-central1/repositories/my-repo/packages/my-package/versions/ * *version*"` To filter the results of your request to versions with the - * annotation key-value pair [`external_link`:`external_link_value`], append + * annotation key-value pair [`external_link`: `external_link_value`], append * the following filter expression to your request: * - * "annotations.external_link:external_link_value" To filter just for a + * `"annotations.external_link:external_link_value"` To filter just for a * specific annotation key `external_link`, append the following filter - * expression to your request: * "annotations.external_link" If the annotation - * key or value contains special characters, you can escape them by surrounding - * the value with backticks. For example, to filter the results of your request - * to versions with the annotation key-value pair + * expression to your request: * `"annotations.external_link"` If the + * annotation key or value contains special characters, you can escape them by + * surrounding the value with backticks. For example, to filter the results of + * your request to versions with the annotation key-value pair * [`external.link`:`https://example.com/my-version`], append the following - * filter expression to your request: * - * "annotations.`external.link`:`https://example.com/my-version`" You can also - * filter with annotations with a wildcard to match any number of characters - * before or after the value: * "annotations.*_link:`*example.com*`" + * filter expression to your request: * `` + * "annotations.`external.link`:`https://example.com/my-version`" `` You can + * also filter with annotations with a wildcard to match any number of + * characters before or after the value: * `` + * "annotations.*_link:`*example.com*`" `` */ @property(nonatomic, copy, nullable) NSString *filter; diff --git a/Sources/GeneratedServices/Assuredworkloads/GTLRAssuredworkloadsObjects.m b/Sources/GeneratedServices/Assuredworkloads/GTLRAssuredworkloadsObjects.m index ef5132cf7..623c74adb 100644 --- a/Sources/GeneratedServices/Assuredworkloads/GTLRAssuredworkloadsObjects.m +++ b/Sources/GeneratedServices/Assuredworkloads/GTLRAssuredworkloadsObjects.m @@ -33,6 +33,7 @@ NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1CreateWorkloadOperationMetadata_ComplianceRegime_Il2 = @"IL2"; NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1CreateWorkloadOperationMetadata_ComplianceRegime_Il4 = @"IL4"; NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1CreateWorkloadOperationMetadata_ComplianceRegime_Il5 = @"IL5"; +NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1CreateWorkloadOperationMetadata_ComplianceRegime_Irs1075 = @"IRS_1075"; NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1CreateWorkloadOperationMetadata_ComplianceRegime_IsrRegions = @"ISR_REGIONS"; NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1CreateWorkloadOperationMetadata_ComplianceRegime_IsrRegionsAndSupport = @"ISR_REGIONS_AND_SUPPORT"; NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1CreateWorkloadOperationMetadata_ComplianceRegime_Itar = @"ITAR"; @@ -84,6 +85,7 @@ NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1Workload_ComplianceRegime_Il2 = @"IL2"; NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1Workload_ComplianceRegime_Il4 = @"IL4"; NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1Workload_ComplianceRegime_Il5 = @"IL5"; +NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1Workload_ComplianceRegime_Irs1075 = @"IRS_1075"; NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1Workload_ComplianceRegime_IsrRegions = @"ISR_REGIONS"; NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1Workload_ComplianceRegime_IsrRegionsAndSupport = @"ISR_REGIONS_AND_SUPPORT"; NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1Workload_ComplianceRegime_Itar = @"ITAR"; diff --git a/Sources/GeneratedServices/Assuredworkloads/Public/GoogleAPIClientForREST/GTLRAssuredworkloadsObjects.h b/Sources/GeneratedServices/Assuredworkloads/Public/GoogleAPIClientForREST/GTLRAssuredworkloadsObjects.h index 3607c1d84..ec930a78e 100644 --- a/Sources/GeneratedServices/Assuredworkloads/Public/GoogleAPIClientForREST/GTLRAssuredworkloadsObjects.h +++ b/Sources/GeneratedServices/Assuredworkloads/Public/GoogleAPIClientForREST/GTLRAssuredworkloadsObjects.h @@ -170,6 +170,12 @@ FOUNDATION_EXTERN NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkl * Value: "IL5" */ FOUNDATION_EXTERN NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1CreateWorkloadOperationMetadata_ComplianceRegime_Il5; +/** + * Internal Revenue Service 1075 controls + * + * Value: "IRS_1075" + */ +FOUNDATION_EXTERN NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1CreateWorkloadOperationMetadata_ComplianceRegime_Irs1075; /** * Assured Workloads for Israel Regions * @@ -445,6 +451,12 @@ FOUNDATION_EXTERN NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkl * Value: "IL5" */ FOUNDATION_EXTERN NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1Workload_ComplianceRegime_Il5; +/** + * Internal Revenue Service 1075 controls + * + * Value: "IRS_1075" + */ +FOUNDATION_EXTERN NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1Workload_ComplianceRegime_Irs1075; /** * Assured Workloads for Israel Regions * @@ -921,6 +933,8 @@ FOUNDATION_EXTERN NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkl * Information protection as per DoD IL4 requirements. (Value: "IL4") * @arg @c kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1CreateWorkloadOperationMetadata_ComplianceRegime_Il5 * Information protection as per DoD IL5 requirements. (Value: "IL5") + * @arg @c kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1CreateWorkloadOperationMetadata_ComplianceRegime_Irs1075 + * Internal Revenue Service 1075 controls (Value: "IRS_1075") * @arg @c kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1CreateWorkloadOperationMetadata_ComplianceRegime_IsrRegions * Assured Workloads for Israel Regions (Value: "ISR_REGIONS") * @arg @c kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1CreateWorkloadOperationMetadata_ComplianceRegime_IsrRegionsAndSupport @@ -1442,6 +1456,8 @@ FOUNDATION_EXTERN NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkl * Information protection as per DoD IL4 requirements. (Value: "IL4") * @arg @c kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1Workload_ComplianceRegime_Il5 * Information protection as per DoD IL5 requirements. (Value: "IL5") + * @arg @c kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1Workload_ComplianceRegime_Irs1075 + * Internal Revenue Service 1075 controls (Value: "IRS_1075") * @arg @c kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1Workload_ComplianceRegime_IsrRegions * Assured Workloads for Israel Regions (Value: "ISR_REGIONS") * @arg @c kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1Workload_ComplianceRegime_IsrRegionsAndSupport diff --git a/Sources/GeneratedServices/Backupdr/GTLRBackupdrObjects.m b/Sources/GeneratedServices/Backupdr/GTLRBackupdrObjects.m index cb9d00b28..92b4306be 100644 --- a/Sources/GeneratedServices/Backupdr/GTLRBackupdrObjects.m +++ b/Sources/GeneratedServices/Backupdr/GTLRBackupdrObjects.m @@ -797,7 +797,7 @@ @implementation GTLRBackupdr_CloudAssetComposition @implementation GTLRBackupdr_ComputeInstanceBackupProperties @dynamic canIpForward, descriptionProperty, disk, guestAccelerator, - keyRevocationActionType, machineType, metadata, minCpuPlatform, + keyRevocationActionType, labels, machineType, metadata, minCpuPlatform, networkInterface, scheduling, serviceAccount, sourceInstance, tags; + (NSDictionary *)propertyToJSONKeyMap { @@ -817,6 +817,20 @@ @implementation GTLRBackupdr_ComputeInstanceBackupProperties @end +// ---------------------------------------------------------------------------- +// +// GTLRBackupdr_ComputeInstanceBackupProperties_Labels +// + +@implementation GTLRBackupdr_ComputeInstanceBackupProperties_Labels + ++ (Class)classForAdditionalProperties { + return [NSString class]; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRBackupdr_ComputeInstanceDataSourceProperties diff --git a/Sources/GeneratedServices/Backupdr/GTLRBackupdrQuery.m b/Sources/GeneratedServices/Backupdr/GTLRBackupdrQuery.m index e166bb232..741e6150a 100644 --- a/Sources/GeneratedServices/Backupdr/GTLRBackupdrQuery.m +++ b/Sources/GeneratedServices/Backupdr/GTLRBackupdrQuery.m @@ -8,6 +8,21 @@ #import +// ---------------------------------------------------------------------------- +// Constants + +// view +NSString * const kGTLRBackupdrViewBackupVaultViewBasic = @"BACKUP_VAULT_VIEW_BASIC"; +NSString * const kGTLRBackupdrViewBackupVaultViewFull = @"BACKUP_VAULT_VIEW_FULL"; +NSString * const kGTLRBackupdrViewBackupVaultViewUnspecified = @"BACKUP_VAULT_VIEW_UNSPECIFIED"; +NSString * const kGTLRBackupdrViewBackupViewBasic = @"BACKUP_VIEW_BASIC"; +NSString * const kGTLRBackupdrViewBackupViewFull = @"BACKUP_VIEW_FULL"; +NSString * const kGTLRBackupdrViewBackupViewUnspecified = @"BACKUP_VIEW_UNSPECIFIED"; + +// ---------------------------------------------------------------------------- +// Query Classes +// + @implementation GTLRBackupdrQuery @dynamic fields; @@ -284,7 +299,7 @@ + (instancetype)queryWithName:(NSString *)name { @implementation GTLRBackupdrQuery_ProjectsLocationsBackupVaultsDataSourcesBackupsGet -@dynamic name; +@dynamic name, view; + (instancetype)queryWithName:(NSString *)name { NSArray *pathParams = @[ @"name" ]; @@ -303,7 +318,7 @@ + (instancetype)queryWithName:(NSString *)name { @implementation GTLRBackupdrQuery_ProjectsLocationsBackupVaultsDataSourcesBackupsList -@dynamic filter, orderBy, pageSize, pageToken, parent; +@dynamic filter, orderBy, pageSize, pageToken, parent, view; + (instancetype)queryWithParent:(NSString *)parent { NSArray *pathParams = @[ @"parent" ]; @@ -618,7 +633,7 @@ + (instancetype)queryWithParent:(NSString *)parent { @implementation GTLRBackupdrQuery_ProjectsLocationsBackupVaultsGet -@dynamic name; +@dynamic name, view; + (instancetype)queryWithName:(NSString *)name { NSArray *pathParams = @[ @"name" ]; @@ -637,7 +652,7 @@ + (instancetype)queryWithName:(NSString *)name { @implementation GTLRBackupdrQuery_ProjectsLocationsBackupVaultsList -@dynamic filter, orderBy, pageSize, pageToken, parent; +@dynamic filter, orderBy, pageSize, pageToken, parent, view; + (instancetype)queryWithParent:(NSString *)parent { NSArray *pathParams = @[ @"parent" ]; diff --git a/Sources/GeneratedServices/Backupdr/Public/GoogleAPIClientForREST/GTLRBackupdrObjects.h b/Sources/GeneratedServices/Backupdr/Public/GoogleAPIClientForREST/GTLRBackupdrObjects.h index cf77fe122..cbb617ec8 100644 --- a/Sources/GeneratedServices/Backupdr/Public/GoogleAPIClientForREST/GTLRBackupdrObjects.h +++ b/Sources/GeneratedServices/Backupdr/Public/GoogleAPIClientForREST/GTLRBackupdrObjects.h @@ -40,6 +40,7 @@ @class GTLRBackupdr_CloudAsset; @class GTLRBackupdr_CloudAssetComposition; @class GTLRBackupdr_ComputeInstanceBackupProperties; +@class GTLRBackupdr_ComputeInstanceBackupProperties_Labels; @class GTLRBackupdr_ComputeInstanceDataSourceProperties; @class GTLRBackupdr_ComputeInstanceRestoreProperties; @class GTLRBackupdr_ComputeInstanceRestoreProperties_Labels; @@ -2287,7 +2288,7 @@ FOUNDATION_EXTERN NSString * const kGTLRBackupdr_WeekDayOfMonth_WeekOfMonth_Week /** - * A `BackupPlan` specifies some common fields, such as `display_name` as well + * A `BackupPlan` specifies some common fields, such as `description` as well * as one or more `BackupRule` messages. Each `BackupRule` has a retention * policy and defines a schedule by which the system is to perform backup * workloads. @@ -2827,6 +2828,9 @@ FOUNDATION_EXTERN NSString * const kGTLRBackupdr_WeekDayOfMonth_WeekOfMonth_Week */ @property(nonatomic, copy, nullable) NSString *keyRevocationActionType; +/** Labels to apply to instances that are created from these properties. */ +@property(nonatomic, strong, nullable) GTLRBackupdr_ComputeInstanceBackupProperties_Labels *labels; + /** * The machine type to use for instances that are created from these * properties. @@ -2886,6 +2890,18 @@ FOUNDATION_EXTERN NSString * const kGTLRBackupdr_WeekDayOfMonth_WeekOfMonth_Week @end +/** + * Labels to apply to instances that are created from these properties. + * + * @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_ComputeInstanceBackupProperties_Labels : GTLRObject +@end + + /** * ComputeInstanceDataSourceProperties represents the properties of a * ComputeEngine resource that are stored in the DataSource. diff --git a/Sources/GeneratedServices/Backupdr/Public/GoogleAPIClientForREST/GTLRBackupdrQuery.h b/Sources/GeneratedServices/Backupdr/Public/GoogleAPIClientForREST/GTLRBackupdrQuery.h index d73477f12..5564c64e2 100644 --- a/Sources/GeneratedServices/Backupdr/Public/GoogleAPIClientForREST/GTLRBackupdrQuery.h +++ b/Sources/GeneratedServices/Backupdr/Public/GoogleAPIClientForREST/GTLRBackupdrQuery.h @@ -21,6 +21,55 @@ NS_ASSUME_NONNULL_BEGIN +// ---------------------------------------------------------------------------- +// Constants - For some of the query classes' properties below. + +// ---------------------------------------------------------------------------- +// view + +/** + * Includes basic data about the Backup Vault, but not the full contents. + * + * Value: "BACKUP_VAULT_VIEW_BASIC" + */ +FOUNDATION_EXTERN NSString * const kGTLRBackupdrViewBackupVaultViewBasic; +/** + * Includes all data about the Backup Vault. This is the default value (for + * both ListBackupVaults and GetBackupVault). + * + * Value: "BACKUP_VAULT_VIEW_FULL" + */ +FOUNDATION_EXTERN NSString * const kGTLRBackupdrViewBackupVaultViewFull; +/** + * If the value is not set, the default 'FULL' view is used. + * + * Value: "BACKUP_VAULT_VIEW_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRBackupdrViewBackupVaultViewUnspecified; +/** + * Includes basic data about the Backup, but not the full contents. + * + * Value: "BACKUP_VIEW_BASIC" + */ +FOUNDATION_EXTERN NSString * const kGTLRBackupdrViewBackupViewBasic; +/** + * Includes all data about the Backup. This is the default value (for both + * ListBackups and GetBackup). + * + * Value: "BACKUP_VIEW_FULL" + */ +FOUNDATION_EXTERN NSString * const kGTLRBackupdrViewBackupViewFull; +/** + * If the value is not set, the default 'FULL' view is used. + * + * Value: "BACKUP_VIEW_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRBackupdrViewBackupViewUnspecified; + +// ---------------------------------------------------------------------------- +// Query Classes +// + /** * Parent class for other Backupdr query classes. */ @@ -592,6 +641,21 @@ NS_ASSUME_NONNULL_BEGIN */ @property(nonatomic, copy, nullable) NSString *name; +/** + * Optional. Reserved for future use to provide a BASIC & FULL view of Backup + * resource. + * + * Likely values: + * @arg @c kGTLRBackupdrViewBackupViewUnspecified If the value is not set, + * the default 'FULL' view is used. (Value: "BACKUP_VIEW_UNSPECIFIED") + * @arg @c kGTLRBackupdrViewBackupViewBasic Includes basic data about the + * Backup, but not the full contents. (Value: "BACKUP_VIEW_BASIC") + * @arg @c kGTLRBackupdrViewBackupViewFull Includes all data about the + * Backup. This is the default value (for both ListBackups and + * GetBackup). (Value: "BACKUP_VIEW_FULL") + */ +@property(nonatomic, copy, nullable) NSString *view; + /** * Fetches a @c GTLRBackupdr_Backup. * @@ -642,6 +706,21 @@ NS_ASSUME_NONNULL_BEGIN */ @property(nonatomic, copy, nullable) NSString *parent; +/** + * Optional. Reserved for future use to provide a BASIC & FULL view of Backup + * resource. + * + * Likely values: + * @arg @c kGTLRBackupdrViewBackupViewUnspecified If the value is not set, + * the default 'FULL' view is used. (Value: "BACKUP_VIEW_UNSPECIFIED") + * @arg @c kGTLRBackupdrViewBackupViewBasic Includes basic data about the + * Backup, but not the full contents. (Value: "BACKUP_VIEW_BASIC") + * @arg @c kGTLRBackupdrViewBackupViewFull Includes all data about the + * Backup. This is the default value (for both ListBackups and + * GetBackup). (Value: "BACKUP_VIEW_FULL") + */ +@property(nonatomic, copy, nullable) NSString *view; + /** * Fetches a @c GTLRBackupdr_ListBackupsResponse. * @@ -1209,6 +1288,23 @@ NS_ASSUME_NONNULL_BEGIN */ @property(nonatomic, copy, nullable) NSString *name; +/** + * Optional. Reserved for future use to provide a BASIC & FULL view of Backup + * Vault + * + * Likely values: + * @arg @c kGTLRBackupdrViewBackupVaultViewUnspecified If the value is not + * set, the default 'FULL' view is used. (Value: + * "BACKUP_VAULT_VIEW_UNSPECIFIED") + * @arg @c kGTLRBackupdrViewBackupVaultViewBasic Includes basic data about + * the Backup Vault, but not the full contents. (Value: + * "BACKUP_VAULT_VIEW_BASIC") + * @arg @c kGTLRBackupdrViewBackupVaultViewFull Includes all data about the + * Backup Vault. This is the default value (for both ListBackupVaults and + * GetBackupVault). (Value: "BACKUP_VAULT_VIEW_FULL") + */ +@property(nonatomic, copy, nullable) NSString *view; + /** * Fetches a @c GTLRBackupdr_BackupVault. * @@ -1260,6 +1356,23 @@ NS_ASSUME_NONNULL_BEGIN */ @property(nonatomic, copy, nullable) NSString *parent; +/** + * Optional. Reserved for future use to provide a BASIC & FULL view of Backup + * Vault. + * + * Likely values: + * @arg @c kGTLRBackupdrViewBackupVaultViewUnspecified If the value is not + * set, the default 'FULL' view is used. (Value: + * "BACKUP_VAULT_VIEW_UNSPECIFIED") + * @arg @c kGTLRBackupdrViewBackupVaultViewBasic Includes basic data about + * the Backup Vault, but not the full contents. (Value: + * "BACKUP_VAULT_VIEW_BASIC") + * @arg @c kGTLRBackupdrViewBackupVaultViewFull Includes all data about the + * Backup Vault. This is the default value (for both ListBackupVaults and + * GetBackupVault). (Value: "BACKUP_VAULT_VIEW_FULL") + */ +@property(nonatomic, copy, nullable) NSString *view; + /** * Fetches a @c GTLRBackupdr_ListBackupVaultsResponse. * diff --git a/Sources/GeneratedServices/BareMetalSolution/GTLRBareMetalSolutionObjects.m b/Sources/GeneratedServices/BareMetalSolution/GTLRBareMetalSolutionObjects.m index 2a5de03e8..d90c6c1c1 100644 --- a/Sources/GeneratedServices/BareMetalSolution/GTLRBareMetalSolutionObjects.m +++ b/Sources/GeneratedServices/BareMetalSolution/GTLRBareMetalSolutionObjects.m @@ -846,7 +846,7 @@ @implementation GTLRBareMetalSolution_NetworkAddressReservation @implementation GTLRBareMetalSolution_NetworkConfig @dynamic bandwidth, cidr, gcpService, identifier, jumboFramesEnabled, name, - serviceCidr, type, userNote, vlanAttachments, vlanSameProject; + serviceCidr, type, userNote, vlanAttachments, vlanSameProject, vrf; + (NSDictionary *)propertyToJSONKeyMap { return @{ @"identifier" : @"id" }; diff --git a/Sources/GeneratedServices/BareMetalSolution/Public/GoogleAPIClientForREST/GTLRBareMetalSolutionObjects.h b/Sources/GeneratedServices/BareMetalSolution/Public/GoogleAPIClientForREST/GTLRBareMetalSolutionObjects.h index c77ee15e6..1fe0ca64c 100644 --- a/Sources/GeneratedServices/BareMetalSolution/Public/GoogleAPIClientForREST/GTLRBareMetalSolutionObjects.h +++ b/Sources/GeneratedServices/BareMetalSolution/Public/GoogleAPIClientForREST/GTLRBareMetalSolutionObjects.h @@ -2204,7 +2204,8 @@ FOUNDATION_EXTERN NSString * const kGTLRBareMetalSolution_VRF_State_StateUnspeci /** * List of VLAN attachments. As of now there are always 2 attachments, but it - * is going to change in the future (multi vlan). + * is going to change in the future (multi vlan). Use only one of + * vlan_attachments or vrf */ @property(nonatomic, strong, nullable) NSArray *vlanAttachments; @@ -2215,6 +2216,13 @@ FOUNDATION_EXTERN NSString * const kGTLRBareMetalSolution_VRF_State_StateUnspeci */ @property(nonatomic, strong, nullable) NSNumber *vlanSameProject; +/** + * Optional. The name of a pre-existing Vrf that the network should be attached + * to. Format is `vrfs/{vrf}`. If vrf is specified, vlan_attachments must be + * empty. + */ +@property(nonatomic, copy, nullable) NSString *vrf; + @end diff --git a/Sources/GeneratedServices/BigQueryDataTransfer/GTLRBigQueryDataTransferObjects.m b/Sources/GeneratedServices/BigQueryDataTransfer/GTLRBigQueryDataTransferObjects.m index 3e6b11ff7..96560a8ec 100644 --- a/Sources/GeneratedServices/BigQueryDataTransfer/GTLRBigQueryDataTransferObjects.m +++ b/Sources/GeneratedServices/BigQueryDataTransfer/GTLRBigQueryDataTransferObjects.m @@ -180,6 +180,16 @@ @implementation GTLRBigQueryDataTransfer_EnrollDataSourcesRequest @end +// ---------------------------------------------------------------------------- +// +// GTLRBigQueryDataTransfer_EventDrivenSchedule +// + +@implementation GTLRBigQueryDataTransfer_EventDrivenSchedule +@dynamic pubsubSubscription; +@end + + // ---------------------------------------------------------------------------- // // GTLRBigQueryDataTransfer_ListDataSourcesResponse @@ -328,6 +338,15 @@ + (Class)classForAdditionalProperties { @end +// ---------------------------------------------------------------------------- +// +// GTLRBigQueryDataTransfer_ManualSchedule +// + +@implementation GTLRBigQueryDataTransfer_ManualSchedule +@end + + // ---------------------------------------------------------------------------- // // GTLRBigQueryDataTransfer_ScheduleOptions @@ -338,6 +357,16 @@ @implementation GTLRBigQueryDataTransfer_ScheduleOptions @end +// ---------------------------------------------------------------------------- +// +// GTLRBigQueryDataTransfer_ScheduleOptionsV2 +// + +@implementation GTLRBigQueryDataTransfer_ScheduleOptionsV2 +@dynamic eventDrivenSchedule, manualSchedule, timeBasedSchedule; +@end + + // ---------------------------------------------------------------------------- // // GTLRBigQueryDataTransfer_ScheduleTransferRunsRequest @@ -426,6 +455,16 @@ + (Class)classForAdditionalProperties { @end +// ---------------------------------------------------------------------------- +// +// GTLRBigQueryDataTransfer_TimeBasedSchedule +// + +@implementation GTLRBigQueryDataTransfer_TimeBasedSchedule +@dynamic endTime, schedule, startTime; +@end + + // ---------------------------------------------------------------------------- // // GTLRBigQueryDataTransfer_TimeRange @@ -444,9 +483,9 @@ @implementation GTLRBigQueryDataTransfer_TimeRange @implementation GTLRBigQueryDataTransfer_TransferConfig @dynamic dataRefreshWindowDays, datasetRegion, dataSourceId, destinationDatasetId, disabled, displayName, emailPreferences, - encryptionConfiguration, name, nextRunTime, notificationPubsubTopic, - ownerInfo, params, schedule, scheduleOptions, state, updateTime, - userId; + encryptionConfiguration, error, name, nextRunTime, + notificationPubsubTopic, ownerInfo, params, schedule, scheduleOptions, + scheduleOptionsV2, state, updateTime, userId; @end diff --git a/Sources/GeneratedServices/BigQueryDataTransfer/Public/GoogleAPIClientForREST/GTLRBigQueryDataTransferObjects.h b/Sources/GeneratedServices/BigQueryDataTransfer/Public/GoogleAPIClientForREST/GTLRBigQueryDataTransferObjects.h index 6867aadf9..b7c9b86c5 100644 --- a/Sources/GeneratedServices/BigQueryDataTransfer/Public/GoogleAPIClientForREST/GTLRBigQueryDataTransferObjects.h +++ b/Sources/GeneratedServices/BigQueryDataTransfer/Public/GoogleAPIClientForREST/GTLRBigQueryDataTransferObjects.h @@ -19,12 +19,16 @@ @class GTLRBigQueryDataTransfer_DataSourceParameter; @class GTLRBigQueryDataTransfer_EmailPreferences; @class GTLRBigQueryDataTransfer_EncryptionConfiguration; +@class GTLRBigQueryDataTransfer_EventDrivenSchedule; @class GTLRBigQueryDataTransfer_Location; @class GTLRBigQueryDataTransfer_Location_Labels; @class GTLRBigQueryDataTransfer_Location_Metadata; +@class GTLRBigQueryDataTransfer_ManualSchedule; @class GTLRBigQueryDataTransfer_ScheduleOptions; +@class GTLRBigQueryDataTransfer_ScheduleOptionsV2; @class GTLRBigQueryDataTransfer_Status; @class GTLRBigQueryDataTransfer_Status_Details_Item; +@class GTLRBigQueryDataTransfer_TimeBasedSchedule; @class GTLRBigQueryDataTransfer_TimeRange; @class GTLRBigQueryDataTransfer_TransferConfig; @class GTLRBigQueryDataTransfer_TransferConfig_Params; @@ -617,6 +621,21 @@ FOUNDATION_EXTERN NSString * const kGTLRBigQueryDataTransfer_TransferRun_State_T @end +/** + * Options customizing EventDriven transfers schedule. + */ +@interface GTLRBigQueryDataTransfer_EventDrivenSchedule : GTLRObject + +/** + * Pub/Sub subscription name used to receive events. Only Google Cloud Storage + * data source support this option. Format: + * projects/{project}/subscriptions/{subscription} + */ +@property(nonatomic, copy, nullable) NSString *pubsubSubscription; + +@end + + /** * Returns list of supported data sources and their metadata. * @@ -814,6 +833,13 @@ FOUNDATION_EXTERN NSString * const kGTLRBigQueryDataTransfer_TransferRun_State_T @end +/** + * Options customizing manual transfers schedule. + */ +@interface GTLRBigQueryDataTransfer_ManualSchedule : GTLRObject +@end + + /** * Options customizing the data transfer schedule. */ @@ -849,6 +875,36 @@ FOUNDATION_EXTERN NSString * const kGTLRBigQueryDataTransfer_TransferRun_State_T @end +/** + * V2 options customizing different types of data transfer schedule. This field + * supports existing time-based and manual transfer schedule. Also supports + * Event-Driven transfer schedule. ScheduleOptionsV2 cannot be used together + * with ScheduleOptions/Schedule. + */ +@interface GTLRBigQueryDataTransfer_ScheduleOptionsV2 : GTLRObject + +/** + * Event driven transfer schedule options. If set, the transfer will be + * scheduled upon events arrial. + */ +@property(nonatomic, strong, nullable) GTLRBigQueryDataTransfer_EventDrivenSchedule *eventDrivenSchedule; + +/** + * Manual transfer schedule. If set, the transfer run will not be + * auto-scheduled by the system, unless the client invokes + * StartManualTransferRuns. This is equivalent to disable_auto_scheduling = + * true. + */ +@property(nonatomic, strong, nullable) GTLRBigQueryDataTransfer_ManualSchedule *manualSchedule; + +/** + * Time based transfer schedule options. This is the default schedule option. + */ +@property(nonatomic, strong, nullable) GTLRBigQueryDataTransfer_TimeBasedSchedule *timeBasedSchedule; + +@end + + /** * A request to schedule transfer runs for a time range. */ @@ -959,6 +1015,42 @@ FOUNDATION_EXTERN NSString * const kGTLRBigQueryDataTransfer_TransferRun_State_T @end +/** + * Options customizing the time based transfer schedule. Options are migrated + * from the original ScheduleOptions message. + */ +@interface GTLRBigQueryDataTransfer_TimeBasedSchedule : GTLRObject + +/** + * Defines time to stop scheduling transfer runs. A transfer run cannot be + * scheduled at or after the end time. The end time can be changed at any + * moment. + */ +@property(nonatomic, strong, nullable) GTLRDateTime *endTime; + +/** + * Data transfer schedule. If the data source does not support a custom + * schedule, this should be empty. If it is empty, the default value for the + * data source will be used. The specified times are in UTC. Examples of valid + * format: `1st,3rd monday of month 15:30`, `every wed,fri of jan,jun 13:15`, + * and `first sunday of quarter 00:00`. See more explanation about the format + * here: + * https://cloud.google.com/appengine/docs/flexible/python/scheduling-jobs-with-cron-yaml#the_schedule_format + * NOTE: The minimum interval time between recurring transfers depends on the + * data source; refer to the documentation for your data source. + */ +@property(nonatomic, copy, nullable) NSString *schedule; + +/** + * Specifies time to start scheduling transfer runs. The first run will be + * scheduled at or after the start time according to a recurrence pattern + * defined in the schedule string. The start time can be changed at any moment. + */ +@property(nonatomic, strong, nullable) GTLRDateTime *startTime; + +@end + + /** * A specification for a time range, this will request transfer runs with * run_time between start_time (inclusive) and end_time (exclusive). @@ -1044,6 +1136,12 @@ FOUNDATION_EXTERN NSString * const kGTLRBigQueryDataTransfer_TransferRun_State_T */ @property(nonatomic, strong, nullable) GTLRBigQueryDataTransfer_EncryptionConfiguration *encryptionConfiguration; +/** + * Output only. Error code with detailed information about reason of the latest + * config failure. + */ +@property(nonatomic, strong, nullable) GTLRBigQueryDataTransfer_Status *error; + /** * Identifier. The resource name of the transfer config. Transfer config names * have the form either @@ -1095,6 +1193,13 @@ FOUNDATION_EXTERN NSString * const kGTLRBigQueryDataTransfer_TransferRun_State_T /** Options customizing the data transfer schedule. */ @property(nonatomic, strong, nullable) GTLRBigQueryDataTransfer_ScheduleOptions *scheduleOptions; +/** + * Options customizing different types of data transfer schedule. This field + * replaces "schedule" and "schedule_options" fields. ScheduleOptionsV2 cannot + * be used together with ScheduleOptions/Schedule. + */ +@property(nonatomic, strong, nullable) GTLRBigQueryDataTransfer_ScheduleOptionsV2 *scheduleOptionsV2; + /** * Output only. State of the most recently updated transfer run. * diff --git a/Sources/GeneratedServices/BigQueryReservation/Public/GoogleAPIClientForREST/GTLRBigQueryReservationObjects.h b/Sources/GeneratedServices/BigQueryReservation/Public/GoogleAPIClientForREST/GTLRBigQueryReservationObjects.h index 44e098a39..99c5726bf 100644 --- a/Sources/GeneratedServices/BigQueryReservation/Public/GoogleAPIClientForREST/GTLRBigQueryReservationObjects.h +++ b/Sources/GeneratedServices/BigQueryReservation/Public/GoogleAPIClientForREST/GTLRBigQueryReservationObjects.h @@ -478,13 +478,18 @@ FOUNDATION_EXTERN NSString * const kGTLRBigQueryReservation_Reservation_Edition_ /** * Output only. The end of the current commitment period. It is applicable only - * for ACTIVE capacity commitments. + * for ACTIVE capacity commitments. Note after renewal, commitment_end_time is + * the time the renewed commitment expires. So itwould be at a time after + * commitment_start_time + committed period, because we don't change + * commitment_start_time , */ @property(nonatomic, strong, nullable) GTLRDateTime *commitmentEndTime; /** * Output only. The start of the current commitment period. It is applicable - * only for ACTIVE capacity commitments. + * only for ACTIVE capacity commitments. Note after the commitment is renewed, + * commitment_start_time won't be changed. It refers to the start time of the + * original commitment. */ @property(nonatomic, strong, nullable) GTLRDateTime *commitmentStartTime; diff --git a/Sources/GeneratedServices/Bigquery/GTLRBigqueryObjects.m b/Sources/GeneratedServices/Bigquery/GTLRBigqueryObjects.m index e8165ce77..ab860220f 100644 --- a/Sources/GeneratedServices/Bigquery/GTLRBigqueryObjects.m +++ b/Sources/GeneratedServices/Bigquery/GTLRBigqueryObjects.m @@ -171,6 +171,7 @@ NSString * const kGTLRBigquery_IndexUnusedReason_Code_PendingIndexCreation = @"PENDING_INDEX_CREATION"; NSString * const kGTLRBigquery_IndexUnusedReason_Code_QueryCacheHit = @"QUERY_CACHE_HIT"; NSString * const kGTLRBigquery_IndexUnusedReason_Code_SecuredByDataMasking = @"SECURED_BY_DATA_MASKING"; +NSString * const kGTLRBigquery_IndexUnusedReason_Code_StaleIndex = @"STALE_INDEX"; NSString * const kGTLRBigquery_IndexUnusedReason_Code_TimeTravelQuery = @"TIME_TRAVEL_QUERY"; NSString * const kGTLRBigquery_IndexUnusedReason_Code_UnindexedSearchFields = @"UNINDEXED_SEARCH_FIELDS"; NSString * const kGTLRBigquery_IndexUnusedReason_Code_UnsupportedSearchPattern = @"UNSUPPORTED_SEARCH_PATTERN"; diff --git a/Sources/GeneratedServices/Bigquery/Public/GoogleAPIClientForREST/GTLRBigqueryObjects.h b/Sources/GeneratedServices/Bigquery/Public/GoogleAPIClientForREST/GTLRBigqueryObjects.h index 7037b7e3e..f9ff30cbc 100644 --- a/Sources/GeneratedServices/Bigquery/Public/GoogleAPIClientForREST/GTLRBigqueryObjects.h +++ b/Sources/GeneratedServices/Bigquery/Public/GoogleAPIClientForREST/GTLRBigqueryObjects.h @@ -1038,6 +1038,12 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_IndexUnusedReason_Code_QueryCac * Value: "SECURED_BY_DATA_MASKING" */ FOUNDATION_EXTERN NSString * const kGTLRBigquery_IndexUnusedReason_Code_SecuredByDataMasking; +/** + * The index cannot be used in the search query because it is stale. + * + * Value: "STALE_INDEX" + */ +FOUNDATION_EXTERN NSString * const kGTLRBigquery_IndexUnusedReason_Code_StaleIndex; /** * Indicates the search query accesses data at a timestamp before the last time * the search index was refreshed. @@ -1554,7 +1560,7 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_MlStatistics_ModelType_Xgboost; /** * [Hyperparameter tuning - * training](/bigquery-ml/docs/reference/standard-sql/bigqueryml-syntax-hp-tuning-overview). + * training](https://cloud.google.com/bigquery-ml/docs/reference/standard-sql/bigqueryml-syntax-hp-tuning-overview). * * Value: "HPARAM_TUNING" */ @@ -1814,8 +1820,8 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_RemoteModelInfo_RemoteServiceTy /** * Restrict data egress. See [Data - * egress](/bigquery/docs/analytics-hub-introduction#data_egress) for more - * details. + * egress](https://cloud.google.com/bigquery/docs/analytics-hub-introduction#data_egress) + * for more details. * * Value: "RESTRICTED_DATA_EGRESS" */ @@ -5353,12 +5359,14 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa @property(nonatomic, strong, nullable) NSNumber *maxTimeTravelHours; /** - * Optional. The [tags](/bigquery/docs/tags) attached to this dataset. Tag keys - * are globally unique. Tag key is expected to be in the namespaced format, for - * example "123456789012/environment" where 123456789012 is the ID of the - * parent organization or project resource for this tag key. Tag value is - * expected to be the short name, for example "Production". See [Tag - * definitions](/iam/docs/tags-access-control#definitions) for more details. + * Optional. The [tags](https://cloud.google.com/bigquery/docs/tags) attached + * to this dataset. Tag keys are globally unique. Tag key is expected to be in + * the namespaced format, for example "123456789012/environment" where + * 123456789012 is the ID of the parent organization or project resource for + * this tag key. Tag value is expected to be the short name, for example + * "Production". See [Tag + * definitions](https://cloud.google.com/iam/docs/tags-access-control#definitions) + * for more details. */ @property(nonatomic, strong, nullable) GTLRBigquery_Dataset_ResourceTags *resourceTags; @@ -5366,8 +5374,8 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa * Optional. Output only. Restriction config for all tables and dataset. If * set, restrict certain accesses on the dataset and all its tables based on * the config. See [Data - * egress](/bigquery/docs/analytics-hub-introduction#data_egress) for more - * details. + * egress](https://cloud.google.com/bigquery/docs/analytics-hub-introduction#data_egress) + * for more details. */ @property(nonatomic, strong, nullable) GTLRBigquery_RestrictionConfig *restrictions; @@ -5519,12 +5527,14 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa /** - * Optional. The [tags](/bigquery/docs/tags) attached to this dataset. Tag keys - * are globally unique. Tag key is expected to be in the namespaced format, for - * example "123456789012/environment" where 123456789012 is the ID of the - * parent organization or project resource for this tag key. Tag value is - * expected to be the short name, for example "Production". See [Tag - * definitions](/iam/docs/tags-access-control#definitions) for more details. + * Optional. The [tags](https://cloud.google.com/bigquery/docs/tags) attached + * to this dataset. Tag keys are globally unique. Tag key is expected to be in + * the namespaced format, for example "123456789012/environment" where + * 123456789012 is the ID of the parent organization or project resource for + * this tag key. Tag value is expected to be the short name, for example + * "Production". See [Tag + * definitions](https://cloud.google.com/iam/docs/tags-access-control#definitions) + * for more details. * * @note This class is documented as having more properties of NSString. Use @c * -additionalJSONKeys and @c -additionalPropertyForName: to get the list @@ -7198,7 +7208,7 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa /** * Training info of a trial in [hyperparameter - * tuning](/bigquery-ml/docs/reference/standard-sql/bigqueryml-syntax-hp-tuning-overview) + * tuning](https://cloud.google.com/bigquery-ml/docs/reference/standard-sql/bigqueryml-syntax-hp-tuning-overview) * models. */ @interface GTLRBigquery_HparamTuningTrial : GTLRObject @@ -7356,6 +7366,9 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa * @arg @c kGTLRBigquery_IndexUnusedReason_Code_SecuredByDataMasking * Indicates the query has been secured by data masking, and thus search * indexes are not applicable. (Value: "SECURED_BY_DATA_MASKING") + * @arg @c kGTLRBigquery_IndexUnusedReason_Code_StaleIndex The index cannot + * be used in the search query because it is stale. (Value: + * "STALE_INDEX") * @arg @c kGTLRBigquery_IndexUnusedReason_Code_TimeTravelQuery Indicates the * search query accesses data at a timestamp before the last time the * search index was refreshed. (Value: "TIME_TRAVEL_QUERY") @@ -7544,7 +7557,7 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa /** * Output only. The reason why a Job was created. - * [Preview](/products/#product-launch-stages) + * [Preview](https://cloud.google.com/products/#product-launch-stages) */ @property(nonatomic, strong, nullable) GTLRBigquery_JobCreationReason *jobCreationReason; @@ -8452,7 +8465,7 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa * method when used with `JOB_CREATION_OPTIONAL` Job creation mode. For * [`jobs.insert`](https://cloud.google.com/bigquery/docs/reference/rest/v2/jobs/insert) * method calls it will always be `REQUESTED`. - * [Preview](/products/#product-launch-stages) + * [Preview](https://cloud.google.com/products/#product-launch-stages) */ @interface GTLRBigquery_JobCreationReason : GTLRObject @@ -8952,88 +8965,88 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa /** * Output only. The type of query statement, if valid. Possible values: * * `SELECT`: - * [`SELECT`](/bigquery/docs/reference/standard-sql/query-syntax#select_list) + * [`SELECT`](https://cloud.google.com/bigquery/docs/reference/standard-sql/query-syntax#select_list) * statement. * `ASSERT`: - * [`ASSERT`](/bigquery/docs/reference/standard-sql/debugging-statements#assert) + * [`ASSERT`](https://cloud.google.com/bigquery/docs/reference/standard-sql/debugging-statements#assert) * statement. * `INSERT`: - * [`INSERT`](/bigquery/docs/reference/standard-sql/dml-syntax#insert_statement) + * [`INSERT`](https://cloud.google.com/bigquery/docs/reference/standard-sql/dml-syntax#insert_statement) * statement. * `UPDATE`: - * [`UPDATE`](/bigquery/docs/reference/standard-sql/query-syntax#update_statement) + * [`UPDATE`](https://cloud.google.com/bigquery/docs/reference/standard-sql/query-syntax#update_statement) * statement. * `DELETE`: - * [`DELETE`](/bigquery/docs/reference/standard-sql/data-manipulation-language) + * [`DELETE`](https://cloud.google.com/bigquery/docs/reference/standard-sql/data-manipulation-language) * statement. * `MERGE`: - * [`MERGE`](/bigquery/docs/reference/standard-sql/data-manipulation-language) + * [`MERGE`](https://cloud.google.com/bigquery/docs/reference/standard-sql/data-manipulation-language) * statement. * `CREATE_TABLE`: [`CREATE - * TABLE`](/bigquery/docs/reference/standard-sql/data-definition-language#create_table_statement) + * TABLE`](https://cloud.google.com/bigquery/docs/reference/standard-sql/data-definition-language#create_table_statement) * statement, without `AS SELECT`. * `CREATE_TABLE_AS_SELECT`: [`CREATE TABLE * AS - * SELECT`](/bigquery/docs/reference/standard-sql/data-definition-language#query_statement) + * SELECT`](https://cloud.google.com/bigquery/docs/reference/standard-sql/data-definition-language#query_statement) * statement. * `CREATE_VIEW`: [`CREATE - * VIEW`](/bigquery/docs/reference/standard-sql/data-definition-language#create_view_statement) + * VIEW`](https://cloud.google.com/bigquery/docs/reference/standard-sql/data-definition-language#create_view_statement) * statement. * `CREATE_MODEL`: [`CREATE - * MODEL`](/bigquery-ml/docs/reference/standard-sql/bigqueryml-syntax-create#create_model_statement) + * MODEL`](https://cloud.google.com/bigquery-ml/docs/reference/standard-sql/bigqueryml-syntax-create#create_model_statement) * statement. * `CREATE_MATERIALIZED_VIEW`: [`CREATE MATERIALIZED - * VIEW`](/bigquery/docs/reference/standard-sql/data-definition-language#create_materialized_view_statement) + * VIEW`](https://cloud.google.com/bigquery/docs/reference/standard-sql/data-definition-language#create_materialized_view_statement) * statement. * `CREATE_FUNCTION`: [`CREATE - * FUNCTION`](/bigquery/docs/reference/standard-sql/data-definition-language#create_function_statement) + * FUNCTION`](https://cloud.google.com/bigquery/docs/reference/standard-sql/data-definition-language#create_function_statement) * statement. * `CREATE_TABLE_FUNCTION`: [`CREATE TABLE - * FUNCTION`](/bigquery/docs/reference/standard-sql/data-definition-language#create_table_function_statement) + * FUNCTION`](https://cloud.google.com/bigquery/docs/reference/standard-sql/data-definition-language#create_table_function_statement) * statement. * `CREATE_PROCEDURE`: [`CREATE - * PROCEDURE`](/bigquery/docs/reference/standard-sql/data-definition-language#create_procedure) + * PROCEDURE`](https://cloud.google.com/bigquery/docs/reference/standard-sql/data-definition-language#create_procedure) * statement. * `CREATE_ROW_ACCESS_POLICY`: [`CREATE ROW ACCESS - * POLICY`](/bigquery/docs/reference/standard-sql/data-definition-language#create_row_access_policy_statement) + * POLICY`](https://cloud.google.com/bigquery/docs/reference/standard-sql/data-definition-language#create_row_access_policy_statement) * statement. * `CREATE_SCHEMA`: [`CREATE - * SCHEMA`](/bigquery/docs/reference/standard-sql/data-definition-language#create_schema_statement) + * SCHEMA`](https://cloud.google.com/bigquery/docs/reference/standard-sql/data-definition-language#create_schema_statement) * statement. * `CREATE_SNAPSHOT_TABLE`: [`CREATE SNAPSHOT - * TABLE`](/bigquery/docs/reference/standard-sql/data-definition-language#create_snapshot_table_statement) + * TABLE`](https://cloud.google.com/bigquery/docs/reference/standard-sql/data-definition-language#create_snapshot_table_statement) * statement. * `CREATE_SEARCH_INDEX`: [`CREATE SEARCH - * INDEX`](/bigquery/docs/reference/standard-sql/data-definition-language#create_search_index_statement) + * INDEX`](https://cloud.google.com/bigquery/docs/reference/standard-sql/data-definition-language#create_search_index_statement) * statement. * `DROP_TABLE`: [`DROP - * TABLE`](/bigquery/docs/reference/standard-sql/data-definition-language#drop_table_statement) + * TABLE`](https://cloud.google.com/bigquery/docs/reference/standard-sql/data-definition-language#drop_table_statement) * statement. * `DROP_EXTERNAL_TABLE`: [`DROP EXTERNAL - * TABLE`](/bigquery/docs/reference/standard-sql/data-definition-language#drop_external_table_statement) + * TABLE`](https://cloud.google.com/bigquery/docs/reference/standard-sql/data-definition-language#drop_external_table_statement) * statement. * `DROP_VIEW`: [`DROP - * VIEW`](/bigquery/docs/reference/standard-sql/data-definition-language#drop_view_statement) + * VIEW`](https://cloud.google.com/bigquery/docs/reference/standard-sql/data-definition-language#drop_view_statement) * statement. * `DROP_MODEL`: [`DROP - * MODEL`](/bigquery-ml/docs/reference/standard-sql/bigqueryml-syntax-drop-model) + * MODEL`](https://cloud.google.com/bigquery-ml/docs/reference/standard-sql/bigqueryml-syntax-drop-model) * statement. * `DROP_MATERIALIZED_VIEW`: [`DROP MATERIALIZED - * VIEW`](/bigquery/docs/reference/standard-sql/data-definition-language#drop_materialized_view_statement) + * VIEW`](https://cloud.google.com/bigquery/docs/reference/standard-sql/data-definition-language#drop_materialized_view_statement) * statement. * `DROP_FUNCTION` : [`DROP - * FUNCTION`](/bigquery/docs/reference/standard-sql/data-definition-language#drop_function_statement) + * FUNCTION`](https://cloud.google.com/bigquery/docs/reference/standard-sql/data-definition-language#drop_function_statement) * statement. * `DROP_TABLE_FUNCTION` : [`DROP TABLE - * FUNCTION`](/bigquery/docs/reference/standard-sql/data-definition-language#drop_table_function) + * FUNCTION`](https://cloud.google.com/bigquery/docs/reference/standard-sql/data-definition-language#drop_table_function) * statement. * `DROP_PROCEDURE`: [`DROP - * PROCEDURE`](/bigquery/docs/reference/standard-sql/data-definition-language#drop_procedure_statement) + * PROCEDURE`](https://cloud.google.com/bigquery/docs/reference/standard-sql/data-definition-language#drop_procedure_statement) * statement. * `DROP_SEARCH_INDEX`: [`DROP SEARCH - * INDEX`](/bigquery/docs/reference/standard-sql/data-definition-language#drop_search_index) + * INDEX`](https://cloud.google.com/bigquery/docs/reference/standard-sql/data-definition-language#drop_search_index) * statement. * `DROP_SCHEMA`: [`DROP - * SCHEMA`](/bigquery/docs/reference/standard-sql/data-definition-language#drop_schema_statement) + * SCHEMA`](https://cloud.google.com/bigquery/docs/reference/standard-sql/data-definition-language#drop_schema_statement) * statement. * `DROP_SNAPSHOT_TABLE`: [`DROP SNAPSHOT - * TABLE`](/bigquery/docs/reference/standard-sql/data-definition-language#drop_snapshot_table_statement) + * TABLE`](https://cloud.google.com/bigquery/docs/reference/standard-sql/data-definition-language#drop_snapshot_table_statement) * statement. * `DROP_ROW_ACCESS_POLICY`: [`DROP [ALL] ROW ACCESS - * POLICY|POLICIES`](/bigquery/docs/reference/standard-sql/data-definition-language#drop_row_access_policy_statement) + * POLICY|POLICIES`](https://cloud.google.com/bigquery/docs/reference/standard-sql/data-definition-language#drop_row_access_policy_statement) * statement. * `ALTER_TABLE`: [`ALTER - * TABLE`](/bigquery/docs/reference/standard-sql/data-definition-language#alter_table_set_options_statement) + * TABLE`](https://cloud.google.com/bigquery/docs/reference/standard-sql/data-definition-language#alter_table_set_options_statement) * statement. * `ALTER_VIEW`: [`ALTER - * VIEW`](/bigquery/docs/reference/standard-sql/data-definition-language#alter_view_set_options_statement) + * VIEW`](https://cloud.google.com/bigquery/docs/reference/standard-sql/data-definition-language#alter_view_set_options_statement) * statement. * `ALTER_MATERIALIZED_VIEW`: [`ALTER MATERIALIZED - * VIEW`](/bigquery/docs/reference/standard-sql/data-definition-language#alter_materialized_view_set_options_statement) + * VIEW`](https://cloud.google.com/bigquery/docs/reference/standard-sql/data-definition-language#alter_materialized_view_set_options_statement) * statement. * `ALTER_SCHEMA`: [`ALTER - * SCHEMA`](/bigquery/docs/reference/standard-sql/data-definition-language#aalter_schema_set_options_statement) + * SCHEMA`](https://cloud.google.com/bigquery/docs/reference/standard-sql/data-definition-language#aalter_schema_set_options_statement) * statement. * `SCRIPT`: - * [`SCRIPT`](/bigquery/docs/reference/standard-sql/procedural-language). * - * `TRUNCATE_TABLE`: [`TRUNCATE - * TABLE`](/bigquery/docs/reference/standard-sql/dml-syntax#truncate_table_statement) + * [`SCRIPT`](https://cloud.google.com/bigquery/docs/reference/standard-sql/procedural-language). + * * `TRUNCATE_TABLE`: [`TRUNCATE + * TABLE`](https://cloud.google.com/bigquery/docs/reference/standard-sql/dml-syntax#truncate_table_statement) * statement. * `CREATE_EXTERNAL_TABLE`: [`CREATE EXTERNAL - * TABLE`](/bigquery/docs/reference/standard-sql/data-definition-language#create_external_table_statement) + * TABLE`](https://cloud.google.com/bigquery/docs/reference/standard-sql/data-definition-language#create_external_table_statement) * statement. * `EXPORT_DATA`: [`EXPORT - * DATA`](/bigquery/docs/reference/standard-sql/other-statements#export_data_statement) + * DATA`](https://cloud.google.com/bigquery/docs/reference/standard-sql/other-statements#export_data_statement) * statement. * `EXPORT_MODEL`: [`EXPORT - * MODEL`](/bigquery-ml/docs/reference/standard-sql/bigqueryml-syntax-export-model) + * MODEL`](https://cloud.google.com/bigquery-ml/docs/reference/standard-sql/bigqueryml-syntax-export-model) * statement. * `LOAD_DATA`: [`LOAD - * DATA`](/bigquery/docs/reference/standard-sql/other-statements#load_data_statement) + * DATA`](https://cloud.google.com/bigquery/docs/reference/standard-sql/other-statements#load_data_statement) * statement. * `CALL`: - * [`CALL`](/bigquery/docs/reference/standard-sql/procedural-language#call) + * [`CALL`](https://cloud.google.com/bigquery/docs/reference/standard-sql/procedural-language#call) * statement. */ @property(nonatomic, copy, nullable) NSString *statementType; @@ -9691,14 +9704,14 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa /** * Output only. Trials of a [hyperparameter tuning - * job](/bigquery-ml/docs/reference/standard-sql/bigqueryml-syntax-hp-tuning-overview) + * job](https://cloud.google.com/bigquery-ml/docs/reference/standard-sql/bigqueryml-syntax-hp-tuning-overview) * sorted by trial_id. */ @property(nonatomic, strong, nullable) NSArray *hparamTrials; /** * Results for all completed iterations. Empty for [hyperparameter tuning - * jobs](/bigquery-ml/docs/reference/standard-sql/bigqueryml-syntax-hp-tuning-overview). + * jobs](https://cloud.google.com/bigquery-ml/docs/reference/standard-sql/bigqueryml-syntax-hp-tuning-overview). */ @property(nonatomic, strong, nullable) NSArray *iterationResults; @@ -9777,7 +9790,7 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa * Likely values: * @arg @c kGTLRBigquery_MlStatistics_TrainingType_HparamTuning * [Hyperparameter tuning - * training](/bigquery-ml/docs/reference/standard-sql/bigqueryml-syntax-hp-tuning-overview). + * training](https://cloud.google.com/bigquery-ml/docs/reference/standard-sql/bigqueryml-syntax-hp-tuning-overview). * (Value: "HPARAM_TUNING") * @arg @c kGTLRBigquery_MlStatistics_TrainingType_SingleTraining Single * training with fixed parameter space. (Value: "SINGLE_TRAINING") @@ -9812,9 +9825,9 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa /** * Output only. The default trial_id to use in TVFs when the trial_id is not * passed in. For single-objective [hyperparameter - * tuning](/bigquery-ml/docs/reference/standard-sql/bigqueryml-syntax-hp-tuning-overview) + * tuning](https://cloud.google.com/bigquery-ml/docs/reference/standard-sql/bigqueryml-syntax-hp-tuning-overview) * models, this is the best trial ID. For multi-objective [hyperparameter - * tuning](/bigquery-ml/docs/reference/standard-sql/bigqueryml-syntax-hp-tuning-overview) + * tuning](https://cloud.google.com/bigquery-ml/docs/reference/standard-sql/bigqueryml-syntax-hp-tuning-overview) * models, this is the smallest trial ID among all Pareto optimal trials. * * Uses NSNumber of longLongValue. @@ -9864,7 +9877,7 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa /** * Output only. Trials of a [hyperparameter - * tuning](/bigquery-ml/docs/reference/standard-sql/bigqueryml-syntax-hp-tuning-overview) + * tuning](https://cloud.google.com/bigquery-ml/docs/reference/standard-sql/bigqueryml-syntax-hp-tuning-overview) * model sorted by trial_id. */ @property(nonatomic, strong, nullable) NSArray *hparamTrials; @@ -9963,9 +9976,9 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa /** * Output only. For single-objective [hyperparameter - * tuning](/bigquery-ml/docs/reference/standard-sql/bigqueryml-syntax-hp-tuning-overview) + * tuning](https://cloud.google.com/bigquery-ml/docs/reference/standard-sql/bigqueryml-syntax-hp-tuning-overview) * models, it only contains the best trial. For multi-objective [hyperparameter - * tuning](/bigquery-ml/docs/reference/standard-sql/bigqueryml-syntax-hp-tuning-overview) + * tuning](https://cloud.google.com/bigquery-ml/docs/reference/standard-sql/bigqueryml-syntax-hp-tuning-overview) * models, it contains all Pareto optimal trials sorted by trial_id. * * Uses NSNumber of longLongValue. @@ -10040,7 +10053,7 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa /** * The 1-based ID of the trial to be exported from a hyperparameter tuning * model. If not specified, the trial with id = - * [Model](/bigquery/docs/reference/rest/v2/models#resource:-model).defaultTrialId + * [Model](https://cloud.google.com/bigquery/docs/reference/rest/v2/models#resource:-model).defaultTrialId * is exported. This field is ignored for models not trained with * hyperparameter tuning. * @@ -10625,7 +10638,7 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa /** * Optional. If not set, jobs are always required. If set, the query request * will follow the behavior described JobCreationMode. - * [Preview](/products/#product-launch-stages) + * [Preview](https://cloud.google.com/products/#product-launch-stages) * * Likely values: * @arg @c kGTLRBigquery_QueryRequest_JobCreationMode_JobCreationModeUnspecified @@ -10823,7 +10836,8 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa /** * Optional. The reason why a Job was created. Only relevant when a * job_reference is present in the response. If job_reference is not present it - * will always be unset. [Preview](/products/#product-launch-stages) + * will always be unset. + * [Preview](https://cloud.google.com/products/#product-launch-stages) */ @property(nonatomic, strong, nullable) GTLRBigquery_JobCreationReason *jobCreationReason; @@ -10859,7 +10873,8 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa @property(nonatomic, copy, nullable) NSString *pageToken; /** - * Auto-generated ID for the query. [Preview](/products/#product-launch-stages) + * Auto-generated ID for the query. + * [Preview](https://cloud.google.com/products/#product-launch-stages) */ @property(nonatomic, copy, nullable) NSString *queryId; @@ -11237,8 +11252,8 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa * Likely values: * @arg @c kGTLRBigquery_RestrictionConfig_Type_RestrictedDataEgress Restrict * data egress. See [Data - * egress](/bigquery/docs/analytics-hub-introduction#data_egress) for - * more details. (Value: "RESTRICTED_DATA_EGRESS") + * egress](https://cloud.google.com/bigquery/docs/analytics-hub-introduction#data_egress) + * for more details. (Value: "RESTRICTED_DATA_EGRESS") * @arg @c kGTLRBigquery_RestrictionConfig_Type_RestrictionTypeUnspecified * Should never be used. (Value: "RESTRICTION_TYPE_UNSPECIFIED") */ @@ -12167,8 +12182,8 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa /** * Optional. The physical location of the table (e.g. - * 'gs://spark-dataproc-data/pangea-data/case_sensitive/' or - * 'gs://spark-dataproc-data/pangea-data/ *'). The maximum length is 2056 + * `gs://spark-dataproc-data/pangea-data/case_sensitive/` or + * `gs://spark-dataproc-data/pangea-data/ *`). The maximum length is 2056 * bytes. */ @property(nonatomic, copy, nullable) NSString *locationUri; @@ -12566,8 +12581,8 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa /** * Optional. Output only. Restriction config for table. If set, restrict * certain accesses on the table based on the config. See [Data - * egress](/bigquery/docs/analytics-hub-introduction#data_egress) for more - * details. + * egress](https://cloud.google.com/bigquery/docs/analytics-hub-introduction#data_egress) + * for more details. */ @property(nonatomic, strong, nullable) GTLRBigquery_RestrictionConfig *restrictions; @@ -12613,8 +12628,8 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa * precomputed view defined by a SQL query. * `SNAPSHOT`: An immutable BigQuery * table that preserves the contents of a base table at a particular time. See * additional information on [table - * snapshots](/bigquery/docs/table-snapshots-intro). The default value is - * `TABLE`. + * snapshots](https://cloud.google.com/bigquery/docs/table-snapshots-intro). + * The default value is `TABLE`. */ @property(nonatomic, copy, nullable) NSString *type; @@ -13220,7 +13235,8 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa @property(nonatomic, strong, nullable) GTLRBigquery_TableReference *tableReference; /** - * [Table type](/bigquery/docs/reference/rest/v2/tables#Table.FIELDS.type). + * [Table + * type](https://cloud.google.com/bigquery/docs/reference/rest/v2/tables#Table.FIELDS.type). */ @property(nonatomic, copy, nullable) NSString *tableType; diff --git a/Sources/GeneratedServices/BigtableAdmin/GTLRBigtableAdminObjects.m b/Sources/GeneratedServices/BigtableAdmin/GTLRBigtableAdminObjects.m index 49fe139ee..75e102afb 100644 --- a/Sources/GeneratedServices/BigtableAdmin/GTLRBigtableAdminObjects.m +++ b/Sources/GeneratedServices/BigtableAdmin/GTLRBigtableAdminObjects.m @@ -25,6 +25,11 @@ NSString * const kGTLRBigtableAdmin_AuditLogConfig_LogType_DataWrite = @"DATA_WRITE"; NSString * const kGTLRBigtableAdmin_AuditLogConfig_LogType_LogTypeUnspecified = @"LOG_TYPE_UNSPECIFIED"; +// GTLRBigtableAdmin_Backup.backupType +NSString * const kGTLRBigtableAdmin_Backup_BackupType_BackupTypeUnspecified = @"BACKUP_TYPE_UNSPECIFIED"; +NSString * const kGTLRBigtableAdmin_Backup_BackupType_Hot = @"HOT"; +NSString * const kGTLRBigtableAdmin_Backup_BackupType_Standard = @"STANDARD"; + // GTLRBigtableAdmin_Backup.state NSString * const kGTLRBigtableAdmin_Backup_State_Creating = @"CREATING"; NSString * const kGTLRBigtableAdmin_Backup_State_Ready = @"READY"; @@ -35,6 +40,11 @@ NSString * const kGTLRBigtableAdmin_Cluster_DefaultStorageType_Ssd = @"SSD"; NSString * const kGTLRBigtableAdmin_Cluster_DefaultStorageType_StorageTypeUnspecified = @"STORAGE_TYPE_UNSPECIFIED"; +// GTLRBigtableAdmin_Cluster.nodeScalingFactor +NSString * const kGTLRBigtableAdmin_Cluster_NodeScalingFactor_NodeScalingFactor1x = @"NODE_SCALING_FACTOR_1X"; +NSString * const kGTLRBigtableAdmin_Cluster_NodeScalingFactor_NodeScalingFactor2x = @"NODE_SCALING_FACTOR_2X"; +NSString * const kGTLRBigtableAdmin_Cluster_NodeScalingFactor_NodeScalingFactorUnspecified = @"NODE_SCALING_FACTOR_UNSPECIFIED"; + // GTLRBigtableAdmin_Cluster.state NSString * const kGTLRBigtableAdmin_Cluster_State_Creating = @"CREATING"; NSString * const kGTLRBigtableAdmin_Cluster_State_Disabled = @"DISABLED"; @@ -94,6 +104,10 @@ NSString * const kGTLRBigtableAdmin_TableProgress_State_Pending = @"PENDING"; NSString * const kGTLRBigtableAdmin_TableProgress_State_StateUnspecified = @"STATE_UNSPECIFIED"; +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wdeprecated-declarations" +#pragma clang diagnostic ignored "-Wdeprecated-implementations" + // ---------------------------------------------------------------------------- // // GTLRBigtableAdmin_AppProfile @@ -202,8 +216,8 @@ @implementation GTLRBigtableAdmin_AutoscalingTargets // @implementation GTLRBigtableAdmin_Backup -@dynamic encryptionInfo, endTime, expireTime, name, sizeBytes, sourceBackup, - sourceTable, startTime, state; +@dynamic backupType, encryptionInfo, endTime, expireTime, hotToStandardTime, + name, sizeBytes, sourceBackup, sourceTable, startTime, state; @end @@ -272,7 +286,7 @@ @implementation GTLRBigtableAdmin_CheckConsistencyResponse @implementation GTLRBigtableAdmin_Cluster @dynamic clusterConfig, defaultStorageType, encryptionConfig, location, name, - serveNodes, state; + nodeScalingFactor, serveNodes, state; @end @@ -1216,7 +1230,7 @@ @implementation GTLRBigtableAdmin_ModifyColumnFamiliesRequest // @implementation GTLRBigtableAdmin_MultiClusterRoutingUseAny -@dynamic clusterIds; +@dynamic clusterIds, rowAffinity; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -1369,6 +1383,15 @@ @implementation GTLRBigtableAdmin_RestoreTableRequest @end +// ---------------------------------------------------------------------------- +// +// GTLRBigtableAdmin_RowAffinity +// + +@implementation GTLRBigtableAdmin_RowAffinity +@end + + // ---------------------------------------------------------------------------- // // GTLRBigtableAdmin_SetIamPolicyRequest @@ -1652,3 +1675,5 @@ @implementation GTLRBigtableAdmin_UpdateInstanceMetadata @implementation GTLRBigtableAdmin_UpdateTableMetadata @dynamic endTime, name, startTime; @end + +#pragma clang diagnostic pop diff --git a/Sources/GeneratedServices/BigtableAdmin/Public/GoogleAPIClientForREST/GTLRBigtableAdminObjects.h b/Sources/GeneratedServices/BigtableAdmin/Public/GoogleAPIClientForREST/GTLRBigtableAdminObjects.h index e8dd17ace..7d386d78b 100644 --- a/Sources/GeneratedServices/BigtableAdmin/Public/GoogleAPIClientForREST/GTLRBigtableAdminObjects.h +++ b/Sources/GeneratedServices/BigtableAdmin/Public/GoogleAPIClientForREST/GTLRBigtableAdminObjects.h @@ -87,6 +87,7 @@ @class GTLRBigtableAdmin_PartialUpdateInstanceRequest; @class GTLRBigtableAdmin_Policy; @class GTLRBigtableAdmin_RestoreInfo; +@class GTLRBigtableAdmin_RowAffinity; @class GTLRBigtableAdmin_SingleClusterRouting; @class GTLRBigtableAdmin_Split; @class GTLRBigtableAdmin_StandardIsolation; @@ -106,6 +107,7 @@ // 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 @@ -156,6 +158,32 @@ FOUNDATION_EXTERN NSString * const kGTLRBigtableAdmin_AuditLogConfig_LogType_Dat */ FOUNDATION_EXTERN NSString * const kGTLRBigtableAdmin_AuditLogConfig_LogType_LogTypeUnspecified; +// ---------------------------------------------------------------------------- +// GTLRBigtableAdmin_Backup.backupType + +/** + * Not specified. + * + * Value: "BACKUP_TYPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRBigtableAdmin_Backup_BackupType_BackupTypeUnspecified; +/** + * A backup type with faster restore to SSD performance. Only supported for + * backups created in SSD instances. A new SSD table restored from a hot backup + * reaches production performance more quickly than a standard backup. + * + * Value: "HOT" + */ +FOUNDATION_EXTERN NSString * const kGTLRBigtableAdmin_Backup_BackupType_Hot; +/** + * The default type for Cloud Bigtable managed backups. Supported for backups + * created in both HDD and SSD instances. Requires optimization when restored + * to a table in an SSD instance. + * + * Value: "STANDARD" + */ +FOUNDATION_EXTERN NSString * const kGTLRBigtableAdmin_Backup_BackupType_Standard; + // ---------------------------------------------------------------------------- // GTLRBigtableAdmin_Backup.state @@ -201,6 +229,30 @@ FOUNDATION_EXTERN NSString * const kGTLRBigtableAdmin_Cluster_DefaultStorageType */ FOUNDATION_EXTERN NSString * const kGTLRBigtableAdmin_Cluster_DefaultStorageType_StorageTypeUnspecified; +// ---------------------------------------------------------------------------- +// GTLRBigtableAdmin_Cluster.nodeScalingFactor + +/** + * The cluster is running with a scaling factor of 1. + * + * Value: "NODE_SCALING_FACTOR_1X" + */ +FOUNDATION_EXTERN NSString * const kGTLRBigtableAdmin_Cluster_NodeScalingFactor_NodeScalingFactor1x; +/** + * The cluster is running with a scaling factor of 2. All node count values + * must be in increments of 2 with this scaling factor enabled, otherwise an + * INVALID_ARGUMENT error will be returned. + * + * Value: "NODE_SCALING_FACTOR_2X" + */ +FOUNDATION_EXTERN NSString * const kGTLRBigtableAdmin_Cluster_NodeScalingFactor_NodeScalingFactor2x; +/** + * No node scaling specified. Defaults to NODE_SCALING_FACTOR_1X. + * + * Value: "NODE_SCALING_FACTOR_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRBigtableAdmin_Cluster_NodeScalingFactor_NodeScalingFactorUnspecified; + // ---------------------------------------------------------------------------- // GTLRBigtableAdmin_Cluster.state @@ -727,6 +779,24 @@ FOUNDATION_EXTERN NSString * const kGTLRBigtableAdmin_TableProgress_State_StateU */ @interface GTLRBigtableAdmin_Backup : GTLRObject +/** + * Indicates the backup type of the backup. + * + * Likely values: + * @arg @c kGTLRBigtableAdmin_Backup_BackupType_BackupTypeUnspecified Not + * specified. (Value: "BACKUP_TYPE_UNSPECIFIED") + * @arg @c kGTLRBigtableAdmin_Backup_BackupType_Hot A backup type with faster + * restore to SSD performance. Only supported for backups created in SSD + * instances. A new SSD table restored from a hot backup reaches + * production performance more quickly than a standard backup. (Value: + * "HOT") + * @arg @c kGTLRBigtableAdmin_Backup_BackupType_Standard The default type for + * Cloud Bigtable managed backups. Supported for backups created in both + * HDD and SSD instances. Requires optimization when restored to a table + * in an SSD instance. (Value: "STANDARD") + */ +@property(nonatomic, copy, nullable) NSString *backupType; + /** Output only. The encryption information for the backup. */ @property(nonatomic, strong, nullable) GTLRBigtableAdmin_EncryptionInfo *encryptionInfo; @@ -744,6 +814,16 @@ FOUNDATION_EXTERN NSString * const kGTLRBigtableAdmin_TableProgress_State_StateU */ @property(nonatomic, strong, nullable) GTLRDateTime *expireTime; +/** + * The time at which the hot backup will be converted to a standard backup. + * Once the `hot_to_standard_time` has passed, Cloud Bigtable will convert the + * hot backup to a standard backup. This value must be greater than the backup + * creation time by: - At least 24 hours This field only applies for hot + * backups. When creating or updating a standard backup, attempting to set this + * field will fail the request. + */ +@property(nonatomic, strong, nullable) GTLRDateTime *hotToStandardTime; + /** * A globally unique identifier for the backup which cannot be changed. Values * are of the form `projects/{project}/instances/{instance}/clusters/{cluster}/ @@ -1020,6 +1100,24 @@ FOUNDATION_EXTERN NSString * const kGTLRBigtableAdmin_TableProgress_State_StateU */ @property(nonatomic, copy, nullable) NSString *name; +/** + * Immutable. The node scaling factor of this cluster. + * + * Likely values: + * @arg @c kGTLRBigtableAdmin_Cluster_NodeScalingFactor_NodeScalingFactor1x + * The cluster is running with a scaling factor of 1. (Value: + * "NODE_SCALING_FACTOR_1X") + * @arg @c kGTLRBigtableAdmin_Cluster_NodeScalingFactor_NodeScalingFactor2x + * The cluster is running with a scaling factor of 2. All node count + * values must be in increments of 2 with this scaling factor enabled, + * otherwise an INVALID_ARGUMENT error will be returned. (Value: + * "NODE_SCALING_FACTOR_2X") + * @arg @c kGTLRBigtableAdmin_Cluster_NodeScalingFactor_NodeScalingFactorUnspecified + * No node scaling specified. Defaults to NODE_SCALING_FACTOR_1X. (Value: + * "NODE_SCALING_FACTOR_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *nodeScalingFactor; + /** * The number of nodes in the cluster. If no value is set, Cloud Bigtable * automatically allocates nodes based on your data footprint and optimized for @@ -2007,7 +2105,7 @@ FOUNDATION_EXTERN NSString * const kGTLRBigtableAdmin_TableProgress_State_StateU @interface GTLRBigtableAdmin_GoogleBigtableAdminV2TypeInt64EncodingBigEndianBytes : GTLRObject /** Deprecated: ignored if set. */ -@property(nonatomic, strong, nullable) GTLRBigtableAdmin_GoogleBigtableAdminV2TypeBytes *bytesType; +@property(nonatomic, strong, nullable) GTLRBigtableAdmin_GoogleBigtableAdminV2TypeBytes *bytesType GTLR_DEPRECATED; @end @@ -2054,7 +2152,7 @@ FOUNDATION_EXTERN NSString * const kGTLRBigtableAdmin_TableProgress_State_StateU @property(nonatomic, strong, nullable) GTLRBigtableAdmin_GoogleBigtableAdminV2TypeStringEncodingUtf8Bytes *utf8Bytes; /** Deprecated: if set, converts to an empty `utf8_bytes`. */ -@property(nonatomic, strong, nullable) GTLRBigtableAdmin_GoogleBigtableAdminV2TypeStringEncodingUtf8Raw *utf8Raw; +@property(nonatomic, strong, nullable) GTLRBigtableAdmin_GoogleBigtableAdminV2TypeStringEncodingUtf8Raw *utf8Raw GTLR_DEPRECATED; @end @@ -2071,6 +2169,7 @@ FOUNDATION_EXTERN NSString * const kGTLRBigtableAdmin_TableProgress_State_StateU /** * Deprecated: prefer the equivalent `Utf8Bytes`. */ +GTLR_DEPRECATED @interface GTLRBigtableAdmin_GoogleBigtableAdminV2TypeStringEncodingUtf8Raw : GTLRObject @end @@ -2683,6 +2782,12 @@ FOUNDATION_EXTERN NSString * const kGTLRBigtableAdmin_TableProgress_State_StateU */ @property(nonatomic, strong, nullable) NSArray *clusterIds; +/** + * Row affinity sticky routing based on the row key of the request. Requests + * that span multiple rows are routed non-deterministically. + */ +@property(nonatomic, strong, nullable) GTLRBigtableAdmin_RowAffinity *rowAffinity; + @end @@ -3043,6 +3148,21 @@ FOUNDATION_EXTERN NSString * const kGTLRBigtableAdmin_TableProgress_State_StateU @end +/** + * If enabled, Bigtable will route the request based on the row key of the + * request, rather than randomly. Instead, each row key will be assigned to a + * cluster, and will stick to that cluster. If clusters are added or removed, + * then this may affect which row keys stick to which clusters. To avoid this, + * users can use a cluster group to specify which clusters are to be used. In + * this case, new clusters that are not a part of the cluster group will not be + * routed to, and routing will be unaffected by the new cluster. Moreover, + * clusters specified in the cluster group cannot be deleted unless removed + * from the cluster group. + */ +@interface GTLRBigtableAdmin_RowAffinity : GTLRObject +@end + + /** * Request message for `SetIamPolicy` method. */ diff --git a/Sources/GeneratedServices/CCAIPlatform/GTLRCCAIPlatformObjects.m b/Sources/GeneratedServices/CCAIPlatform/GTLRCCAIPlatformObjects.m index 23acc218b..a946a2a29 100644 --- a/Sources/GeneratedServices/CCAIPlatform/GTLRCCAIPlatformObjects.m +++ b/Sources/GeneratedServices/CCAIPlatform/GTLRCCAIPlatformObjects.m @@ -428,11 +428,12 @@ @implementation GTLRCCAIPlatform_PrivateAccess // @implementation GTLRCCAIPlatform_PscSetting -@dynamic allowedConsumerProjectIds; +@dynamic allowedConsumerProjectIds, producerProjectIds; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ - @"allowedConsumerProjectIds" : [NSString class] + @"allowedConsumerProjectIds" : [NSString class], + @"producerProjectIds" : [NSString class] }; return map; } diff --git a/Sources/GeneratedServices/CCAIPlatform/Public/GoogleAPIClientForREST/GTLRCCAIPlatformObjects.h b/Sources/GeneratedServices/CCAIPlatform/Public/GoogleAPIClientForREST/GTLRCCAIPlatformObjects.h index b577a3275..f21d0c659 100644 --- a/Sources/GeneratedServices/CCAIPlatform/Public/GoogleAPIClientForREST/GTLRCCAIPlatformObjects.h +++ b/Sources/GeneratedServices/CCAIPlatform/Public/GoogleAPIClientForREST/GTLRCCAIPlatformObjects.h @@ -750,8 +750,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCCAIPlatform_WeeklySchedule_Days_Wednesd /** * Instances in this Channel will receive updates after all instances in - * `Critical` were updated + 2 days. They also will only be updated outside of - * their peak hours. + * `Normal` were updated. They also will only be updated outside of their peak + * hours. */ @interface GTLRCCAIPlatform_Critical : GTLRObject @@ -1160,6 +1160,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCCAIPlatform_WeeklySchedule_Days_Wednesd */ @property(nonatomic, strong, nullable) NSArray *allowedConsumerProjectIds; +/** Output only. The CCAIP tenant project ids. */ +@property(nonatomic, strong, nullable) NSArray *producerProjectIds; + @end diff --git a/Sources/GeneratedServices/Calendar/GTLRCalendarQuery.m b/Sources/GeneratedServices/Calendar/GTLRCalendarQuery.m index 7a0b47f27..637134065 100644 --- a/Sources/GeneratedServices/Calendar/GTLRCalendarQuery.m +++ b/Sources/GeneratedServices/Calendar/GTLRCalendarQuery.m @@ -14,6 +14,7 @@ // Constants // eventTypes +NSString * const kGTLRCalendarEventTypesBirthday = @"birthday"; NSString * const kGTLRCalendarEventTypesDefault = @"default"; NSString * const kGTLRCalendarEventTypesFocusTime = @"focusTime"; NSString * const kGTLRCalendarEventTypesFromGmail = @"fromGmail"; diff --git a/Sources/GeneratedServices/Calendar/Public/GoogleAPIClientForREST/GTLRCalendarObjects.h b/Sources/GeneratedServices/Calendar/Public/GoogleAPIClientForREST/GTLRCalendarObjects.h index a8c1bd94f..5f9051097 100644 --- a/Sources/GeneratedServices/Calendar/Public/GoogleAPIClientForREST/GTLRCalendarObjects.h +++ b/Sources/GeneratedServices/Calendar/Public/GoogleAPIClientForREST/GTLRCalendarObjects.h @@ -970,11 +970,12 @@ NS_ASSUME_NONNULL_BEGIN /** * Specific type of the event. This cannot be modified after the event is * created. Possible values are: + * - "birthday" - A special all-day event with an annual recurrence. * - "default" - A regular event or not further specified. - * - "outOfOffice" - An out-of-office event. * - "focusTime" - A focus-time event. - * - "workingLocation" - A working location event. * - "fromGmail" - An event from Gmail. This type of event cannot be created. + * - "outOfOffice" - An out-of-office event. + * - "workingLocation" - A working location event. */ @property(nonatomic, copy, nullable) NSString *eventType; diff --git a/Sources/GeneratedServices/Calendar/Public/GoogleAPIClientForREST/GTLRCalendarQuery.h b/Sources/GeneratedServices/Calendar/Public/GoogleAPIClientForREST/GTLRCalendarQuery.h index 7ccc316e2..70a247820 100644 --- a/Sources/GeneratedServices/Calendar/Public/GoogleAPIClientForREST/GTLRCalendarQuery.h +++ b/Sources/GeneratedServices/Calendar/Public/GoogleAPIClientForREST/GTLRCalendarQuery.h @@ -29,6 +29,12 @@ NS_ASSUME_NONNULL_BEGIN // ---------------------------------------------------------------------------- // eventTypes +/** + * Special all-day events with an annual recurrence. + * + * Value: "birthday" + */ +FOUNDATION_EXTERN NSString * const kGTLRCalendarEventTypesBirthday; /** * Regular events. * @@ -1453,6 +1459,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCalendarSendUpdatesNone; * types. * * Likely values: + * @arg @c kGTLRCalendarEventTypesBirthday Special all-day events with an + * annual recurrence. (Value: "birthday") * @arg @c kGTLRCalendarEventTypesDefault Regular events. (Value: "default") * @arg @c kGTLRCalendarEventTypesFocusTime Focus time events. (Value: * "focusTime") @@ -1644,8 +1652,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCalendarSendUpdatesNone; /** * Moves an event to another calendar, i.e. changes an event's organizer. Note - * that only default events can be moved; outOfOffice, focusTime, - * workingLocation and fromGmail events cannot be moved. + * that only default events can be moved; birthday, focusTime, fromGmail, + * outOfOffice and workingLocation events cannot be moved. * * Method: calendar.events.move * @@ -1696,8 +1704,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCalendarSendUpdatesNone; * Fetches a @c GTLRCalendar_Event. * * Moves an event to another calendar, i.e. changes an event's organizer. Note - * that only default events can be moved; outOfOffice, focusTime, - * workingLocation and fromGmail events cannot be moved. + * that only default events can be moved; birthday, focusTime, fromGmail, + * outOfOffice and workingLocation events cannot be moved. * * @param calendarId Calendar identifier of the source calendar where the event * currently is on. @@ -1990,6 +1998,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCalendarSendUpdatesNone; * types. * * Likely values: + * @arg @c kGTLRCalendarEventTypesBirthday Special all-day events with an + * annual recurrence. (Value: "birthday") * @arg @c kGTLRCalendarEventTypesDefault Regular events. (Value: "default") * @arg @c kGTLRCalendarEventTypesFocusTime Focus time events. (Value: * "focusTime") diff --git a/Sources/GeneratedServices/CertificateAuthorityService/Public/GoogleAPIClientForREST/GTLRCertificateAuthorityServiceObjects.h b/Sources/GeneratedServices/CertificateAuthorityService/Public/GoogleAPIClientForREST/GTLRCertificateAuthorityServiceObjects.h index 332f4fe59..d1dbbc85f 100644 --- a/Sources/GeneratedServices/CertificateAuthorityService/Public/GoogleAPIClientForREST/GTLRCertificateAuthorityServiceObjects.h +++ b/Sources/GeneratedServices/CertificateAuthorityService/Public/GoogleAPIClientForREST/GTLRCertificateAuthorityServiceObjects.h @@ -972,8 +972,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCertificateAuthorityService_RevokedCerti @property(nonatomic, strong, nullable) GTLRCertificateAuthorityService_CaPool_Labels *labels; /** - * Output only. The resource name for this CaPool in the format `projects/ * - * /locations/ * /caPools/ *`. + * Output only. Identifier. The resource name for this CaPool in the format + * `projects/ * /locations/ * /caPools/ *`. */ @property(nonatomic, copy, nullable) NSString *name; diff --git a/Sources/GeneratedServices/CertificateAuthorityService/Public/GoogleAPIClientForREST/GTLRCertificateAuthorityServiceQuery.h b/Sources/GeneratedServices/CertificateAuthorityService/Public/GoogleAPIClientForREST/GTLRCertificateAuthorityServiceQuery.h index 7b39132b0..eb4932f96 100644 --- a/Sources/GeneratedServices/CertificateAuthorityService/Public/GoogleAPIClientForREST/GTLRCertificateAuthorityServiceQuery.h +++ b/Sources/GeneratedServices/CertificateAuthorityService/Public/GoogleAPIClientForREST/GTLRCertificateAuthorityServiceQuery.h @@ -1290,8 +1290,8 @@ NS_ASSUME_NONNULL_BEGIN @interface GTLRCertificateAuthorityServiceQuery_ProjectsLocationsCaPoolsPatch : GTLRCertificateAuthorityServiceQuery /** - * Output only. The resource name for this CaPool in the format `projects/ * - * /locations/ * /caPools/ *`. + * Output only. Identifier. The resource name for this CaPool in the format + * `projects/ * /locations/ * /caPools/ *`. */ @property(nonatomic, copy, nullable) NSString *name; @@ -1323,8 +1323,8 @@ NS_ASSUME_NONNULL_BEGIN * * @param object The @c GTLRCertificateAuthorityService_CaPool to include in * the query. - * @param name Output only. The resource name for this CaPool in the format - * `projects/ * /locations/ * /caPools/ *`. + * @param name Output only. Identifier. The resource name for this CaPool in + * the format `projects/ * /locations/ * /caPools/ *`. * * @return GTLRCertificateAuthorityServiceQuery_ProjectsLocationsCaPoolsPatch */ diff --git a/Sources/GeneratedServices/ChecksService/GTLRChecksServiceQuery.m b/Sources/GeneratedServices/ChecksService/GTLRChecksServiceQuery.m index 0b5e03db9..10b83b386 100644 --- a/Sources/GeneratedServices/ChecksService/GTLRChecksServiceQuery.m +++ b/Sources/GeneratedServices/ChecksService/GTLRChecksServiceQuery.m @@ -204,6 +204,25 @@ + (instancetype)queryWithParent:(NSString *)parent { @end +@implementation GTLRChecksServiceQuery_AccountsReposOperationsGet + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1alpha/{+name}"; + GTLRChecksServiceQuery_AccountsReposOperationsGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRChecksService_Operation class]; + query.loggingName = @"checks.accounts.repos.operations.get"; + return query; +} + +@end + @implementation GTLRChecksServiceQuery_MediaUpload @dynamic parent; diff --git a/Sources/GeneratedServices/ChecksService/Public/GoogleAPIClientForREST/GTLRChecksServiceQuery.h b/Sources/GeneratedServices/ChecksService/Public/GoogleAPIClientForREST/GTLRChecksServiceQuery.h index 2a1c7de6c..9ff69bb52 100644 --- a/Sources/GeneratedServices/ChecksService/Public/GoogleAPIClientForREST/GTLRChecksServiceQuery.h +++ b/Sources/GeneratedServices/ChecksService/Public/GoogleAPIClientForREST/GTLRChecksServiceQuery.h @@ -377,6 +377,33 @@ NS_ASSUME_NONNULL_BEGIN @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: checks.accounts.repos.operations.get + */ +@interface GTLRChecksServiceQuery_AccountsReposOperationsGet : GTLRChecksServiceQuery + +/** The name of the operation resource. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRChecksService_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 GTLRChecksServiceQuery_AccountsReposOperationsGet + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + /** * Analyzes the uploaded app bundle and returns a google.longrunning.Operation * containing the generated Report. ## Example (upload only) Send a regular diff --git a/Sources/GeneratedServices/ChromeUXReport/Public/GoogleAPIClientForREST/GTLRChromeUXReportObjects.h b/Sources/GeneratedServices/ChromeUXReport/Public/GoogleAPIClientForREST/GTLRChromeUXReportObjects.h index 5b7363995..5f6aca84a 100644 --- a/Sources/GeneratedServices/ChromeUXReport/Public/GoogleAPIClientForREST/GTLRChromeUXReportObjects.h +++ b/Sources/GeneratedServices/ChromeUXReport/Public/GoogleAPIClientForREST/GTLRChromeUXReportObjects.h @@ -172,9 +172,9 @@ FOUNDATION_EXTERN NSString * const kGTLRChromeUXReport_QueryRequest_FormFactor_T * The proportion of users that experienced this bin's value for the given * metric. * - * Uses NSNumber of doubleValue. + * Can be any valid JSON type. */ -@property(nonatomic, strong, nullable) NSNumber *density; +@property(nonatomic, strong, nullable) id density; /** * End is the end of the data bin. If end is not populated, then the bin has no diff --git a/Sources/GeneratedServices/CivicInfo/GTLRCivicInfoObjects.m b/Sources/GeneratedServices/CivicInfo/GTLRCivicInfoObjects.m index c9b5ad131..f3609e10e 100644 --- a/Sources/GeneratedServices/CivicInfo/GTLRCivicInfoObjects.m +++ b/Sources/GeneratedServices/CivicInfo/GTLRCivicInfoObjects.m @@ -197,6 +197,30 @@ @implementation GTLRCivicInfo_Contest @end +// ---------------------------------------------------------------------------- +// +// GTLRCivicInfo_DivisionByAddressResponse +// + +@implementation GTLRCivicInfo_DivisionByAddressResponse +@dynamic divisions, normalizedInput; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRCivicInfo_DivisionByAddressResponse_Divisions +// + +@implementation GTLRCivicInfo_DivisionByAddressResponse_Divisions + ++ (Class)classForAdditionalProperties { + return [GTLRCivicInfo_GeographicDivision class]; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRCivicInfo_DivisionSearchResponse diff --git a/Sources/GeneratedServices/CivicInfo/GTLRCivicInfoQuery.m b/Sources/GeneratedServices/CivicInfo/GTLRCivicInfoQuery.m index 1f6af588a..4bf86fcd3 100644 --- a/Sources/GeneratedServices/CivicInfo/GTLRCivicInfoQuery.m +++ b/Sources/GeneratedServices/CivicInfo/GTLRCivicInfoQuery.m @@ -51,6 +51,23 @@ @implementation GTLRCivicInfoQuery @end +@implementation GTLRCivicInfoQuery_DivisionsQueryDivisionByAddress + +@dynamic address; + ++ (instancetype)query { + NSString *pathURITemplate = @"civicinfo/v2/divisionsByAddress"; + GTLRCivicInfoQuery_DivisionsQueryDivisionByAddress *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:nil]; + query.expectedObjectClass = [GTLRCivicInfo_DivisionByAddressResponse class]; + query.loggingName = @"civicinfo.divisions.queryDivisionByAddress"; + return query; +} + +@end + @implementation GTLRCivicInfoQuery_DivisionsSearch @dynamic query; diff --git a/Sources/GeneratedServices/CivicInfo/Public/GoogleAPIClientForREST/GTLRCivicInfoObjects.h b/Sources/GeneratedServices/CivicInfo/Public/GoogleAPIClientForREST/GTLRCivicInfoObjects.h index 731dafd45..6caf694e6 100644 --- a/Sources/GeneratedServices/CivicInfo/Public/GoogleAPIClientForREST/GTLRCivicInfoObjects.h +++ b/Sources/GeneratedServices/CivicInfo/Public/GoogleAPIClientForREST/GTLRCivicInfoObjects.h @@ -20,6 +20,7 @@ @class GTLRCivicInfo_Candidate; @class GTLRCivicInfo_Channel; @class GTLRCivicInfo_Contest; +@class GTLRCivicInfo_DivisionByAddressResponse_Divisions; @class GTLRCivicInfo_DivisionSearchResult; @class GTLRCivicInfo_Election; @class GTLRCivicInfo_ElectionOfficial; @@ -504,6 +505,31 @@ FOUNDATION_EXTERN NSString * const kGTLRCivicInfo_Office_Roles_SpecialPurposeOff @end +/** + * GTLRCivicInfo_DivisionByAddressResponse + */ +@interface GTLRCivicInfo_DivisionByAddressResponse : GTLRObject + +@property(nonatomic, strong, nullable) GTLRCivicInfo_DivisionByAddressResponse_Divisions *divisions; + +/** The normalized version of the requested address. */ +@property(nonatomic, strong, nullable) GTLRCivicInfo_SimpleAddressType *normalizedInput; + +@end + + +/** + * GTLRCivicInfo_DivisionByAddressResponse_Divisions + * + * @note This class is documented as having more properties of + * GTLRCivicInfo_GeographicDivision. 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 GTLRCivicInfo_DivisionByAddressResponse_Divisions : GTLRObject +@end + + /** * The result of a division search query. */ diff --git a/Sources/GeneratedServices/CivicInfo/Public/GoogleAPIClientForREST/GTLRCivicInfoQuery.h b/Sources/GeneratedServices/CivicInfo/Public/GoogleAPIClientForREST/GTLRCivicInfoQuery.h index 4c7de0e93..4e6fc6f9e 100644 --- a/Sources/GeneratedServices/CivicInfo/Public/GoogleAPIClientForREST/GTLRCivicInfoQuery.h +++ b/Sources/GeneratedServices/CivicInfo/Public/GoogleAPIClientForREST/GTLRCivicInfoQuery.h @@ -89,6 +89,26 @@ FOUNDATION_EXTERN NSString * const kGTLRCivicInfoRolesSpecialPurposeOfficer; @end +/** + * Lookup OCDIDs and names for divisions related to an address. + * + * Method: civicinfo.divisions.queryDivisionByAddress + */ +@interface GTLRCivicInfoQuery_DivisionsQueryDivisionByAddress : GTLRCivicInfoQuery + +@property(nonatomic, copy, nullable) NSString *address; + +/** + * Fetches a @c GTLRCivicInfo_DivisionByAddressResponse. + * + * Lookup OCDIDs and names for divisions related to an address. + * + * @return GTLRCivicInfoQuery_DivisionsQueryDivisionByAddress + */ ++ (instancetype)query; + +@end + /** * Searches for political divisions by their natural name or OCD ID. * diff --git a/Sources/GeneratedServices/Classroom/Public/GoogleAPIClientForREST/GTLRClassroomObjects.h b/Sources/GeneratedServices/Classroom/Public/GoogleAPIClientForREST/GTLRClassroomObjects.h index f15aafb78..7517e1e0c 100644 --- a/Sources/GeneratedServices/Classroom/Public/GoogleAPIClientForREST/GTLRClassroomObjects.h +++ b/Sources/GeneratedServices/Classroom/Public/GoogleAPIClientForREST/GTLRClassroomObjects.h @@ -784,8 +784,9 @@ FOUNDATION_EXTERN NSString * const kGTLRClassroom_StudentSubmission_State_Turned @property(nonatomic, copy, nullable) NSString *identifier; /** - * Immutable. Identifier of the announcement, courseWork, or courseWorkMaterial - * under which the attachment is attached. Unique per course. + * Immutable. Identifier of the `Announcement`, `CourseWork`, or + * `CourseWorkMaterial` under which the attachment is attached. Unique per + * course. */ @property(nonatomic, copy, nullable) NSString *itemId; @@ -799,30 +800,31 @@ FOUNDATION_EXTERN NSString * const kGTLRClassroom_StudentSubmission_State_Turned */ @property(nonatomic, strong, nullable) NSNumber *maxPoints; -/** Immutable. Deprecated, use item_id instead. */ +/** Immutable. Deprecated, use `item_id` instead. */ @property(nonatomic, copy, nullable) NSString *postId GTLR_DEPRECATED; /** * Required. URI to show the student view of the attachment. The URI will be - * opened in an iframe with the `courseId`, `postId`, and `attachmentId` query - * parameters set. + * opened in an iframe with the `courseId`, `itemId`, `itemType`, and + * `attachmentId` query parameters set. */ @property(nonatomic, strong, nullable) GTLRClassroom_EmbedUri *studentViewUri; /** * URI for the teacher to see student work on the attachment, if applicable. - * The URI will be opened in an iframe with the `courseId`, `postId`, - * `attachmentId`, and `submissionId` query parameters set. This is the same - * `submissionId` returned by google.classroom.AddOns.GetAddOnContext when a - * student views the attachment. If the URI is omitted or removed, `max_points` - * will also be discarded. + * The URI will be opened in an iframe with the `courseId`, `itemId`, + * `itemType`, `attachmentId`, and `submissionId` query parameters set. This is + * the same `submissionId` returned in the + * [`AddOnContext.studentContext`](//devsite.google.com/classroom/reference/rest/v1/AddOnContext#StudentContext) + * field when a student views the attachment. If the URI is omitted or removed, + * `max_points` will also be discarded. */ @property(nonatomic, strong, nullable) GTLRClassroom_EmbedUri *studentWorkReviewUri; /** * Required. URI to show the teacher view of the attachment. The URI will be - * opened in an iframe with the `courseId`, `postId`, and `attachmentId` query - * parameters set. + * opened in an iframe with the `courseId`, `itemId`, `itemType`, and + * `attachmentId` query parameters set. */ @property(nonatomic, strong, nullable) GTLRClassroom_EmbedUri *teacherViewUri; @@ -882,12 +884,12 @@ FOUNDATION_EXTERN NSString * const kGTLRClassroom_StudentSubmission_State_Turned @property(nonatomic, copy, nullable) NSString *courseId; /** - * Immutable. Identifier of the announcement, courseWork, or courseWorkMaterial - * under which the attachment is attached. + * Immutable. Identifier of the `Announcement`, `CourseWork`, or + * `CourseWorkMaterial` under which the attachment is attached. */ @property(nonatomic, copy, nullable) NSString *itemId; -/** Immutable. Deprecated, use item_id instead. */ +/** Immutable. Deprecated, use `item_id` instead. */ @property(nonatomic, copy, nullable) NSString *postId GTLR_DEPRECATED; /** @@ -1089,12 +1091,12 @@ FOUNDATION_EXTERN NSString * const kGTLRClassroom_StudentSubmission_State_Turned @property(nonatomic, copy, nullable) NSString *courseId; /** - * Immutable. Identifier of the announcement, courseWork, or courseWorkMaterial - * under which the attachment is attached. + * Immutable. Identifier of the `Announcement`, `CourseWork`, or + * `CourseWorkMaterial` under which the attachment is attached. */ @property(nonatomic, copy, nullable) NSString *itemId; -/** Immutable. Deprecated, use item_id instead. */ +/** Immutable. Deprecated, use `item_id` instead. */ @property(nonatomic, copy, nullable) NSString *postId GTLR_DEPRECATED; @end diff --git a/Sources/GeneratedServices/Classroom/Public/GoogleAPIClientForREST/GTLRClassroomQuery.h b/Sources/GeneratedServices/Classroom/Public/GoogleAPIClientForREST/GTLRClassroomQuery.h index 14a4afa6e..cac6b2d5d 100644 --- a/Sources/GeneratedServices/Classroom/Public/GoogleAPIClientForREST/GTLRClassroomQuery.h +++ b/Sources/GeneratedServices/Classroom/Public/GoogleAPIClientForREST/GTLRClassroomQuery.h @@ -438,13 +438,13 @@ FOUNDATION_EXTERN NSString * const kGTLRClassroomStatesTurnedIn; @property(nonatomic, copy, nullable) NSString *courseId; /** - * Identifier of the announcement, courseWork, or courseWorkMaterial under - * which to create the attachment. This field is required, but is not marked as - * such while we are migrating from post_id. + * Identifier of the `Announcement`, `CourseWork`, or `CourseWorkMaterial` + * under which to create the attachment. This field is required, but is not + * marked as such while we are migrating from post_id. */ @property(nonatomic, copy, nullable) NSString *itemId; -/** Optional. Deprecated, use item_id instead. */ +/** Optional. Deprecated, use `item_id` instead. */ @property(nonatomic, copy, nullable) NSString *postId GTLR_DEPRECATED; /** @@ -458,8 +458,8 @@ FOUNDATION_EXTERN NSString * const kGTLRClassroomStatesTurnedIn; * * @param object The @c GTLRClassroom_AddOnAttachment to include in the query. * @param courseId Required. Identifier of the course. - * @param itemId Identifier of the announcement, courseWork, or - * courseWorkMaterial under which to create the attachment. This field is + * @param itemId Identifier of the `Announcement`, `CourseWork`, or + * `CourseWorkMaterial` under which to create the attachment. This field is * required, but is not marked as such while we are migrating from post_id. * * @return GTLRClassroomQuery_CoursesAnnouncementsAddOnAttachmentsCreate @@ -488,13 +488,13 @@ FOUNDATION_EXTERN NSString * const kGTLRClassroomStatesTurnedIn; @property(nonatomic, copy, nullable) NSString *courseId; /** - * Identifier of the announcement, courseWork, or courseWorkMaterial under - * which the attachment is attached. This field is required, but is not marked - * as such while we are migrating from post_id. + * Identifier of the `Announcement`, `CourseWork`, or `CourseWorkMaterial` + * under which the attachment is attached. This field is required, but is not + * marked as such while we are migrating from post_id. */ @property(nonatomic, copy, nullable) NSString *itemId; -/** Optional. Deprecated, use item_id instead. */ +/** Optional. Deprecated, use `item_id` instead. */ @property(nonatomic, copy, nullable) NSString *postId GTLR_DEPRECATED; /** @@ -507,8 +507,8 @@ FOUNDATION_EXTERN NSString * const kGTLRClassroomStatesTurnedIn; * exist. * * @param courseId Required. Identifier of the course. - * @param itemId Identifier of the announcement, courseWork, or - * courseWorkMaterial under which the attachment is attached. This field is + * @param itemId Identifier of the `Announcement`, `CourseWork`, or + * `CourseWorkMaterial` under which the attachment is attached. This field is * required, but is not marked as such while we are migrating from post_id. * @param attachmentId Required. Identifier of the attachment. * @@ -538,13 +538,13 @@ FOUNDATION_EXTERN NSString * const kGTLRClassroomStatesTurnedIn; @property(nonatomic, copy, nullable) NSString *courseId; /** - * Identifier of the announcement, courseWork, or courseWorkMaterial under - * which the attachment is attached. This field is required, but is not marked - * as such while we are migrating from post_id. + * Identifier of the `Announcement`, `CourseWork`, or `CourseWorkMaterial` + * under which the attachment is attached. This field is required, but is not + * marked as such while we are migrating from post_id. */ @property(nonatomic, copy, nullable) NSString *itemId; -/** Optional. Deprecated, use item_id instead. */ +/** Optional. Deprecated, use `item_id` instead. */ @property(nonatomic, copy, nullable) NSString *postId GTLR_DEPRECATED; /** @@ -557,8 +557,8 @@ FOUNDATION_EXTERN NSString * const kGTLRClassroomStatesTurnedIn; * identified resources does not exist. * * @param courseId Required. Identifier of the course. - * @param itemId Identifier of the announcement, courseWork, or - * courseWorkMaterial under which the attachment is attached. This field is + * @param itemId Identifier of the `Announcement`, `CourseWork`, or + * `CourseWorkMaterial` under which the attachment is attached. This field is * required, but is not marked as such while we are migrating from post_id. * @param attachmentId Required. Identifier of the attachment. * @@ -586,9 +586,9 @@ FOUNDATION_EXTERN NSString * const kGTLRClassroomStatesTurnedIn; @property(nonatomic, copy, nullable) NSString *courseId; /** - * Identifier of the announcement, courseWork, or courseWorkMaterial whose - * attachments should be enumerated. This field is required, but is not marked - * as such while we are migrating from post_id. + * Identifier of the `Announcement`, `CourseWork`, or `CourseWorkMaterial` + * whose attachments should be enumerated. This field is required, but is not + * marked as such while we are migrating from post_id. */ @property(nonatomic, copy, nullable) NSString *itemId; @@ -609,7 +609,7 @@ FOUNDATION_EXTERN NSString * const kGTLRClassroomStatesTurnedIn; /** * Optional. Identifier of the post under the course whose attachments to - * enumerate. Deprecated, use item_id instead. + * enumerate. Deprecated, use `item_id` instead. */ @property(nonatomic, copy, nullable) NSString *postId GTLR_DEPRECATED; @@ -624,8 +624,8 @@ FOUNDATION_EXTERN NSString * const kGTLRClassroomStatesTurnedIn; * exist. * * @param courseId Required. Identifier of the course. - * @param itemId Identifier of the announcement, courseWork, or - * courseWorkMaterial whose attachments should be enumerated. This field is + * @param itemId Identifier of the `Announcement`, `CourseWork`, or + * `CourseWorkMaterial` whose attachments should be enumerated. This field is * required, but is not marked as such while we are migrating from post_id. * * @return GTLRClassroomQuery_CoursesAnnouncementsAddOnAttachmentsList @@ -884,13 +884,13 @@ FOUNDATION_EXTERN NSString * const kGTLRClassroomStatesTurnedIn; @property(nonatomic, copy, nullable) NSString *courseId; /** - * Identifier of the announcement, courseWork, or courseWorkMaterial under - * which the attachment is attached. This field is required, but is not marked - * as such while we are migrating from post_id. + * Identifier of the `Announcement`, `CourseWork`, or `CourseWorkMaterial` + * under which the attachment is attached. This field is required, but is not + * marked as such while we are migrating from post_id. */ @property(nonatomic, copy, nullable) NSString *itemId; -/** Optional. Deprecated, use item_id instead. */ +/** Optional. Deprecated, use `item_id` instead. */ @property(nonatomic, copy, nullable) NSString *postId GTLR_DEPRECATED; /** @@ -906,8 +906,8 @@ FOUNDATION_EXTERN NSString * const kGTLRClassroomStatesTurnedIn; * `NOT_FOUND` if one of the identified resources does not exist. * * @param courseId Required. Identifier of the course. - * @param itemId Identifier of the announcement, courseWork, or - * courseWorkMaterial under which the attachment is attached. This field is + * @param itemId Identifier of the `Announcement`, `CourseWork`, or + * `CourseWorkMaterial` under which the attachment is attached. This field is * required, but is not marked as such while we are migrating from post_id. * * @return GTLRClassroomQuery_CoursesAnnouncementsGetAddOnContext @@ -1150,13 +1150,13 @@ FOUNDATION_EXTERN NSString * const kGTLRClassroomStatesTurnedIn; @property(nonatomic, copy, nullable) NSString *courseId; /** - * Identifier of the announcement, courseWork, or courseWorkMaterial under - * which to create the attachment. This field is required, but is not marked as - * such while we are migrating from post_id. + * Identifier of the `Announcement`, `CourseWork`, or `CourseWorkMaterial` + * under which to create the attachment. This field is required, but is not + * marked as such while we are migrating from post_id. */ @property(nonatomic, copy, nullable) NSString *itemId; -/** Optional. Deprecated, use item_id instead. */ +/** Optional. Deprecated, use `item_id` instead. */ @property(nonatomic, copy, nullable) NSString *postId GTLR_DEPRECATED; /** @@ -1170,8 +1170,8 @@ FOUNDATION_EXTERN NSString * const kGTLRClassroomStatesTurnedIn; * * @param object The @c GTLRClassroom_AddOnAttachment to include in the query. * @param courseId Required. Identifier of the course. - * @param itemId Identifier of the announcement, courseWork, or - * courseWorkMaterial under which to create the attachment. This field is + * @param itemId Identifier of the `Announcement`, `CourseWork`, or + * `CourseWorkMaterial` under which to create the attachment. This field is * required, but is not marked as such while we are migrating from post_id. * * @return GTLRClassroomQuery_CoursesCourseWorkAddOnAttachmentsCreate @@ -1200,13 +1200,13 @@ FOUNDATION_EXTERN NSString * const kGTLRClassroomStatesTurnedIn; @property(nonatomic, copy, nullable) NSString *courseId; /** - * Identifier of the announcement, courseWork, or courseWorkMaterial under - * which the attachment is attached. This field is required, but is not marked - * as such while we are migrating from post_id. + * Identifier of the `Announcement`, `CourseWork`, or `CourseWorkMaterial` + * under which the attachment is attached. This field is required, but is not + * marked as such while we are migrating from post_id. */ @property(nonatomic, copy, nullable) NSString *itemId; -/** Optional. Deprecated, use item_id instead. */ +/** Optional. Deprecated, use `item_id` instead. */ @property(nonatomic, copy, nullable) NSString *postId GTLR_DEPRECATED; /** @@ -1219,8 +1219,8 @@ FOUNDATION_EXTERN NSString * const kGTLRClassroomStatesTurnedIn; * exist. * * @param courseId Required. Identifier of the course. - * @param itemId Identifier of the announcement, courseWork, or - * courseWorkMaterial under which the attachment is attached. This field is + * @param itemId Identifier of the `Announcement`, `CourseWork`, or + * `CourseWorkMaterial` under which the attachment is attached. This field is * required, but is not marked as such while we are migrating from post_id. * @param attachmentId Required. Identifier of the attachment. * @@ -1250,13 +1250,13 @@ FOUNDATION_EXTERN NSString * const kGTLRClassroomStatesTurnedIn; @property(nonatomic, copy, nullable) NSString *courseId; /** - * Identifier of the announcement, courseWork, or courseWorkMaterial under - * which the attachment is attached. This field is required, but is not marked - * as such while we are migrating from post_id. + * Identifier of the `Announcement`, `CourseWork`, or `CourseWorkMaterial` + * under which the attachment is attached. This field is required, but is not + * marked as such while we are migrating from post_id. */ @property(nonatomic, copy, nullable) NSString *itemId; -/** Optional. Deprecated, use item_id instead. */ +/** Optional. Deprecated, use `item_id` instead. */ @property(nonatomic, copy, nullable) NSString *postId GTLR_DEPRECATED; /** @@ -1269,8 +1269,8 @@ FOUNDATION_EXTERN NSString * const kGTLRClassroomStatesTurnedIn; * identified resources does not exist. * * @param courseId Required. Identifier of the course. - * @param itemId Identifier of the announcement, courseWork, or - * courseWorkMaterial under which the attachment is attached. This field is + * @param itemId Identifier of the `Announcement`, `CourseWork`, or + * `CourseWorkMaterial` under which the attachment is attached. This field is * required, but is not marked as such while we are migrating from post_id. * @param attachmentId Required. Identifier of the attachment. * @@ -1298,9 +1298,9 @@ FOUNDATION_EXTERN NSString * const kGTLRClassroomStatesTurnedIn; @property(nonatomic, copy, nullable) NSString *courseId; /** - * Identifier of the announcement, courseWork, or courseWorkMaterial whose - * attachments should be enumerated. This field is required, but is not marked - * as such while we are migrating from post_id. + * Identifier of the `Announcement`, `CourseWork`, or `CourseWorkMaterial` + * whose attachments should be enumerated. This field is required, but is not + * marked as such while we are migrating from post_id. */ @property(nonatomic, copy, nullable) NSString *itemId; @@ -1321,7 +1321,7 @@ FOUNDATION_EXTERN NSString * const kGTLRClassroomStatesTurnedIn; /** * Optional. Identifier of the post under the course whose attachments to - * enumerate. Deprecated, use item_id instead. + * enumerate. Deprecated, use `item_id` instead. */ @property(nonatomic, copy, nullable) NSString *postId GTLR_DEPRECATED; @@ -1336,8 +1336,8 @@ FOUNDATION_EXTERN NSString * const kGTLRClassroomStatesTurnedIn; * exist. * * @param courseId Required. Identifier of the course. - * @param itemId Identifier of the announcement, courseWork, or - * courseWorkMaterial whose attachments should be enumerated. This field is + * @param itemId Identifier of the `Announcement`, `CourseWork`, or + * `CourseWorkMaterial` whose attachments should be enumerated. This field is * required, but is not marked as such while we are migrating from post_id. * * @return GTLRClassroomQuery_CoursesCourseWorkAddOnAttachmentsList @@ -1433,13 +1433,13 @@ FOUNDATION_EXTERN NSString * const kGTLRClassroomStatesTurnedIn; @property(nonatomic, copy, nullable) NSString *courseId; /** - * Identifier of the announcement, courseWork, or courseWorkMaterial under - * which the attachment is attached. This field is required, but is not marked - * as such while we are migrating from post_id. + * Identifier of the `Announcement`, `CourseWork`, or `CourseWorkMaterial` + * under which the attachment is attached. This field is required, but is not + * marked as such while we are migrating from post_id. */ @property(nonatomic, copy, nullable) NSString *itemId; -/** Optional. Deprecated, use item_id instead. */ +/** Optional. Deprecated, use `item_id` instead. */ @property(nonatomic, copy, nullable) NSString *postId GTLR_DEPRECATED; /** Required. Identifier of the student’s submission. */ @@ -1454,8 +1454,8 @@ FOUNDATION_EXTERN NSString * const kGTLRClassroomStatesTurnedIn; * identified resources does not exist. * * @param courseId Required. Identifier of the course. - * @param itemId Identifier of the announcement, courseWork, or - * courseWorkMaterial under which the attachment is attached. This field is + * @param itemId Identifier of the `Announcement`, `CourseWork`, or + * `CourseWorkMaterial` under which the attachment is attached. This field is * required, but is not marked as such while we are migrating from post_id. * @param attachmentId Required. Identifier of the attachment. * @param submissionId Required. Identifier of the student’s submission. @@ -1488,13 +1488,13 @@ FOUNDATION_EXTERN NSString * const kGTLRClassroomStatesTurnedIn; @property(nonatomic, copy, nullable) NSString *courseId; /** - * Identifier of the announcement, courseWork, or courseWorkMaterial under - * which the attachment is attached. This field is required, but is not marked - * as such while we are migrating from post_id. + * Identifier of the `Announcement`, `CourseWork`, or `CourseWorkMaterial` + * under which the attachment is attached. This field is required, but is not + * marked as such while we are migrating from post_id. */ @property(nonatomic, copy, nullable) NSString *itemId; -/** Optional. Deprecated, use item_id instead. */ +/** Optional. Deprecated, use `item_id` instead. */ @property(nonatomic, copy, nullable) NSString *postId GTLR_DEPRECATED; /** Required. Identifier of the student's submission. */ @@ -1524,8 +1524,8 @@ FOUNDATION_EXTERN NSString * const kGTLRClassroomStatesTurnedIn; * @param object The @c GTLRClassroom_AddOnAttachmentStudentSubmission to * include in the query. * @param courseId Required. Identifier of the course. - * @param itemId Identifier of the announcement, courseWork, or - * courseWorkMaterial under which the attachment is attached. This field is + * @param itemId Identifier of the `Announcement`, `CourseWork`, or + * `CourseWorkMaterial` under which the attachment is attached. This field is * required, but is not marked as such while we are migrating from post_id. * @param attachmentId Required. Identifier of the attachment. * @param submissionId Required. Identifier of the student's submission. @@ -1735,13 +1735,13 @@ FOUNDATION_EXTERN NSString * const kGTLRClassroomStatesTurnedIn; @property(nonatomic, copy, nullable) NSString *courseId; /** - * Identifier of the announcement, courseWork, or courseWorkMaterial under - * which the attachment is attached. This field is required, but is not marked - * as such while we are migrating from post_id. + * Identifier of the `Announcement`, `CourseWork`, or `CourseWorkMaterial` + * under which the attachment is attached. This field is required, but is not + * marked as such while we are migrating from post_id. */ @property(nonatomic, copy, nullable) NSString *itemId; -/** Optional. Deprecated, use item_id instead. */ +/** Optional. Deprecated, use `item_id` instead. */ @property(nonatomic, copy, nullable) NSString *postId GTLR_DEPRECATED; /** @@ -1757,8 +1757,8 @@ FOUNDATION_EXTERN NSString * const kGTLRClassroomStatesTurnedIn; * `NOT_FOUND` if one of the identified resources does not exist. * * @param courseId Required. Identifier of the course. - * @param itemId Identifier of the announcement, courseWork, or - * courseWorkMaterial under which the attachment is attached. This field is + * @param itemId Identifier of the `Announcement`, `CourseWork`, or + * `CourseWorkMaterial` under which the attachment is attached. This field is * required, but is not marked as such while we are migrating from post_id. * * @return GTLRClassroomQuery_CoursesCourseWorkGetAddOnContext @@ -1886,13 +1886,13 @@ FOUNDATION_EXTERN NSString * const kGTLRClassroomStatesTurnedIn; @property(nonatomic, copy, nullable) NSString *courseId; /** - * Identifier of the announcement, courseWork, or courseWorkMaterial under - * which to create the attachment. This field is required, but is not marked as - * such while we are migrating from post_id. + * Identifier of the `Announcement`, `CourseWork`, or `CourseWorkMaterial` + * under which to create the attachment. This field is required, but is not + * marked as such while we are migrating from post_id. */ @property(nonatomic, copy, nullable) NSString *itemId; -/** Optional. Deprecated, use item_id instead. */ +/** Optional. Deprecated, use `item_id` instead. */ @property(nonatomic, copy, nullable) NSString *postId GTLR_DEPRECATED; /** @@ -1906,8 +1906,8 @@ FOUNDATION_EXTERN NSString * const kGTLRClassroomStatesTurnedIn; * * @param object The @c GTLRClassroom_AddOnAttachment to include in the query. * @param courseId Required. Identifier of the course. - * @param itemId Identifier of the announcement, courseWork, or - * courseWorkMaterial under which to create the attachment. This field is + * @param itemId Identifier of the `Announcement`, `CourseWork`, or + * `CourseWorkMaterial` under which to create the attachment. This field is * required, but is not marked as such while we are migrating from post_id. * * @return GTLRClassroomQuery_CoursesCourseWorkMaterialsAddOnAttachmentsCreate @@ -1936,13 +1936,13 @@ FOUNDATION_EXTERN NSString * const kGTLRClassroomStatesTurnedIn; @property(nonatomic, copy, nullable) NSString *courseId; /** - * Identifier of the announcement, courseWork, or courseWorkMaterial under - * which the attachment is attached. This field is required, but is not marked - * as such while we are migrating from post_id. + * Identifier of the `Announcement`, `CourseWork`, or `CourseWorkMaterial` + * under which the attachment is attached. This field is required, but is not + * marked as such while we are migrating from post_id. */ @property(nonatomic, copy, nullable) NSString *itemId; -/** Optional. Deprecated, use item_id instead. */ +/** Optional. Deprecated, use `item_id` instead. */ @property(nonatomic, copy, nullable) NSString *postId GTLR_DEPRECATED; /** @@ -1955,8 +1955,8 @@ FOUNDATION_EXTERN NSString * const kGTLRClassroomStatesTurnedIn; * exist. * * @param courseId Required. Identifier of the course. - * @param itemId Identifier of the announcement, courseWork, or - * courseWorkMaterial under which the attachment is attached. This field is + * @param itemId Identifier of the `Announcement`, `CourseWork`, or + * `CourseWorkMaterial` under which the attachment is attached. This field is * required, but is not marked as such while we are migrating from post_id. * @param attachmentId Required. Identifier of the attachment. * @@ -1986,13 +1986,13 @@ FOUNDATION_EXTERN NSString * const kGTLRClassroomStatesTurnedIn; @property(nonatomic, copy, nullable) NSString *courseId; /** - * Identifier of the announcement, courseWork, or courseWorkMaterial under - * which the attachment is attached. This field is required, but is not marked - * as such while we are migrating from post_id. + * Identifier of the `Announcement`, `CourseWork`, or `CourseWorkMaterial` + * under which the attachment is attached. This field is required, but is not + * marked as such while we are migrating from post_id. */ @property(nonatomic, copy, nullable) NSString *itemId; -/** Optional. Deprecated, use item_id instead. */ +/** Optional. Deprecated, use `item_id` instead. */ @property(nonatomic, copy, nullable) NSString *postId GTLR_DEPRECATED; /** @@ -2005,8 +2005,8 @@ FOUNDATION_EXTERN NSString * const kGTLRClassroomStatesTurnedIn; * identified resources does not exist. * * @param courseId Required. Identifier of the course. - * @param itemId Identifier of the announcement, courseWork, or - * courseWorkMaterial under which the attachment is attached. This field is + * @param itemId Identifier of the `Announcement`, `CourseWork`, or + * `CourseWorkMaterial` under which the attachment is attached. This field is * required, but is not marked as such while we are migrating from post_id. * @param attachmentId Required. Identifier of the attachment. * @@ -2034,9 +2034,9 @@ FOUNDATION_EXTERN NSString * const kGTLRClassroomStatesTurnedIn; @property(nonatomic, copy, nullable) NSString *courseId; /** - * Identifier of the announcement, courseWork, or courseWorkMaterial whose - * attachments should be enumerated. This field is required, but is not marked - * as such while we are migrating from post_id. + * Identifier of the `Announcement`, `CourseWork`, or `CourseWorkMaterial` + * whose attachments should be enumerated. This field is required, but is not + * marked as such while we are migrating from post_id. */ @property(nonatomic, copy, nullable) NSString *itemId; @@ -2057,7 +2057,7 @@ FOUNDATION_EXTERN NSString * const kGTLRClassroomStatesTurnedIn; /** * Optional. Identifier of the post under the course whose attachments to - * enumerate. Deprecated, use item_id instead. + * enumerate. Deprecated, use `item_id` instead. */ @property(nonatomic, copy, nullable) NSString *postId GTLR_DEPRECATED; @@ -2072,8 +2072,8 @@ FOUNDATION_EXTERN NSString * const kGTLRClassroomStatesTurnedIn; * exist. * * @param courseId Required. Identifier of the course. - * @param itemId Identifier of the announcement, courseWork, or - * courseWorkMaterial whose attachments should be enumerated. This field is + * @param itemId Identifier of the `Announcement`, `CourseWork`, or + * `CourseWorkMaterial` whose attachments should be enumerated. This field is * required, but is not marked as such while we are migrating from post_id. * * @return GTLRClassroomQuery_CoursesCourseWorkMaterialsAddOnAttachmentsList @@ -2333,13 +2333,13 @@ FOUNDATION_EXTERN NSString * const kGTLRClassroomStatesTurnedIn; @property(nonatomic, copy, nullable) NSString *courseId; /** - * Identifier of the announcement, courseWork, or courseWorkMaterial under - * which the attachment is attached. This field is required, but is not marked - * as such while we are migrating from post_id. + * Identifier of the `Announcement`, `CourseWork`, or `CourseWorkMaterial` + * under which the attachment is attached. This field is required, but is not + * marked as such while we are migrating from post_id. */ @property(nonatomic, copy, nullable) NSString *itemId; -/** Optional. Deprecated, use item_id instead. */ +/** Optional. Deprecated, use `item_id` instead. */ @property(nonatomic, copy, nullable) NSString *postId GTLR_DEPRECATED; /** @@ -2355,8 +2355,8 @@ FOUNDATION_EXTERN NSString * const kGTLRClassroomStatesTurnedIn; * `NOT_FOUND` if one of the identified resources does not exist. * * @param courseId Required. Identifier of the course. - * @param itemId Identifier of the announcement, courseWork, or - * courseWorkMaterial under which the attachment is attached. This field is + * @param itemId Identifier of the `Announcement`, `CourseWork`, or + * `CourseWorkMaterial` under which the attachment is attached. This field is * required, but is not marked as such while we are migrating from post_id. * * @return GTLRClassroomQuery_CoursesCourseWorkMaterialsGetAddOnContext @@ -3510,13 +3510,13 @@ FOUNDATION_EXTERN NSString * const kGTLRClassroomStatesTurnedIn; @property(nonatomic, copy, nullable) NSString *courseId; /** - * Identifier of the announcement, courseWork, or courseWorkMaterial under - * which to create the attachment. This field is required, but is not marked as - * such while we are migrating from post_id. + * Identifier of the `Announcement`, `CourseWork`, or `CourseWorkMaterial` + * under which to create the attachment. This field is required, but is not + * marked as such while we are migrating from post_id. */ @property(nonatomic, copy, nullable) NSString *itemId; -/** Optional. Deprecated, use item_id instead. */ +/** Optional. Deprecated, use `item_id` instead. */ @property(nonatomic, copy, nullable) NSString *postId; /** @@ -3530,7 +3530,7 @@ FOUNDATION_EXTERN NSString * const kGTLRClassroomStatesTurnedIn; * * @param object The @c GTLRClassroom_AddOnAttachment to include in the query. * @param courseId Required. Identifier of the course. - * @param postId Optional. Deprecated, use item_id instead. + * @param postId Optional. Deprecated, use `item_id` instead. * * @return GTLRClassroomQuery_CoursesPostsAddOnAttachmentsCreate */ @@ -3558,13 +3558,13 @@ FOUNDATION_EXTERN NSString * const kGTLRClassroomStatesTurnedIn; @property(nonatomic, copy, nullable) NSString *courseId; /** - * Identifier of the announcement, courseWork, or courseWorkMaterial under - * which the attachment is attached. This field is required, but is not marked - * as such while we are migrating from post_id. + * Identifier of the `Announcement`, `CourseWork`, or `CourseWorkMaterial` + * under which the attachment is attached. This field is required, but is not + * marked as such while we are migrating from post_id. */ @property(nonatomic, copy, nullable) NSString *itemId; -/** Optional. Deprecated, use item_id instead. */ +/** Optional. Deprecated, use `item_id` instead. */ @property(nonatomic, copy, nullable) NSString *postId; /** @@ -3577,7 +3577,7 @@ FOUNDATION_EXTERN NSString * const kGTLRClassroomStatesTurnedIn; * exist. * * @param courseId Required. Identifier of the course. - * @param postId Optional. Deprecated, use item_id instead. + * @param postId Optional. Deprecated, use `item_id` instead. * @param attachmentId Required. Identifier of the attachment. * * @return GTLRClassroomQuery_CoursesPostsAddOnAttachmentsDelete @@ -3606,13 +3606,13 @@ FOUNDATION_EXTERN NSString * const kGTLRClassroomStatesTurnedIn; @property(nonatomic, copy, nullable) NSString *courseId; /** - * Identifier of the announcement, courseWork, or courseWorkMaterial under - * which the attachment is attached. This field is required, but is not marked - * as such while we are migrating from post_id. + * Identifier of the `Announcement`, `CourseWork`, or `CourseWorkMaterial` + * under which the attachment is attached. This field is required, but is not + * marked as such while we are migrating from post_id. */ @property(nonatomic, copy, nullable) NSString *itemId; -/** Optional. Deprecated, use item_id instead. */ +/** Optional. Deprecated, use `item_id` instead. */ @property(nonatomic, copy, nullable) NSString *postId; /** @@ -3625,7 +3625,7 @@ FOUNDATION_EXTERN NSString * const kGTLRClassroomStatesTurnedIn; * identified resources does not exist. * * @param courseId Required. Identifier of the course. - * @param postId Optional. Deprecated, use item_id instead. + * @param postId Optional. Deprecated, use `item_id` instead. * @param attachmentId Required. Identifier of the attachment. * * @return GTLRClassroomQuery_CoursesPostsAddOnAttachmentsGet @@ -3652,9 +3652,9 @@ FOUNDATION_EXTERN NSString * const kGTLRClassroomStatesTurnedIn; @property(nonatomic, copy, nullable) NSString *courseId; /** - * Identifier of the announcement, courseWork, or courseWorkMaterial whose - * attachments should be enumerated. This field is required, but is not marked - * as such while we are migrating from post_id. + * Identifier of the `Announcement`, `CourseWork`, or `CourseWorkMaterial` + * whose attachments should be enumerated. This field is required, but is not + * marked as such while we are migrating from post_id. */ @property(nonatomic, copy, nullable) NSString *itemId; @@ -3675,7 +3675,7 @@ FOUNDATION_EXTERN NSString * const kGTLRClassroomStatesTurnedIn; /** * Optional. Identifier of the post under the course whose attachments to - * enumerate. Deprecated, use item_id instead. + * enumerate. Deprecated, use `item_id` instead. */ @property(nonatomic, copy, nullable) NSString *postId; @@ -3691,7 +3691,7 @@ FOUNDATION_EXTERN NSString * const kGTLRClassroomStatesTurnedIn; * * @param courseId Required. Identifier of the course. * @param postId Optional. Identifier of the post under the course whose - * attachments to enumerate. Deprecated, use item_id instead. + * attachments to enumerate. Deprecated, use `item_id` instead. * * @return GTLRClassroomQuery_CoursesPostsAddOnAttachmentsList * @@ -3787,13 +3787,13 @@ FOUNDATION_EXTERN NSString * const kGTLRClassroomStatesTurnedIn; @property(nonatomic, copy, nullable) NSString *courseId; /** - * Identifier of the announcement, courseWork, or courseWorkMaterial under - * which the attachment is attached. This field is required, but is not marked - * as such while we are migrating from post_id. + * Identifier of the `Announcement`, `CourseWork`, or `CourseWorkMaterial` + * under which the attachment is attached. This field is required, but is not + * marked as such while we are migrating from post_id. */ @property(nonatomic, copy, nullable) NSString *itemId; -/** Optional. Deprecated, use item_id instead. */ +/** Optional. Deprecated, use `item_id` instead. */ @property(nonatomic, copy, nullable) NSString *postId; /** Required. Identifier of the student’s submission. */ @@ -3808,7 +3808,7 @@ FOUNDATION_EXTERN NSString * const kGTLRClassroomStatesTurnedIn; * identified resources does not exist. * * @param courseId Required. Identifier of the course. - * @param postId Optional. Deprecated, use item_id instead. + * @param postId Optional. Deprecated, use `item_id` instead. * @param attachmentId Required. Identifier of the attachment. * @param submissionId Required. Identifier of the student’s submission. * @@ -3840,13 +3840,13 @@ FOUNDATION_EXTERN NSString * const kGTLRClassroomStatesTurnedIn; @property(nonatomic, copy, nullable) NSString *courseId; /** - * Identifier of the announcement, courseWork, or courseWorkMaterial under - * which the attachment is attached. This field is required, but is not marked - * as such while we are migrating from post_id. + * Identifier of the `Announcement`, `CourseWork`, or `CourseWorkMaterial` + * under which the attachment is attached. This field is required, but is not + * marked as such while we are migrating from post_id. */ @property(nonatomic, copy, nullable) NSString *itemId; -/** Optional. Deprecated, use item_id instead. */ +/** Optional. Deprecated, use `item_id` instead. */ @property(nonatomic, copy, nullable) NSString *postId; /** Required. Identifier of the student's submission. */ @@ -3876,7 +3876,7 @@ FOUNDATION_EXTERN NSString * const kGTLRClassroomStatesTurnedIn; * @param object The @c GTLRClassroom_AddOnAttachmentStudentSubmission to * include in the query. * @param courseId Required. Identifier of the course. - * @param postId Optional. Deprecated, use item_id instead. + * @param postId Optional. Deprecated, use `item_id` instead. * @param attachmentId Required. Identifier of the attachment. * @param submissionId Required. Identifier of the student's submission. * @@ -3924,13 +3924,13 @@ FOUNDATION_EXTERN NSString * const kGTLRClassroomStatesTurnedIn; @property(nonatomic, copy, nullable) NSString *courseId; /** - * Identifier of the announcement, courseWork, or courseWorkMaterial under - * which the attachment is attached. This field is required, but is not marked - * as such while we are migrating from post_id. + * Identifier of the `Announcement`, `CourseWork`, or `CourseWorkMaterial` + * under which the attachment is attached. This field is required, but is not + * marked as such while we are migrating from post_id. */ @property(nonatomic, copy, nullable) NSString *itemId; -/** Optional. Deprecated, use item_id instead. */ +/** Optional. Deprecated, use `item_id` instead. */ @property(nonatomic, copy, nullable) NSString *postId; /** @@ -3946,7 +3946,7 @@ FOUNDATION_EXTERN NSString * const kGTLRClassroomStatesTurnedIn; * `NOT_FOUND` if one of the identified resources does not exist. * * @param courseId Required. Identifier of the course. - * @param postId Optional. Deprecated, use item_id instead. + * @param postId Optional. Deprecated, use `item_id` instead. * * @return GTLRClassroomQuery_CoursesPostsGetAddOnContext */ diff --git a/Sources/GeneratedServices/CloudAlloyDBAdmin/GTLRCloudAlloyDBAdminObjects.m b/Sources/GeneratedServices/CloudAlloyDBAdmin/GTLRCloudAlloyDBAdminObjects.m index 916dae98c..b73d6a093 100644 --- a/Sources/GeneratedServices/CloudAlloyDBAdmin/GTLRCloudAlloyDBAdminObjects.m +++ b/Sources/GeneratedServices/CloudAlloyDBAdmin/GTLRCloudAlloyDBAdminObjects.m @@ -28,6 +28,7 @@ NSString * const kGTLRCloudAlloyDBAdmin_Backup_DatabaseVersion_Postgres13 = @"POSTGRES_13"; NSString * const kGTLRCloudAlloyDBAdmin_Backup_DatabaseVersion_Postgres14 = @"POSTGRES_14"; NSString * const kGTLRCloudAlloyDBAdmin_Backup_DatabaseVersion_Postgres15 = @"POSTGRES_15"; +NSString * const kGTLRCloudAlloyDBAdmin_Backup_DatabaseVersion_Postgres16 = @"POSTGRES_16"; // GTLRCloudAlloyDBAdmin_Backup.state NSString * const kGTLRCloudAlloyDBAdmin_Backup_State_Creating = @"CREATING"; @@ -57,6 +58,7 @@ NSString * const kGTLRCloudAlloyDBAdmin_Cluster_DatabaseVersion_Postgres13 = @"POSTGRES_13"; NSString * const kGTLRCloudAlloyDBAdmin_Cluster_DatabaseVersion_Postgres14 = @"POSTGRES_14"; NSString * const kGTLRCloudAlloyDBAdmin_Cluster_DatabaseVersion_Postgres15 = @"POSTGRES_15"; +NSString * const kGTLRCloudAlloyDBAdmin_Cluster_DatabaseVersion_Postgres16 = @"POSTGRES_16"; // GTLRCloudAlloyDBAdmin_Cluster.state NSString * const kGTLRCloudAlloyDBAdmin_Cluster_State_Bootstrapping = @"BOOTSTRAPPING"; @@ -85,9 +87,14 @@ NSString * const kGTLRCloudAlloyDBAdmin_ClusterUpgradeDetails_DatabaseVersion_Postgres13 = @"POSTGRES_13"; NSString * const kGTLRCloudAlloyDBAdmin_ClusterUpgradeDetails_DatabaseVersion_Postgres14 = @"POSTGRES_14"; NSString * const kGTLRCloudAlloyDBAdmin_ClusterUpgradeDetails_DatabaseVersion_Postgres15 = @"POSTGRES_15"; +NSString * const kGTLRCloudAlloyDBAdmin_ClusterUpgradeDetails_DatabaseVersion_Postgres16 = @"POSTGRES_16"; // GTLRCloudAlloyDBAdmin_ClusterUpgradeDetails.upgradeStatus +NSString * const kGTLRCloudAlloyDBAdmin_ClusterUpgradeDetails_UpgradeStatus_CancelInProgress = @"CANCEL_IN_PROGRESS"; +NSString * const kGTLRCloudAlloyDBAdmin_ClusterUpgradeDetails_UpgradeStatus_Cancelled = @"CANCELLED"; NSString * const kGTLRCloudAlloyDBAdmin_ClusterUpgradeDetails_UpgradeStatus_Failed = @"FAILED"; +NSString * const kGTLRCloudAlloyDBAdmin_ClusterUpgradeDetails_UpgradeStatus_InProgress = @"IN_PROGRESS"; +NSString * const kGTLRCloudAlloyDBAdmin_ClusterUpgradeDetails_UpgradeStatus_NotStarted = @"NOT_STARTED"; NSString * const kGTLRCloudAlloyDBAdmin_ClusterUpgradeDetails_UpgradeStatus_PartialSuccess = @"PARTIAL_SUCCESS"; NSString * const kGTLRCloudAlloyDBAdmin_ClusterUpgradeDetails_UpgradeStatus_StatusUnspecified = @"STATUS_UNSPECIFIED"; NSString * const kGTLRCloudAlloyDBAdmin_ClusterUpgradeDetails_UpgradeStatus_Success = @"SUCCESS"; @@ -140,7 +147,11 @@ NSString * const kGTLRCloudAlloyDBAdmin_InstanceUpgradeDetails_InstanceType_Secondary = @"SECONDARY"; // GTLRCloudAlloyDBAdmin_InstanceUpgradeDetails.upgradeStatus +NSString * const kGTLRCloudAlloyDBAdmin_InstanceUpgradeDetails_UpgradeStatus_CancelInProgress = @"CANCEL_IN_PROGRESS"; +NSString * const kGTLRCloudAlloyDBAdmin_InstanceUpgradeDetails_UpgradeStatus_Cancelled = @"CANCELLED"; NSString * const kGTLRCloudAlloyDBAdmin_InstanceUpgradeDetails_UpgradeStatus_Failed = @"FAILED"; +NSString * const kGTLRCloudAlloyDBAdmin_InstanceUpgradeDetails_UpgradeStatus_InProgress = @"IN_PROGRESS"; +NSString * const kGTLRCloudAlloyDBAdmin_InstanceUpgradeDetails_UpgradeStatus_NotStarted = @"NOT_STARTED"; NSString * const kGTLRCloudAlloyDBAdmin_InstanceUpgradeDetails_UpgradeStatus_PartialSuccess = @"PARTIAL_SUCCESS"; NSString * const kGTLRCloudAlloyDBAdmin_InstanceUpgradeDetails_UpgradeStatus_StatusUnspecified = @"STATUS_UNSPECIFIED"; NSString * const kGTLRCloudAlloyDBAdmin_InstanceUpgradeDetails_UpgradeStatus_Success = @"SUCCESS"; @@ -173,13 +184,20 @@ // GTLRCloudAlloyDBAdmin_StageInfo.stage NSString * const kGTLRCloudAlloyDBAdmin_StageInfo_Stage_AlloydbPrecheck = @"ALLOYDB_PRECHECK"; +NSString * const kGTLRCloudAlloyDBAdmin_StageInfo_Stage_Cleanup = @"CLEANUP"; NSString * const kGTLRCloudAlloyDBAdmin_StageInfo_Stage_PgUpgradeCheck = @"PG_UPGRADE_CHECK"; +NSString * const kGTLRCloudAlloyDBAdmin_StageInfo_Stage_PrepareForUpgrade = @"PREPARE_FOR_UPGRADE"; NSString * const kGTLRCloudAlloyDBAdmin_StageInfo_Stage_PrimaryInstanceUpgrade = @"PRIMARY_INSTANCE_UPGRADE"; -NSString * const kGTLRCloudAlloyDBAdmin_StageInfo_Stage_ReadPoolUpgrade = @"READ_POOL_UPGRADE"; +NSString * const kGTLRCloudAlloyDBAdmin_StageInfo_Stage_ReadPoolInstancesUpgrade = @"READ_POOL_INSTANCES_UPGRADE"; +NSString * const kGTLRCloudAlloyDBAdmin_StageInfo_Stage_Rollback = @"ROLLBACK"; NSString * const kGTLRCloudAlloyDBAdmin_StageInfo_Stage_StageUnspecified = @"STAGE_UNSPECIFIED"; // GTLRCloudAlloyDBAdmin_StageInfo.status +NSString * const kGTLRCloudAlloyDBAdmin_StageInfo_Status_CancelInProgress = @"CANCEL_IN_PROGRESS"; +NSString * const kGTLRCloudAlloyDBAdmin_StageInfo_Status_Cancelled = @"CANCELLED"; NSString * const kGTLRCloudAlloyDBAdmin_StageInfo_Status_Failed = @"FAILED"; +NSString * const kGTLRCloudAlloyDBAdmin_StageInfo_Status_InProgress = @"IN_PROGRESS"; +NSString * const kGTLRCloudAlloyDBAdmin_StageInfo_Status_NotStarted = @"NOT_STARTED"; NSString * const kGTLRCloudAlloyDBAdmin_StageInfo_Status_PartialSuccess = @"PARTIAL_SUCCESS"; NSString * const kGTLRCloudAlloyDBAdmin_StageInfo_Status_StatusUnspecified = @"STATUS_UNSPECIFIED"; NSString * const kGTLRCloudAlloyDBAdmin_StageInfo_Status_Success = @"SUCCESS"; @@ -516,6 +534,7 @@ NSString * const kGTLRCloudAlloyDBAdmin_SupportedDatabaseFlag_SupportedDbVersions_Postgres13 = @"POSTGRES_13"; NSString * const kGTLRCloudAlloyDBAdmin_SupportedDatabaseFlag_SupportedDbVersions_Postgres14 = @"POSTGRES_14"; NSString * const kGTLRCloudAlloyDBAdmin_SupportedDatabaseFlag_SupportedDbVersions_Postgres15 = @"POSTGRES_15"; +NSString * const kGTLRCloudAlloyDBAdmin_SupportedDatabaseFlag_SupportedDbVersions_Postgres16 = @"POSTGRES_16"; // GTLRCloudAlloyDBAdmin_SupportedDatabaseFlag.valueType NSString * const kGTLRCloudAlloyDBAdmin_SupportedDatabaseFlag_ValueType_Float = @"FLOAT"; @@ -524,8 +543,19 @@ NSString * const kGTLRCloudAlloyDBAdmin_SupportedDatabaseFlag_ValueType_String = @"STRING"; NSString * const kGTLRCloudAlloyDBAdmin_SupportedDatabaseFlag_ValueType_ValueTypeUnspecified = @"VALUE_TYPE_UNSPECIFIED"; +// GTLRCloudAlloyDBAdmin_UpgradeClusterRequest.version +NSString * const kGTLRCloudAlloyDBAdmin_UpgradeClusterRequest_Version_DatabaseVersionUnspecified = @"DATABASE_VERSION_UNSPECIFIED"; +NSString * const kGTLRCloudAlloyDBAdmin_UpgradeClusterRequest_Version_Postgres13 = @"POSTGRES_13"; +NSString * const kGTLRCloudAlloyDBAdmin_UpgradeClusterRequest_Version_Postgres14 = @"POSTGRES_14"; +NSString * const kGTLRCloudAlloyDBAdmin_UpgradeClusterRequest_Version_Postgres15 = @"POSTGRES_15"; +NSString * const kGTLRCloudAlloyDBAdmin_UpgradeClusterRequest_Version_Postgres16 = @"POSTGRES_16"; + // GTLRCloudAlloyDBAdmin_UpgradeClusterResponse.status +NSString * const kGTLRCloudAlloyDBAdmin_UpgradeClusterResponse_Status_CancelInProgress = @"CANCEL_IN_PROGRESS"; +NSString * const kGTLRCloudAlloyDBAdmin_UpgradeClusterResponse_Status_Cancelled = @"CANCELLED"; NSString * const kGTLRCloudAlloyDBAdmin_UpgradeClusterResponse_Status_Failed = @"FAILED"; +NSString * const kGTLRCloudAlloyDBAdmin_UpgradeClusterResponse_Status_InProgress = @"IN_PROGRESS"; +NSString * const kGTLRCloudAlloyDBAdmin_UpgradeClusterResponse_Status_NotStarted = @"NOT_STARTED"; NSString * const kGTLRCloudAlloyDBAdmin_UpgradeClusterResponse_Status_PartialSuccess = @"PARTIAL_SUCCESS"; NSString * const kGTLRCloudAlloyDBAdmin_UpgradeClusterResponse_Status_StatusUnspecified = @"STATUS_UNSPECIFIED"; NSString * const kGTLRCloudAlloyDBAdmin_UpgradeClusterResponse_Status_Success = @"SUCCESS"; @@ -922,9 +952,9 @@ @implementation GTLRCloudAlloyDBAdmin_Instance @dynamic annotations, availabilityType, clientConnectionConfig, createTime, databaseFlags, deleteTime, displayName, ETag, gceZone, instanceType, ipAddress, labels, machineConfig, name, networkConfig, nodes, - pscInstanceConfig, publicIpAddress, queryInsightsConfig, - readPoolConfig, reconciling, satisfiesPzs, state, uid, updateTime, - writableNode; + outboundPublicIpAddresses, pscInstanceConfig, publicIpAddress, + queryInsightsConfig, readPoolConfig, reconciling, satisfiesPzs, state, + uid, updateTime, writableNode; + (NSDictionary *)propertyToJSONKeyMap { return @{ @"ETag" : @"etag" }; @@ -932,7 +962,8 @@ @implementation GTLRCloudAlloyDBAdmin_Instance + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ - @"nodes" : [GTLRCloudAlloyDBAdmin_Node class] + @"nodes" : [GTLRCloudAlloyDBAdmin_Node class], + @"outboundPublicIpAddresses" : [NSString class] }; return map; } @@ -988,7 +1019,7 @@ + (Class)classForAdditionalProperties { // @implementation GTLRCloudAlloyDBAdmin_InstanceNetworkConfig -@dynamic authorizedExternalNetworks, enablePublicIp; +@dynamic authorizedExternalNetworks, enableOutboundPublicIp, enablePublicIp; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -1612,7 +1643,7 @@ @implementation GTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatab creationTime, currentState, customMetadata, entitlements, expectedState, identifier, instanceType, location, machineConfiguration, primaryResourceId, product, resourceContainer, - resourceName, updationTime, userLabelSet; + resourceName, tagsSet, updationTime, userLabelSet; + (NSDictionary *)propertyToJSONKeyMap { return @{ @"identifier" : @"id" }; @@ -1679,7 +1710,7 @@ @implementation GTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainInter // @implementation GTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainMachineConfiguration -@dynamic cpuCount, memorySizeInBytes; +@dynamic cpuCount, memorySizeInBytes, shardCount; @end @@ -1713,6 +1744,30 @@ @implementation GTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainReten @end +// ---------------------------------------------------------------------------- +// +// GTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainTags +// + +@implementation GTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainTags +@dynamic tags; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainTags_Tags +// + +@implementation GTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainTags_Tags + ++ (Class)classForAdditionalProperties { + return [NSString class]; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainUserLabels @@ -1824,6 +1879,21 @@ @implementation GTLRCloudAlloyDBAdmin_TrialMetadata @end +// ---------------------------------------------------------------------------- +// +// GTLRCloudAlloyDBAdmin_UpgradeClusterRequest +// + +@implementation GTLRCloudAlloyDBAdmin_UpgradeClusterRequest +@dynamic ETag, requestId, validateOnly, version; + ++ (NSDictionary *)propertyToJSONKeyMap { + return @{ @"ETag" : @"etag" }; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRCloudAlloyDBAdmin_UpgradeClusterResponse diff --git a/Sources/GeneratedServices/CloudAlloyDBAdmin/GTLRCloudAlloyDBAdminQuery.m b/Sources/GeneratedServices/CloudAlloyDBAdmin/GTLRCloudAlloyDBAdminQuery.m index fc84b8817..f2d158b3c 100644 --- a/Sources/GeneratedServices/CloudAlloyDBAdmin/GTLRCloudAlloyDBAdminQuery.m +++ b/Sources/GeneratedServices/CloudAlloyDBAdmin/GTLRCloudAlloyDBAdminQuery.m @@ -621,6 +621,33 @@ + (instancetype)queryWithObject:(GTLRCloudAlloyDBAdmin_SwitchoverClusterRequest @end +@implementation GTLRCloudAlloyDBAdminQuery_ProjectsLocationsClustersUpgrade + +@dynamic name; + ++ (instancetype)queryWithObject:(GTLRCloudAlloyDBAdmin_UpgradeClusterRequest *)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}:upgrade"; + GTLRCloudAlloyDBAdminQuery_ProjectsLocationsClustersUpgrade *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"PATCH" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.name = name; + query.expectedObjectClass = [GTLRCloudAlloyDBAdmin_Operation class]; + query.loggingName = @"alloydb.projects.locations.clusters.upgrade"; + return query; +} + +@end + @implementation GTLRCloudAlloyDBAdminQuery_ProjectsLocationsClustersUsersCreate @dynamic parent, requestId, userId, validateOnly; diff --git a/Sources/GeneratedServices/CloudAlloyDBAdmin/Public/GoogleAPIClientForREST/GTLRCloudAlloyDBAdminObjects.h b/Sources/GeneratedServices/CloudAlloyDBAdmin/Public/GoogleAPIClientForREST/GTLRCloudAlloyDBAdminObjects.h index 58c4d5980..52110c153 100644 --- a/Sources/GeneratedServices/CloudAlloyDBAdmin/Public/GoogleAPIClientForREST/GTLRCloudAlloyDBAdminObjects.h +++ b/Sources/GeneratedServices/CloudAlloyDBAdmin/Public/GoogleAPIClientForREST/GTLRCloudAlloyDBAdminObjects.h @@ -91,6 +91,8 @@ @class GTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainObservabilityMetricData; @class GTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainOperationError; @class GTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainRetentionSettings; +@class GTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainTags; +@class GTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainTags_Tags; @class GTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainUserLabels; @class GTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainUserLabels_Labels; @class GTLRCloudAlloyDBAdmin_StorageDatabasecenterProtoCommonProduct; @@ -140,6 +142,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_Backup_DatabaseVersion * Value: "POSTGRES_15" */ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_Backup_DatabaseVersion_Postgres15; +/** + * The database version is Postgres 16. + * + * Value: "POSTGRES_16" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_Backup_DatabaseVersion_Postgres16; // ---------------------------------------------------------------------------- // GTLRCloudAlloyDBAdmin_Backup.state @@ -282,6 +290,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_Cluster_DatabaseVersio * Value: "POSTGRES_15" */ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_Cluster_DatabaseVersion_Postgres15; +/** + * The database version is Postgres 16. + * + * Value: "POSTGRES_16" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_Cluster_DatabaseVersion_Postgres16; // ---------------------------------------------------------------------------- // GTLRCloudAlloyDBAdmin_Cluster.state @@ -427,16 +441,46 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_ClusterUpgradeDetails_ * Value: "POSTGRES_15" */ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_ClusterUpgradeDetails_DatabaseVersion_Postgres15; +/** + * The database version is Postgres 16. + * + * Value: "POSTGRES_16" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_ClusterUpgradeDetails_DatabaseVersion_Postgres16; // ---------------------------------------------------------------------------- // GTLRCloudAlloyDBAdmin_ClusterUpgradeDetails.upgradeStatus +/** + * Cancel is in progress. + * + * Value: "CANCEL_IN_PROGRESS" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_ClusterUpgradeDetails_UpgradeStatus_CancelInProgress; +/** + * Cancellation complete. + * + * Value: "CANCELLED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_ClusterUpgradeDetails_UpgradeStatus_Cancelled; /** * Operation failed. * * Value: "FAILED" */ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_ClusterUpgradeDetails_UpgradeStatus_Failed; +/** + * In progress. + * + * Value: "IN_PROGRESS" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_ClusterUpgradeDetails_UpgradeStatus_InProgress; +/** + * Not started. + * + * Value: "NOT_STARTED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_ClusterUpgradeDetails_UpgradeStatus_NotStarted; /** * Operation partially succeeded. * @@ -701,12 +745,36 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_InstanceUpgradeDetails // ---------------------------------------------------------------------------- // GTLRCloudAlloyDBAdmin_InstanceUpgradeDetails.upgradeStatus +/** + * Cancel is in progress. + * + * Value: "CANCEL_IN_PROGRESS" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_InstanceUpgradeDetails_UpgradeStatus_CancelInProgress; +/** + * Cancellation complete. + * + * Value: "CANCELLED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_InstanceUpgradeDetails_UpgradeStatus_Cancelled; /** * Operation failed. * * Value: "FAILED" */ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_InstanceUpgradeDetails_UpgradeStatus_Failed; +/** + * In progress. + * + * Value: "IN_PROGRESS" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_InstanceUpgradeDetails_UpgradeStatus_InProgress; +/** + * Not started. + * + * Value: "NOT_STARTED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_InstanceUpgradeDetails_UpgradeStatus_NotStarted; /** * Operation partially succeeded. * @@ -857,19 +925,31 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_SslConfig_SslMode_SslM // GTLRCloudAlloyDBAdmin_StageInfo.stage /** - * This stage is for the custom checks done before upgrade. + * Pre-upgrade custom checks, not covered by pg_upgrade. * * Value: "ALLOYDB_PRECHECK" */ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_StageInfo_Stage_AlloydbPrecheck; /** - * This stage is for `pg_upgrade --check` run before upgrade. + * Cleanup. + * + * Value: "CLEANUP" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_StageInfo_Stage_Cleanup; +/** + * Pre-upgrade pg_upgrade checks. * * Value: "PG_UPGRADE_CHECK" */ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_StageInfo_Stage_PgUpgradeCheck; /** - * This stage is primary upgrade. + * Clone the original cluster. + * + * Value: "PREPARE_FOR_UPGRADE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_StageInfo_Stage_PrepareForUpgrade; +/** + * Upgrade the primary instance(downtime). * * Value: "PRIMARY_INSTANCE_UPGRADE" */ @@ -877,9 +957,15 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_StageInfo_Stage_Primar /** * This stage is read pool upgrade. * - * Value: "READ_POOL_UPGRADE" + * Value: "READ_POOL_INSTANCES_UPGRADE" */ -FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_StageInfo_Stage_ReadPoolUpgrade; +FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_StageInfo_Stage_ReadPoolInstancesUpgrade; +/** + * Rollback in case of critical failures. + * + * Value: "ROLLBACK" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_StageInfo_Stage_Rollback; /** * Unspecified stage. * @@ -890,12 +976,36 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_StageInfo_Stage_StageU // ---------------------------------------------------------------------------- // GTLRCloudAlloyDBAdmin_StageInfo.status +/** + * Cancel is in progress. + * + * Value: "CANCEL_IN_PROGRESS" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_StageInfo_Status_CancelInProgress; +/** + * Cancellation complete. + * + * Value: "CANCELLED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_StageInfo_Status_Cancelled; /** * Operation failed. * * Value: "FAILED" */ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_StageInfo_Status_Failed; +/** + * In progress. + * + * Value: "IN_PROGRESS" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_StageInfo_Status_InProgress; +/** + * Not started. + * + * Value: "NOT_STARTED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_StageInfo_Status_NotStarted; /** * Operation partially succeeded. * @@ -2797,6 +2907,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_SupportedDatabaseFlag_ * Value: "POSTGRES_15" */ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_SupportedDatabaseFlag_SupportedDbVersions_Postgres15; +/** + * The database version is Postgres 16. + * + * Value: "POSTGRES_16" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_SupportedDatabaseFlag_SupportedDbVersions_Postgres16; // ---------------------------------------------------------------------------- // GTLRCloudAlloyDBAdmin_SupportedDatabaseFlag.valueType @@ -2832,15 +2948,73 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_SupportedDatabaseFlag_ */ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_SupportedDatabaseFlag_ValueType_ValueTypeUnspecified; +// ---------------------------------------------------------------------------- +// GTLRCloudAlloyDBAdmin_UpgradeClusterRequest.version + +/** + * This is an unknown database version. + * + * Value: "DATABASE_VERSION_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_UpgradeClusterRequest_Version_DatabaseVersionUnspecified; +/** + * DEPRECATED - The database version is Postgres 13. + * + * Value: "POSTGRES_13" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_UpgradeClusterRequest_Version_Postgres13 GTLR_DEPRECATED; +/** + * The database version is Postgres 14. + * + * Value: "POSTGRES_14" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_UpgradeClusterRequest_Version_Postgres14; +/** + * The database version is Postgres 15. + * + * Value: "POSTGRES_15" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_UpgradeClusterRequest_Version_Postgres15; +/** + * The database version is Postgres 16. + * + * Value: "POSTGRES_16" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_UpgradeClusterRequest_Version_Postgres16; + // ---------------------------------------------------------------------------- // GTLRCloudAlloyDBAdmin_UpgradeClusterResponse.status +/** + * Cancel is in progress. + * + * Value: "CANCEL_IN_PROGRESS" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_UpgradeClusterResponse_Status_CancelInProgress; +/** + * Cancellation complete. + * + * Value: "CANCELLED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_UpgradeClusterResponse_Status_Cancelled; /** * Operation failed. * * Value: "FAILED" */ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_UpgradeClusterResponse_Status_Failed; +/** + * In progress. + * + * Value: "IN_PROGRESS" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_UpgradeClusterResponse_Status_InProgress; +/** + * Not started. + * + * Value: "NOT_STARTED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_UpgradeClusterResponse_Status_NotStarted; /** * Operation partially succeeded. * @@ -3051,6 +3225,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_WeeklySchedule_DaysOfW * database version is Postgres 14. (Value: "POSTGRES_14") * @arg @c kGTLRCloudAlloyDBAdmin_Backup_DatabaseVersion_Postgres15 The * database version is Postgres 15. (Value: "POSTGRES_15") + * @arg @c kGTLRCloudAlloyDBAdmin_Backup_DatabaseVersion_Postgres16 The + * database version is Postgres 16. (Value: "POSTGRES_16") */ @property(nonatomic, copy, nullable) NSString *databaseVersion; @@ -3354,6 +3530,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_WeeklySchedule_DaysOfW * database version is Postgres 14. (Value: "POSTGRES_14") * @arg @c kGTLRCloudAlloyDBAdmin_Cluster_DatabaseVersion_Postgres15 The * database version is Postgres 15. (Value: "POSTGRES_15") + * @arg @c kGTLRCloudAlloyDBAdmin_Cluster_DatabaseVersion_Postgres16 The + * database version is Postgres 16. (Value: "POSTGRES_16") */ @property(nonatomic, copy, nullable) NSString *databaseVersion; @@ -3584,6 +3762,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_WeeklySchedule_DaysOfW * The database version is Postgres 14. (Value: "POSTGRES_14") * @arg @c kGTLRCloudAlloyDBAdmin_ClusterUpgradeDetails_DatabaseVersion_Postgres15 * The database version is Postgres 15. (Value: "POSTGRES_15") + * @arg @c kGTLRCloudAlloyDBAdmin_ClusterUpgradeDetails_DatabaseVersion_Postgres16 + * The database version is Postgres 16. (Value: "POSTGRES_16") */ @property(nonatomic, copy, nullable) NSString *databaseVersion; @@ -3600,8 +3780,16 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_WeeklySchedule_DaysOfW * Upgrade status of the cluster. * * Likely values: + * @arg @c kGTLRCloudAlloyDBAdmin_ClusterUpgradeDetails_UpgradeStatus_CancelInProgress + * Cancel is in progress. (Value: "CANCEL_IN_PROGRESS") + * @arg @c kGTLRCloudAlloyDBAdmin_ClusterUpgradeDetails_UpgradeStatus_Cancelled + * Cancellation complete. (Value: "CANCELLED") * @arg @c kGTLRCloudAlloyDBAdmin_ClusterUpgradeDetails_UpgradeStatus_Failed * Operation failed. (Value: "FAILED") + * @arg @c kGTLRCloudAlloyDBAdmin_ClusterUpgradeDetails_UpgradeStatus_InProgress + * In progress. (Value: "IN_PROGRESS") + * @arg @c kGTLRCloudAlloyDBAdmin_ClusterUpgradeDetails_UpgradeStatus_NotStarted + * Not started. (Value: "NOT_STARTED") * @arg @c kGTLRCloudAlloyDBAdmin_ClusterUpgradeDetails_UpgradeStatus_PartialSuccess * Operation partially succeeded. (Value: "PARTIAL_SUCCESS") * @arg @c kGTLRCloudAlloyDBAdmin_ClusterUpgradeDetails_UpgradeStatus_StatusUnspecified @@ -4111,6 +4299,11 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_WeeklySchedule_DaysOfW */ @property(nonatomic, strong, nullable) NSArray *nodes; +/** + * Output only. All outbound public IP addresses configured for the instance. + */ +@property(nonatomic, strong, nullable) NSArray *outboundPublicIpAddresses; + /** * Optional. The configuration for Private Service Connect (PSC) for the * instance. @@ -4256,6 +4449,14 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_WeeklySchedule_DaysOfW */ @property(nonatomic, strong, nullable) NSArray *authorizedExternalNetworks; +/** + * Optional. Enabling an outbound public IP address to support a database + * server sending requests out into the internet. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *enableOutboundPublicIp; + /** * Optional. Enabling public ip for the instance. * @@ -4300,8 +4501,16 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_WeeklySchedule_DaysOfW * Upgrade status of the instance. * * Likely values: + * @arg @c kGTLRCloudAlloyDBAdmin_InstanceUpgradeDetails_UpgradeStatus_CancelInProgress + * Cancel is in progress. (Value: "CANCEL_IN_PROGRESS") + * @arg @c kGTLRCloudAlloyDBAdmin_InstanceUpgradeDetails_UpgradeStatus_Cancelled + * Cancellation complete. (Value: "CANCELLED") * @arg @c kGTLRCloudAlloyDBAdmin_InstanceUpgradeDetails_UpgradeStatus_Failed * Operation failed. (Value: "FAILED") + * @arg @c kGTLRCloudAlloyDBAdmin_InstanceUpgradeDetails_UpgradeStatus_InProgress + * In progress. (Value: "IN_PROGRESS") + * @arg @c kGTLRCloudAlloyDBAdmin_InstanceUpgradeDetails_UpgradeStatus_NotStarted + * Not started. (Value: "NOT_STARTED") * @arg @c kGTLRCloudAlloyDBAdmin_InstanceUpgradeDetails_UpgradeStatus_PartialSuccess * Operation partially succeeded. (Value: "PARTIAL_SUCCESS") * @arg @c kGTLRCloudAlloyDBAdmin_InstanceUpgradeDetails_UpgradeStatus_StatusUnspecified @@ -5144,16 +5353,22 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_WeeklySchedule_DaysOfW * The stage. * * Likely values: - * @arg @c kGTLRCloudAlloyDBAdmin_StageInfo_Stage_AlloydbPrecheck This stage - * is for the custom checks done before upgrade. (Value: - * "ALLOYDB_PRECHECK") - * @arg @c kGTLRCloudAlloyDBAdmin_StageInfo_Stage_PgUpgradeCheck This stage - * is for `pg_upgrade --check` run before upgrade. (Value: - * "PG_UPGRADE_CHECK") - * @arg @c kGTLRCloudAlloyDBAdmin_StageInfo_Stage_PrimaryInstanceUpgrade This - * stage is primary upgrade. (Value: "PRIMARY_INSTANCE_UPGRADE") - * @arg @c kGTLRCloudAlloyDBAdmin_StageInfo_Stage_ReadPoolUpgrade This stage - * is read pool upgrade. (Value: "READ_POOL_UPGRADE") + * @arg @c kGTLRCloudAlloyDBAdmin_StageInfo_Stage_AlloydbPrecheck Pre-upgrade + * custom checks, not covered by pg_upgrade. (Value: "ALLOYDB_PRECHECK") + * @arg @c kGTLRCloudAlloyDBAdmin_StageInfo_Stage_Cleanup Cleanup. (Value: + * "CLEANUP") + * @arg @c kGTLRCloudAlloyDBAdmin_StageInfo_Stage_PgUpgradeCheck Pre-upgrade + * pg_upgrade checks. (Value: "PG_UPGRADE_CHECK") + * @arg @c kGTLRCloudAlloyDBAdmin_StageInfo_Stage_PrepareForUpgrade Clone the + * original cluster. (Value: "PREPARE_FOR_UPGRADE") + * @arg @c kGTLRCloudAlloyDBAdmin_StageInfo_Stage_PrimaryInstanceUpgrade + * Upgrade the primary instance(downtime). (Value: + * "PRIMARY_INSTANCE_UPGRADE") + * @arg @c kGTLRCloudAlloyDBAdmin_StageInfo_Stage_ReadPoolInstancesUpgrade + * This stage is read pool upgrade. (Value: + * "READ_POOL_INSTANCES_UPGRADE") + * @arg @c kGTLRCloudAlloyDBAdmin_StageInfo_Stage_Rollback Rollback in case + * of critical failures. (Value: "ROLLBACK") * @arg @c kGTLRCloudAlloyDBAdmin_StageInfo_Stage_StageUnspecified * Unspecified stage. (Value: "STAGE_UNSPECIFIED") */ @@ -5163,8 +5378,16 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_WeeklySchedule_DaysOfW * Status of the stage. * * Likely values: + * @arg @c kGTLRCloudAlloyDBAdmin_StageInfo_Status_CancelInProgress Cancel is + * in progress. (Value: "CANCEL_IN_PROGRESS") + * @arg @c kGTLRCloudAlloyDBAdmin_StageInfo_Status_Cancelled Cancellation + * complete. (Value: "CANCELLED") * @arg @c kGTLRCloudAlloyDBAdmin_StageInfo_Status_Failed Operation failed. * (Value: "FAILED") + * @arg @c kGTLRCloudAlloyDBAdmin_StageInfo_Status_InProgress In progress. + * (Value: "IN_PROGRESS") + * @arg @c kGTLRCloudAlloyDBAdmin_StageInfo_Status_NotStarted Not started. + * (Value: "NOT_STARTED") * @arg @c kGTLRCloudAlloyDBAdmin_StageInfo_Status_PartialSuccess Operation * partially succeeded. (Value: "PARTIAL_SUCCESS") * @arg @c kGTLRCloudAlloyDBAdmin_StageInfo_Status_StatusUnspecified @@ -5925,7 +6148,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_WeeklySchedule_DaysOfW /** - * Common model for database resource instance metadata. + * Common model for database resource instance metadata. Next ID: 21 */ @interface GTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata : GTLRObject @@ -6064,6 +6287,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_WeeklySchedule_DaysOfW */ @property(nonatomic, copy, nullable) NSString *resourceName; +/** Optional. Tags associated with this resources. */ +@property(nonatomic, strong, nullable) GTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainTags *tagsSet; + /** * The time at which the resource was updated and recorded at partner service. */ @@ -6521,6 +6747,13 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_WeeklySchedule_DaysOfW */ @property(nonatomic, strong, nullable) NSNumber *memorySizeInBytes; +/** + * Optional. Number of shards (if applicable). + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *shardCount; + @end @@ -6660,6 +6893,31 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_WeeklySchedule_DaysOfW @end +/** + * Message type for storing tags. Tags provide a way to create annotations for + * resources, and in some cases conditionally allow or deny policies based on + * whether a resource has a specific tag. + */ +@interface GTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainTags : GTLRObject + +/** The Tag key/value mappings. */ +@property(nonatomic, strong, nullable) GTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainTags_Tags *tags; + +@end + + +/** + * The Tag key/value mappings. + * + * @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 GTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainTags_Tags : GTLRObject +@end + + /** * Message type for storing user labels. User labels are used to tag App Engine * resources, allowing users to search for resources matching a set of labels @@ -6966,6 +7224,63 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_WeeklySchedule_DaysOfW @end +/** + * Upgrades a cluster. + */ +@interface GTLRCloudAlloyDBAdmin_UpgradeClusterRequest : GTLRObject + +/** + * Optional. The current etag of the Cluster. If an etag is provided and does + * not match the current etag of the Cluster, upgrade will be blocked and an + * ABORTED error will be returned. + */ +@property(nonatomic, copy, nullable) NSString *ETag; + +/** + * 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; + +/** + * Optional. If set, performs request validation (e.g. permission checks and + * any other type of validation), but does not actually execute the upgrade. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *validateOnly; + +/** + * Required. The version the cluster is going to be upgraded to. + * + * Likely values: + * @arg @c kGTLRCloudAlloyDBAdmin_UpgradeClusterRequest_Version_DatabaseVersionUnspecified + * This is an unknown database version. (Value: + * "DATABASE_VERSION_UNSPECIFIED") + * @arg @c kGTLRCloudAlloyDBAdmin_UpgradeClusterRequest_Version_Postgres13 + * DEPRECATED - The database version is Postgres 13. (Value: + * "POSTGRES_13") + * @arg @c kGTLRCloudAlloyDBAdmin_UpgradeClusterRequest_Version_Postgres14 + * The database version is Postgres 14. (Value: "POSTGRES_14") + * @arg @c kGTLRCloudAlloyDBAdmin_UpgradeClusterRequest_Version_Postgres15 + * The database version is Postgres 15. (Value: "POSTGRES_15") + * @arg @c kGTLRCloudAlloyDBAdmin_UpgradeClusterRequest_Version_Postgres16 + * The database version is Postgres 16. (Value: "POSTGRES_16") + */ +@property(nonatomic, copy, nullable) NSString *version; + +@end + + /** * UpgradeClusterResponse contains the response for upgrade cluster operation. */ @@ -6987,8 +7302,16 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_WeeklySchedule_DaysOfW * Status of upgrade operation. * * Likely values: + * @arg @c kGTLRCloudAlloyDBAdmin_UpgradeClusterResponse_Status_CancelInProgress + * Cancel is in progress. (Value: "CANCEL_IN_PROGRESS") + * @arg @c kGTLRCloudAlloyDBAdmin_UpgradeClusterResponse_Status_Cancelled + * Cancellation complete. (Value: "CANCELLED") * @arg @c kGTLRCloudAlloyDBAdmin_UpgradeClusterResponse_Status_Failed * Operation failed. (Value: "FAILED") + * @arg @c kGTLRCloudAlloyDBAdmin_UpgradeClusterResponse_Status_InProgress In + * progress. (Value: "IN_PROGRESS") + * @arg @c kGTLRCloudAlloyDBAdmin_UpgradeClusterResponse_Status_NotStarted + * Not started. (Value: "NOT_STARTED") * @arg @c kGTLRCloudAlloyDBAdmin_UpgradeClusterResponse_Status_PartialSuccess * Operation partially succeeded. (Value: "PARTIAL_SUCCESS") * @arg @c kGTLRCloudAlloyDBAdmin_UpgradeClusterResponse_Status_StatusUnspecified diff --git a/Sources/GeneratedServices/CloudAlloyDBAdmin/Public/GoogleAPIClientForREST/GTLRCloudAlloyDBAdminQuery.h b/Sources/GeneratedServices/CloudAlloyDBAdmin/Public/GoogleAPIClientForREST/GTLRCloudAlloyDBAdminQuery.h index 24ea85cb8..c7e283874 100644 --- a/Sources/GeneratedServices/CloudAlloyDBAdmin/Public/GoogleAPIClientForREST/GTLRCloudAlloyDBAdminQuery.h +++ b/Sources/GeneratedServices/CloudAlloyDBAdmin/Public/GoogleAPIClientForREST/GTLRCloudAlloyDBAdminQuery.h @@ -1335,6 +1335,35 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdminViewInstanceViewUnspeci @end +/** + * Upgrades a single Cluster. Imperative only. + * + * Method: alloydb.projects.locations.clusters.upgrade + * + * Authorization scope(s): + * @c kGTLRAuthScopeCloudAlloyDBAdminCloudPlatform + */ +@interface GTLRCloudAlloyDBAdminQuery_ProjectsLocationsClustersUpgrade : GTLRCloudAlloyDBAdminQuery + +/** Required. The resource name of the cluster. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRCloudAlloyDBAdmin_Operation. + * + * Upgrades a single Cluster. Imperative only. + * + * @param object The @c GTLRCloudAlloyDBAdmin_UpgradeClusterRequest to include + * in the query. + * @param name Required. The resource name of the cluster. + * + * @return GTLRCloudAlloyDBAdminQuery_ProjectsLocationsClustersUpgrade + */ ++ (instancetype)queryWithObject:(GTLRCloudAlloyDBAdmin_UpgradeClusterRequest *)object + name:(NSString *)name; + +@end + /** * Creates a new User in a given project, location, and cluster. * diff --git a/Sources/GeneratedServices/CloudBatch/Public/GoogleAPIClientForREST/GTLRCloudBatchObjects.h b/Sources/GeneratedServices/CloudBatch/Public/GoogleAPIClientForREST/GTLRCloudBatchObjects.h index e2dd621ee..14a62f59a 100644 --- a/Sources/GeneratedServices/CloudBatch/Public/GoogleAPIClientForREST/GTLRCloudBatchObjects.h +++ b/Sources/GeneratedServices/CloudBatch/Public/GoogleAPIClientForREST/GTLRCloudBatchObjects.h @@ -1112,11 +1112,15 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudBatch_TaskStatus_State_Unexecuted; @property(nonatomic, strong, nullable) NSArray *instances; /** - * Labels applied to all VM instances and other resources created by - * AllocationPolicy. Labels could be user provided or system generated. You can - * assign up to 64 labels. [Google Compute Engine label - * restrictions](https://cloud.google.com/compute/docs/labeling-resources#restrictions) - * apply. Label names that start with "goog-" or "google-" are reserved. + * Custom labels to apply to the job and all the Compute Engine resources that + * both are created by this allocation policy and support labels. Use labels to + * group and describe the resources they are applied to. Batch automatically + * applies predefined labels and supports multiple `labels` fields for each + * job, which each let you apply custom labels to various resources. Label + * names that start with "goog-" or "google-" are reserved for predefined + * labels. For more information about labels with Batch, see [Organize + * resources using + * labels](https://cloud.google.com/batch/docs/organize-resources-using-labels). */ @property(nonatomic, strong, nullable) GTLRCloudBatch_AllocationPolicy_Labels *labels; @@ -1157,11 +1161,15 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudBatch_TaskStatus_State_Unexecuted; /** - * Labels applied to all VM instances and other resources created by - * AllocationPolicy. Labels could be user provided or system generated. You can - * assign up to 64 labels. [Google Compute Engine label - * restrictions](https://cloud.google.com/compute/docs/labeling-resources#restrictions) - * apply. Label names that start with "goog-" or "google-" are reserved. + * Custom labels to apply to the job and all the Compute Engine resources that + * both are created by this allocation policy and support labels. Use labels to + * group and describe the resources they are applied to. Batch automatically + * applies predefined labels and supports multiple `labels` fields for each + * job, which each let you apply custom labels to various resources. Label + * names that start with "goog-" or "google-" are reserved for predefined + * labels. For more information about labels with Batch, see [Organize + * resources using + * labels](https://cloud.google.com/batch/docs/organize-resources-using-labels). * * @note This class is documented as having more properties of NSString. Use @c * -additionalJSONKeys and @c -additionalPropertyForName: to get the list @@ -1645,7 +1653,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudBatch_TaskStatus_State_Unexecuted; /** * Name of an instance template used to create VMs. Named the field as - * 'instance_template' instead of 'template' to avoid c++ keyword conflict. + * 'instance_template' instead of 'template' to avoid C++ keyword conflict. + * Batch only supports global instance templates. You can specify the global + * instance template as a full or partial URL. */ @property(nonatomic, copy, nullable) NSString *instanceTemplate; @@ -1707,11 +1717,15 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudBatch_TaskStatus_State_Unexecuted; @property(nonatomic, strong, nullable) GTLRDateTime *createTime; /** - * Labels for the Job. Labels could be user provided or system generated. For - * example, "labels": { "department": "finance", "environment": "test" } You - * can assign up to 64 labels. [Google Compute Engine label - * restrictions](https://cloud.google.com/compute/docs/labeling-resources#restrictions) - * apply. Label names that start with "goog-" or "google-" are reserved. + * Custom labels to apply to the job and any Cloud Logging + * [LogEntry](https://cloud.google.com/logging/docs/reference/v2/rest/v2/LogEntry) + * that it generates. Use labels to group and describe the resources they are + * applied to. Batch automatically applies predefined labels and supports + * multiple `labels` fields for each job, which each let you apply custom + * labels to various resources. Label names that start with "goog-" or + * "google-" are reserved for predefined labels. For more information about + * labels with Batch, see [Organize resources using + * labels](https://cloud.google.com/batch/docs/organize-resources-using-labels). */ @property(nonatomic, strong, nullable) GTLRCloudBatch_Job_Labels *labels; @@ -1752,11 +1766,15 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudBatch_TaskStatus_State_Unexecuted; /** - * Labels for the Job. Labels could be user provided or system generated. For - * example, "labels": { "department": "finance", "environment": "test" } You - * can assign up to 64 labels. [Google Compute Engine label - * restrictions](https://cloud.google.com/compute/docs/labeling-resources#restrictions) - * apply. Label names that start with "goog-" or "google-" are reserved. + * Custom labels to apply to the job and any Cloud Logging + * [LogEntry](https://cloud.google.com/logging/docs/reference/v2/rest/v2/LogEntry) + * that it generates. Use labels to group and describe the resources they are + * applied to. Batch automatically applies predefined labels and supports + * multiple `labels` fields for each job, which each let you apply custom + * labels to various resources. Label names that start with "goog-" or + * "google-" are reserved for predefined labels. For more information about + * labels with Batch, see [Organize resources using + * labels](https://cloud.google.com/batch/docs/organize-resources-using-labels). * * @note This class is documented as having more properties of NSString. Use @c * -additionalJSONKeys and @c -additionalPropertyForName: to get the list diff --git a/Sources/GeneratedServices/CloudControlsPartnerService/Public/GoogleAPIClientForREST/GTLRCloudControlsPartnerServiceObjects.h b/Sources/GeneratedServices/CloudControlsPartnerService/Public/GoogleAPIClientForREST/GTLRCloudControlsPartnerServiceObjects.h index 82a1b5649..41d6ae557 100644 --- a/Sources/GeneratedServices/CloudControlsPartnerService/Public/GoogleAPIClientForREST/GTLRCloudControlsPartnerServiceObjects.h +++ b/Sources/GeneratedServices/CloudControlsPartnerService/Public/GoogleAPIClientForREST/GTLRCloudControlsPartnerServiceObjects.h @@ -557,7 +557,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudControlsPartnerService_WorkloadOnbo /** Output only. Container for customer onboarding steps */ @property(nonatomic, strong, nullable) GTLRCloudControlsPartnerService_CustomerOnboardingState *customerOnboardingState; -/** The customer organization's display name. E.g. "Google". */ +/** Required. Display name for the customer */ @property(nonatomic, copy, nullable) NSString *displayName; /** diff --git a/Sources/GeneratedServices/CloudDataplex/GTLRCloudDataplexObjects.m b/Sources/GeneratedServices/CloudDataplex/GTLRCloudDataplexObjects.m index 25f66e92d..d09c83e43 100644 --- a/Sources/GeneratedServices/CloudDataplex/GTLRCloudDataplexObjects.m +++ b/Sources/GeneratedServices/CloudDataplex/GTLRCloudDataplexObjects.m @@ -13,75 +13,6 @@ // ---------------------------------------------------------------------------- // Constants -// GTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectations.ziOrgPolicy -NSString * const kGTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectations_ZiOrgPolicy_ZiNotRequired = @"ZI_NOT_REQUIRED"; -NSString * const kGTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectations_ZiOrgPolicy_ZiPreferred = @"ZI_PREFERRED"; -NSString * const kGTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectations_ZiOrgPolicy_ZiRequired = @"ZI_REQUIRED"; -NSString * const kGTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectations_ZiOrgPolicy_ZiUnknown = @"ZI_UNKNOWN"; -NSString * const kGTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectations_ZiOrgPolicy_ZiUnspecified = @"ZI_UNSPECIFIED"; - -// GTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectations.ziRegionPolicy -NSString * const kGTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectations_ZiRegionPolicy_ZiRegionPolicyFailClosed = @"ZI_REGION_POLICY_FAIL_CLOSED"; -NSString * const kGTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectations_ZiRegionPolicy_ZiRegionPolicyFailOpen = @"ZI_REGION_POLICY_FAIL_OPEN"; -NSString * const kGTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectations_ZiRegionPolicy_ZiRegionPolicyNotSet = @"ZI_REGION_POLICY_NOT_SET"; -NSString * const kGTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectations_ZiRegionPolicy_ZiRegionPolicyUnknown = @"ZI_REGION_POLICY_UNKNOWN"; -NSString * const kGTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectations_ZiRegionPolicy_ZiRegionPolicyUnspecified = @"ZI_REGION_POLICY_UNSPECIFIED"; - -// GTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectations.ziRegionState -NSString * const kGTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectations_ZiRegionState_ZiRegionEnabled = @"ZI_REGION_ENABLED"; -NSString * const kGTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectations_ZiRegionState_ZiRegionNotEnabled = @"ZI_REGION_NOT_ENABLED"; -NSString * const kGTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectations_ZiRegionState_ZiRegionUnknown = @"ZI_REGION_UNKNOWN"; -NSString * const kGTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectations_ZiRegionState_ZiRegionUnspecified = @"ZI_REGION_UNSPECIFIED"; - -// GTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectations.zoneIsolation -NSString * const kGTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectations_ZoneIsolation_ZiNotRequired = @"ZI_NOT_REQUIRED"; -NSString * const kGTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectations_ZoneIsolation_ZiPreferred = @"ZI_PREFERRED"; -NSString * const kGTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectations_ZoneIsolation_ZiRequired = @"ZI_REQUIRED"; -NSString * const kGTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectations_ZoneIsolation_ZiUnknown = @"ZI_UNKNOWN"; -NSString * const kGTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectations_ZoneIsolation_ZiUnspecified = @"ZI_UNSPECIFIED"; - -// GTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectations.zoneSeparation -NSString * const kGTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectations_ZoneSeparation_ZsNotRequired = @"ZS_NOT_REQUIRED"; -NSString * const kGTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectations_ZoneSeparation_ZsRequired = @"ZS_REQUIRED"; -NSString * const kGTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectations_ZoneSeparation_ZsUnknown = @"ZS_UNKNOWN"; -NSString * const kGTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectations_ZoneSeparation_ZsUnspecified = @"ZS_UNSPECIFIED"; - -// GTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectations.zsOrgPolicy -NSString * const kGTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectations_ZsOrgPolicy_ZsNotRequired = @"ZS_NOT_REQUIRED"; -NSString * const kGTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectations_ZsOrgPolicy_ZsRequired = @"ZS_REQUIRED"; -NSString * const kGTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectations_ZsOrgPolicy_ZsUnknown = @"ZS_UNKNOWN"; -NSString * const kGTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectations_ZsOrgPolicy_ZsUnspecified = @"ZS_UNSPECIFIED"; - -// GTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectations.zsRegionState -NSString * const kGTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectations_ZsRegionState_ZsRegionEnabled = @"ZS_REGION_ENABLED"; -NSString * const kGTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectations_ZsRegionState_ZsRegionNotEnabled = @"ZS_REGION_NOT_ENABLED"; -NSString * const kGTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectations_ZsRegionState_ZsRegionUnknown = @"ZS_REGION_UNKNOWN"; -NSString * const kGTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectations_ZsRegionState_ZsRegionUnspecified = @"ZS_REGION_UNSPECIFIED"; - -// GTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectationsRequirementOverride.ziOverride -NSString * const kGTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectationsRequirementOverride_ZiOverride_ZiNotRequired = @"ZI_NOT_REQUIRED"; -NSString * const kGTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectationsRequirementOverride_ZiOverride_ZiPreferred = @"ZI_PREFERRED"; -NSString * const kGTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectationsRequirementOverride_ZiOverride_ZiRequired = @"ZI_REQUIRED"; -NSString * const kGTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectationsRequirementOverride_ZiOverride_ZiUnknown = @"ZI_UNKNOWN"; -NSString * const kGTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectationsRequirementOverride_ZiOverride_ZiUnspecified = @"ZI_UNSPECIFIED"; - -// GTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectationsRequirementOverride.zsOverride -NSString * const kGTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectationsRequirementOverride_ZsOverride_ZsNotRequired = @"ZS_NOT_REQUIRED"; -NSString * const kGTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectationsRequirementOverride_ZsOverride_ZsRequired = @"ZS_REQUIRED"; -NSString * const kGTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectationsRequirementOverride_ZsOverride_ZsUnknown = @"ZS_UNKNOWN"; -NSString * const kGTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectationsRequirementOverride_ZsOverride_ZsUnspecified = @"ZS_UNSPECIFIED"; - -// GTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosLocationAssignment.locationType -NSString * const kGTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosLocationAssignment_LocationType_CloudRegion = @"CLOUD_REGION"; -NSString * const kGTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosLocationAssignment_LocationType_CloudZone = @"CLOUD_ZONE"; -NSString * const kGTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosLocationAssignment_LocationType_Cluster = @"CLUSTER"; -NSString * const kGTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosLocationAssignment_LocationType_Global = @"GLOBAL"; -NSString * const kGTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosLocationAssignment_LocationType_MultiRegionGeo = @"MULTI_REGION_GEO"; -NSString * const kGTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosLocationAssignment_LocationType_MultiRegionJurisdiction = @"MULTI_REGION_JURISDICTION"; -NSString * const kGTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosLocationAssignment_LocationType_Other = @"OTHER"; -NSString * const kGTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosLocationAssignment_LocationType_Pop = @"POP"; -NSString * const kGTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosLocationAssignment_LocationType_Unspecified = @"UNSPECIFIED"; - // GTLRCloudDataplex_GoogleCloudDataplexV1Action.category NSString * const kGTLRCloudDataplex_GoogleCloudDataplexV1Action_Category_CategoryUnspecified = @"CATEGORY_UNSPECIFIED"; NSString * const kGTLRCloudDataplex_GoogleCloudDataplexV1Action_Category_DataDiscovery = @"DATA_DISCOVERY"; @@ -98,6 +29,11 @@ NSString * const kGTLRCloudDataplex_GoogleCloudDataplexV1ActionInvalidDataPartition_ExpectedStructure_HiveStyleKeys = @"HIVE_STYLE_KEYS"; NSString * const kGTLRCloudDataplex_GoogleCloudDataplexV1ActionInvalidDataPartition_ExpectedStructure_PartitionStructureUnspecified = @"PARTITION_STRUCTURE_UNSPECIFIED"; +// GTLRCloudDataplex_GoogleCloudDataplexV1AspectType.transferStatus +NSString * const kGTLRCloudDataplex_GoogleCloudDataplexV1AspectType_TransferStatus_TransferStatusMigrated = @"TRANSFER_STATUS_MIGRATED"; +NSString * const kGTLRCloudDataplex_GoogleCloudDataplexV1AspectType_TransferStatus_TransferStatusTransferred = @"TRANSFER_STATUS_TRANSFERRED"; +NSString * const kGTLRCloudDataplex_GoogleCloudDataplexV1AspectType_TransferStatus_TransferStatusUnspecified = @"TRANSFER_STATUS_UNSPECIFIED"; + // GTLRCloudDataplex_GoogleCloudDataplexV1Asset.state NSString * const kGTLRCloudDataplex_GoogleCloudDataplexV1Asset_State_ActionRequired = @"ACTION_REQUIRED"; NSString * const kGTLRCloudDataplex_GoogleCloudDataplexV1Asset_State_Active = @"ACTIVE"; @@ -256,6 +192,12 @@ NSString * const kGTLRCloudDataplex_GoogleCloudDataplexV1DiscoveryEventPartitionDetails_Type_Fileset = @"FILESET"; NSString * const kGTLRCloudDataplex_GoogleCloudDataplexV1DiscoveryEventPartitionDetails_Type_Table = @"TABLE"; +// GTLRCloudDataplex_GoogleCloudDataplexV1DiscoveryEventTableDetails.type +NSString * const kGTLRCloudDataplex_GoogleCloudDataplexV1DiscoveryEventTableDetails_Type_BiglakeTable = @"BIGLAKE_TABLE"; +NSString * const kGTLRCloudDataplex_GoogleCloudDataplexV1DiscoveryEventTableDetails_Type_ExternalTable = @"EXTERNAL_TABLE"; +NSString * const kGTLRCloudDataplex_GoogleCloudDataplexV1DiscoveryEventTableDetails_Type_ObjectTable = @"OBJECT_TABLE"; +NSString * const kGTLRCloudDataplex_GoogleCloudDataplexV1DiscoveryEventTableDetails_Type_TableTypeUnspecified = @"TABLE_TYPE_UNSPECIFIED"; + // GTLRCloudDataplex_GoogleCloudDataplexV1Entity.system NSString * const kGTLRCloudDataplex_GoogleCloudDataplexV1Entity_System_Bigquery = @"BIGQUERY"; NSString * const kGTLRCloudDataplex_GoogleCloudDataplexV1Entity_System_CloudStorage = @"CLOUD_STORAGE"; @@ -266,6 +208,11 @@ NSString * const kGTLRCloudDataplex_GoogleCloudDataplexV1Entity_Type_Table = @"TABLE"; NSString * const kGTLRCloudDataplex_GoogleCloudDataplexV1Entity_Type_TypeUnspecified = @"TYPE_UNSPECIFIED"; +// GTLRCloudDataplex_GoogleCloudDataplexV1EntryGroup.transferStatus +NSString * const kGTLRCloudDataplex_GoogleCloudDataplexV1EntryGroup_TransferStatus_TransferStatusMigrated = @"TRANSFER_STATUS_MIGRATED"; +NSString * const kGTLRCloudDataplex_GoogleCloudDataplexV1EntryGroup_TransferStatus_TransferStatusTransferred = @"TRANSFER_STATUS_TRANSFERRED"; +NSString * const kGTLRCloudDataplex_GoogleCloudDataplexV1EntryGroup_TransferStatus_TransferStatusUnspecified = @"TRANSFER_STATUS_UNSPECIFIED"; + // GTLRCloudDataplex_GoogleCloudDataplexV1Environment.state NSString * const kGTLRCloudDataplex_GoogleCloudDataplexV1Environment_State_ActionRequired = @"ACTION_REQUIRED"; NSString * const kGTLRCloudDataplex_GoogleCloudDataplexV1Environment_State_Active = @"ACTIVE"; @@ -508,222 +455,6 @@ #pragma clang diagnostic ignored "-Wdeprecated-declarations" #pragma clang diagnostic ignored "-Wdeprecated-implementations" -// ---------------------------------------------------------------------------- -// -// GTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosAssetLocation -// - -@implementation GTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosAssetLocation -@dynamic ccfeRmsPath, expected, extraParameters, locationData, parentAsset; - -+ (NSDictionary *)arrayPropertyToClassMap { - NSDictionary *map = @{ - @"extraParameters" : [GTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosExtraParameter class], - @"locationData" : [GTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosLocationData class], - @"parentAsset" : [GTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosCloudAsset class] - }; - return map; -} - -@end - - -// ---------------------------------------------------------------------------- -// -// GTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectations -// - -@implementation GTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectations -@dynamic requirementOverride, ziOrgPolicy, ziRegionPolicy, ziRegionState, - zoneIsolation, zoneSeparation, zsOrgPolicy, zsRegionState; -@end - - -// ---------------------------------------------------------------------------- -// -// GTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectationsRequirementOverride -// - -@implementation GTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectationsRequirementOverride -@dynamic ziOverride, zsOverride; -@end - - -// ---------------------------------------------------------------------------- -// -// GTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosBlobstoreLocation -// - -@implementation GTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosBlobstoreLocation -@dynamic policyId; - -+ (NSDictionary *)arrayPropertyToClassMap { - NSDictionary *map = @{ - @"policyId" : [NSString class] - }; - return map; -} - -@end - - -// ---------------------------------------------------------------------------- -// -// GTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosCloudAsset -// - -@implementation GTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosCloudAsset -@dynamic assetName, assetType; -@end - - -// ---------------------------------------------------------------------------- -// -// GTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosCloudAssetComposition -// - -@implementation GTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosCloudAssetComposition -@dynamic childAsset; - -+ (NSDictionary *)arrayPropertyToClassMap { - NSDictionary *map = @{ - @"childAsset" : [GTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosCloudAsset class] - }; - return map; -} - -@end - - -// ---------------------------------------------------------------------------- -// -// GTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosDirectLocationAssignment -// - -@implementation GTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosDirectLocationAssignment -@dynamic location; - -+ (NSDictionary *)arrayPropertyToClassMap { - NSDictionary *map = @{ - @"location" : [GTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosLocationAssignment class] - }; - return map; -} - -@end - - -// ---------------------------------------------------------------------------- -// -// GTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosExtraParameter -// - -@implementation GTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosExtraParameter -@dynamic regionalMigDistributionPolicy; -@end - - -// ---------------------------------------------------------------------------- -// -// GTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosLocationAssignment -// - -@implementation GTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosLocationAssignment -@dynamic location, locationType; -@end - - -// ---------------------------------------------------------------------------- -// -// GTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosLocationData -// - -@implementation GTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosLocationData -@dynamic blobstoreLocation, childAssetLocation, directLocation, gcpProjectProxy, - placerLocation, spannerLocation; -@end - - -// ---------------------------------------------------------------------------- -// -// GTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosPlacerLocation -// - -@implementation GTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosPlacerLocation -@dynamic placerConfig; -@end - - -// ---------------------------------------------------------------------------- -// -// GTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosRegionalMigDistributionPolicy -// - -@implementation GTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosRegionalMigDistributionPolicy -@dynamic targetShape, zones; - -+ (NSDictionary *)arrayPropertyToClassMap { - NSDictionary *map = @{ - @"zones" : [GTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosZoneConfiguration class] - }; - return map; -} - -@end - - -// ---------------------------------------------------------------------------- -// -// GTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosSpannerLocation -// - -@implementation GTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosSpannerLocation -@dynamic backupName, dbName; - -+ (NSDictionary *)arrayPropertyToClassMap { - NSDictionary *map = @{ - @"backupName" : [NSString class], - @"dbName" : [NSString class] - }; - return map; -} - -@end - - -// ---------------------------------------------------------------------------- -// -// GTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosTenantProjectProxy -// - -@implementation GTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosTenantProjectProxy -@dynamic projectNumbers; - -+ (NSDictionary *)arrayPropertyToClassMap { - NSDictionary *map = @{ - @"projectNumbers" : [NSString class] - }; - return map; -} - -@end - - -// ---------------------------------------------------------------------------- -// -// GTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosZoneConfiguration -// - -@implementation GTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosZoneConfiguration -@dynamic zoneProperty; - -+ (NSDictionary *)propertyToJSONKeyMap { - return @{ @"zoneProperty" : @"zone" }; -} - -@end - - // ---------------------------------------------------------------------------- // // GTLRCloudDataplex_Empty @@ -891,7 +622,7 @@ @implementation GTLRCloudDataplex_GoogleCloudDataplexV1AspectSource @implementation GTLRCloudDataplex_GoogleCloudDataplexV1AspectType @dynamic authorization, createTime, descriptionProperty, displayName, ETag, - labels, metadataTemplate, name, uid, updateTime; + labels, metadataTemplate, name, transferStatus, uid, updateTime; + (NSDictionary *)propertyToJSONKeyMap { NSDictionary *map = @{ @@ -2016,8 +1747,8 @@ + (Class)classForAdditionalProperties { // @implementation GTLRCloudDataplex_GoogleCloudDataplexV1DiscoveryEvent -@dynamic action, assetId, config, dataLocation, entity, lakeId, message, - partition, type, zoneId; +@dynamic action, assetId, config, dataLocation, datascanId, entity, lakeId, + message, partition, table, type, zoneId; @end @@ -2083,6 +1814,16 @@ @implementation GTLRCloudDataplex_GoogleCloudDataplexV1DiscoveryEventPartitionDe @end +// ---------------------------------------------------------------------------- +// +// GTLRCloudDataplex_GoogleCloudDataplexV1DiscoveryEventTableDetails +// + +@implementation GTLRCloudDataplex_GoogleCloudDataplexV1DiscoveryEventTableDetails +@dynamic table, type; +@end + + // ---------------------------------------------------------------------------- // // GTLRCloudDataplex_GoogleCloudDataplexV1Entity @@ -2156,8 +1897,8 @@ + (Class)classForAdditionalProperties { // @implementation GTLRCloudDataplex_GoogleCloudDataplexV1EntryGroup -@dynamic createTime, descriptionProperty, displayName, ETag, labels, name, uid, - updateTime; +@dynamic createTime, descriptionProperty, displayName, ETag, labels, name, + transferStatus, uid, updateTime; + (NSDictionary *)propertyToJSONKeyMap { NSDictionary *map = @{ diff --git a/Sources/GeneratedServices/CloudDataplex/Public/GoogleAPIClientForREST/GTLRCloudDataplexObjects.h b/Sources/GeneratedServices/CloudDataplex/Public/GoogleAPIClientForREST/GTLRCloudDataplexObjects.h index 3c6ac7118..61cdef087 100644 --- a/Sources/GeneratedServices/CloudDataplex/Public/GoogleAPIClientForREST/GTLRCloudDataplexObjects.h +++ b/Sources/GeneratedServices/CloudDataplex/Public/GoogleAPIClientForREST/GTLRCloudDataplexObjects.h @@ -14,20 +14,6 @@ #error This file was generated by a different version of ServiceGenerator which is incompatible with this GTLR library source. #endif -@class GTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectations; -@class GTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectationsRequirementOverride; -@class GTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosBlobstoreLocation; -@class GTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosCloudAsset; -@class GTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosCloudAssetComposition; -@class GTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosDirectLocationAssignment; -@class GTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosExtraParameter; -@class GTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosLocationAssignment; -@class GTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosLocationData; -@class GTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosPlacerLocation; -@class GTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosRegionalMigDistributionPolicy; -@class GTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosSpannerLocation; -@class GTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosTenantProjectProxy; -@class GTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosZoneConfiguration; @class GTLRCloudDataplex_GoogleCloudDataplexV1Action; @class GTLRCloudDataplex_GoogleCloudDataplexV1ActionFailedSecurityPolicyApply; @class GTLRCloudDataplex_GoogleCloudDataplexV1ActionIncompatibleDataSchema; @@ -129,6 +115,7 @@ @class GTLRCloudDataplex_GoogleCloudDataplexV1DiscoveryEventConfigDetails_Parameters; @class GTLRCloudDataplex_GoogleCloudDataplexV1DiscoveryEventEntityDetails; @class GTLRCloudDataplex_GoogleCloudDataplexV1DiscoveryEventPartitionDetails; +@class GTLRCloudDataplex_GoogleCloudDataplexV1DiscoveryEventTableDetails; @class GTLRCloudDataplex_GoogleCloudDataplexV1Entity; @class GTLRCloudDataplex_GoogleCloudDataplexV1EntityCompatibilityStatus; @class GTLRCloudDataplex_GoogleCloudDataplexV1EntityCompatibilityStatusCompatibility; @@ -230,188 +217,6 @@ NS_ASSUME_NONNULL_BEGIN // ---------------------------------------------------------------------------- // Constants - For some of the classes' properties below. -// ---------------------------------------------------------------------------- -// GTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectations.ziOrgPolicy - -/** Value: "ZI_NOT_REQUIRED" */ -FOUNDATION_EXTERN NSString * const kGTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectations_ZiOrgPolicy_ZiNotRequired; -/** Value: "ZI_PREFERRED" */ -FOUNDATION_EXTERN NSString * const kGTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectations_ZiOrgPolicy_ZiPreferred; -/** Value: "ZI_REQUIRED" */ -FOUNDATION_EXTERN NSString * const kGTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectations_ZiOrgPolicy_ZiRequired; -/** - * To be used if tracking is not available - * - * Value: "ZI_UNKNOWN" - */ -FOUNDATION_EXTERN NSString * const kGTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectations_ZiOrgPolicy_ZiUnknown; -/** Value: "ZI_UNSPECIFIED" */ -FOUNDATION_EXTERN NSString * const kGTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectations_ZiOrgPolicy_ZiUnspecified; - -// ---------------------------------------------------------------------------- -// GTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectations.ziRegionPolicy - -/** Value: "ZI_REGION_POLICY_FAIL_CLOSED" */ -FOUNDATION_EXTERN NSString * const kGTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectations_ZiRegionPolicy_ZiRegionPolicyFailClosed; -/** Value: "ZI_REGION_POLICY_FAIL_OPEN" */ -FOUNDATION_EXTERN NSString * const kGTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectations_ZiRegionPolicy_ZiRegionPolicyFailOpen; -/** Value: "ZI_REGION_POLICY_NOT_SET" */ -FOUNDATION_EXTERN NSString * const kGTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectations_ZiRegionPolicy_ZiRegionPolicyNotSet; -/** - * To be used if tracking is not available - * - * Value: "ZI_REGION_POLICY_UNKNOWN" - */ -FOUNDATION_EXTERN NSString * const kGTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectations_ZiRegionPolicy_ZiRegionPolicyUnknown; -/** Value: "ZI_REGION_POLICY_UNSPECIFIED" */ -FOUNDATION_EXTERN NSString * const kGTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectations_ZiRegionPolicy_ZiRegionPolicyUnspecified; - -// ---------------------------------------------------------------------------- -// GTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectations.ziRegionState - -/** Value: "ZI_REGION_ENABLED" */ -FOUNDATION_EXTERN NSString * const kGTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectations_ZiRegionState_ZiRegionEnabled; -/** Value: "ZI_REGION_NOT_ENABLED" */ -FOUNDATION_EXTERN NSString * const kGTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectations_ZiRegionState_ZiRegionNotEnabled; -/** - * To be used if tracking is not available - * - * Value: "ZI_REGION_UNKNOWN" - */ -FOUNDATION_EXTERN NSString * const kGTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectations_ZiRegionState_ZiRegionUnknown; -/** Value: "ZI_REGION_UNSPECIFIED" */ -FOUNDATION_EXTERN NSString * const kGTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectations_ZiRegionState_ZiRegionUnspecified; - -// ---------------------------------------------------------------------------- -// GTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectations.zoneIsolation - -/** Value: "ZI_NOT_REQUIRED" */ -FOUNDATION_EXTERN NSString * const kGTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectations_ZoneIsolation_ZiNotRequired; -/** Value: "ZI_PREFERRED" */ -FOUNDATION_EXTERN NSString * const kGTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectations_ZoneIsolation_ZiPreferred; -/** Value: "ZI_REQUIRED" */ -FOUNDATION_EXTERN NSString * const kGTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectations_ZoneIsolation_ZiRequired; -/** - * To be used if tracking is not available - * - * Value: "ZI_UNKNOWN" - */ -FOUNDATION_EXTERN NSString * const kGTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectations_ZoneIsolation_ZiUnknown; -/** Value: "ZI_UNSPECIFIED" */ -FOUNDATION_EXTERN NSString * const kGTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectations_ZoneIsolation_ZiUnspecified; - -// ---------------------------------------------------------------------------- -// GTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectations.zoneSeparation - -/** Value: "ZS_NOT_REQUIRED" */ -FOUNDATION_EXTERN NSString * const kGTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectations_ZoneSeparation_ZsNotRequired; -/** Value: "ZS_REQUIRED" */ -FOUNDATION_EXTERN NSString * const kGTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectations_ZoneSeparation_ZsRequired; -/** - * To be used if tracking is not available - * - * Value: "ZS_UNKNOWN" - */ -FOUNDATION_EXTERN NSString * const kGTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectations_ZoneSeparation_ZsUnknown; -/** Value: "ZS_UNSPECIFIED" */ -FOUNDATION_EXTERN NSString * const kGTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectations_ZoneSeparation_ZsUnspecified; - -// ---------------------------------------------------------------------------- -// GTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectations.zsOrgPolicy - -/** Value: "ZS_NOT_REQUIRED" */ -FOUNDATION_EXTERN NSString * const kGTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectations_ZsOrgPolicy_ZsNotRequired; -/** Value: "ZS_REQUIRED" */ -FOUNDATION_EXTERN NSString * const kGTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectations_ZsOrgPolicy_ZsRequired; -/** - * To be used if tracking is not available - * - * Value: "ZS_UNKNOWN" - */ -FOUNDATION_EXTERN NSString * const kGTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectations_ZsOrgPolicy_ZsUnknown; -/** Value: "ZS_UNSPECIFIED" */ -FOUNDATION_EXTERN NSString * const kGTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectations_ZsOrgPolicy_ZsUnspecified; - -// ---------------------------------------------------------------------------- -// GTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectations.zsRegionState - -/** Value: "ZS_REGION_ENABLED" */ -FOUNDATION_EXTERN NSString * const kGTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectations_ZsRegionState_ZsRegionEnabled; -/** Value: "ZS_REGION_NOT_ENABLED" */ -FOUNDATION_EXTERN NSString * const kGTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectations_ZsRegionState_ZsRegionNotEnabled; -/** - * To be used if tracking of the asset ZS-bit is not available - * - * Value: "ZS_REGION_UNKNOWN" - */ -FOUNDATION_EXTERN NSString * const kGTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectations_ZsRegionState_ZsRegionUnknown; -/** Value: "ZS_REGION_UNSPECIFIED" */ -FOUNDATION_EXTERN NSString * const kGTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectations_ZsRegionState_ZsRegionUnspecified; - -// ---------------------------------------------------------------------------- -// GTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectationsRequirementOverride.ziOverride - -/** Value: "ZI_NOT_REQUIRED" */ -FOUNDATION_EXTERN NSString * const kGTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectationsRequirementOverride_ZiOverride_ZiNotRequired; -/** Value: "ZI_PREFERRED" */ -FOUNDATION_EXTERN NSString * const kGTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectationsRequirementOverride_ZiOverride_ZiPreferred; -/** Value: "ZI_REQUIRED" */ -FOUNDATION_EXTERN NSString * const kGTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectationsRequirementOverride_ZiOverride_ZiRequired; -/** - * To be used if tracking is not available - * - * Value: "ZI_UNKNOWN" - */ -FOUNDATION_EXTERN NSString * const kGTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectationsRequirementOverride_ZiOverride_ZiUnknown; -/** Value: "ZI_UNSPECIFIED" */ -FOUNDATION_EXTERN NSString * const kGTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectationsRequirementOverride_ZiOverride_ZiUnspecified; - -// ---------------------------------------------------------------------------- -// GTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectationsRequirementOverride.zsOverride - -/** Value: "ZS_NOT_REQUIRED" */ -FOUNDATION_EXTERN NSString * const kGTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectationsRequirementOverride_ZsOverride_ZsNotRequired; -/** Value: "ZS_REQUIRED" */ -FOUNDATION_EXTERN NSString * const kGTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectationsRequirementOverride_ZsOverride_ZsRequired; -/** - * To be used if tracking is not available - * - * Value: "ZS_UNKNOWN" - */ -FOUNDATION_EXTERN NSString * const kGTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectationsRequirementOverride_ZsOverride_ZsUnknown; -/** Value: "ZS_UNSPECIFIED" */ -FOUNDATION_EXTERN NSString * const kGTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectationsRequirementOverride_ZsOverride_ZsUnspecified; - -// ---------------------------------------------------------------------------- -// GTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosLocationAssignment.locationType - -/** Value: "CLOUD_REGION" */ -FOUNDATION_EXTERN NSString * const kGTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosLocationAssignment_LocationType_CloudRegion; -/** - * 11-20: Logical failure domains. - * - * Value: "CLOUD_ZONE" - */ -FOUNDATION_EXTERN NSString * const kGTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosLocationAssignment_LocationType_CloudZone; -/** - * 1-10: Physical failure domains. - * - * Value: "CLUSTER" - */ -FOUNDATION_EXTERN NSString * const kGTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosLocationAssignment_LocationType_Cluster; -/** Value: "GLOBAL" */ -FOUNDATION_EXTERN NSString * const kGTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosLocationAssignment_LocationType_Global; -/** Value: "MULTI_REGION_GEO" */ -FOUNDATION_EXTERN NSString * const kGTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosLocationAssignment_LocationType_MultiRegionGeo; -/** Value: "MULTI_REGION_JURISDICTION" */ -FOUNDATION_EXTERN NSString * const kGTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosLocationAssignment_LocationType_MultiRegionJurisdiction; -/** Value: "OTHER" */ -FOUNDATION_EXTERN NSString * const kGTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosLocationAssignment_LocationType_Other; -/** Value: "POP" */ -FOUNDATION_EXTERN NSString * const kGTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosLocationAssignment_LocationType_Pop; -/** Value: "UNSPECIFIED" */ -FOUNDATION_EXTERN NSString * const kGTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosLocationAssignment_LocationType_Unspecified; - // ---------------------------------------------------------------------------- // GTLRCloudDataplex_GoogleCloudDataplexV1Action.category @@ -485,6 +290,32 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudDataplex_GoogleCloudDataplexV1Actio */ FOUNDATION_EXTERN NSString * const kGTLRCloudDataplex_GoogleCloudDataplexV1ActionInvalidDataPartition_ExpectedStructure_PartitionStructureUnspecified; +// ---------------------------------------------------------------------------- +// GTLRCloudDataplex_GoogleCloudDataplexV1AspectType.transferStatus + +/** + * Indicates that a resource was migrated from Data Catalog service but it + * hasn't been transferred yet. In particular the resource cannot be updated + * from Dataplex API. + * + * Value: "TRANSFER_STATUS_MIGRATED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudDataplex_GoogleCloudDataplexV1AspectType_TransferStatus_TransferStatusMigrated; +/** + * Indicates that a resource was transferred from Data Catalog service. The + * resource can only be updated from Dataplex API. + * + * Value: "TRANSFER_STATUS_TRANSFERRED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudDataplex_GoogleCloudDataplexV1AspectType_TransferStatus_TransferStatusTransferred; +/** + * The default value. It is set for resources that were not subject for + * migration from Data Catalog service. + * + * Value: "TRANSFER_STATUS_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudDataplex_GoogleCloudDataplexV1AspectType_TransferStatus_TransferStatusUnspecified; + // ---------------------------------------------------------------------------- // GTLRCloudDataplex_GoogleCloudDataplexV1Asset.state @@ -1229,6 +1060,34 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudDataplex_GoogleCloudDataplexV1Disco */ FOUNDATION_EXTERN NSString * const kGTLRCloudDataplex_GoogleCloudDataplexV1DiscoveryEventPartitionDetails_Type_Table; +// ---------------------------------------------------------------------------- +// GTLRCloudDataplex_GoogleCloudDataplexV1DiscoveryEventTableDetails.type + +/** + * BigLake table type. + * + * Value: "BIGLAKE_TABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudDataplex_GoogleCloudDataplexV1DiscoveryEventTableDetails_Type_BiglakeTable; +/** + * External table type. + * + * Value: "EXTERNAL_TABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudDataplex_GoogleCloudDataplexV1DiscoveryEventTableDetails_Type_ExternalTable; +/** + * Object table type for unstructured data. + * + * Value: "OBJECT_TABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudDataplex_GoogleCloudDataplexV1DiscoveryEventTableDetails_Type_ObjectTable; +/** + * An unspecified table type. + * + * Value: "TABLE_TYPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudDataplex_GoogleCloudDataplexV1DiscoveryEventTableDetails_Type_TableTypeUnspecified; + // ---------------------------------------------------------------------------- // GTLRCloudDataplex_GoogleCloudDataplexV1Entity.system @@ -1273,6 +1132,32 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudDataplex_GoogleCloudDataplexV1Entit */ FOUNDATION_EXTERN NSString * const kGTLRCloudDataplex_GoogleCloudDataplexV1Entity_Type_TypeUnspecified; +// ---------------------------------------------------------------------------- +// GTLRCloudDataplex_GoogleCloudDataplexV1EntryGroup.transferStatus + +/** + * Indicates that a resource was migrated from Data Catalog service but it + * hasn't been transferred yet. In particular the resource cannot be updated + * from Dataplex API. + * + * Value: "TRANSFER_STATUS_MIGRATED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudDataplex_GoogleCloudDataplexV1EntryGroup_TransferStatus_TransferStatusMigrated; +/** + * Indicates that a resource was transferred from Data Catalog service. The + * resource can only be updated from Dataplex API. + * + * Value: "TRANSFER_STATUS_TRANSFERRED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudDataplex_GoogleCloudDataplexV1EntryGroup_TransferStatus_TransferStatusTransferred; +/** + * The default value. It is set for resources that were not subject for + * migration from Data Catalog service. + * + * Value: "TRANSFER_STATUS_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudDataplex_GoogleCloudDataplexV1EntryGroup_TransferStatus_TransferStatusUnspecified; + // ---------------------------------------------------------------------------- // GTLRCloudDataplex_GoogleCloudDataplexV1Environment.state @@ -2467,391 +2352,6 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudDataplex_GoogleIamV1AuditLogConfig_ */ FOUNDATION_EXTERN NSString * const kGTLRCloudDataplex_GoogleIamV1AuditLogConfig_LogType_LogTypeUnspecified; -/** - * Provides the mapping of a cloud asset to a direct physical location or to a - * proxy that defines the location on its behalf. - */ -@interface GTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosAssetLocation : GTLRObject - -/** - * Spanner path of the CCFE RMS database. It is only applicable for CCFE - * tenants that use CCFE RMS for storing resource metadata. - */ -@property(nonatomic, copy, nullable) NSString *ccfeRmsPath; - -/** - * Defines the customer expectation around ZI/ZS for this asset and ZI/ZS state - * of the region at the time of asset creation. - */ -@property(nonatomic, strong, nullable) GTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectations *expected; - -/** Defines extra parameters required for specific asset types. */ -@property(nonatomic, strong, nullable) NSArray *extraParameters; - -/** Contains all kinds of physical location definitions for this asset. */ -@property(nonatomic, strong, nullable) NSArray *locationData; - -/** - * Defines parents assets if any in order to allow later generation of - * child_asset_location data via child assets. - */ -@property(nonatomic, strong, nullable) NSArray *parentAsset; - -@end - - -/** - * GTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectations - */ -@interface GTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectations : GTLRObject - -/** - * Explicit overrides for ZI and ZS requirements to be used for resources that - * should be excluded from ZI/ZS verification logic. - */ -@property(nonatomic, strong, nullable) GTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectationsRequirementOverride *requirementOverride; - -/** - * ziOrgPolicy - * - * Likely values: - * @arg @c kGTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectations_ZiOrgPolicy_ZiNotRequired - * Value "ZI_NOT_REQUIRED" - * @arg @c kGTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectations_ZiOrgPolicy_ZiPreferred - * Value "ZI_PREFERRED" - * @arg @c kGTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectations_ZiOrgPolicy_ZiRequired - * Value "ZI_REQUIRED" - * @arg @c kGTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectations_ZiOrgPolicy_ZiUnknown - * To be used if tracking is not available (Value: "ZI_UNKNOWN") - * @arg @c kGTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectations_ZiOrgPolicy_ZiUnspecified - * Value "ZI_UNSPECIFIED" - */ -@property(nonatomic, copy, nullable) NSString *ziOrgPolicy; - -/** - * ziRegionPolicy - * - * Likely values: - * @arg @c kGTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectations_ZiRegionPolicy_ZiRegionPolicyFailClosed - * Value "ZI_REGION_POLICY_FAIL_CLOSED" - * @arg @c kGTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectations_ZiRegionPolicy_ZiRegionPolicyFailOpen - * Value "ZI_REGION_POLICY_FAIL_OPEN" - * @arg @c kGTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectations_ZiRegionPolicy_ZiRegionPolicyNotSet - * Value "ZI_REGION_POLICY_NOT_SET" - * @arg @c kGTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectations_ZiRegionPolicy_ZiRegionPolicyUnknown - * To be used if tracking is not available (Value: - * "ZI_REGION_POLICY_UNKNOWN") - * @arg @c kGTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectations_ZiRegionPolicy_ZiRegionPolicyUnspecified - * Value "ZI_REGION_POLICY_UNSPECIFIED" - */ -@property(nonatomic, copy, nullable) NSString *ziRegionPolicy; - -/** - * ziRegionState - * - * Likely values: - * @arg @c kGTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectations_ZiRegionState_ZiRegionEnabled - * Value "ZI_REGION_ENABLED" - * @arg @c kGTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectations_ZiRegionState_ZiRegionNotEnabled - * Value "ZI_REGION_NOT_ENABLED" - * @arg @c kGTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectations_ZiRegionState_ZiRegionUnknown - * To be used if tracking is not available (Value: "ZI_REGION_UNKNOWN") - * @arg @c kGTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectations_ZiRegionState_ZiRegionUnspecified - * Value "ZI_REGION_UNSPECIFIED" - */ -@property(nonatomic, copy, nullable) NSString *ziRegionState; - -/** - * Deprecated: use zi_org_policy, zi_region_policy and zi_region_state instead - * for setting ZI expectations as per go/zicy-publish-physical-location. - * - * Likely values: - * @arg @c kGTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectations_ZoneIsolation_ZiNotRequired - * Value "ZI_NOT_REQUIRED" - * @arg @c kGTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectations_ZoneIsolation_ZiPreferred - * Value "ZI_PREFERRED" - * @arg @c kGTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectations_ZoneIsolation_ZiRequired - * Value "ZI_REQUIRED" - * @arg @c kGTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectations_ZoneIsolation_ZiUnknown - * To be used if tracking is not available (Value: "ZI_UNKNOWN") - * @arg @c kGTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectations_ZoneIsolation_ZiUnspecified - * Value "ZI_UNSPECIFIED" - */ -@property(nonatomic, copy, nullable) NSString *zoneIsolation GTLR_DEPRECATED; - -/** - * Deprecated: use zs_org_policy, and zs_region_stateinstead for setting Zs - * expectations as per go/zicy-publish-physical-location. - * - * Likely values: - * @arg @c kGTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectations_ZoneSeparation_ZsNotRequired - * Value "ZS_NOT_REQUIRED" - * @arg @c kGTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectations_ZoneSeparation_ZsRequired - * Value "ZS_REQUIRED" - * @arg @c kGTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectations_ZoneSeparation_ZsUnknown - * To be used if tracking is not available (Value: "ZS_UNKNOWN") - * @arg @c kGTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectations_ZoneSeparation_ZsUnspecified - * Value "ZS_UNSPECIFIED" - */ -@property(nonatomic, copy, nullable) NSString *zoneSeparation GTLR_DEPRECATED; - -/** - * zsOrgPolicy - * - * Likely values: - * @arg @c kGTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectations_ZsOrgPolicy_ZsNotRequired - * Value "ZS_NOT_REQUIRED" - * @arg @c kGTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectations_ZsOrgPolicy_ZsRequired - * Value "ZS_REQUIRED" - * @arg @c kGTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectations_ZsOrgPolicy_ZsUnknown - * To be used if tracking is not available (Value: "ZS_UNKNOWN") - * @arg @c kGTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectations_ZsOrgPolicy_ZsUnspecified - * Value "ZS_UNSPECIFIED" - */ -@property(nonatomic, copy, nullable) NSString *zsOrgPolicy; - -/** - * zsRegionState - * - * Likely values: - * @arg @c kGTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectations_ZsRegionState_ZsRegionEnabled - * Value "ZS_REGION_ENABLED" - * @arg @c kGTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectations_ZsRegionState_ZsRegionNotEnabled - * Value "ZS_REGION_NOT_ENABLED" - * @arg @c kGTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectations_ZsRegionState_ZsRegionUnknown - * To be used if tracking of the asset ZS-bit is not available (Value: - * "ZS_REGION_UNKNOWN") - * @arg @c kGTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectations_ZsRegionState_ZsRegionUnspecified - * Value "ZS_REGION_UNSPECIFIED" - */ -@property(nonatomic, copy, nullable) NSString *zsRegionState; - -@end - - -/** - * GTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectationsRequirementOverride - */ -@interface GTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectationsRequirementOverride : GTLRObject - -/** - * ziOverride - * - * Likely values: - * @arg @c kGTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectationsRequirementOverride_ZiOverride_ZiNotRequired - * Value "ZI_NOT_REQUIRED" - * @arg @c kGTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectationsRequirementOverride_ZiOverride_ZiPreferred - * Value "ZI_PREFERRED" - * @arg @c kGTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectationsRequirementOverride_ZiOverride_ZiRequired - * Value "ZI_REQUIRED" - * @arg @c kGTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectationsRequirementOverride_ZiOverride_ZiUnknown - * To be used if tracking is not available (Value: "ZI_UNKNOWN") - * @arg @c kGTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectationsRequirementOverride_ZiOverride_ZiUnspecified - * Value "ZI_UNSPECIFIED" - */ -@property(nonatomic, copy, nullable) NSString *ziOverride; - -/** - * zsOverride - * - * Likely values: - * @arg @c kGTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectationsRequirementOverride_ZsOverride_ZsNotRequired - * Value "ZS_NOT_REQUIRED" - * @arg @c kGTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectationsRequirementOverride_ZsOverride_ZsRequired - * Value "ZS_REQUIRED" - * @arg @c kGTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectationsRequirementOverride_ZsOverride_ZsUnknown - * To be used if tracking is not available (Value: "ZS_UNKNOWN") - * @arg @c kGTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectationsRequirementOverride_ZsOverride_ZsUnspecified - * Value "ZS_UNSPECIFIED" - */ -@property(nonatomic, copy, nullable) NSString *zsOverride; - -@end - - -/** - * Policy ID that identified data placement in Blobstore as per - * go/blobstore-user-guide#data-metadata-placement-and-failure-domains - */ -@interface GTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosBlobstoreLocation : GTLRObject - -@property(nonatomic, strong, nullable) NSArray *policyId; - -@end - - -/** - * GTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosCloudAsset - */ -@interface GTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosCloudAsset : GTLRObject - -@property(nonatomic, copy, nullable) NSString *assetName; -@property(nonatomic, copy, nullable) NSString *assetType; - -@end - - -/** - * GTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosCloudAssetComposition - */ -@interface GTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosCloudAssetComposition : GTLRObject - -@property(nonatomic, strong, nullable) NSArray *childAsset; - -@end - - -/** - * GTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosDirectLocationAssignment - */ -@interface GTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosDirectLocationAssignment : GTLRObject - -@property(nonatomic, strong, nullable) NSArray *location; - -@end - - -/** - * Defines parameters that should only be used for specific asset types. - */ -@interface GTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosExtraParameter : GTLRObject - -/** - * Details about zones used by regional - * compute.googleapis.com/InstanceGroupManager to create instances. - */ -@property(nonatomic, strong, nullable) GTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosRegionalMigDistributionPolicy *regionalMigDistributionPolicy; - -@end - - -/** - * GTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosLocationAssignment - */ -@interface GTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosLocationAssignment : GTLRObject - -@property(nonatomic, copy, nullable) NSString *location; - -/** - * locationType - * - * Likely values: - * @arg @c kGTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosLocationAssignment_LocationType_CloudRegion - * Value "CLOUD_REGION" - * @arg @c kGTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosLocationAssignment_LocationType_CloudZone - * 11-20: Logical failure domains. (Value: "CLOUD_ZONE") - * @arg @c kGTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosLocationAssignment_LocationType_Cluster - * 1-10: Physical failure domains. (Value: "CLUSTER") - * @arg @c kGTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosLocationAssignment_LocationType_Global - * Value "GLOBAL" - * @arg @c kGTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosLocationAssignment_LocationType_MultiRegionGeo - * Value "MULTI_REGION_GEO" - * @arg @c kGTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosLocationAssignment_LocationType_MultiRegionJurisdiction - * Value "MULTI_REGION_JURISDICTION" - * @arg @c kGTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosLocationAssignment_LocationType_Other - * Value "OTHER" - * @arg @c kGTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosLocationAssignment_LocationType_Pop - * Value "POP" - * @arg @c kGTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosLocationAssignment_LocationType_Unspecified - * Value "UNSPECIFIED" - */ -@property(nonatomic, copy, nullable) NSString *locationType; - -@end - - -/** - * GTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosLocationData - */ -@interface GTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosLocationData : GTLRObject - -@property(nonatomic, strong, nullable) GTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosBlobstoreLocation *blobstoreLocation; -@property(nonatomic, strong, nullable) GTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosCloudAssetComposition *childAssetLocation; -@property(nonatomic, strong, nullable) GTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosDirectLocationAssignment *directLocation; -@property(nonatomic, strong, nullable) GTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosTenantProjectProxy *gcpProjectProxy; -@property(nonatomic, strong, nullable) GTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosPlacerLocation *placerLocation; -@property(nonatomic, strong, nullable) GTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosSpannerLocation *spannerLocation; - -@end - - -/** - * Message describing that the location of the customer resource is tied to - * placer allocations - */ -@interface GTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosPlacerLocation : GTLRObject - -/** - * Directory with a config related to it in placer (e.g. - * "/placer/prod/home/my-root/my-dir") - */ -@property(nonatomic, copy, nullable) NSString *placerConfig; - -@end - - -/** - * To be used for specifying the intended distribution of regional - * compute.googleapis.com/InstanceGroupManager instances - */ -@interface GTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosRegionalMigDistributionPolicy : GTLRObject - -/** - * The shape in which the group converges around distribution of resources. - * Instance of proto2 enum - * - * Uses NSNumber of intValue. - */ -@property(nonatomic, strong, nullable) NSNumber *targetShape; - -/** Cloud zones used by regional MIG to create instances. */ -@property(nonatomic, strong, nullable) NSArray *zones; - -@end - - -/** - * GTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosSpannerLocation - */ -@interface GTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosSpannerLocation : GTLRObject - -/** - * Set of backups used by the resource with name in the same format as what is - * available at http://table/spanner_automon.backup_metadata - */ -@property(nonatomic, strong, nullable) NSArray *backupName; - -/** Set of databases used by the resource in format /span// */ -@property(nonatomic, strong, nullable) NSArray *dbName; - -@end - - -/** - * GTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosTenantProjectProxy - */ -@interface GTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosTenantProjectProxy : GTLRObject - -@property(nonatomic, strong, nullable) NSArray *projectNumbers; - -@end - - -/** - * GTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosZoneConfiguration - */ -@interface GTLRCloudDataplex_CloudReliabilityZicyWs3DataplaneProtosZoneConfiguration : GTLRObject - -/** - * zoneProperty - * - * Remapped to 'zoneProperty' to avoid NSObject's 'zone'. - */ -@property(nonatomic, copy, nullable) NSString *zoneProperty; - -@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 @@ -3187,6 +2687,26 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudDataplex_GoogleIamV1AuditLogConfig_ */ @property(nonatomic, copy, nullable) NSString *name; +/** + * Output only. Denotes the transfer status of the Aspect Type. It is + * unspecified for Aspect Types created from Dataplex API. + * + * Likely values: + * @arg @c kGTLRCloudDataplex_GoogleCloudDataplexV1AspectType_TransferStatus_TransferStatusMigrated + * Indicates that a resource was migrated from Data Catalog service but + * it hasn't been transferred yet. In particular the resource cannot be + * updated from Dataplex API. (Value: "TRANSFER_STATUS_MIGRATED") + * @arg @c kGTLRCloudDataplex_GoogleCloudDataplexV1AspectType_TransferStatus_TransferStatusTransferred + * Indicates that a resource was transferred from Data Catalog service. + * The resource can only be updated from Dataplex API. (Value: + * "TRANSFER_STATUS_TRANSFERRED") + * @arg @c kGTLRCloudDataplex_GoogleCloudDataplexV1AspectType_TransferStatus_TransferStatusUnspecified + * The default value. It is set for resources that were not subject for + * migration from Data Catalog service. (Value: + * "TRANSFER_STATUS_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *transferStatus; + /** * Output only. System generated globally unique ID for the AspectType. If you * delete and recreate the AspectType with the same name, then this ID will be @@ -5939,6 +5459,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudDataplex_GoogleIamV1AuditLogConfig_ /** The data location associated with the event. */ @property(nonatomic, copy, nullable) NSString *dataLocation; +/** The id of the associated datascan for standalone discovery. */ +@property(nonatomic, copy, nullable) NSString *datascanId; + /** Details about the entity associated with the event. */ @property(nonatomic, strong, nullable) GTLRCloudDataplex_GoogleCloudDataplexV1DiscoveryEventEntityDetails *entity; @@ -5951,6 +5474,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudDataplex_GoogleIamV1AuditLogConfig_ /** Details about the partition associated with the event. */ @property(nonatomic, strong, nullable) GTLRCloudDataplex_GoogleCloudDataplexV1DiscoveryEventPartitionDetails *partition; +/** Details about the BigQuery table publishing associated with the event. */ +@property(nonatomic, strong, nullable) GTLRCloudDataplex_GoogleCloudDataplexV1DiscoveryEventTableDetails *table; + /** * The type of the event being logged. * @@ -6093,6 +5619,32 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudDataplex_GoogleIamV1AuditLogConfig_ @end +/** + * Details about the published table. + */ +@interface GTLRCloudDataplex_GoogleCloudDataplexV1DiscoveryEventTableDetails : GTLRObject + +/** The fully-qualified resource name of the table resource. */ +@property(nonatomic, copy, nullable) NSString *table; + +/** + * The type of the table resource. + * + * Likely values: + * @arg @c kGTLRCloudDataplex_GoogleCloudDataplexV1DiscoveryEventTableDetails_Type_BiglakeTable + * BigLake table type. (Value: "BIGLAKE_TABLE") + * @arg @c kGTLRCloudDataplex_GoogleCloudDataplexV1DiscoveryEventTableDetails_Type_ExternalTable + * External table type. (Value: "EXTERNAL_TABLE") + * @arg @c kGTLRCloudDataplex_GoogleCloudDataplexV1DiscoveryEventTableDetails_Type_ObjectTable + * Object table type for unstructured data. (Value: "OBJECT_TABLE") + * @arg @c kGTLRCloudDataplex_GoogleCloudDataplexV1DiscoveryEventTableDetails_Type_TableTypeUnspecified + * An unspecified table type. (Value: "TABLE_TYPE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *type; + +@end + + /** * Represents tables and fileset metadata contained within a zone. */ @@ -6364,6 +5916,26 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudDataplex_GoogleIamV1AuditLogConfig_ */ @property(nonatomic, copy, nullable) NSString *name; +/** + * Output only. Denotes the transfer status of the Entry Group. It is + * unspecified for Entry Group created from Dataplex API. + * + * Likely values: + * @arg @c kGTLRCloudDataplex_GoogleCloudDataplexV1EntryGroup_TransferStatus_TransferStatusMigrated + * Indicates that a resource was migrated from Data Catalog service but + * it hasn't been transferred yet. In particular the resource cannot be + * updated from Dataplex API. (Value: "TRANSFER_STATUS_MIGRATED") + * @arg @c kGTLRCloudDataplex_GoogleCloudDataplexV1EntryGroup_TransferStatus_TransferStatusTransferred + * Indicates that a resource was transferred from Data Catalog service. + * The resource can only be updated from Dataplex API. (Value: + * "TRANSFER_STATUS_TRANSFERRED") + * @arg @c kGTLRCloudDataplex_GoogleCloudDataplexV1EntryGroup_TransferStatus_TransferStatusUnspecified + * The default value. It is set for resources that were not subject for + * migration from Data Catalog service. (Value: + * "TRANSFER_STATUS_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *transferStatus; + /** * Output only. System generated globally unique ID for the EntryGroup. If you * delete and recreate the EntryGroup with the same name, this ID will be @@ -9371,9 +8943,9 @@ GTLR_DEPRECATED @property(nonatomic, copy, nullable) NSString *sqlScript; /** - * A reference to a query file. This can be the Cloud Storage URI of the query - * file or it can the path to a SqlScript Content. The execution args are used - * to declare a set of script variables (set key="value";). + * A reference to a query file. This should be the Cloud Storage URI of the + * query file. The execution args are used to declare a set of script variables + * (set key="value";). */ @property(nonatomic, copy, nullable) NSString *sqlScriptFile; diff --git a/Sources/GeneratedServices/CloudDataplex/Public/GoogleAPIClientForREST/GTLRCloudDataplexQuery.h b/Sources/GeneratedServices/CloudDataplex/Public/GoogleAPIClientForREST/GTLRCloudDataplexQuery.h index 6645fac01..314419420 100644 --- a/Sources/GeneratedServices/CloudDataplex/Public/GoogleAPIClientForREST/GTLRCloudDataplexQuery.h +++ b/Sources/GeneratedServices/CloudDataplex/Public/GoogleAPIClientForREST/GTLRCloudDataplexQuery.h @@ -2590,7 +2590,10 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudDataplexViewTables; @end /** - * Gets an Entry. + * Gets an Entry.Caution: The BigQuery metadata that is stored in Dataplex + * Catalog is changing. For more information, see Changes to BigQuery metadata + * stored in Dataplex Catalog + * (https://cloud.google.com/dataplex/docs/biqquery-metadata-changes). * * Method: dataplex.projects.locations.entryGroups.entries.get * @@ -2638,7 +2641,10 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudDataplexViewTables; /** * Fetches a @c GTLRCloudDataplex_GoogleCloudDataplexV1Entry. * - * Gets an Entry. + * Gets an Entry.Caution: The BigQuery metadata that is stored in Dataplex + * Catalog is changing. For more information, see Changes to BigQuery metadata + * stored in Dataplex Catalog + * (https://cloud.google.com/dataplex/docs/biqquery-metadata-changes). * * @param name Required. The resource name of the Entry: * projects/{project}/locations/{location}/entryGroups/{entry_group}/entries/{entry}. @@ -7343,7 +7349,11 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudDataplexViewTables; @end /** - * Looks up a single Entry by name using the permission on the source system. + * Looks up a single Entry by name using the permission on the source + * system.Caution: The BigQuery metadata that is stored in Dataplex Catalog is + * changing. For more information, see Changes to BigQuery metadata stored in + * Dataplex Catalog + * (https://cloud.google.com/dataplex/docs/biqquery-metadata-changes). * * Method: dataplex.projects.locations.lookupEntry * @@ -7397,7 +7407,11 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudDataplexViewTables; /** * Fetches a @c GTLRCloudDataplex_GoogleCloudDataplexV1Entry. * - * Looks up a single Entry by name using the permission on the source system. + * Looks up a single Entry by name using the permission on the source + * system.Caution: The BigQuery metadata that is stored in Dataplex Catalog is + * changing. For more information, see Changes to BigQuery metadata stored in + * Dataplex Catalog + * (https://cloud.google.com/dataplex/docs/biqquery-metadata-changes). * * @param name Required. The project to which the request should be attributed * in the following form: projects/{project}/locations/{location}. diff --git a/Sources/GeneratedServices/CloudFilestore/GTLRCloudFilestoreObjects.m b/Sources/GeneratedServices/CloudFilestore/GTLRCloudFilestoreObjects.m index 0f7299a7e..bafd0499f 100644 --- a/Sources/GeneratedServices/CloudFilestore/GTLRCloudFilestoreObjects.m +++ b/Sources/GeneratedServices/CloudFilestore/GTLRCloudFilestoreObjects.m @@ -257,6 +257,16 @@ @implementation GTLRCloudFilestore_FileShareConfig @end +// ---------------------------------------------------------------------------- +// +// GTLRCloudFilestore_FixedIOPS +// + +@implementation GTLRCloudFilestore_FixedIOPS +@dynamic maxReadIops; +@end + + // ---------------------------------------------------------------------------- // // GTLRCloudFilestore_GoogleCloudSaasacceleratorManagementProvidersV1Instance @@ -494,10 +504,11 @@ @implementation GTLRCloudFilestore_GoogleCloudSaasacceleratorManagementProviders // @implementation GTLRCloudFilestore_Instance -@dynamic createTime, deletionProtectionEnabled, deletionProtectionReason, - descriptionProperty, ETag, fileShares, kmsKeyName, labels, name, - networks, protocol, replication, satisfiesPzi, satisfiesPzs, state, - statusMessage, suspensionReasons, tags, tier; +@dynamic configurablePerformanceEnabled, createTime, deletionProtectionEnabled, + deletionProtectionReason, descriptionProperty, ETag, fileShares, + kmsKeyName, labels, name, networks, performanceConfig, + performanceLimits, protocol, replication, satisfiesPzi, satisfiesPzs, + state, statusMessage, suspensionReasons, tags, tier; + (NSDictionary *)propertyToJSONKeyMap { NSDictionary *map = @{ @@ -547,6 +558,16 @@ + (Class)classForAdditionalProperties { @end +// ---------------------------------------------------------------------------- +// +// GTLRCloudFilestore_IOPSPerTB +// + +@implementation GTLRCloudFilestore_IOPSPerTB +@dynamic maxReadIopsPerTb; +@end + + // ---------------------------------------------------------------------------- // // GTLRCloudFilestore_ListBackupsResponse @@ -823,6 +844,26 @@ @implementation GTLRCloudFilestore_OperationMetadata @end +// ---------------------------------------------------------------------------- +// +// GTLRCloudFilestore_PerformanceConfig +// + +@implementation GTLRCloudFilestore_PerformanceConfig +@dynamic fixedIops, iopsPerTb; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRCloudFilestore_PerformanceLimits +// + +@implementation GTLRCloudFilestore_PerformanceLimits +@dynamic maxReadIops, maxReadThroughputBps, maxWriteIops, maxWriteThroughputBps; +@end + + // ---------------------------------------------------------------------------- // // GTLRCloudFilestore_PromoteReplicaRequest diff --git a/Sources/GeneratedServices/CloudFilestore/Public/GoogleAPIClientForREST/GTLRCloudFilestoreObjects.h b/Sources/GeneratedServices/CloudFilestore/Public/GoogleAPIClientForREST/GTLRCloudFilestoreObjects.h index 4f0bf5a51..f47b93e20 100644 --- a/Sources/GeneratedServices/CloudFilestore/Public/GoogleAPIClientForREST/GTLRCloudFilestoreObjects.h +++ b/Sources/GeneratedServices/CloudFilestore/Public/GoogleAPIClientForREST/GTLRCloudFilestoreObjects.h @@ -22,6 +22,7 @@ @class GTLRCloudFilestore_Date; @class GTLRCloudFilestore_DenyMaintenancePeriod; @class GTLRCloudFilestore_FileShareConfig; +@class GTLRCloudFilestore_FixedIOPS; @class GTLRCloudFilestore_GoogleCloudSaasacceleratorManagementProvidersV1Instance_Labels; @class GTLRCloudFilestore_GoogleCloudSaasacceleratorManagementProvidersV1Instance_MaintenancePolicyNames; @class GTLRCloudFilestore_GoogleCloudSaasacceleratorManagementProvidersV1Instance_MaintenanceSchedules; @@ -41,6 +42,7 @@ @class GTLRCloudFilestore_Instance; @class GTLRCloudFilestore_Instance_Labels; @class GTLRCloudFilestore_Instance_Tags; +@class GTLRCloudFilestore_IOPSPerTB; @class GTLRCloudFilestore_Location; @class GTLRCloudFilestore_Location_Labels; @class GTLRCloudFilestore_Location_Metadata; @@ -52,6 +54,8 @@ @class GTLRCloudFilestore_Operation; @class GTLRCloudFilestore_Operation_Metadata; @class GTLRCloudFilestore_Operation_Response; +@class GTLRCloudFilestore_PerformanceConfig; +@class GTLRCloudFilestore_PerformanceLimits; @class GTLRCloudFilestore_ReplicaConfig; @class GTLRCloudFilestore_Replication; @class GTLRCloudFilestore_Schedule; @@ -1067,6 +1071,21 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudFilestore_UpdatePolicy_Channel_Week @end +/** + * Fixed IOPS (input/output operations per second) parameters. + */ +@interface GTLRCloudFilestore_FixedIOPS : GTLRObject + +/** + * Required. Maximum raw read IOPS. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *maxReadIops; + +@end + + /** * Instance represents the interface for SLM services to actuate the state of * control plane resources. Example Instance in JSON, where @@ -1567,6 +1586,14 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudFilestore_UpdatePolicy_Channel_Week */ @interface GTLRCloudFilestore_Instance : GTLRObject +/** + * Output only. Indicates whether this instance's performance is configurable. + * If enabled, adjust it using the 'performance_config' field. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *configurablePerformanceEnabled; + /** Output only. The time when the instance was created. */ @property(nonatomic, strong, nullable) GTLRDateTime *createTime; @@ -1617,6 +1644,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudFilestore_UpdatePolicy_Channel_Week */ @property(nonatomic, strong, nullable) NSArray *networks; +/** Optional. Used to configure performance. */ +@property(nonatomic, strong, nullable) GTLRCloudFilestore_PerformanceConfig *performanceConfig; + +/** Output only. Used for getting performance limits. */ +@property(nonatomic, strong, nullable) GTLRCloudFilestore_PerformanceLimits *performanceLimits; + /** * Immutable. The protocol indicates the access protocol for all shares in the * instance. This field is immutable and it cannot be changed after the @@ -1765,6 +1798,21 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudFilestore_UpdatePolicy_Channel_Week @end +/** + * IOPS per TB. Filestore defines TB as 1024^4 bytes (TiB). + */ +@interface GTLRCloudFilestore_IOPSPerTB : GTLRObject + +/** + * Required. Maximum read IOPS per TiB. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *maxReadIopsPerTb; + +@end + + /** * ListBackupsResponse is the result of ListBackupsRequest. * @@ -2303,6 +2351,80 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudFilestore_UpdatePolicy_Channel_Week @end +/** + * Used for setting the performance configuration. If the user doesn't specify + * PerformanceConfig, automatically provision the default performance settings + * as described in https://cloud.google.com/filestore/docs/performance. Larger + * instances will be linearly set to more IOPS. If the instance's capacity is + * increased or decreased, its performance will be automatically adjusted + * upwards or downwards accordingly (respectively). + */ +@interface GTLRCloudFilestore_PerformanceConfig : GTLRObject + +/** + * Choose a fixed provisioned IOPS value for the instance, which will remain + * constant regardless of instance capacity. Value must be a multiple of 1000. + * If the chosen value is outside the supported range for the instance's + * capacity during instance creation, instance creation will fail with an + * `InvalidArgument` error. Similarly, if an instance capacity update would + * result in a value outside the supported range, the update will fail with an + * `InvalidArgument` error. + */ +@property(nonatomic, strong, nullable) GTLRCloudFilestore_FixedIOPS *fixedIops; + +/** + * Provision IOPS dynamically based on the capacity of the instance. + * Provisioned read IOPS will be calculated by multiplying the capacity of the + * instance in TiB by the `iops_per_tb` value. For example, for a 2 TiB + * instance with an `iops_per_tb` value of 17000 the provisioned read IOPS will + * be 34000. If the calculated value is outside the supported range for the + * instance's capacity during instance creation, instance creation will fail + * with an `InvalidArgument` error. Similarly, if an instance capacity update + * would result in a value outside the supported range, the update will fail + * with an `InvalidArgument` error. + */ +@property(nonatomic, strong, nullable) GTLRCloudFilestore_IOPSPerTB *iopsPerTb; + +@end + + +/** + * The enforced performance limits, calculated from the instance's performance + * configuration. + */ +@interface GTLRCloudFilestore_PerformanceLimits : GTLRObject + +/** + * Output only. The max read IOPS. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *maxReadIops; + +/** + * Output only. The max read throughput in bytes per second. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *maxReadThroughputBps; + +/** + * Output only. The max write IOPS. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *maxWriteIops; + +/** + * Output only. The max write throughput in bytes per second. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *maxWriteThroughputBps; + +@end + + /** * PromoteReplicaRequest promotes a Filestore standby instance (replica). */ diff --git a/Sources/GeneratedServices/CloudFunctions/GTLRCloudFunctionsObjects.m b/Sources/GeneratedServices/CloudFunctions/GTLRCloudFunctionsObjects.m index 9eec091ee..be3b9d451 100644 --- a/Sources/GeneratedServices/CloudFunctions/GTLRCloudFunctionsObjects.m +++ b/Sources/GeneratedServices/CloudFunctions/GTLRCloudFunctionsObjects.m @@ -47,80 +47,6 @@ NSString * const kGTLRCloudFunctions_GenerateUploadUrlRequest_Environment_Gen1 = @"GEN_1"; NSString * const kGTLRCloudFunctions_GenerateUploadUrlRequest_Environment_Gen2 = @"GEN_2"; -// GTLRCloudFunctions_GoogleCloudFunctionsV2alphaLocationMetadata.environments -NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2alphaLocationMetadata_Environments_EnvironmentUnspecified = @"ENVIRONMENT_UNSPECIFIED"; -NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2alphaLocationMetadata_Environments_Gen1 = @"GEN_1"; -NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2alphaLocationMetadata_Environments_Gen2 = @"GEN_2"; - -// GTLRCloudFunctions_GoogleCloudFunctionsV2alphaOperationMetadata.operationType -NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2alphaOperationMetadata_OperationType_AbortFunctionUpgrade = @"ABORT_FUNCTION_UPGRADE"; -NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2alphaOperationMetadata_OperationType_CommitFunctionUpgrade = @"COMMIT_FUNCTION_UPGRADE"; -NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2alphaOperationMetadata_OperationType_CreateFunction = @"CREATE_FUNCTION"; -NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2alphaOperationMetadata_OperationType_DeleteFunction = @"DELETE_FUNCTION"; -NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2alphaOperationMetadata_OperationType_OperationtypeUnspecified = @"OPERATIONTYPE_UNSPECIFIED"; -NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2alphaOperationMetadata_OperationType_RedirectFunctionUpgradeTraffic = @"REDIRECT_FUNCTION_UPGRADE_TRAFFIC"; -NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2alphaOperationMetadata_OperationType_RollbackFunctionUpgradeTraffic = @"ROLLBACK_FUNCTION_UPGRADE_TRAFFIC"; -NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2alphaOperationMetadata_OperationType_SetupFunctionUpgradeConfig = @"SETUP_FUNCTION_UPGRADE_CONFIG"; -NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2alphaOperationMetadata_OperationType_UpdateFunction = @"UPDATE_FUNCTION"; - -// GTLRCloudFunctions_GoogleCloudFunctionsV2alphaStage.name -NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2alphaStage_Name_ArtifactRegistry = @"ARTIFACT_REGISTRY"; -NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2alphaStage_Name_Build = @"BUILD"; -NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2alphaStage_Name_NameUnspecified = @"NAME_UNSPECIFIED"; -NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2alphaStage_Name_Service = @"SERVICE"; -NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2alphaStage_Name_ServiceRollback = @"SERVICE_ROLLBACK"; -NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2alphaStage_Name_Trigger = @"TRIGGER"; -NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2alphaStage_Name_TriggerRollback = @"TRIGGER_ROLLBACK"; - -// GTLRCloudFunctions_GoogleCloudFunctionsV2alphaStage.state -NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2alphaStage_State_Complete = @"COMPLETE"; -NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2alphaStage_State_InProgress = @"IN_PROGRESS"; -NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2alphaStage_State_NotStarted = @"NOT_STARTED"; -NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2alphaStage_State_StateUnspecified = @"STATE_UNSPECIFIED"; - -// GTLRCloudFunctions_GoogleCloudFunctionsV2alphaStateMessage.severity -NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2alphaStateMessage_Severity_Error = @"ERROR"; -NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2alphaStateMessage_Severity_Info = @"INFO"; -NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2alphaStateMessage_Severity_SeverityUnspecified = @"SEVERITY_UNSPECIFIED"; -NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2alphaStateMessage_Severity_Warning = @"WARNING"; - -// GTLRCloudFunctions_GoogleCloudFunctionsV2betaLocationMetadata.environments -NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2betaLocationMetadata_Environments_EnvironmentUnspecified = @"ENVIRONMENT_UNSPECIFIED"; -NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2betaLocationMetadata_Environments_Gen1 = @"GEN_1"; -NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2betaLocationMetadata_Environments_Gen2 = @"GEN_2"; - -// GTLRCloudFunctions_GoogleCloudFunctionsV2betaOperationMetadata.operationType -NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2betaOperationMetadata_OperationType_AbortFunctionUpgrade = @"ABORT_FUNCTION_UPGRADE"; -NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2betaOperationMetadata_OperationType_CommitFunctionUpgrade = @"COMMIT_FUNCTION_UPGRADE"; -NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2betaOperationMetadata_OperationType_CreateFunction = @"CREATE_FUNCTION"; -NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2betaOperationMetadata_OperationType_DeleteFunction = @"DELETE_FUNCTION"; -NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2betaOperationMetadata_OperationType_OperationtypeUnspecified = @"OPERATIONTYPE_UNSPECIFIED"; -NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2betaOperationMetadata_OperationType_RedirectFunctionUpgradeTraffic = @"REDIRECT_FUNCTION_UPGRADE_TRAFFIC"; -NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2betaOperationMetadata_OperationType_RollbackFunctionUpgradeTraffic = @"ROLLBACK_FUNCTION_UPGRADE_TRAFFIC"; -NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2betaOperationMetadata_OperationType_SetupFunctionUpgradeConfig = @"SETUP_FUNCTION_UPGRADE_CONFIG"; -NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2betaOperationMetadata_OperationType_UpdateFunction = @"UPDATE_FUNCTION"; - -// GTLRCloudFunctions_GoogleCloudFunctionsV2betaStage.name -NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2betaStage_Name_ArtifactRegistry = @"ARTIFACT_REGISTRY"; -NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2betaStage_Name_Build = @"BUILD"; -NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2betaStage_Name_NameUnspecified = @"NAME_UNSPECIFIED"; -NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2betaStage_Name_Service = @"SERVICE"; -NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2betaStage_Name_ServiceRollback = @"SERVICE_ROLLBACK"; -NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2betaStage_Name_Trigger = @"TRIGGER"; -NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2betaStage_Name_TriggerRollback = @"TRIGGER_ROLLBACK"; - -// GTLRCloudFunctions_GoogleCloudFunctionsV2betaStage.state -NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2betaStage_State_Complete = @"COMPLETE"; -NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2betaStage_State_InProgress = @"IN_PROGRESS"; -NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2betaStage_State_NotStarted = @"NOT_STARTED"; -NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2betaStage_State_StateUnspecified = @"STATE_UNSPECIFIED"; - -// GTLRCloudFunctions_GoogleCloudFunctionsV2betaStateMessage.severity -NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2betaStateMessage_Severity_Error = @"ERROR"; -NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2betaStateMessage_Severity_Info = @"INFO"; -NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2betaStateMessage_Severity_SeverityUnspecified = @"SEVERITY_UNSPECIFIED"; -NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2betaStateMessage_Severity_Warning = @"WARNING"; - // GTLRCloudFunctions_GoogleCloudFunctionsV2LocationMetadata.environments NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2LocationMetadata_Environments_EnvironmentUnspecified = @"ENVIRONMENT_UNSPECIFIED"; NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2LocationMetadata_Environments_Gen1 = @"GEN_1"; @@ -449,166 +375,6 @@ @implementation GTLRCloudFunctions_GenerateUploadUrlResponse @end -// ---------------------------------------------------------------------------- -// -// GTLRCloudFunctions_GoogleCloudFunctionsV2alphaLocationMetadata -// - -@implementation GTLRCloudFunctions_GoogleCloudFunctionsV2alphaLocationMetadata -@dynamic environments; - -+ (NSDictionary *)arrayPropertyToClassMap { - NSDictionary *map = @{ - @"environments" : [NSString class] - }; - return map; -} - -@end - - -// ---------------------------------------------------------------------------- -// -// GTLRCloudFunctions_GoogleCloudFunctionsV2alphaOperationMetadata -// - -@implementation GTLRCloudFunctions_GoogleCloudFunctionsV2alphaOperationMetadata -@dynamic apiVersion, buildName, cancelRequested, createTime, endTime, - operationType, requestResource, sourceToken, stages, statusDetail, - target, verb; - -+ (NSDictionary *)arrayPropertyToClassMap { - NSDictionary *map = @{ - @"stages" : [GTLRCloudFunctions_GoogleCloudFunctionsV2alphaStage class] - }; - return map; -} - -@end - - -// ---------------------------------------------------------------------------- -// -// GTLRCloudFunctions_GoogleCloudFunctionsV2alphaOperationMetadata_RequestResource -// - -@implementation GTLRCloudFunctions_GoogleCloudFunctionsV2alphaOperationMetadata_RequestResource - -+ (Class)classForAdditionalProperties { - return [NSObject class]; -} - -@end - - -// ---------------------------------------------------------------------------- -// -// GTLRCloudFunctions_GoogleCloudFunctionsV2alphaStage -// - -@implementation GTLRCloudFunctions_GoogleCloudFunctionsV2alphaStage -@dynamic message, name, resource, resourceUri, state, stateMessages; - -+ (NSDictionary *)arrayPropertyToClassMap { - NSDictionary *map = @{ - @"stateMessages" : [GTLRCloudFunctions_GoogleCloudFunctionsV2alphaStateMessage class] - }; - return map; -} - -@end - - -// ---------------------------------------------------------------------------- -// -// GTLRCloudFunctions_GoogleCloudFunctionsV2alphaStateMessage -// - -@implementation GTLRCloudFunctions_GoogleCloudFunctionsV2alphaStateMessage -@dynamic message, severity, type; -@end - - -// ---------------------------------------------------------------------------- -// -// GTLRCloudFunctions_GoogleCloudFunctionsV2betaLocationMetadata -// - -@implementation GTLRCloudFunctions_GoogleCloudFunctionsV2betaLocationMetadata -@dynamic environments; - -+ (NSDictionary *)arrayPropertyToClassMap { - NSDictionary *map = @{ - @"environments" : [NSString class] - }; - return map; -} - -@end - - -// ---------------------------------------------------------------------------- -// -// GTLRCloudFunctions_GoogleCloudFunctionsV2betaOperationMetadata -// - -@implementation GTLRCloudFunctions_GoogleCloudFunctionsV2betaOperationMetadata -@dynamic apiVersion, buildName, cancelRequested, createTime, endTime, - operationType, requestResource, sourceToken, stages, statusDetail, - target, verb; - -+ (NSDictionary *)arrayPropertyToClassMap { - NSDictionary *map = @{ - @"stages" : [GTLRCloudFunctions_GoogleCloudFunctionsV2betaStage class] - }; - return map; -} - -@end - - -// ---------------------------------------------------------------------------- -// -// GTLRCloudFunctions_GoogleCloudFunctionsV2betaOperationMetadata_RequestResource -// - -@implementation GTLRCloudFunctions_GoogleCloudFunctionsV2betaOperationMetadata_RequestResource - -+ (Class)classForAdditionalProperties { - return [NSObject class]; -} - -@end - - -// ---------------------------------------------------------------------------- -// -// GTLRCloudFunctions_GoogleCloudFunctionsV2betaStage -// - -@implementation GTLRCloudFunctions_GoogleCloudFunctionsV2betaStage -@dynamic message, name, resource, resourceUri, state, stateMessages; - -+ (NSDictionary *)arrayPropertyToClassMap { - NSDictionary *map = @{ - @"stateMessages" : [GTLRCloudFunctions_GoogleCloudFunctionsV2betaStateMessage class] - }; - return map; -} - -@end - - -// ---------------------------------------------------------------------------- -// -// GTLRCloudFunctions_GoogleCloudFunctionsV2betaStateMessage -// - -@implementation GTLRCloudFunctions_GoogleCloudFunctionsV2betaStateMessage -@dynamic message, severity, type; -@end - - // ---------------------------------------------------------------------------- // // GTLRCloudFunctions_GoogleCloudFunctionsV2LocationMetadata diff --git a/Sources/GeneratedServices/CloudFunctions/Public/GoogleAPIClientForREST/GTLRCloudFunctionsObjects.h b/Sources/GeneratedServices/CloudFunctions/Public/GoogleAPIClientForREST/GTLRCloudFunctionsObjects.h index 343b05497..9348b7bcb 100644 --- a/Sources/GeneratedServices/CloudFunctions/Public/GoogleAPIClientForREST/GTLRCloudFunctionsObjects.h +++ b/Sources/GeneratedServices/CloudFunctions/Public/GoogleAPIClientForREST/GTLRCloudFunctionsObjects.h @@ -26,12 +26,6 @@ @class GTLRCloudFunctions_Expr; @class GTLRCloudFunctions_Function; @class GTLRCloudFunctions_Function_Labels; -@class GTLRCloudFunctions_GoogleCloudFunctionsV2alphaOperationMetadata_RequestResource; -@class GTLRCloudFunctions_GoogleCloudFunctionsV2alphaStage; -@class GTLRCloudFunctions_GoogleCloudFunctionsV2alphaStateMessage; -@class GTLRCloudFunctions_GoogleCloudFunctionsV2betaOperationMetadata_RequestResource; -@class GTLRCloudFunctions_GoogleCloudFunctionsV2betaStage; -@class GTLRCloudFunctions_GoogleCloudFunctionsV2betaStateMessage; @class GTLRCloudFunctions_GoogleCloudFunctionsV2OperationMetadata_RequestResource; @class GTLRCloudFunctions_GoogleCloudFunctionsV2Stage; @class GTLRCloudFunctions_GoogleCloudFunctionsV2StateMessage; @@ -231,1848 +225,1112 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_GenerateUploadUrlRequest_ FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_GenerateUploadUrlRequest_Environment_Gen2; // ---------------------------------------------------------------------------- -// GTLRCloudFunctions_GoogleCloudFunctionsV2alphaLocationMetadata.environments +// GTLRCloudFunctions_GoogleCloudFunctionsV2LocationMetadata.environments /** * Unspecified * * Value: "ENVIRONMENT_UNSPECIFIED" */ -FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2alphaLocationMetadata_Environments_EnvironmentUnspecified; +FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2LocationMetadata_Environments_EnvironmentUnspecified; /** * Gen 1 * * Value: "GEN_1" */ -FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2alphaLocationMetadata_Environments_Gen1; +FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2LocationMetadata_Environments_Gen1; /** * Gen 2 * * Value: "GEN_2" */ -FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2alphaLocationMetadata_Environments_Gen2; +FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2LocationMetadata_Environments_Gen2; // ---------------------------------------------------------------------------- -// GTLRCloudFunctions_GoogleCloudFunctionsV2alphaOperationMetadata.operationType +// GTLRCloudFunctions_GoogleCloudFunctionsV2OperationMetadata.operationType /** * AbortFunctionUpgrade * * Value: "ABORT_FUNCTION_UPGRADE" */ -FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2alphaOperationMetadata_OperationType_AbortFunctionUpgrade; +FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2OperationMetadata_OperationType_AbortFunctionUpgrade; /** * CommitFunctionUpgrade * * Value: "COMMIT_FUNCTION_UPGRADE" */ -FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2alphaOperationMetadata_OperationType_CommitFunctionUpgrade; +FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2OperationMetadata_OperationType_CommitFunctionUpgrade; /** * CreateFunction * * Value: "CREATE_FUNCTION" */ -FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2alphaOperationMetadata_OperationType_CreateFunction; +FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2OperationMetadata_OperationType_CreateFunction; /** * DeleteFunction * * Value: "DELETE_FUNCTION" */ -FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2alphaOperationMetadata_OperationType_DeleteFunction; +FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2OperationMetadata_OperationType_DeleteFunction; /** * Unspecified * * Value: "OPERATIONTYPE_UNSPECIFIED" */ -FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2alphaOperationMetadata_OperationType_OperationtypeUnspecified; +FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2OperationMetadata_OperationType_OperationtypeUnspecified; /** * RedirectFunctionUpgradeTraffic * * Value: "REDIRECT_FUNCTION_UPGRADE_TRAFFIC" */ -FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2alphaOperationMetadata_OperationType_RedirectFunctionUpgradeTraffic; +FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2OperationMetadata_OperationType_RedirectFunctionUpgradeTraffic; /** * RollbackFunctionUpgradeTraffic * * Value: "ROLLBACK_FUNCTION_UPGRADE_TRAFFIC" */ -FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2alphaOperationMetadata_OperationType_RollbackFunctionUpgradeTraffic; +FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2OperationMetadata_OperationType_RollbackFunctionUpgradeTraffic; /** * SetupFunctionUpgradeConfig * * Value: "SETUP_FUNCTION_UPGRADE_CONFIG" */ -FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2alphaOperationMetadata_OperationType_SetupFunctionUpgradeConfig; +FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2OperationMetadata_OperationType_SetupFunctionUpgradeConfig; /** * UpdateFunction * * Value: "UPDATE_FUNCTION" */ -FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2alphaOperationMetadata_OperationType_UpdateFunction; +FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2OperationMetadata_OperationType_UpdateFunction; // ---------------------------------------------------------------------------- -// GTLRCloudFunctions_GoogleCloudFunctionsV2alphaStage.name +// GTLRCloudFunctions_GoogleCloudFunctionsV2Stage.name /** * Artifact Regsitry Stage * * Value: "ARTIFACT_REGISTRY" */ -FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2alphaStage_Name_ArtifactRegistry; +FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2Stage_Name_ArtifactRegistry; /** * Build Stage * * Value: "BUILD" */ -FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2alphaStage_Name_Build; +FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2Stage_Name_Build; /** * Not specified. Invalid name. * * Value: "NAME_UNSPECIFIED" */ -FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2alphaStage_Name_NameUnspecified; +FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2Stage_Name_NameUnspecified; /** * Service Stage * * Value: "SERVICE" */ -FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2alphaStage_Name_Service; +FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2Stage_Name_Service; /** * Service Rollback Stage * * Value: "SERVICE_ROLLBACK" */ -FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2alphaStage_Name_ServiceRollback; +FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2Stage_Name_ServiceRollback; /** * Trigger Stage * * Value: "TRIGGER" */ -FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2alphaStage_Name_Trigger; +FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2Stage_Name_Trigger; /** * Trigger Rollback Stage * * Value: "TRIGGER_ROLLBACK" */ -FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2alphaStage_Name_TriggerRollback; +FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2Stage_Name_TriggerRollback; // ---------------------------------------------------------------------------- -// GTLRCloudFunctions_GoogleCloudFunctionsV2alphaStage.state +// GTLRCloudFunctions_GoogleCloudFunctionsV2Stage.state /** * Stage has completed. * * Value: "COMPLETE" */ -FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2alphaStage_State_Complete; +FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2Stage_State_Complete; /** * Stage is in progress. * * Value: "IN_PROGRESS" */ -FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2alphaStage_State_InProgress; +FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2Stage_State_InProgress; /** * Stage has not started. * * Value: "NOT_STARTED" */ -FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2alphaStage_State_NotStarted; +FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2Stage_State_NotStarted; /** * Not specified. Invalid state. * * Value: "STATE_UNSPECIFIED" */ -FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2alphaStage_State_StateUnspecified; +FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2Stage_State_StateUnspecified; // ---------------------------------------------------------------------------- -// GTLRCloudFunctions_GoogleCloudFunctionsV2alphaStateMessage.severity +// GTLRCloudFunctions_GoogleCloudFunctionsV2StateMessage.severity /** * ERROR-level severity. * * Value: "ERROR" */ -FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2alphaStateMessage_Severity_Error; +FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2StateMessage_Severity_Error; /** * INFO-level severity. * * Value: "INFO" */ -FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2alphaStateMessage_Severity_Info; +FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2StateMessage_Severity_Info; /** * Not specified. Invalid severity. * * Value: "SEVERITY_UNSPECIFIED" */ -FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2alphaStateMessage_Severity_SeverityUnspecified; +FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2StateMessage_Severity_SeverityUnspecified; /** * WARNING-level severity. * * Value: "WARNING" */ -FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2alphaStateMessage_Severity_Warning; - -// ---------------------------------------------------------------------------- -// GTLRCloudFunctions_GoogleCloudFunctionsV2betaLocationMetadata.environments - -/** - * Unspecified - * - * Value: "ENVIRONMENT_UNSPECIFIED" - */ -FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2betaLocationMetadata_Environments_EnvironmentUnspecified; -/** - * Gen 1 - * - * Value: "GEN_1" - */ -FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2betaLocationMetadata_Environments_Gen1; -/** - * Gen 2 - * - * Value: "GEN_2" - */ -FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2betaLocationMetadata_Environments_Gen2; +FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2StateMessage_Severity_Warning; // ---------------------------------------------------------------------------- -// GTLRCloudFunctions_GoogleCloudFunctionsV2betaOperationMetadata.operationType +// GTLRCloudFunctions_OperationMetadataV1.type /** - * AbortFunctionUpgrade - * - * Value: "ABORT_FUNCTION_UPGRADE" - */ -FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2betaOperationMetadata_OperationType_AbortFunctionUpgrade; -/** - * CommitFunctionUpgrade - * - * Value: "COMMIT_FUNCTION_UPGRADE" - */ -FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2betaOperationMetadata_OperationType_CommitFunctionUpgrade; -/** - * CreateFunction + * Triggered by CreateFunction call * * Value: "CREATE_FUNCTION" */ -FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2betaOperationMetadata_OperationType_CreateFunction; +FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_OperationMetadataV1_Type_CreateFunction; /** - * DeleteFunction + * Triggered by DeleteFunction call. * * Value: "DELETE_FUNCTION" */ -FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2betaOperationMetadata_OperationType_DeleteFunction; +FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_OperationMetadataV1_Type_DeleteFunction; /** - * Unspecified + * Unknown operation type. * - * Value: "OPERATIONTYPE_UNSPECIFIED" + * Value: "OPERATION_UNSPECIFIED" */ -FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2betaOperationMetadata_OperationType_OperationtypeUnspecified; +FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_OperationMetadataV1_Type_OperationUnspecified; /** - * RedirectFunctionUpgradeTraffic + * Triggered by UpdateFunction call * - * Value: "REDIRECT_FUNCTION_UPGRADE_TRAFFIC" + * Value: "UPDATE_FUNCTION" */ -FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2betaOperationMetadata_OperationType_RedirectFunctionUpgradeTraffic; +FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_OperationMetadataV1_Type_UpdateFunction; + +// ---------------------------------------------------------------------------- +// GTLRCloudFunctions_Runtime.environment + /** - * RollbackFunctionUpgradeTraffic + * Unspecified * - * Value: "ROLLBACK_FUNCTION_UPGRADE_TRAFFIC" + * Value: "ENVIRONMENT_UNSPECIFIED" */ -FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2betaOperationMetadata_OperationType_RollbackFunctionUpgradeTraffic; +FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_Runtime_Environment_EnvironmentUnspecified; /** - * SetupFunctionUpgradeConfig + * Gen 1 * - * Value: "SETUP_FUNCTION_UPGRADE_CONFIG" + * Value: "GEN_1" */ -FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2betaOperationMetadata_OperationType_SetupFunctionUpgradeConfig; +FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_Runtime_Environment_Gen1; /** - * UpdateFunction + * Gen 2 * - * Value: "UPDATE_FUNCTION" + * Value: "GEN_2" */ -FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2betaOperationMetadata_OperationType_UpdateFunction; +FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_Runtime_Environment_Gen2; // ---------------------------------------------------------------------------- -// GTLRCloudFunctions_GoogleCloudFunctionsV2betaStage.name +// GTLRCloudFunctions_Runtime.stage /** - * Artifact Regsitry Stage + * The runtime is in the Alpha stage. * - * Value: "ARTIFACT_REGISTRY" + * Value: "ALPHA" */ -FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2betaStage_Name_ArtifactRegistry; +FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_Runtime_Stage_Alpha; /** - * Build Stage + * The runtime is in the Beta stage. * - * Value: "BUILD" + * Value: "BETA" */ -FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2betaStage_Name_Build; +FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_Runtime_Stage_Beta; /** - * Not specified. Invalid name. + * The runtime is no longer supported. * - * Value: "NAME_UNSPECIFIED" + * Value: "DECOMMISSIONED" */ -FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2betaStage_Name_NameUnspecified; +FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_Runtime_Stage_Decommissioned; /** - * Service Stage + * The runtime is deprecated. * - * Value: "SERVICE" + * Value: "DEPRECATED" */ -FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2betaStage_Name_Service; +FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_Runtime_Stage_Deprecated; /** - * Service Rollback Stage + * The runtime is in development. * - * Value: "SERVICE_ROLLBACK" + * Value: "DEVELOPMENT" */ -FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2betaStage_Name_ServiceRollback; +FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_Runtime_Stage_Development; /** - * Trigger Stage + * The runtime is generally available. * - * Value: "TRIGGER" + * Value: "GA" */ -FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2betaStage_Name_Trigger; +FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_Runtime_Stage_Ga; /** - * Trigger Rollback Stage + * Not specified. * - * Value: "TRIGGER_ROLLBACK" + * Value: "RUNTIME_STAGE_UNSPECIFIED" */ -FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2betaStage_Name_TriggerRollback; +FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_Runtime_Stage_RuntimeStageUnspecified; // ---------------------------------------------------------------------------- -// GTLRCloudFunctions_GoogleCloudFunctionsV2betaStage.state +// GTLRCloudFunctions_ServiceConfig.ingressSettings /** - * Stage has completed. + * Allow HTTP traffic from public and private sources. * - * Value: "COMPLETE" + * Value: "ALLOW_ALL" */ -FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2betaStage_State_Complete; +FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_ServiceConfig_IngressSettings_AllowAll; /** - * Stage is in progress. + * Allow HTTP traffic from private VPC sources and through GCLB. * - * Value: "IN_PROGRESS" + * Value: "ALLOW_INTERNAL_AND_GCLB" */ -FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2betaStage_State_InProgress; +FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_ServiceConfig_IngressSettings_AllowInternalAndGclb; /** - * Stage has not started. + * Allow HTTP traffic from only private VPC sources. * - * Value: "NOT_STARTED" + * Value: "ALLOW_INTERNAL_ONLY" */ -FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2betaStage_State_NotStarted; +FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_ServiceConfig_IngressSettings_AllowInternalOnly; /** - * Not specified. Invalid state. + * Unspecified. * - * Value: "STATE_UNSPECIFIED" + * Value: "INGRESS_SETTINGS_UNSPECIFIED" */ -FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2betaStage_State_StateUnspecified; +FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_ServiceConfig_IngressSettings_IngressSettingsUnspecified; // ---------------------------------------------------------------------------- -// GTLRCloudFunctions_GoogleCloudFunctionsV2betaStateMessage.severity +// GTLRCloudFunctions_ServiceConfig.securityLevel /** - * ERROR-level severity. - * - * Value: "ERROR" - */ -FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2betaStateMessage_Severity_Error; -/** - * INFO-level severity. + * Requests for a URL that match this handler that do not use HTTPS are + * automatically redirected to the HTTPS URL with the same path. Query + * parameters are reserved for the redirect. * - * Value: "INFO" + * Value: "SECURE_ALWAYS" */ -FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2betaStateMessage_Severity_Info; +FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_ServiceConfig_SecurityLevel_SecureAlways; /** - * Not specified. Invalid severity. + * Both HTTP and HTTPS requests with URLs that match the handler succeed + * without redirects. The application can examine the request to determine + * which protocol was used and respond accordingly. * - * Value: "SEVERITY_UNSPECIFIED" + * Value: "SECURE_OPTIONAL" */ -FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2betaStateMessage_Severity_SeverityUnspecified; +FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_ServiceConfig_SecurityLevel_SecureOptional; /** - * WARNING-level severity. + * Unspecified. * - * Value: "WARNING" + * Value: "SECURITY_LEVEL_UNSPECIFIED" */ -FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2betaStateMessage_Severity_Warning; +FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_ServiceConfig_SecurityLevel_SecurityLevelUnspecified; // ---------------------------------------------------------------------------- -// GTLRCloudFunctions_GoogleCloudFunctionsV2LocationMetadata.environments +// GTLRCloudFunctions_ServiceConfig.vpcConnectorEgressSettings /** - * Unspecified + * Force the use of VPC Access Connector for all egress traffic from the + * function. * - * Value: "ENVIRONMENT_UNSPECIFIED" + * Value: "ALL_TRAFFIC" */ -FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2LocationMetadata_Environments_EnvironmentUnspecified; +FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_ServiceConfig_VpcConnectorEgressSettings_AllTraffic; /** - * Gen 1 + * Use the VPC Access Connector only for private IP space from RFC1918. * - * Value: "GEN_1" + * Value: "PRIVATE_RANGES_ONLY" */ -FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2LocationMetadata_Environments_Gen1; +FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_ServiceConfig_VpcConnectorEgressSettings_PrivateRangesOnly; /** - * Gen 2 + * Unspecified. * - * Value: "GEN_2" + * Value: "VPC_CONNECTOR_EGRESS_SETTINGS_UNSPECIFIED" */ -FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2LocationMetadata_Environments_Gen2; +FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_ServiceConfig_VpcConnectorEgressSettings_VpcConnectorEgressSettingsUnspecified; // ---------------------------------------------------------------------------- -// GTLRCloudFunctions_GoogleCloudFunctionsV2OperationMetadata.operationType +// GTLRCloudFunctions_UpgradeInfo.upgradeState /** - * AbortFunctionUpgrade + * AbortFunctionUpgrade API was un-successful. * - * Value: "ABORT_FUNCTION_UPGRADE" + * Value: "ABORT_FUNCTION_UPGRADE_ERROR" */ -FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2OperationMetadata_OperationType_AbortFunctionUpgrade; +FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_UpgradeInfo_UpgradeState_AbortFunctionUpgradeError; /** - * CommitFunctionUpgrade + * CommitFunctionUpgrade API was un-successful. * - * Value: "COMMIT_FUNCTION_UPGRADE" + * Value: "COMMIT_FUNCTION_UPGRADE_ERROR" */ -FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2OperationMetadata_OperationType_CommitFunctionUpgrade; +FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_UpgradeInfo_UpgradeState_CommitFunctionUpgradeError; /** - * CreateFunction + * Functions in this state are eligible for 1st Gen -> 2nd Gen upgrade. * - * Value: "CREATE_FUNCTION" + * Value: "ELIGIBLE_FOR_2ND_GEN_UPGRADE" */ -FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2OperationMetadata_OperationType_CreateFunction; +FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_UpgradeInfo_UpgradeState_EligibleFor2ndGenUpgrade; /** - * DeleteFunction + * RedirectFunctionUpgradeTraffic API was un-successful. * - * Value: "DELETE_FUNCTION" + * Value: "REDIRECT_FUNCTION_UPGRADE_TRAFFIC_ERROR" */ -FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2OperationMetadata_OperationType_DeleteFunction; +FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_UpgradeInfo_UpgradeState_RedirectFunctionUpgradeTrafficError; /** - * Unspecified + * RedirectFunctionUpgradeTraffic API was successful and traffic is served by + * 2nd Gen function stack. * - * Value: "OPERATIONTYPE_UNSPECIFIED" + * Value: "REDIRECT_FUNCTION_UPGRADE_TRAFFIC_SUCCESSFUL" */ -FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2OperationMetadata_OperationType_OperationtypeUnspecified; +FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_UpgradeInfo_UpgradeState_RedirectFunctionUpgradeTrafficSuccessful; /** - * RedirectFunctionUpgradeTraffic + * RollbackFunctionUpgradeTraffic API was un-successful. * - * Value: "REDIRECT_FUNCTION_UPGRADE_TRAFFIC" + * Value: "ROLLBACK_FUNCTION_UPGRADE_TRAFFIC_ERROR" */ -FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2OperationMetadata_OperationType_RedirectFunctionUpgradeTraffic; +FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_UpgradeInfo_UpgradeState_RollbackFunctionUpgradeTrafficError; /** - * RollbackFunctionUpgradeTraffic + * SetupFunctionUpgradeConfig API was un-successful. * - * Value: "ROLLBACK_FUNCTION_UPGRADE_TRAFFIC" + * Value: "SETUP_FUNCTION_UPGRADE_CONFIG_ERROR" */ -FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2OperationMetadata_OperationType_RollbackFunctionUpgradeTraffic; +FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_UpgradeInfo_UpgradeState_SetupFunctionUpgradeConfigError; /** - * SetupFunctionUpgradeConfig + * SetupFunctionUpgradeConfig API was successful and a 2nd Gen function has + * been created based on 1st Gen function instance. * - * Value: "SETUP_FUNCTION_UPGRADE_CONFIG" + * Value: "SETUP_FUNCTION_UPGRADE_CONFIG_SUCCESSFUL" */ -FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2OperationMetadata_OperationType_SetupFunctionUpgradeConfig; +FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_UpgradeInfo_UpgradeState_SetupFunctionUpgradeConfigSuccessful; /** - * UpdateFunction + * An upgrade related operation is in progress. * - * Value: "UPDATE_FUNCTION" + * Value: "UPGRADE_OPERATION_IN_PROGRESS" */ -FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2OperationMetadata_OperationType_UpdateFunction; - -// ---------------------------------------------------------------------------- -// GTLRCloudFunctions_GoogleCloudFunctionsV2Stage.name - -/** - * Artifact Regsitry Stage - * - * Value: "ARTIFACT_REGISTRY" - */ -FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2Stage_Name_ArtifactRegistry; -/** - * Build Stage - * - * Value: "BUILD" - */ -FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2Stage_Name_Build; -/** - * Not specified. Invalid name. - * - * Value: "NAME_UNSPECIFIED" - */ -FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2Stage_Name_NameUnspecified; -/** - * Service Stage - * - * Value: "SERVICE" - */ -FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2Stage_Name_Service; -/** - * Service Rollback Stage - * - * Value: "SERVICE_ROLLBACK" - */ -FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2Stage_Name_ServiceRollback; -/** - * Trigger Stage - * - * Value: "TRIGGER" - */ -FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2Stage_Name_Trigger; -/** - * Trigger Rollback Stage - * - * Value: "TRIGGER_ROLLBACK" - */ -FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2Stage_Name_TriggerRollback; - -// ---------------------------------------------------------------------------- -// GTLRCloudFunctions_GoogleCloudFunctionsV2Stage.state - -/** - * Stage has completed. - * - * Value: "COMPLETE" - */ -FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2Stage_State_Complete; -/** - * Stage is in progress. - * - * Value: "IN_PROGRESS" - */ -FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2Stage_State_InProgress; -/** - * Stage has not started. - * - * Value: "NOT_STARTED" - */ -FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2Stage_State_NotStarted; -/** - * Not specified. Invalid state. - * - * Value: "STATE_UNSPECIFIED" - */ -FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2Stage_State_StateUnspecified; - -// ---------------------------------------------------------------------------- -// GTLRCloudFunctions_GoogleCloudFunctionsV2StateMessage.severity - -/** - * ERROR-level severity. - * - * Value: "ERROR" - */ -FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2StateMessage_Severity_Error; -/** - * INFO-level severity. - * - * Value: "INFO" - */ -FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2StateMessage_Severity_Info; -/** - * Not specified. Invalid severity. - * - * Value: "SEVERITY_UNSPECIFIED" - */ -FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2StateMessage_Severity_SeverityUnspecified; -/** - * WARNING-level severity. - * - * Value: "WARNING" - */ -FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2StateMessage_Severity_Warning; - -// ---------------------------------------------------------------------------- -// GTLRCloudFunctions_OperationMetadataV1.type - -/** - * Triggered by CreateFunction call - * - * Value: "CREATE_FUNCTION" - */ -FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_OperationMetadataV1_Type_CreateFunction; -/** - * Triggered by DeleteFunction call. - * - * Value: "DELETE_FUNCTION" - */ -FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_OperationMetadataV1_Type_DeleteFunction; -/** - * Unknown operation type. - * - * Value: "OPERATION_UNSPECIFIED" - */ -FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_OperationMetadataV1_Type_OperationUnspecified; -/** - * Triggered by UpdateFunction call - * - * Value: "UPDATE_FUNCTION" - */ -FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_OperationMetadataV1_Type_UpdateFunction; - -// ---------------------------------------------------------------------------- -// GTLRCloudFunctions_Runtime.environment - -/** - * Unspecified - * - * Value: "ENVIRONMENT_UNSPECIFIED" - */ -FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_Runtime_Environment_EnvironmentUnspecified; -/** - * Gen 1 - * - * Value: "GEN_1" - */ -FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_Runtime_Environment_Gen1; -/** - * Gen 2 - * - * Value: "GEN_2" - */ -FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_Runtime_Environment_Gen2; - -// ---------------------------------------------------------------------------- -// GTLRCloudFunctions_Runtime.stage - -/** - * The runtime is in the Alpha stage. - * - * Value: "ALPHA" - */ -FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_Runtime_Stage_Alpha; -/** - * The runtime is in the Beta stage. - * - * Value: "BETA" - */ -FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_Runtime_Stage_Beta; -/** - * The runtime is no longer supported. - * - * Value: "DECOMMISSIONED" - */ -FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_Runtime_Stage_Decommissioned; -/** - * The runtime is deprecated. - * - * Value: "DEPRECATED" - */ -FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_Runtime_Stage_Deprecated; -/** - * The runtime is in development. - * - * Value: "DEVELOPMENT" - */ -FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_Runtime_Stage_Development; -/** - * The runtime is generally available. - * - * Value: "GA" - */ -FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_Runtime_Stage_Ga; -/** - * Not specified. - * - * Value: "RUNTIME_STAGE_UNSPECIFIED" - */ -FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_Runtime_Stage_RuntimeStageUnspecified; - -// ---------------------------------------------------------------------------- -// GTLRCloudFunctions_ServiceConfig.ingressSettings - -/** - * Allow HTTP traffic from public and private sources. - * - * Value: "ALLOW_ALL" - */ -FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_ServiceConfig_IngressSettings_AllowAll; -/** - * Allow HTTP traffic from private VPC sources and through GCLB. - * - * Value: "ALLOW_INTERNAL_AND_GCLB" - */ -FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_ServiceConfig_IngressSettings_AllowInternalAndGclb; -/** - * Allow HTTP traffic from only private VPC sources. - * - * Value: "ALLOW_INTERNAL_ONLY" - */ -FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_ServiceConfig_IngressSettings_AllowInternalOnly; -/** - * Unspecified. - * - * Value: "INGRESS_SETTINGS_UNSPECIFIED" - */ -FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_ServiceConfig_IngressSettings_IngressSettingsUnspecified; - -// ---------------------------------------------------------------------------- -// GTLRCloudFunctions_ServiceConfig.securityLevel - -/** - * Requests for a URL that match this handler that do not use HTTPS are - * automatically redirected to the HTTPS URL with the same path. Query - * parameters are reserved for the redirect. - * - * Value: "SECURE_ALWAYS" - */ -FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_ServiceConfig_SecurityLevel_SecureAlways; -/** - * Both HTTP and HTTPS requests with URLs that match the handler succeed - * without redirects. The application can examine the request to determine - * which protocol was used and respond accordingly. - * - * Value: "SECURE_OPTIONAL" - */ -FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_ServiceConfig_SecurityLevel_SecureOptional; -/** - * Unspecified. - * - * Value: "SECURITY_LEVEL_UNSPECIFIED" - */ -FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_ServiceConfig_SecurityLevel_SecurityLevelUnspecified; - -// ---------------------------------------------------------------------------- -// GTLRCloudFunctions_ServiceConfig.vpcConnectorEgressSettings - -/** - * Force the use of VPC Access Connector for all egress traffic from the - * function. - * - * Value: "ALL_TRAFFIC" - */ -FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_ServiceConfig_VpcConnectorEgressSettings_AllTraffic; -/** - * Use the VPC Access Connector only for private IP space from RFC1918. - * - * Value: "PRIVATE_RANGES_ONLY" - */ -FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_ServiceConfig_VpcConnectorEgressSettings_PrivateRangesOnly; -/** - * Unspecified. - * - * Value: "VPC_CONNECTOR_EGRESS_SETTINGS_UNSPECIFIED" - */ -FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_ServiceConfig_VpcConnectorEgressSettings_VpcConnectorEgressSettingsUnspecified; - -// ---------------------------------------------------------------------------- -// GTLRCloudFunctions_UpgradeInfo.upgradeState - -/** - * AbortFunctionUpgrade API was un-successful. - * - * Value: "ABORT_FUNCTION_UPGRADE_ERROR" - */ -FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_UpgradeInfo_UpgradeState_AbortFunctionUpgradeError; -/** - * CommitFunctionUpgrade API was un-successful. - * - * Value: "COMMIT_FUNCTION_UPGRADE_ERROR" - */ -FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_UpgradeInfo_UpgradeState_CommitFunctionUpgradeError; -/** - * Functions in this state are eligible for 1st Gen -> 2nd Gen upgrade. - * - * Value: "ELIGIBLE_FOR_2ND_GEN_UPGRADE" - */ -FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_UpgradeInfo_UpgradeState_EligibleFor2ndGenUpgrade; -/** - * RedirectFunctionUpgradeTraffic API was un-successful. - * - * Value: "REDIRECT_FUNCTION_UPGRADE_TRAFFIC_ERROR" - */ -FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_UpgradeInfo_UpgradeState_RedirectFunctionUpgradeTrafficError; -/** - * RedirectFunctionUpgradeTraffic API was successful and traffic is served by - * 2nd Gen function stack. - * - * Value: "REDIRECT_FUNCTION_UPGRADE_TRAFFIC_SUCCESSFUL" - */ -FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_UpgradeInfo_UpgradeState_RedirectFunctionUpgradeTrafficSuccessful; -/** - * RollbackFunctionUpgradeTraffic API was un-successful. - * - * Value: "ROLLBACK_FUNCTION_UPGRADE_TRAFFIC_ERROR" - */ -FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_UpgradeInfo_UpgradeState_RollbackFunctionUpgradeTrafficError; -/** - * SetupFunctionUpgradeConfig API was un-successful. - * - * Value: "SETUP_FUNCTION_UPGRADE_CONFIG_ERROR" - */ -FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_UpgradeInfo_UpgradeState_SetupFunctionUpgradeConfigError; -/** - * SetupFunctionUpgradeConfig API was successful and a 2nd Gen function has - * been created based on 1st Gen function instance. - * - * Value: "SETUP_FUNCTION_UPGRADE_CONFIG_SUCCESSFUL" - */ -FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_UpgradeInfo_UpgradeState_SetupFunctionUpgradeConfigSuccessful; -/** - * An upgrade related operation is in progress. - * - * Value: "UPGRADE_OPERATION_IN_PROGRESS" - */ -FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_UpgradeInfo_UpgradeState_UpgradeOperationInProgress; -/** - * Unspecified state. Most functions are in this upgrade state. - * - * Value: "UPGRADE_STATE_UNSPECIFIED" - */ -FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_UpgradeInfo_UpgradeState_UpgradeStateUnspecified; - -/** - * Request for the `AbortFunctionUpgrade` method. - */ -@interface GTLRCloudFunctions_AbortFunctionUpgradeRequest : GTLRObject -@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 GTLRCloudFunctions_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 GTLRCloudFunctions_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 kGTLRCloudFunctions_AuditLogConfig_LogType_AdminRead Admin reads. - * Example: CloudIAM getIamPolicy (Value: "ADMIN_READ") - * @arg @c kGTLRCloudFunctions_AuditLogConfig_LogType_DataRead Data reads. - * Example: CloudSQL Users list (Value: "DATA_READ") - * @arg @c kGTLRCloudFunctions_AuditLogConfig_LogType_DataWrite Data writes. - * Example: CloudSQL Users create (Value: "DATA_WRITE") - * @arg @c kGTLRCloudFunctions_AuditLogConfig_LogType_LogTypeUnspecified - * Default case. Should never be this. (Value: "LOG_TYPE_UNSPECIFIED") - */ -@property(nonatomic, copy, nullable) NSString *logType; - -@end - - -/** - * Security patches are applied automatically to the runtime without requiring - * the function to be redeployed. - */ -@interface GTLRCloudFunctions_AutomaticUpdatePolicy : GTLRObject -@end - - -/** - * Associates `members`, or principals, with a `role`. - */ -@interface GTLRCloudFunctions_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) GTLRCloudFunctions_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 - - -/** - * Describes the Build step of the function that builds a container from the - * given source. - */ -@interface GTLRCloudFunctions_BuildConfig : GTLRObject - -@property(nonatomic, strong, nullable) GTLRCloudFunctions_AutomaticUpdatePolicy *automaticUpdatePolicy; - -/** - * Output only. The Cloud Build name of the latest successful deployment of the - * function. - */ -@property(nonatomic, copy, nullable) NSString *build; - -/** - * Docker Registry to use for this deployment. This configuration is only - * applicable to 1st Gen functions, 2nd Gen functions can only use Artifact - * Registry. If unspecified, it defaults to `ARTIFACT_REGISTRY`. If - * `docker_repository` field is specified, this field should either be left - * unspecified or set to `ARTIFACT_REGISTRY`. - * - * Likely values: - * @arg @c kGTLRCloudFunctions_BuildConfig_DockerRegistry_ArtifactRegistry - * Docker images will be stored in regional Artifact Registry - * repositories. By default, GCF will create and use repositories named - * `gcf-artifacts` in every region in which a function is deployed. But - * the repository to use can also be specified by the user using the - * `docker_repository` field. (Value: "ARTIFACT_REGISTRY") - * @arg @c kGTLRCloudFunctions_BuildConfig_DockerRegistry_ContainerRegistry - * Docker images will be stored in multi-regional Container Registry - * repositories named `gcf`. (Value: "CONTAINER_REGISTRY") - * @arg @c kGTLRCloudFunctions_BuildConfig_DockerRegistry_DockerRegistryUnspecified - * Unspecified. (Value: "DOCKER_REGISTRY_UNSPECIFIED") - */ -@property(nonatomic, copy, nullable) NSString *dockerRegistry; - -/** - * Repository in Artifact Registry to which the function docker image will be - * pushed after it is built by Cloud Build. If specified by user, it is created - * and managed by user with a customer managed encryption key. Otherwise, GCF - * will create and use a repository named 'gcf-artifacts' for every deployed - * region. It must match the pattern - * `projects/{project}/locations/{location}/repositories/{repository}`. - * Cross-project repositories are not supported. Cross-location repositories - * are not supported. Repository format must be 'DOCKER'. - */ -@property(nonatomic, copy, nullable) NSString *dockerRepository; - -/** - * The name of the function (as defined in source code) that will be executed. - * Defaults to the resource name suffix, if not specified. For backward - * compatibility, if function with given name is not found, then the system - * will try to use function named "function". For Node.js this is name of a - * function exported by the module specified in `source_location`. - */ -@property(nonatomic, copy, nullable) NSString *entryPoint; - -/** User-provided build-time environment variables for the function */ -@property(nonatomic, strong, nullable) GTLRCloudFunctions_BuildConfig_EnvironmentVariables *environmentVariables; - -@property(nonatomic, strong, nullable) GTLRCloudFunctions_OnDeployUpdatePolicy *onDeployUpdatePolicy; - -/** - * The runtime in which to run the function. Required when deploying a new - * function, optional when updating an existing function. For a complete list - * of possible choices, see the [`gcloud` command - * reference](https://cloud.google.com/sdk/gcloud/reference/functions/deploy#--runtime). - */ -@property(nonatomic, copy, nullable) NSString *runtime; - -/** - * Service account to be used for building the container. The format of this - * field is `projects/{projectId}/serviceAccounts/{serviceAccountEmail}`. - */ -@property(nonatomic, copy, nullable) NSString *serviceAccount; - -/** The location of the function source code. */ -@property(nonatomic, strong, nullable) GTLRCloudFunctions_Source *source; - -/** Output only. A permanent fixed identifier for source. */ -@property(nonatomic, strong, nullable) GTLRCloudFunctions_SourceProvenance *sourceProvenance; - -/** - * An identifier for Firebase function sources. Disclaimer: This field is only - * supported for Firebase function deployments. - */ -@property(nonatomic, copy, nullable) NSString *sourceToken; - -/** - * Name of the Cloud Build Custom Worker Pool that should be used to build the - * function. The format of this field is - * `projects/{project}/locations/{region}/workerPools/{workerPool}` where - * {project} and {region} are the project id and region respectively where the - * worker pool is defined and {workerPool} is the short name of the worker - * pool. If the project id is not the same as the function, then the Cloud - * Functions Service Agent (service-\@gcf-admin-robot.iam.gserviceaccount.com) - * must be granted the role Cloud Build Custom Workers Builder - * (roles/cloudbuild.customworkers.builder) in the project. - */ -@property(nonatomic, copy, nullable) NSString *workerPool; - -@end - - -/** - * User-provided build-time environment variables for the function - * - * @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 GTLRCloudFunctions_BuildConfig_EnvironmentVariables : GTLRObject -@end - - -/** - * Request for the `CommitFunctionUpgrade` method. - */ -@interface GTLRCloudFunctions_CommitFunctionUpgradeRequest : GTLRObject -@end - - -/** - * Represents a whole or partial calendar date, such as a birthday. The time of - * day and time zone are either specified elsewhere or are insignificant. The - * date is relative to the Gregorian Calendar. This can represent one of the - * following: * A full date, with non-zero year, month, and day values. * A - * month and day, with a zero year (for example, an anniversary). * A year on - * its own, with a zero month and a zero day. * A year and month, with a zero - * day (for example, a credit card expiration date). Related types: * - * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp - */ -@interface GTLRCloudFunctions_Date : GTLRObject - -/** - * Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 - * to specify a year by itself or a year and month where the day isn't - * significant. - * - * Uses NSNumber of intValue. - */ -@property(nonatomic, strong, nullable) NSNumber *day; - -/** - * Month of a year. Must be from 1 to 12, or 0 to specify a year without a - * month and day. - * - * Uses NSNumber of intValue. - */ -@property(nonatomic, strong, nullable) NSNumber *month; - -/** - * Year of the date. Must be from 1 to 9999, or 0 to specify a date without a - * year. - * - * Uses NSNumber of intValue. - */ -@property(nonatomic, strong, nullable) NSNumber *year; - -@end - - -/** - * Filters events based on exact matches on the CloudEvents attributes. - */ -@interface GTLRCloudFunctions_EventFilter : GTLRObject - -/** Required. The name of a CloudEvents attribute. */ -@property(nonatomic, copy, nullable) NSString *attribute; - -/** - * Optional. The operator used for matching the events with the value of the - * filter. If not specified, only events that have an exact key-value pair - * specified in the filter are matched. The only allowed value is - * `match-path-pattern`. - * - * Remapped to 'operatorProperty' to avoid language reserved word 'operator'. - */ -@property(nonatomic, copy, nullable) NSString *operatorProperty; - -/** Required. The value for the attribute. */ -@property(nonatomic, copy, nullable) NSString *value; - -@end - - -/** - * Describes EventTrigger, used to request events to be sent from another - * service. - */ -@interface GTLRCloudFunctions_EventTrigger : GTLRObject - -/** - * Optional. The name of the channel associated with the trigger in - * `projects/{project}/locations/{location}/channels/{channel}` format. You - * must provide a channel to receive events from Eventarc SaaS partners. - */ -@property(nonatomic, copy, nullable) NSString *channel; - -/** Criteria used to filter events. */ -@property(nonatomic, strong, nullable) NSArray *eventFilters; - -/** - * Required. The type of event to observe. For example: - * `google.cloud.audit.log.v1.written` or - * `google.cloud.pubsub.topic.v1.messagePublished`. - */ -@property(nonatomic, copy, nullable) NSString *eventType; - -/** - * Optional. The name of a Pub/Sub topic in the same project that will be used - * as the transport topic for the event delivery. Format: - * `projects/{project}/topics/{topic}`. This is only valid for events of type - * `google.cloud.pubsub.topic.v1.messagePublished`. The topic provided here - * will not be deleted at function deletion. - */ -@property(nonatomic, copy, nullable) NSString *pubsubTopic; - -/** - * Optional. If unset, then defaults to ignoring failures (i.e. not retrying - * them). - * - * Likely values: - * @arg @c kGTLRCloudFunctions_EventTrigger_RetryPolicy_RetryPolicyDoNotRetry - * Do not retry. (Value: "RETRY_POLICY_DO_NOT_RETRY") - * @arg @c kGTLRCloudFunctions_EventTrigger_RetryPolicy_RetryPolicyRetry - * Retry on any failure, retry up to 7 days with an exponential backoff - * (capped at 10 seconds). (Value: "RETRY_POLICY_RETRY") - * @arg @c kGTLRCloudFunctions_EventTrigger_RetryPolicy_RetryPolicyUnspecified - * Not specified. (Value: "RETRY_POLICY_UNSPECIFIED") - */ -@property(nonatomic, copy, nullable) NSString *retryPolicy; - -/** - * Optional. The hostname of the service that 1st Gen function should be - * observed. If no string is provided, the default service implementing the API - * will be used. For example, `storage.googleapis.com` is the default for all - * event types in the `google.storage` namespace. The field is only applicable - * to 1st Gen functions. - */ -@property(nonatomic, copy, nullable) NSString *service; - -/** - * Optional. The email of the trigger's service account. The service account - * must have permission to invoke Cloud Run services, the permission is - * `run.routes.invoke`. If empty, defaults to the Compute Engine default - * service account: `{project_number}-compute\@developer.gserviceaccount.com`. - */ -@property(nonatomic, copy, nullable) NSString *serviceAccountEmail; - -/** - * Output only. The resource name of the Eventarc trigger. The format of this - * field is `projects/{project}/locations/{region}/triggers/{trigger}`. - */ -@property(nonatomic, copy, nullable) NSString *trigger; - -/** - * The region that the trigger will be in. The trigger will only receive events - * originating in this region. It can be the same region as the function, a - * different region or multi-region, or the global region. If not provided, - * defaults to the same region as the function. - */ -@property(nonatomic, copy, nullable) NSString *triggerRegion; - -@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 GTLRCloudFunctions_Expr : GTLRObject - +FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_UpgradeInfo_UpgradeState_UpgradeOperationInProgress; /** - * Optional. Description of the expression. This is a longer text which - * describes the expression, e.g. when hovered over it in a UI. + * Unspecified state. Most functions are in this upgrade state. * - * 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. + * Value: "UPGRADE_STATE_UNSPECIFIED" */ -@property(nonatomic, copy, nullable) NSString *location; +FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_UpgradeInfo_UpgradeState_UpgradeStateUnspecified; /** - * 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. + * Request for the `AbortFunctionUpgrade` method. */ -@property(nonatomic, copy, nullable) NSString *title; - +@interface GTLRCloudFunctions_AbortFunctionUpgradeRequest : GTLRObject @end /** - * Describes a Cloud Function that contains user computation executed in - * response to an event. It encapsulates function and trigger configurations. - */ -@interface GTLRCloudFunctions_Function : GTLRObject - -/** - * Describes the Build step of the function that builds a container from the - * given source. - */ -@property(nonatomic, strong, nullable) GTLRCloudFunctions_BuildConfig *buildConfig; - -/** - * Output only. The create timestamp of a Cloud Function. This is only - * applicable to 2nd Gen functions. - */ -@property(nonatomic, strong, nullable) GTLRDateTime *createTime; - -/** - * User-provided description of a function. - * - * Remapped to 'descriptionProperty' to avoid NSObject's 'description'. - */ -@property(nonatomic, copy, nullable) NSString *descriptionProperty; - -/** - * Describe whether the function is 1st Gen or 2nd Gen. - * - * Likely values: - * @arg @c kGTLRCloudFunctions_Function_Environment_EnvironmentUnspecified - * Unspecified (Value: "ENVIRONMENT_UNSPECIFIED") - * @arg @c kGTLRCloudFunctions_Function_Environment_Gen1 Gen 1 (Value: - * "GEN_1") - * @arg @c kGTLRCloudFunctions_Function_Environment_Gen2 Gen 2 (Value: - * "GEN_2") + * 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. */ -@property(nonatomic, copy, nullable) NSString *environment; +@interface GTLRCloudFunctions_AuditConfig : GTLRObject -/** - * An Eventarc trigger managed by Google Cloud Functions that fires events in - * response to a condition in another service. - */ -@property(nonatomic, strong, nullable) GTLRCloudFunctions_EventTrigger *eventTrigger; +/** The configuration for logging of each type of permission. */ +@property(nonatomic, strong, nullable) NSArray *auditLogConfigs; /** - * Resource name of a KMS crypto key (managed by the user) used to - * encrypt/decrypt function resources. It must match the pattern - * `projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}`. + * 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 *kmsKeyName; +@property(nonatomic, copy, nullable) NSString *service; -/** Labels associated with this Cloud Function. */ -@property(nonatomic, strong, nullable) GTLRCloudFunctions_Function_Labels *labels; +@end -/** - * A user-defined name of the function. Function names must be unique globally - * and match pattern `projects/ * /locations/ * /functions/ *` - */ -@property(nonatomic, copy, nullable) NSString *name; /** - * Output only. Reserved for future use. - * - * Uses NSNumber of boolValue. + * 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. */ -@property(nonatomic, strong, nullable) NSNumber *satisfiesPzs; +@interface GTLRCloudFunctions_AuditLogConfig : GTLRObject /** - * Describes the Service being deployed. Currently deploys services to Cloud - * Run (fully managed). + * Specifies the identities that do not cause logging for this type of + * permission. Follows the same format of Binding.members. */ -@property(nonatomic, strong, nullable) GTLRCloudFunctions_ServiceConfig *serviceConfig; +@property(nonatomic, strong, nullable) NSArray *exemptedMembers; /** - * Output only. State of the function. + * The log type that this config enables. * * Likely values: - * @arg @c kGTLRCloudFunctions_Function_State_Active Function has been - * successfully deployed and is serving. (Value: "ACTIVE") - * @arg @c kGTLRCloudFunctions_Function_State_Deleting Function is being - * deleted. (Value: "DELETING") - * @arg @c kGTLRCloudFunctions_Function_State_Deploying Function is being - * created or updated. (Value: "DEPLOYING") - * @arg @c kGTLRCloudFunctions_Function_State_Failed Function deployment - * failed and the function is not serving. (Value: "FAILED") - * @arg @c kGTLRCloudFunctions_Function_State_StateUnspecified Not specified. - * Invalid state. (Value: "STATE_UNSPECIFIED") - * @arg @c kGTLRCloudFunctions_Function_State_Unknown Function deployment - * failed and the function serving state is undefined. The function - * should be updated or deleted to move it out of this state. (Value: - * "UNKNOWN") + * @arg @c kGTLRCloudFunctions_AuditLogConfig_LogType_AdminRead Admin reads. + * Example: CloudIAM getIamPolicy (Value: "ADMIN_READ") + * @arg @c kGTLRCloudFunctions_AuditLogConfig_LogType_DataRead Data reads. + * Example: CloudSQL Users list (Value: "DATA_READ") + * @arg @c kGTLRCloudFunctions_AuditLogConfig_LogType_DataWrite Data writes. + * Example: CloudSQL Users create (Value: "DATA_WRITE") + * @arg @c kGTLRCloudFunctions_AuditLogConfig_LogType_LogTypeUnspecified + * Default case. Should never be this. (Value: "LOG_TYPE_UNSPECIFIED") */ -@property(nonatomic, copy, nullable) NSString *state; - -/** Output only. State Messages for this Cloud Function. */ -@property(nonatomic, strong, nullable) NSArray *stateMessages; - -/** Output only. The last update timestamp of a Cloud Function. */ -@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; - -/** Output only. UpgradeInfo for this Cloud Function */ -@property(nonatomic, strong, nullable) GTLRCloudFunctions_UpgradeInfo *upgradeInfo; - -/** Output only. The deployed url for the function. */ -@property(nonatomic, copy, nullable) NSString *url; +@property(nonatomic, copy, nullable) NSString *logType; @end /** - * Labels associated with this Cloud Function. - * - * @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. + * Security patches are applied automatically to the runtime without requiring + * the function to be redeployed. */ -@interface GTLRCloudFunctions_Function_Labels : GTLRObject +@interface GTLRCloudFunctions_AutomaticUpdatePolicy : GTLRObject @end /** - * Request of `GenerateDownloadUrl` method. + * Associates `members`, or principals, with a `role`. */ -@interface GTLRCloudFunctions_GenerateDownloadUrlRequest : GTLRObject -@end +@interface GTLRCloudFunctions_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) GTLRCloudFunctions_Expr *condition; /** - * Response of `GenerateDownloadUrl` method. + * 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`. */ -@interface GTLRCloudFunctions_GenerateDownloadUrlResponse : GTLRObject +@property(nonatomic, strong, nullable) NSArray *members; /** - * The generated Google Cloud Storage signed URL that should be used for - * function source code download. + * 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 *downloadUrl; +@property(nonatomic, copy, nullable) NSString *role; @end /** - * Request of `GenerateSourceUploadUrl` method. + * Describes the Build step of the function that builds a container from the + * given source. */ -@interface GTLRCloudFunctions_GenerateUploadUrlRequest : GTLRObject +@interface GTLRCloudFunctions_BuildConfig : GTLRObject + +@property(nonatomic, strong, nullable) GTLRCloudFunctions_AutomaticUpdatePolicy *automaticUpdatePolicy; /** - * The function environment the generated upload url will be used for. The - * upload url for 2nd Gen functions can also be used for 1st gen functions, but - * not vice versa. If not specified, 2nd generation-style upload URLs are - * generated. + * Output only. The Cloud Build name of the latest successful deployment of the + * function. + */ +@property(nonatomic, copy, nullable) NSString *build; + +/** + * Docker Registry to use for this deployment. This configuration is only + * applicable to 1st Gen functions, 2nd Gen functions can only use Artifact + * Registry. If unspecified, it defaults to `ARTIFACT_REGISTRY`. If + * `docker_repository` field is specified, this field should either be left + * unspecified or set to `ARTIFACT_REGISTRY`. * * Likely values: - * @arg @c kGTLRCloudFunctions_GenerateUploadUrlRequest_Environment_EnvironmentUnspecified - * Unspecified (Value: "ENVIRONMENT_UNSPECIFIED") - * @arg @c kGTLRCloudFunctions_GenerateUploadUrlRequest_Environment_Gen1 Gen - * 1 (Value: "GEN_1") - * @arg @c kGTLRCloudFunctions_GenerateUploadUrlRequest_Environment_Gen2 Gen - * 2 (Value: "GEN_2") + * @arg @c kGTLRCloudFunctions_BuildConfig_DockerRegistry_ArtifactRegistry + * Docker images will be stored in regional Artifact Registry + * repositories. By default, GCF will create and use repositories named + * `gcf-artifacts` in every region in which a function is deployed. But + * the repository to use can also be specified by the user using the + * `docker_repository` field. (Value: "ARTIFACT_REGISTRY") + * @arg @c kGTLRCloudFunctions_BuildConfig_DockerRegistry_ContainerRegistry + * Docker images will be stored in multi-regional Container Registry + * repositories named `gcf`. (Value: "CONTAINER_REGISTRY") + * @arg @c kGTLRCloudFunctions_BuildConfig_DockerRegistry_DockerRegistryUnspecified + * Unspecified. (Value: "DOCKER_REGISTRY_UNSPECIFIED") */ -@property(nonatomic, copy, nullable) NSString *environment; +@property(nonatomic, copy, nullable) NSString *dockerRegistry; /** - * Resource name of a KMS crypto key (managed by the user) used to - * encrypt/decrypt function source code objects in intermediate Cloud Storage - * buckets. When you generate an upload url and upload your source code, it - * gets copied to an intermediate Cloud Storage bucket. The source code is then - * copied to a versioned directory in the sources bucket in the consumer - * project during the function deployment. It must match the pattern - * `projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}`. - * The Google Cloud Functions service account - * (service-{project_number}\@gcf-admin-robot.iam.gserviceaccount.com) must be - * granted the role 'Cloud KMS CryptoKey Encrypter/Decrypter - * (roles/cloudkms.cryptoKeyEncrypterDecrypter)' on the - * Key/KeyRing/Project/Organization (least access preferred). + * Repository in Artifact Registry to which the function docker image will be + * pushed after it is built by Cloud Build. If specified by user, it is created + * and managed by user with a customer managed encryption key. Otherwise, GCF + * will create and use a repository named 'gcf-artifacts' for every deployed + * region. It must match the pattern + * `projects/{project}/locations/{location}/repositories/{repository}`. + * Cross-project repositories are not supported. Cross-location repositories + * are not supported. Repository format must be 'DOCKER'. */ -@property(nonatomic, copy, nullable) NSString *kmsKeyName; +@property(nonatomic, copy, nullable) NSString *dockerRepository; -@end +/** + * The name of the function (as defined in source code) that will be executed. + * Defaults to the resource name suffix, if not specified. For backward + * compatibility, if function with given name is not found, then the system + * will try to use function named "function". For Node.js this is name of a + * function exported by the module specified in `source_location`. + */ +@property(nonatomic, copy, nullable) NSString *entryPoint; + +/** User-provided build-time environment variables for the function */ +@property(nonatomic, strong, nullable) GTLRCloudFunctions_BuildConfig_EnvironmentVariables *environmentVariables; + +@property(nonatomic, strong, nullable) GTLRCloudFunctions_OnDeployUpdatePolicy *onDeployUpdatePolicy; +/** + * The runtime in which to run the function. Required when deploying a new + * function, optional when updating an existing function. For a complete list + * of possible choices, see the [`gcloud` command + * reference](https://cloud.google.com/sdk/gcloud/reference/functions/deploy#--runtime). + */ +@property(nonatomic, copy, nullable) NSString *runtime; /** - * Response of `GenerateSourceUploadUrl` method. + * Service account to be used for building the container. The format of this + * field is `projects/{projectId}/serviceAccounts/{serviceAccountEmail}`. */ -@interface GTLRCloudFunctions_GenerateUploadUrlResponse : GTLRObject +@property(nonatomic, copy, nullable) NSString *serviceAccount; + +/** The location of the function source code. */ +@property(nonatomic, strong, nullable) GTLRCloudFunctions_Source *source; + +/** Output only. A permanent fixed identifier for source. */ +@property(nonatomic, strong, nullable) GTLRCloudFunctions_SourceProvenance *sourceProvenance; /** - * The location of the source code in the upload bucket. Once the archive is - * uploaded using the `upload_url` use this field to set the - * `function.build_config.source.storage_source` during CreateFunction and - * UpdateFunction. Generation defaults to 0, as Cloud Storage provides a new - * generation only upon uploading a new object or version of an object. + * An identifier for Firebase function sources. Disclaimer: This field is only + * supported for Firebase function deployments. */ -@property(nonatomic, strong, nullable) GTLRCloudFunctions_StorageSource *storageSource; +@property(nonatomic, copy, nullable) NSString *sourceToken; /** - * The generated Google Cloud Storage signed URL that should be used for a - * function source code upload. The uploaded file should be a zip archive which - * contains a function. + * Name of the Cloud Build Custom Worker Pool that should be used to build the + * function. The format of this field is + * `projects/{project}/locations/{region}/workerPools/{workerPool}` where + * {project} and {region} are the project id and region respectively where the + * worker pool is defined and {workerPool} is the short name of the worker + * pool. If the project id is not the same as the function, then the Cloud + * Functions Service Agent (service-\@gcf-admin-robot.iam.gserviceaccount.com) + * must be granted the role Cloud Build Custom Workers Builder + * (roles/cloudbuild.customworkers.builder) in the project. */ -@property(nonatomic, copy, nullable) NSString *uploadUrl; +@property(nonatomic, copy, nullable) NSString *workerPool; @end /** - * Extra GCF specific location information. + * User-provided build-time environment variables for the function + * + * @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 GTLRCloudFunctions_GoogleCloudFunctionsV2alphaLocationMetadata : GTLRObject - -/** The Cloud Function environments this location supports. */ -@property(nonatomic, strong, nullable) NSArray *environments; - +@interface GTLRCloudFunctions_BuildConfig_EnvironmentVariables : GTLRObject @end /** - * Represents the metadata of the long-running operation. + * Request for the `CommitFunctionUpgrade` method. */ -@interface GTLRCloudFunctions_GoogleCloudFunctionsV2alphaOperationMetadata : GTLRObject +@interface GTLRCloudFunctions_CommitFunctionUpgradeRequest : GTLRObject +@end -/** API version used to start the operation. */ -@property(nonatomic, copy, nullable) NSString *apiVersion; -/** The build name of the function for create and update operations. */ -@property(nonatomic, copy, nullable) NSString *buildName; +/** + * Represents a whole or partial calendar date, such as a birthday. The time of + * day and time zone are either specified elsewhere or are insignificant. The + * date is relative to the Gregorian Calendar. This can represent one of the + * following: * A full date, with non-zero year, month, and day values. * A + * month and day, with a zero year (for example, an anniversary). * A year on + * its own, with a zero month and a zero day. * A year and month, with a zero + * day (for example, a credit card expiration date). Related types: * + * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp + */ +@interface GTLRCloudFunctions_Date : GTLRObject /** - * Identifies whether the user has requested cancellation of the operation. - * Operations that have successfully been cancelled have - * google.longrunning.Operation.error value with a google.rpc.Status.code of 1, - * corresponding to `Code.CANCELLED`. + * Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 + * to specify a year by itself or a year and month where the day isn't + * significant. * - * Uses NSNumber of boolValue. + * Uses NSNumber of intValue. */ -@property(nonatomic, strong, nullable) NSNumber *cancelRequested; - -/** The time the operation was created. */ -@property(nonatomic, strong, nullable) GTLRDateTime *createTime; +@property(nonatomic, strong, nullable) NSNumber *day; -/** The time the operation finished running. */ -@property(nonatomic, strong, nullable) GTLRDateTime *endTime; +/** + * Month of a year. Must be from 1 to 12, or 0 to specify a year without a + * month and day. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *month; /** - * The operation type. + * Year of the date. Must be from 1 to 9999, or 0 to specify a date without a + * year. * - * Likely values: - * @arg @c kGTLRCloudFunctions_GoogleCloudFunctionsV2alphaOperationMetadata_OperationType_AbortFunctionUpgrade - * AbortFunctionUpgrade (Value: "ABORT_FUNCTION_UPGRADE") - * @arg @c kGTLRCloudFunctions_GoogleCloudFunctionsV2alphaOperationMetadata_OperationType_CommitFunctionUpgrade - * CommitFunctionUpgrade (Value: "COMMIT_FUNCTION_UPGRADE") - * @arg @c kGTLRCloudFunctions_GoogleCloudFunctionsV2alphaOperationMetadata_OperationType_CreateFunction - * CreateFunction (Value: "CREATE_FUNCTION") - * @arg @c kGTLRCloudFunctions_GoogleCloudFunctionsV2alphaOperationMetadata_OperationType_DeleteFunction - * DeleteFunction (Value: "DELETE_FUNCTION") - * @arg @c kGTLRCloudFunctions_GoogleCloudFunctionsV2alphaOperationMetadata_OperationType_OperationtypeUnspecified - * Unspecified (Value: "OPERATIONTYPE_UNSPECIFIED") - * @arg @c kGTLRCloudFunctions_GoogleCloudFunctionsV2alphaOperationMetadata_OperationType_RedirectFunctionUpgradeTraffic - * RedirectFunctionUpgradeTraffic (Value: - * "REDIRECT_FUNCTION_UPGRADE_TRAFFIC") - * @arg @c kGTLRCloudFunctions_GoogleCloudFunctionsV2alphaOperationMetadata_OperationType_RollbackFunctionUpgradeTraffic - * RollbackFunctionUpgradeTraffic (Value: - * "ROLLBACK_FUNCTION_UPGRADE_TRAFFIC") - * @arg @c kGTLRCloudFunctions_GoogleCloudFunctionsV2alphaOperationMetadata_OperationType_SetupFunctionUpgradeConfig - * SetupFunctionUpgradeConfig (Value: "SETUP_FUNCTION_UPGRADE_CONFIG") - * @arg @c kGTLRCloudFunctions_GoogleCloudFunctionsV2alphaOperationMetadata_OperationType_UpdateFunction - * UpdateFunction (Value: "UPDATE_FUNCTION") + * Uses NSNumber of intValue. */ -@property(nonatomic, copy, nullable) NSString *operationType; +@property(nonatomic, strong, nullable) NSNumber *year; + +@end -/** The original request that started the operation. */ -@property(nonatomic, strong, nullable) GTLRCloudFunctions_GoogleCloudFunctionsV2alphaOperationMetadata_RequestResource *requestResource; /** - * An identifier for Firebase function sources. Disclaimer: This field is only - * supported for Firebase function deployments. + * Filters events based on exact matches on the CloudEvents attributes. */ -@property(nonatomic, copy, nullable) NSString *sourceToken; - -/** Mechanism for reporting in-progress stages */ -@property(nonatomic, strong, nullable) NSArray *stages; +@interface GTLRCloudFunctions_EventFilter : GTLRObject -/** Human-readable status of the operation, if any. */ -@property(nonatomic, copy, nullable) NSString *statusDetail; +/** Required. The name of a CloudEvents attribute. */ +@property(nonatomic, copy, nullable) NSString *attribute; -/** Server-defined resource path for the target of the operation. */ -@property(nonatomic, copy, nullable) NSString *target; +/** + * Optional. The operator used for matching the events with the value of the + * filter. If not specified, only events that have an exact key-value pair + * specified in the filter are matched. The only allowed value is + * `match-path-pattern`. + * + * Remapped to 'operatorProperty' to avoid language reserved word 'operator'. + */ +@property(nonatomic, copy, nullable) NSString *operatorProperty; -/** Name of the verb executed by the operation. */ -@property(nonatomic, copy, nullable) NSString *verb; +/** Required. The value for the attribute. */ +@property(nonatomic, copy, nullable) NSString *value; @end /** - * The original request that started the operation. - * - * @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. + * Describes EventTrigger, used to request events to be sent from another + * service. */ -@interface GTLRCloudFunctions_GoogleCloudFunctionsV2alphaOperationMetadata_RequestResource : GTLRObject -@end +@interface GTLRCloudFunctions_EventTrigger : GTLRObject + +/** + * Optional. The name of the channel associated with the trigger in + * `projects/{project}/locations/{location}/channels/{channel}` format. You + * must provide a channel to receive events from Eventarc SaaS partners. + */ +@property(nonatomic, copy, nullable) NSString *channel; +/** Criteria used to filter events. */ +@property(nonatomic, strong, nullable) NSArray *eventFilters; /** - * Each Stage of the deployment process + * Required. The type of event to observe. For example: + * `google.cloud.audit.log.v1.written` or + * `google.cloud.pubsub.topic.v1.messagePublished`. */ -@interface GTLRCloudFunctions_GoogleCloudFunctionsV2alphaStage : GTLRObject +@property(nonatomic, copy, nullable) NSString *eventType; -/** Message describing the Stage */ -@property(nonatomic, copy, nullable) NSString *message; +/** + * Optional. The name of a Pub/Sub topic in the same project that will be used + * as the transport topic for the event delivery. Format: + * `projects/{project}/topics/{topic}`. This is only valid for events of type + * `google.cloud.pubsub.topic.v1.messagePublished`. The topic provided here + * will not be deleted at function deletion. + */ +@property(nonatomic, copy, nullable) NSString *pubsubTopic; /** - * Name of the Stage. This will be unique for each Stage. + * Optional. If unset, then defaults to ignoring failures (i.e. not retrying + * them). * * Likely values: - * @arg @c kGTLRCloudFunctions_GoogleCloudFunctionsV2alphaStage_Name_ArtifactRegistry - * Artifact Regsitry Stage (Value: "ARTIFACT_REGISTRY") - * @arg @c kGTLRCloudFunctions_GoogleCloudFunctionsV2alphaStage_Name_Build - * Build Stage (Value: "BUILD") - * @arg @c kGTLRCloudFunctions_GoogleCloudFunctionsV2alphaStage_Name_NameUnspecified - * Not specified. Invalid name. (Value: "NAME_UNSPECIFIED") - * @arg @c kGTLRCloudFunctions_GoogleCloudFunctionsV2alphaStage_Name_Service - * Service Stage (Value: "SERVICE") - * @arg @c kGTLRCloudFunctions_GoogleCloudFunctionsV2alphaStage_Name_ServiceRollback - * Service Rollback Stage (Value: "SERVICE_ROLLBACK") - * @arg @c kGTLRCloudFunctions_GoogleCloudFunctionsV2alphaStage_Name_Trigger - * Trigger Stage (Value: "TRIGGER") - * @arg @c kGTLRCloudFunctions_GoogleCloudFunctionsV2alphaStage_Name_TriggerRollback - * Trigger Rollback Stage (Value: "TRIGGER_ROLLBACK") + * @arg @c kGTLRCloudFunctions_EventTrigger_RetryPolicy_RetryPolicyDoNotRetry + * Do not retry. (Value: "RETRY_POLICY_DO_NOT_RETRY") + * @arg @c kGTLRCloudFunctions_EventTrigger_RetryPolicy_RetryPolicyRetry + * Retry on any failure, retry up to 7 days with an exponential backoff + * (capped at 10 seconds). (Value: "RETRY_POLICY_RETRY") + * @arg @c kGTLRCloudFunctions_EventTrigger_RetryPolicy_RetryPolicyUnspecified + * Not specified. (Value: "RETRY_POLICY_UNSPECIFIED") */ -@property(nonatomic, copy, nullable) NSString *name; +@property(nonatomic, copy, nullable) NSString *retryPolicy; -/** Resource of the Stage */ -@property(nonatomic, copy, nullable) NSString *resource; +/** + * Optional. The hostname of the service that 1st Gen function should be + * observed. If no string is provided, the default service implementing the API + * will be used. For example, `storage.googleapis.com` is the default for all + * event types in the `google.storage` namespace. The field is only applicable + * to 1st Gen functions. + */ +@property(nonatomic, copy, nullable) NSString *service; -/** Link to the current Stage resource */ -@property(nonatomic, copy, nullable) NSString *resourceUri; +/** + * Optional. The email of the trigger's service account. The service account + * must have permission to invoke Cloud Run services, the permission is + * `run.routes.invoke`. If empty, defaults to the Compute Engine default + * service account: `{project_number}-compute\@developer.gserviceaccount.com`. + */ +@property(nonatomic, copy, nullable) NSString *serviceAccountEmail; /** - * Current state of the Stage - * - * Likely values: - * @arg @c kGTLRCloudFunctions_GoogleCloudFunctionsV2alphaStage_State_Complete - * Stage has completed. (Value: "COMPLETE") - * @arg @c kGTLRCloudFunctions_GoogleCloudFunctionsV2alphaStage_State_InProgress - * Stage is in progress. (Value: "IN_PROGRESS") - * @arg @c kGTLRCloudFunctions_GoogleCloudFunctionsV2alphaStage_State_NotStarted - * Stage has not started. (Value: "NOT_STARTED") - * @arg @c kGTLRCloudFunctions_GoogleCloudFunctionsV2alphaStage_State_StateUnspecified - * Not specified. Invalid state. (Value: "STATE_UNSPECIFIED") + * Output only. The resource name of the Eventarc trigger. The format of this + * field is `projects/{project}/locations/{region}/triggers/{trigger}`. */ -@property(nonatomic, copy, nullable) NSString *state; +@property(nonatomic, copy, nullable) NSString *trigger; -/** State messages from the current Stage. */ -@property(nonatomic, strong, nullable) NSArray *stateMessages; +/** + * The region that the trigger will be in. The trigger will only receive events + * originating in this region. It can be the same region as the function, a + * different region or multi-region, or the global region. If not provided, + * defaults to the same region as the function. + */ +@property(nonatomic, copy, nullable) NSString *triggerRegion; @end /** - * Informational messages about the state of the Cloud Function or Operation. + * 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 GTLRCloudFunctions_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. */ -@interface GTLRCloudFunctions_GoogleCloudFunctionsV2alphaStateMessage : GTLRObject - -/** The message. */ -@property(nonatomic, copy, nullable) NSString *message; +@property(nonatomic, copy, nullable) NSString *expression; /** - * Severity of the state message. - * - * Likely values: - * @arg @c kGTLRCloudFunctions_GoogleCloudFunctionsV2alphaStateMessage_Severity_Error - * ERROR-level severity. (Value: "ERROR") - * @arg @c kGTLRCloudFunctions_GoogleCloudFunctionsV2alphaStateMessage_Severity_Info - * INFO-level severity. (Value: "INFO") - * @arg @c kGTLRCloudFunctions_GoogleCloudFunctionsV2alphaStateMessage_Severity_SeverityUnspecified - * Not specified. Invalid severity. (Value: "SEVERITY_UNSPECIFIED") - * @arg @c kGTLRCloudFunctions_GoogleCloudFunctionsV2alphaStateMessage_Severity_Warning - * WARNING-level severity. (Value: "WARNING") + * 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 *severity; +@property(nonatomic, copy, nullable) NSString *location; -/** One-word CamelCase type of the state message. */ -@property(nonatomic, copy, nullable) NSString *type; +/** + * 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 /** - * Extra GCF specific location information. + * Describes a Cloud Function that contains user computation executed in + * response to an event. It encapsulates function and trigger configurations. */ -@interface GTLRCloudFunctions_GoogleCloudFunctionsV2betaLocationMetadata : GTLRObject - -/** The Cloud Function environments this location supports. */ -@property(nonatomic, strong, nullable) NSArray *environments; +@interface GTLRCloudFunctions_Function : GTLRObject -@end +/** + * Describes the Build step of the function that builds a container from the + * given source. + */ +@property(nonatomic, strong, nullable) GTLRCloudFunctions_BuildConfig *buildConfig; +/** + * Output only. The create timestamp of a Cloud Function. This is only + * applicable to 2nd Gen functions. + */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; /** - * Represents the metadata of the long-running operation. + * User-provided description of a function. + * + * Remapped to 'descriptionProperty' to avoid NSObject's 'description'. */ -@interface GTLRCloudFunctions_GoogleCloudFunctionsV2betaOperationMetadata : GTLRObject +@property(nonatomic, copy, nullable) NSString *descriptionProperty; -/** API version used to start the operation. */ -@property(nonatomic, copy, nullable) NSString *apiVersion; +/** + * Describe whether the function is 1st Gen or 2nd Gen. + * + * Likely values: + * @arg @c kGTLRCloudFunctions_Function_Environment_EnvironmentUnspecified + * Unspecified (Value: "ENVIRONMENT_UNSPECIFIED") + * @arg @c kGTLRCloudFunctions_Function_Environment_Gen1 Gen 1 (Value: + * "GEN_1") + * @arg @c kGTLRCloudFunctions_Function_Environment_Gen2 Gen 2 (Value: + * "GEN_2") + */ +@property(nonatomic, copy, nullable) NSString *environment; -/** The build name of the function for create and update operations. */ -@property(nonatomic, copy, nullable) NSString *buildName; +/** + * An Eventarc trigger managed by Google Cloud Functions that fires events in + * response to a condition in another service. + */ +@property(nonatomic, strong, nullable) GTLRCloudFunctions_EventTrigger *eventTrigger; /** - * Identifies whether the user has requested cancellation of the operation. - * Operations that have successfully been cancelled have - * google.longrunning.Operation.error value with a google.rpc.Status.code of 1, - * corresponding to `Code.CANCELLED`. - * - * Uses NSNumber of boolValue. + * Resource name of a KMS crypto key (managed by the user) used to + * encrypt/decrypt function resources. It must match the pattern + * `projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}`. */ -@property(nonatomic, strong, nullable) NSNumber *cancelRequested; +@property(nonatomic, copy, nullable) NSString *kmsKeyName; -/** The time the operation was created. */ -@property(nonatomic, strong, nullable) GTLRDateTime *createTime; +/** Labels associated with this Cloud Function. */ +@property(nonatomic, strong, nullable) GTLRCloudFunctions_Function_Labels *labels; -/** The time the operation finished running. */ -@property(nonatomic, strong, nullable) GTLRDateTime *endTime; +/** + * A user-defined name of the function. Function names must be unique globally + * and match pattern `projects/ * /locations/ * /functions/ *` + */ +@property(nonatomic, copy, nullable) NSString *name; /** - * The operation type. + * Output only. Reserved for future use. * - * Likely values: - * @arg @c kGTLRCloudFunctions_GoogleCloudFunctionsV2betaOperationMetadata_OperationType_AbortFunctionUpgrade - * AbortFunctionUpgrade (Value: "ABORT_FUNCTION_UPGRADE") - * @arg @c kGTLRCloudFunctions_GoogleCloudFunctionsV2betaOperationMetadata_OperationType_CommitFunctionUpgrade - * CommitFunctionUpgrade (Value: "COMMIT_FUNCTION_UPGRADE") - * @arg @c kGTLRCloudFunctions_GoogleCloudFunctionsV2betaOperationMetadata_OperationType_CreateFunction - * CreateFunction (Value: "CREATE_FUNCTION") - * @arg @c kGTLRCloudFunctions_GoogleCloudFunctionsV2betaOperationMetadata_OperationType_DeleteFunction - * DeleteFunction (Value: "DELETE_FUNCTION") - * @arg @c kGTLRCloudFunctions_GoogleCloudFunctionsV2betaOperationMetadata_OperationType_OperationtypeUnspecified - * Unspecified (Value: "OPERATIONTYPE_UNSPECIFIED") - * @arg @c kGTLRCloudFunctions_GoogleCloudFunctionsV2betaOperationMetadata_OperationType_RedirectFunctionUpgradeTraffic - * RedirectFunctionUpgradeTraffic (Value: - * "REDIRECT_FUNCTION_UPGRADE_TRAFFIC") - * @arg @c kGTLRCloudFunctions_GoogleCloudFunctionsV2betaOperationMetadata_OperationType_RollbackFunctionUpgradeTraffic - * RollbackFunctionUpgradeTraffic (Value: - * "ROLLBACK_FUNCTION_UPGRADE_TRAFFIC") - * @arg @c kGTLRCloudFunctions_GoogleCloudFunctionsV2betaOperationMetadata_OperationType_SetupFunctionUpgradeConfig - * SetupFunctionUpgradeConfig (Value: "SETUP_FUNCTION_UPGRADE_CONFIG") - * @arg @c kGTLRCloudFunctions_GoogleCloudFunctionsV2betaOperationMetadata_OperationType_UpdateFunction - * UpdateFunction (Value: "UPDATE_FUNCTION") + * Uses NSNumber of boolValue. */ -@property(nonatomic, copy, nullable) NSString *operationType; +@property(nonatomic, strong, nullable) NSNumber *satisfiesPzs; -/** The original request that started the operation. */ -@property(nonatomic, strong, nullable) GTLRCloudFunctions_GoogleCloudFunctionsV2betaOperationMetadata_RequestResource *requestResource; +/** + * Describes the Service being deployed. Currently deploys services to Cloud + * Run (fully managed). + */ +@property(nonatomic, strong, nullable) GTLRCloudFunctions_ServiceConfig *serviceConfig; /** - * An identifier for Firebase function sources. Disclaimer: This field is only - * supported for Firebase function deployments. + * Output only. State of the function. + * + * Likely values: + * @arg @c kGTLRCloudFunctions_Function_State_Active Function has been + * successfully deployed and is serving. (Value: "ACTIVE") + * @arg @c kGTLRCloudFunctions_Function_State_Deleting Function is being + * deleted. (Value: "DELETING") + * @arg @c kGTLRCloudFunctions_Function_State_Deploying Function is being + * created or updated. (Value: "DEPLOYING") + * @arg @c kGTLRCloudFunctions_Function_State_Failed Function deployment + * failed and the function is not serving. (Value: "FAILED") + * @arg @c kGTLRCloudFunctions_Function_State_StateUnspecified Not specified. + * Invalid state. (Value: "STATE_UNSPECIFIED") + * @arg @c kGTLRCloudFunctions_Function_State_Unknown Function deployment + * failed and the function serving state is undefined. The function + * should be updated or deleted to move it out of this state. (Value: + * "UNKNOWN") */ -@property(nonatomic, copy, nullable) NSString *sourceToken; +@property(nonatomic, copy, nullable) NSString *state; -/** Mechanism for reporting in-progress stages */ -@property(nonatomic, strong, nullable) NSArray *stages; +/** Output only. State Messages for this Cloud Function. */ +@property(nonatomic, strong, nullable) NSArray *stateMessages; -/** Human-readable status of the operation, if any. */ -@property(nonatomic, copy, nullable) NSString *statusDetail; +/** Output only. The last update timestamp of a Cloud Function. */ +@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; -/** Server-defined resource path for the target of the operation. */ -@property(nonatomic, copy, nullable) NSString *target; +/** Output only. UpgradeInfo for this Cloud Function */ +@property(nonatomic, strong, nullable) GTLRCloudFunctions_UpgradeInfo *upgradeInfo; -/** Name of the verb executed by the operation. */ -@property(nonatomic, copy, nullable) NSString *verb; +/** Output only. The deployed url for the function. */ +@property(nonatomic, copy, nullable) NSString *url; @end /** - * The original request that started the operation. + * Labels associated with this Cloud Function. * - * @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. + * @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 GTLRCloudFunctions_GoogleCloudFunctionsV2betaOperationMetadata_RequestResource : GTLRObject +@interface GTLRCloudFunctions_Function_Labels : GTLRObject @end /** - * Each Stage of the deployment process + * Request of `GenerateDownloadUrl` method. */ -@interface GTLRCloudFunctions_GoogleCloudFunctionsV2betaStage : GTLRObject +@interface GTLRCloudFunctions_GenerateDownloadUrlRequest : GTLRObject +@end -/** Message describing the Stage */ -@property(nonatomic, copy, nullable) NSString *message; /** - * Name of the Stage. This will be unique for each Stage. - * - * Likely values: - * @arg @c kGTLRCloudFunctions_GoogleCloudFunctionsV2betaStage_Name_ArtifactRegistry - * Artifact Regsitry Stage (Value: "ARTIFACT_REGISTRY") - * @arg @c kGTLRCloudFunctions_GoogleCloudFunctionsV2betaStage_Name_Build - * Build Stage (Value: "BUILD") - * @arg @c kGTLRCloudFunctions_GoogleCloudFunctionsV2betaStage_Name_NameUnspecified - * Not specified. Invalid name. (Value: "NAME_UNSPECIFIED") - * @arg @c kGTLRCloudFunctions_GoogleCloudFunctionsV2betaStage_Name_Service - * Service Stage (Value: "SERVICE") - * @arg @c kGTLRCloudFunctions_GoogleCloudFunctionsV2betaStage_Name_ServiceRollback - * Service Rollback Stage (Value: "SERVICE_ROLLBACK") - * @arg @c kGTLRCloudFunctions_GoogleCloudFunctionsV2betaStage_Name_Trigger - * Trigger Stage (Value: "TRIGGER") - * @arg @c kGTLRCloudFunctions_GoogleCloudFunctionsV2betaStage_Name_TriggerRollback - * Trigger Rollback Stage (Value: "TRIGGER_ROLLBACK") + * Response of `GenerateDownloadUrl` method. */ -@property(nonatomic, copy, nullable) NSString *name; +@interface GTLRCloudFunctions_GenerateDownloadUrlResponse : GTLRObject -/** Resource of the Stage */ -@property(nonatomic, copy, nullable) NSString *resource; +/** + * The generated Google Cloud Storage signed URL that should be used for + * function source code download. + */ +@property(nonatomic, copy, nullable) NSString *downloadUrl; + +@end -/** Link to the current Stage resource */ -@property(nonatomic, copy, nullable) NSString *resourceUri; /** - * Current state of the Stage + * Request of `GenerateSourceUploadUrl` method. + */ +@interface GTLRCloudFunctions_GenerateUploadUrlRequest : GTLRObject + +/** + * The function environment the generated upload url will be used for. The + * upload url for 2nd Gen functions can also be used for 1st gen functions, but + * not vice versa. If not specified, 2nd generation-style upload URLs are + * generated. * * Likely values: - * @arg @c kGTLRCloudFunctions_GoogleCloudFunctionsV2betaStage_State_Complete - * Stage has completed. (Value: "COMPLETE") - * @arg @c kGTLRCloudFunctions_GoogleCloudFunctionsV2betaStage_State_InProgress - * Stage is in progress. (Value: "IN_PROGRESS") - * @arg @c kGTLRCloudFunctions_GoogleCloudFunctionsV2betaStage_State_NotStarted - * Stage has not started. (Value: "NOT_STARTED") - * @arg @c kGTLRCloudFunctions_GoogleCloudFunctionsV2betaStage_State_StateUnspecified - * Not specified. Invalid state. (Value: "STATE_UNSPECIFIED") + * @arg @c kGTLRCloudFunctions_GenerateUploadUrlRequest_Environment_EnvironmentUnspecified + * Unspecified (Value: "ENVIRONMENT_UNSPECIFIED") + * @arg @c kGTLRCloudFunctions_GenerateUploadUrlRequest_Environment_Gen1 Gen + * 1 (Value: "GEN_1") + * @arg @c kGTLRCloudFunctions_GenerateUploadUrlRequest_Environment_Gen2 Gen + * 2 (Value: "GEN_2") */ -@property(nonatomic, copy, nullable) NSString *state; +@property(nonatomic, copy, nullable) NSString *environment; -/** State messages from the current Stage. */ -@property(nonatomic, strong, nullable) NSArray *stateMessages; +/** + * Resource name of a KMS crypto key (managed by the user) used to + * encrypt/decrypt function source code objects in intermediate Cloud Storage + * buckets. When you generate an upload url and upload your source code, it + * gets copied to an intermediate Cloud Storage bucket. The source code is then + * copied to a versioned directory in the sources bucket in the consumer + * project during the function deployment. It must match the pattern + * `projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}`. + * The Google Cloud Functions service account + * (service-{project_number}\@gcf-admin-robot.iam.gserviceaccount.com) must be + * granted the role 'Cloud KMS CryptoKey Encrypter/Decrypter + * (roles/cloudkms.cryptoKeyEncrypterDecrypter)' on the + * Key/KeyRing/Project/Organization (least access preferred). + */ +@property(nonatomic, copy, nullable) NSString *kmsKeyName; @end /** - * Informational messages about the state of the Cloud Function or Operation. + * Response of `GenerateSourceUploadUrl` method. */ -@interface GTLRCloudFunctions_GoogleCloudFunctionsV2betaStateMessage : GTLRObject - -/** The message. */ -@property(nonatomic, copy, nullable) NSString *message; +@interface GTLRCloudFunctions_GenerateUploadUrlResponse : GTLRObject /** - * Severity of the state message. - * - * Likely values: - * @arg @c kGTLRCloudFunctions_GoogleCloudFunctionsV2betaStateMessage_Severity_Error - * ERROR-level severity. (Value: "ERROR") - * @arg @c kGTLRCloudFunctions_GoogleCloudFunctionsV2betaStateMessage_Severity_Info - * INFO-level severity. (Value: "INFO") - * @arg @c kGTLRCloudFunctions_GoogleCloudFunctionsV2betaStateMessage_Severity_SeverityUnspecified - * Not specified. Invalid severity. (Value: "SEVERITY_UNSPECIFIED") - * @arg @c kGTLRCloudFunctions_GoogleCloudFunctionsV2betaStateMessage_Severity_Warning - * WARNING-level severity. (Value: "WARNING") + * The location of the source code in the upload bucket. Once the archive is + * uploaded using the `upload_url` use this field to set the + * `function.build_config.source.storage_source` during CreateFunction and + * UpdateFunction. Generation defaults to 0, as Cloud Storage provides a new + * generation only upon uploading a new object or version of an object. */ -@property(nonatomic, copy, nullable) NSString *severity; +@property(nonatomic, strong, nullable) GTLRCloudFunctions_StorageSource *storageSource; -/** One-word CamelCase type of the state message. */ -@property(nonatomic, copy, nullable) NSString *type; +/** + * The generated Google Cloud Storage signed URL that should be used for a + * function source code upload. The uploaded file should be a zip archive which + * contains a function. + */ +@property(nonatomic, copy, nullable) NSString *uploadUrl; @end diff --git a/Sources/GeneratedServices/CloudHealthcare/GTLRCloudHealthcareQuery.m b/Sources/GeneratedServices/CloudHealthcare/GTLRCloudHealthcareQuery.m index 6de4da7f7..7ee24c0b3 100644 --- a/Sources/GeneratedServices/CloudHealthcare/GTLRCloudHealthcareQuery.m +++ b/Sources/GeneratedServices/CloudHealthcare/GTLRCloudHealthcareQuery.m @@ -1988,6 +1988,98 @@ + (instancetype)queryWithObject:(GTLRCloudHealthcare_ExportResourcesRequest *)ob @end +@implementation GTLRCloudHealthcareQuery_ProjectsLocationsDatasetsFhirStoresFhirBinaryCreate + +@dynamic parent; + ++ (instancetype)queryWithObject:(GTLRCloudHealthcare_HttpBody *)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}/fhir/Binary"; + GTLRCloudHealthcareQuery_ProjectsLocationsDatasetsFhirStoresFhirBinaryCreate *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.parent = parent; + query.expectedObjectClass = [GTLRCloudHealthcare_HttpBody class]; + query.loggingName = @"healthcare.projects.locations.datasets.fhirStores.fhir.Binary-create"; + return query; +} + +@end + +@implementation GTLRCloudHealthcareQuery_ProjectsLocationsDatasetsFhirStoresFhirBinaryRead + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRCloudHealthcareQuery_ProjectsLocationsDatasetsFhirStoresFhirBinaryRead *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRCloudHealthcare_HttpBody class]; + query.loggingName = @"healthcare.projects.locations.datasets.fhirStores.fhir.Binary-read"; + return query; +} + +@end + +@implementation GTLRCloudHealthcareQuery_ProjectsLocationsDatasetsFhirStoresFhirBinaryUpdate + +@dynamic name; + ++ (instancetype)queryWithObject:(GTLRCloudHealthcare_HttpBody *)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}"; + GTLRCloudHealthcareQuery_ProjectsLocationsDatasetsFhirStoresFhirBinaryUpdate *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"PUT" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.name = name; + query.expectedObjectClass = [GTLRCloudHealthcare_HttpBody class]; + query.loggingName = @"healthcare.projects.locations.datasets.fhirStores.fhir.Binary-update"; + return query; +} + +@end + +@implementation GTLRCloudHealthcareQuery_ProjectsLocationsDatasetsFhirStoresFhirBinaryVread + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRCloudHealthcareQuery_ProjectsLocationsDatasetsFhirStoresFhirBinaryVread *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRCloudHealthcare_HttpBody class]; + query.loggingName = @"healthcare.projects.locations.datasets.fhirStores.fhir.Binary-vread"; + return query; +} + +@end + @implementation GTLRCloudHealthcareQuery_ProjectsLocationsDatasetsFhirStoresFhirCapabilities @dynamic name; diff --git a/Sources/GeneratedServices/CloudHealthcare/Public/GoogleAPIClientForREST/GTLRCloudHealthcareObjects.h b/Sources/GeneratedServices/CloudHealthcare/Public/GoogleAPIClientForREST/GTLRCloudHealthcareObjects.h index 948180c51..51d93f82a 100644 --- a/Sources/GeneratedServices/CloudHealthcare/Public/GoogleAPIClientForREST/GTLRCloudHealthcareObjects.h +++ b/Sources/GeneratedServices/CloudHealthcare/Public/GoogleAPIClientForREST/GTLRCloudHealthcareObjects.h @@ -2191,7 +2191,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcare_Type_Primitive_Varies; @property(nonatomic, copy, nullable) NSString *name; /** - * Notification destination for new DICOM instances. Supplied by the client. + * Optional. Notification destination for new DICOM instances. Supplied by the + * client. */ @property(nonatomic, strong, nullable) GTLRCloudHealthcare_NotificationConfig *notificationConfig; @@ -2818,7 +2819,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcare_Type_Primitive_Varies; @interface GTLRCloudHealthcare_FhirNotificationConfig : GTLRObject /** - * The [Pub/Sub](https://cloud.google.com/pubsub/docs/) topic that + * Optional. The [Pub/Sub](https://cloud.google.com/pubsub/docs/) topic that * notifications of changes are published on. Supplied by the client. The * notification is a `PubsubMessage` with the following fields: * * `PubsubMessage.Data` contains the resource name. * `PubsubMessage.MessageId` @@ -2838,21 +2839,21 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcare_Type_Primitive_Varies; @property(nonatomic, copy, nullable) NSString *pubsubTopic; /** - * Whether to send full FHIR resource to this Pub/Sub topic. The default value - * is false. + * Optional. Whether to send full FHIR resource to this Pub/Sub topic. The + * default value is false. * * Uses NSNumber of boolValue. */ @property(nonatomic, strong, nullable) NSNumber *sendFullResource; /** - * Whether to send full FHIR resource to this Pub/Sub topic for deleting FHIR - * resource. The default value is false. Note that setting this to true does - * not guarantee that all previous resources will be sent in the format of full - * FHIR resource. When a resource change is too large or during heavy traffic, - * only the resource name will be sent. Clients should always check the - * "payloadType" label from a Pub/Sub message to determine whether it needs to - * fetch the full previous resource as a separate operation. + * Optional. Whether to send full FHIR resource to this Pub/Sub topic for + * deleting FHIR resource. The default value is false. Note that setting this + * to true does not guarantee that all previous resources will be sent in the + * format of full FHIR resource. When a resource change is too large or during + * heavy traffic, only the resource name will be sent. Clients should always + * check the "payloadType" label from a Pub/Sub message to determine whether it + * needs to fetch the full previous resource as a separate operation. * * Uses NSNumber of boolValue. */ @@ -2889,12 +2890,13 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcare_Type_Primitive_Varies; @property(nonatomic, copy, nullable) NSString *complexDataTypeReferenceParsing; /** - * If true, overrides the default search behavior for this FHIR store to - * `handling=strict` which returns an error for unrecognized search parameters. - * If false, uses the FHIR specification default `handling=lenient` which - * ignores unrecognized search parameters. The handling can always be changed - * from the default on an individual API call by setting the HTTP header - * `Prefer: handling=strict` or `Prefer: handling=lenient`. Defaults to false. + * Optional. If true, overrides the default search behavior for this FHIR store + * to `handling=strict` which returns an error for unrecognized search + * parameters. If false, uses the FHIR specification default `handling=lenient` + * which ignores unrecognized search parameters. The handling can always be + * changed from the default on an individual API call by setting the HTTP + * header `Prefer: handling=strict` or `Prefer: handling=lenient`. Defaults to + * false. * * Uses NSNumber of boolValue. */ @@ -2927,7 +2929,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcare_Type_Primitive_Varies; @property(nonatomic, strong, nullable) NSNumber *disableResourceVersioning; /** - * Whether this FHIR store has the [updateCreate + * Optional. Whether this FHIR store has the [updateCreate * capability](https://www.hl7.org/fhir/capabilitystatement-definitions.html#CapabilityStatement.rest.resource.updateCreate). * This determines if the client can use an Update operation to create a new * resource with a client-specified ID. If false, all IDs are server-assigned @@ -2969,19 +2971,19 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcare_Type_Primitive_Varies; @property(nonatomic, strong, nullable) GTLRCloudHealthcare_NotificationConfig *notificationConfig GTLR_DEPRECATED; /** - * Specifies where and whether to send notifications upon changes to a FHIR - * store. + * Optional. Specifies where and whether to send notifications upon changes to + * a FHIR store. */ @property(nonatomic, strong, nullable) NSArray *notificationConfigs; /** - * A list of streaming configs that configure the destinations of streaming - * export for every resource mutation in this FHIR store. Each store is allowed - * to have up to 10 streaming configs. After a new config is added, the next - * resource mutation is streamed to the new location in addition to the - * existing ones. When a location is removed from the list, the server stops - * streaming to that location. Before adding a new config, you must add the - * required + * Optional. A list of streaming configs that configure the destinations of + * streaming export for every resource mutation in this FHIR store. Each store + * is allowed to have up to 10 streaming configs. After a new config is added, + * the next resource mutation is streamed to the new location in addition to + * the existing ones. When a location is removed from the list, the server + * stops streaming to that location. Before adding a new config, you must add + * the required * [`bigquery.dataEditor`](https://cloud.google.com/bigquery/docs/access-control#bigquery.dataEditor) * role to your project's **Cloud Healthcare Service Agent** [service * account](https://cloud.google.com/iam/docs/service-accounts). Some lag @@ -3441,29 +3443,29 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcare_Type_Primitive_Varies; @interface GTLRCloudHealthcare_GoogleCloudHealthcareV1FhirBigQueryDestination : GTLRObject /** - * BigQuery URI to an existing dataset, up to 2000 characters long, in the - * format `bq://projectId.bqDatasetId`. + * Optional. BigQuery URI to an existing dataset, up to 2000 characters long, + * in the format `bq://projectId.bqDatasetId`. */ @property(nonatomic, copy, nullable) NSString *datasetUri; /** - * The default value is false. If this flag is `TRUE`, all tables are deleted - * from the dataset before the new exported tables are written. If the flag is - * not set and the destination dataset contains tables, the export call returns - * an error. If `write_disposition` is specified, this parameter is ignored. - * force=false is equivalent to write_disposition=WRITE_EMPTY and force=true is - * equivalent to write_disposition=WRITE_TRUNCATE. + * Optional. The default value is false. If this flag is `TRUE`, all tables are + * deleted from the dataset before the new exported tables are written. If the + * flag is not set and the destination dataset contains tables, the export call + * returns an error. If `write_disposition` is specified, this parameter is + * ignored. force=false is equivalent to write_disposition=WRITE_EMPTY and + * force=true is equivalent to write_disposition=WRITE_TRUNCATE. * * Uses NSNumber of boolValue. */ @property(nonatomic, strong, nullable) NSNumber *force; -/** The configuration for the exported BigQuery schema. */ +/** Optional. The configuration for the exported BigQuery schema. */ @property(nonatomic, strong, nullable) GTLRCloudHealthcare_SchemaConfig *schemaConfig; /** - * Determines if existing data in the destination dataset is overwritten, - * appended to, or not written if the tables contain data. If a + * Optional. Determines if existing data in the destination dataset is + * overwritten, appended to, or not written if the tables contain data. If a * write_disposition is specified, the `force` parameter is ignored. * * Likely values: @@ -3595,9 +3597,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcare_Type_Primitive_Varies; @interface GTLRCloudHealthcare_Hl7V2NotificationConfig : GTLRObject /** - * Restricts notifications sent for messages matching a filter. If this is - * empty, all messages are matched. The following syntax is available: * A - * string field value can be written as text inside quotation marks, for + * Optional. Restricts notifications sent for messages matching a filter. If + * this is empty, all messages are matched. The following syntax is available: + * * A string field value can be written as text inside quotation marks, for * example `"query text"`. The only valid relational operation for text fields * is equality (`=`), where text is searched within the field, rather than * having the field be equal to the text. For example, `"Comment = great"` @@ -3684,29 +3686,29 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcare_Type_Primitive_Varies; @property(nonatomic, copy, nullable) NSString *name; /** - * A list of notification configs. Each configuration uses a filter to - * determine whether to publish a message (both Ingest & Create) on the + * Optional. A list of notification configs. Each configuration uses a filter + * to determine whether to publish a message (both Ingest & Create) on the * corresponding notification destination. Only the message name is sent as * part of the notification. Supplied by the client. */ @property(nonatomic, strong, nullable) NSArray *notificationConfigs; /** - * The configuration for the parser. It determines how the server parses the - * messages. + * Optional. The configuration for the parser. It determines how the server + * parses the messages. */ @property(nonatomic, strong, nullable) GTLRCloudHealthcare_ParserConfig *parserConfig; /** - * Determines whether to reject duplicate messages. A duplicate message is a - * message with the same raw bytes as a message that has already been - * ingested/created in this HL7v2 store. The default value is false, meaning - * that the store accepts the duplicate messages and it also returns the same - * ACK message in the IngestMessageResponse as has been returned previously. - * Note that only one resource is created in the store. When this field is set - * to true, CreateMessage/IngestMessage requests with a duplicate message will - * be rejected by the store, and IngestMessageErrorDetail returns a NACK - * message upon rejection. + * Optional. Determines whether to reject duplicate messages. A duplicate + * message is a message with the same raw bytes as a message that has already + * been ingested/created in this HL7v2 store. The default value is false, + * meaning that the store accepts the duplicate messages and it also returns + * the same ACK message in the IngestMessageResponse as has been returned + * previously. Note that only one resource is created in the store. When this + * field is set to true, CreateMessage/IngestMessage requests with a duplicate + * message will be rejected by the store, and IngestMessageErrorDetail returns + * a NACK message upon rejection. * * Uses NSNumber of boolValue. */ @@ -4767,15 +4769,15 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcare_Type_Primitive_Varies; @interface GTLRCloudHealthcare_ParserConfig : GTLRObject /** - * Determines whether messages with no header are allowed. + * Optional. Determines whether messages with no header are allowed. * * Uses NSNumber of boolValue. */ @property(nonatomic, strong, nullable) NSNumber *allowNullHeader; /** - * Schemas used to parse messages in this store, if schematized parsing is - * desired. + * Optional. Schemas used to parse messages in this store, if schematized + * parsing is desired. */ @property(nonatomic, strong, nullable) GTLRCloudHealthcare_SchemaPackage *schema; @@ -5431,24 +5433,24 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcare_Type_Primitive_Varies; @interface GTLRCloudHealthcare_SchemaPackage : GTLRObject /** - * Flag to ignore all min_occurs restrictions in the schema. This means that - * incoming messages can omit any group, segment, field, component, or - * subcomponent. + * Optional. Flag to ignore all min_occurs restrictions in the schema. This + * means that incoming messages can omit any group, segment, field, component, + * or subcomponent. * * Uses NSNumber of boolValue. */ @property(nonatomic, strong, nullable) NSNumber *ignoreMinOccurs; /** - * Schema configs that are layered based on their VersionSources that match the - * incoming message. Schema configs present in higher indices override those in - * lower indices with the same message type and trigger event if their - * VersionSources all match an incoming message. + * Optional. Schema configs that are layered based on their VersionSources that + * match the incoming message. Schema configs present in higher indices + * override those in lower indices with the same message type and trigger event + * if their VersionSources all match an incoming message. */ @property(nonatomic, strong, nullable) NSArray *schemas; /** - * Determines how messages that fail to parse are handled. + * Optional. Determines how messages that fail to parse are handled. * * Likely values: * @arg @c kGTLRCloudHealthcare_SchemaPackage_SchematizedParsingType_HardFail @@ -5464,16 +5466,16 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcare_Type_Primitive_Varies; @property(nonatomic, copy, nullable) NSString *schematizedParsingType; /** - * Schema type definitions that are layered based on their VersionSources that - * match the incoming message. Type definitions present in higher indices - * override those in lower indices with the same type name if their - * VersionSources all match an incoming message. + * Optional. Schema type definitions that are layered based on their + * VersionSources that match the incoming message. Type definitions present in + * higher indices override those in lower indices with the same type name if + * their VersionSources all match an incoming message. */ @property(nonatomic, strong, nullable) NSArray *types; /** - * Determines how unexpected segments (segments not matched to the schema) are - * handled. + * Optional. Determines how unexpected segments (segments not matched to the + * schema) are handled. * * Likely values: * @arg @c kGTLRCloudHealthcare_SchemaPackage_UnexpectedSegmentHandling_Fail @@ -5799,21 +5801,21 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcare_Type_Primitive_Varies; @interface GTLRCloudHealthcare_StreamConfig : GTLRObject /** - * The destination BigQuery structure that contains both the dataset location - * and corresponding schema config. The output is organized in one table per - * resource type. The server reuses the existing tables (if any) that are named - * after the resource types. For example, "Patient", "Observation". When there - * is no existing table for a given resource type, the server attempts to - * create one. When a table schema doesn't align with the schema config, either - * because of existing incompatible schema or out of band incompatible - * modification, the server does not stream in new data. BigQuery imposes a 1 - * MB limit on streaming insert row size, therefore any resource mutation that - * generates more than 1 MB of BigQuery data is not streamed. One resolution in - * this case is to delete the incompatible table and let the server recreate - * one, though the newly created table only contains data after the table - * recreation. Results are written to BigQuery tables according to the - * parameters in BigQueryDestination.WriteDisposition. Different versions of - * the same resource are distinguishable by the meta.versionId and + * Optional. The destination BigQuery structure that contains both the dataset + * location and corresponding schema config. The output is organized in one + * table per resource type. The server reuses the existing tables (if any) that + * are named after the resource types. For example, "Patient", "Observation". + * When there is no existing table for a given resource type, the server + * attempts to create one. When a table schema doesn't align with the schema + * config, either because of existing incompatible schema or out of band + * incompatible modification, the server does not stream in new data. BigQuery + * imposes a 1 MB limit on streaming insert row size, therefore any resource + * mutation that generates more than 1 MB of BigQuery data is not streamed. One + * resolution in this case is to delete the incompatible table and let the + * server recreate one, though the newly created table only contains data after + * the table recreation. Results are written to BigQuery tables according to + * the parameters in BigQueryDestination.WriteDisposition. Different versions + * of the same resource are distinguishable by the meta.versionId and * meta.lastUpdated columns. The operation (CREATE/UPDATE/DELETE) that results * in the new version is recorded in the meta.tag. The tables contain all * historical resource versions since streaming was enabled. For query @@ -5852,10 +5854,10 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcare_Type_Primitive_Varies; @property(nonatomic, strong, nullable) GTLRCloudHealthcare_DeidentifiedStoreDestination *deidentifiedStoreDestination; /** - * Supply a FHIR resource type (such as "Patient" or "Observation"). See - * https://www.hl7.org/fhir/valueset-resource-types.html for a list of all FHIR - * resource types. The server treats an empty list as an intent to stream all - * the supported resource types in this FHIR store. + * Optional. Supply a FHIR resource type (such as "Patient" or "Observation"). + * See https://www.hl7.org/fhir/valueset-resource-types.html for a list of all + * FHIR resource types. The server treats an empty list as an intent to stream + * all the supported resource types in this FHIR store. */ @property(nonatomic, strong, nullable) NSArray *resourceTypes; diff --git a/Sources/GeneratedServices/CloudHealthcare/Public/GoogleAPIClientForREST/GTLRCloudHealthcareQuery.h b/Sources/GeneratedServices/CloudHealthcare/Public/GoogleAPIClientForREST/GTLRCloudHealthcareQuery.h index 0cabed0a1..cfcac5dd0 100644 --- a/Sources/GeneratedServices/CloudHealthcare/Public/GoogleAPIClientForREST/GTLRCloudHealthcareQuery.h +++ b/Sources/GeneratedServices/CloudHealthcare/Public/GoogleAPIClientForREST/GTLRCloudHealthcareQuery.h @@ -3907,6 +3907,274 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; @end +/** + * Creates a FHIR Binary resource. This method can be used to create a Binary + * resource either by using one of the accepted FHIR JSON content types, or as + * a raw data stream. If a resource is created with this method using the FHIR + * content type this method's behavior is the same as + * [`fhir.create`](https://cloud.google.com/healthcare-api/docs/reference/rest/v1/projects.locations.datasets.fhirStores.fhir/create). + * If a resource type other than Binary is used in the request it's treated in + * the same way as non-FHIR data (e.g., images, zip archives, pdf files, + * documents). When a non-FHIR content type is used in the request, a Binary + * resource will be generated, and the uploaded data will be stored in the + * `content` field (`DSTU2` and `STU3`), or the `data` field (`R4`). The Binary + * resource's `contentType` will be filled in using the value of the + * `Content-Type` header, and the `securityContext` field (not present in + * `DSTU2`) will be populated from the `X-Security-Context` header if it + * exists. At this time `securityContext` has no special behavior in the Cloud + * Healthcare API. Note: the limit on data ingested through this method is 2 + * GB. For best performance, use a non-FHIR data type instead of wrapping the + * data in a Binary resource. Some of the Healthcare API features, such as + * [exporting to + * BigQuery](https://cloud.google.com/healthcare-api/docs/how-tos/fhir-export-bigquery) + * or [Pub/Sub + * notifications](https://cloud.google.com/healthcare-api/docs/fhir-pubsub#behavior_when_a_fhir_resource_is_too_large_or_traffic_is_high) + * with full resource content, do not support Binary resources that are larger + * than 10 MB. In these cases the resource's `data` field will be omitted. + * Instead, the "http://hl7.org/fhir/StructureDefinition/data-absent-reason" + * extension will be present to indicate that including the data is + * `unsupported`. On success, an empty `201 Created` response is returned. The + * newly created resource's ID and version are returned in the Location header. + * Using `Prefer: representation=resource` is not allowed for this method. The + * definition of the Binary REST API can be found at + * https://hl7.org/fhir/binary.html#rest. + * + * Method: healthcare.projects.locations.datasets.fhirStores.fhir.Binary-create + * + * Authorization scope(s): + * @c kGTLRAuthScopeCloudHealthcareCloudHealthcare + * @c kGTLRAuthScopeCloudHealthcareCloudPlatform + */ +@interface GTLRCloudHealthcareQuery_ProjectsLocationsDatasetsFhirStoresFhirBinaryCreate : GTLRCloudHealthcareQuery + +/** Required. The name of the FHIR store this resource belongs to. */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRCloudHealthcare_HttpBody. + * + * Creates a FHIR Binary resource. This method can be used to create a Binary + * resource either by using one of the accepted FHIR JSON content types, or as + * a raw data stream. If a resource is created with this method using the FHIR + * content type this method's behavior is the same as + * [`fhir.create`](https://cloud.google.com/healthcare-api/docs/reference/rest/v1/projects.locations.datasets.fhirStores.fhir/create). + * If a resource type other than Binary is used in the request it's treated in + * the same way as non-FHIR data (e.g., images, zip archives, pdf files, + * documents). When a non-FHIR content type is used in the request, a Binary + * resource will be generated, and the uploaded data will be stored in the + * `content` field (`DSTU2` and `STU3`), or the `data` field (`R4`). The Binary + * resource's `contentType` will be filled in using the value of the + * `Content-Type` header, and the `securityContext` field (not present in + * `DSTU2`) will be populated from the `X-Security-Context` header if it + * exists. At this time `securityContext` has no special behavior in the Cloud + * Healthcare API. Note: the limit on data ingested through this method is 2 + * GB. For best performance, use a non-FHIR data type instead of wrapping the + * data in a Binary resource. Some of the Healthcare API features, such as + * [exporting to + * BigQuery](https://cloud.google.com/healthcare-api/docs/how-tos/fhir-export-bigquery) + * or [Pub/Sub + * notifications](https://cloud.google.com/healthcare-api/docs/fhir-pubsub#behavior_when_a_fhir_resource_is_too_large_or_traffic_is_high) + * with full resource content, do not support Binary resources that are larger + * than 10 MB. In these cases the resource's `data` field will be omitted. + * Instead, the "http://hl7.org/fhir/StructureDefinition/data-absent-reason" + * extension will be present to indicate that including the data is + * `unsupported`. On success, an empty `201 Created` response is returned. The + * newly created resource's ID and version are returned in the Location header. + * Using `Prefer: representation=resource` is not allowed for this method. The + * definition of the Binary REST API can be found at + * https://hl7.org/fhir/binary.html#rest. + * + * @param object The @c GTLRCloudHealthcare_HttpBody to include in the query. + * @param parent Required. The name of the FHIR store this resource belongs to. + * + * @return GTLRCloudHealthcareQuery_ProjectsLocationsDatasetsFhirStoresFhirBinaryCreate + */ ++ (instancetype)queryWithObject:(GTLRCloudHealthcare_HttpBody *)object + parent:(NSString *)parent; + +@end + +/** + * Gets the contents of a FHIR Binary resource. This method can be used to + * retrieve a Binary resource either by using the FHIR JSON mimetype as the + * value for the Accept header, or as a raw data stream. If the FHIR Accept + * type is used this method will return a Binary resource with the data + * base64-encoded, regardless of how the resource was created. The resource + * data can be retrieved in base64-decoded form if the Accept type of the + * request matches the value of the resource's `contentType` field. The + * definition of the Binary REST API can be found at + * https://hl7.org/fhir/binary.html#rest. + * + * Method: healthcare.projects.locations.datasets.fhirStores.fhir.Binary-read + * + * Authorization scope(s): + * @c kGTLRAuthScopeCloudHealthcareCloudHealthcare + * @c kGTLRAuthScopeCloudHealthcareCloudPlatform + */ +@interface GTLRCloudHealthcareQuery_ProjectsLocationsDatasetsFhirStoresFhirBinaryRead : GTLRCloudHealthcareQuery + +/** Required. The name of the Binary resource to retrieve. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRCloudHealthcare_HttpBody. + * + * Gets the contents of a FHIR Binary resource. This method can be used to + * retrieve a Binary resource either by using the FHIR JSON mimetype as the + * value for the Accept header, or as a raw data stream. If the FHIR Accept + * type is used this method will return a Binary resource with the data + * base64-encoded, regardless of how the resource was created. The resource + * data can be retrieved in base64-decoded form if the Accept type of the + * request matches the value of the resource's `contentType` field. The + * definition of the Binary REST API can be found at + * https://hl7.org/fhir/binary.html#rest. + * + * @param name Required. The name of the Binary resource to retrieve. + * + * @return GTLRCloudHealthcareQuery_ProjectsLocationsDatasetsFhirStoresFhirBinaryRead + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Updates the entire contents of a Binary resource. If the specified resource + * does not exist and the FHIR store has enable_update_create set, creates the + * resource with the client-specified ID. It is strongly advised not to include + * or encode any sensitive data such as patient identifiers in client-specified + * resource IDs. Those IDs are part of the FHIR resource path recorded in Cloud + * Audit Logs and Pub/Sub notifications. Those IDs can also be contained in + * reference fields within other resources. This method can be used to update a + * Binary resource either by using one of the accepted FHIR JSON content types, + * or as a raw data stream. If a resource is updated with this method using the + * FHIR content type this method's behavior is the same as `update`. If a + * resource type other than Binary is used in the request it will be treated in + * the same way as non-FHIR data. When a non-FHIR content type is used in the + * request, a Binary resource will be generated using the ID from the resource + * path, and the uploaded data will be stored in the `content` field (`DSTU2` + * and `STU3`), or the `data` field (`R4`). The Binary resource's `contentType` + * will be filled in using the value of the `Content-Type` header, and the + * `securityContext` field (not present in `DSTU2`) will be populated from the + * `X-Security-Context` header if it exists. At this time `securityContext` has + * no special behavior in the Cloud Healthcare API. Note: the limit on data + * ingested through this method is 2 GB. For best performance, use a non-FHIR + * data type instead of wrapping the data in a Binary resource. Some of the + * Healthcare API features, such as [exporting to + * BigQuery](https://cloud.google.com/healthcare-api/docs/how-tos/fhir-export-bigquery) + * or [Pub/Sub + * notifications](https://cloud.google.com/healthcare-api/docs/fhir-pubsub#behavior_when_a_fhir_resource_is_too_large_or_traffic_is_high) + * with full resource content, do not support Binary resources that are larger + * than 10 MB. In these cases the resource's `data` field will be omitted. + * Instead, the "http://hl7.org/fhir/StructureDefinition/data-absent-reason" + * extension will be present to indicate that including the data is + * `unsupported`. On success, an empty 200 OK response will be returned, or a + * 201 Created if the resource did not exit. The resource's ID and version are + * returned in the Location header. Using `Prefer: representation=resource` is + * not allowed for this method. The definition of the Binary REST API can be + * found at https://hl7.org/fhir/binary.html#rest. + * + * Method: healthcare.projects.locations.datasets.fhirStores.fhir.Binary-update + * + * Authorization scope(s): + * @c kGTLRAuthScopeCloudHealthcareCloudHealthcare + * @c kGTLRAuthScopeCloudHealthcareCloudPlatform + */ +@interface GTLRCloudHealthcareQuery_ProjectsLocationsDatasetsFhirStoresFhirBinaryUpdate : GTLRCloudHealthcareQuery + +/** Required. The name of the resource to update. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRCloudHealthcare_HttpBody. + * + * Updates the entire contents of a Binary resource. If the specified resource + * does not exist and the FHIR store has enable_update_create set, creates the + * resource with the client-specified ID. It is strongly advised not to include + * or encode any sensitive data such as patient identifiers in client-specified + * resource IDs. Those IDs are part of the FHIR resource path recorded in Cloud + * Audit Logs and Pub/Sub notifications. Those IDs can also be contained in + * reference fields within other resources. This method can be used to update a + * Binary resource either by using one of the accepted FHIR JSON content types, + * or as a raw data stream. If a resource is updated with this method using the + * FHIR content type this method's behavior is the same as `update`. If a + * resource type other than Binary is used in the request it will be treated in + * the same way as non-FHIR data. When a non-FHIR content type is used in the + * request, a Binary resource will be generated using the ID from the resource + * path, and the uploaded data will be stored in the `content` field (`DSTU2` + * and `STU3`), or the `data` field (`R4`). The Binary resource's `contentType` + * will be filled in using the value of the `Content-Type` header, and the + * `securityContext` field (not present in `DSTU2`) will be populated from the + * `X-Security-Context` header if it exists. At this time `securityContext` has + * no special behavior in the Cloud Healthcare API. Note: the limit on data + * ingested through this method is 2 GB. For best performance, use a non-FHIR + * data type instead of wrapping the data in a Binary resource. Some of the + * Healthcare API features, such as [exporting to + * BigQuery](https://cloud.google.com/healthcare-api/docs/how-tos/fhir-export-bigquery) + * or [Pub/Sub + * notifications](https://cloud.google.com/healthcare-api/docs/fhir-pubsub#behavior_when_a_fhir_resource_is_too_large_or_traffic_is_high) + * with full resource content, do not support Binary resources that are larger + * than 10 MB. In these cases the resource's `data` field will be omitted. + * Instead, the "http://hl7.org/fhir/StructureDefinition/data-absent-reason" + * extension will be present to indicate that including the data is + * `unsupported`. On success, an empty 200 OK response will be returned, or a + * 201 Created if the resource did not exit. The resource's ID and version are + * returned in the Location header. Using `Prefer: representation=resource` is + * not allowed for this method. The definition of the Binary REST API can be + * found at https://hl7.org/fhir/binary.html#rest. + * + * @param object The @c GTLRCloudHealthcare_HttpBody to include in the query. + * @param name Required. The name of the resource to update. + * + * @return GTLRCloudHealthcareQuery_ProjectsLocationsDatasetsFhirStoresFhirBinaryUpdate + */ ++ (instancetype)queryWithObject:(GTLRCloudHealthcare_HttpBody *)object + name:(NSString *)name; + +@end + +/** + * Gets the contents of a version (current or historical) of a FHIR Binary + * resource by version ID. This method can be used to retrieve a Binary + * resource version either by using the FHIR JSON mimetype as the value for the + * Accept header, or as a raw data stream. If the FHIR Accept type is used this + * method will return a Binary resource with the data base64-encoded, + * regardless of how the resource version was created. The resource data can be + * retrieved in base64-decoded form if the Accept type of the request matches + * the value of the resource version's `contentType` field. The definition of + * the Binary REST API can be found at https://hl7.org/fhir/binary.html#rest. + * + * Method: healthcare.projects.locations.datasets.fhirStores.fhir.Binary-vread + * + * Authorization scope(s): + * @c kGTLRAuthScopeCloudHealthcareCloudHealthcare + * @c kGTLRAuthScopeCloudHealthcareCloudPlatform + */ +@interface GTLRCloudHealthcareQuery_ProjectsLocationsDatasetsFhirStoresFhirBinaryVread : GTLRCloudHealthcareQuery + +/** Required. The name of the Binary resource version to retrieve. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRCloudHealthcare_HttpBody. + * + * Gets the contents of a version (current or historical) of a FHIR Binary + * resource by version ID. This method can be used to retrieve a Binary + * resource version either by using the FHIR JSON mimetype as the value for the + * Accept header, or as a raw data stream. If the FHIR Accept type is used this + * method will return a Binary resource with the data base64-encoded, + * regardless of how the resource version was created. The resource data can be + * retrieved in base64-decoded form if the Accept type of the request matches + * the value of the resource version's `contentType` field. The definition of + * the Binary REST API can be found at https://hl7.org/fhir/binary.html#rest. + * + * @param name Required. The name of the Binary resource version to retrieve. + * + * @return GTLRCloudHealthcareQuery_ProjectsLocationsDatasetsFhirStoresFhirBinaryVread + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + /** * Gets the FHIR capability statement * ([STU3](http://hl7.org/implement/standards/fhir/STU3/capabilitystatement.html), diff --git a/Sources/GeneratedServices/CloudIAP/Public/GoogleAPIClientForREST/GTLRCloudIAPObjects.h b/Sources/GeneratedServices/CloudIAP/Public/GoogleAPIClientForREST/GTLRCloudIAPObjects.h index 2c960ef2a..0c8814012 100644 --- a/Sources/GeneratedServices/CloudIAP/Public/GoogleAPIClientForREST/GTLRCloudIAPObjects.h +++ b/Sources/GeneratedServices/CloudIAP/Public/GoogleAPIClientForREST/GTLRCloudIAPObjects.h @@ -215,8 +215,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudIAP_ReauthSettings_PolicyType_Polic @property(nonatomic, strong, nullable) GTLRCloudIAP_OAuthSettings *oauthSettings; /** - * Optional. Settings to configure Policy delegation for apps hosted in tenant - * projects. INTERNAL_ONLY. + * Optional. Settings to allow google-internal teams to use IAP for apps hosted + * in a tenant project. */ @property(nonatomic, strong, nullable) GTLRCloudIAP_PolicyDelegationSettings *policyDelegationSettings; @@ -914,7 +914,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudIAP_ReauthSettings_PolicyType_Polic @property(nonatomic, strong, nullable) GTLRDuration *maxAge; /** - * Reauth method requested. + * Optional. Reauth method requested. * * Likely values: * @arg @c kGTLRCloudIAP_ReauthSettings_Method_EnrolledSecondFactors User can diff --git a/Sources/GeneratedServices/CloudIdentity/GTLRCloudIdentityObjects.m b/Sources/GeneratedServices/CloudIdentity/GTLRCloudIdentityObjects.m index 9825a303e..8a929768c 100644 --- a/Sources/GeneratedServices/CloudIdentity/GTLRCloudIdentityObjects.m +++ b/Sources/GeneratedServices/CloudIdentity/GTLRCloudIdentityObjects.m @@ -157,6 +157,7 @@ NSString * const kGTLRCloudIdentity_Membership_DeliverySetting_None = @"NONE"; // GTLRCloudIdentity_Membership.type +NSString * const kGTLRCloudIdentity_Membership_Type_CbcmBrowser = @"CBCM_BROWSER"; NSString * const kGTLRCloudIdentity_Membership_Type_Group = @"GROUP"; NSString * const kGTLRCloudIdentity_Membership_Type_Other = @"OTHER"; NSString * const kGTLRCloudIdentity_Membership_Type_ServiceAccount = @"SERVICE_ACCOUNT"; diff --git a/Sources/GeneratedServices/CloudIdentity/Public/GoogleAPIClientForREST/GTLRCloudIdentityObjects.h b/Sources/GeneratedServices/CloudIdentity/Public/GoogleAPIClientForREST/GTLRCloudIdentityObjects.h index e03aa429c..c05902ff4 100644 --- a/Sources/GeneratedServices/CloudIdentity/Public/GoogleAPIClientForREST/GTLRCloudIdentityObjects.h +++ b/Sources/GeneratedServices/CloudIdentity/Public/GoogleAPIClientForREST/GTLRCloudIdentityObjects.h @@ -761,6 +761,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudIdentity_Membership_DeliverySetting // ---------------------------------------------------------------------------- // GTLRCloudIdentity_Membership.type +/** + * Represents a CBCM-managed Chrome Browser type. + * + * Value: "CBCM_BROWSER" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudIdentity_Membership_Type_CbcmBrowser; /** * Represents group type. * @@ -3062,6 +3068,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudIdentity_UserInvitation_State_State * Output only. The type of the membership. * * Likely values: + * @arg @c kGTLRCloudIdentity_Membership_Type_CbcmBrowser Represents a + * CBCM-managed Chrome Browser type. (Value: "CBCM_BROWSER") * @arg @c kGTLRCloudIdentity_Membership_Type_Group Represents group type. * (Value: "GROUP") * @arg @c kGTLRCloudIdentity_Membership_Type_Other Represents other type. diff --git a/Sources/GeneratedServices/CloudRedis/GTLRCloudRedisObjects.m b/Sources/GeneratedServices/CloudRedis/GTLRCloudRedisObjects.m index a48b593c0..9a2858abe 100644 --- a/Sources/GeneratedServices/CloudRedis/GTLRCloudRedisObjects.m +++ b/Sources/GeneratedServices/CloudRedis/GTLRCloudRedisObjects.m @@ -370,6 +370,62 @@ NSString * const kGTLRCloudRedis_Instance_TransitEncryptionMode_ServerAuthentication = @"SERVER_AUTHENTICATION"; NSString * const kGTLRCloudRedis_Instance_TransitEncryptionMode_TransitEncryptionModeUnspecified = @"TRANSIT_ENCRYPTION_MODE_UNSPECIFIED"; +// GTLRCloudRedis_IsolationExpectations.ziOrgPolicy +NSString * const kGTLRCloudRedis_IsolationExpectations_ZiOrgPolicy_ZiNotRequired = @"ZI_NOT_REQUIRED"; +NSString * const kGTLRCloudRedis_IsolationExpectations_ZiOrgPolicy_ZiPreferred = @"ZI_PREFERRED"; +NSString * const kGTLRCloudRedis_IsolationExpectations_ZiOrgPolicy_ZiRequired = @"ZI_REQUIRED"; +NSString * const kGTLRCloudRedis_IsolationExpectations_ZiOrgPolicy_ZiUnknown = @"ZI_UNKNOWN"; +NSString * const kGTLRCloudRedis_IsolationExpectations_ZiOrgPolicy_ZiUnspecified = @"ZI_UNSPECIFIED"; + +// GTLRCloudRedis_IsolationExpectations.ziRegionPolicy +NSString * const kGTLRCloudRedis_IsolationExpectations_ZiRegionPolicy_ZiRegionPolicyFailClosed = @"ZI_REGION_POLICY_FAIL_CLOSED"; +NSString * const kGTLRCloudRedis_IsolationExpectations_ZiRegionPolicy_ZiRegionPolicyFailOpen = @"ZI_REGION_POLICY_FAIL_OPEN"; +NSString * const kGTLRCloudRedis_IsolationExpectations_ZiRegionPolicy_ZiRegionPolicyNotSet = @"ZI_REGION_POLICY_NOT_SET"; +NSString * const kGTLRCloudRedis_IsolationExpectations_ZiRegionPolicy_ZiRegionPolicyUnknown = @"ZI_REGION_POLICY_UNKNOWN"; +NSString * const kGTLRCloudRedis_IsolationExpectations_ZiRegionPolicy_ZiRegionPolicyUnspecified = @"ZI_REGION_POLICY_UNSPECIFIED"; + +// GTLRCloudRedis_IsolationExpectations.ziRegionState +NSString * const kGTLRCloudRedis_IsolationExpectations_ZiRegionState_ZiRegionEnabled = @"ZI_REGION_ENABLED"; +NSString * const kGTLRCloudRedis_IsolationExpectations_ZiRegionState_ZiRegionNotEnabled = @"ZI_REGION_NOT_ENABLED"; +NSString * const kGTLRCloudRedis_IsolationExpectations_ZiRegionState_ZiRegionUnknown = @"ZI_REGION_UNKNOWN"; +NSString * const kGTLRCloudRedis_IsolationExpectations_ZiRegionState_ZiRegionUnspecified = @"ZI_REGION_UNSPECIFIED"; + +// GTLRCloudRedis_IsolationExpectations.zoneIsolation +NSString * const kGTLRCloudRedis_IsolationExpectations_ZoneIsolation_ZiNotRequired = @"ZI_NOT_REQUIRED"; +NSString * const kGTLRCloudRedis_IsolationExpectations_ZoneIsolation_ZiPreferred = @"ZI_PREFERRED"; +NSString * const kGTLRCloudRedis_IsolationExpectations_ZoneIsolation_ZiRequired = @"ZI_REQUIRED"; +NSString * const kGTLRCloudRedis_IsolationExpectations_ZoneIsolation_ZiUnknown = @"ZI_UNKNOWN"; +NSString * const kGTLRCloudRedis_IsolationExpectations_ZoneIsolation_ZiUnspecified = @"ZI_UNSPECIFIED"; + +// GTLRCloudRedis_IsolationExpectations.zoneSeparation +NSString * const kGTLRCloudRedis_IsolationExpectations_ZoneSeparation_ZsNotRequired = @"ZS_NOT_REQUIRED"; +NSString * const kGTLRCloudRedis_IsolationExpectations_ZoneSeparation_ZsRequired = @"ZS_REQUIRED"; +NSString * const kGTLRCloudRedis_IsolationExpectations_ZoneSeparation_ZsUnknown = @"ZS_UNKNOWN"; +NSString * const kGTLRCloudRedis_IsolationExpectations_ZoneSeparation_ZsUnspecified = @"ZS_UNSPECIFIED"; + +// GTLRCloudRedis_IsolationExpectations.zsOrgPolicy +NSString * const kGTLRCloudRedis_IsolationExpectations_ZsOrgPolicy_ZsNotRequired = @"ZS_NOT_REQUIRED"; +NSString * const kGTLRCloudRedis_IsolationExpectations_ZsOrgPolicy_ZsRequired = @"ZS_REQUIRED"; +NSString * const kGTLRCloudRedis_IsolationExpectations_ZsOrgPolicy_ZsUnknown = @"ZS_UNKNOWN"; +NSString * const kGTLRCloudRedis_IsolationExpectations_ZsOrgPolicy_ZsUnspecified = @"ZS_UNSPECIFIED"; + +// GTLRCloudRedis_IsolationExpectations.zsRegionState +NSString * const kGTLRCloudRedis_IsolationExpectations_ZsRegionState_ZsRegionEnabled = @"ZS_REGION_ENABLED"; +NSString * const kGTLRCloudRedis_IsolationExpectations_ZsRegionState_ZsRegionNotEnabled = @"ZS_REGION_NOT_ENABLED"; +NSString * const kGTLRCloudRedis_IsolationExpectations_ZsRegionState_ZsRegionUnknown = @"ZS_REGION_UNKNOWN"; +NSString * const kGTLRCloudRedis_IsolationExpectations_ZsRegionState_ZsRegionUnspecified = @"ZS_REGION_UNSPECIFIED"; + +// GTLRCloudRedis_LocationAssignment.locationType +NSString * const kGTLRCloudRedis_LocationAssignment_LocationType_CloudRegion = @"CLOUD_REGION"; +NSString * const kGTLRCloudRedis_LocationAssignment_LocationType_CloudZone = @"CLOUD_ZONE"; +NSString * const kGTLRCloudRedis_LocationAssignment_LocationType_Cluster = @"CLUSTER"; +NSString * const kGTLRCloudRedis_LocationAssignment_LocationType_Global = @"GLOBAL"; +NSString * const kGTLRCloudRedis_LocationAssignment_LocationType_MultiRegionGeo = @"MULTI_REGION_GEO"; +NSString * const kGTLRCloudRedis_LocationAssignment_LocationType_MultiRegionJurisdiction = @"MULTI_REGION_JURISDICTION"; +NSString * const kGTLRCloudRedis_LocationAssignment_LocationType_Other = @"OTHER"; +NSString * const kGTLRCloudRedis_LocationAssignment_LocationType_Pop = @"POP"; +NSString * const kGTLRCloudRedis_LocationAssignment_LocationType_Unspecified = @"UNSPECIFIED"; + // GTLRCloudRedis_ObservabilityMetricData.aggregationType NSString * const kGTLRCloudRedis_ObservabilityMetricData_AggregationType_AggregationTypeUnspecified = @"AGGREGATION_TYPE_UNSPECIFIED"; NSString * const kGTLRCloudRedis_ObservabilityMetricData_AggregationType_Current = @"CURRENT"; @@ -450,6 +506,19 @@ NSString * const kGTLRCloudRedis_ReconciliationOperationMetadata_ExclusiveAction_Retry = @"RETRY"; NSString * const kGTLRCloudRedis_ReconciliationOperationMetadata_ExclusiveAction_UnknownRepairAction = @"UNKNOWN_REPAIR_ACTION"; +// GTLRCloudRedis_RequirementOverride.ziOverride +NSString * const kGTLRCloudRedis_RequirementOverride_ZiOverride_ZiNotRequired = @"ZI_NOT_REQUIRED"; +NSString * const kGTLRCloudRedis_RequirementOverride_ZiOverride_ZiPreferred = @"ZI_PREFERRED"; +NSString * const kGTLRCloudRedis_RequirementOverride_ZiOverride_ZiRequired = @"ZI_REQUIRED"; +NSString * const kGTLRCloudRedis_RequirementOverride_ZiOverride_ZiUnknown = @"ZI_UNKNOWN"; +NSString * const kGTLRCloudRedis_RequirementOverride_ZiOverride_ZiUnspecified = @"ZI_UNSPECIFIED"; + +// GTLRCloudRedis_RequirementOverride.zsOverride +NSString * const kGTLRCloudRedis_RequirementOverride_ZsOverride_ZsNotRequired = @"ZS_NOT_REQUIRED"; +NSString * const kGTLRCloudRedis_RequirementOverride_ZsOverride_ZsRequired = @"ZS_REQUIRED"; +NSString * const kGTLRCloudRedis_RequirementOverride_ZsOverride_ZsUnknown = @"ZS_UNKNOWN"; +NSString * const kGTLRCloudRedis_RequirementOverride_ZsOverride_ZsUnspecified = @"ZS_UNSPECIFIED"; + // GTLRCloudRedis_RescheduleClusterMaintenanceRequest.rescheduleType NSString * const kGTLRCloudRedis_RescheduleClusterMaintenanceRequest_RescheduleType_Immediate = @"IMMEDIATE"; NSString * const kGTLRCloudRedis_RescheduleClusterMaintenanceRequest_RescheduleType_RescheduleTypeUnspecified = @"RESCHEDULE_TYPE_UNSPECIFIED"; @@ -492,6 +561,26 @@ @implementation GTLRCloudRedis_AOFConfig @end +// ---------------------------------------------------------------------------- +// +// GTLRCloudRedis_AssetLocation +// + +@implementation GTLRCloudRedis_AssetLocation +@dynamic ccfeRmsPath, expected, extraParameters, locationData, parentAsset; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"extraParameters" : [GTLRCloudRedis_ExtraParameter class], + @"locationData" : [GTLRCloudRedis_LocationData class], + @"parentAsset" : [GTLRCloudRedis_CloudAsset class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRCloudRedis_AvailabilityConfiguration @@ -525,6 +614,24 @@ @implementation GTLRCloudRedis_BackupRun @end +// ---------------------------------------------------------------------------- +// +// GTLRCloudRedis_BlobstoreLocation +// + +@implementation GTLRCloudRedis_BlobstoreLocation +@dynamic policyId; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"policyId" : [NSString class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRCloudRedis_CertChain @@ -553,6 +660,34 @@ @implementation GTLRCloudRedis_CertificateAuthority @end +// ---------------------------------------------------------------------------- +// +// GTLRCloudRedis_CloudAsset +// + +@implementation GTLRCloudRedis_CloudAsset +@dynamic assetName, assetType; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRCloudRedis_CloudAssetComposition +// + +@implementation GTLRCloudRedis_CloudAssetComposition +@dynamic childAsset; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"childAsset" : [GTLRCloudRedis_CloudAsset class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRCloudRedis_Cluster @@ -616,7 +751,7 @@ @implementation GTLRCloudRedis_ClusterMaintenancePolicy // @implementation GTLRCloudRedis_ClusterMaintenanceSchedule -@dynamic endTime, scheduleDeadlineTime, startTime; +@dynamic endTime, startTime; @end @@ -636,7 +771,7 @@ @implementation GTLRCloudRedis_ClusterPersistenceConfig // @implementation GTLRCloudRedis_ClusterWeeklyMaintenanceWindow -@dynamic day, duration, startTime; +@dynamic day, startTime; @end @@ -756,7 +891,7 @@ @implementation GTLRCloudRedis_DatabaseResourceMetadata creationTime, currentState, customMetadata, entitlements, expectedState, identifier, instanceType, location, machineConfiguration, primaryResourceId, product, resourceContainer, - resourceName, updationTime, userLabelSet; + resourceName, tagsSet, updationTime, userLabelSet; + (NSDictionary *)propertyToJSONKeyMap { return @{ @"identifier" : @"id" }; @@ -797,6 +932,24 @@ + (Class)classForAdditionalProperties { @end +// ---------------------------------------------------------------------------- +// +// GTLRCloudRedis_DirectLocationAssignment +// + +@implementation GTLRCloudRedis_DirectLocationAssignment +@dynamic location; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"location" : [GTLRCloudRedis_LocationAssignment class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRCloudRedis_DiscoveryEndpoint @@ -836,6 +989,16 @@ @implementation GTLRCloudRedis_ExportInstanceRequest @end +// ---------------------------------------------------------------------------- +// +// GTLRCloudRedis_ExtraParameter +// + +@implementation GTLRCloudRedis_ExtraParameter +@dynamic regionalMigDistributionPolicy; +@end + + // ---------------------------------------------------------------------------- // // GTLRCloudRedis_FailoverInstanceRequest @@ -1007,6 +1170,17 @@ @implementation GTLRCloudRedis_InternalResourceMetadata @end +// ---------------------------------------------------------------------------- +// +// GTLRCloudRedis_IsolationExpectations +// + +@implementation GTLRCloudRedis_IsolationExpectations +@dynamic requirementOverride, ziOrgPolicy, ziRegionPolicy, ziRegionState, + zoneIsolation, zoneSeparation, zsOrgPolicy, zsRegionState; +@end + + // ---------------------------------------------------------------------------- // // GTLRCloudRedis_ListClustersResponse @@ -1135,13 +1309,34 @@ + (Class)classForAdditionalProperties { @end +// ---------------------------------------------------------------------------- +// +// GTLRCloudRedis_LocationAssignment +// + +@implementation GTLRCloudRedis_LocationAssignment +@dynamic location, locationType; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRCloudRedis_LocationData +// + +@implementation GTLRCloudRedis_LocationData +@dynamic blobstoreLocation, childAssetLocation, directLocation, gcpProjectProxy, + placerLocation, spannerLocation; +@end + + // ---------------------------------------------------------------------------- // // GTLRCloudRedis_MachineConfiguration // @implementation GTLRCloudRedis_MachineConfiguration -@dynamic cpuCount, memorySizeInBytes; +@dynamic cpuCount, memorySizeInBytes, shardCount; @end @@ -1322,6 +1517,16 @@ @implementation GTLRCloudRedis_PersistenceConfig @end +// ---------------------------------------------------------------------------- +// +// GTLRCloudRedis_PlacerLocation +// + +@implementation GTLRCloudRedis_PlacerLocation +@dynamic placerConfig; +@end + + // ---------------------------------------------------------------------------- // // GTLRCloudRedis_Product @@ -1348,7 +1553,8 @@ @implementation GTLRCloudRedis_PscConfig // @implementation GTLRCloudRedis_PscConnection -@dynamic address, forwardingRule, network, projectId, pscConnectionId; +@dynamic address, forwardingRule, network, projectId, pscConnectionId, + serviceAttachment; @end @@ -1372,6 +1578,24 @@ @implementation GTLRCloudRedis_ReconciliationOperationMetadata @end +// ---------------------------------------------------------------------------- +// +// GTLRCloudRedis_RegionalMigDistributionPolicy +// + +@implementation GTLRCloudRedis_RegionalMigDistributionPolicy +@dynamic targetShape, zones; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"zones" : [GTLRCloudRedis_ZoneConfiguration class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRCloudRedis_RemoteCluster @@ -1382,6 +1606,16 @@ @implementation GTLRCloudRedis_RemoteCluster @end +// ---------------------------------------------------------------------------- +// +// GTLRCloudRedis_RequirementOverride +// + +@implementation GTLRCloudRedis_RequirementOverride +@dynamic ziOverride, zsOverride; +@end + + // ---------------------------------------------------------------------------- // // GTLRCloudRedis_RescheduleClusterMaintenanceRequest @@ -1412,6 +1646,25 @@ @implementation GTLRCloudRedis_RetentionSettings @end +// ---------------------------------------------------------------------------- +// +// GTLRCloudRedis_SpannerLocation +// + +@implementation GTLRCloudRedis_SpannerLocation +@dynamic backupName, dbName; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"backupName" : [NSString class], + @"dbName" : [NSString class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRCloudRedis_StateInfo @@ -1454,6 +1707,48 @@ + (Class)classForAdditionalProperties { @end +// ---------------------------------------------------------------------------- +// +// GTLRCloudRedis_Tags +// + +@implementation GTLRCloudRedis_Tags +@dynamic tags; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRCloudRedis_Tags_Tags +// + +@implementation GTLRCloudRedis_Tags_Tags + ++ (Class)classForAdditionalProperties { + return [NSString class]; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRCloudRedis_TenantProjectProxy +// + +@implementation GTLRCloudRedis_TenantProjectProxy +@dynamic projectNumbers; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"projectNumbers" : [NSString class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRCloudRedis_TimeOfDay @@ -1538,6 +1833,21 @@ @implementation GTLRCloudRedis_WeeklyMaintenanceWindow @end +// ---------------------------------------------------------------------------- +// +// GTLRCloudRedis_ZoneConfiguration +// + +@implementation GTLRCloudRedis_ZoneConfiguration +@dynamic zoneProperty; + ++ (NSDictionary *)propertyToJSONKeyMap { + return @{ @"zoneProperty" : @"zone" }; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRCloudRedis_ZoneDistributionConfig diff --git a/Sources/GeneratedServices/CloudRedis/Public/GoogleAPIClientForREST/GTLRCloudRedisObjects.h b/Sources/GeneratedServices/CloudRedis/Public/GoogleAPIClientForREST/GTLRCloudRedisObjects.h index 39d5bc4b0..e59dc9098 100644 --- a/Sources/GeneratedServices/CloudRedis/Public/GoogleAPIClientForREST/GTLRCloudRedisObjects.h +++ b/Sources/GeneratedServices/CloudRedis/Public/GoogleAPIClientForREST/GTLRCloudRedisObjects.h @@ -18,7 +18,10 @@ @class GTLRCloudRedis_AvailabilityConfiguration; @class GTLRCloudRedis_BackupConfiguration; @class GTLRCloudRedis_BackupRun; +@class GTLRCloudRedis_BlobstoreLocation; @class GTLRCloudRedis_CertChain; +@class GTLRCloudRedis_CloudAsset; +@class GTLRCloudRedis_CloudAssetComposition; @class GTLRCloudRedis_Cluster; @class GTLRCloudRedis_Cluster_RedisConfigs; @class GTLRCloudRedis_ClusterMaintenancePolicy; @@ -34,8 +37,10 @@ @class GTLRCloudRedis_DatabaseResourceMetadata; @class GTLRCloudRedis_DatabaseResourceRecommendationSignalData; @class GTLRCloudRedis_DatabaseResourceRecommendationSignalData_AdditionalMetadata; +@class GTLRCloudRedis_DirectLocationAssignment; @class GTLRCloudRedis_DiscoveryEndpoint; @class GTLRCloudRedis_Entitlement; +@class GTLRCloudRedis_ExtraParameter; @class GTLRCloudRedis_GcsDestination; @class GTLRCloudRedis_GcsSource; @class GTLRCloudRedis_GoogleCloudRedisV1LocationMetadata_AvailableZones; @@ -45,9 +50,12 @@ @class GTLRCloudRedis_Instance_Labels; @class GTLRCloudRedis_Instance_RedisConfigs; @class GTLRCloudRedis_InternalResourceMetadata; +@class GTLRCloudRedis_IsolationExpectations; @class GTLRCloudRedis_Location; @class GTLRCloudRedis_Location_Labels; @class GTLRCloudRedis_Location_Metadata; +@class GTLRCloudRedis_LocationAssignment; +@class GTLRCloudRedis_LocationData; @class GTLRCloudRedis_MachineConfiguration; @class GTLRCloudRedis_MaintenancePolicy; @class GTLRCloudRedis_MaintenanceSchedule; @@ -61,15 +69,22 @@ @class GTLRCloudRedis_OperationError; @class GTLRCloudRedis_OutputConfig; @class GTLRCloudRedis_PersistenceConfig; +@class GTLRCloudRedis_PlacerLocation; @class GTLRCloudRedis_Product; @class GTLRCloudRedis_PscConfig; @class GTLRCloudRedis_PscConnection; @class GTLRCloudRedis_RDBConfig; +@class GTLRCloudRedis_RegionalMigDistributionPolicy; @class GTLRCloudRedis_RemoteCluster; +@class GTLRCloudRedis_RequirementOverride; @class GTLRCloudRedis_RetentionSettings; +@class GTLRCloudRedis_SpannerLocation; @class GTLRCloudRedis_StateInfo; @class GTLRCloudRedis_Status; @class GTLRCloudRedis_Status_Details_Item; +@class GTLRCloudRedis_Tags; +@class GTLRCloudRedis_Tags_Tags; +@class GTLRCloudRedis_TenantProjectProxy; @class GTLRCloudRedis_TimeOfDay; @class GTLRCloudRedis_TlsCertificate; @class GTLRCloudRedis_TypedValue; @@ -77,6 +92,7 @@ @class GTLRCloudRedis_UserLabels; @class GTLRCloudRedis_UserLabels_Labels; @class GTLRCloudRedis_WeeklyMaintenanceWindow; +@class GTLRCloudRedis_ZoneConfiguration; @class GTLRCloudRedis_ZoneDistributionConfig; // Generated comments include content from the discovery document; avoid them @@ -193,7 +209,11 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_Cluster_AuthorizationMode_Aut // ---------------------------------------------------------------------------- // GTLRCloudRedis_Cluster.nodeType -/** Value: "NODE_TYPE_UNSPECIFIED" */ +/** + * Node type unspecified + * + * Value: "NODE_TYPE_UNSPECIFIED" + */ FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_Cluster_NodeType_NodeTypeUnspecified; /** * Redis highmem medium node_type. @@ -2055,6 +2075,154 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_Instance_TransitEncryptionMod */ FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_Instance_TransitEncryptionMode_TransitEncryptionModeUnspecified; +// ---------------------------------------------------------------------------- +// GTLRCloudRedis_IsolationExpectations.ziOrgPolicy + +/** Value: "ZI_NOT_REQUIRED" */ +FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_IsolationExpectations_ZiOrgPolicy_ZiNotRequired; +/** Value: "ZI_PREFERRED" */ +FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_IsolationExpectations_ZiOrgPolicy_ZiPreferred; +/** Value: "ZI_REQUIRED" */ +FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_IsolationExpectations_ZiOrgPolicy_ZiRequired; +/** + * To be used if tracking is not available + * + * Value: "ZI_UNKNOWN" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_IsolationExpectations_ZiOrgPolicy_ZiUnknown; +/** Value: "ZI_UNSPECIFIED" */ +FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_IsolationExpectations_ZiOrgPolicy_ZiUnspecified; + +// ---------------------------------------------------------------------------- +// GTLRCloudRedis_IsolationExpectations.ziRegionPolicy + +/** Value: "ZI_REGION_POLICY_FAIL_CLOSED" */ +FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_IsolationExpectations_ZiRegionPolicy_ZiRegionPolicyFailClosed; +/** Value: "ZI_REGION_POLICY_FAIL_OPEN" */ +FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_IsolationExpectations_ZiRegionPolicy_ZiRegionPolicyFailOpen; +/** Value: "ZI_REGION_POLICY_NOT_SET" */ +FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_IsolationExpectations_ZiRegionPolicy_ZiRegionPolicyNotSet; +/** + * To be used if tracking is not available + * + * Value: "ZI_REGION_POLICY_UNKNOWN" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_IsolationExpectations_ZiRegionPolicy_ZiRegionPolicyUnknown; +/** Value: "ZI_REGION_POLICY_UNSPECIFIED" */ +FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_IsolationExpectations_ZiRegionPolicy_ZiRegionPolicyUnspecified; + +// ---------------------------------------------------------------------------- +// GTLRCloudRedis_IsolationExpectations.ziRegionState + +/** Value: "ZI_REGION_ENABLED" */ +FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_IsolationExpectations_ZiRegionState_ZiRegionEnabled; +/** Value: "ZI_REGION_NOT_ENABLED" */ +FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_IsolationExpectations_ZiRegionState_ZiRegionNotEnabled; +/** + * To be used if tracking is not available + * + * Value: "ZI_REGION_UNKNOWN" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_IsolationExpectations_ZiRegionState_ZiRegionUnknown; +/** Value: "ZI_REGION_UNSPECIFIED" */ +FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_IsolationExpectations_ZiRegionState_ZiRegionUnspecified; + +// ---------------------------------------------------------------------------- +// GTLRCloudRedis_IsolationExpectations.zoneIsolation + +/** Value: "ZI_NOT_REQUIRED" */ +FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_IsolationExpectations_ZoneIsolation_ZiNotRequired; +/** Value: "ZI_PREFERRED" */ +FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_IsolationExpectations_ZoneIsolation_ZiPreferred; +/** Value: "ZI_REQUIRED" */ +FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_IsolationExpectations_ZoneIsolation_ZiRequired; +/** + * To be used if tracking is not available + * + * Value: "ZI_UNKNOWN" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_IsolationExpectations_ZoneIsolation_ZiUnknown; +/** Value: "ZI_UNSPECIFIED" */ +FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_IsolationExpectations_ZoneIsolation_ZiUnspecified; + +// ---------------------------------------------------------------------------- +// GTLRCloudRedis_IsolationExpectations.zoneSeparation + +/** Value: "ZS_NOT_REQUIRED" */ +FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_IsolationExpectations_ZoneSeparation_ZsNotRequired; +/** Value: "ZS_REQUIRED" */ +FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_IsolationExpectations_ZoneSeparation_ZsRequired; +/** + * To be used if tracking is not available + * + * Value: "ZS_UNKNOWN" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_IsolationExpectations_ZoneSeparation_ZsUnknown; +/** Value: "ZS_UNSPECIFIED" */ +FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_IsolationExpectations_ZoneSeparation_ZsUnspecified; + +// ---------------------------------------------------------------------------- +// GTLRCloudRedis_IsolationExpectations.zsOrgPolicy + +/** Value: "ZS_NOT_REQUIRED" */ +FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_IsolationExpectations_ZsOrgPolicy_ZsNotRequired; +/** Value: "ZS_REQUIRED" */ +FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_IsolationExpectations_ZsOrgPolicy_ZsRequired; +/** + * To be used if tracking is not available + * + * Value: "ZS_UNKNOWN" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_IsolationExpectations_ZsOrgPolicy_ZsUnknown; +/** Value: "ZS_UNSPECIFIED" */ +FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_IsolationExpectations_ZsOrgPolicy_ZsUnspecified; + +// ---------------------------------------------------------------------------- +// GTLRCloudRedis_IsolationExpectations.zsRegionState + +/** Value: "ZS_REGION_ENABLED" */ +FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_IsolationExpectations_ZsRegionState_ZsRegionEnabled; +/** Value: "ZS_REGION_NOT_ENABLED" */ +FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_IsolationExpectations_ZsRegionState_ZsRegionNotEnabled; +/** + * To be used if tracking of the asset ZS-bit is not available + * + * Value: "ZS_REGION_UNKNOWN" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_IsolationExpectations_ZsRegionState_ZsRegionUnknown; +/** Value: "ZS_REGION_UNSPECIFIED" */ +FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_IsolationExpectations_ZsRegionState_ZsRegionUnspecified; + +// ---------------------------------------------------------------------------- +// GTLRCloudRedis_LocationAssignment.locationType + +/** Value: "CLOUD_REGION" */ +FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_LocationAssignment_LocationType_CloudRegion; +/** + * 11-20: Logical failure domains. + * + * Value: "CLOUD_ZONE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_LocationAssignment_LocationType_CloudZone; +/** + * 1-10: Physical failure domains. + * + * Value: "CLUSTER" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_LocationAssignment_LocationType_Cluster; +/** Value: "GLOBAL" */ +FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_LocationAssignment_LocationType_Global; +/** Value: "MULTI_REGION_GEO" */ +FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_LocationAssignment_LocationType_MultiRegionGeo; +/** Value: "MULTI_REGION_JURISDICTION" */ +FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_LocationAssignment_LocationType_MultiRegionJurisdiction; +/** Value: "OTHER" */ +FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_LocationAssignment_LocationType_Other; +/** Value: "POP" */ +FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_LocationAssignment_LocationType_Pop; +/** Value: "UNSPECIFIED" */ +FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_LocationAssignment_LocationType_Unspecified; + // ---------------------------------------------------------------------------- // GTLRCloudRedis_ObservabilityMetricData.aggregationType @@ -2475,6 +2643,40 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_ReconciliationOperationMetada */ FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_ReconciliationOperationMetadata_ExclusiveAction_UnknownRepairAction; +// ---------------------------------------------------------------------------- +// GTLRCloudRedis_RequirementOverride.ziOverride + +/** Value: "ZI_NOT_REQUIRED" */ +FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_RequirementOverride_ZiOverride_ZiNotRequired; +/** Value: "ZI_PREFERRED" */ +FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_RequirementOverride_ZiOverride_ZiPreferred; +/** Value: "ZI_REQUIRED" */ +FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_RequirementOverride_ZiOverride_ZiRequired; +/** + * To be used if tracking is not available + * + * Value: "ZI_UNKNOWN" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_RequirementOverride_ZiOverride_ZiUnknown; +/** Value: "ZI_UNSPECIFIED" */ +FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_RequirementOverride_ZiOverride_ZiUnspecified; + +// ---------------------------------------------------------------------------- +// GTLRCloudRedis_RequirementOverride.zsOverride + +/** Value: "ZS_NOT_REQUIRED" */ +FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_RequirementOverride_ZsOverride_ZsNotRequired; +/** Value: "ZS_REQUIRED" */ +FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_RequirementOverride_ZsOverride_ZsRequired; +/** + * To be used if tracking is not available + * + * Value: "ZS_UNKNOWN" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_RequirementOverride_ZsOverride_ZsUnknown; +/** Value: "ZS_UNSPECIFIED" */ +FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_RequirementOverride_ZsOverride_ZsUnspecified; + // ---------------------------------------------------------------------------- // GTLRCloudRedis_RescheduleClusterMaintenanceRequest.rescheduleType @@ -2655,6 +2857,39 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_ZoneDistributionConfig_Mode_Z @end +/** + * Provides the mapping of a cloud asset to a direct physical location or to a + * proxy that defines the location on its behalf. + */ +@interface GTLRCloudRedis_AssetLocation : GTLRObject + +/** + * Spanner path of the CCFE RMS database. It is only applicable for CCFE + * tenants that use CCFE RMS for storing resource metadata. + */ +@property(nonatomic, copy, nullable) NSString *ccfeRmsPath; + +/** + * Defines the customer expectation around ZI/ZS for this asset and ZI/ZS state + * of the region at the time of asset creation. + */ +@property(nonatomic, strong, nullable) GTLRCloudRedis_IsolationExpectations *expected; + +/** Defines extra parameters required for specific asset types. */ +@property(nonatomic, strong, nullable) NSArray *extraParameters; + +/** Contains all kinds of physical location definitions for this asset. */ +@property(nonatomic, strong, nullable) NSArray *locationData; + +/** + * Defines parents assets if any in order to allow later generation of + * child_asset_location data via child assets. + */ +@property(nonatomic, strong, nullable) NSArray *parentAsset; + +@end + + /** * Configuration for availability of database instance */ @@ -2774,6 +3009,17 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_ZoneDistributionConfig_Mode_Z @end +/** + * Policy ID that identified data placement in Blobstore as per + * go/blobstore-user-guide#data-metadata-placement-and-failure-domains + */ +@interface GTLRCloudRedis_BlobstoreLocation : GTLRObject + +@property(nonatomic, strong, nullable) NSArray *policyId; + +@end + + /** * GTLRCloudRedis_CertChain */ @@ -2802,6 +3048,27 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_ZoneDistributionConfig_Mode_Z @end +/** + * GTLRCloudRedis_CloudAsset + */ +@interface GTLRCloudRedis_CloudAsset : GTLRObject + +@property(nonatomic, copy, nullable) NSString *assetName; +@property(nonatomic, copy, nullable) NSString *assetType; + +@end + + +/** + * GTLRCloudRedis_CloudAssetComposition + */ +@interface GTLRCloudRedis_CloudAssetComposition : GTLRObject + +@property(nonatomic, strong, nullable) NSArray *childAsset; + +@end + + /** * A cluster instance. */ @@ -2865,8 +3132,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_ZoneDistributionConfig_Mode_Z * underlying machine-type of a redis node. * * Likely values: - * @arg @c kGTLRCloudRedis_Cluster_NodeType_NodeTypeUnspecified Value - * "NODE_TYPE_UNSPECIFIED" + * @arg @c kGTLRCloudRedis_Cluster_NodeType_NodeTypeUnspecified Node type + * unspecified (Value: "NODE_TYPE_UNSPECIFIED") * @arg @c kGTLRCloudRedis_Cluster_NodeType_RedisHighmemMedium Redis highmem * medium node_type. (Value: "REDIS_HIGHMEM_MEDIUM") * @arg @c kGTLRCloudRedis_Cluster_NodeType_RedisHighmemXlarge Redis highmem @@ -2897,8 +3164,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_ZoneDistributionConfig_Mode_Z @property(nonatomic, strong, nullable) NSArray *pscConfigs; /** - * Output only. PSC connections for discovery of the cluster topology and - * accessing the cluster. + * Output only. The list of PSC connections that are auto-created through + * service connectivity automation. */ @property(nonatomic, strong, nullable) NSArray *pscConnections; @@ -3031,12 +3298,6 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_ZoneDistributionConfig_Mode_Z */ @property(nonatomic, strong, nullable) GTLRDateTime *endTime; -/** - * Output only. The deadline that the maintenance schedule start time can not - * go beyond, including reschedule. - */ -@property(nonatomic, strong, nullable) GTLRDateTime *scheduleDeadlineTime; - /** * Output only. The start time of any upcoming scheduled maintenance for this * instance. @@ -3107,9 +3368,6 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_ZoneDistributionConfig_Mode_Z */ @property(nonatomic, copy, nullable) NSString *day; -/** Duration of the time window. */ -@property(nonatomic, strong, nullable) GTLRDuration *duration; - /** Start time of the window in UTC. */ @property(nonatomic, strong, nullable) GTLRCloudRedis_TimeOfDay *startTime; @@ -3758,7 +4016,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_ZoneDistributionConfig_Mode_Z /** - * Common model for database resource instance metadata. + * Common model for database resource instance metadata. Next ID: 21 */ @interface GTLRCloudRedis_DatabaseResourceMetadata : GTLRObject @@ -3897,6 +4155,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_ZoneDistributionConfig_Mode_Z */ @property(nonatomic, copy, nullable) NSString *resourceName; +/** Optional. Tags associated with this resources. */ +@property(nonatomic, strong, nullable) GTLRCloudRedis_Tags *tagsSet; + /** * The time at which the resource was updated and recorded at partner service. */ @@ -4269,6 +4530,16 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_ZoneDistributionConfig_Mode_Z @end +/** + * GTLRCloudRedis_DirectLocationAssignment + */ +@interface GTLRCloudRedis_DirectLocationAssignment : GTLRObject + +@property(nonatomic, strong, nullable) NSArray *location; + +@end + + /** * Endpoints on each network, for Redis clients to connect to the cluster. */ @@ -4353,6 +4624,20 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_ZoneDistributionConfig_Mode_Z @end +/** + * Defines parameters that should only be used for specific asset types. + */ +@interface GTLRCloudRedis_ExtraParameter : GTLRObject + +/** + * Details about zones used by regional + * compute.googleapis.com/InstanceGroupManager to create instances. + */ +@property(nonatomic, strong, nullable) GTLRCloudRedis_RegionalMigDistributionPolicy *regionalMigDistributionPolicy; + +@end + + /** * Request for Failover. */ @@ -4885,6 +5170,135 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_ZoneDistributionConfig_Mode_Z @end +/** + * GTLRCloudRedis_IsolationExpectations + */ +@interface GTLRCloudRedis_IsolationExpectations : GTLRObject + +/** + * Explicit overrides for ZI and ZS requirements to be used for resources that + * should be excluded from ZI/ZS verification logic. + */ +@property(nonatomic, strong, nullable) GTLRCloudRedis_RequirementOverride *requirementOverride; + +/** + * ziOrgPolicy + * + * Likely values: + * @arg @c kGTLRCloudRedis_IsolationExpectations_ZiOrgPolicy_ZiNotRequired + * Value "ZI_NOT_REQUIRED" + * @arg @c kGTLRCloudRedis_IsolationExpectations_ZiOrgPolicy_ZiPreferred + * Value "ZI_PREFERRED" + * @arg @c kGTLRCloudRedis_IsolationExpectations_ZiOrgPolicy_ZiRequired Value + * "ZI_REQUIRED" + * @arg @c kGTLRCloudRedis_IsolationExpectations_ZiOrgPolicy_ZiUnknown To be + * used if tracking is not available (Value: "ZI_UNKNOWN") + * @arg @c kGTLRCloudRedis_IsolationExpectations_ZiOrgPolicy_ZiUnspecified + * Value "ZI_UNSPECIFIED" + */ +@property(nonatomic, copy, nullable) NSString *ziOrgPolicy; + +/** + * ziRegionPolicy + * + * Likely values: + * @arg @c kGTLRCloudRedis_IsolationExpectations_ZiRegionPolicy_ZiRegionPolicyFailClosed + * Value "ZI_REGION_POLICY_FAIL_CLOSED" + * @arg @c kGTLRCloudRedis_IsolationExpectations_ZiRegionPolicy_ZiRegionPolicyFailOpen + * Value "ZI_REGION_POLICY_FAIL_OPEN" + * @arg @c kGTLRCloudRedis_IsolationExpectations_ZiRegionPolicy_ZiRegionPolicyNotSet + * Value "ZI_REGION_POLICY_NOT_SET" + * @arg @c kGTLRCloudRedis_IsolationExpectations_ZiRegionPolicy_ZiRegionPolicyUnknown + * To be used if tracking is not available (Value: + * "ZI_REGION_POLICY_UNKNOWN") + * @arg @c kGTLRCloudRedis_IsolationExpectations_ZiRegionPolicy_ZiRegionPolicyUnspecified + * Value "ZI_REGION_POLICY_UNSPECIFIED" + */ +@property(nonatomic, copy, nullable) NSString *ziRegionPolicy; + +/** + * ziRegionState + * + * Likely values: + * @arg @c kGTLRCloudRedis_IsolationExpectations_ZiRegionState_ZiRegionEnabled + * Value "ZI_REGION_ENABLED" + * @arg @c kGTLRCloudRedis_IsolationExpectations_ZiRegionState_ZiRegionNotEnabled + * Value "ZI_REGION_NOT_ENABLED" + * @arg @c kGTLRCloudRedis_IsolationExpectations_ZiRegionState_ZiRegionUnknown + * To be used if tracking is not available (Value: "ZI_REGION_UNKNOWN") + * @arg @c kGTLRCloudRedis_IsolationExpectations_ZiRegionState_ZiRegionUnspecified + * Value "ZI_REGION_UNSPECIFIED" + */ +@property(nonatomic, copy, nullable) NSString *ziRegionState; + +/** + * Deprecated: use zi_org_policy, zi_region_policy and zi_region_state instead + * for setting ZI expectations as per go/zicy-publish-physical-location. + * + * Likely values: + * @arg @c kGTLRCloudRedis_IsolationExpectations_ZoneIsolation_ZiNotRequired + * Value "ZI_NOT_REQUIRED" + * @arg @c kGTLRCloudRedis_IsolationExpectations_ZoneIsolation_ZiPreferred + * Value "ZI_PREFERRED" + * @arg @c kGTLRCloudRedis_IsolationExpectations_ZoneIsolation_ZiRequired + * Value "ZI_REQUIRED" + * @arg @c kGTLRCloudRedis_IsolationExpectations_ZoneIsolation_ZiUnknown To + * be used if tracking is not available (Value: "ZI_UNKNOWN") + * @arg @c kGTLRCloudRedis_IsolationExpectations_ZoneIsolation_ZiUnspecified + * Value "ZI_UNSPECIFIED" + */ +@property(nonatomic, copy, nullable) NSString *zoneIsolation GTLR_DEPRECATED; + +/** + * Deprecated: use zs_org_policy, and zs_region_stateinstead for setting Zs + * expectations as per go/zicy-publish-physical-location. + * + * Likely values: + * @arg @c kGTLRCloudRedis_IsolationExpectations_ZoneSeparation_ZsNotRequired + * Value "ZS_NOT_REQUIRED" + * @arg @c kGTLRCloudRedis_IsolationExpectations_ZoneSeparation_ZsRequired + * Value "ZS_REQUIRED" + * @arg @c kGTLRCloudRedis_IsolationExpectations_ZoneSeparation_ZsUnknown To + * be used if tracking is not available (Value: "ZS_UNKNOWN") + * @arg @c kGTLRCloudRedis_IsolationExpectations_ZoneSeparation_ZsUnspecified + * Value "ZS_UNSPECIFIED" + */ +@property(nonatomic, copy, nullable) NSString *zoneSeparation GTLR_DEPRECATED; + +/** + * zsOrgPolicy + * + * Likely values: + * @arg @c kGTLRCloudRedis_IsolationExpectations_ZsOrgPolicy_ZsNotRequired + * Value "ZS_NOT_REQUIRED" + * @arg @c kGTLRCloudRedis_IsolationExpectations_ZsOrgPolicy_ZsRequired Value + * "ZS_REQUIRED" + * @arg @c kGTLRCloudRedis_IsolationExpectations_ZsOrgPolicy_ZsUnknown To be + * used if tracking is not available (Value: "ZS_UNKNOWN") + * @arg @c kGTLRCloudRedis_IsolationExpectations_ZsOrgPolicy_ZsUnspecified + * Value "ZS_UNSPECIFIED" + */ +@property(nonatomic, copy, nullable) NSString *zsOrgPolicy; + +/** + * zsRegionState + * + * Likely values: + * @arg @c kGTLRCloudRedis_IsolationExpectations_ZsRegionState_ZsRegionEnabled + * Value "ZS_REGION_ENABLED" + * @arg @c kGTLRCloudRedis_IsolationExpectations_ZsRegionState_ZsRegionNotEnabled + * Value "ZS_REGION_NOT_ENABLED" + * @arg @c kGTLRCloudRedis_IsolationExpectations_ZsRegionState_ZsRegionUnknown + * To be used if tracking of the asset ZS-bit is not available (Value: + * "ZS_REGION_UNKNOWN") + * @arg @c kGTLRCloudRedis_IsolationExpectations_ZsRegionState_ZsRegionUnspecified + * Value "ZS_REGION_UNSPECIFIED" + */ +@property(nonatomic, copy, nullable) NSString *zsRegionState; + +@end + + /** * Response for ListClusters. * @@ -5074,6 +5488,55 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_ZoneDistributionConfig_Mode_Z @end +/** + * GTLRCloudRedis_LocationAssignment + */ +@interface GTLRCloudRedis_LocationAssignment : GTLRObject + +@property(nonatomic, copy, nullable) NSString *location; + +/** + * locationType + * + * Likely values: + * @arg @c kGTLRCloudRedis_LocationAssignment_LocationType_CloudRegion Value + * "CLOUD_REGION" + * @arg @c kGTLRCloudRedis_LocationAssignment_LocationType_CloudZone 11-20: + * Logical failure domains. (Value: "CLOUD_ZONE") + * @arg @c kGTLRCloudRedis_LocationAssignment_LocationType_Cluster 1-10: + * Physical failure domains. (Value: "CLUSTER") + * @arg @c kGTLRCloudRedis_LocationAssignment_LocationType_Global Value + * "GLOBAL" + * @arg @c kGTLRCloudRedis_LocationAssignment_LocationType_MultiRegionGeo + * Value "MULTI_REGION_GEO" + * @arg @c kGTLRCloudRedis_LocationAssignment_LocationType_MultiRegionJurisdiction + * Value "MULTI_REGION_JURISDICTION" + * @arg @c kGTLRCloudRedis_LocationAssignment_LocationType_Other Value + * "OTHER" + * @arg @c kGTLRCloudRedis_LocationAssignment_LocationType_Pop Value "POP" + * @arg @c kGTLRCloudRedis_LocationAssignment_LocationType_Unspecified Value + * "UNSPECIFIED" + */ +@property(nonatomic, copy, nullable) NSString *locationType; + +@end + + +/** + * GTLRCloudRedis_LocationData + */ +@interface GTLRCloudRedis_LocationData : GTLRObject + +@property(nonatomic, strong, nullable) GTLRCloudRedis_BlobstoreLocation *blobstoreLocation; +@property(nonatomic, strong, nullable) GTLRCloudRedis_CloudAssetComposition *childAssetLocation; +@property(nonatomic, strong, nullable) GTLRCloudRedis_DirectLocationAssignment *directLocation; +@property(nonatomic, strong, nullable) GTLRCloudRedis_TenantProjectProxy *gcpProjectProxy; +@property(nonatomic, strong, nullable) GTLRCloudRedis_PlacerLocation *placerLocation; +@property(nonatomic, strong, nullable) GTLRCloudRedis_SpannerLocation *spannerLocation; + +@end + + /** * MachineConfiguration describes the configuration of a machine specific to * Database Resource. @@ -5096,6 +5559,13 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_ZoneDistributionConfig_Mode_Z */ @property(nonatomic, strong, nullable) NSNumber *memorySizeInBytes; +/** + * Optional. Number of shards (if applicable). + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *shardCount; + @end @@ -5514,6 +5984,21 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_ZoneDistributionConfig_Mode_Z @end +/** + * Message describing that the location of the customer resource is tied to + * placer allocations + */ +@interface GTLRCloudRedis_PlacerLocation : GTLRObject + +/** + * Directory with a config related to it in placer (e.g. + * "/placer/prod/home/my-root/my-dir") + */ +@property(nonatomic, copy, nullable) NSString *placerConfig; + +@end + + /** * Product specification for Condor resources. */ @@ -5628,35 +6113,42 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_ZoneDistributionConfig_Mode_Z @interface GTLRCloudRedis_PscConnection : GTLRObject /** - * Output only. The IP allocated on the consumer network for the PSC forwarding + * Required. The IP allocated on the consumer network for the PSC forwarding * rule. */ @property(nonatomic, copy, nullable) NSString *address; /** - * Output only. The URI of the consumer side forwarding rule. Example: + * Required. The URI of the consumer side forwarding rule. Example: * projects/{projectNumOrId}/regions/us-east1/forwardingRules/{resourceId}. */ @property(nonatomic, copy, nullable) NSString *forwardingRule; /** - * The consumer network where the IP address resides, in the form of + * Required. The consumer network where the IP address resides, in the form of * projects/{project_id}/global/networks/{network_id}. */ @property(nonatomic, copy, nullable) NSString *network; /** - * Output only. The consumer project_id where the forwarding rule is created - * from. + * Optional. Project ID of the consumer project where the forwarding rule is + * created in. */ @property(nonatomic, copy, nullable) NSString *projectId; /** - * Output only. The PSC connection id of the forwarding rule connected to the + * Optional. The PSC connection id of the forwarding rule connected to the * service attachment. */ @property(nonatomic, copy, nullable) NSString *pscConnectionId; +/** + * Required. The service attachment which is the target of the PSC connection, + * in the form of + * projects/{project-id}/regions/{region}/serviceAttachments/{service-attachment-id}. + */ +@property(nonatomic, copy, nullable) NSString *serviceAttachment; + @end @@ -5725,6 +6217,26 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_ZoneDistributionConfig_Mode_Z @end +/** + * To be used for specifying the intended distribution of regional + * compute.googleapis.com/InstanceGroupManager instances + */ +@interface GTLRCloudRedis_RegionalMigDistributionPolicy : GTLRObject + +/** + * The shape in which the group converges around distribution of resources. + * Instance of proto2 enum + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *targetShape; + +/** Cloud zones used by regional MIG to create instances. */ +@property(nonatomic, strong, nullable) NSArray *zones; + +@end + + /** * Details of the remote cluster associated with this cluster in a cross * cluster replication setup. @@ -5743,6 +6255,46 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_ZoneDistributionConfig_Mode_Z @end +/** + * GTLRCloudRedis_RequirementOverride + */ +@interface GTLRCloudRedis_RequirementOverride : GTLRObject + +/** + * ziOverride + * + * Likely values: + * @arg @c kGTLRCloudRedis_RequirementOverride_ZiOverride_ZiNotRequired Value + * "ZI_NOT_REQUIRED" + * @arg @c kGTLRCloudRedis_RequirementOverride_ZiOverride_ZiPreferred Value + * "ZI_PREFERRED" + * @arg @c kGTLRCloudRedis_RequirementOverride_ZiOverride_ZiRequired Value + * "ZI_REQUIRED" + * @arg @c kGTLRCloudRedis_RequirementOverride_ZiOverride_ZiUnknown To be + * used if tracking is not available (Value: "ZI_UNKNOWN") + * @arg @c kGTLRCloudRedis_RequirementOverride_ZiOverride_ZiUnspecified Value + * "ZI_UNSPECIFIED" + */ +@property(nonatomic, copy, nullable) NSString *ziOverride; + +/** + * zsOverride + * + * Likely values: + * @arg @c kGTLRCloudRedis_RequirementOverride_ZsOverride_ZsNotRequired Value + * "ZS_NOT_REQUIRED" + * @arg @c kGTLRCloudRedis_RequirementOverride_ZsOverride_ZsRequired Value + * "ZS_REQUIRED" + * @arg @c kGTLRCloudRedis_RequirementOverride_ZsOverride_ZsUnknown To be + * used if tracking is not available (Value: "ZS_UNKNOWN") + * @arg @c kGTLRCloudRedis_RequirementOverride_ZsOverride_ZsUnspecified Value + * "ZS_UNSPECIFIED" + */ +@property(nonatomic, copy, nullable) NSString *zsOverride; + +@end + + /** * Request for rescheduling a cluster maintenance. */ @@ -5842,6 +6394,23 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_ZoneDistributionConfig_Mode_Z @end +/** + * GTLRCloudRedis_SpannerLocation + */ +@interface GTLRCloudRedis_SpannerLocation : GTLRObject + +/** + * Set of backups used by the resource with name in the same format as what is + * available at http://table/spanner_automon.backup_metadata + */ +@property(nonatomic, strong, nullable) NSArray *backupName; + +/** Set of databases used by the resource in format /span// */ +@property(nonatomic, strong, nullable) NSArray *dbName; + +@end + + /** * Represents additional information about the state of the cluster. */ @@ -5898,6 +6467,41 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_ZoneDistributionConfig_Mode_Z @end +/** + * Message type for storing tags. Tags provide a way to create annotations for + * resources, and in some cases conditionally allow or deny policies based on + * whether a resource has a specific tag. + */ +@interface GTLRCloudRedis_Tags : GTLRObject + +/** The Tag key/value mappings. */ +@property(nonatomic, strong, nullable) GTLRCloudRedis_Tags_Tags *tags; + +@end + + +/** + * The Tag key/value mappings. + * + * @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 GTLRCloudRedis_Tags_Tags : GTLRObject +@end + + +/** + * GTLRCloudRedis_TenantProjectProxy + */ +@interface GTLRCloudRedis_TenantProjectProxy : GTLRObject + +@property(nonatomic, strong, nullable) NSArray *projectNumbers; + +@end + + /** * Represents a time of day. The date and time zone are either not significant * or are specified elsewhere. An API may choose to allow leap seconds. Related @@ -6100,6 +6704,21 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_ZoneDistributionConfig_Mode_Z @end +/** + * GTLRCloudRedis_ZoneConfiguration + */ +@interface GTLRCloudRedis_ZoneConfiguration : GTLRObject + +/** + * zoneProperty + * + * Remapped to 'zoneProperty' to avoid NSObject's 'zone'. + */ +@property(nonatomic, copy, nullable) NSString *zoneProperty; + +@end + + /** * Zone distribution config for allocation of cluster resources. */ diff --git a/Sources/GeneratedServices/CloudRetail/GTLRCloudRetailObjects.m b/Sources/GeneratedServices/CloudRetail/GTLRCloudRetailObjects.m index 1134b38b8..3596082a1 100644 --- a/Sources/GeneratedServices/CloudRetail/GTLRCloudRetailObjects.m +++ b/Sources/GeneratedServices/CloudRetail/GTLRCloudRetailObjects.m @@ -1053,6 +1053,42 @@ @implementation GTLRCloudRetail_GoogleCloudRetailV2Audience @end +// ---------------------------------------------------------------------------- +// +// GTLRCloudRetail_GoogleCloudRetailV2BatchUpdateGenerativeQuestionConfigsRequest +// + +@implementation GTLRCloudRetail_GoogleCloudRetailV2BatchUpdateGenerativeQuestionConfigsRequest +@dynamic requests; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"requests" : [GTLRCloudRetail_GoogleCloudRetailV2UpdateGenerativeQuestionConfigRequest class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRCloudRetail_GoogleCloudRetailV2BatchUpdateGenerativeQuestionConfigsResponse +// + +@implementation GTLRCloudRetail_GoogleCloudRetailV2BatchUpdateGenerativeQuestionConfigsResponse +@dynamic generativeQuestionConfigs; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"generativeQuestionConfigs" : [GTLRCloudRetail_GoogleCloudRetailV2GenerativeQuestionConfig class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRCloudRetail_GoogleCloudRetailV2betaAddFulfillmentPlacesMetadata @@ -1964,6 +2000,35 @@ @implementation GTLRCloudRetail_GoogleCloudRetailV2GcsSource @end +// ---------------------------------------------------------------------------- +// +// GTLRCloudRetail_GoogleCloudRetailV2GenerativeQuestionConfig +// + +@implementation GTLRCloudRetail_GoogleCloudRetailV2GenerativeQuestionConfig +@dynamic allowedInConversation, catalog, exampleValues, facet, finalQuestion, + frequency, generatedQuestion; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"exampleValues" : [NSString class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRCloudRetail_GoogleCloudRetailV2GenerativeQuestionsFeatureConfig +// + +@implementation GTLRCloudRetail_GoogleCloudRetailV2GenerativeQuestionsFeatureConfig +@dynamic catalog, featureEnabled, minimumProducts; +@end + + // ---------------------------------------------------------------------------- // // GTLRCloudRetail_GoogleCloudRetailV2GetDefaultBranchResponse @@ -2144,6 +2209,24 @@ + (NSString *)collectionItemsKey { @end +// ---------------------------------------------------------------------------- +// +// GTLRCloudRetail_GoogleCloudRetailV2ListGenerativeQuestionConfigsResponse +// + +@implementation GTLRCloudRetail_GoogleCloudRetailV2ListGenerativeQuestionConfigsResponse +@dynamic generativeQuestionConfigs; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"generativeQuestionConfigs" : [GTLRCloudRetail_GoogleCloudRetailV2GenerativeQuestionConfig class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRCloudRetail_GoogleCloudRetailV2ListModelsResponse @@ -2523,6 +2606,26 @@ + (Class)classForAdditionalProperties { @end +// ---------------------------------------------------------------------------- +// +// GTLRCloudRetail_GoogleCloudRetailV2ProductAttributeInterval +// + +@implementation GTLRCloudRetail_GoogleCloudRetailV2ProductAttributeInterval +@dynamic interval, name; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRCloudRetail_GoogleCloudRetailV2ProductAttributeValue +// + +@implementation GTLRCloudRetail_GoogleCloudRetailV2ProductAttributeValue +@dynamic name, value; +@end + + // ---------------------------------------------------------------------------- // // GTLRCloudRetail_GoogleCloudRetailV2ProductDetail @@ -3010,10 +3113,11 @@ @implementation GTLRCloudRetail_GoogleCloudRetailV2RuleTwowaySynonymsAction // @implementation GTLRCloudRetail_GoogleCloudRetailV2SearchRequest -@dynamic boostSpec, branch, canonicalFilter, dynamicFacetSpec, entity, - facetSpecs, filter, labels, offset, orderBy, pageCategories, pageSize, - pageToken, personalizationSpec, query, queryExpansionSpec, searchMode, - spellCorrectionSpec, userInfo, variantRollupKeys, visitorId; +@dynamic boostSpec, branch, canonicalFilter, conversationalSearchSpec, + dynamicFacetSpec, entity, facetSpecs, filter, labels, offset, orderBy, + pageCategories, pageSize, pageToken, personalizationSpec, query, + queryExpansionSpec, searchMode, spellCorrectionSpec, + tileNavigationSpec, userInfo, variantRollupKeys, visitorId; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -3069,6 +3173,44 @@ @implementation GTLRCloudRetail_GoogleCloudRetailV2SearchRequestBoostSpecConditi @end +// ---------------------------------------------------------------------------- +// +// GTLRCloudRetail_GoogleCloudRetailV2SearchRequestConversationalSearchSpec +// + +@implementation GTLRCloudRetail_GoogleCloudRetailV2SearchRequestConversationalSearchSpec +@dynamic conversationId, followupConversationRequested, userAnswer; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRCloudRetail_GoogleCloudRetailV2SearchRequestConversationalSearchSpecUserAnswer +// + +@implementation GTLRCloudRetail_GoogleCloudRetailV2SearchRequestConversationalSearchSpecUserAnswer +@dynamic selectedAnswer, textAnswer; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRCloudRetail_GoogleCloudRetailV2SearchRequestConversationalSearchSpecUserAnswerSelectedAnswer +// + +@implementation GTLRCloudRetail_GoogleCloudRetailV2SearchRequestConversationalSearchSpecUserAnswerSelectedAnswer +@dynamic productAttributeValue, productAttributeValues; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"productAttributeValues" : [GTLRCloudRetail_GoogleCloudRetailV2ProductAttributeValue class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRCloudRetail_GoogleCloudRetailV2SearchRequestDynamicFacetSpec @@ -3149,15 +3291,34 @@ @implementation GTLRCloudRetail_GoogleCloudRetailV2SearchRequestSpellCorrectionS @end +// ---------------------------------------------------------------------------- +// +// GTLRCloudRetail_GoogleCloudRetailV2SearchRequestTileNavigationSpec +// + +@implementation GTLRCloudRetail_GoogleCloudRetailV2SearchRequestTileNavigationSpec +@dynamic appliedTiles, tileNavigationRequested; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"appliedTiles" : [GTLRCloudRetail_GoogleCloudRetailV2Tile class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRCloudRetail_GoogleCloudRetailV2SearchResponse // @implementation GTLRCloudRetail_GoogleCloudRetailV2SearchResponse -@dynamic appliedControls, attributionToken, correctedQuery, experimentInfo, - facets, invalidConditionBoostSpecs, nextPageToken, queryExpansionInfo, - redirectUri, results, totalSize; +@dynamic appliedControls, attributionToken, conversationalSearchResult, + correctedQuery, experimentInfo, facets, invalidConditionBoostSpecs, + nextPageToken, queryExpansionInfo, redirectUri, results, + tileNavigationResult, totalSize; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -3173,6 +3334,46 @@ @implementation GTLRCloudRetail_GoogleCloudRetailV2SearchResponse @end +// ---------------------------------------------------------------------------- +// +// GTLRCloudRetail_GoogleCloudRetailV2SearchResponseConversationalSearchResult +// + +@implementation GTLRCloudRetail_GoogleCloudRetailV2SearchResponseConversationalSearchResult +@dynamic additionalFilter, additionalFilters, conversationId, followupQuestion, + refinedQuery, suggestedAnswers; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"additionalFilters" : [GTLRCloudRetail_GoogleCloudRetailV2SearchResponseConversationalSearchResultAdditionalFilter class], + @"suggestedAnswers" : [GTLRCloudRetail_GoogleCloudRetailV2SearchResponseConversationalSearchResultSuggestedAnswer class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRCloudRetail_GoogleCloudRetailV2SearchResponseConversationalSearchResultAdditionalFilter +// + +@implementation GTLRCloudRetail_GoogleCloudRetailV2SearchResponseConversationalSearchResultAdditionalFilter +@dynamic productAttributeValue; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRCloudRetail_GoogleCloudRetailV2SearchResponseConversationalSearchResultSuggestedAnswer +// + +@implementation GTLRCloudRetail_GoogleCloudRetailV2SearchResponseConversationalSearchResultSuggestedAnswer +@dynamic productAttributeValue; +@end + + // ---------------------------------------------------------------------------- // // GTLRCloudRetail_GoogleCloudRetailV2SearchResponseFacet @@ -3262,6 +3463,24 @@ + (Class)classForAdditionalProperties { @end +// ---------------------------------------------------------------------------- +// +// GTLRCloudRetail_GoogleCloudRetailV2SearchResponseTileNavigationResult +// + +@implementation GTLRCloudRetail_GoogleCloudRetailV2SearchResponseTileNavigationResult +@dynamic tiles; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"tiles" : [GTLRCloudRetail_GoogleCloudRetailV2Tile class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRCloudRetail_GoogleCloudRetailV2ServingConfig @@ -3332,6 +3551,17 @@ @implementation GTLRCloudRetail_GoogleCloudRetailV2SetInventoryResponse @end +// ---------------------------------------------------------------------------- +// +// GTLRCloudRetail_GoogleCloudRetailV2Tile +// + +@implementation GTLRCloudRetail_GoogleCloudRetailV2Tile +@dynamic productAttributeInterval, productAttributeValue, + representativeProductId; +@end + + // ---------------------------------------------------------------------------- // // GTLRCloudRetail_GoogleCloudRetailV2TuneModelMetadata @@ -3360,6 +3590,16 @@ @implementation GTLRCloudRetail_GoogleCloudRetailV2TuneModelResponse @end +// ---------------------------------------------------------------------------- +// +// GTLRCloudRetail_GoogleCloudRetailV2UpdateGenerativeQuestionConfigRequest +// + +@implementation GTLRCloudRetail_GoogleCloudRetailV2UpdateGenerativeQuestionConfigRequest +@dynamic generativeQuestionConfig, updateMask; +@end + + // ---------------------------------------------------------------------------- // // GTLRCloudRetail_GoogleCloudRetailV2UserEvent diff --git a/Sources/GeneratedServices/CloudRetail/GTLRCloudRetailQuery.m b/Sources/GeneratedServices/CloudRetail/GTLRCloudRetailQuery.m index 6e20e9a92..d3e8bf105 100644 --- a/Sources/GeneratedServices/CloudRetail/GTLRCloudRetailQuery.m +++ b/Sources/GeneratedServices/CloudRetail/GTLRCloudRetailQuery.m @@ -611,6 +611,52 @@ + (instancetype)queryWithObject:(GTLRCloudRetail_GoogleCloudRetailV2ExportAnalyt @end +@implementation GTLRCloudRetailQuery_ProjectsLocationsCatalogsGenerativeQuestionBatchUpdate + +@dynamic parent; + ++ (instancetype)queryWithObject:(GTLRCloudRetail_GoogleCloudRetailV2BatchUpdateGenerativeQuestionConfigsRequest *)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 = @"v2/{+parent}/generativeQuestion:batchUpdate"; + GTLRCloudRetailQuery_ProjectsLocationsCatalogsGenerativeQuestionBatchUpdate *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.parent = parent; + query.expectedObjectClass = [GTLRCloudRetail_GoogleCloudRetailV2BatchUpdateGenerativeQuestionConfigsResponse class]; + query.loggingName = @"retail.projects.locations.catalogs.generativeQuestion.batchUpdate"; + return query; +} + +@end + +@implementation GTLRCloudRetailQuery_ProjectsLocationsCatalogsGenerativeQuestionsList + +@dynamic parent; + ++ (instancetype)queryWithParent:(NSString *)parent { + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v2/{+parent}/generativeQuestions"; + GTLRCloudRetailQuery_ProjectsLocationsCatalogsGenerativeQuestionsList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.parent = parent; + query.expectedObjectClass = [GTLRCloudRetail_GoogleCloudRetailV2ListGenerativeQuestionConfigsResponse class]; + query.loggingName = @"retail.projects.locations.catalogs.generativeQuestions.list"; + return query; +} + +@end + @implementation GTLRCloudRetailQuery_ProjectsLocationsCatalogsGetAttributesConfig @dynamic name; @@ -668,6 +714,25 @@ + (instancetype)queryWithCatalog:(NSString *)catalog { @end +@implementation GTLRCloudRetailQuery_ProjectsLocationsCatalogsGetGenerativeQuestionFeature + +@dynamic catalog; + ++ (instancetype)queryWithCatalog:(NSString *)catalog { + NSArray *pathParams = @[ @"catalog" ]; + NSString *pathURITemplate = @"v2/{+catalog}/generativeQuestionFeature"; + GTLRCloudRetailQuery_ProjectsLocationsCatalogsGetGenerativeQuestionFeature *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.catalog = catalog; + query.expectedObjectClass = [GTLRCloudRetail_GoogleCloudRetailV2GenerativeQuestionsFeatureConfig class]; + query.loggingName = @"retail.projects.locations.catalogs.getGenerativeQuestionFeature"; + return query; +} + +@end + @implementation GTLRCloudRetailQuery_ProjectsLocationsCatalogsList @dynamic pageSize, pageToken, parent; @@ -1298,6 +1363,60 @@ + (instancetype)queryWithObject:(GTLRCloudRetail_GoogleCloudRetailV2CompletionCo @end +@implementation GTLRCloudRetailQuery_ProjectsLocationsCatalogsUpdateGenerativeQuestion + +@dynamic catalog, updateMask; + ++ (instancetype)queryWithObject:(GTLRCloudRetail_GoogleCloudRetailV2GenerativeQuestionConfig *)object + catalog:(NSString *)catalog { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSArray *pathParams = @[ @"catalog" ]; + NSString *pathURITemplate = @"v2/{+catalog}/generativeQuestion"; + GTLRCloudRetailQuery_ProjectsLocationsCatalogsUpdateGenerativeQuestion *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"PATCH" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.catalog = catalog; + query.expectedObjectClass = [GTLRCloudRetail_GoogleCloudRetailV2GenerativeQuestionConfig class]; + query.loggingName = @"retail.projects.locations.catalogs.updateGenerativeQuestion"; + return query; +} + +@end + +@implementation GTLRCloudRetailQuery_ProjectsLocationsCatalogsUpdateGenerativeQuestionFeature + +@dynamic catalog, updateMask; + ++ (instancetype)queryWithObject:(GTLRCloudRetail_GoogleCloudRetailV2GenerativeQuestionsFeatureConfig *)object + catalog:(NSString *)catalog { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSArray *pathParams = @[ @"catalog" ]; + NSString *pathURITemplate = @"v2/{+catalog}/generativeQuestionFeature"; + GTLRCloudRetailQuery_ProjectsLocationsCatalogsUpdateGenerativeQuestionFeature *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"PATCH" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.catalog = catalog; + query.expectedObjectClass = [GTLRCloudRetail_GoogleCloudRetailV2GenerativeQuestionsFeatureConfig class]; + query.loggingName = @"retail.projects.locations.catalogs.updateGenerativeQuestionFeature"; + return query; +} + +@end + @implementation GTLRCloudRetailQuery_ProjectsLocationsCatalogsUserEventsCollect @dynamic ets, parent, prebuiltRule, rawJson, uri, userEvent; diff --git a/Sources/GeneratedServices/CloudRetail/Public/GoogleAPIClientForREST/GTLRCloudRetailObjects.h b/Sources/GeneratedServices/CloudRetail/Public/GoogleAPIClientForREST/GTLRCloudRetailObjects.h index 7cf149afa..e1147a2d5 100644 --- a/Sources/GeneratedServices/CloudRetail/Public/GoogleAPIClientForREST/GTLRCloudRetailObjects.h +++ b/Sources/GeneratedServices/CloudRetail/Public/GoogleAPIClientForREST/GTLRCloudRetailObjects.h @@ -78,6 +78,7 @@ @class GTLRCloudRetail_GoogleCloudRetailV2FulfillmentInfo; @class GTLRCloudRetail_GoogleCloudRetailV2GcsOutputResult; @class GTLRCloudRetail_GoogleCloudRetailV2GcsSource; +@class GTLRCloudRetail_GoogleCloudRetailV2GenerativeQuestionConfig; @class GTLRCloudRetail_GoogleCloudRetailV2Image; @class GTLRCloudRetail_GoogleCloudRetailV2ImportErrorsConfig; @class GTLRCloudRetail_GoogleCloudRetailV2Interval; @@ -99,6 +100,8 @@ @class GTLRCloudRetail_GoogleCloudRetailV2PriceInfoPriceRange; @class GTLRCloudRetail_GoogleCloudRetailV2Product; @class GTLRCloudRetail_GoogleCloudRetailV2Product_Attributes; +@class GTLRCloudRetail_GoogleCloudRetailV2ProductAttributeInterval; +@class GTLRCloudRetail_GoogleCloudRetailV2ProductAttributeValue; @class GTLRCloudRetail_GoogleCloudRetailV2ProductDetail; @class GTLRCloudRetail_GoogleCloudRetailV2ProductInlineSource; @class GTLRCloudRetail_GoogleCloudRetailV2ProductInputConfig; @@ -121,19 +124,29 @@ @class GTLRCloudRetail_GoogleCloudRetailV2SearchRequest_Labels; @class GTLRCloudRetail_GoogleCloudRetailV2SearchRequestBoostSpec; @class GTLRCloudRetail_GoogleCloudRetailV2SearchRequestBoostSpecConditionBoostSpec; +@class GTLRCloudRetail_GoogleCloudRetailV2SearchRequestConversationalSearchSpec; +@class GTLRCloudRetail_GoogleCloudRetailV2SearchRequestConversationalSearchSpecUserAnswer; +@class GTLRCloudRetail_GoogleCloudRetailV2SearchRequestConversationalSearchSpecUserAnswerSelectedAnswer; @class GTLRCloudRetail_GoogleCloudRetailV2SearchRequestDynamicFacetSpec; @class GTLRCloudRetail_GoogleCloudRetailV2SearchRequestFacetSpec; @class GTLRCloudRetail_GoogleCloudRetailV2SearchRequestFacetSpecFacetKey; @class GTLRCloudRetail_GoogleCloudRetailV2SearchRequestPersonalizationSpec; @class GTLRCloudRetail_GoogleCloudRetailV2SearchRequestQueryExpansionSpec; @class GTLRCloudRetail_GoogleCloudRetailV2SearchRequestSpellCorrectionSpec; +@class GTLRCloudRetail_GoogleCloudRetailV2SearchRequestTileNavigationSpec; +@class GTLRCloudRetail_GoogleCloudRetailV2SearchResponseConversationalSearchResult; +@class GTLRCloudRetail_GoogleCloudRetailV2SearchResponseConversationalSearchResultAdditionalFilter; +@class GTLRCloudRetail_GoogleCloudRetailV2SearchResponseConversationalSearchResultSuggestedAnswer; @class GTLRCloudRetail_GoogleCloudRetailV2SearchResponseFacet; @class GTLRCloudRetail_GoogleCloudRetailV2SearchResponseFacetFacetValue; @class GTLRCloudRetail_GoogleCloudRetailV2SearchResponseQueryExpansionInfo; @class GTLRCloudRetail_GoogleCloudRetailV2SearchResponseSearchResult; @class GTLRCloudRetail_GoogleCloudRetailV2SearchResponseSearchResult_MatchingVariantFields; @class GTLRCloudRetail_GoogleCloudRetailV2SearchResponseSearchResult_VariantRollupValues; +@class GTLRCloudRetail_GoogleCloudRetailV2SearchResponseTileNavigationResult; @class GTLRCloudRetail_GoogleCloudRetailV2ServingConfig; +@class GTLRCloudRetail_GoogleCloudRetailV2Tile; +@class GTLRCloudRetail_GoogleCloudRetailV2UpdateGenerativeQuestionConfigRequest; @class GTLRCloudRetail_GoogleCloudRetailV2UserEvent; @class GTLRCloudRetail_GoogleCloudRetailV2UserEvent_Attributes; @class GTLRCloudRetail_GoogleCloudRetailV2UserEventImportSummary; @@ -2758,6 +2771,28 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudRetail_GoogleCloudRetailV2ServingCo @end +/** + * Request for BatchUpdateGenerativeQuestionConfig method. + */ +@interface GTLRCloudRetail_GoogleCloudRetailV2BatchUpdateGenerativeQuestionConfigsRequest : GTLRObject + +/** Required. The updates question configs. */ +@property(nonatomic, strong, nullable) NSArray *requests; + +@end + + +/** + * Aggregated response for UpdateGenerativeQuestionConfig method. + */ +@interface GTLRCloudRetail_GoogleCloudRetailV2BatchUpdateGenerativeQuestionConfigsResponse : GTLRObject + +/** Optional. The updates question configs. */ +@property(nonatomic, strong, nullable) NSArray *generativeQuestionConfigs; + +@end + + /** * Metadata related to the progress of the AddFulfillmentPlaces operation. * Currently empty because there is no meaningful metadata populated from the @@ -4554,6 +4589,81 @@ GTLR_DEPRECATED @end +/** + * Configuration for a single generated question. + */ +@interface GTLRCloudRetail_GoogleCloudRetailV2GenerativeQuestionConfig : GTLRObject + +/** + * Optional. Whether the question is asked at serving time. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *allowedInConversation; + +/** + * Required. Resource name of the catalog. Format: + * projects/{project}/locations/{location}/catalogs/{catalog} + */ +@property(nonatomic, copy, nullable) NSString *catalog; + +/** Output only. Values that can be used to answer the question. */ +@property(nonatomic, strong, nullable) NSArray *exampleValues; + +/** Required. The facet to which the question is associated. */ +@property(nonatomic, copy, nullable) NSString *facet; + +/** + * Optional. The question that will be used at serving time. Question can have + * a max length of 300 bytes. When not populated, generated_question should be + * used. + */ +@property(nonatomic, copy, nullable) NSString *finalQuestion; + +/** + * Output only. The ratio of how often a question was asked. + * + * Uses NSNumber of floatValue. + */ +@property(nonatomic, strong, nullable) NSNumber *frequency; + +/** Output only. The LLM generated question. */ +@property(nonatomic, copy, nullable) NSString *generatedQuestion; + +@end + + +/** + * Configuration for overall generative question feature state. + */ +@interface GTLRCloudRetail_GoogleCloudRetailV2GenerativeQuestionsFeatureConfig : GTLRObject + +/** + * Required. Resource name of the affected catalog. Format: + * projects/{project}/locations/{location}/catalogs/{catalog} + */ +@property(nonatomic, copy, nullable) NSString *catalog; + +/** + * Optional. Determines whether questions will be used at serving time. Note: + * This feature cannot be enabled until initial data requirements are + * satisfied. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *featureEnabled; + +/** + * Optional. Minimum number of products in the response to trigger follow-up + * questions. Value must be 0 or positive. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *minimumProducts; + +@end + + /** * Response message of CatalogService.GetDefaultBranch. */ @@ -4901,6 +5011,17 @@ GTLR_DEPRECATED @end +/** + * Response for ListQuestions method. + */ +@interface GTLRCloudRetail_GoogleCloudRetailV2ListGenerativeQuestionConfigsResponse : GTLRObject + +/** All the questions for a given catalog. */ +@property(nonatomic, strong, nullable) NSArray *generativeQuestionConfigs; + +@end + + /** * Response to a ListModelRequest. * @@ -6119,6 +6240,36 @@ GTLR_DEPRECATED @end +/** + * Product attribute name and numeric interval. + */ +@interface GTLRCloudRetail_GoogleCloudRetailV2ProductAttributeInterval : GTLRObject + +/** The numeric interval (e.g. [10, 20)) */ +@property(nonatomic, strong, nullable) GTLRCloudRetail_GoogleCloudRetailV2Interval *interval; + +/** The attribute name (e.g. "length") */ +@property(nonatomic, copy, nullable) NSString *name; + +@end + + +/** + * Product attribute which structured by an attribute name and value. This + * structure is used in conversational search filters and answers. For example, + * if we have `name=color` and `value=red`, this means that the color is `red`. + */ +@interface GTLRCloudRetail_GoogleCloudRetailV2ProductAttributeValue : GTLRObject + +/** The attribute name. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** The attribute value. */ +@property(nonatomic, copy, nullable) NSString *value; + +@end + + /** * Detailed product information associated with a user event. */ @@ -7008,6 +7159,12 @@ GTLR_DEPRECATED */ @property(nonatomic, copy, nullable) NSString *canonicalFilter; +/** + * Optional. This field specifies all conversational related parameters + * addition to traditional retail search. + */ +@property(nonatomic, strong, nullable) GTLRCloudRetail_GoogleCloudRetailV2SearchRequestConversationalSearchSpec *conversationalSearchSpec; + /** * Deprecated. Refer to https://cloud.google.com/retail/docs/configs#dynamic to * enable dynamic facets. Do not set this field. The specification for @@ -7160,6 +7317,9 @@ GTLR_DEPRECATED */ @property(nonatomic, strong, nullable) GTLRCloudRetail_GoogleCloudRetailV2SearchRequestSpellCorrectionSpec *spellCorrectionSpec; +/** Optional. This field specifies tile navigation related parameters. */ +@property(nonatomic, strong, nullable) GTLRCloudRetail_GoogleCloudRetailV2SearchRequestTileNavigationSpec *tileNavigationSpec; + /** User information. */ @property(nonatomic, strong, nullable) GTLRCloudRetail_GoogleCloudRetailV2UserInfo *userInfo; @@ -7291,6 +7451,79 @@ GTLR_DEPRECATED @end +/** + * This field specifies all conversational related parameters addition to + * traditional retail search. + */ +@interface GTLRCloudRetail_GoogleCloudRetailV2SearchRequestConversationalSearchSpec : GTLRObject + +/** + * This field specifies the conversation id, which maintains the state of the + * conversation between client side and server side. Use the value from the + * previous ConversationalSearchResult.conversation_id. For the initial + * request, this should be empty. + */ +@property(nonatomic, copy, nullable) NSString *conversationId; + +/** + * This field specifies whether the customer would like to do conversational + * search. If this field is set to true, conversational related extra + * information will be returned from server side, including follow-up question, + * answer options, etc. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *followupConversationRequested; + +/** + * This field specifies the current user answer during the conversational + * search. This can be either user selected from suggested answers or user + * input plain text. + */ +@property(nonatomic, strong, nullable) GTLRCloudRetail_GoogleCloudRetailV2SearchRequestConversationalSearchSpecUserAnswer *userAnswer; + +@end + + +/** + * This field specifies the current user answer during the conversational + * search. This can be either user selected from suggested answers or user + * input plain text. + */ +@interface GTLRCloudRetail_GoogleCloudRetailV2SearchRequestConversationalSearchSpecUserAnswer : GTLRObject + +/** + * This field specifies the selected attributes during the conversational + * search. This should be a subset of + * ConversationalSearchResult.suggested_answers. + */ +@property(nonatomic, strong, nullable) GTLRCloudRetail_GoogleCloudRetailV2SearchRequestConversationalSearchSpecUserAnswerSelectedAnswer *selectedAnswer; + +/** + * This field specifies the incremental input text from the user during the + * conversational search. + */ +@property(nonatomic, copy, nullable) NSString *textAnswer; + +@end + + +/** + * This field specifies the selected answers during the conversational search. + */ +@interface GTLRCloudRetail_GoogleCloudRetailV2SearchRequestConversationalSearchSpecUserAnswerSelectedAnswer : GTLRObject + +/** + * This field specifies the selected answer which is a attribute key-value. + */ +@property(nonatomic, strong, nullable) GTLRCloudRetail_GoogleCloudRetailV2ProductAttributeValue *productAttributeValue; + +/** This field is deprecated and should not be set. */ +@property(nonatomic, strong, nullable) NSArray *productAttributeValues GTLR_DEPRECATED; + +@end + + /** * The specifications of dynamically generated facets. */ @@ -7575,6 +7808,29 @@ GTLR_DEPRECATED @end +/** + * This field specifies tile navigation related parameters. + */ +@interface GTLRCloudRetail_GoogleCloudRetailV2SearchRequestTileNavigationSpec : GTLRObject + +/** + * This field specifies the tiles which are already clicked in client side. + * NOTE: This field is not being used for filtering search products. Client + * side should also put all the applied tiles in SearchRequest.filter. + */ +@property(nonatomic, strong, nullable) NSArray *appliedTiles; + +/** + * This field specifies whether the customer would like to request tile + * navigation. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *tileNavigationRequested; + +@end + + /** * Response message for SearchService.Search method. */ @@ -7593,6 +7849,12 @@ GTLR_DEPRECATED */ @property(nonatomic, copy, nullable) NSString *attributionToken; +/** + * This field specifies all related information that is needed on client side + * for UI rendering of conversational retail search. + */ +@property(nonatomic, strong, nullable) GTLRCloudRetail_GoogleCloudRetailV2SearchResponseConversationalSearchResult *conversationalSearchResult; + /** * Contains the spell corrected query, if found. If the spell correction type * is AUTOMATIC, then the search results are based on corrected_query. @@ -7634,6 +7896,12 @@ GTLR_DEPRECATED /** A list of matched items. The order represents the ranking. */ @property(nonatomic, strong, nullable) NSArray *results; +/** + * This field specifies all related information for tile navigation that will + * be used in client side. + */ +@property(nonatomic, strong, nullable) GTLRCloudRetail_GoogleCloudRetailV2SearchResponseTileNavigationResult *tileNavigationResult; + /** * The estimated total count of matched items irrespective of pagination. The * count of results returned by pagination may be less than the total_size that @@ -7646,6 +7914,82 @@ GTLR_DEPRECATED @end +/** + * This field specifies all related information that is needed on client side + * for UI rendering of conversational retail search. + */ +@interface GTLRCloudRetail_GoogleCloudRetailV2SearchResponseConversationalSearchResult : GTLRObject + +/** + * This is the incremental additional filters implied from the current user + * answer. User should add the suggested addition filters to the previous + * SearchRequest.filter, and use the merged filter in the follow up search + * request. + */ +@property(nonatomic, strong, nullable) GTLRCloudRetail_GoogleCloudRetailV2SearchResponseConversationalSearchResultAdditionalFilter *additionalFilter; + +/** + * This field is deprecated but will be kept for backward compatibility. There + * is expected to have only one additional filter and the value will be the + * same to the same as field `additional_filter`. + */ +@property(nonatomic, strong, nullable) NSArray *additionalFilters GTLR_DEPRECATED; + +/** + * Conversation UUID. This field will be stored in client side storage to + * maintain the conversation session with server and will be used for next + * search request's SearchRequest.ConversationalSearchSpec.conversation_id to + * restore conversation state in server. + */ +@property(nonatomic, copy, nullable) NSString *conversationId; + +/** The follow-up question. e.g., `What is the color?` */ +@property(nonatomic, copy, nullable) NSString *followupQuestion; + +/** + * The current refined query for the conversational search. This field will be + * used in customer UI that the query in the search bar should be replaced with + * the refined query. For example, if SearchRequest.query is `dress` and next + * SearchRequest.ConversationalSearchSpec.UserAnswer.text_answer is `red + * color`, which does not match any product attribute value filters, the + * refined query will be `dress, red color`. + */ +@property(nonatomic, copy, nullable) NSString *refinedQuery; + +/** The answer options provided to client for the follow-up question. */ +@property(nonatomic, strong, nullable) NSArray *suggestedAnswers; + +@end + + +/** + * Additional filter that client side need to apply. + */ +@interface GTLRCloudRetail_GoogleCloudRetailV2SearchResponseConversationalSearchResultAdditionalFilter : GTLRObject + +/** + * Product attribute value, including an attribute key and an attribute value. + * Other types can be added here in the future. + */ +@property(nonatomic, strong, nullable) GTLRCloudRetail_GoogleCloudRetailV2ProductAttributeValue *productAttributeValue; + +@end + + +/** + * Suggested answers to the follow-up question. + */ +@interface GTLRCloudRetail_GoogleCloudRetailV2SearchResponseConversationalSearchResultSuggestedAnswer : GTLRObject + +/** + * Product attribute value, including an attribute key and an attribute value. + * Other types can be added here in the future. + */ +@property(nonatomic, strong, nullable) GTLRCloudRetail_GoogleCloudRetailV2ProductAttributeValue *productAttributeValue; + +@end + + /** * A facet result. */ @@ -7845,6 +8189,20 @@ GTLR_DEPRECATED @end +/** + * This field specifies all related information for tile navigation that will + * be used in client side. + */ +@interface GTLRCloudRetail_GoogleCloudRetailV2SearchResponseTileNavigationResult : GTLRObject + +/** + * The current tiles that are used for tile navigation, sorted by engagement. + */ +@property(nonatomic, strong, nullable) NSArray *tiles; + +@end + + /** * Configures metadata that is used to generate serving time results (e.g. * search results or recommendation predictions). @@ -8148,6 +8506,25 @@ GTLR_DEPRECATED @end +/** + * This field specifies the tile information including an attribute key, + * attribute value. More fields will be added in the future, eg: product id or + * product counts, etc. + */ +@interface GTLRCloudRetail_GoogleCloudRetailV2Tile : GTLRObject + +/** The product attribute key-numeric interval. */ +@property(nonatomic, strong, nullable) GTLRCloudRetail_GoogleCloudRetailV2ProductAttributeInterval *productAttributeInterval; + +/** The product attribute key-value. */ +@property(nonatomic, strong, nullable) GTLRCloudRetail_GoogleCloudRetailV2ProductAttributeValue *productAttributeValue; + +/** The representative product id for this tile. */ +@property(nonatomic, copy, nullable) NSString *representativeProductId; + +@end + + /** * Metadata associated with a tune operation. */ @@ -8177,6 +8554,27 @@ GTLR_DEPRECATED @end +/** + * Request for UpdateGenerativeQuestionConfig method. + */ +@interface GTLRCloudRetail_GoogleCloudRetailV2UpdateGenerativeQuestionConfigRequest : GTLRObject + +/** Required. The question to update. */ +@property(nonatomic, strong, nullable) GTLRCloudRetail_GoogleCloudRetailV2GenerativeQuestionConfig *generativeQuestionConfig; + +/** + * Optional. Indicates which fields in the provided GenerativeQuestionConfig to + * update. The following are NOT supported: * + * GenerativeQuestionConfig.frequency If not set or empty, all supported fields + * are updated. + * + * String format is a comma-separated list of fields. + */ +@property(nonatomic, copy, nullable) NSString *updateMask; + +@end + + /** * UserEvent captures all metadata information Retail API needs to know about * how end users interact with customers' website. diff --git a/Sources/GeneratedServices/CloudRetail/Public/GoogleAPIClientForREST/GTLRCloudRetailQuery.h b/Sources/GeneratedServices/CloudRetail/Public/GoogleAPIClientForREST/GTLRCloudRetailQuery.h index a7f3d311c..0a45cfd7b 100644 --- a/Sources/GeneratedServices/CloudRetail/Public/GoogleAPIClientForREST/GTLRCloudRetailQuery.h +++ b/Sources/GeneratedServices/CloudRetail/Public/GoogleAPIClientForREST/GTLRCloudRetailQuery.h @@ -1248,6 +1248,72 @@ NS_ASSUME_NONNULL_BEGIN @end +/** + * Allows management of multiple questions. + * + * Method: retail.projects.locations.catalogs.generativeQuestion.batchUpdate + * + * Authorization scope(s): + * @c kGTLRAuthScopeCloudRetailCloudPlatform + */ +@interface GTLRCloudRetailQuery_ProjectsLocationsCatalogsGenerativeQuestionBatchUpdate : GTLRCloudRetailQuery + +/** + * Optional. Resource name of the parent catalog. Format: + * projects/{project}/locations/{location}/catalogs/{catalog} + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c + * GTLRCloudRetail_GoogleCloudRetailV2BatchUpdateGenerativeQuestionConfigsResponse. + * + * Allows management of multiple questions. + * + * @param object The @c + * GTLRCloudRetail_GoogleCloudRetailV2BatchUpdateGenerativeQuestionConfigsRequest + * to include in the query. + * @param parent Optional. Resource name of the parent catalog. Format: + * projects/{project}/locations/{location}/catalogs/{catalog} + * + * @return GTLRCloudRetailQuery_ProjectsLocationsCatalogsGenerativeQuestionBatchUpdate + */ ++ (instancetype)queryWithObject:(GTLRCloudRetail_GoogleCloudRetailV2BatchUpdateGenerativeQuestionConfigsRequest *)object + parent:(NSString *)parent; + +@end + +/** + * Returns all questions for a given catalog. + * + * Method: retail.projects.locations.catalogs.generativeQuestions.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeCloudRetailCloudPlatform + */ +@interface GTLRCloudRetailQuery_ProjectsLocationsCatalogsGenerativeQuestionsList : GTLRCloudRetailQuery + +/** + * Required. Resource name of the parent catalog. Format: + * projects/{project}/locations/{location}/catalogs/{catalog} + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c + * GTLRCloudRetail_GoogleCloudRetailV2ListGenerativeQuestionConfigsResponse. + * + * Returns all questions for a given catalog. + * + * @param parent Required. Resource name of the parent catalog. Format: + * projects/{project}/locations/{location}/catalogs/{catalog} + * + * @return GTLRCloudRetailQuery_ProjectsLocationsCatalogsGenerativeQuestionsList + */ ++ (instancetype)queryWithParent:(NSString *)parent; + +@end + /** * Gets an AttributesConfig. * @@ -1340,6 +1406,39 @@ NS_ASSUME_NONNULL_BEGIN @end +/** + * Manages overal generative question feature state -- enables toggling feature + * on and off. + * + * Method: retail.projects.locations.catalogs.getGenerativeQuestionFeature + * + * Authorization scope(s): + * @c kGTLRAuthScopeCloudRetailCloudPlatform + */ +@interface GTLRCloudRetailQuery_ProjectsLocationsCatalogsGetGenerativeQuestionFeature : GTLRCloudRetailQuery + +/** + * Required. Resource name of the parent catalog. Format: + * projects/{project}/locations/{location}/catalogs/{catalog} + */ +@property(nonatomic, copy, nullable) NSString *catalog; + +/** + * Fetches a @c + * GTLRCloudRetail_GoogleCloudRetailV2GenerativeQuestionsFeatureConfig. + * + * Manages overal generative question feature state -- enables toggling feature + * on and off. + * + * @param catalog Required. Resource name of the parent catalog. Format: + * projects/{project}/locations/{location}/catalogs/{catalog} + * + * @return GTLRCloudRetailQuery_ProjectsLocationsCatalogsGetGenerativeQuestionFeature + */ ++ (instancetype)queryWithCatalog:(NSString *)catalog; + +@end + /** * Lists all the Catalogs associated with the project. * @@ -2444,6 +2543,96 @@ NS_ASSUME_NONNULL_BEGIN @end +/** + * Allows management of individual questions. + * + * Method: retail.projects.locations.catalogs.updateGenerativeQuestion + * + * Authorization scope(s): + * @c kGTLRAuthScopeCloudRetailCloudPlatform + */ +@interface GTLRCloudRetailQuery_ProjectsLocationsCatalogsUpdateGenerativeQuestion : GTLRCloudRetailQuery + +/** + * Required. Resource name of the catalog. Format: + * projects/{project}/locations/{location}/catalogs/{catalog} + */ +@property(nonatomic, copy, nullable) NSString *catalog; + +/** + * Optional. Indicates which fields in the provided GenerativeQuestionConfig to + * update. The following are NOT supported: * + * GenerativeQuestionConfig.frequency If not set or empty, all supported fields + * are updated. + * + * String format is a comma-separated list of fields. + */ +@property(nonatomic, copy, nullable) NSString *updateMask; + +/** + * Fetches a @c GTLRCloudRetail_GoogleCloudRetailV2GenerativeQuestionConfig. + * + * Allows management of individual questions. + * + * @param object The @c + * GTLRCloudRetail_GoogleCloudRetailV2GenerativeQuestionConfig to include in + * the query. + * @param catalog Required. Resource name of the catalog. Format: + * projects/{project}/locations/{location}/catalogs/{catalog} + * + * @return GTLRCloudRetailQuery_ProjectsLocationsCatalogsUpdateGenerativeQuestion + */ ++ (instancetype)queryWithObject:(GTLRCloudRetail_GoogleCloudRetailV2GenerativeQuestionConfig *)object + catalog:(NSString *)catalog; + +@end + +/** + * Manages overal generative question feature state -- enables toggling feature + * on and off. + * + * Method: retail.projects.locations.catalogs.updateGenerativeQuestionFeature + * + * Authorization scope(s): + * @c kGTLRAuthScopeCloudRetailCloudPlatform + */ +@interface GTLRCloudRetailQuery_ProjectsLocationsCatalogsUpdateGenerativeQuestionFeature : GTLRCloudRetailQuery + +/** + * Required. Resource name of the affected catalog. Format: + * projects/{project}/locations/{location}/catalogs/{catalog} + */ +@property(nonatomic, copy, nullable) NSString *catalog; + +/** + * Optional. Indicates which fields in the provided + * GenerativeQuestionsFeatureConfig to update. If not set or empty, all + * supported fields are updated. + * + * String format is a comma-separated list of fields. + */ +@property(nonatomic, copy, nullable) NSString *updateMask; + +/** + * Fetches a @c + * GTLRCloudRetail_GoogleCloudRetailV2GenerativeQuestionsFeatureConfig. + * + * Manages overal generative question feature state -- enables toggling feature + * on and off. + * + * @param object The @c + * GTLRCloudRetail_GoogleCloudRetailV2GenerativeQuestionsFeatureConfig to + * include in the query. + * @param catalog Required. Resource name of the affected catalog. Format: + * projects/{project}/locations/{location}/catalogs/{catalog} + * + * @return GTLRCloudRetailQuery_ProjectsLocationsCatalogsUpdateGenerativeQuestionFeature + */ ++ (instancetype)queryWithObject:(GTLRCloudRetail_GoogleCloudRetailV2GenerativeQuestionsFeatureConfig *)object + catalog:(NSString *)catalog; + +@end + /** * Writes a single user event from the browser. This uses a GET request to due * to browser restriction of POST-ing to a 3rd party domain. This method is diff --git a/Sources/GeneratedServices/CloudRun/GTLRCloudRunObjects.m b/Sources/GeneratedServices/CloudRun/GTLRCloudRunObjects.m index 77a45eac3..d4ad517b3 100644 --- a/Sources/GeneratedServices/CloudRun/GTLRCloudRunObjects.m +++ b/Sources/GeneratedServices/CloudRun/GTLRCloudRunObjects.m @@ -153,6 +153,11 @@ NSString * const kGTLRCloudRun_GoogleCloudRunV2Service_LaunchStage_Prelaunch = @"PRELAUNCH"; NSString * const kGTLRCloudRun_GoogleCloudRunV2Service_LaunchStage_Unimplemented = @"UNIMPLEMENTED"; +// GTLRCloudRun_GoogleCloudRunV2ServiceScaling.scalingMode +NSString * const kGTLRCloudRun_GoogleCloudRunV2ServiceScaling_ScalingMode_Automatic = @"AUTOMATIC"; +NSString * const kGTLRCloudRun_GoogleCloudRunV2ServiceScaling_ScalingMode_Manual = @"MANUAL"; +NSString * const kGTLRCloudRun_GoogleCloudRunV2ServiceScaling_ScalingMode_ScalingModeUnspecified = @"SCALING_MODE_UNSPECIFIED"; + // GTLRCloudRun_GoogleCloudRunV2Task.executionEnvironment NSString * const kGTLRCloudRun_GoogleCloudRunV2Task_ExecutionEnvironment_ExecutionEnvironmentGen1 = @"EXECUTION_ENVIRONMENT_GEN1"; NSString * const kGTLRCloudRun_GoogleCloudRunV2Task_ExecutionEnvironment_ExecutionEnvironmentGen2 = @"EXECUTION_ENVIRONMENT_GEN2"; @@ -1185,7 +1190,7 @@ @implementation GTLRCloudRun_GoogleCloudRunV2ServiceMesh // @implementation GTLRCloudRun_GoogleCloudRunV2ServiceScaling -@dynamic minInstanceCount; +@dynamic minInstanceCount, scalingMode; @end @@ -1224,7 +1229,7 @@ @implementation GTLRCloudRun_GoogleCloudRunV2SubmitBuildRequest // @implementation GTLRCloudRun_GoogleCloudRunV2SubmitBuildResponse -@dynamic baseImageUri, buildOperation; +@dynamic baseImageUri, baseImageWarning, buildOperation; @end diff --git a/Sources/GeneratedServices/CloudRun/Public/GoogleAPIClientForREST/GTLRCloudRunObjects.h b/Sources/GeneratedServices/CloudRun/Public/GoogleAPIClientForREST/GTLRCloudRunObjects.h index 8d6361f39..f53d4fc45 100644 --- a/Sources/GeneratedServices/CloudRun/Public/GoogleAPIClientForREST/GTLRCloudRunObjects.h +++ b/Sources/GeneratedServices/CloudRun/Public/GoogleAPIClientForREST/GTLRCloudRunObjects.h @@ -919,6 +919,28 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudRun_GoogleCloudRunV2Service_LaunchS */ FOUNDATION_EXTERN NSString * const kGTLRCloudRun_GoogleCloudRunV2Service_LaunchStage_Unimplemented; +// ---------------------------------------------------------------------------- +// GTLRCloudRun_GoogleCloudRunV2ServiceScaling.scalingMode + +/** + * Scale based on traffic between min and max instances. + * + * Value: "AUTOMATIC" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudRun_GoogleCloudRunV2ServiceScaling_ScalingMode_Automatic; +/** + * Scale to exactly min instances and ignore max instances. + * + * Value: "MANUAL" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudRun_GoogleCloudRunV2ServiceScaling_ScalingMode_Manual; +/** + * Unspecified. + * + * Value: "SCALING_MODE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudRun_GoogleCloudRunV2ServiceScaling_ScalingMode_ScalingModeUnspecified; + // ---------------------------------------------------------------------------- // GTLRCloudRun_GoogleCloudRunV2Task.executionEnvironment @@ -3556,7 +3578,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudRun_GoogleIamV1AuditLogConfig_LogTy /** * Optional. Maximum number of serving instances that this resource should - * have. + * have. When unspecified, the field is set to the server default value of 100. + * For more information see + * https://cloud.google.com/run/docs/configuring/max-instances * * Uses NSNumber of intValue. */ @@ -4222,6 +4246,21 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudRun_GoogleIamV1AuditLogConfig_LogTy */ @property(nonatomic, strong, nullable) NSNumber *minInstanceCount; +/** + * Optional. The scaling mode for the service. + * + * Likely values: + * @arg @c kGTLRCloudRun_GoogleCloudRunV2ServiceScaling_ScalingMode_Automatic + * Scale based on traffic between min and max instances. (Value: + * "AUTOMATIC") + * @arg @c kGTLRCloudRun_GoogleCloudRunV2ServiceScaling_ScalingMode_Manual + * Scale to exactly min instances and ignore max instances. (Value: + * "MANUAL") + * @arg @c kGTLRCloudRun_GoogleCloudRunV2ServiceScaling_ScalingMode_ScalingModeUnspecified + * Unspecified. (Value: "SCALING_MODE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *scalingMode; + @end @@ -4304,6 +4343,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudRun_GoogleIamV1AuditLogConfig_LogTy */ @property(nonatomic, copy, nullable) NSString *baseImageUri; +/** Warning message for the base image. */ +@property(nonatomic, copy, nullable) NSString *baseImageWarning; + /** Cloud Build operation to be polled via CloudBuild API. */ @property(nonatomic, strong, nullable) GTLRCloudRun_GoogleLongrunningOperation *buildOperation; diff --git a/Sources/GeneratedServices/CloudScheduler/GTLRCloudSchedulerObjects.m b/Sources/GeneratedServices/CloudScheduler/GTLRCloudSchedulerObjects.m index bf8dba02c..26987f675 100644 --- a/Sources/GeneratedServices/CloudScheduler/GTLRCloudSchedulerObjects.m +++ b/Sources/GeneratedServices/CloudScheduler/GTLRCloudSchedulerObjects.m @@ -74,6 +74,15 @@ @implementation GTLRCloudScheduler_AppEngineRouting @end +// ---------------------------------------------------------------------------- +// +// GTLRCloudScheduler_CancelOperationRequest +// + +@implementation GTLRCloudScheduler_CancelOperationRequest +@end + + // ---------------------------------------------------------------------------- // // GTLRCloudScheduler_Empty @@ -168,6 +177,28 @@ + (NSString *)collectionItemsKey { @end +// ---------------------------------------------------------------------------- +// +// GTLRCloudScheduler_ListOperationsResponse +// + +@implementation GTLRCloudScheduler_ListOperationsResponse +@dynamic nextPageToken, operations; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"operations" : [GTLRCloudScheduler_Operation class] + }; + return map; +} + ++ (NSString *)collectionItemsKey { + return @"operations"; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRCloudScheduler_Location @@ -226,6 +257,55 @@ @implementation GTLRCloudScheduler_OidcToken @end +// ---------------------------------------------------------------------------- +// +// GTLRCloudScheduler_Operation +// + +@implementation GTLRCloudScheduler_Operation +@dynamic done, error, metadata, name, response; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRCloudScheduler_Operation_Metadata +// + +@implementation GTLRCloudScheduler_Operation_Metadata + ++ (Class)classForAdditionalProperties { + return [NSObject class]; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRCloudScheduler_Operation_Response +// + +@implementation GTLRCloudScheduler_Operation_Response + ++ (Class)classForAdditionalProperties { + return [NSObject class]; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRCloudScheduler_OperationMetadata +// + +@implementation GTLRCloudScheduler_OperationMetadata +@dynamic apiVersion, cancelRequested, createTime, endTime, statusDetail, target, + verb; +@end + + // ---------------------------------------------------------------------------- // // GTLRCloudScheduler_PauseJobRequest diff --git a/Sources/GeneratedServices/CloudScheduler/GTLRCloudSchedulerQuery.m b/Sources/GeneratedServices/CloudScheduler/GTLRCloudSchedulerQuery.m index 19b7db9c9..ef3e83590 100644 --- a/Sources/GeneratedServices/CloudScheduler/GTLRCloudSchedulerQuery.m +++ b/Sources/GeneratedServices/CloudScheduler/GTLRCloudSchedulerQuery.m @@ -16,6 +16,90 @@ @implementation GTLRCloudSchedulerQuery @end +@implementation GTLRCloudSchedulerQuery_OperationsCancel + +@dynamic name; + ++ (instancetype)queryWithObject:(GTLRCloudScheduler_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"; + GTLRCloudSchedulerQuery_OperationsCancel *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.name = name; + query.expectedObjectClass = [GTLRCloudScheduler_Empty class]; + query.loggingName = @"cloudscheduler.operations.cancel"; + return query; +} + +@end + +@implementation GTLRCloudSchedulerQuery_OperationsDelete + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRCloudSchedulerQuery_OperationsDelete *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"DELETE" + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRCloudScheduler_Empty class]; + query.loggingName = @"cloudscheduler.operations.delete"; + return query; +} + +@end + +@implementation GTLRCloudSchedulerQuery_OperationsGet + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRCloudSchedulerQuery_OperationsGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRCloudScheduler_Operation class]; + query.loggingName = @"cloudscheduler.operations.get"; + return query; +} + +@end + +@implementation GTLRCloudSchedulerQuery_OperationsList + +@dynamic filter, name, pageSize, pageToken; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRCloudSchedulerQuery_OperationsList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRCloudScheduler_ListOperationsResponse class]; + query.loggingName = @"cloudscheduler.operations.list"; + return query; +} + +@end + @implementation GTLRCloudSchedulerQuery_ProjectsLocationsGet @dynamic name; diff --git a/Sources/GeneratedServices/CloudScheduler/Public/GoogleAPIClientForREST/GTLRCloudSchedulerObjects.h b/Sources/GeneratedServices/CloudScheduler/Public/GoogleAPIClientForREST/GTLRCloudSchedulerObjects.h index 3d43d4bf9..fdfcfd71e 100644 --- a/Sources/GeneratedServices/CloudScheduler/Public/GoogleAPIClientForREST/GTLRCloudSchedulerObjects.h +++ b/Sources/GeneratedServices/CloudScheduler/Public/GoogleAPIClientForREST/GTLRCloudSchedulerObjects.h @@ -25,6 +25,9 @@ @class GTLRCloudScheduler_Location_Metadata; @class GTLRCloudScheduler_OAuthToken; @class GTLRCloudScheduler_OidcToken; +@class GTLRCloudScheduler_Operation; +@class GTLRCloudScheduler_Operation_Metadata; +@class GTLRCloudScheduler_Operation_Response; @class GTLRCloudScheduler_PubsubMessage_Attributes; @class GTLRCloudScheduler_PubsubTarget; @class GTLRCloudScheduler_PubsubTarget_Attributes; @@ -368,6 +371,13 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudScheduler_Job_State_UpdateFailed; @end +/** + * The request message for Operations.CancelOperation. + */ +@interface GTLRCloudScheduler_CancelOperationRequest : GTLRObject +@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 @@ -692,6 +702,30 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudScheduler_Job_State_UpdateFailed; @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 GTLRCloudScheduler_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 + + /** * A resource that represents a Google Cloud location. */ @@ -803,6 +837,124 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudScheduler_Job_State_UpdateFailed; @end +/** + * This resource represents a long-running operation that is the result of a + * network API call. + */ +@interface GTLRCloudScheduler_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) GTLRCloudScheduler_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) GTLRCloudScheduler_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) GTLRCloudScheduler_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 GTLRCloudScheduler_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 GTLRCloudScheduler_Operation_Response : GTLRObject +@end + + +/** + * Represents the metadata of the long-running operation. + */ +@interface GTLRCloudScheduler_OperationMetadata : GTLRObject + +/** Output only. API version used to start the operation. */ +@property(nonatomic, copy, nullable) NSString *apiVersion; + +/** + * Output only. Identifies whether the user has requested cancellation of the + * operation. Operations that have been cancelled successfully 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 *cancelRequested; + +/** 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. Human-readable status of the operation, if any. */ +@property(nonatomic, copy, nullable) NSString *statusDetail; + +/** + * 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 + + /** * Request message for PauseJob. */ diff --git a/Sources/GeneratedServices/CloudScheduler/Public/GoogleAPIClientForREST/GTLRCloudSchedulerQuery.h b/Sources/GeneratedServices/CloudScheduler/Public/GoogleAPIClientForREST/GTLRCloudSchedulerQuery.h index d698442f6..ff89d73e0 100644 --- a/Sources/GeneratedServices/CloudScheduler/Public/GoogleAPIClientForREST/GTLRCloudSchedulerQuery.h +++ b/Sources/GeneratedServices/CloudScheduler/Public/GoogleAPIClientForREST/GTLRCloudSchedulerQuery.h @@ -33,6 +33,142 @@ NS_ASSUME_NONNULL_BEGIN @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: cloudscheduler.operations.cancel + */ +@interface GTLRCloudSchedulerQuery_OperationsCancel : GTLRCloudSchedulerQuery + +/** The name of the operation resource to be cancelled. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRCloudScheduler_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 GTLRCloudScheduler_CancelOperationRequest to include in + * the query. + * @param name The name of the operation resource to be cancelled. + * + * @return GTLRCloudSchedulerQuery_OperationsCancel + */ ++ (instancetype)queryWithObject:(GTLRCloudScheduler_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: cloudscheduler.operations.delete + */ +@interface GTLRCloudSchedulerQuery_OperationsDelete : GTLRCloudSchedulerQuery + +/** The name of the operation resource to be deleted. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRCloudScheduler_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 GTLRCloudSchedulerQuery_OperationsDelete + */ ++ (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: cloudscheduler.operations.get + */ +@interface GTLRCloudSchedulerQuery_OperationsGet : GTLRCloudSchedulerQuery + +/** The name of the operation resource. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRCloudScheduler_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 GTLRCloudSchedulerQuery_OperationsGet + */ ++ (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: cloudscheduler.operations.list + */ +@interface GTLRCloudSchedulerQuery_OperationsList : GTLRCloudSchedulerQuery + +/** 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 GTLRCloudScheduler_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 GTLRCloudSchedulerQuery_OperationsList + * + * @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 + /** * Gets information about a location. * diff --git a/Sources/GeneratedServices/CloudSecurityToken/Public/GoogleAPIClientForREST/GTLRCloudSecurityTokenObjects.h b/Sources/GeneratedServices/CloudSecurityToken/Public/GoogleAPIClientForREST/GTLRCloudSecurityTokenObjects.h index 498d6d952..eb8491ba4 100644 --- a/Sources/GeneratedServices/CloudSecurityToken/Public/GoogleAPIClientForREST/GTLRCloudSecurityTokenObjects.h +++ b/Sources/GeneratedServices/CloudSecurityToken/Public/GoogleAPIClientForREST/GTLRCloudSecurityTokenObjects.h @@ -294,7 +294,7 @@ NS_ASSUME_NONNULL_BEGIN /** * Required. An identifier for the type of requested security token. Can be * `urn:ietf:params:oauth:token-type:access_token` or - * `urn:ietf:params:oauth:token-type:access_boundary_intermediate_token`. + * `urn:ietf:params:oauth:token-type:access_boundary_intermediary_token`. */ @property(nonatomic, copy, nullable) NSString *requestedTokenType; @@ -411,10 +411,10 @@ NS_ASSUME_NONNULL_BEGIN /** * The access boundary session key. This key is used along with the access - * boundary intermediate token to generate Credential Access Boundary tokens at + * boundary intermediary token to generate Credential Access Boundary tokens at * client side. This field is absent when the `requested_token_type` from the * request is not - * `urn:ietf:params:oauth:token-type:access_boundary_intermediate_token`. + * `urn:ietf:params:oauth:token-type:access_boundary_intermediary_token`. * * Contains encoded binary data; GTLRBase64 can encode/decode (probably * web-safe format). diff --git a/Sources/GeneratedServices/CloudWorkstations/Public/GoogleAPIClientForREST/GTLRCloudWorkstationsObjects.h b/Sources/GeneratedServices/CloudWorkstations/Public/GoogleAPIClientForREST/GTLRCloudWorkstationsObjects.h index 3837b1908..5bf99f446 100644 --- a/Sources/GeneratedServices/CloudWorkstations/Public/GoogleAPIClientForREST/GTLRCloudWorkstationsObjects.h +++ b/Sources/GeneratedServices/CloudWorkstations/Public/GoogleAPIClientForREST/GTLRCloudWorkstationsObjects.h @@ -1903,7 +1903,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudWorkstations_Workstation_State_Stat * project. Operating system audit logging is distinct from [Cloud Audit * Logs](https://cloud.google.com/workstations/docs/audit-logging) and * [Container output - * logging](http://cloud/workstations/docs/container-output-logging#overview). + * logging](https://cloud.google.com/workstations/docs/container-output-logging#overview). * Operating system audit logs are available in the [Cloud * Logging](https://cloud.google.com/logging/docs) console by querying: * resource.type="gce_instance" log_name:"/logs/linux-auditd" @@ -1974,14 +1974,14 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudWorkstations_Workstation_State_Stat @property(nonatomic, strong, nullable) GTLRCloudWorkstations_WorkstationConfig_Labels *labels; /** - * Optional. Maximum number of workstations under this config a user can have - * `workstations.workstation.use` permission on. Only enforced on + * Optional. Maximum number of workstations under this configuration a user can + * have `workstations.workstation.use` permission on. Only enforced on * CreateWorkstation API calls on the user issuing the API request. Can be * overridden by: - granting a user * workstations.workstationConfigs.exemptMaxUsableWorkstationLimit permission, * or - having a user with that permission create a workstation and granting * another user `workstations.workstation.use` permission on that workstation. - * If not specified defaults to 0 which indicates unlimited. + * If not specified, defaults to `0`, which indicates unlimited. * * Uses NSNumber of intValue. */ diff --git a/Sources/GeneratedServices/Cloudchannel/GTLRCloudchannelObjects.m b/Sources/GeneratedServices/Cloudchannel/GTLRCloudchannelObjects.m index 575ad3bd4..e02c3c984 100644 --- a/Sources/GeneratedServices/Cloudchannel/GTLRCloudchannelObjects.m +++ b/Sources/GeneratedServices/Cloudchannel/GTLRCloudchannelObjects.m @@ -1661,7 +1661,7 @@ @implementation GTLRCloudchannel_GoogleCloudChannelV1QueryEligibleBillingAccount // @implementation GTLRCloudchannel_GoogleCloudChannelV1RegisterSubscriberRequest -@dynamic integrator, serviceAccount; +@dynamic serviceAccount; @end @@ -2028,7 +2028,7 @@ @implementation GTLRCloudchannel_GoogleCloudChannelV1TrialSettings // @implementation GTLRCloudchannel_GoogleCloudChannelV1UnregisterSubscriberRequest -@dynamic integrator, serviceAccount; +@dynamic serviceAccount; @end diff --git a/Sources/GeneratedServices/Cloudchannel/GTLRCloudchannelQuery.m b/Sources/GeneratedServices/Cloudchannel/GTLRCloudchannelQuery.m index 9a8a45c25..6a31a31c9 100644 --- a/Sources/GeneratedServices/Cloudchannel/GTLRCloudchannelQuery.m +++ b/Sources/GeneratedServices/Cloudchannel/GTLRCloudchannelQuery.m @@ -1119,7 +1119,7 @@ + (instancetype)queryWithObject:(GTLRCloudchannel_GoogleCloudChannelV1TransferEn @implementation GTLRCloudchannelQuery_AccountsListSubscribers -@dynamic account, integrator, pageSize, pageToken; +@dynamic account, pageSize, pageToken; + (instancetype)queryWithAccount:(NSString *)account { NSArray *pathParams = @[ @"account" ]; @@ -1374,63 +1374,6 @@ + (instancetype)queryWithObject:(GTLRCloudchannel_GoogleCloudChannelV1Unregister @end -@implementation GTLRCloudchannelQuery_IntegratorsListSubscribers - -@dynamic account, integrator, pageSize, pageToken; - -+ (instancetype)queryWithIntegrator:(NSString *)integrator { - NSArray *pathParams = @[ @"integrator" ]; - NSString *pathURITemplate = @"v1/{+integrator}:listSubscribers"; - GTLRCloudchannelQuery_IntegratorsListSubscribers *query = - [[self alloc] initWithPathURITemplate:pathURITemplate - HTTPMethod:nil - pathParameterNames:pathParams]; - query.integrator = integrator; - query.expectedObjectClass = [GTLRCloudchannel_GoogleCloudChannelV1ListSubscribersResponse class]; - query.loggingName = @"cloudchannel.integrators.listSubscribers"; - return query; -} - -@end - -@implementation GTLRCloudchannelQuery_IntegratorsRegister - -@dynamic account, integrator, serviceAccount; - -+ (instancetype)queryWithIntegrator:(NSString *)integrator { - NSArray *pathParams = @[ @"integrator" ]; - NSString *pathURITemplate = @"v1/{+integrator}:register"; - GTLRCloudchannelQuery_IntegratorsRegister *query = - [[self alloc] initWithPathURITemplate:pathURITemplate - HTTPMethod:@"POST" - pathParameterNames:pathParams]; - query.integrator = integrator; - query.expectedObjectClass = [GTLRCloudchannel_GoogleCloudChannelV1RegisterSubscriberResponse class]; - query.loggingName = @"cloudchannel.integrators.register"; - return query; -} - -@end - -@implementation GTLRCloudchannelQuery_IntegratorsUnregister - -@dynamic account, integrator, serviceAccount; - -+ (instancetype)queryWithIntegrator:(NSString *)integrator { - NSArray *pathParams = @[ @"integrator" ]; - NSString *pathURITemplate = @"v1/{+integrator}:unregister"; - GTLRCloudchannelQuery_IntegratorsUnregister *query = - [[self alloc] initWithPathURITemplate:pathURITemplate - HTTPMethod:@"POST" - pathParameterNames:pathParams]; - query.integrator = integrator; - query.expectedObjectClass = [GTLRCloudchannel_GoogleCloudChannelV1UnregisterSubscriberResponse class]; - query.loggingName = @"cloudchannel.integrators.unregister"; - return query; -} - -@end - @implementation GTLRCloudchannelQuery_OperationsCancel @dynamic name; diff --git a/Sources/GeneratedServices/Cloudchannel/Public/GoogleAPIClientForREST/GTLRCloudchannelObjects.h b/Sources/GeneratedServices/Cloudchannel/Public/GoogleAPIClientForREST/GTLRCloudchannelObjects.h index 1fdc144a4..242769221 100644 --- a/Sources/GeneratedServices/Cloudchannel/Public/GoogleAPIClientForREST/GTLRCloudchannelObjects.h +++ b/Sources/GeneratedServices/Cloudchannel/Public/GoogleAPIClientForREST/GTLRCloudchannelObjects.h @@ -2853,12 +2853,13 @@ GTLR_DEPRECATED /** * Required. Domain to fetch for Cloud Identity account customers, including - * domained and domainless. + * domain and team customers. For team customers, please use the domain for + * their emails. */ @property(nonatomic, copy, nullable) NSString *domain; /** - * Optional. Primary admin email to fetch for Cloud Identity account domainless + * Optional. Primary admin email to fetch for Cloud Identity account team * customer. */ @property(nonatomic, copy, nullable) NSString *primaryAdminEmail; @@ -3805,7 +3806,7 @@ GTLR_DEPRECATED */ @property(nonatomic, strong, nullable) NSNumber *overwriteIfExists; -/** Optional. Customer's primary admin email. */ +/** Required. Customer's primary admin email. */ @property(nonatomic, copy, nullable) NSString *primaryAdminEmail; @end @@ -4918,9 +4919,6 @@ GTLR_DEPRECATED */ @interface GTLRCloudchannel_GoogleCloudChannelV1RegisterSubscriberRequest : GTLRObject -/** Optional. Resource name of the integrator. */ -@property(nonatomic, copy, nullable) NSString *integrator; - /** * Required. Service account that provides subscriber access to the registered * topic. @@ -5619,9 +5617,6 @@ GTLR_DEPRECATED */ @interface GTLRCloudchannel_GoogleCloudChannelV1UnregisterSubscriberRequest : GTLRObject -/** Optional. Resource name of the integrator. */ -@property(nonatomic, copy, nullable) NSString *integrator; - /** * Required. Service account to unregister from subscriber access to the topic. */ diff --git a/Sources/GeneratedServices/Cloudchannel/Public/GoogleAPIClientForREST/GTLRCloudchannelQuery.h b/Sources/GeneratedServices/Cloudchannel/Public/GoogleAPIClientForREST/GTLRCloudchannelQuery.h index 1c0dd5580..23219d9a9 100644 --- a/Sources/GeneratedServices/Cloudchannel/Public/GoogleAPIClientForREST/GTLRCloudchannelQuery.h +++ b/Sources/GeneratedServices/Cloudchannel/Public/GoogleAPIClientForREST/GTLRCloudchannelQuery.h @@ -2779,9 +2779,6 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudchannelViewUnspecified; /** Optional. Resource name of the account. */ @property(nonatomic, copy, nullable) NSString *account; -/** Optional. Resource name of the integrator. */ -@property(nonatomic, copy, nullable) NSString *integrator; - /** * Optional. The maximum number of service accounts to return. The service may * return fewer than this value. If unspecified, returns at most 100 service @@ -3400,182 +3397,6 @@ GTLR_DEPRECATED @end -/** - * Lists service accounts with subscriber privileges on the Cloud Pub/Sub topic - * created for this Channel Services account. Possible error codes: * - * PERMISSION_DENIED: The reseller account making the request and the provided - * reseller account are different, or the impersonated user is not a super - * admin. * INVALID_ARGUMENT: Required request parameters are missing or - * invalid. * NOT_FOUND: The topic resource doesn't exist. * INTERNAL: Any - * non-user error related to a technical issue in the backend. Contact Cloud - * Channel support. * UNKNOWN: Any non-user error related to a technical issue - * in the backend. Contact Cloud Channel support. Return value: A list of - * service email addresses. - * - * Method: cloudchannel.integrators.listSubscribers - * - * Authorization scope(s): - * @c kGTLRAuthScopeCloudchannelAppsOrder - */ -@interface GTLRCloudchannelQuery_IntegratorsListSubscribers : GTLRCloudchannelQuery - -/** Optional. Resource name of the account. */ -@property(nonatomic, copy, nullable) NSString *account; - -/** Optional. Resource name of the integrator. */ -@property(nonatomic, copy, nullable) NSString *integrator; - -/** - * Optional. The maximum number of service accounts to return. The service may - * return fewer than this value. If unspecified, returns at most 100 service - * accounts. The maximum value is 1000; the server will coerce values above - * 1000. - */ -@property(nonatomic, assign) NSInteger pageSize; - -/** - * Optional. A page token, received from a previous `ListSubscribers` call. - * Provide this to retrieve the subsequent page. When paginating, all other - * parameters provided to `ListSubscribers` must match the call that provided - * the page token. - */ -@property(nonatomic, copy, nullable) NSString *pageToken; - -/** - * Fetches a @c GTLRCloudchannel_GoogleCloudChannelV1ListSubscribersResponse. - * - * Lists service accounts with subscriber privileges on the Cloud Pub/Sub topic - * created for this Channel Services account. Possible error codes: * - * PERMISSION_DENIED: The reseller account making the request and the provided - * reseller account are different, or the impersonated user is not a super - * admin. * INVALID_ARGUMENT: Required request parameters are missing or - * invalid. * NOT_FOUND: The topic resource doesn't exist. * INTERNAL: Any - * non-user error related to a technical issue in the backend. Contact Cloud - * Channel support. * UNKNOWN: Any non-user error related to a technical issue - * in the backend. Contact Cloud Channel support. Return value: A list of - * service email addresses. - * - * @param integrator Optional. Resource name of the integrator. - * - * @return GTLRCloudchannelQuery_IntegratorsListSubscribers - */ -+ (instancetype)queryWithIntegrator:(NSString *)integrator; - -@end - -/** - * Registers a service account with subscriber privileges on the Cloud Pub/Sub - * topic for this Channel Services account. After you create a subscriber, you - * get the events through SubscriberEvent Possible error codes: * - * PERMISSION_DENIED: The reseller account making the request and the provided - * reseller account are different, or the impersonated user is not a super - * admin. * INVALID_ARGUMENT: Required request parameters are missing or - * invalid. * INTERNAL: Any non-user error related to a technical issue in the - * backend. Contact Cloud Channel support. * UNKNOWN: Any non-user error - * related to a technical issue in the backend. Contact Cloud Channel support. - * Return value: The topic name with the registered service email address. - * - * Method: cloudchannel.integrators.register - * - * Authorization scope(s): - * @c kGTLRAuthScopeCloudchannelAppsOrder - */ -@interface GTLRCloudchannelQuery_IntegratorsRegister : GTLRCloudchannelQuery - -/** Optional. Resource name of the account. */ -@property(nonatomic, copy, nullable) NSString *account; - -/** Optional. Resource name of the integrator. */ -@property(nonatomic, copy, nullable) NSString *integrator; - -/** - * Required. Service account that provides subscriber access to the registered - * topic. - */ -@property(nonatomic, copy, nullable) NSString *serviceAccount; - -/** - * Fetches a @c - * GTLRCloudchannel_GoogleCloudChannelV1RegisterSubscriberResponse. - * - * Registers a service account with subscriber privileges on the Cloud Pub/Sub - * topic for this Channel Services account. After you create a subscriber, you - * get the events through SubscriberEvent Possible error codes: * - * PERMISSION_DENIED: The reseller account making the request and the provided - * reseller account are different, or the impersonated user is not a super - * admin. * INVALID_ARGUMENT: Required request parameters are missing or - * invalid. * INTERNAL: Any non-user error related to a technical issue in the - * backend. Contact Cloud Channel support. * UNKNOWN: Any non-user error - * related to a technical issue in the backend. Contact Cloud Channel support. - * Return value: The topic name with the registered service email address. - * - * @param integrator Optional. Resource name of the integrator. - * - * @return GTLRCloudchannelQuery_IntegratorsRegister - */ -+ (instancetype)queryWithIntegrator:(NSString *)integrator; - -@end - -/** - * Unregisters a service account with subscriber privileges on the Cloud - * Pub/Sub topic created for this Channel Services account. If there are no - * service accounts left with subscriber privileges, this deletes the topic. - * You can call ListSubscribers to check for these accounts. Possible error - * codes: * PERMISSION_DENIED: The reseller account making the request and the - * provided reseller account are different, or the impersonated user is not a - * super admin. * INVALID_ARGUMENT: Required request parameters are missing or - * invalid. * NOT_FOUND: The topic resource doesn't exist. * INTERNAL: Any - * non-user error related to a technical issue in the backend. Contact Cloud - * Channel support. * UNKNOWN: Any non-user error related to a technical issue - * in the backend. Contact Cloud Channel support. Return value: The topic name - * that unregistered the service email address. Returns a success response if - * the service email address wasn't registered with the topic. - * - * Method: cloudchannel.integrators.unregister - * - * Authorization scope(s): - * @c kGTLRAuthScopeCloudchannelAppsOrder - */ -@interface GTLRCloudchannelQuery_IntegratorsUnregister : GTLRCloudchannelQuery - -/** Optional. Resource name of the account. */ -@property(nonatomic, copy, nullable) NSString *account; - -/** Optional. Resource name of the integrator. */ -@property(nonatomic, copy, nullable) NSString *integrator; - -/** - * Required. Service account to unregister from subscriber access to the topic. - */ -@property(nonatomic, copy, nullable) NSString *serviceAccount; - -/** - * Fetches a @c - * GTLRCloudchannel_GoogleCloudChannelV1UnregisterSubscriberResponse. - * - * Unregisters a service account with subscriber privileges on the Cloud - * Pub/Sub topic created for this Channel Services account. If there are no - * service accounts left with subscriber privileges, this deletes the topic. - * You can call ListSubscribers to check for these accounts. Possible error - * codes: * PERMISSION_DENIED: The reseller account making the request and the - * provided reseller account are different, or the impersonated user is not a - * super admin. * INVALID_ARGUMENT: Required request parameters are missing or - * invalid. * NOT_FOUND: The topic resource doesn't exist. * INTERNAL: Any - * non-user error related to a technical issue in the backend. Contact Cloud - * Channel support. * UNKNOWN: Any non-user error related to a technical issue - * in the backend. Contact Cloud Channel support. Return value: The topic name - * that unregistered the service email address. Returns a success response if - * the service email address wasn't registered with the topic. - * - * @param integrator Optional. Resource name of the integrator. - * - * @return GTLRCloudchannelQuery_IntegratorsUnregister - */ -+ (instancetype)queryWithIntegrator:(NSString *)integrator; - -@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/Compute/GTLRComputeObjects.m b/Sources/GeneratedServices/Compute/GTLRComputeObjects.m index d90c62a75..9d85a2926 100644 --- a/Sources/GeneratedServices/Compute/GTLRComputeObjects.m +++ b/Sources/GeneratedServices/Compute/GTLRComputeObjects.m @@ -880,6 +880,7 @@ NSString * const kGTLRCompute_ConfidentialInstanceConfig_ConfidentialInstanceType_ConfidentialInstanceTypeUnspecified = @"CONFIDENTIAL_INSTANCE_TYPE_UNSPECIFIED"; NSString * const kGTLRCompute_ConfidentialInstanceConfig_ConfidentialInstanceType_Sev = @"SEV"; NSString * const kGTLRCompute_ConfidentialInstanceConfig_ConfidentialInstanceType_SevSnp = @"SEV_SNP"; +NSString * const kGTLRCompute_ConfidentialInstanceConfig_ConfidentialInstanceType_Tdx = @"TDX"; // GTLRCompute_DeprecationStatus.state NSString * const kGTLRCompute_DeprecationStatus_State_Active = @"ACTIVE"; @@ -1531,6 +1532,7 @@ NSString * const kGTLRCompute_GuestOsFeature_Type_SevLiveMigratable = @"SEV_LIVE_MIGRATABLE"; NSString * const kGTLRCompute_GuestOsFeature_Type_SevLiveMigratableV2 = @"SEV_LIVE_MIGRATABLE_V2"; NSString * const kGTLRCompute_GuestOsFeature_Type_SevSnpCapable = @"SEV_SNP_CAPABLE"; +NSString * const kGTLRCompute_GuestOsFeature_Type_TdxCapable = @"TDX_CAPABLE"; NSString * const kGTLRCompute_GuestOsFeature_Type_UefiCompatible = @"UEFI_COMPATIBLE"; NSString * const kGTLRCompute_GuestOsFeature_Type_VirtioScsiMultiqueue = @"VIRTIO_SCSI_MULTIQUEUE"; NSString * const kGTLRCompute_GuestOsFeature_Type_Windows = @"WINDOWS"; @@ -3284,6 +3286,7 @@ // GTLRCompute_NetworkEndpointGroup.networkEndpointType NSString * const kGTLRCompute_NetworkEndpointGroup_NetworkEndpointType_GceVmIp = @"GCE_VM_IP"; NSString * const kGTLRCompute_NetworkEndpointGroup_NetworkEndpointType_GceVmIpPort = @"GCE_VM_IP_PORT"; +NSString * const kGTLRCompute_NetworkEndpointGroup_NetworkEndpointType_GceVmIpPortmap = @"GCE_VM_IP_PORTMAP"; NSString * const kGTLRCompute_NetworkEndpointGroup_NetworkEndpointType_InternetFqdnPort = @"INTERNET_FQDN_PORT"; NSString * const kGTLRCompute_NetworkEndpointGroup_NetworkEndpointType_InternetIpPort = @"INTERNET_IP_PORT"; NSString * const kGTLRCompute_NetworkEndpointGroup_NetworkEndpointType_NonGcpPrivateIpPort = @"NON_GCP_PRIVATE_IP_PORT"; @@ -8336,7 +8339,7 @@ @implementation GTLRCompute_Backend @implementation GTLRCompute_BackendBucket @dynamic bucketName, cdnPolicy, compressionMode, creationTimestamp, customResponseHeaders, descriptionProperty, edgeSecurityPolicy, - enableCdn, identifier, kind, name, selfLink; + enableCdn, identifier, kind, name, selfLink, usedBy; + (NSDictionary *)propertyToJSONKeyMap { NSDictionary *map = @{ @@ -8348,7 +8351,8 @@ @implementation GTLRCompute_BackendBucket + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ - @"customResponseHeaders" : [NSString class] + @"customResponseHeaders" : [NSString class], + @"usedBy" : [GTLRCompute_BackendBucketUsedBy class] }; return map; } @@ -8468,6 +8472,16 @@ @implementation GTLRCompute_BackendBucketList_Warning_Data_Item @end +// ---------------------------------------------------------------------------- +// +// GTLRCompute_BackendBucketUsedBy +// + +@implementation GTLRCompute_BackendBucketUsedBy +@dynamic reference; +@end + + // ---------------------------------------------------------------------------- // // GTLRCompute_BackendService @@ -16255,7 +16269,7 @@ @implementation GTLRCompute_NetworkEdgeSecurityServicesScopedList_Warning_Data_I // @implementation GTLRCompute_NetworkEndpoint -@dynamic annotations, fqdn, instance, ipAddress, port; +@dynamic annotations, clientDestinationPort, fqdn, instance, ipAddress, port; @end @@ -16461,7 +16475,7 @@ @implementation GTLRCompute_NetworkEndpointGroupList_Warning_Data_Item // @implementation GTLRCompute_NetworkEndpointGroupPscData -@dynamic consumerPscAddress, pscConnectionId, pscConnectionStatus; +@dynamic consumerPscAddress, producerPort, pscConnectionId, pscConnectionStatus; @end diff --git a/Sources/GeneratedServices/Compute/Public/GoogleAPIClientForREST/GTLRComputeObjects.h b/Sources/GeneratedServices/Compute/Public/GoogleAPIClientForREST/GTLRComputeObjects.h index e4f76843b..a3457ff8f 100644 --- a/Sources/GeneratedServices/Compute/Public/GoogleAPIClientForREST/GTLRComputeObjects.h +++ b/Sources/GeneratedServices/Compute/Public/GoogleAPIClientForREST/GTLRComputeObjects.h @@ -78,6 +78,7 @@ @class GTLRCompute_BackendBucketCdnPolicyNegativeCachingPolicy; @class GTLRCompute_BackendBucketList_Warning; @class GTLRCompute_BackendBucketList_Warning_Data_Item; +@class GTLRCompute_BackendBucketUsedBy; @class GTLRCompute_BackendService; @class GTLRCompute_BackendService_Metadatas; @class GTLRCompute_BackendServiceAggregatedList_Items; @@ -5557,6 +5558,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ConfidentialInstanceConfig_Confi * Value: "SEV_SNP" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_ConfidentialInstanceConfig_ConfidentialInstanceType_SevSnp; +/** + * Intel Trust Domain eXtension. + * + * Value: "TDX" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_ConfidentialInstanceConfig_ConfidentialInstanceType_Tdx; // ---------------------------------------------------------------------------- // GTLRCompute_DeprecationStatus.state @@ -9226,6 +9233,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_GuestOsFeature_Type_SevLiveMigra FOUNDATION_EXTERN NSString * const kGTLRCompute_GuestOsFeature_Type_SevLiveMigratableV2; /** Value: "SEV_SNP_CAPABLE" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_GuestOsFeature_Type_SevSnpCapable; +/** Value: "TDX_CAPABLE" */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_GuestOsFeature_Type_TdxCapable; /** Value: "UEFI_COMPATIBLE" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_GuestOsFeature_Type_UefiCompatible; /** Value: "VIRTIO_SCSI_MULTIQUEUE" */ @@ -19118,6 +19127,13 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_NetworkEndpointGroup_NetworkEndp * Value: "GCE_VM_IP_PORT" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_NetworkEndpointGroup_NetworkEndpointType_GceVmIpPort; +/** + * The network endpoint is represented by an IP, Port and Client Destination + * Port. + * + * Value: "GCE_VM_IP_PORTMAP" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_NetworkEndpointGroup_NetworkEndpointType_GceVmIpPortmap; /** * The network endpoint is represented by fully qualified domain name and port. * @@ -45065,6 +45081,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl /** [Output Only] Server-defined URL for the resource. */ @property(nonatomic, copy, nullable) NSString *selfLink; +/** [Output Only] List of resources referencing that backend bucket. */ +@property(nonatomic, strong, nullable) NSArray *usedBy; + @end @@ -45481,6 +45500,19 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl @end +/** + * GTLRCompute_BackendBucketUsedBy + */ +@interface GTLRCompute_BackendBucketUsedBy : GTLRObject + +/** + * [Output Only] Server-defined URL for UrlMaps referencing that BackendBucket. + */ +@property(nonatomic, copy, nullable) NSString *reference; + +@end + + /** * Represents a Backend Service resource. A backend service defines how Google * Cloud load balancers distribute traffic. The backend service configuration @@ -47723,8 +47755,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl @property(nonatomic, strong, nullable) GTLRCompute_InstanceProperties *instanceProperties; /** - * Policy for chosing target zone. For more information, see Create VMs in bulk - * . + * Policy for choosing target zone. For more information, see Create VMs in + * bulk. */ @property(nonatomic, strong, nullable) GTLRCompute_LocationPolicy *locationPolicy; @@ -48808,6 +48840,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * @arg @c kGTLRCompute_ConfidentialInstanceConfig_ConfidentialInstanceType_SevSnp * AMD Secure Encrypted Virtualization - Secure Nested Paging. (Value: * "SEV_SNP") + * @arg @c kGTLRCompute_ConfidentialInstanceConfig_ConfidentialInstanceType_Tdx + * Intel Trust Domain eXtension. (Value: "TDX") */ @property(nonatomic, copy, nullable) NSString *confidentialInstanceType; @@ -55260,6 +55294,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * "SEV_LIVE_MIGRATABLE_V2" * @arg @c kGTLRCompute_GuestOsFeature_Type_SevSnpCapable Value * "SEV_SNP_CAPABLE" + * @arg @c kGTLRCompute_GuestOsFeature_Type_TdxCapable Value "TDX_CAPABLE" * @arg @c kGTLRCompute_GuestOsFeature_Type_UefiCompatible Value * "UEFI_COMPATIBLE" * @arg @c kGTLRCompute_GuestOsFeature_Type_VirtioScsiMultiqueue Value @@ -64866,7 +64901,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl /** * [Output only] List of features available for this Interconnect connection, - * which can take one of the following values: - MACSEC If present then the + * which can take one of the following values: - IF_MACSEC If present then the * Interconnect connection is provisioned on MACsec capable hardware ports. If * not present then the Interconnect connection is provisioned on non-MACsec * capable ports and MACsec isn't supported and enabling MACsec fails. @@ -65071,7 +65106,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl /** * Optional. List of features requested for this Interconnect connection, which - * can take one of the following values: - MACSEC If specified then the + * can take one of the following values: - IF_MACSEC If specified then the * connection is created on MACsec capable hardware ports. If not specified, * the default value is false, which allocates non-MACsec capable ports first * if available. This parameter can be provided only with Interconnect INSERT. @@ -71109,6 +71144,14 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl /** Metadata defined as annotations on the network endpoint. */ @property(nonatomic, strong, nullable) GTLRCompute_NetworkEndpoint_Annotations *annotations; +/** + * Represents the port number to which PSC consumer sends packets. Only valid + * for network endpoint groups created with GCE_VM_IP_PORTMAP endpoint type. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *clientDestinationPort; + /** * Optional fully qualified domain name of network endpoint. This can only be * specified when NetworkEndpointGroup.network_endpoint_type is @@ -71257,6 +71300,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * @arg @c kGTLRCompute_NetworkEndpointGroup_NetworkEndpointType_GceVmIpPort * The network endpoint is represented by IP address and port pair. * (Value: "GCE_VM_IP_PORT") + * @arg @c kGTLRCompute_NetworkEndpointGroup_NetworkEndpointType_GceVmIpPortmap + * The network endpoint is represented by an IP, Port and Client + * Destination Port. (Value: "GCE_VM_IP_PORTMAP") * @arg @c kGTLRCompute_NetworkEndpointGroup_NetworkEndpointType_InternetFqdnPort * The network endpoint is represented by fully qualified domain name and * port. (Value: "INTERNET_FQDN_PORT") @@ -71823,6 +71869,15 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl */ @property(nonatomic, copy, nullable) NSString *consumerPscAddress; +/** + * The psc producer port is used to connect PSC NEG with specific port on the + * PSC Producer side; should only be used for the PRIVATE_SERVICE_CONNECT NEG + * type + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *producerPort; + /** * [Output Only] The PSC connection id of the PSC Network Endpoint Group * Consumer. @@ -93268,10 +93323,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl */ @property(nonatomic, strong, nullable) NSNumber *identifier; -/** - * [Output Only] The internal IPv6 address range that is assigned to this - * subnetwork. - */ +/** The internal IPv6 address range that is owned by this subnetwork. */ @property(nonatomic, copy, nullable) NSString *internalIpv6Prefix; /** diff --git a/Sources/GeneratedServices/Compute/Public/GoogleAPIClientForREST/GTLRComputeQuery.h b/Sources/GeneratedServices/Compute/Public/GoogleAPIClientForREST/GTLRComputeQuery.h index 2a4687b19..8628d25d6 100644 --- a/Sources/GeneratedServices/Compute/Public/GoogleAPIClientForREST/GTLRComputeQuery.h +++ b/Sources/GeneratedServices/Compute/Public/GoogleAPIClientForREST/GTLRComputeQuery.h @@ -2498,8 +2498,7 @@ FOUNDATION_EXTERN NSString * const kGTLRComputeMostDisruptiveAllowedActionRestar @end /** - * Retrieves an aggregated list of all usable backend services in the specified - * project. + * Retrieves a list of all usable backend services in the specified project. * * Method: compute.backendServices.listUsable * @@ -2589,8 +2588,7 @@ FOUNDATION_EXTERN NSString * const kGTLRComputeMostDisruptiveAllowedActionRestar /** * Fetches a @c GTLRCompute_BackendServiceListUsable. * - * Retrieves an aggregated list of all usable backend services in the specified - * project. + * Retrieves a list of all usable backend services in the specified project. * * @param project Project ID for this request. * @@ -27113,8 +27111,8 @@ GTLR_DEPRECATED @end /** - * Retrieves an aggregated list of all usable backend services in the specified - * project in the given region. + * Retrieves a list of all usable backend services in the specified project in + * the given region. * * Method: compute.regionBackendServices.listUsable * @@ -27210,8 +27208,8 @@ GTLR_DEPRECATED /** * Fetches a @c GTLRCompute_BackendServiceListUsable. * - * Retrieves an aggregated list of all usable backend services in the specified - * project in the given region. + * Retrieves a list of all usable backend services in the specified project in + * the given region. * * @param project Project ID for this request. * @param region Name of the region scoping this request. It must be a string diff --git a/Sources/GeneratedServices/Contactcenterinsights/GTLRContactcenterinsightsObjects.m b/Sources/GeneratedServices/Contactcenterinsights/GTLRContactcenterinsightsObjects.m index 89e347cba..dd9429e7d 100644 --- a/Sources/GeneratedServices/Contactcenterinsights/GTLRContactcenterinsightsObjects.m +++ b/Sources/GeneratedServices/Contactcenterinsights/GTLRContactcenterinsightsObjects.m @@ -448,8 +448,9 @@ @implementation GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alph @implementation GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1Conversation @dynamic agentId, callMetadata, createTime, dataSource, dialogflowIntents, duration, expireTime, labels, languageCode, latestAnalysis, - latestSummary, medium, name, obfuscatedUserId, qualityMetadata, - runtimeAnnotations, startTime, transcript, ttl, turnCount, updateTime; + latestSummary, medium, metadataJson, name, obfuscatedUserId, + qualityMetadata, runtimeAnnotations, startTime, transcript, ttl, + turnCount, updateTime; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -1766,8 +1767,9 @@ @implementation GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1Call @implementation GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1Conversation @dynamic agentId, callMetadata, createTime, dataSource, dialogflowIntents, duration, expireTime, labels, languageCode, latestAnalysis, - latestSummary, medium, name, obfuscatedUserId, qualityMetadata, - runtimeAnnotations, startTime, transcript, ttl, turnCount, updateTime; + latestSummary, medium, metadataJson, name, obfuscatedUserId, + qualityMetadata, runtimeAnnotations, startTime, transcript, ttl, + turnCount, updateTime; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ diff --git a/Sources/GeneratedServices/Contactcenterinsights/Public/GoogleAPIClientForREST/GTLRContactcenterinsightsObjects.h b/Sources/GeneratedServices/Contactcenterinsights/Public/GoogleAPIClientForREST/GTLRContactcenterinsightsObjects.h index 6609d7e22..fd6851d8b 100644 --- a/Sources/GeneratedServices/Contactcenterinsights/Public/GoogleAPIClientForREST/GTLRContactcenterinsightsObjects.h +++ b/Sources/GeneratedServices/Contactcenterinsights/Public/GoogleAPIClientForREST/GTLRContactcenterinsightsObjects.h @@ -1706,6 +1706,13 @@ FOUNDATION_EXTERN NSString * const kGTLRContactcenterinsights_GoogleCloudContact */ @property(nonatomic, copy, nullable) NSString *medium; +/** + * Input only. JSON Metadata encoded as a string. This field is primarily used + * by Insights integrations with various telphony systems and must be in one of + * Insights' supported formats. + */ +@property(nonatomic, copy, nullable) NSString *metadataJson; + /** * Immutable. The resource name of the conversation. Format: * projects/{project}/locations/{location}/conversations/{conversation} @@ -4418,6 +4425,13 @@ GTLR_DEPRECATED */ @property(nonatomic, copy, nullable) NSString *medium; +/** + * Input only. JSON Metadata encoded as a string. This field is primarily used + * by Insights integrations with various telphony systems and must be in one of + * Insights' supported formats. + */ +@property(nonatomic, copy, nullable) NSString *metadataJson; + /** * Immutable. The resource name of the conversation. Format: * projects/{project}/locations/{location}/conversations/{conversation} diff --git a/Sources/GeneratedServices/Container/GTLRContainerObjects.m b/Sources/GeneratedServices/Container/GTLRContainerObjects.m index 1d9083f34..864a81bb9 100644 --- a/Sources/GeneratedServices/Container/GTLRContainerObjects.m +++ b/Sources/GeneratedServices/Container/GTLRContainerObjects.m @@ -7,7 +7,7 @@ // Builds and manages container-based applications, powered by the open source // Kubernetes technology. // Documentation: -// https://cloud.google.com/container-engine/ +// https://cloud.google.com/kubernetes-engine/docs/ #import @@ -85,6 +85,11 @@ NSString * const kGTLRContainer_ClusterUpdate_DesiredStackType_Ipv4Ipv6 = @"IPV4_IPV6"; NSString * const kGTLRContainer_ClusterUpdate_DesiredStackType_StackTypeUnspecified = @"STACK_TYPE_UNSPECIFIED"; +// GTLRContainer_CompliancePostureConfig.mode +NSString * const kGTLRContainer_CompliancePostureConfig_Mode_Disabled = @"DISABLED"; +NSString * const kGTLRContainer_CompliancePostureConfig_Mode_Enabled = @"ENABLED"; +NSString * const kGTLRContainer_CompliancePostureConfig_Mode_ModeUnspecified = @"MODE_UNSPECIFIED"; + // GTLRContainer_DatabaseEncryption.currentState NSString * const kGTLRContainer_DatabaseEncryption_CurrentState_CurrentStateDecrypted = @"CURRENT_STATE_DECRYPTED"; NSString * const kGTLRContainer_DatabaseEncryption_CurrentState_CurrentStateDecryptionError = @"CURRENT_STATE_DECRYPTION_ERROR"; @@ -408,7 +413,7 @@ @implementation GTLRContainer_AdditionalNodeNetworkConfig // @implementation GTLRContainer_AdditionalPodNetworkConfig -@dynamic maxPodsPerNode, secondaryPodRange, subnetwork; +@dynamic maxPodsPerNode, networkAttachment, secondaryPodRange, subnetwork; @end @@ -691,19 +696,19 @@ @implementation GTLRContainer_CloudRunConfig @implementation GTLRContainer_Cluster @dynamic addonsConfig, authenticatorGroupsConfig, autopilot, autoscaling, - binaryAuthorization, clusterIpv4Cidr, conditions, confidentialNodes, - costManagementConfig, createTime, currentMasterVersion, - currentNodeCount, currentNodeVersion, databaseEncryption, - defaultMaxPodsConstraint, descriptionProperty, enableK8sBetaApis, - enableKubernetesAlpha, enableTpu, endpoint, enterpriseConfig, ETag, - expireTime, fleet, identifier, identityServiceConfig, - initialClusterVersion, initialNodeCount, instanceGroupUrls, - ipAllocationPolicy, labelFingerprint, legacyAbac, location, locations, - loggingConfig, loggingService, maintenancePolicy, masterAuth, - masterAuthorizedNetworksConfig, meshCertificates, monitoringConfig, - monitoringService, name, network, networkConfig, networkPolicy, - nodeConfig, nodeIpv4CidrSize, nodePoolAutoConfig, nodePoolDefaults, - nodePools, notificationConfig, parentProductConfig, + binaryAuthorization, clusterIpv4Cidr, compliancePostureConfig, + conditions, confidentialNodes, costManagementConfig, createTime, + currentMasterVersion, currentNodeCount, currentNodeVersion, + databaseEncryption, defaultMaxPodsConstraint, descriptionProperty, + enableK8sBetaApis, enableKubernetesAlpha, enableTpu, endpoint, + enterpriseConfig, ETag, expireTime, fleet, identifier, + identityServiceConfig, initialClusterVersion, initialNodeCount, + instanceGroupUrls, ipAllocationPolicy, labelFingerprint, legacyAbac, + location, locations, loggingConfig, loggingService, maintenancePolicy, + masterAuth, masterAuthorizedNetworksConfig, meshCertificates, + monitoringConfig, monitoringService, name, network, networkConfig, + networkPolicy, nodeConfig, nodeIpv4CidrSize, nodePoolAutoConfig, + nodePoolDefaults, nodePools, notificationConfig, parentProductConfig, privateClusterConfig, rbacBindingConfig, releaseChannel, resourceLabels, resourceUsageExportConfig, satisfiesPzi, satisfiesPzs, secretManagerConfig, securityPostureConfig, selfLink, servicesIpv4Cidr, @@ -786,9 +791,9 @@ @implementation GTLRContainer_ClusterUpdate @dynamic additionalPodRangesConfig, desiredAddonsConfig, desiredAuthenticatorGroupsConfig, desiredAutopilotWorkloadPolicyConfig, desiredBinaryAuthorization, desiredClusterAutoscaling, - desiredContainerdConfig, desiredCostManagementConfig, - desiredDatabaseEncryption, desiredDatapathProvider, - desiredDefaultSnatStatus, desiredDnsConfig, + desiredCompliancePostureConfig, desiredContainerdConfig, + desiredCostManagementConfig, desiredDatabaseEncryption, + desiredDatapathProvider, desiredDefaultSnatStatus, desiredDnsConfig, desiredEnableCiliumClusterwideNetworkPolicy, desiredEnableFqdnNetworkPolicy, desiredEnableMultiNetworking, desiredEnablePrivateEndpoint, desiredFleet, desiredGatewayApiConfig, @@ -851,6 +856,34 @@ @implementation GTLRContainer_CompleteNodePoolUpgradeRequest @end +// ---------------------------------------------------------------------------- +// +// GTLRContainer_CompliancePostureConfig +// + +@implementation GTLRContainer_CompliancePostureConfig +@dynamic complianceStandards, mode; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"complianceStandards" : [GTLRContainer_ComplianceStandard class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRContainer_ComplianceStandard +// + +@implementation GTLRContainer_ComplianceStandard +@dynamic standard; +@end + + // ---------------------------------------------------------------------------- // // GTLRContainer_ConfidentialNodes diff --git a/Sources/GeneratedServices/Container/GTLRContainerQuery.m b/Sources/GeneratedServices/Container/GTLRContainerQuery.m index 07c99a1dc..37210b7bb 100644 --- a/Sources/GeneratedServices/Container/GTLRContainerQuery.m +++ b/Sources/GeneratedServices/Container/GTLRContainerQuery.m @@ -7,7 +7,7 @@ // Builds and manages container-based applications, powered by the open source // Kubernetes technology. // Documentation: -// https://cloud.google.com/container-engine/ +// https://cloud.google.com/kubernetes-engine/docs/ #import diff --git a/Sources/GeneratedServices/Container/GTLRContainerService.m b/Sources/GeneratedServices/Container/GTLRContainerService.m index d06d73ee2..669a70a25 100644 --- a/Sources/GeneratedServices/Container/GTLRContainerService.m +++ b/Sources/GeneratedServices/Container/GTLRContainerService.m @@ -7,7 +7,7 @@ // Builds and manages container-based applications, powered by the open source // Kubernetes technology. // Documentation: -// https://cloud.google.com/container-engine/ +// https://cloud.google.com/kubernetes-engine/docs/ #import diff --git a/Sources/GeneratedServices/Container/Public/GoogleAPIClientForREST/GTLRContainer.h b/Sources/GeneratedServices/Container/Public/GoogleAPIClientForREST/GTLRContainer.h index d9f45effc..c409036e1 100644 --- a/Sources/GeneratedServices/Container/Public/GoogleAPIClientForREST/GTLRContainer.h +++ b/Sources/GeneratedServices/Container/Public/GoogleAPIClientForREST/GTLRContainer.h @@ -7,7 +7,7 @@ // Builds and manages container-based applications, powered by the open source // Kubernetes technology. // Documentation: -// https://cloud.google.com/container-engine/ +// https://cloud.google.com/kubernetes-engine/docs/ #import "GTLRContainerObjects.h" #import "GTLRContainerQuery.h" diff --git a/Sources/GeneratedServices/Container/Public/GoogleAPIClientForREST/GTLRContainerObjects.h b/Sources/GeneratedServices/Container/Public/GoogleAPIClientForREST/GTLRContainerObjects.h index 8d127d052..a04c95a18 100644 --- a/Sources/GeneratedServices/Container/Public/GoogleAPIClientForREST/GTLRContainerObjects.h +++ b/Sources/GeneratedServices/Container/Public/GoogleAPIClientForREST/GTLRContainerObjects.h @@ -7,7 +7,7 @@ // Builds and manages container-based applications, powered by the open source // Kubernetes technology. // Documentation: -// https://cloud.google.com/container-engine/ +// https://cloud.google.com/kubernetes-engine/docs/ #import @@ -41,6 +41,8 @@ @class GTLRContainer_ClusterAutoscaling; @class GTLRContainer_ClusterNetworkPerformanceConfig; @class GTLRContainer_ClusterUpdate; +@class GTLRContainer_CompliancePostureConfig; +@class GTLRContainer_ComplianceStandard; @class GTLRContainer_ConfidentialNodes; @class GTLRContainer_ConfigConnectorConfig; @class GTLRContainer_ConsumptionMeteringConfig; @@ -528,6 +530,28 @@ FOUNDATION_EXTERN NSString * const kGTLRContainer_ClusterUpdate_DesiredStackType */ FOUNDATION_EXTERN NSString * const kGTLRContainer_ClusterUpdate_DesiredStackType_StackTypeUnspecified; +// ---------------------------------------------------------------------------- +// GTLRContainer_CompliancePostureConfig.mode + +/** + * Disables Compliance Posture features on the cluster. + * + * Value: "DISABLED" + */ +FOUNDATION_EXTERN NSString * const kGTLRContainer_CompliancePostureConfig_Mode_Disabled; +/** + * Enables Compliance Posture features on the cluster. + * + * Value: "ENABLED" + */ +FOUNDATION_EXTERN NSString * const kGTLRContainer_CompliancePostureConfig_Mode_Enabled; +/** + * Default value not specified. + * + * Value: "MODE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRContainer_CompliancePostureConfig_Mode_ModeUnspecified; + // ---------------------------------------------------------------------------- // GTLRContainer_DatabaseEncryption.currentState @@ -2161,6 +2185,12 @@ FOUNDATION_EXTERN NSString * const kGTLRContainer_WorkloadMetadataConfig_Mode_Mo /** The maximum number of pods per node which use this pod network. */ @property(nonatomic, strong, nullable) GTLRContainer_MaxPodsConstraint *maxPodsPerNode; +/** + * The name of the network attachment for pods to communicate to; cannot be + * specified along with subnetwork or secondary_pod_range. + */ +@property(nonatomic, copy, nullable) NSString *networkAttachment; + /** * The name of the secondary range on the subnet which provides IP address for * this pod range. @@ -2807,6 +2837,9 @@ FOUNDATION_EXTERN NSString * const kGTLRContainer_WorkloadMetadataConfig_Mode_Mo */ @property(nonatomic, copy, nullable) NSString *clusterIpv4Cidr; +/** Enable/Disable Compliance Posture features for the cluster. */ +@property(nonatomic, strong, nullable) GTLRContainer_CompliancePostureConfig *compliancePostureConfig; + /** Which conditions caused the current cluster state. */ @property(nonatomic, strong, nullable) NSArray *conditions; @@ -3342,6 +3375,9 @@ FOUNDATION_EXTERN NSString * const kGTLRContainer_WorkloadMetadataConfig_Mode_Mo /** Cluster-level autoscaling configuration. */ @property(nonatomic, strong, nullable) GTLRContainer_ClusterAutoscaling *desiredClusterAutoscaling; +/** Enable/Disable Compliance Posture features for the cluster. */ +@property(nonatomic, strong, nullable) GTLRContainer_CompliancePostureConfig *desiredCompliancePostureConfig; + /** The desired containerd config for the cluster. */ @property(nonatomic, strong, nullable) GTLRContainer_DConfig *desiredContainerdConfig; @@ -3707,6 +3743,42 @@ FOUNDATION_EXTERN NSString * const kGTLRContainer_WorkloadMetadataConfig_Mode_Mo @end +/** + * CompliancePostureConfig defines the settings needed to enable/disable + * features for the Compliance Posture. + */ +@interface GTLRContainer_CompliancePostureConfig : GTLRObject + +/** List of enabled compliance standards. */ +@property(nonatomic, strong, nullable) NSArray *complianceStandards; + +/** + * Defines the enablement mode for Compliance Posture. + * + * Likely values: + * @arg @c kGTLRContainer_CompliancePostureConfig_Mode_Disabled Disables + * Compliance Posture features on the cluster. (Value: "DISABLED") + * @arg @c kGTLRContainer_CompliancePostureConfig_Mode_Enabled Enables + * Compliance Posture features on the cluster. (Value: "ENABLED") + * @arg @c kGTLRContainer_CompliancePostureConfig_Mode_ModeUnspecified + * Default value not specified. (Value: "MODE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *mode; + +@end + + +/** + * Defines the details of a compliance standard. + */ +@interface GTLRContainer_ComplianceStandard : GTLRObject + +/** Name of the compliance standard. */ +@property(nonatomic, copy, nullable) NSString *standard; + +@end + + /** * ConfidentialNodes is configuration for the confidential nodes feature, which * makes nodes run on confidential VMs. @@ -4253,8 +4325,8 @@ FOUNDATION_EXTERN NSString * const kGTLRContainer_WorkloadMetadataConfig_Mode_Mo @interface GTLRContainer_GetJSONWebKeysResponse : GTLRObject /** - * OnePlatform automatically extracts this field and uses it to set the HTTP - * Cache-Control header. + * For HTTP requests, this field is automatically extracted into the + * Cache-Control HTTP header. */ @property(nonatomic, strong, nullable) GTLRContainer_HttpCacheControlResponseHeader *cacheHeader; @@ -4273,8 +4345,8 @@ FOUNDATION_EXTERN NSString * const kGTLRContainer_WorkloadMetadataConfig_Mode_Mo @interface GTLRContainer_GetOpenIDConfigResponse : GTLRObject /** - * OnePlatform automatically extracts this field and uses it to set the HTTP - * Cache-Control header. + * For HTTP requests, this field is automatically extracted into the + * Cache-Control HTTP header. */ @property(nonatomic, strong, nullable) GTLRContainer_HttpCacheControlResponseHeader *cacheHeader; diff --git a/Sources/GeneratedServices/Container/Public/GoogleAPIClientForREST/GTLRContainerQuery.h b/Sources/GeneratedServices/Container/Public/GoogleAPIClientForREST/GTLRContainerQuery.h index 9febf4923..2ef4c531d 100644 --- a/Sources/GeneratedServices/Container/Public/GoogleAPIClientForREST/GTLRContainerQuery.h +++ b/Sources/GeneratedServices/Container/Public/GoogleAPIClientForREST/GTLRContainerQuery.h @@ -7,7 +7,7 @@ // Builds and manages container-based applications, powered by the open source // Kubernetes technology. // Documentation: -// https://cloud.google.com/container-engine/ +// https://cloud.google.com/kubernetes-engine/docs/ #import diff --git a/Sources/GeneratedServices/Container/Public/GoogleAPIClientForREST/GTLRContainerService.h b/Sources/GeneratedServices/Container/Public/GoogleAPIClientForREST/GTLRContainerService.h index c468ba705..b9cbb0091 100644 --- a/Sources/GeneratedServices/Container/Public/GoogleAPIClientForREST/GTLRContainerService.h +++ b/Sources/GeneratedServices/Container/Public/GoogleAPIClientForREST/GTLRContainerService.h @@ -7,7 +7,7 @@ // Builds and manages container-based applications, powered by the open source // Kubernetes technology. // Documentation: -// https://cloud.google.com/container-engine/ +// https://cloud.google.com/kubernetes-engine/docs/ #import diff --git a/Sources/GeneratedServices/Css/GTLRCssObjects.m b/Sources/GeneratedServices/Css/GTLRCssObjects.m index 7457e59c2..524d5232b 100644 --- a/Sources/GeneratedServices/Css/GTLRCssObjects.m +++ b/Sources/GeneratedServices/Css/GTLRCssObjects.m @@ -30,6 +30,11 @@ NSString * const kGTLRCss_AccountLabel_LabelType_LabelTypeUnspecified = @"LABEL_TYPE_UNSPECIFIED"; NSString * const kGTLRCss_AccountLabel_LabelType_Manual = @"MANUAL"; +// GTLRCss_HeadlineOfferSubscriptionCost.period +NSString * const kGTLRCss_HeadlineOfferSubscriptionCost_Period_Month = @"MONTH"; +NSString * const kGTLRCss_HeadlineOfferSubscriptionCost_Period_SubscriptionPeriodUnspecified = @"SUBSCRIPTION_PERIOD_UNSPECIFIED"; +NSString * const kGTLRCss_HeadlineOfferSubscriptionCost_Period_Year = @"YEAR"; + // ---------------------------------------------------------------------------- // // GTLRCss_Account @@ -75,13 +80,14 @@ @implementation GTLRCss_Attributes cppAdsRedirect, cppLink, cppMobileLink, customLabel0, customLabel1, customLabel2, customLabel3, customLabel4, descriptionProperty, excludedDestinations, expirationDate, gender, googleProductCategory, - gtin, headlineOfferCondition, headlineOfferLink, - headlineOfferMobileLink, headlineOfferPrice, - headlineOfferShippingPrice, highPrice, imageLink, includedDestinations, - isBundle, itemGroupId, lowPrice, material, mpn, multipack, - numberOfOffers, pattern, pause, productDetails, productHeight, - productHighlights, productLength, productTypes, productWeight, - productWidth, size, sizeSystem, sizeTypes, title; + gtin, headlineOfferCondition, headlineOfferInstallment, + headlineOfferLink, headlineOfferMobileLink, headlineOfferPrice, + headlineOfferShippingPrice, headlineOfferSubscriptionCost, highPrice, + imageLink, includedDestinations, isBundle, itemGroupId, lowPrice, + material, mpn, multipack, numberOfOffers, pattern, pause, + productDetails, productHeight, productHighlights, productLength, + productTypes, productWeight, productWidth, size, sizeSystem, sizeTypes, + title; + (NSDictionary *)propertyToJSONKeyMap { return @{ @"descriptionProperty" : @"description" }; @@ -161,6 +167,26 @@ @implementation GTLRCss_Empty @end +// ---------------------------------------------------------------------------- +// +// GTLRCss_HeadlineOfferInstallment +// + +@implementation GTLRCss_HeadlineOfferInstallment +@dynamic amount, downpayment, months; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRCss_HeadlineOfferSubscriptionCost +// + +@implementation GTLRCss_HeadlineOfferSubscriptionCost +@dynamic amount, period, periodLength; +@end + + // ---------------------------------------------------------------------------- // // GTLRCss_ItemLevelIssue diff --git a/Sources/GeneratedServices/Css/Public/GoogleAPIClientForREST/GTLRCssObjects.h b/Sources/GeneratedServices/Css/Public/GoogleAPIClientForREST/GTLRCssObjects.h index 74888cb76..38951394b 100644 --- a/Sources/GeneratedServices/Css/Public/GoogleAPIClientForREST/GTLRCssObjects.h +++ b/Sources/GeneratedServices/Css/Public/GoogleAPIClientForREST/GTLRCssObjects.h @@ -21,6 +21,8 @@ @class GTLRCss_Certification; @class GTLRCss_CustomAttribute; @class GTLRCss_DestinationStatus; +@class GTLRCss_HeadlineOfferInstallment; +@class GTLRCss_HeadlineOfferSubscriptionCost; @class GTLRCss_ItemLevelIssue; @class GTLRCss_Price; @class GTLRCss_Product; @@ -119,6 +121,28 @@ FOUNDATION_EXTERN NSString * const kGTLRCss_AccountLabel_LabelType_LabelTypeUnsp */ FOUNDATION_EXTERN NSString * const kGTLRCss_AccountLabel_LabelType_Manual; +// ---------------------------------------------------------------------------- +// GTLRCss_HeadlineOfferSubscriptionCost.period + +/** + * Indicates that the subscription period is month. + * + * Value: "MONTH" + */ +FOUNDATION_EXTERN NSString * const kGTLRCss_HeadlineOfferSubscriptionCost_Period_Month; +/** + * Indicates that the subscription period is unspecified. + * + * Value: "SUBSCRIPTION_PERIOD_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCss_HeadlineOfferSubscriptionCost_Period_SubscriptionPeriodUnspecified; +/** + * Indicates that the subscription period is year. + * + * Value: "YEAR" + */ +FOUNDATION_EXTERN NSString * const kGTLRCss_HeadlineOfferSubscriptionCost_Period_Year; + /** * Information about CSS/MC account. */ @@ -337,6 +361,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCss_AccountLabel_LabelType_Manual; /** Condition of the headline offer. */ @property(nonatomic, copy, nullable) NSString *headlineOfferCondition; +/** Number and amount of installments to pay for an item. */ +@property(nonatomic, strong, nullable) GTLRCss_HeadlineOfferInstallment *headlineOfferInstallment; + /** Link to the headline offer. */ @property(nonatomic, copy, nullable) NSString *headlineOfferLink; @@ -349,6 +376,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCss_AccountLabel_LabelType_Manual; /** Headline Price of the aggregate offer. */ @property(nonatomic, strong, nullable) GTLRCss_Price *headlineOfferShippingPrice; +/** + * Number of periods (months or years) and amount of payment per period for an + * item with an associated subscription contract. + */ +@property(nonatomic, strong, nullable) GTLRCss_HeadlineOfferSubscriptionCost *headlineOfferSubscriptionCost; + /** High Price of the aggregate offer. */ @property(nonatomic, strong, nullable) GTLRCss_Price *highPrice; @@ -559,6 +592,60 @@ FOUNDATION_EXTERN NSString * const kGTLRCss_AccountLabel_LabelType_Manual; @end +/** + * A message that represents installment. + */ +@interface GTLRCss_HeadlineOfferInstallment : GTLRObject + +/** The amount the buyer has to pay per month. */ +@property(nonatomic, strong, nullable) GTLRCss_Price *amount; + +/** The up-front down payment amount the buyer has to pay. */ +@property(nonatomic, strong, nullable) GTLRCss_Price *downpayment; + +/** + * The number of installments the buyer has to pay. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *months; + +@end + + +/** + * The SubscriptionCost of the product. + */ +@interface GTLRCss_HeadlineOfferSubscriptionCost : GTLRObject + +/** The amount the buyer has to pay per subscription period. */ +@property(nonatomic, strong, nullable) GTLRCss_Price *amount; + +/** + * The type of subscription period. Supported values are: * "`month`" * + * "`year`" + * + * Likely values: + * @arg @c kGTLRCss_HeadlineOfferSubscriptionCost_Period_Month Indicates that + * the subscription period is month. (Value: "MONTH") + * @arg @c kGTLRCss_HeadlineOfferSubscriptionCost_Period_SubscriptionPeriodUnspecified + * Indicates that the subscription period is unspecified. (Value: + * "SUBSCRIPTION_PERIOD_UNSPECIFIED") + * @arg @c kGTLRCss_HeadlineOfferSubscriptionCost_Period_Year Indicates that + * the subscription period is year. (Value: "YEAR") + */ +@property(nonatomic, copy, nullable) NSString *period; + +/** + * The number of subscription periods the buyer has to pay. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *periodLength; + +@end + + /** * The ItemLevelIssue of the product status. */ diff --git a/Sources/GeneratedServices/DLP/GTLRDLPObjects.m b/Sources/GeneratedServices/DLP/GTLRDLPObjects.m index 92b5e12fc..4cdaebcdd 100644 --- a/Sources/GeneratedServices/DLP/GTLRDLPObjects.m +++ b/Sources/GeneratedServices/DLP/GTLRDLPObjects.m @@ -15,6 +15,19 @@ // ---------------------------------------------------------------------------- // Constants +// GTLRDLP_GooglePrivacyDlpV2AmazonS3BucketConditions.bucketTypes +NSString * const kGTLRDLP_GooglePrivacyDlpV2AmazonS3BucketConditions_BucketTypes_TypeAllSupported = @"TYPE_ALL_SUPPORTED"; +NSString * const kGTLRDLP_GooglePrivacyDlpV2AmazonS3BucketConditions_BucketTypes_TypeGeneralPurpose = @"TYPE_GENERAL_PURPOSE"; +NSString * const kGTLRDLP_GooglePrivacyDlpV2AmazonS3BucketConditions_BucketTypes_TypeUnspecified = @"TYPE_UNSPECIFIED"; + +// GTLRDLP_GooglePrivacyDlpV2AmazonS3BucketConditions.objectStorageClasses +NSString * const kGTLRDLP_GooglePrivacyDlpV2AmazonS3BucketConditions_ObjectStorageClasses_AllSupportedClasses = @"ALL_SUPPORTED_CLASSES"; +NSString * const kGTLRDLP_GooglePrivacyDlpV2AmazonS3BucketConditions_ObjectStorageClasses_GlacierInstantRetrieval = @"GLACIER_INSTANT_RETRIEVAL"; +NSString * const kGTLRDLP_GooglePrivacyDlpV2AmazonS3BucketConditions_ObjectStorageClasses_IntelligentTiering = @"INTELLIGENT_TIERING"; +NSString * const kGTLRDLP_GooglePrivacyDlpV2AmazonS3BucketConditions_ObjectStorageClasses_Standard = @"STANDARD"; +NSString * const kGTLRDLP_GooglePrivacyDlpV2AmazonS3BucketConditions_ObjectStorageClasses_StandardInfrequentAccess = @"STANDARD_INFREQUENT_ACCESS"; +NSString * const kGTLRDLP_GooglePrivacyDlpV2AmazonS3BucketConditions_ObjectStorageClasses_Unspecified = @"UNSPECIFIED"; + // GTLRDLP_GooglePrivacyDlpV2BigQueryOptions.sampleMethod NSString * const kGTLRDLP_GooglePrivacyDlpV2BigQueryOptions_SampleMethod_RandomStart = @"RANDOM_START"; NSString * const kGTLRDLP_GooglePrivacyDlpV2BigQueryOptions_SampleMethod_SampleMethodUnspecified = @"SAMPLE_METHOD_UNSPECIFIED"; @@ -252,6 +265,12 @@ NSString * const kGTLRDLP_GooglePrivacyDlpV2DiscoveryInspectTemplateModifiedCadence_Frequency_UpdateFrequencyNever = @"UPDATE_FREQUENCY_NEVER"; NSString * const kGTLRDLP_GooglePrivacyDlpV2DiscoveryInspectTemplateModifiedCadence_Frequency_UpdateFrequencyUnspecified = @"UPDATE_FREQUENCY_UNSPECIFIED"; +// GTLRDLP_GooglePrivacyDlpV2DiscoveryOtherCloudGenerationCadence.refreshFrequency +NSString * const kGTLRDLP_GooglePrivacyDlpV2DiscoveryOtherCloudGenerationCadence_RefreshFrequency_UpdateFrequencyDaily = @"UPDATE_FREQUENCY_DAILY"; +NSString * const kGTLRDLP_GooglePrivacyDlpV2DiscoveryOtherCloudGenerationCadence_RefreshFrequency_UpdateFrequencyMonthly = @"UPDATE_FREQUENCY_MONTHLY"; +NSString * const kGTLRDLP_GooglePrivacyDlpV2DiscoveryOtherCloudGenerationCadence_RefreshFrequency_UpdateFrequencyNever = @"UPDATE_FREQUENCY_NEVER"; +NSString * const kGTLRDLP_GooglePrivacyDlpV2DiscoveryOtherCloudGenerationCadence_RefreshFrequency_UpdateFrequencyUnspecified = @"UPDATE_FREQUENCY_UNSPECIFIED"; + // GTLRDLP_GooglePrivacyDlpV2DiscoverySchemaModifiedCadence.frequency NSString * const kGTLRDLP_GooglePrivacyDlpV2DiscoverySchemaModifiedCadence_Frequency_UpdateFrequencyDaily = @"UPDATE_FREQUENCY_DAILY"; NSString * const kGTLRDLP_GooglePrivacyDlpV2DiscoverySchemaModifiedCadence_Frequency_UpdateFrequencyMonthly = @"UPDATE_FREQUENCY_MONTHLY"; @@ -657,6 +676,45 @@ @implementation GTLRDLP_GooglePrivacyDlpV2AllText @end +// ---------------------------------------------------------------------------- +// +// GTLRDLP_GooglePrivacyDlpV2AmazonS3Bucket +// + +@implementation GTLRDLP_GooglePrivacyDlpV2AmazonS3Bucket +@dynamic awsAccount, bucketName; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDLP_GooglePrivacyDlpV2AmazonS3BucketConditions +// + +@implementation GTLRDLP_GooglePrivacyDlpV2AmazonS3BucketConditions +@dynamic bucketTypes, objectStorageClasses; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"bucketTypes" : [NSString class], + @"objectStorageClasses" : [NSString class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDLP_GooglePrivacyDlpV2AmazonS3BucketRegex +// + +@implementation GTLRDLP_GooglePrivacyDlpV2AmazonS3BucketRegex +@dynamic awsAccountRegex, bucketNameRegex; +@end + + // ---------------------------------------------------------------------------- // // GTLRDLP_GooglePrivacyDlpV2AnalyzeDataSourceRiskDetails @@ -688,6 +746,36 @@ @implementation GTLRDLP_GooglePrivacyDlpV2AuxiliaryTable @end +// ---------------------------------------------------------------------------- +// +// GTLRDLP_GooglePrivacyDlpV2AwsAccount +// + +@implementation GTLRDLP_GooglePrivacyDlpV2AwsAccount +@dynamic accountId; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDLP_GooglePrivacyDlpV2AwsAccountRegex +// + +@implementation GTLRDLP_GooglePrivacyDlpV2AwsAccountRegex +@dynamic accountIdRegex; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDLP_GooglePrivacyDlpV2AwsDiscoveryStartingLocation +// + +@implementation GTLRDLP_GooglePrivacyDlpV2AwsDiscoveryStartingLocation +@dynamic accountId, allAssetInventoryAssets; +@end + + // ---------------------------------------------------------------------------- // // GTLRDLP_GooglePrivacyDlpV2BigQueryDiscoveryTarget @@ -1354,7 +1442,8 @@ @implementation GTLRDLP_GooglePrivacyDlpV2DatabaseResourceRegexes // @implementation GTLRDLP_GooglePrivacyDlpV2DataProfileAction -@dynamic exportData, pubSubNotification, tagResources; +@dynamic exportData, publishToChronicle, publishToScc, pubSubNotification, + tagResources; @end @@ -1385,7 +1474,8 @@ @implementation GTLRDLP_GooglePrivacyDlpV2DataProfileConfigSnapshot // @implementation GTLRDLP_GooglePrivacyDlpV2DataProfileJobConfig -@dynamic dataProfileActions, inspectTemplates, location, projectId; +@dynamic dataProfileActions, inspectTemplates, location, + otherCloudStartingLocation, projectId; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -1784,7 +1874,8 @@ @implementation GTLRDLP_GooglePrivacyDlpV2DiscoveryCloudStorageGenerationCadence @implementation GTLRDLP_GooglePrivacyDlpV2DiscoveryConfig @dynamic actions, createTime, displayName, errors, inspectTemplates, - lastRunTime, name, orgConfig, status, targets, updateTime; + lastRunTime, name, orgConfig, otherCloudStartingLocation, status, + targets, updateTime; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -1830,6 +1921,36 @@ @implementation GTLRDLP_GooglePrivacyDlpV2DiscoveryInspectTemplateModifiedCadenc @end +// ---------------------------------------------------------------------------- +// +// GTLRDLP_GooglePrivacyDlpV2DiscoveryOtherCloudConditions +// + +@implementation GTLRDLP_GooglePrivacyDlpV2DiscoveryOtherCloudConditions +@dynamic amazonS3BucketConditions, minAge; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDLP_GooglePrivacyDlpV2DiscoveryOtherCloudFilter +// + +@implementation GTLRDLP_GooglePrivacyDlpV2DiscoveryOtherCloudFilter +@dynamic collection, others, singleResource; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDLP_GooglePrivacyDlpV2DiscoveryOtherCloudGenerationCadence +// + +@implementation GTLRDLP_GooglePrivacyDlpV2DiscoveryOtherCloudGenerationCadence +@dynamic inspectTemplateModifiedCadence, refreshFrequency; +@end + + // ---------------------------------------------------------------------------- // // GTLRDLP_GooglePrivacyDlpV2DiscoverySchemaModifiedCadence @@ -1882,7 +2003,8 @@ @implementation GTLRDLP_GooglePrivacyDlpV2DiscoveryTableModifiedCadence // @implementation GTLRDLP_GooglePrivacyDlpV2DiscoveryTarget -@dynamic bigQueryTarget, cloudSqlTarget, cloudStorageTarget, secretsTarget; +@dynamic bigQueryTarget, cloudSqlTarget, cloudStorageTarget, otherCloudTarget, + secretsTarget; @end @@ -3354,6 +3476,74 @@ @implementation GTLRDLP_GooglePrivacyDlpV2OrgConfig @end +// ---------------------------------------------------------------------------- +// +// GTLRDLP_GooglePrivacyDlpV2OtherCloudDiscoveryStartingLocation +// + +@implementation GTLRDLP_GooglePrivacyDlpV2OtherCloudDiscoveryStartingLocation +@dynamic awsLocation; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDLP_GooglePrivacyDlpV2OtherCloudDiscoveryTarget +// + +@implementation GTLRDLP_GooglePrivacyDlpV2OtherCloudDiscoveryTarget +@dynamic conditions, dataSourceType, disabled, filter, generationCadence; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDLP_GooglePrivacyDlpV2OtherCloudResourceCollection +// + +@implementation GTLRDLP_GooglePrivacyDlpV2OtherCloudResourceCollection +@dynamic includeRegexes; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDLP_GooglePrivacyDlpV2OtherCloudResourceRegex +// + +@implementation GTLRDLP_GooglePrivacyDlpV2OtherCloudResourceRegex +@dynamic amazonS3BucketRegex; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDLP_GooglePrivacyDlpV2OtherCloudResourceRegexes +// + +@implementation GTLRDLP_GooglePrivacyDlpV2OtherCloudResourceRegexes +@dynamic patterns; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"patterns" : [GTLRDLP_GooglePrivacyDlpV2OtherCloudResourceRegex class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDLP_GooglePrivacyDlpV2OtherCloudSingleResourceReference +// + +@implementation GTLRDLP_GooglePrivacyDlpV2OtherCloudSingleResourceReference +@dynamic amazonS3Bucket; +@end + + // ---------------------------------------------------------------------------- // // GTLRDLP_GooglePrivacyDlpV2OtherInfoTypeSummary @@ -3479,6 +3669,15 @@ @implementation GTLRDLP_GooglePrivacyDlpV2PublishSummaryToCscc @end +// ---------------------------------------------------------------------------- +// +// GTLRDLP_GooglePrivacyDlpV2PublishToChronicle +// + +@implementation GTLRDLP_GooglePrivacyDlpV2PublishToChronicle +@end + + // ---------------------------------------------------------------------------- // // GTLRDLP_GooglePrivacyDlpV2PublishToPubSub @@ -3489,6 +3688,15 @@ @implementation GTLRDLP_GooglePrivacyDlpV2PublishToPubSub @end +// ---------------------------------------------------------------------------- +// +// GTLRDLP_GooglePrivacyDlpV2PublishToSecurityCommandCenter +// + +@implementation GTLRDLP_GooglePrivacyDlpV2PublishToSecurityCommandCenter +@end + + // ---------------------------------------------------------------------------- // // GTLRDLP_GooglePrivacyDlpV2PublishToStackdriver diff --git a/Sources/GeneratedServices/DLP/Public/GoogleAPIClientForREST/GTLRDLPObjects.h b/Sources/GeneratedServices/DLP/Public/GoogleAPIClientForREST/GTLRDLPObjects.h index e3e53ac9e..43b1e1468 100644 --- a/Sources/GeneratedServices/DLP/Public/GoogleAPIClientForREST/GTLRDLPObjects.h +++ b/Sources/GeneratedServices/DLP/Public/GoogleAPIClientForREST/GTLRDLPObjects.h @@ -23,8 +23,14 @@ @class GTLRDLP_GooglePrivacyDlpV2AllOtherDatabaseResources; @class GTLRDLP_GooglePrivacyDlpV2AllOtherResources; @class GTLRDLP_GooglePrivacyDlpV2AllText; +@class GTLRDLP_GooglePrivacyDlpV2AmazonS3Bucket; +@class GTLRDLP_GooglePrivacyDlpV2AmazonS3BucketConditions; +@class GTLRDLP_GooglePrivacyDlpV2AmazonS3BucketRegex; @class GTLRDLP_GooglePrivacyDlpV2AnalyzeDataSourceRiskDetails; @class GTLRDLP_GooglePrivacyDlpV2AuxiliaryTable; +@class GTLRDLP_GooglePrivacyDlpV2AwsAccount; +@class GTLRDLP_GooglePrivacyDlpV2AwsAccountRegex; +@class GTLRDLP_GooglePrivacyDlpV2AwsDiscoveryStartingLocation; @class GTLRDLP_GooglePrivacyDlpV2BigQueryDiscoveryTarget; @class GTLRDLP_GooglePrivacyDlpV2BigQueryField; @class GTLRDLP_GooglePrivacyDlpV2BigQueryKey; @@ -105,6 +111,9 @@ @class GTLRDLP_GooglePrivacyDlpV2DiscoveryFileStoreConditions; @class GTLRDLP_GooglePrivacyDlpV2DiscoveryGenerationCadence; @class GTLRDLP_GooglePrivacyDlpV2DiscoveryInspectTemplateModifiedCadence; +@class GTLRDLP_GooglePrivacyDlpV2DiscoveryOtherCloudConditions; +@class GTLRDLP_GooglePrivacyDlpV2DiscoveryOtherCloudFilter; +@class GTLRDLP_GooglePrivacyDlpV2DiscoveryOtherCloudGenerationCadence; @class GTLRDLP_GooglePrivacyDlpV2DiscoverySchemaModifiedCadence; @class GTLRDLP_GooglePrivacyDlpV2DiscoveryStartingLocation; @class GTLRDLP_GooglePrivacyDlpV2DiscoveryTableModifiedCadence; @@ -190,6 +199,12 @@ @class GTLRDLP_GooglePrivacyDlpV2NumericalStatsResult; @class GTLRDLP_GooglePrivacyDlpV2OrConditions; @class GTLRDLP_GooglePrivacyDlpV2OrgConfig; +@class GTLRDLP_GooglePrivacyDlpV2OtherCloudDiscoveryStartingLocation; +@class GTLRDLP_GooglePrivacyDlpV2OtherCloudDiscoveryTarget; +@class GTLRDLP_GooglePrivacyDlpV2OtherCloudResourceCollection; +@class GTLRDLP_GooglePrivacyDlpV2OtherCloudResourceRegex; +@class GTLRDLP_GooglePrivacyDlpV2OtherCloudResourceRegexes; +@class GTLRDLP_GooglePrivacyDlpV2OtherCloudSingleResourceReference; @class GTLRDLP_GooglePrivacyDlpV2OtherInfoTypeSummary; @class GTLRDLP_GooglePrivacyDlpV2OutputStorageConfig; @class GTLRDLP_GooglePrivacyDlpV2PartitionId; @@ -201,7 +216,9 @@ @class GTLRDLP_GooglePrivacyDlpV2Proximity; @class GTLRDLP_GooglePrivacyDlpV2PublishFindingsToCloudDataCatalog; @class GTLRDLP_GooglePrivacyDlpV2PublishSummaryToCscc; +@class GTLRDLP_GooglePrivacyDlpV2PublishToChronicle; @class GTLRDLP_GooglePrivacyDlpV2PublishToPubSub; +@class GTLRDLP_GooglePrivacyDlpV2PublishToSecurityCommandCenter; @class GTLRDLP_GooglePrivacyDlpV2PublishToStackdriver; @class GTLRDLP_GooglePrivacyDlpV2PubSubCondition; @class GTLRDLP_GooglePrivacyDlpV2PubSubExpressions; @@ -290,6 +307,68 @@ NS_ASSUME_NONNULL_BEGIN // ---------------------------------------------------------------------------- // Constants - For some of the classes' properties below. +// ---------------------------------------------------------------------------- +// GTLRDLP_GooglePrivacyDlpV2AmazonS3BucketConditions.bucketTypes + +/** + * All supported classes. + * + * Value: "TYPE_ALL_SUPPORTED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDLP_GooglePrivacyDlpV2AmazonS3BucketConditions_BucketTypes_TypeAllSupported; +/** + * A general purpose Amazon S3 bucket. + * + * Value: "TYPE_GENERAL_PURPOSE" + */ +FOUNDATION_EXTERN NSString * const kGTLRDLP_GooglePrivacyDlpV2AmazonS3BucketConditions_BucketTypes_TypeGeneralPurpose; +/** + * Unused. + * + * Value: "TYPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDLP_GooglePrivacyDlpV2AmazonS3BucketConditions_BucketTypes_TypeUnspecified; + +// ---------------------------------------------------------------------------- +// GTLRDLP_GooglePrivacyDlpV2AmazonS3BucketConditions.objectStorageClasses + +/** + * All supported classes. + * + * Value: "ALL_SUPPORTED_CLASSES" + */ +FOUNDATION_EXTERN NSString * const kGTLRDLP_GooglePrivacyDlpV2AmazonS3BucketConditions_ObjectStorageClasses_AllSupportedClasses; +/** + * Glacier - instant retrieval object class. + * + * Value: "GLACIER_INSTANT_RETRIEVAL" + */ +FOUNDATION_EXTERN NSString * const kGTLRDLP_GooglePrivacyDlpV2AmazonS3BucketConditions_ObjectStorageClasses_GlacierInstantRetrieval; +/** + * Objects in the S3 Intelligent-Tiering access tiers. + * + * Value: "INTELLIGENT_TIERING" + */ +FOUNDATION_EXTERN NSString * const kGTLRDLP_GooglePrivacyDlpV2AmazonS3BucketConditions_ObjectStorageClasses_IntelligentTiering; +/** + * Standard object class. + * + * Value: "STANDARD" + */ +FOUNDATION_EXTERN NSString * const kGTLRDLP_GooglePrivacyDlpV2AmazonS3BucketConditions_ObjectStorageClasses_Standard; +/** + * Standard - infrequent access object class. + * + * Value: "STANDARD_INFREQUENT_ACCESS" + */ +FOUNDATION_EXTERN NSString * const kGTLRDLP_GooglePrivacyDlpV2AmazonS3BucketConditions_ObjectStorageClasses_StandardInfrequentAccess; +/** + * Unused. + * + * Value: "UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDLP_GooglePrivacyDlpV2AmazonS3BucketConditions_ObjectStorageClasses_Unspecified; + // ---------------------------------------------------------------------------- // GTLRDLP_GooglePrivacyDlpV2BigQueryOptions.sampleMethod @@ -1546,6 +1625,34 @@ FOUNDATION_EXTERN NSString * const kGTLRDLP_GooglePrivacyDlpV2DiscoveryInspectTe */ FOUNDATION_EXTERN NSString * const kGTLRDLP_GooglePrivacyDlpV2DiscoveryInspectTemplateModifiedCadence_Frequency_UpdateFrequencyUnspecified; +// ---------------------------------------------------------------------------- +// GTLRDLP_GooglePrivacyDlpV2DiscoveryOtherCloudGenerationCadence.refreshFrequency + +/** + * The data profile can be updated up to once every 24 hours. + * + * Value: "UPDATE_FREQUENCY_DAILY" + */ +FOUNDATION_EXTERN NSString * const kGTLRDLP_GooglePrivacyDlpV2DiscoveryOtherCloudGenerationCadence_RefreshFrequency_UpdateFrequencyDaily; +/** + * The data profile can be updated up to once every 30 days. Default. + * + * Value: "UPDATE_FREQUENCY_MONTHLY" + */ +FOUNDATION_EXTERN NSString * const kGTLRDLP_GooglePrivacyDlpV2DiscoveryOtherCloudGenerationCadence_RefreshFrequency_UpdateFrequencyMonthly; +/** + * After the data profile is created, it will never be updated. + * + * Value: "UPDATE_FREQUENCY_NEVER" + */ +FOUNDATION_EXTERN NSString * const kGTLRDLP_GooglePrivacyDlpV2DiscoveryOtherCloudGenerationCadence_RefreshFrequency_UpdateFrequencyNever; +/** + * Unspecified. + * + * Value: "UPDATE_FREQUENCY_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDLP_GooglePrivacyDlpV2DiscoveryOtherCloudGenerationCadence_RefreshFrequency_UpdateFrequencyUnspecified; + // ---------------------------------------------------------------------------- // GTLRDLP_GooglePrivacyDlpV2DiscoverySchemaModifiedCadence.frequency @@ -3311,6 +3418,57 @@ FOUNDATION_EXTERN NSString * const kGTLRDLP_GooglePrivacyDlpV2Value_DayOfWeekVal @end +/** + * Amazon S3 bucket. + */ +@interface GTLRDLP_GooglePrivacyDlpV2AmazonS3Bucket : GTLRObject + +/** The AWS account. */ +@property(nonatomic, strong, nullable) GTLRDLP_GooglePrivacyDlpV2AwsAccount *awsAccount; + +/** Required. The bucket name. */ +@property(nonatomic, copy, nullable) NSString *bucketName; + +@end + + +/** + * Amazon S3 bucket conditions. + */ +@interface GTLRDLP_GooglePrivacyDlpV2AmazonS3BucketConditions : GTLRObject + +/** + * Optional. Bucket types that should be profiled. Optional. Defaults to + * TYPE_ALL_SUPPORTED if unspecified. + */ +@property(nonatomic, strong, nullable) NSArray *bucketTypes; + +/** + * Optional. Object classes that should be profiled. Optional. Defaults to + * ALL_SUPPORTED_CLASSES if unspecified. + */ +@property(nonatomic, strong, nullable) NSArray *objectStorageClasses; + +@end + + +/** + * Amazon S3 bucket regex. + */ +@interface GTLRDLP_GooglePrivacyDlpV2AmazonS3BucketRegex : GTLRObject + +/** The AWS account regex. */ +@property(nonatomic, strong, nullable) GTLRDLP_GooglePrivacyDlpV2AwsAccountRegex *awsAccountRegex; + +/** + * Optional. Regex to test the bucket name against. If empty, all buckets + * match. + */ +@property(nonatomic, copy, nullable) NSString *bucketNameRegex; + +@end + + /** * Result of a risk analysis operation request. */ @@ -3371,6 +3529,55 @@ FOUNDATION_EXTERN NSString * const kGTLRDLP_GooglePrivacyDlpV2Value_DayOfWeekVal @end +/** + * AWS account. + */ +@interface GTLRDLP_GooglePrivacyDlpV2AwsAccount : GTLRObject + +/** Required. AWS account ID. */ +@property(nonatomic, copy, nullable) NSString *accountId; + +@end + + +/** + * AWS account regex. + */ +@interface GTLRDLP_GooglePrivacyDlpV2AwsAccountRegex : GTLRObject + +/** + * Optional. Regex to test the AWS account ID against. If empty, all accounts + * match. + */ +@property(nonatomic, copy, nullable) NSString *accountIdRegex; + +@end + + +/** + * The AWS starting location for discovery. + */ +@interface GTLRDLP_GooglePrivacyDlpV2AwsDiscoveryStartingLocation : GTLRObject + +/** + * The AWS account ID that this discovery config applies to. Within an AWS + * organization, you can find the AWS account ID inside an AWS account ARN. + * Example: + * arn:{partition}:organizations::{management_account_id}:account/{org_id}/{account_id} + */ +@property(nonatomic, copy, nullable) NSString *accountId; + +/** + * All AWS assets stored in Asset Inventory that didn't match other AWS + * discovery configs. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *allAssetInventoryAssets; + +@end + + /** * Target used to match against for discovery with BigQuery tables */ @@ -5159,6 +5366,16 @@ FOUNDATION_EXTERN NSString * const kGTLRDLP_GooglePrivacyDlpV2Value_DayOfWeekVal /** Export data profiles into a provided location. */ @property(nonatomic, strong, nullable) GTLRDLP_GooglePrivacyDlpV2Export *exportData; +/** + * Publishes generated data profiles to Google Security Operations. For more + * information, see [Use Sensitive Data Protection data in context-aware + * analytics](https://cloud.google.com/chronicle/docs/detection/usecase-dlp-high-risk-user-download). + */ +@property(nonatomic, strong, nullable) GTLRDLP_GooglePrivacyDlpV2PublishToChronicle *publishToChronicle; + +/** Publishes findings to SCC for each data profile. */ +@property(nonatomic, strong, nullable) GTLRDLP_GooglePrivacyDlpV2PublishToSecurityCommandCenter *publishToScc; + /** Publish a message into the Pub/Sub topic. */ @property(nonatomic, strong, nullable) GTLRDLP_GooglePrivacyDlpV2PubSubNotification *pubSubNotification; @@ -5247,6 +5464,9 @@ FOUNDATION_EXTERN NSString * const kGTLRDLP_GooglePrivacyDlpV2Value_DayOfWeekVal /** The data to scan. */ @property(nonatomic, strong, nullable) GTLRDLP_GooglePrivacyDlpV2DataProfileLocation *location; +/** Must be set only when scanning other clouds. */ +@property(nonatomic, strong, nullable) GTLRDLP_GooglePrivacyDlpV2OtherCloudDiscoveryStartingLocation *otherCloudStartingLocation; + /** * The project that will run the scan. The DLP service account that exists * within this project must have access to all resources that are profiled, and @@ -6206,6 +6426,9 @@ FOUNDATION_EXTERN NSString * const kGTLRDLP_GooglePrivacyDlpV2Value_DayOfWeekVal /** Only set when the parent is an org. */ @property(nonatomic, strong, nullable) GTLRDLP_GooglePrivacyDlpV2OrgConfig *orgConfig; +/** Must be set only when scanning other clouds. */ +@property(nonatomic, strong, nullable) GTLRDLP_GooglePrivacyDlpV2OtherCloudDiscoveryStartingLocation *otherCloudStartingLocation; + /** * Required. A status for this configuration. * @@ -6325,6 +6548,85 @@ FOUNDATION_EXTERN NSString * const kGTLRDLP_GooglePrivacyDlpV2Value_DayOfWeekVal @end +/** + * Requirements that must be true before a resource is profiled for the first + * time. + */ +@interface GTLRDLP_GooglePrivacyDlpV2DiscoveryOtherCloudConditions : GTLRObject + +/** Amazon S3 bucket conditions. */ +@property(nonatomic, strong, nullable) GTLRDLP_GooglePrivacyDlpV2AmazonS3BucketConditions *amazonS3BucketConditions; + +/** + * Minimum age a resource must be before Cloud DLP can profile it. Value must + * be 1 hour or greater. + */ +@property(nonatomic, strong, nullable) GTLRDuration *minAge; + +@end + + +/** + * Determines which resources from the other cloud will have profiles + * generated. Includes the ability to filter by resource names. + */ +@interface GTLRDLP_GooglePrivacyDlpV2DiscoveryOtherCloudFilter : GTLRObject + +/** A collection of resources for this filter to apply to. */ +@property(nonatomic, strong, nullable) GTLRDLP_GooglePrivacyDlpV2OtherCloudResourceCollection *collection; + +/** + * Optional. Catch-all. This should always be the last target in the list + * because anything above it will apply first. Should only appear once in a + * configuration. If none is specified, a default one will be added + * automatically. + */ +@property(nonatomic, strong, nullable) GTLRDLP_GooglePrivacyDlpV2AllOtherResources *others; + +/** + * The resource to scan. Configs using this filter can only have one target + * (the target with this single resource reference). + */ +@property(nonatomic, strong, nullable) GTLRDLP_GooglePrivacyDlpV2OtherCloudSingleResourceReference *singleResource; + +@end + + +/** + * How often existing resources should have their profiles refreshed. New + * resources are scanned as quickly as possible depending on system capacity. + */ +@interface GTLRDLP_GooglePrivacyDlpV2DiscoveryOtherCloudGenerationCadence : GTLRObject + +/** + * Optional. Governs when to update data profiles when the inspection rules + * defined by the `InspectTemplate` change. If not set, changing the template + * will not cause a data profile to update. + */ +@property(nonatomic, strong, nullable) GTLRDLP_GooglePrivacyDlpV2DiscoveryInspectTemplateModifiedCadence *inspectTemplateModifiedCadence; + +/** + * Optional. Frequency to update profiles regardless of whether the underlying + * resource has changes. Defaults to never. + * + * Likely values: + * @arg @c kGTLRDLP_GooglePrivacyDlpV2DiscoveryOtherCloudGenerationCadence_RefreshFrequency_UpdateFrequencyDaily + * The data profile can be updated up to once every 24 hours. (Value: + * "UPDATE_FREQUENCY_DAILY") + * @arg @c kGTLRDLP_GooglePrivacyDlpV2DiscoveryOtherCloudGenerationCadence_RefreshFrequency_UpdateFrequencyMonthly + * The data profile can be updated up to once every 30 days. Default. + * (Value: "UPDATE_FREQUENCY_MONTHLY") + * @arg @c kGTLRDLP_GooglePrivacyDlpV2DiscoveryOtherCloudGenerationCadence_RefreshFrequency_UpdateFrequencyNever + * After the data profile is created, it will never be updated. (Value: + * "UPDATE_FREQUENCY_NEVER") + * @arg @c kGTLRDLP_GooglePrivacyDlpV2DiscoveryOtherCloudGenerationCadence_RefreshFrequency_UpdateFrequencyUnspecified + * Unspecified. (Value: "UPDATE_FREQUENCY_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *refreshFrequency; + +@end + + /** * The cadence at which to update data profiles when a schema is modified. */ @@ -6437,6 +6739,12 @@ FOUNDATION_EXTERN NSString * const kGTLRDLP_GooglePrivacyDlpV2Value_DayOfWeekVal */ @property(nonatomic, strong, nullable) GTLRDLP_GooglePrivacyDlpV2CloudStorageDiscoveryTarget *cloudStorageTarget; +/** + * Other clouds target for discovery. The first target to match a resource will + * be the one applied. + */ +@property(nonatomic, strong, nullable) GTLRDLP_GooglePrivacyDlpV2OtherCloudDiscoveryTarget *otherCloudTarget; + /** * Discovery target that looks for credentials and secrets stored in cloud * resource metadata and reports them as vulnerabilities to Security Command @@ -6910,7 +7218,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDLP_GooglePrivacyDlpV2Value_DayOfWeekVal /** - * The profile for a file store. * Cloud Storage: maps 1:1 with a bucket. + * The profile for a file store. * Cloud Storage: maps 1:1 with a bucket. * + * Amazon S3: maps 1:1 with a bucket. */ @interface GTLRDLP_GooglePrivacyDlpV2FileStoreDataProfile : GTLRObject @@ -6950,16 +7259,23 @@ FOUNDATION_EXTERN NSString * const kGTLRDLP_GooglePrivacyDlpV2Value_DayOfWeekVal /** * The location of the file store. * Cloud Storage: - * https://cloud.google.com/storage/docs/locations#available-locations + * https://cloud.google.com/storage/docs/locations#available-locations * Amazon + * S3: + * https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints */ @property(nonatomic, copy, nullable) NSString *fileStoreLocation; -/** The file store path. * Cloud Storage: `gs://{bucket}` */ +/** + * The file store path. * Cloud Storage: `gs://{bucket}` * Amazon S3: + * `s3://{bucket}` + */ @property(nonatomic, copy, nullable) NSString *fileStorePath; /** * The resource name of the resource profiled. * https://cloud.google.com/apis/design/resource_names#full_resource_name + * Example format of an S3 bucket full resource name: + * `//cloudasset.googleapis.com/organizations/{org_id}/otherCloudConnections/aws/arn:aws:s3:::{bucket_name}` */ @property(nonatomic, copy, nullable) NSString *fullResource; @@ -6987,7 +7303,10 @@ FOUNDATION_EXTERN NSString * const kGTLRDLP_GooglePrivacyDlpV2Value_DayOfWeekVal /** The resource name of the project data profile for this file store. */ @property(nonatomic, copy, nullable) NSString *projectDataProfile; -/** The Google Cloud project ID that owns the resource. */ +/** + * The Google Cloud project ID that owns the resource. For Amazon S3 buckets, + * this is the AWS Account Id. + */ @property(nonatomic, copy, nullable) NSString *projectId; /** @@ -9269,6 +9588,108 @@ FOUNDATION_EXTERN NSString * const kGTLRDLP_GooglePrivacyDlpV2Value_DayOfWeekVal @end +/** + * The other cloud starting location for discovery. + */ +@interface GTLRDLP_GooglePrivacyDlpV2OtherCloudDiscoveryStartingLocation : GTLRObject + +/** The AWS starting location for discovery. */ +@property(nonatomic, strong, nullable) GTLRDLP_GooglePrivacyDlpV2AwsDiscoveryStartingLocation *awsLocation; + +@end + + +/** + * Target used to match against for discovery of resources from other clouds. + * An [AWS connector in Security Command Center + * (Enterprise](https://cloud.google.com/security-command-center/docs/connect-scc-to-aws) + * is required to use this feature. + */ +@interface GTLRDLP_GooglePrivacyDlpV2OtherCloudDiscoveryTarget : GTLRObject + +/** + * Optional. In addition to matching the filter, these conditions must be true + * before a profile is generated. + */ +@property(nonatomic, strong, nullable) GTLRDLP_GooglePrivacyDlpV2DiscoveryOtherCloudConditions *conditions; + +/** + * Required. The type of data profiles generated by this discovery target. + * Supported values are: * aws/s3/bucket + */ +@property(nonatomic, strong, nullable) GTLRDLP_GooglePrivacyDlpV2DataSourceType *dataSourceType; + +/** Disable profiling for resources that match this filter. */ +@property(nonatomic, strong, nullable) GTLRDLP_GooglePrivacyDlpV2Disabled *disabled; + +/** + * Required. The resources that the discovery cadence applies to. The first + * target with a matching filter will be the one to apply to a resource. + */ +@property(nonatomic, strong, nullable) GTLRDLP_GooglePrivacyDlpV2DiscoveryOtherCloudFilter *filter; + +/** + * How often and when to update data profiles. New resources that match both + * the filter and conditions are scanned as quickly as possible depending on + * system capacity. + */ +@property(nonatomic, strong, nullable) GTLRDLP_GooglePrivacyDlpV2DiscoveryOtherCloudGenerationCadence *generationCadence; + +@end + + +/** + * Match resources using regex filters. + */ +@interface GTLRDLP_GooglePrivacyDlpV2OtherCloudResourceCollection : GTLRObject + +/** A collection of regular expressions to match a resource against. */ +@property(nonatomic, strong, nullable) GTLRDLP_GooglePrivacyDlpV2OtherCloudResourceRegexes *includeRegexes; + +@end + + +/** + * A pattern to match against one or more resources. At least one pattern must + * be specified. Regular expressions use RE2 + * [syntax](https://github.com/google/re2/wiki/Syntax); a guide can be found + * under the google/re2 repository on GitHub. + */ +@interface GTLRDLP_GooglePrivacyDlpV2OtherCloudResourceRegex : GTLRObject + +/** Regex for Amazon S3 buckets. */ +@property(nonatomic, strong, nullable) GTLRDLP_GooglePrivacyDlpV2AmazonS3BucketRegex *amazonS3BucketRegex; + +@end + + +/** + * A collection of regular expressions to determine what resources to match + * against. + */ +@interface GTLRDLP_GooglePrivacyDlpV2OtherCloudResourceRegexes : GTLRObject + +/** + * A group of regular expression patterns to match against one or more + * resources. Maximum of 100 entries. The sum of all regular expression's + * length can't exceed 10 KiB. + */ +@property(nonatomic, strong, nullable) NSArray *patterns; + +@end + + +/** + * Identifies a single resource, like a single Amazon S3 bucket. + */ +@interface GTLRDLP_GooglePrivacyDlpV2OtherCloudSingleResourceReference : GTLRObject + +/** Amazon S3 bucket. */ +@property(nonatomic, strong, nullable) GTLRDLP_GooglePrivacyDlpV2AmazonS3Bucket *amazonS3Bucket; + +@end + + /** * Infotype details for other infoTypes found within a column. */ @@ -9588,6 +10009,13 @@ FOUNDATION_EXTERN NSString * const kGTLRDLP_GooglePrivacyDlpV2Value_DayOfWeekVal @end +/** + * Message expressing intention to publish to Google Security Operations. + */ +@interface GTLRDLP_GooglePrivacyDlpV2PublishToChronicle : GTLRObject +@end + + /** * Publish a message into a given Pub/Sub topic when DlpJob has completed. The * message contains a single field, `DlpJobName`, which is equal to the @@ -9608,6 +10036,13 @@ FOUNDATION_EXTERN NSString * const kGTLRDLP_GooglePrivacyDlpV2Value_DayOfWeekVal @end +/** + * If set, a summary finding will be created/updated in SCC for each profile. + */ +@interface GTLRDLP_GooglePrivacyDlpV2PublishToSecurityCommandCenter : GTLRObject +@end + + /** * Enable Stackdriver metric dlp.googleapis.com/finding_count. This will * publish a metric to stack driver on each infotype requested and how many diff --git a/Sources/GeneratedServices/DLP/Public/GoogleAPIClientForREST/GTLRDLPQuery.h b/Sources/GeneratedServices/DLP/Public/GoogleAPIClientForREST/GTLRDLPQuery.h index 7796a421e..464002855 100644 --- a/Sources/GeneratedServices/DLP/Public/GoogleAPIClientForREST/GTLRDLPQuery.h +++ b/Sources/GeneratedServices/DLP/Public/GoogleAPIClientForREST/GTLRDLPQuery.h @@ -1675,13 +1675,14 @@ FOUNDATION_EXTERN NSString * const kGTLRDLPTypeRiskAnalysisJob; * up of one or more restrictions. * Restrictions can be combined by `AND` or * `OR` logical operators. A sequence of restrictions implicitly uses `AND`. * * A restriction has the form of `{field} {operator} {value}`. * Supported - * fields/values: - `project_id` - The Google Cloud project ID. - - * `file_store_path` - The path like "gs://bucket". - `data_source_type` - The - * profile's data source type, like "google/storage/bucket". - - * `data_storage_location` - The location where the file store's data is - * stored, like "us-central1". - `sensitivity_level` - HIGH|MODERATE|LOW - - * `data_risk_level` - HIGH|MODERATE|LOW - `resource_visibility`: - * PUBLIC|RESTRICTED - `status_code` - an RPC status code as defined in + * fields/values: - `project_id` - The Google Cloud project ID. - `account_id` + * - The AWS account ID. - `file_store_path` - The path like "gs://bucket". - + * `data_source_type` - The profile's data source type, like + * "google/storage/bucket". - `data_storage_location` - The location where the + * file store's data is stored, like "us-central1". - `sensitivity_level` - + * HIGH|MODERATE|LOW - `data_risk_level` - HIGH|MODERATE|LOW - + * `resource_visibility`: PUBLIC|RESTRICTED - `status_code` - an RPC status + * code as defined in * https://github.com/googleapis/googleapis/blob/master/google/rpc/code.proto * * The operator must be `=` or `!=`. Examples: * `project_id = 12345 AND * status_code = 1` * `project_id = 12345 AND sensitivity_level = HIGH` * @@ -5761,13 +5762,14 @@ FOUNDATION_EXTERN NSString * const kGTLRDLPTypeRiskAnalysisJob; * up of one or more restrictions. * Restrictions can be combined by `AND` or * `OR` logical operators. A sequence of restrictions implicitly uses `AND`. * * A restriction has the form of `{field} {operator} {value}`. * Supported - * fields/values: - `project_id` - The Google Cloud project ID. - - * `file_store_path` - The path like "gs://bucket". - `data_source_type` - The - * profile's data source type, like "google/storage/bucket". - - * `data_storage_location` - The location where the file store's data is - * stored, like "us-central1". - `sensitivity_level` - HIGH|MODERATE|LOW - - * `data_risk_level` - HIGH|MODERATE|LOW - `resource_visibility`: - * PUBLIC|RESTRICTED - `status_code` - an RPC status code as defined in + * fields/values: - `project_id` - The Google Cloud project ID. - `account_id` + * - The AWS account ID. - `file_store_path` - The path like "gs://bucket". - + * `data_source_type` - The profile's data source type, like + * "google/storage/bucket". - `data_storage_location` - The location where the + * file store's data is stored, like "us-central1". - `sensitivity_level` - + * HIGH|MODERATE|LOW - `data_risk_level` - HIGH|MODERATE|LOW - + * `resource_visibility`: PUBLIC|RESTRICTED - `status_code` - an RPC status + * code as defined in * https://github.com/googleapis/googleapis/blob/master/google/rpc/code.proto * * The operator must be `=` or `!=`. Examples: * `project_id = 12345 AND * status_code = 1` * `project_id = 12345 AND sensitivity_level = HIGH` * diff --git a/Sources/GeneratedServices/DatabaseMigrationService/GTLRDatabaseMigrationServiceObjects.m b/Sources/GeneratedServices/DatabaseMigrationService/GTLRDatabaseMigrationServiceObjects.m index 9aa3c4823..eb3b4904d 100644 --- a/Sources/GeneratedServices/DatabaseMigrationService/GTLRDatabaseMigrationServiceObjects.m +++ b/Sources/GeneratedServices/DatabaseMigrationService/GTLRDatabaseMigrationServiceObjects.m @@ -17,6 +17,7 @@ NSString * const kGTLRDatabaseMigrationService_AlloyDbSettings_DatabaseVersion_DatabaseVersionUnspecified = @"DATABASE_VERSION_UNSPECIFIED"; NSString * const kGTLRDatabaseMigrationService_AlloyDbSettings_DatabaseVersion_Postgres14 = @"POSTGRES_14"; NSString * const kGTLRDatabaseMigrationService_AlloyDbSettings_DatabaseVersion_Postgres15 = @"POSTGRES_15"; +NSString * const kGTLRDatabaseMigrationService_AlloyDbSettings_DatabaseVersion_Postgres16 = @"POSTGRES_16"; // GTLRDatabaseMigrationService_AuditLogConfig.logType NSString * const kGTLRDatabaseMigrationService_AuditLogConfig_LogType_AdminRead = @"ADMIN_READ"; @@ -518,6 +519,16 @@ @implementation GTLRDatabaseMigrationService_AuditLogConfig @end +// ---------------------------------------------------------------------------- +// +// GTLRDatabaseMigrationService_AuthorizedNetwork +// + +@implementation GTLRDatabaseMigrationService_AuthorizedNetwork +@dynamic cidrRange; +@end + + // ---------------------------------------------------------------------------- // // GTLRDatabaseMigrationService_BackgroundJobLogEntry @@ -579,10 +590,10 @@ @implementation GTLRDatabaseMigrationService_CloudSqlConnectionProfile @implementation GTLRDatabaseMigrationService_CloudSqlSettings @dynamic activationPolicy, autoStorageIncrease, availabilityType, cmekKeyName, - collation, databaseFlags, databaseVersion, dataCacheConfig, - dataDiskSizeGb, dataDiskType, edition, ipConfig, rootPassword, - rootPasswordSet, secondaryZone, sourceId, storageAutoResizeLimit, tier, - userLabels, zoneProperty; + collation, databaseFlags, databaseVersion, databaseVersionName, + dataCacheConfig, dataDiskSizeGb, dataDiskType, edition, ipConfig, + rootPassword, rootPasswordSet, secondaryZone, sourceId, + storageAutoResizeLimit, tier, userLabels, zoneProperty; + (NSDictionary *)propertyToJSONKeyMap { return @{ @"zoneProperty" : @"zone" }; @@ -1254,6 +1265,24 @@ + (Class)classForAdditionalProperties { @end +// ---------------------------------------------------------------------------- +// +// GTLRDatabaseMigrationService_InstanceNetworkConfig +// + +@implementation GTLRDatabaseMigrationService_InstanceNetworkConfig +@dynamic authorizedExternalNetworks, enableOutboundPublicIp, enablePublicIp; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"authorizedExternalNetworks" : [GTLRDatabaseMigrationService_AuthorizedNetwork class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRDatabaseMigrationService_IntComparisonFilter @@ -1757,12 +1786,20 @@ @implementation GTLRDatabaseMigrationService_PostgreSqlConnectionProfile // @implementation GTLRDatabaseMigrationService_PrimaryInstanceSettings -@dynamic databaseFlags, identifier, labels, machineConfig, privateIp; +@dynamic databaseFlags, identifier, instanceNetworkConfig, labels, + machineConfig, outboundPublicIpAddresses, privateIp; + (NSDictionary *)propertyToJSONKeyMap { return @{ @"identifier" : @"id" }; } ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"outboundPublicIpAddresses" : [NSString class] + }; + return map; +} + @end diff --git a/Sources/GeneratedServices/DatabaseMigrationService/Public/GoogleAPIClientForREST/GTLRDatabaseMigrationServiceObjects.h b/Sources/GeneratedServices/DatabaseMigrationService/Public/GoogleAPIClientForREST/GTLRDatabaseMigrationServiceObjects.h index bdab5a8c3..3e4850c22 100644 --- a/Sources/GeneratedServices/DatabaseMigrationService/Public/GoogleAPIClientForREST/GTLRDatabaseMigrationServiceObjects.h +++ b/Sources/GeneratedServices/DatabaseMigrationService/Public/GoogleAPIClientForREST/GTLRDatabaseMigrationServiceObjects.h @@ -22,6 +22,7 @@ @class GTLRDatabaseMigrationService_AssignSpecificValue; @class GTLRDatabaseMigrationService_AuditConfig; @class GTLRDatabaseMigrationService_AuditLogConfig; +@class GTLRDatabaseMigrationService_AuthorizedNetwork; @class GTLRDatabaseMigrationService_BackgroundJobLogEntry; @class GTLRDatabaseMigrationService_Binding; @class GTLRDatabaseMigrationService_CloudSqlConnectionProfile; @@ -65,6 +66,7 @@ @class GTLRDatabaseMigrationService_ImportRulesJobDetails; @class GTLRDatabaseMigrationService_IndexEntity; @class GTLRDatabaseMigrationService_IndexEntity_CustomFeatures; +@class GTLRDatabaseMigrationService_InstanceNetworkConfig; @class GTLRDatabaseMigrationService_IntComparisonFilter; @class GTLRDatabaseMigrationService_Location; @class GTLRDatabaseMigrationService_Location_Labels; @@ -177,6 +179,12 @@ FOUNDATION_EXTERN NSString * const kGTLRDatabaseMigrationService_AlloyDbSettings * Value: "POSTGRES_15" */ FOUNDATION_EXTERN NSString * const kGTLRDatabaseMigrationService_AlloyDbSettings_DatabaseVersion_Postgres15; +/** + * The database version is Postgres 16. + * + * Value: "POSTGRES_16" + */ +FOUNDATION_EXTERN NSString * const kGTLRDatabaseMigrationService_AlloyDbSettings_DatabaseVersion_Postgres16; // ---------------------------------------------------------------------------- // GTLRDatabaseMigrationService_AuditLogConfig.logType @@ -2234,6 +2242,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDatabaseMigrationService_ValueListFilter * The database version is Postgres 14. (Value: "POSTGRES_14") * @arg @c kGTLRDatabaseMigrationService_AlloyDbSettings_DatabaseVersion_Postgres15 * The database version is Postgres 15. (Value: "POSTGRES_15") + * @arg @c kGTLRDatabaseMigrationService_AlloyDbSettings_DatabaseVersion_Postgres16 + * The database version is Postgres 16. (Value: "POSTGRES_16") */ @property(nonatomic, copy, nullable) NSString *databaseVersion; @@ -2422,6 +2432,17 @@ FOUNDATION_EXTERN NSString * const kGTLRDatabaseMigrationService_ValueListFilter @end +/** + * AuthorizedNetwork contains metadata for an authorized network. + */ +@interface GTLRDatabaseMigrationService_AuthorizedNetwork : GTLRObject + +/** Optional. CIDR range for one authorzied network of the instance. */ +@property(nonatomic, copy, nullable) NSString *cidrRange; + +@end + + /** * Execution log of a background job. */ @@ -2695,7 +2716,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDatabaseMigrationService_ValueListFilter @property(nonatomic, strong, nullable) GTLRDatabaseMigrationService_CloudSqlSettings_DatabaseFlags *databaseFlags; /** - * The database engine type and version. + * The database engine type and version. Deprecated. Use database_version_name + * instead. * * Likely values: * @arg @c kGTLRDatabaseMigrationService_CloudSqlSettings_DatabaseVersion_Mysql56 @@ -2763,6 +2785,9 @@ FOUNDATION_EXTERN NSString * const kGTLRDatabaseMigrationService_ValueListFilter */ @property(nonatomic, copy, nullable) NSString *databaseVersion; +/** Optional. The database engine type and version name. */ +@property(nonatomic, copy, nullable) NSString *databaseVersionName; + /** * Optional. Data cache is an optional feature available for Cloud SQL for * MySQL Enterprise Plus edition only. For more information on data cache, see @@ -4412,6 +4437,34 @@ FOUNDATION_EXTERN NSString * const kGTLRDatabaseMigrationService_ValueListFilter @end +/** + * Metadata related to instance level network configuration. + */ +@interface GTLRDatabaseMigrationService_InstanceNetworkConfig : GTLRObject + +/** + * Optional. A list of external network authorized to access this instance. + */ +@property(nonatomic, strong, nullable) NSArray *authorizedExternalNetworks; + +/** + * Optional. Enabling an outbound public IP address to support a database + * server sending requests out into the internet. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *enableOutboundPublicIp; + +/** + * Optional. Enabling public ip for the instance. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *enablePublicIp; + +@end + + /** * Filter based on relation between source value and compare value of type * integer in ConditionalColumnSetValue @@ -5919,6 +5972,9 @@ FOUNDATION_EXTERN NSString * const kGTLRDatabaseMigrationService_ValueListFilter */ @property(nonatomic, copy, nullable) NSString *identifier; +/** Optional. Metadata related to instance level network configuration. */ +@property(nonatomic, strong, nullable) GTLRDatabaseMigrationService_InstanceNetworkConfig *instanceNetworkConfig; + /** * Labels for the AlloyDB primary instance created by DMS. An object containing * a list of 'key', 'value' pairs. @@ -5930,6 +5986,11 @@ FOUNDATION_EXTERN NSString * const kGTLRDatabaseMigrationService_ValueListFilter */ @property(nonatomic, strong, nullable) GTLRDatabaseMigrationService_MachineConfig *machineConfig; +/** + * Output only. All outbound public IP addresses configured for the instance. + */ +@property(nonatomic, strong, nullable) NSArray *outboundPublicIpAddresses; + /** * Output only. The private IP address for the Instance. This is the connection * endpoint for an end-user application. diff --git a/Sources/GeneratedServices/Datastream/GTLRDatastreamObjects.m b/Sources/GeneratedServices/Datastream/GTLRDatastreamObjects.m index a4671c269..c79324f7f 100644 --- a/Sources/GeneratedServices/Datastream/GTLRDatastreamObjects.m +++ b/Sources/GeneratedServices/Datastream/GTLRDatastreamObjects.m @@ -1026,7 +1026,7 @@ + (Class)classForAdditionalProperties { // @implementation GTLRDatastream_RunStreamRequest -@dynamic cdcStrategy; +@dynamic cdcStrategy, force; @end diff --git a/Sources/GeneratedServices/Datastream/Public/GoogleAPIClientForREST/GTLRDatastreamObjects.h b/Sources/GeneratedServices/Datastream/Public/GoogleAPIClientForREST/GTLRDatastreamObjects.h index dc072dce6..9d611ba84 100644 --- a/Sources/GeneratedServices/Datastream/Public/GoogleAPIClientForREST/GTLRDatastreamObjects.h +++ b/Sources/GeneratedServices/Datastream/Public/GoogleAPIClientForREST/GTLRDatastreamObjects.h @@ -2101,6 +2101,13 @@ FOUNDATION_EXTERN NSString * const kGTLRDatastream_ValidationMessage_Level_Warni */ @property(nonatomic, strong, nullable) GTLRDatastream_CdcStrategy *cdcStrategy; +/** + * Optional. Update the stream without validating it. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *force; + @end diff --git a/Sources/GeneratedServices/DeveloperConnect/GTLRDeveloperConnectObjects.m b/Sources/GeneratedServices/DeveloperConnect/GTLRDeveloperConnectObjects.m index 2036602e0..4c0eefb53 100644 --- a/Sources/GeneratedServices/DeveloperConnect/GTLRDeveloperConnectObjects.m +++ b/Sources/GeneratedServices/DeveloperConnect/GTLRDeveloperConnectObjects.m @@ -40,8 +40,10 @@ @implementation GTLRDeveloperConnect_CancelOperationRequest // @implementation GTLRDeveloperConnect_Connection -@dynamic annotations, createTime, deleteTime, disabled, ETag, githubConfig, - installationState, labels, name, reconciling, uid, updateTime; +@dynamic annotations, createTime, cryptoKeyConfig, deleteTime, disabled, ETag, + githubConfig, githubEnterpriseConfig, gitlabConfig, + gitlabEnterpriseConfig, installationState, labels, name, reconciling, + uid, updateTime; + (NSDictionary *)propertyToJSONKeyMap { return @{ @"ETag" : @"etag" }; @@ -78,6 +80,16 @@ + (Class)classForAdditionalProperties { @end +// ---------------------------------------------------------------------------- +// +// GTLRDeveloperConnect_CryptoKeyConfig +// + +@implementation GTLRDeveloperConnect_CryptoKeyConfig +@dynamic keyReference; +@end + + // ---------------------------------------------------------------------------- // // GTLRDeveloperConnect_Empty @@ -193,6 +205,40 @@ @implementation GTLRDeveloperConnect_GitHubConfig @end +// ---------------------------------------------------------------------------- +// +// GTLRDeveloperConnect_GitHubEnterpriseConfig +// + +@implementation GTLRDeveloperConnect_GitHubEnterpriseConfig +@dynamic appId, appInstallationId, appSlug, hostUri, installationUri, + privateKeySecretVersion, serverVersion, serviceDirectoryConfig, + sslCaCertificate, webhookSecretSecretVersion; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDeveloperConnect_GitLabConfig +// + +@implementation GTLRDeveloperConnect_GitLabConfig +@dynamic authorizerCredential, readAuthorizerCredential, + webhookSecretSecretVersion; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDeveloperConnect_GitLabEnterpriseConfig +// + +@implementation GTLRDeveloperConnect_GitLabEnterpriseConfig +@dynamic authorizerCredential, hostUri, readAuthorizerCredential, serverVersion, + serviceDirectoryConfig, sslCaCertificate, webhookSecretSecretVersion; +@end + + // ---------------------------------------------------------------------------- // // GTLRDeveloperConnect_GitRepositoryLink @@ -200,7 +246,7 @@ @implementation GTLRDeveloperConnect_GitHubConfig @implementation GTLRDeveloperConnect_GitRepositoryLink @dynamic annotations, cloneUri, createTime, deleteTime, ETag, labels, name, - reconciling, uid, updateTime; + reconciling, uid, updateTime, webhookId; + (NSDictionary *)propertyToJSONKeyMap { return @{ @"ETag" : @"etag" }; @@ -459,6 +505,16 @@ @implementation GTLRDeveloperConnect_OperationMetadata @end +// ---------------------------------------------------------------------------- +// +// GTLRDeveloperConnect_ServiceDirectoryConfig +// + +@implementation GTLRDeveloperConnect_ServiceDirectoryConfig +@dynamic service; +@end + + // ---------------------------------------------------------------------------- // // GTLRDeveloperConnect_Status @@ -489,3 +545,13 @@ + (Class)classForAdditionalProperties { } @end + + +// ---------------------------------------------------------------------------- +// +// GTLRDeveloperConnect_UserCredential +// + +@implementation GTLRDeveloperConnect_UserCredential +@dynamic username, userTokenSecretVersion; +@end diff --git a/Sources/GeneratedServices/DeveloperConnect/Public/GoogleAPIClientForREST/GTLRDeveloperConnectObjects.h b/Sources/GeneratedServices/DeveloperConnect/Public/GoogleAPIClientForREST/GTLRDeveloperConnectObjects.h index 15fb4377f..f601b7a1c 100644 --- a/Sources/GeneratedServices/DeveloperConnect/Public/GoogleAPIClientForREST/GTLRDeveloperConnectObjects.h +++ b/Sources/GeneratedServices/DeveloperConnect/Public/GoogleAPIClientForREST/GTLRDeveloperConnectObjects.h @@ -17,7 +17,11 @@ @class GTLRDeveloperConnect_Connection; @class GTLRDeveloperConnect_Connection_Annotations; @class GTLRDeveloperConnect_Connection_Labels; +@class GTLRDeveloperConnect_CryptoKeyConfig; @class GTLRDeveloperConnect_GitHubConfig; +@class GTLRDeveloperConnect_GitHubEnterpriseConfig; +@class GTLRDeveloperConnect_GitLabConfig; +@class GTLRDeveloperConnect_GitLabEnterpriseConfig; @class GTLRDeveloperConnect_GitRepositoryLink; @class GTLRDeveloperConnect_GitRepositoryLink_Annotations; @class GTLRDeveloperConnect_GitRepositoryLink_Labels; @@ -31,8 +35,10 @@ @class GTLRDeveloperConnect_Operation; @class GTLRDeveloperConnect_Operation_Metadata; @class GTLRDeveloperConnect_Operation_Response; +@class GTLRDeveloperConnect_ServiceDirectoryConfig; @class GTLRDeveloperConnect_Status; @class GTLRDeveloperConnect_Status_Details_Item; +@class GTLRDeveloperConnect_UserCredential; // Generated comments include content from the discovery document; avoid them // causing warnings since clang's checks are some what arbitrary. @@ -119,6 +125,12 @@ FOUNDATION_EXTERN NSString * const kGTLRDeveloperConnect_InstallationState_Stage /** Output only. [Output only] Create timestamp */ @property(nonatomic, strong, nullable) GTLRDateTime *createTime; +/** + * Optional. The crypto key configuration. This field is used by the + * Customer-Managed Encryption Keys (CMEK) feature. + */ +@property(nonatomic, strong, nullable) GTLRDeveloperConnect_CryptoKeyConfig *cryptoKeyConfig; + /** Output only. [Output only] Delete timestamp */ @property(nonatomic, strong, nullable) GTLRDateTime *deleteTime; @@ -141,6 +153,15 @@ FOUNDATION_EXTERN NSString * const kGTLRDeveloperConnect_InstallationState_Stage /** Configuration for connections to github.com. */ @property(nonatomic, strong, nullable) GTLRDeveloperConnect_GitHubConfig *githubConfig; +/** Configuration for connections to an instance of GitHub Enterprise. */ +@property(nonatomic, strong, nullable) GTLRDeveloperConnect_GitHubEnterpriseConfig *githubEnterpriseConfig; + +/** Configuration for connections to gitlab.com. */ +@property(nonatomic, strong, nullable) GTLRDeveloperConnect_GitLabConfig *gitlabConfig; + +/** Configuration for connections to an instance of GitLab Enterprise. */ +@property(nonatomic, strong, nullable) GTLRDeveloperConnect_GitLabEnterpriseConfig *gitlabEnterpriseConfig; + /** Output only. Installation state of the Connection. */ @property(nonatomic, strong, nullable) GTLRDeveloperConnect_InstallationState *installationState; @@ -197,6 +218,22 @@ FOUNDATION_EXTERN NSString * const kGTLRDeveloperConnect_InstallationState_Stage @end +/** + * The crypto key configuration. This field is used by the Customer-managed + * encryption keys (CMEK) feature. + */ +@interface GTLRDeveloperConnect_CryptoKeyConfig : GTLRObject + +/** + * Required. The name of the key which is used to encrypt/decrypt customer + * data. For key in Cloud KMS, the key should be in the format of `projects/ * + * /locations/ * /keyRings/ * /cryptoKeys/ *`. + */ +@property(nonatomic, copy, nullable) NSString *keyReference; + +@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 @@ -355,6 +392,153 @@ FOUNDATION_EXTERN NSString * const kGTLRDeveloperConnect_InstallationState_Stage @end +/** + * Configuration for connections to an instance of GitHub Enterprise. + */ +@interface GTLRDeveloperConnect_GitHubEnterpriseConfig : GTLRObject + +/** + * Optional. ID of the GitHub App created from the manifest. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *appId; + +/** + * Optional. ID of the installation of the GitHub App. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *appInstallationId; + +/** Output only. The URL-friendly name of the GitHub App. */ +@property(nonatomic, copy, nullable) NSString *appSlug; + +/** Required. The URI of the GitHub Enterprise host this connection is for. */ +@property(nonatomic, copy, nullable) NSString *hostUri; + +/** + * Output only. The URI to navigate to in order to manage the installation + * associated with this GitHubEnterpriseConfig. + */ +@property(nonatomic, copy, nullable) NSString *installationUri; + +/** + * Optional. SecretManager resource containing the private key of the GitHub + * App, formatted as `projects/ * /secrets/ * /versions/ *`. + */ +@property(nonatomic, copy, nullable) NSString *privateKeySecretVersion; + +/** Output only. GitHub Enterprise version installed at the host_uri. */ +@property(nonatomic, copy, nullable) NSString *serverVersion; + +/** + * Optional. Configuration for using Service Directory to privately connect to + * a GitHub Enterprise server. This should only be set if the GitHub Enterprise + * server is hosted on-premises and not reachable by public internet. If this + * field is left empty, calls to the GitHub Enterprise server will be made over + * the public internet. + */ +@property(nonatomic, strong, nullable) GTLRDeveloperConnect_ServiceDirectoryConfig *serviceDirectoryConfig; + +/** Optional. SSL certificate to use for requests to GitHub Enterprise. */ +@property(nonatomic, copy, nullable) NSString *sslCaCertificate; + +/** + * Optional. SecretManager resource containing the webhook secret of the GitHub + * App, formatted as `projects/ * /secrets/ * /versions/ *`. + */ +@property(nonatomic, copy, nullable) NSString *webhookSecretSecretVersion; + +@end + + +/** + * Configuration for connections to gitlab.com. + */ +@interface GTLRDeveloperConnect_GitLabConfig : GTLRObject + +/** + * Required. A GitLab personal access token with the minimum `api` scope access + * and a minimum role of `maintainer`. The GitLab Projects visible to this + * Personal Access Token will control which Projects Developer Connect has + * access to. + */ +@property(nonatomic, strong, nullable) GTLRDeveloperConnect_UserCredential *authorizerCredential; + +/** + * Required. A GitLab personal access token with the minimum `read_api` scope + * access and a minimum role of `reporter`. The GitLab Projects visible to this + * Personal Access Token will control which Projects Developer Connect has + * access to. + */ +@property(nonatomic, strong, nullable) GTLRDeveloperConnect_UserCredential *readAuthorizerCredential; + +/** + * Required. Immutable. SecretManager resource containing the webhook secret of + * a GitLab project, formatted as `projects/ * /secrets/ * /versions/ *`. This + * is used to validate webhooks. + */ +@property(nonatomic, copy, nullable) NSString *webhookSecretSecretVersion; + +@end + + +/** + * Configuration for connections to an instance of GitLab Enterprise. + */ +@interface GTLRDeveloperConnect_GitLabEnterpriseConfig : GTLRObject + +/** + * Required. A GitLab personal access token with the minimum `api` scope access + * and a minimum role of `maintainer`. The GitLab Projects visible to this + * Personal Access Token will control which Projects Developer Connect has + * access to. + */ +@property(nonatomic, strong, nullable) GTLRDeveloperConnect_UserCredential *authorizerCredential; + +/** Required. The URI of the GitLab Enterprise host this connection is for. */ +@property(nonatomic, copy, nullable) NSString *hostUri; + +/** + * Required. A GitLab personal access token with the minimum `read_api` scope + * access and a minimum role of `reporter`. The GitLab Projects visible to this + * Personal Access Token will control which Projects Developer Connect has + * access to. + */ +@property(nonatomic, strong, nullable) GTLRDeveloperConnect_UserCredential *readAuthorizerCredential; + +/** + * Output only. Version of the GitLab Enterprise server running on the + * `host_uri`. + */ +@property(nonatomic, copy, nullable) NSString *serverVersion; + +/** + * Optional. Configuration for using Service Directory to privately connect to + * a GitLab Enterprise instance. This should only be set if the GitLab + * Enterprise server is hosted on-premises and not reachable by public + * internet. If this field is left empty, calls to the GitLab Enterprise server + * will be made over the public internet. + */ +@property(nonatomic, strong, nullable) GTLRDeveloperConnect_ServiceDirectoryConfig *serviceDirectoryConfig; + +/** + * Optional. SSL Certificate Authority certificate to use for requests to + * GitLab Enterprise instance. + */ +@property(nonatomic, copy, nullable) NSString *sslCaCertificate; + +/** + * Required. Immutable. SecretManager resource containing the webhook secret of + * a GitLab project, formatted as `projects/ * /secrets/ * /versions/ *`. This + * is used to validate webhooks. + */ +@property(nonatomic, copy, nullable) NSString *webhookSecretSecretVersion; + +@end + + /** * Message describing the GitRepositoryLink object */ @@ -405,6 +589,9 @@ FOUNDATION_EXTERN NSString * const kGTLRDeveloperConnect_InstallationState_Stage /** Output only. [Output only] Update timestamp */ @property(nonatomic, strong, nullable) GTLRDateTime *updateTime; +/** Output only. External ID of the webhook created for the repository. */ +@property(nonatomic, copy, nullable) NSString *webhookId; + @end @@ -808,6 +995,21 @@ FOUNDATION_EXTERN NSString * const kGTLRDeveloperConnect_InstallationState_Stage @end +/** + * ServiceDirectoryConfig represents Service Directory configuration for a + * connection. + */ +@interface GTLRDeveloperConnect_ServiceDirectoryConfig : GTLRObject + +/** + * Required. The Service Directory service name. Format: + * projects/{project}/locations/{location}/namespaces/{namespace}/services/{service}. + */ +@property(nonatomic, copy, nullable) NSString *service; + +@end + + /** * The `Status` type defines a logical error model that is suitable for * different programming environments, including REST APIs and RPC APIs. It is @@ -852,6 +1054,25 @@ FOUNDATION_EXTERN NSString * const kGTLRDeveloperConnect_InstallationState_Stage @interface GTLRDeveloperConnect_Status_Details_Item : GTLRObject @end + +/** + * Represents a personal access token that authorized the Connection, and + * associated metadata. + */ +@interface GTLRDeveloperConnect_UserCredential : GTLRObject + +/** Output only. The username associated with this token. */ +@property(nonatomic, copy, nullable) NSString *username; + +/** + * Required. A SecretManager resource containing the user token that authorizes + * the Developer Connect connection. Format: `projects/ * /secrets/ * + * /versions/ *`. + */ +@property(nonatomic, copy, nullable) NSString *userTokenSecretVersion; + +@end + NS_ASSUME_NONNULL_END #pragma clang diagnostic pop diff --git a/Sources/GeneratedServices/DeveloperConnect/Public/GoogleAPIClientForREST/GTLRDeveloperConnectQuery.h b/Sources/GeneratedServices/DeveloperConnect/Public/GoogleAPIClientForREST/GTLRDeveloperConnectQuery.h index 5ebcd3c3d..412538d1b 100644 --- a/Sources/GeneratedServices/DeveloperConnect/Public/GoogleAPIClientForREST/GTLRDeveloperConnectQuery.h +++ b/Sources/GeneratedServices/DeveloperConnect/Public/GoogleAPIClientForREST/GTLRDeveloperConnectQuery.h @@ -661,11 +661,11 @@ FOUNDATION_EXTERN NSString * const kGTLRDeveloperConnectRefTypeTag; @property(nonatomic, copy, nullable) NSString *requestId; /** - * Required. Field mask is used to specify the fields to be overwritten in the - * Connection 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. + * Optional. Required. Field mask is used to specify the fields to be + * overwritten in the Connection 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. */ diff --git a/Sources/GeneratedServices/Dialogflow/Public/GoogleAPIClientForREST/GTLRDialogflowObjects.h b/Sources/GeneratedServices/Dialogflow/Public/GoogleAPIClientForREST/GTLRDialogflowObjects.h index eb2e1f6a2..16b13473d 100644 --- a/Sources/GeneratedServices/Dialogflow/Public/GoogleAPIClientForREST/GTLRDialogflowObjects.h +++ b/Sources/GeneratedServices/Dialogflow/Public/GoogleAPIClientForREST/GTLRDialogflowObjects.h @@ -11869,7 +11869,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDialogflow_GoogleCloudDialogflowV3alpha1 * classification threshold. If the returned score value is less than the * threshold value, then a no-match event will be triggered. The score values * range from 0.0 (completely uncertain) to 1.0 (completely certain). If set to - * 0.0, the default of 0.3 is used. + * 0.0, the default of 0.3 is used. You can set a separate classification + * threshold for the flow in each language enabled for the agent. * * Uses NSNumber of floatValue. */ diff --git a/Sources/GeneratedServices/Directory/Public/GoogleAPIClientForREST/GTLRDirectoryObjects.h b/Sources/GeneratedServices/Directory/Public/GoogleAPIClientForREST/GTLRDirectoryObjects.h index 05432f4a1..62c6d9bea 100644 --- a/Sources/GeneratedServices/Directory/Public/GoogleAPIClientForREST/GTLRDirectoryObjects.h +++ b/Sources/GeneratedServices/Directory/Public/GoogleAPIClientForREST/GTLRDirectoryObjects.h @@ -2613,25 +2613,35 @@ FOUNDATION_EXTERN NSString * const kGTLRDirectory_RoleAssignment_AssigneeType_Us * stringified JSON object in the form: { "volume": 50 }. The volume has to be * an integer in the range [0,100]. * `DEVICE_START_CRD_SESSION`: Payload is * optionally a stringified JSON object in the form: { "ackedUserPresence": - * true }. `ackedUserPresence` is a boolean. By default, `ackedUserPresence` is - * set to `false`. To start a Chrome Remote Desktop session for an active - * device, set `ackedUserPresence` to `true`. * `REBOOT`: Payload is a - * stringified JSON object in the form: { "user_session_delay_seconds": 300 }. - * The delay has to be in the range [0, 300]. * `FETCH_SUPPORT_PACKET`: Payload - * is optionally a stringified JSON object in the form: - * {"supportPacketDetails":{ "issueCaseId": optional_support_case_id_string, - * "issueDescription": optional_issue_description_string, - * "requestedDataCollectors": []}} The list of available `data_collector_enums` - * are as following: Chrome System Information (1), Crash IDs (2), Memory - * Details (3), UI Hierarchy (4), Additional ChromeOS Platform Logs (5), Device - * Event (6), Intel WiFi NICs Debug Dump (7), Touch Events (8), Lacros (9), - * Lacros System Information (10), ChromeOS Flex Logs (11), DBus Details (12), - * ChromeOS Network Routes (13), ChromeOS Shill (Connection Manager) Logs (14), - * Policies (15), ChromeOS System State and Logs (16), ChromeOS System Logs - * (17), ChromeOS Chrome User Logs (18), ChromeOS Bluetooth (19), ChromeOS - * Connected Input Devices (20), ChromeOS Traffic Counters (21), ChromeOS - * Virtual Keyboard (22), ChromeOS Network Health (23). See more details in - * [help article](https://support.google.com/chrome/a?p=remote-log). + * true, "crdSessionType": string }. `ackedUserPresence` is a boolean. By + * default, `ackedUserPresence` is set to `false`. To start a Chrome Remote + * Desktop session for an active device, set `ackedUserPresence` to `true`. + * `crdSessionType` can only select from values `private` (which grants the + * remote admin exclusive control of the ChromeOS device) or `shared` (which + * allows the admin and the local user to share control of the ChromeOS + * device). If not set, `crdSessionType` defaults to `shared`. * `REBOOT`: + * Payload is a stringified JSON object in the form: { + * "user_session_delay_seconds": 300 }. The `user_session_delay_seconds` is the + * amount of seconds to wait before rebooting the device if a user is logged + * in. It has to be an integer in the range [0,300]. When payload is not + * present for reboot, 0 delay is the default. Note: This only applies if an + * actual user is logged in, including a Guest. If the device is in the login + * screen or in Kiosk mode the value is not respected and the device + * immediately reboots. * `FETCH_SUPPORT_PACKET`: Payload is optionally a + * stringified JSON object in the form: {"supportPacketDetails":{ + * "issueCaseId": optional_support_case_id_string, "issueDescription": + * optional_issue_description_string, "requestedDataCollectors": []}} The list + * of available `data_collector_enums` are as following: Chrome System + * Information (1), Crash IDs (2), Memory Details (3), UI Hierarchy (4), + * Additional ChromeOS Platform Logs (5), Device Event (6), Intel WiFi NICs + * Debug Dump (7), Touch Events (8), Lacros (9), Lacros System Information + * (10), ChromeOS Flex Logs (11), DBus Details (12), ChromeOS Network Routes + * (13), ChromeOS Shill (Connection Manager) Logs (14), Policies (15), ChromeOS + * System State and Logs (16), ChromeOS System Logs (17), ChromeOS Chrome User + * Logs (18), ChromeOS Bluetooth (19), ChromeOS Connected Input Devices (20), + * ChromeOS Traffic Counters (21), ChromeOS Virtual Keyboard (22), ChromeOS + * Network Health (23). See more details in [help + * article](https://support.google.com/chrome/a?p=remote-log). */ @property(nonatomic, copy, nullable) NSString *payload; diff --git a/Sources/GeneratedServices/Directory/Public/GoogleAPIClientForREST/GTLRDirectoryQuery.h b/Sources/GeneratedServices/Directory/Public/GoogleAPIClientForREST/GTLRDirectoryQuery.h index b2c682e2d..1276dbe30 100644 --- a/Sources/GeneratedServices/Directory/Public/GoogleAPIClientForREST/GTLRDirectoryQuery.h +++ b/Sources/GeneratedServices/Directory/Public/GoogleAPIClientForREST/GTLRDirectoryQuery.h @@ -2114,7 +2114,7 @@ GTLR_DEPRECATED /** * Email or immutable ID of the user if only those groups are to be listed, the * given user is a member of. If it's an ID, it should match with the ID of the - * user object. + * user object. Cannot be used with the `customer` parameter. */ @property(nonatomic, copy, nullable) NSString *userKey; diff --git a/Sources/GeneratedServices/Directory/Public/GoogleAPIClientForREST/GTLRDirectoryService.h b/Sources/GeneratedServices/Directory/Public/GoogleAPIClientForREST/GTLRDirectoryService.h index 1c5cb8a1c..405e2d835 100644 --- a/Sources/GeneratedServices/Directory/Public/GoogleAPIClientForREST/GTLRDirectoryService.h +++ b/Sources/GeneratedServices/Directory/Public/GoogleAPIClientForREST/GTLRDirectoryService.h @@ -60,13 +60,13 @@ FOUNDATION_EXTERN NSString * const kGTLRAuthScopeDirectoryDirectoryCustomer; */ FOUNDATION_EXTERN NSString * const kGTLRAuthScopeDirectoryDirectoryCustomerReadonly; /** - * Authorization scope: View and manage your Chrome OS devices' metadata + * Authorization scope: View and manage your ChromeOS devices' metadata * * Value "https://www.googleapis.com/auth/admin.directory.device.chromeos" */ FOUNDATION_EXTERN NSString * const kGTLRAuthScopeDirectoryDirectoryDeviceChromeos; /** - * Authorization scope: View your Chrome OS devices' metadata + * Authorization scope: View your ChromeOS devices' metadata * * Value "https://www.googleapis.com/auth/admin.directory.device.chromeos.readonly" */ diff --git a/Sources/GeneratedServices/DiscoveryEngine/GTLRDiscoveryEngineObjects.m b/Sources/GeneratedServices/DiscoveryEngine/GTLRDiscoveryEngineObjects.m index d4c3521f0..0f47840ab 100644 --- a/Sources/GeneratedServices/DiscoveryEngine/GTLRDiscoveryEngineObjects.m +++ b/Sources/GeneratedServices/DiscoveryEngine/GTLRDiscoveryEngineObjects.m @@ -6,7 +6,7 @@ // Description: // Discovery Engine API. // Documentation: -// https://cloud.google.com/discovery-engine/docs +// https://cloud.google.com/generative-ai-app-builder/docs/ #import @@ -182,6 +182,11 @@ NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaIdpConfig_IdpType_IdpTypeUnspecified = @"IDP_TYPE_UNSPECIFIED"; NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaIdpConfig_IdpType_ThirdParty = @"THIRD_PARTY"; +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaNaturalLanguageQueryUnderstandingConfig.mode +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaNaturalLanguageQueryUnderstandingConfig_Mode_Disabled = @"DISABLED"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaNaturalLanguageQueryUnderstandingConfig_Mode_Enabled = @"ENABLED"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaNaturalLanguageQueryUnderstandingConfig_Mode_ModeUnspecified = @"MODE_UNSPECIFIED"; + // GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaProjectServiceTerms.state NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaProjectServiceTerms_State_StateUnspecified = @"STATE_UNSPECIFIED"; NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaProjectServiceTerms_State_TermsAccepted = @"TERMS_ACCEPTED"; @@ -219,6 +224,11 @@ NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequestNaturalLanguageQueryUnderstandingSpec_FilterExtractionCondition_Disabled = @"DISABLED"; NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequestNaturalLanguageQueryUnderstandingSpec_FilterExtractionCondition_Enabled = @"ENABLED"; +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequestPersonalizationSpec.mode +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequestPersonalizationSpec_Mode_Auto = @"AUTO"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequestPersonalizationSpec_Mode_Disabled = @"DISABLED"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequestPersonalizationSpec_Mode_ModeUnspecified = @"MODE_UNSPECIFIED"; + // GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequestQueryExpansionSpec.condition NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequestQueryExpansionSpec_Condition_Auto = @"AUTO"; NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequestQueryExpansionSpec_Condition_ConditionUnspecified = @"CONDITION_UNSPECIFIED"; @@ -308,11 +318,11 @@ NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerStep_State_StateUnspecified = @"STATE_UNSPECIFIED"; NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerStep_State_Succeeded = @"SUCCEEDED"; -// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1BatchGetDocumentsMetadataResponseDocumentMetadata.status -NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1BatchGetDocumentsMetadataResponseDocumentMetadata_Status_StatusIndexed = @"STATUS_INDEXED"; -NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1BatchGetDocumentsMetadataResponseDocumentMetadata_Status_StatusNotInIndex = @"STATUS_NOT_IN_INDEX"; -NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1BatchGetDocumentsMetadataResponseDocumentMetadata_Status_StatusNotInTargetSite = @"STATUS_NOT_IN_TARGET_SITE"; -NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1BatchGetDocumentsMetadataResponseDocumentMetadata_Status_StatusUnspecified = @"STATUS_UNSPECIFIED"; +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1BatchGetDocumentsMetadataResponseDocumentMetadata.state +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1BatchGetDocumentsMetadataResponseDocumentMetadata_State_Indexed = @"INDEXED"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1BatchGetDocumentsMetadataResponseDocumentMetadata_State_NotInIndex = @"NOT_IN_INDEX"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1BatchGetDocumentsMetadataResponseDocumentMetadata_State_NotInTargetSite = @"NOT_IN_TARGET_SITE"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1BatchGetDocumentsMetadataResponseDocumentMetadata_State_StateUnspecified = @"STATE_UNSPECIFIED"; // GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaControl.solutionType NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaControl_SolutionType_SolutionTypeChat = @"SOLUTION_TYPE_CHAT"; @@ -385,6 +395,11 @@ NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaEvaluation_State_StateUnspecified = @"STATE_UNSPECIFIED"; NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaEvaluation_State_Succeeded = @"SUCCEEDED"; +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaNaturalLanguageQueryUnderstandingConfig.mode +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaNaturalLanguageQueryUnderstandingConfig_Mode_Disabled = @"DISABLED"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaNaturalLanguageQueryUnderstandingConfig_Mode_Enabled = @"ENABLED"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaNaturalLanguageQueryUnderstandingConfig_Mode_ModeUnspecified = @"MODE_UNSPECIFIED"; + // GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaProjectServiceTerms.state NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaProjectServiceTerms_State_StateUnspecified = @"STATE_UNSPECIFIED"; NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaProjectServiceTerms_State_TermsAccepted = @"TERMS_ACCEPTED"; @@ -417,6 +432,11 @@ NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaSearchRequestNaturalLanguageQueryUnderstandingSpec_FilterExtractionCondition_Disabled = @"DISABLED"; NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaSearchRequestNaturalLanguageQueryUnderstandingSpec_FilterExtractionCondition_Enabled = @"ENABLED"; +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaSearchRequestPersonalizationSpec.mode +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaSearchRequestPersonalizationSpec_Mode_Auto = @"AUTO"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaSearchRequestPersonalizationSpec_Mode_Disabled = @"DISABLED"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaSearchRequestPersonalizationSpec_Mode_ModeUnspecified = @"MODE_UNSPECIFIED"; + // GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaSearchRequestQueryExpansionSpec.condition NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaSearchRequestQueryExpansionSpec_Condition_Auto = @"AUTO"; NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaSearchRequestQueryExpansionSpec_Condition_ConditionUnspecified = @"CONDITION_UNSPECIFIED"; @@ -570,6 +590,15 @@ NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ProjectServiceTerms_State_TermsDeclined = @"TERMS_DECLINED"; NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ProjectServiceTerms_State_TermsPending = @"TERMS_PENDING"; +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SearchRequestBoostSpecConditionBoostSpecBoostControlSpec.attributeType +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SearchRequestBoostSpecConditionBoostSpecBoostControlSpec_AttributeType_AttributeTypeUnspecified = @"ATTRIBUTE_TYPE_UNSPECIFIED"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SearchRequestBoostSpecConditionBoostSpecBoostControlSpec_AttributeType_Freshness = @"FRESHNESS"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SearchRequestBoostSpecConditionBoostSpecBoostControlSpec_AttributeType_Numerical = @"NUMERICAL"; + +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SearchRequestBoostSpecConditionBoostSpecBoostControlSpec.interpolationType +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SearchRequestBoostSpecConditionBoostSpecBoostControlSpec_InterpolationType_InterpolationTypeUnspecified = @"INTERPOLATION_TYPE_UNSPECIFIED"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SearchRequestBoostSpecConditionBoostSpecBoostControlSpec_InterpolationType_Linear = @"LINEAR"; + // GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpec.searchResultMode NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpec_SearchResultMode_Chunks = @"CHUNKS"; NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpec_SearchResultMode_Documents = @"DOCUMENTS"; @@ -1310,9 +1339,11 @@ + (Class)classForAdditionalProperties { // @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataStore -@dynamic aclEnabled, contentConfig, createTime, defaultSchemaId, displayName, - documentProcessingConfig, idpConfig, industryVertical, languageInfo, - name, solutionTypes, startingSchema, workspaceConfig; +@dynamic aclEnabled, billingEstimation, contentConfig, createTime, + defaultSchemaId, displayName, documentProcessingConfig, idpConfig, + industryVertical, languageInfo, name, + naturalLanguageQueryUnderstandingConfig, servingConfigDataStore, + solutionTypes, startingSchema, workspaceConfig; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -1324,6 +1355,17 @@ @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataStore @end +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataStoreBillingEstimation +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataStoreBillingEstimation +@dynamic structuredDataSize, structuredDataUpdateTime, unstructuredDataSize, + unstructuredDataUpdateTime, websiteDataSize, websiteDataUpdateTime; +@end + + // ---------------------------------------------------------------------------- // // GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDeleteDataStoreMetadata @@ -1678,7 +1720,7 @@ @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEvaluationE @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaFieldConfig @dynamic advancedSiteSearchDataSources, completableOption, dynamicFacetableOption, fieldPath, fieldType, indexableOption, - keyPropertyType, recsFilterableOption, retrievableOption, + keyPropertyType, metatagName, recsFilterableOption, retrievableOption, schemaOrgPaths, searchableOption; + (NSDictionary *)arrayPropertyToClassMap { @@ -1938,6 +1980,16 @@ @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaListCustomM @end +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaNaturalLanguageQueryUnderstandingConfig +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaNaturalLanguageQueryUnderstandingConfig +@dynamic mode; +@end + + // ---------------------------------------------------------------------------- // // GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaProject @@ -2228,10 +2280,10 @@ @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchReque customFineTuningSpec, dataStoreSpecs, embeddingSpec, facetSpecs, filter, imageQuery, languageCode, naturalLanguageQueryUnderstandingSpec, offset, orderBy, pageSize, - pageToken, params, query, queryExpansionSpec, rankingExpression, - regionCode, relevanceThreshold, safeSearch, searchAsYouTypeSpec, - servingConfig, session, sessionSpec, spellCorrectionSpec, userInfo, - userLabels, userPseudoId; + pageToken, params, personalizationSpec, query, queryExpansionSpec, + rankingExpression, regionCode, relevanceThreshold, safeSearch, + searchAsYouTypeSpec, servingConfig, session, sessionSpec, + spellCorrectionSpec, userInfo, userLabels, userPseudoId; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -2376,9 +2428,10 @@ @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchReque // @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSummarySpec -@dynamic ignoreAdversarialQuery, ignoreLowRelevantContent, - ignoreNonSummarySeekingQuery, includeCitations, languageCode, - modelPromptSpec, modelSpec, summaryResultCount, useSemanticChunks; +@dynamic ignoreAdversarialQuery, ignoreJailBreakingQuery, + ignoreLowRelevantContent, ignoreNonSummarySeekingQuery, + includeCitations, languageCode, modelPromptSpec, modelSpec, + summaryResultCount, useSemanticChunks; @end @@ -2408,7 +2461,7 @@ @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchReque // @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequestDataStoreSpec -@dynamic dataStore; +@dynamic dataStore, filter; @end @@ -2516,6 +2569,16 @@ @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchReque @end +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequestPersonalizationSpec +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequestPersonalizationSpec +@dynamic mode; +@end + + // ---------------------------------------------------------------------------- // // GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequestQueryExpansionSpec @@ -2556,6 +2619,16 @@ @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchReque @end +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaServingConfigDataStore +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaServingConfigDataStore +@dynamic disabledForServing; +@end + + // ---------------------------------------------------------------------------- // // GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSession @@ -2830,8 +2903,9 @@ + (Class)classForAdditionalProperties { // @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestAnswerGenerationSpec -@dynamic answerLanguageCode, ignoreAdversarialQuery, ignoreLowRelevantContent, - ignoreNonAnswerSeekingQuery, includeCitations, modelSpec, promptSpec; +@dynamic answerLanguageCode, ignoreAdversarialQuery, ignoreJailBreakingQuery, + ignoreLowRelevantContent, ignoreNonAnswerSeekingQuery, + includeCitations, modelSpec, promptSpec; @end @@ -2976,7 +3050,17 @@ @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryReque // @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchResultListSearchResultChunkInfo -@dynamic chunk, content; +@dynamic chunk, content, documentMetadata; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchResultListSearchResultChunkInfoDocumentMetadata +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchResultListSearchResultChunkInfoDocumentMetadata +@dynamic title, uri; @end @@ -3362,7 +3446,7 @@ @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1BatchGetDocument // @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1BatchGetDocumentsMetadataResponseDocumentMetadata -@dynamic dataIngestionSource, lastRefreshedTime, matcherValue, status; +@dynamic dataIngestionSource, lastRefreshedTime, matcherValue, state; @end @@ -3602,8 +3686,9 @@ + (Class)classForAdditionalProperties { // @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaDataStore -@dynamic contentConfig, createTime, defaultSchemaId, displayName, - documentProcessingConfig, industryVertical, languageInfo, name, +@dynamic billingEstimation, contentConfig, createTime, defaultSchemaId, + displayName, documentProcessingConfig, industryVertical, languageInfo, + name, naturalLanguageQueryUnderstandingConfig, servingConfigDataStore, solutionTypes, startingSchema, workspaceConfig; + (NSDictionary *)arrayPropertyToClassMap { @@ -3616,6 +3701,17 @@ @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaDataStore @end +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaDataStoreBillingEstimation +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaDataStoreBillingEstimation +@dynamic structuredDataSize, structuredDataUpdateTime, unstructuredDataSize, + unstructuredDataUpdateTime, websiteDataSize, websiteDataUpdateTime; +@end + + // ---------------------------------------------------------------------------- // // GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaDeleteDataStoreMetadata @@ -4089,6 +4185,16 @@ @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaListCustomMo @end +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaNaturalLanguageQueryUnderstandingConfig +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaNaturalLanguageQueryUnderstandingConfig +@dynamic mode; +@end + + // ---------------------------------------------------------------------------- // // GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaProject @@ -4246,10 +4352,10 @@ @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaSearchReques @dynamic boostSpec, branch, canonicalFilter, contentSearchSpec, dataStoreSpecs, embeddingSpec, facetSpecs, filter, imageQuery, languageCode, naturalLanguageQueryUnderstandingSpec, offset, orderBy, pageSize, - pageToken, params, query, queryExpansionSpec, rankingExpression, - regionCode, relevanceThreshold, safeSearch, searchAsYouTypeSpec, - servingConfig, session, sessionSpec, spellCorrectionSpec, userInfo, - userLabels, userPseudoId; + pageToken, params, personalizationSpec, query, queryExpansionSpec, + rankingExpression, regionCode, relevanceThreshold, safeSearch, + searchAsYouTypeSpec, servingConfig, session, sessionSpec, + spellCorrectionSpec, userInfo, userLabels, userPseudoId; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -4394,9 +4500,10 @@ @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaSearchReques // @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSummarySpec -@dynamic ignoreAdversarialQuery, ignoreLowRelevantContent, - ignoreNonSummarySeekingQuery, includeCitations, languageCode, - modelPromptSpec, modelSpec, summaryResultCount, useSemanticChunks; +@dynamic ignoreAdversarialQuery, ignoreJailBreakingQuery, + ignoreLowRelevantContent, ignoreNonSummarySeekingQuery, + includeCitations, languageCode, modelPromptSpec, modelSpec, + summaryResultCount, useSemanticChunks; @end @@ -4426,7 +4533,7 @@ @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaSearchReques // @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaSearchRequestDataStoreSpec -@dynamic dataStore; +@dynamic dataStore, filter; @end @@ -4534,6 +4641,16 @@ @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaSearchReques @end +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaSearchRequestPersonalizationSpec +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaSearchRequestPersonalizationSpec +@dynamic mode; +@end + + // ---------------------------------------------------------------------------- // // GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaSearchRequestQueryExpansionSpec @@ -4574,6 +4691,16 @@ @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaSearchReques @end +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaServingConfigDataStore +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaServingConfigDataStore +@dynamic disabledForServing; +@end + + // ---------------------------------------------------------------------------- // // GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaSiteVerificationInfo @@ -5325,9 +5452,9 @@ + (Class)classForAdditionalProperties { // @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1DataStore -@dynamic contentConfig, createTime, defaultSchemaId, displayName, - documentProcessingConfig, industryVertical, name, solutionTypes, - startingSchema, workspaceConfig; +@dynamic billingEstimation, contentConfig, createTime, defaultSchemaId, + displayName, documentProcessingConfig, industryVertical, name, + servingConfigDataStore, solutionTypes, startingSchema, workspaceConfig; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -5339,6 +5466,17 @@ @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1DataStore @end +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1DataStoreBillingEstimation +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1DataStoreBillingEstimation +@dynamic structuredDataSize, structuredDataUpdateTime, unstructuredDataSize, + unstructuredDataUpdateTime, websiteDataSize, websiteDataUpdateTime; +@end + + // ---------------------------------------------------------------------------- // // GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1DeleteDataStoreMetadata @@ -6659,7 +6797,7 @@ + (Class)classForAdditionalProperties { // @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1RecrawlUrisRequest -@dynamic uris; +@dynamic siteCredential, uris; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -6790,7 +6928,35 @@ @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SearchRequestBoo // @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SearchRequestBoostSpecConditionBoostSpec -@dynamic boost, condition; +@dynamic boost, boostControlSpec, condition; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SearchRequestBoostSpecConditionBoostSpecBoostControlSpec +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SearchRequestBoostSpecConditionBoostSpecBoostControlSpec +@dynamic attributeType, controlPoints, fieldName, interpolationType; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"controlPoints" : [GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SearchRequestBoostSpecConditionBoostSpecBoostControlSpecControlPoint class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SearchRequestBoostSpecConditionBoostSpecBoostControlSpecControlPoint +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SearchRequestBoostSpecConditionBoostSpecBoostControlSpecControlPoint +@dynamic attributeValue, boostAmount; @end @@ -6842,9 +7008,10 @@ @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SearchRequestCon // @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpecSummarySpec -@dynamic ignoreAdversarialQuery, ignoreLowRelevantContent, - ignoreNonSummarySeekingQuery, includeCitations, languageCode, - modelPromptSpec, modelSpec, summaryResultCount, useSemanticChunks; +@dynamic ignoreAdversarialQuery, ignoreJailBreakingQuery, + ignoreLowRelevantContent, ignoreNonSummarySeekingQuery, + includeCitations, languageCode, modelPromptSpec, modelSpec, + summaryResultCount, useSemanticChunks; @end @@ -6874,7 +7041,7 @@ @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SearchRequestCon // @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SearchRequestDataStoreSpec -@dynamic dataStore; +@dynamic dataStore, filter; @end @@ -7182,6 +7349,16 @@ @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SearchResponseSu @end +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ServingConfigDataStore +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ServingConfigDataStore +@dynamic disabledForServing; +@end + + // ---------------------------------------------------------------------------- // // GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Session diff --git a/Sources/GeneratedServices/DiscoveryEngine/GTLRDiscoveryEngineQuery.m b/Sources/GeneratedServices/DiscoveryEngine/GTLRDiscoveryEngineQuery.m index b91316ede..9437f14c4 100644 --- a/Sources/GeneratedServices/DiscoveryEngine/GTLRDiscoveryEngineQuery.m +++ b/Sources/GeneratedServices/DiscoveryEngine/GTLRDiscoveryEngineQuery.m @@ -6,7 +6,7 @@ // Description: // Discovery Engine API. // Documentation: -// https://cloud.google.com/discovery-engine/docs +// https://cloud.google.com/generative-ai-app-builder/docs/ #import diff --git a/Sources/GeneratedServices/DiscoveryEngine/GTLRDiscoveryEngineService.m b/Sources/GeneratedServices/DiscoveryEngine/GTLRDiscoveryEngineService.m index 2d91919b8..ab32a1641 100644 --- a/Sources/GeneratedServices/DiscoveryEngine/GTLRDiscoveryEngineService.m +++ b/Sources/GeneratedServices/DiscoveryEngine/GTLRDiscoveryEngineService.m @@ -6,7 +6,7 @@ // Description: // Discovery Engine API. // Documentation: -// https://cloud.google.com/discovery-engine/docs +// https://cloud.google.com/generative-ai-app-builder/docs/ #import diff --git a/Sources/GeneratedServices/DiscoveryEngine/Public/GoogleAPIClientForREST/GTLRDiscoveryEngine.h b/Sources/GeneratedServices/DiscoveryEngine/Public/GoogleAPIClientForREST/GTLRDiscoveryEngine.h index 59458ba02..1508781e6 100644 --- a/Sources/GeneratedServices/DiscoveryEngine/Public/GoogleAPIClientForREST/GTLRDiscoveryEngine.h +++ b/Sources/GeneratedServices/DiscoveryEngine/Public/GoogleAPIClientForREST/GTLRDiscoveryEngine.h @@ -6,7 +6,7 @@ // Description: // Discovery Engine API. // Documentation: -// https://cloud.google.com/discovery-engine/docs +// https://cloud.google.com/generative-ai-app-builder/docs/ #import "GTLRDiscoveryEngineObjects.h" #import "GTLRDiscoveryEngineQuery.h" diff --git a/Sources/GeneratedServices/DiscoveryEngine/Public/GoogleAPIClientForREST/GTLRDiscoveryEngineObjects.h b/Sources/GeneratedServices/DiscoveryEngine/Public/GoogleAPIClientForREST/GTLRDiscoveryEngineObjects.h index 0bc08c007..2b7506459 100644 --- a/Sources/GeneratedServices/DiscoveryEngine/Public/GoogleAPIClientForREST/GTLRDiscoveryEngineObjects.h +++ b/Sources/GeneratedServices/DiscoveryEngine/Public/GoogleAPIClientForREST/GTLRDiscoveryEngineObjects.h @@ -6,7 +6,7 @@ // Description: // Discovery Engine API. // Documentation: -// https://cloud.google.com/discovery-engine/docs +// https://cloud.google.com/generative-ai-app-builder/docs/ #import @@ -54,6 +54,7 @@ @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaCustomFineTuningSpec; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaCustomTuningModel; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaCustomTuningModel_Metrics; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataStoreBillingEstimation; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfig; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfig_ParsingConfigOverrides; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigChunkingConfig; @@ -81,6 +82,7 @@ @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaImportErrorConfig; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaInterval; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaLanguageInfo; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaNaturalLanguageQueryUnderstandingConfig; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaProject_ServiceTermsMap; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaProjectServiceTerms; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaQualityMetrics; @@ -111,10 +113,12 @@ @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequestFacetSpecFacetKey; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequestImageQuery; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequestNaturalLanguageQueryUnderstandingSpec; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequestPersonalizationSpec; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequestQueryExpansionSpec; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequestSearchAsYouTypeSpec; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequestSessionSpec; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequestSpellCorrectionSpec; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaServingConfigDataStore; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSessionTurn; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSiteVerificationInfo; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaTargetSite; @@ -140,6 +144,7 @@ @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchResultList; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchResultListSearchResult; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchResultListSearchResultChunkInfo; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchResultListSearchResultChunkInfoDocumentMetadata; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchResultListSearchResultUnstructuredDocumentInfo; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchResultListSearchResultUnstructuredDocumentInfoDocumentContext; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchResultListSearchResultUnstructuredDocumentInfoExtractiveAnswer; @@ -174,6 +179,7 @@ @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaControlSynonymsAction; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaCustomTuningModel; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaCustomTuningModel_Metrics; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaDataStoreBillingEstimation; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaDocumentProcessingConfig; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaDocumentProcessingConfig_ParsingConfigOverrides; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigChunkingConfig; @@ -192,6 +198,7 @@ @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaImportErrorConfig; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaInterval; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaLanguageInfo; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaNaturalLanguageQueryUnderstandingConfig; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaProject_ServiceTermsMap; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaProjectServiceTerms; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaQualityMetrics; @@ -219,10 +226,12 @@ @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaSearchRequestFacetSpecFacetKey; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaSearchRequestImageQuery; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaSearchRequestNaturalLanguageQueryUnderstandingSpec; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaSearchRequestPersonalizationSpec; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaSearchRequestQueryExpansionSpec; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaSearchRequestSearchAsYouTypeSpec; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaSearchRequestSessionSpec; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaSearchRequestSpellCorrectionSpec; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaServingConfigDataStore; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaSiteVerificationInfo; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaTargetSite; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaTargetSiteFailureReason; @@ -266,6 +275,7 @@ @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1CustomTuningModel; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1CustomTuningModel_Metrics; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1DataStore; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1DataStoreBillingEstimation; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Document; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Document_DerivedStructData; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Document_StructData; @@ -321,6 +331,8 @@ @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SearchRequest_UserLabels; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SearchRequestBoostSpec; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SearchRequestBoostSpecConditionBoostSpec; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SearchRequestBoostSpecConditionBoostSpecBoostControlSpec; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SearchRequestBoostSpecConditionBoostSpecBoostControlSpecControlPoint; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpec; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpecChunkSpec; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpecExtractiveContentSpec; @@ -349,6 +361,7 @@ @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SearchResponseSummaryReferenceChunkContent; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SearchResponseSummarySafetyAttributes; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SearchResponseSummarySummaryWithMetadata; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ServingConfigDataStore; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Session; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SessionTurn; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SiteVerificationInfo; @@ -1210,6 +1223,28 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengi */ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaIdpConfig_IdpType_ThirdParty; +// ---------------------------------------------------------------------------- +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaNaturalLanguageQueryUnderstandingConfig.mode + +/** + * Natural Language Query Understanding is disabled. + * + * Value: "DISABLED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaNaturalLanguageQueryUnderstandingConfig_Mode_Disabled; +/** + * Natural Language Query Understanding is enabled. + * + * Value: "ENABLED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaNaturalLanguageQueryUnderstandingConfig_Mode_Enabled; +/** + * Default value. + * + * Value: "MODE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaNaturalLanguageQueryUnderstandingConfig_Mode_ModeUnspecified; + // ---------------------------------------------------------------------------- // GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaProjectServiceTerms.state @@ -1385,6 +1420,28 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengi */ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequestNaturalLanguageQueryUnderstandingSpec_FilterExtractionCondition_Enabled; +// ---------------------------------------------------------------------------- +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequestPersonalizationSpec.mode + +/** + * Personalization is enabled if data quality requirements are met. + * + * Value: "AUTO" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequestPersonalizationSpec_Mode_Auto; +/** + * Disable personalization. + * + * Value: "DISABLED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequestPersonalizationSpec_Mode_Disabled; +/** + * Default value. In this case, server behavior defaults to Mode.AUTO. + * + * Value: "MODE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequestPersonalizationSpec_Mode_ModeUnspecified; + // ---------------------------------------------------------------------------- // GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequestQueryExpansionSpec.condition @@ -1829,32 +1886,32 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengi FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerStep_State_Succeeded; // ---------------------------------------------------------------------------- -// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1BatchGetDocumentsMetadataResponseDocumentMetadata.status +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1BatchGetDocumentsMetadataResponseDocumentMetadata.state /** * The Document is indexed. * - * Value: "STATUS_INDEXED" + * Value: "INDEXED" */ -FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1BatchGetDocumentsMetadataResponseDocumentMetadata_Status_StatusIndexed; +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1BatchGetDocumentsMetadataResponseDocumentMetadata_State_Indexed; /** * The Document is not indexed. * - * Value: "STATUS_NOT_IN_INDEX" + * Value: "NOT_IN_INDEX" */ -FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1BatchGetDocumentsMetadataResponseDocumentMetadata_Status_StatusNotInIndex; +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1BatchGetDocumentsMetadataResponseDocumentMetadata_State_NotInIndex; /** * The Document is not indexed because its URI is not in the TargetSite. * - * Value: "STATUS_NOT_IN_TARGET_SITE" + * Value: "NOT_IN_TARGET_SITE" */ -FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1BatchGetDocumentsMetadataResponseDocumentMetadata_Status_StatusNotInTargetSite; +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1BatchGetDocumentsMetadataResponseDocumentMetadata_State_NotInTargetSite; /** * Should never be set. * - * Value: "STATUS_UNSPECIFIED" + * Value: "STATE_UNSPECIFIED" */ -FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1BatchGetDocumentsMetadataResponseDocumentMetadata_Status_StatusUnspecified; +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1BatchGetDocumentsMetadataResponseDocumentMetadata_State_StateUnspecified; // ---------------------------------------------------------------------------- // GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaControl.solutionType @@ -2203,6 +2260,28 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengi */ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaEvaluation_State_Succeeded; +// ---------------------------------------------------------------------------- +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaNaturalLanguageQueryUnderstandingConfig.mode + +/** + * Natural Language Query Understanding is disabled. + * + * Value: "DISABLED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaNaturalLanguageQueryUnderstandingConfig_Mode_Disabled; +/** + * Natural Language Query Understanding is enabled. + * + * Value: "ENABLED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaNaturalLanguageQueryUnderstandingConfig_Mode_Enabled; +/** + * Default value. + * + * Value: "MODE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaNaturalLanguageQueryUnderstandingConfig_Mode_ModeUnspecified; + // ---------------------------------------------------------------------------- // GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaProjectServiceTerms.state @@ -2356,6 +2435,28 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengi */ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaSearchRequestNaturalLanguageQueryUnderstandingSpec_FilterExtractionCondition_Enabled; +// ---------------------------------------------------------------------------- +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaSearchRequestPersonalizationSpec.mode + +/** + * Personalization is enabled if data quality requirements are met. + * + * Value: "AUTO" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaSearchRequestPersonalizationSpec_Mode_Auto; +/** + * Disable personalization. + * + * Value: "DISABLED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaSearchRequestPersonalizationSpec_Mode_Disabled; +/** + * Default value. In this case, server behavior defaults to Mode.AUTO. + * + * Value: "MODE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaSearchRequestPersonalizationSpec_Mode_ModeUnspecified; + // ---------------------------------------------------------------------------- // GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaSearchRequestQueryExpansionSpec.condition @@ -3103,6 +3204,51 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengi */ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ProjectServiceTerms_State_TermsPending; +// ---------------------------------------------------------------------------- +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SearchRequestBoostSpecConditionBoostSpecBoostControlSpec.attributeType + +/** + * Unspecified AttributeType. + * + * Value: "ATTRIBUTE_TYPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SearchRequestBoostSpecConditionBoostSpecBoostControlSpec_AttributeType_AttributeTypeUnspecified; +/** + * For the freshness use case the attribute value will be the duration between + * the current time and the date in the datetime field specified. The value + * must be formatted as an XSD `dayTimeDuration` value (a restricted subset of + * an ISO 8601 duration value). The pattern for this is: `nDnM]`. For example, + * `5D`, `3DT12H30M`, `T24H`. + * + * Value: "FRESHNESS" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SearchRequestBoostSpecConditionBoostSpecBoostControlSpec_AttributeType_Freshness; +/** + * The value of the numerical field will be used to dynamically update the + * boost amount. In this case, the attribute_value (the x value) of the control + * point will be the actual value of the numerical field for which the + * boost_amount is specified. + * + * Value: "NUMERICAL" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SearchRequestBoostSpecConditionBoostSpecBoostControlSpec_AttributeType_Numerical; + +// ---------------------------------------------------------------------------- +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SearchRequestBoostSpecConditionBoostSpecBoostControlSpec.interpolationType + +/** + * Interpolation type is unspecified. In this case, it defaults to Linear. + * + * Value: "INTERPOLATION_TYPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SearchRequestBoostSpecConditionBoostSpecBoostControlSpec_InterpolationType_InterpolationTypeUnspecified; +/** + * Piecewise linear interpolation will be applied. + * + * Value: "LINEAR" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SearchRequestBoostSpecConditionBoostSpecBoostControlSpec_InterpolationType_Linear; + // ---------------------------------------------------------------------------- // GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpec.searchResultMode @@ -4147,8 +4293,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengi /** * Data representation. The structured JSON data for the document. It's - * populated from the struct data from the Document , or the Chunk in search - * result . + * populated from the struct data from the Document, or the Chunk in search + * result. . */ @property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaAnswerStepActionObservationSearchResult_StructData *structData; @@ -4163,8 +4309,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengi /** * Data representation. The structured JSON data for the document. It's - * populated from the struct data from the Document , or the Chunk in search - * result . + * populated from the struct data from the Document, or the Chunk in search + * result. . * * @note This class is documented as having more properties of any valid JSON * type. Use @c -additionalJSONKeys and @c -additionalPropertyForName: to @@ -4620,8 +4766,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengi /** * Required. The fully qualified resource name of the model. Format: - * `projects/{project_number}/locations/{location}/collections/{collection}/dataStores/{data_store}/customTuningModels/{custom_tuning_model}` - * model must be an alpha-numerical string with limit of 40 characters. + * `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/customTuningModels/{custom_tuning_model}`. + * Model must be an alpha-numerical string with limit of 40 characters. */ @property(nonatomic, copy, nullable) NSString *name; @@ -4661,6 +4807,9 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengi */ @property(nonatomic, strong, nullable) NSNumber *aclEnabled; +/** Output only. Data size estimation for billing. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataStoreBillingEstimation *billingEstimation; + /** * Immutable. The content config of the data store. If this field is unset, the * server behavior defaults to ContentConfig.NO_CONTENT. @@ -4732,6 +4881,12 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengi */ @property(nonatomic, copy, nullable) NSString *name; +/** Optional. Configuration for Natural Language Query Understanding. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaNaturalLanguageQueryUnderstandingConfig *naturalLanguageQueryUnderstandingConfig; + +/** Optional. Stores serving config at DataStore level. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaServingConfigDataStore *servingConfigDataStore; + /** * The solutions that the data store enrolls. Available solutions for each * industry_vertical: * `MEDIA`: `SOLUTION_TYPE_RECOMMENDATION` and @@ -4762,6 +4917,44 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengi @end +/** + * Estimation of data size per data store. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataStoreBillingEstimation : GTLRObject + +/** + * Data size for structured data in terms of bytes. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *structuredDataSize; + +/** Last updated timestamp for structured data. */ +@property(nonatomic, strong, nullable) GTLRDateTime *structuredDataUpdateTime; + +/** + * Data size for unstructured data in terms of bytes. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *unstructuredDataSize; + +/** Last updated timestamp for unstructured data. */ +@property(nonatomic, strong, nullable) GTLRDateTime *unstructuredDataUpdateTime; + +/** + * Data size for websites in terms of bytes. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *websiteDataSize; + +/** Last updated timestamp for websites. */ +@property(nonatomic, strong, nullable) GTLRDateTime *websiteDataUpdateTime; + +@end + + /** * Metadata related to the progress of the DataStoreService.DeleteDataStore * operation. This will be returned by the @@ -4895,8 +5088,10 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengi * layout parsing are supported. * `docx`: Override parsing config for DOCX * files, only digital parsing and layout parsing are supported. * `pptx`: * Override parsing config for PPTX files, only digital parsing and layout - * parsing are supported. * `xlsx`: Override parsing config for XLSX files, - * only digital parsing and layout parsing are supported. + * parsing are supported. * `xlsm`: Override parsing config for XLSM files, + * only digital parsing and layout parsing are supported. * `xlsx`: Override + * parsing config for XLSX files, only digital parsing and layout parsing are + * supported. */ @property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfig_ParsingConfigOverrides *parsingConfigOverrides; @@ -4911,8 +5106,10 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengi * layout parsing are supported. * `docx`: Override parsing config for DOCX * files, only digital parsing and layout parsing are supported. * `pptx`: * Override parsing config for PPTX files, only digital parsing and layout - * parsing are supported. * `xlsx`: Override parsing config for XLSX files, - * only digital parsing and layout parsing are supported. + * parsing are supported. * `xlsm`: Override parsing config for XLSM files, + * only digital parsing and layout parsing are supported. * `xlsx`: Override + * parsing config for XLSX files, only digital parsing and layout parsing are + * supported. * * @note This class is documented as having more properties of * GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfig. @@ -5109,7 +5306,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengi /** * Immutable. The fully qualified resource name of the engine. This field must * be a UTF-8 encoded string with a length limit of 1024 characters. Format: - * `projects/{project_number}/locations/{location}/collections/{collection}/engines/{engine}` + * `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}` * engine should be 1-63 characters, and valid characters are /a-z0-9* /. * Otherwise, an INVALID_ARGUMENT error is returned. */ @@ -5689,6 +5886,14 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengi */ @property(nonatomic, copy, nullable) NSString *keyPropertyType; +/** + * Optional. The metatag name found in the HTML page. If user defines this + * field, the value of this metatag name will be used to extract metatag. If + * the user does not define this field, the FieldConfig.field_path will be used + * to extract metatag. + */ +@property(nonatomic, copy, nullable) NSString *metatagName; + /** * If recs_filterable_option is FILTERABLE_ENABLED, field values are filterable * by filter expression in RecommendationService.Recommend. If @@ -6213,6 +6418,28 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengi @end +/** + * Configuration for Natural Language Query Understanding. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaNaturalLanguageQueryUnderstandingConfig : GTLRObject + +/** + * Mode of Natural Language Query Understanding. If this field is unset, the + * behavior defaults to NaturalLanguageQueryUnderstandingConfig.Mode.DISABLED. + * + * Likely values: + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaNaturalLanguageQueryUnderstandingConfig_Mode_Disabled + * Natural Language Query Understanding is disabled. (Value: "DISABLED") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaNaturalLanguageQueryUnderstandingConfig_Mode_Enabled + * Natural Language Query Understanding is enabled. (Value: "ENABLED") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaNaturalLanguageQueryUnderstandingConfig_Mode_ModeUnspecified + * Default value. (Value: "MODE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *mode; + +@end + + /** * Metadata and configurations for a Google Cloud project in the service. */ @@ -6223,8 +6450,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengi /** * Output only. Full resource name of the project, for example - * `projects/{project_number}`. Note that when making requests, project number - * and project id are both acceptable, but the server will always respond in + * `projects/{project}`. Note that when making requests, project number and + * project id are both acceptable, but the server will always respond in * project number. */ @property(nonatomic, copy, nullable) NSString *name; @@ -6914,6 +7141,14 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengi */ @property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequest_Params *params; +/** + * The specification for personalization. Notice that if both + * ServingConfig.personalization_spec and SearchRequest.personalization_spec + * are set, SearchRequest.personalization_spec overrides + * ServingConfig.personalization_spec. + */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequestPersonalizationSpec *personalizationSpec; + /** Raw search query. */ @property(nonatomic, copy, nullable) NSString *query; @@ -7435,6 +7670,20 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengi */ @property(nonatomic, strong, nullable) NSNumber *ignoreAdversarialQuery; +/** + * Optional. Specifies whether to filter out jail-breaking queries. The default + * value is `false`. Google employs search-query classification to detect + * jail-breaking queries. No summary is returned if the search query is + * classified as a jail-breaking query. A user might add instructions to the + * query to change the tone, style, language, content of the answer, or ask the + * model to act as a different entity, e.g. "Reply in the tone of a competing + * company's CEO". If this field is set to `true`, we skip generating summaries + * for jail-breaking queries and return fallback messages instead. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *ignoreJailBreakingQuery; + /** * Specifies whether to filter out queries that have low relevance. The default * value is `false`. If this field is set to `false`, all search results are @@ -7567,6 +7816,13 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengi */ @property(nonatomic, copy, nullable) NSString *dataStore; +/** + * Optional. Filter specification to filter documents in the data store + * specified by data_store field. For more information on filtering, see + * [Filtering](https://cloud.google.com/generative-ai-app-builder/docs/filter-search-metadata) + */ +@property(nonatomic, copy, nullable) NSString *filter; + @end @@ -7780,6 +8036,29 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengi @end +/** + * The specification for personalization. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequestPersonalizationSpec : GTLRObject + +/** + * The personalization mode of the search request. Defaults to Mode.AUTO. + * + * Likely values: + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequestPersonalizationSpec_Mode_Auto + * Personalization is enabled if data quality requirements are met. + * (Value: "AUTO") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequestPersonalizationSpec_Mode_Disabled + * Disable personalization. (Value: "DISABLED") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequestPersonalizationSpec_Mode_ModeUnspecified + * Default value. In this case, server behavior defaults to Mode.AUTO. + * (Value: "MODE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *mode; + +@end + + /** * Specification to determine under which conditions query expansion should * occur. @@ -7900,6 +8179,22 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengi @end +/** + * Stores information regarding the serving configurations at DataStore level. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaServingConfigDataStore : GTLRObject + +/** + * If set true, the DataStore will not be available for serving search + * requests. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *disabledForServing; + +@end + + /** * External session proto definition. */ @@ -8192,7 +8487,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengi /** * Required. The resource name of the engine that this tune applies to. Format: - * `projects/{project_number}/locations/{location_id}/collections/{collection_id}/engines/{engine_id}` + * `projects/{project}/locations/{location}/collections/{collection_id}/engines/{engine_id}` */ @property(nonatomic, copy, nullable) NSString *engine; @@ -8410,15 +8705,16 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengi @property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestAnswerGenerationSpec *answerGenerationSpec; /** - * Asynchronous mode control. If enabled, the response will be returned with - * answer/session resource name without final answer. The API users need to do - * the polling to get the latest status of answer/session by calling - * ConversationalSearchService.GetAnswer or + * Deprecated: This field is deprecated. Streaming Answer API will be + * supported. Asynchronous mode control. If enabled, the response will be + * returned with answer/session resource name without final answer. The API + * users need to do the polling to get the latest status of answer/session by + * calling ConversationalSearchService.GetAnswer or * ConversationalSearchService.GetSession method. * * Uses NSNumber of boolValue. */ -@property(nonatomic, strong, nullable) NSNumber *asynchronousMode; +@property(nonatomic, strong, nullable) NSNumber *asynchronousMode GTLR_DEPRECATED; /** Required. Current user query. */ @property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Query *query; @@ -8522,6 +8818,20 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengi */ @property(nonatomic, strong, nullable) NSNumber *ignoreAdversarialQuery; +/** + * Optional. Specifies whether to filter out jail-breaking queries. The default + * value is `false`. Google employs search-query classification to detect + * jail-breaking queries. No summary is returned if the search query is + * classified as a jail-breaking query. A user might add instructions to the + * query to change the tone, style, language, content of the answer, or ask the + * model to act as a different entity, e.g. "Reply in the tone of a competing + * company's CEO". If this field is set to `true`, we skip generating summaries + * for jail-breaking queries and return fallback messages instead. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *ignoreJailBreakingQuery; + /** * Specifies whether to filter out queries that have low relevance. If this * field is set to `false`, all search results are used regardless of relevance @@ -8785,6 +9095,24 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengi /** Chunk textual content. */ @property(nonatomic, copy, nullable) NSString *content; +/** Metadata of the document from the current chunk. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchResultListSearchResultChunkInfoDocumentMetadata *documentMetadata; + +@end + + +/** + * Document metadata contains the information of the document of the current + * chunk. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchResultListSearchResultChunkInfoDocumentMetadata : GTLRObject + +/** Title of the document. */ +@property(nonatomic, copy, nullable) NSString *title; + +/** Uri of the document. */ +@property(nonatomic, copy, nullable) NSString *uri; + @end @@ -8796,11 +9124,19 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengi /** Document resource name. */ @property(nonatomic, copy, nullable) NSString *document; -/** List of document contexts. */ +/** + * List of document contexts. The content will be used for Answer Generation. + * This is supposed to be the main content of the document that can be long and + * comprehensive. + */ @property(nonatomic, strong, nullable) NSArray *documentContexts; -/** List of extractive answers. */ -@property(nonatomic, strong, nullable) NSArray *extractiveAnswers; +/** + * Deprecated: This field is deprecated and will have no effect on the Answer + * generation. Please use document_contexts and extractive_segments fields. + * List of extractive answers. + */ +@property(nonatomic, strong, nullable) NSArray *extractiveAnswers GTLR_DEPRECATED; /** List of extractive segments. */ @property(nonatomic, strong, nullable) NSArray *extractiveSegments; @@ -8819,7 +9155,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengi */ @interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchResultListSearchResultUnstructuredDocumentInfoDocumentContext : GTLRObject -/** Document content. */ +/** Document content to be used for answer generation. */ @property(nonatomic, copy, nullable) NSString *content; /** Page identifier. */ @@ -8846,6 +9182,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengi /** * Extractive segment. * [Guide](https://cloud.google.com/generative-ai-app-builder/docs/snippets#extractive-segments) + * Answer generation will only use it if document_contexts is empty. This is + * supposed to be shorter snippets. */ @interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchResultListSearchResultUnstructuredDocumentInfoExtractiveSegment : GTLRObject @@ -9187,8 +9525,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengi /** * Data representation. The structured JSON data for the document. It's - * populated from the struct data from the Document , or the Chunk in search - * result . + * populated from the struct data from the Document, or the Chunk in search + * result. . */ @property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerStepActionObservationSearchResult_StructData *structData; @@ -9203,8 +9541,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengi /** * Data representation. The structured JSON data for the document. It's - * populated from the struct data from the Document , or the Chunk in search - * result . + * populated from the struct data from the Document, or the Chunk in search + * result. . * * @note This class is documented as having more properties of any valid JSON * type. Use @c -additionalJSONKeys and @c -additionalPropertyForName: to @@ -9338,20 +9676,20 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengi @property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1BatchGetDocumentsMetadataResponseDocumentMetadataMatcherValue *matcherValue; /** - * The status of the document. + * The state of the document. * * Likely values: - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1BatchGetDocumentsMetadataResponseDocumentMetadata_Status_StatusIndexed - * The Document is indexed. (Value: "STATUS_INDEXED") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1BatchGetDocumentsMetadataResponseDocumentMetadata_Status_StatusNotInIndex - * The Document is not indexed. (Value: "STATUS_NOT_IN_INDEX") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1BatchGetDocumentsMetadataResponseDocumentMetadata_Status_StatusNotInTargetSite + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1BatchGetDocumentsMetadataResponseDocumentMetadata_State_Indexed + * The Document is indexed. (Value: "INDEXED") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1BatchGetDocumentsMetadataResponseDocumentMetadata_State_NotInIndex + * The Document is not indexed. (Value: "NOT_IN_INDEX") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1BatchGetDocumentsMetadataResponseDocumentMetadata_State_NotInTargetSite * The Document is not indexed because its URI is not in the TargetSite. - * (Value: "STATUS_NOT_IN_TARGET_SITE") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1BatchGetDocumentsMetadataResponseDocumentMetadata_Status_StatusUnspecified - * Should never be set. (Value: "STATUS_UNSPECIFIED") + * (Value: "NOT_IN_TARGET_SITE") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1BatchGetDocumentsMetadataResponseDocumentMetadata_State_StateUnspecified + * Should never be set. (Value: "STATE_UNSPECIFIED") */ -@property(nonatomic, copy, nullable) NSString *status; +@property(nonatomic, copy, nullable) NSString *state; @end @@ -9761,8 +10099,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengi /** * Required. The fully qualified resource name of the model. Format: - * `projects/{project_number}/locations/{location}/collections/{collection}/dataStores/{data_store}/customTuningModels/{custom_tuning_model}` - * model must be an alpha-numerical string with limit of 40 characters. + * `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/customTuningModels/{custom_tuning_model}`. + * Model must be an alpha-numerical string with limit of 40 characters. */ @property(nonatomic, copy, nullable) NSString *name; @@ -9789,6 +10127,9 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengi */ @interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaDataStore : GTLRObject +/** Output only. Data size estimation for billing. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaDataStoreBillingEstimation *billingEstimation; + /** * Immutable. The content config of the data store. If this field is unset, the * server behavior defaults to ContentConfig.NO_CONTENT. @@ -9857,6 +10198,12 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengi */ @property(nonatomic, copy, nullable) NSString *name; +/** Optional. Configuration for Natural Language Query Understanding. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaNaturalLanguageQueryUnderstandingConfig *naturalLanguageQueryUnderstandingConfig; + +/** Optional. Stores serving config at DataStore level. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaServingConfigDataStore *servingConfigDataStore; + /** * The solutions that the data store enrolls. Available solutions for each * industry_vertical: * `MEDIA`: `SOLUTION_TYPE_RECOMMENDATION` and @@ -9887,6 +10234,44 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengi @end +/** + * Estimation of data size per data store. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaDataStoreBillingEstimation : GTLRObject + +/** + * Data size for structured data in terms of bytes. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *structuredDataSize; + +/** Last updated timestamp for structured data. */ +@property(nonatomic, strong, nullable) GTLRDateTime *structuredDataUpdateTime; + +/** + * Data size for unstructured data in terms of bytes. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *unstructuredDataSize; + +/** Last updated timestamp for unstructured data. */ +@property(nonatomic, strong, nullable) GTLRDateTime *unstructuredDataUpdateTime; + +/** + * Data size for websites in terms of bytes. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *websiteDataSize; + +/** Last updated timestamp for websites. */ +@property(nonatomic, strong, nullable) GTLRDateTime *websiteDataUpdateTime; + +@end + + /** * Metadata related to the progress of the DataStoreService.DeleteDataStore * operation. This will be returned by the @@ -10020,8 +10405,10 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengi * layout parsing are supported. * `docx`: Override parsing config for DOCX * files, only digital parsing and layout parsing are supported. * `pptx`: * Override parsing config for PPTX files, only digital parsing and layout - * parsing are supported. * `xlsx`: Override parsing config for XLSX files, - * only digital parsing and layout parsing are supported. + * parsing are supported. * `xlsm`: Override parsing config for XLSM files, + * only digital parsing and layout parsing are supported. * `xlsx`: Override + * parsing config for XLSX files, only digital parsing and layout parsing are + * supported. */ @property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaDocumentProcessingConfig_ParsingConfigOverrides *parsingConfigOverrides; @@ -10036,8 +10423,10 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengi * layout parsing are supported. * `docx`: Override parsing config for DOCX * files, only digital parsing and layout parsing are supported. * `pptx`: * Override parsing config for PPTX files, only digital parsing and layout - * parsing are supported. * `xlsx`: Override parsing config for XLSX files, - * only digital parsing and layout parsing are supported. + * parsing are supported. * `xlsm`: Override parsing config for XLSM files, + * only digital parsing and layout parsing are supported. * `xlsx`: Override + * parsing config for XLSX files, only digital parsing and layout parsing are + * supported. * * @note This class is documented as having more properties of * GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfig. @@ -10227,7 +10616,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengi /** * Immutable. The fully qualified resource name of the engine. This field must * be a UTF-8 encoded string with a length limit of 1024 characters. Format: - * `projects/{project_number}/locations/{location}/collections/{collection}/engines/{engine}` + * `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}` * engine should be 1-63 characters, and valid characters are /a-z0-9* /. * Otherwise, an INVALID_ARGUMENT error is returned. */ @@ -10850,6 +11239,28 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengi @end +/** + * Configuration for Natural Language Query Understanding. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaNaturalLanguageQueryUnderstandingConfig : GTLRObject + +/** + * Mode of Natural Language Query Understanding. If this field is unset, the + * behavior defaults to NaturalLanguageQueryUnderstandingConfig.Mode.DISABLED. + * + * Likely values: + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaNaturalLanguageQueryUnderstandingConfig_Mode_Disabled + * Natural Language Query Understanding is disabled. (Value: "DISABLED") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaNaturalLanguageQueryUnderstandingConfig_Mode_Enabled + * Natural Language Query Understanding is enabled. (Value: "ENABLED") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaNaturalLanguageQueryUnderstandingConfig_Mode_ModeUnspecified + * Default value. (Value: "MODE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *mode; + +@end + + /** * Metadata and configurations for a Google Cloud project in the service. */ @@ -10860,8 +11271,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengi /** * Output only. Full resource name of the project, for example - * `projects/{project_number}`. Note that when making requests, project number - * and project id are both acceptable, but the server will always respond in + * `projects/{project}`. Note that when making requests, project number and + * project id are both acceptable, but the server will always respond in * project number. */ @property(nonatomic, copy, nullable) NSString *name; @@ -11331,6 +11742,14 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengi */ @property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaSearchRequest_Params *params; +/** + * The specification for personalization. Notice that if both + * ServingConfig.personalization_spec and SearchRequest.personalization_spec + * are set, SearchRequest.personalization_spec overrides + * ServingConfig.personalization_spec. + */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaSearchRequestPersonalizationSpec *personalizationSpec; + /** Raw search query. */ @property(nonatomic, copy, nullable) NSString *query; @@ -11852,6 +12271,20 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengi */ @property(nonatomic, strong, nullable) NSNumber *ignoreAdversarialQuery; +/** + * Optional. Specifies whether to filter out jail-breaking queries. The default + * value is `false`. Google employs search-query classification to detect + * jail-breaking queries. No summary is returned if the search query is + * classified as a jail-breaking query. A user might add instructions to the + * query to change the tone, style, language, content of the answer, or ask the + * model to act as a different entity, e.g. "Reply in the tone of a competing + * company's CEO". If this field is set to `true`, we skip generating summaries + * for jail-breaking queries and return fallback messages instead. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *ignoreJailBreakingQuery; + /** * Specifies whether to filter out queries that have low relevance. The default * value is `false`. If this field is set to `false`, all search results are @@ -11984,6 +12417,13 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengi */ @property(nonatomic, copy, nullable) NSString *dataStore; +/** + * Optional. Filter specification to filter documents in the data store + * specified by data_store field. For more information on filtering, see + * [Filtering](https://cloud.google.com/generative-ai-app-builder/docs/filter-search-metadata) + */ +@property(nonatomic, copy, nullable) NSString *filter; + @end @@ -12197,6 +12637,29 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengi @end +/** + * The specification for personalization. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaSearchRequestPersonalizationSpec : GTLRObject + +/** + * The personalization mode of the search request. Defaults to Mode.AUTO. + * + * Likely values: + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaSearchRequestPersonalizationSpec_Mode_Auto + * Personalization is enabled if data quality requirements are met. + * (Value: "AUTO") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaSearchRequestPersonalizationSpec_Mode_Disabled + * Disable personalization. (Value: "DISABLED") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaSearchRequestPersonalizationSpec_Mode_ModeUnspecified + * Default value. In this case, server behavior defaults to Mode.AUTO. + * (Value: "MODE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *mode; + +@end + + /** * Specification to determine under which conditions query expansion should * occur. @@ -12317,6 +12780,22 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengi @end +/** + * Stores information regarding the serving configurations at DataStore level. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaServingConfigDataStore : GTLRObject + +/** + * If set true, the DataStore will not be available for serving search + * requests. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *disabledForServing; + +@end + + /** * Verification information for target sites in advanced site search. */ @@ -12526,7 +13005,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengi /** * Required. The resource name of the engine that this tune applies to. Format: - * `projects/{project_number}/locations/{location_id}/collections/{collection_id}/engines/{engine_id}` + * `projects/{project}/locations/{location}/collections/{collection_id}/engines/{engine_id}` */ @property(nonatomic, copy, nullable) NSString *engine; @@ -13689,7 +14168,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengi /** * The resource name of the Serving Config to use. Format: - * `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}/servingConfigs/{serving_config_id}` + * `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}/servingConfigs/{serving_config_id}` * If this is not set, the default serving config will be used. */ @property(nonatomic, copy, nullable) NSString *servingConfig; @@ -13925,8 +14404,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengi /** * Required. The fully qualified resource name of the model. Format: - * `projects/{project_number}/locations/{location}/collections/{collection}/dataStores/{data_store}/customTuningModels/{custom_tuning_model}` - * model must be an alpha-numerical string with limit of 40 characters. + * `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/customTuningModels/{custom_tuning_model}`. + * Model must be an alpha-numerical string with limit of 40 characters. */ @property(nonatomic, copy, nullable) NSString *name; @@ -13953,6 +14432,9 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengi */ @interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1DataStore : GTLRObject +/** Output only. Data size estimation for billing. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1DataStoreBillingEstimation *billingEstimation; + /** * Immutable. The content config of the data store. If this field is unset, the * server behavior defaults to ContentConfig.NO_CONTENT. @@ -14018,6 +14500,9 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengi */ @property(nonatomic, copy, nullable) NSString *name; +/** Optional. Stores serving config at DataStore level. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ServingConfigDataStore *servingConfigDataStore; + /** * The solutions that the data store enrolls. Available solutions for each * industry_vertical: * `MEDIA`: `SOLUTION_TYPE_RECOMMENDATION` and @@ -14048,6 +14533,44 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengi @end +/** + * Estimation of data size per data store. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1DataStoreBillingEstimation : GTLRObject + +/** + * Data size for structured data in terms of bytes. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *structuredDataSize; + +/** Last updated timestamp for structured data. */ +@property(nonatomic, strong, nullable) GTLRDateTime *structuredDataUpdateTime; + +/** + * Data size for unstructured data in terms of bytes. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *unstructuredDataSize; + +/** Last updated timestamp for unstructured data. */ +@property(nonatomic, strong, nullable) GTLRDateTime *unstructuredDataUpdateTime; + +/** + * Data size for websites in terms of bytes. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *websiteDataSize; + +/** Last updated timestamp for websites. */ +@property(nonatomic, strong, nullable) GTLRDateTime *websiteDataUpdateTime; + +@end + + /** * Metadata related to the progress of the DataStoreService.DeleteDataStore * operation. This will be returned by the @@ -14340,7 +14863,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengi /** * The Document resource full name, of the form: - * `projects/{project_id}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}/branches/{branch_id}/documents/{document_id}` + * `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}/branches/{branch_id}/documents/{document_id}` */ @property(nonatomic, copy, nullable) NSString *name; @@ -14398,8 +14921,10 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengi * layout parsing are supported. * `docx`: Override parsing config for DOCX * files, only digital parsing and layout parsing are supported. * `pptx`: * Override parsing config for PPTX files, only digital parsing and layout - * parsing are supported. * `xlsx`: Override parsing config for XLSX files, - * only digital parsing and layout parsing are supported. + * parsing are supported. * `xlsm`: Override parsing config for XLSM files, + * only digital parsing and layout parsing are supported. * `xlsx`: Override + * parsing config for XLSX files, only digital parsing and layout parsing are + * supported. */ @property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1DocumentProcessingConfig_ParsingConfigOverrides *parsingConfigOverrides; @@ -14414,8 +14939,10 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengi * layout parsing are supported. * `docx`: Override parsing config for DOCX * files, only digital parsing and layout parsing are supported. * `pptx`: * Override parsing config for PPTX files, only digital parsing and layout - * parsing are supported. * `xlsx`: Override parsing config for XLSX files, - * only digital parsing and layout parsing are supported. + * parsing are supported. * `xlsm`: Override parsing config for XLSM files, + * only digital parsing and layout parsing are supported. * `xlsx`: Override + * parsing config for XLSX files, only digital parsing and layout parsing are + * supported. * * @note This class is documented as having more properties of * GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfig. @@ -14612,7 +15139,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengi /** * Immutable. The fully qualified resource name of the engine. This field must * be a UTF-8 encoded string with a length limit of 1024 characters. Format: - * `projects/{project_number}/locations/{location}/collections/{collection}/engines/{engine}` + * `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}` * engine should be 1-63 characters, and valid characters are /a-z0-9* /. * Otherwise, an INVALID_ARGUMENT error is returned. */ @@ -15800,8 +16327,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengi /** * Output only. Full resource name of the project, for example - * `projects/{project_number}`. Note that when making requests, project number - * and project id are both acceptable, but the server will always respond in + * `projects/{project}`. Note that when making requests, project number and + * project id are both acceptable, but the server will always respond in * project number. */ @property(nonatomic, copy, nullable) NSString *name; @@ -16532,6 +17059,13 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengi */ @interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1RecrawlUrisRequest : GTLRObject +/** + * Optional. Full resource name of the SiteCredential, such as `projects/ * + * /locations/ * /collections/ * /dataStores/ * + * /siteSearchEngine/siteCredentials/ *`. Only set to crawl private URIs. + */ +@property(nonatomic, copy, nullable) NSString *siteCredential; + /** * Required. List of URIs to crawl. At most 10K URIs are supported, otherwise * an INVALID_ARGUMENT error is thrown. Each URI should match at least one @@ -16929,6 +17463,12 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengi */ @property(nonatomic, strong, nullable) NSNumber *boost; +/** + * Complex specification for custom ranking based on customer defined attribute + * value. + */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SearchRequestBoostSpecConditionBoostSpecBoostControlSpec *boostControlSpec; + /** * An expression which specifies a boost condition. The syntax and supported * fields are the same as a filter expression. See SearchRequest.filter for @@ -16941,6 +17481,93 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengi @end +/** + * Specification for custom ranking based on customer specified attribute + * value. It provides more controls for customized ranking than the simple + * (condition, boost) combination above. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SearchRequestBoostSpecConditionBoostSpecBoostControlSpec : GTLRObject + +/** + * The attribute type to be used to determine the boost amount. The attribute + * value can be derived from the field value of the specified field_name. In + * the case of numerical it is straightforward i.e. attribute_value = + * numerical_field_value. In the case of freshness however, attribute_value = + * (time.now() - datetime_field_value). + * + * Likely values: + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SearchRequestBoostSpecConditionBoostSpecBoostControlSpec_AttributeType_AttributeTypeUnspecified + * Unspecified AttributeType. (Value: "ATTRIBUTE_TYPE_UNSPECIFIED") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SearchRequestBoostSpecConditionBoostSpecBoostControlSpec_AttributeType_Freshness + * For the freshness use case the attribute value will be the duration + * between the current time and the date in the datetime field specified. + * The value must be formatted as an XSD `dayTimeDuration` value (a + * restricted subset of an ISO 8601 duration value). The pattern for this + * is: `nDnM]`. For example, `5D`, `3DT12H30M`, `T24H`. (Value: + * "FRESHNESS") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SearchRequestBoostSpecConditionBoostSpecBoostControlSpec_AttributeType_Numerical + * The value of the numerical field will be used to dynamically update + * the boost amount. In this case, the attribute_value (the x value) of + * the control point will be the actual value of the numerical field for + * which the boost_amount is specified. (Value: "NUMERICAL") + */ +@property(nonatomic, copy, nullable) NSString *attributeType; + +/** + * The control points used to define the curve. The monotonic function (defined + * through the interpolation_type above) passes through the control points + * listed here. + */ +@property(nonatomic, strong, nullable) NSArray *controlPoints; + +/** + * The name of the field whose value will be used to determine the boost + * amount. + */ +@property(nonatomic, copy, nullable) NSString *fieldName; + +/** + * The interpolation type to be applied to connect the control points listed + * below. + * + * Likely values: + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SearchRequestBoostSpecConditionBoostSpecBoostControlSpec_InterpolationType_InterpolationTypeUnspecified + * Interpolation type is unspecified. In this case, it defaults to + * Linear. (Value: "INTERPOLATION_TYPE_UNSPECIFIED") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SearchRequestBoostSpecConditionBoostSpecBoostControlSpec_InterpolationType_Linear + * Piecewise linear interpolation will be applied. (Value: "LINEAR") + */ +@property(nonatomic, copy, nullable) NSString *interpolationType; + +@end + + +/** + * The control points used to define the curve. The curve defined through these + * control points can only be monotonically increasing or decreasing(constant + * values are acceptable). + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SearchRequestBoostSpecConditionBoostSpecBoostControlSpecControlPoint : GTLRObject + +/** + * Can be one of: 1. The numerical field value. 2. The duration spec for + * freshness: The value must be formatted as an XSD `dayTimeDuration` value (a + * restricted subset of an ISO 8601 duration value). The pattern for this is: + * `nDnM]`. + */ +@property(nonatomic, copy, nullable) NSString *attributeValue; + +/** + * The value between -1 to 1 by which to boost the score if the attribute_value + * evaluates to the value specified above. + * + * Uses NSNumber of floatValue. + */ +@property(nonatomic, strong, nullable) NSNumber *boostAmount; + +@end + + /** * A specification for configuring the behavior of content search. */ @@ -17132,6 +17759,20 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengi */ @property(nonatomic, strong, nullable) NSNumber *ignoreAdversarialQuery; +/** + * Optional. Specifies whether to filter out jail-breaking queries. The default + * value is `false`. Google employs search-query classification to detect + * jail-breaking queries. No summary is returned if the search query is + * classified as a jail-breaking query. A user might add instructions to the + * query to change the tone, style, language, content of the answer, or ask the + * model to act as a different entity, e.g. "Reply in the tone of a competing + * company's CEO". If this field is set to `true`, we skip generating summaries + * for jail-breaking queries and return fallback messages instead. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *ignoreJailBreakingQuery; + /** * Specifies whether to filter out queries that have low relevance. The default * value is `false`. If this field is set to `false`, all search results are @@ -17264,6 +17905,13 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengi */ @property(nonatomic, copy, nullable) NSString *dataStore; +/** + * Optional. Filter specification to filter documents in the data store + * specified by data_store field. For more information on filtering, see + * [Filtering](https://cloud.google.com/generative-ai-app-builder/docs/filter-search-metadata) + */ +@property(nonatomic, copy, nullable) NSString *filter; + @end @@ -17878,6 +18526,22 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengi @end +/** + * Stores information regarding the serving configurations at DataStore level. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ServingConfigDataStore : GTLRObject + +/** + * If set true, the DataStore will not be available for serving search + * requests. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *disabledForServing; + +@end + + /** * External session proto definition. */ diff --git a/Sources/GeneratedServices/DiscoveryEngine/Public/GoogleAPIClientForREST/GTLRDiscoveryEngineQuery.h b/Sources/GeneratedServices/DiscoveryEngine/Public/GoogleAPIClientForREST/GTLRDiscoveryEngineQuery.h index 1062cc716..e05fcfd3b 100644 --- a/Sources/GeneratedServices/DiscoveryEngine/Public/GoogleAPIClientForREST/GTLRDiscoveryEngineQuery.h +++ b/Sources/GeneratedServices/DiscoveryEngine/Public/GoogleAPIClientForREST/GTLRDiscoveryEngineQuery.h @@ -6,7 +6,7 @@ // Description: // Discovery Engine API. // Documentation: -// https://cloud.google.com/discovery-engine/docs +// https://cloud.google.com/generative-ai-app-builder/docs/ #import @@ -743,9 +743,9 @@ NS_ASSUME_NONNULL_BEGIN /** * Required. Full resource name of parent data store. Format: - * `projects/{project_number}/locations/{location_id}/collections/{collection_id}/dataStores/{data_store_id}` + * `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}` * or - * `projects/{project_number}/locations/{location_id}/collections/{collection_id}/engines/{engine_id}`. + * `projects/{project}/locations/{location}/collections/{collection_id}/engines/{engine_id}`. */ @property(nonatomic, copy, nullable) NSString *parent; @@ -759,9 +759,9 @@ NS_ASSUME_NONNULL_BEGIN * @param object The @c GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Control * to include in the query. * @param parent Required. Full resource name of parent data store. Format: - * `projects/{project_number}/locations/{location_id}/collections/{collection_id}/dataStores/{data_store_id}` + * `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}` * or - * `projects/{project_number}/locations/{location_id}/collections/{collection_id}/engines/{engine_id}`. + * `projects/{project}/locations/{location}/collections/{collection_id}/engines/{engine_id}`. * * @return GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsDataStoresControlsCreate */ @@ -783,7 +783,7 @@ NS_ASSUME_NONNULL_BEGIN /** * Required. The resource name of the Control to delete. Format: - * `projects/{project_number}/locations/{location_id}/collections/{collection_id}/dataStores/{data_store_id}/controls/{control_id}` + * `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}/controls/{control_id}` */ @property(nonatomic, copy, nullable) NSString *name; @@ -794,7 +794,7 @@ NS_ASSUME_NONNULL_BEGIN * error is returned. * * @param name Required. The resource name of the Control to delete. Format: - * `projects/{project_number}/locations/{location_id}/collections/{collection_id}/dataStores/{data_store_id}/controls/{control_id}` + * `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}/controls/{control_id}` * * @return GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsDataStoresControlsDelete */ @@ -814,7 +814,7 @@ NS_ASSUME_NONNULL_BEGIN /** * Required. The resource name of the Control to get. Format: - * `projects/{project_number}/locations/{location_id}/collections/{collection_id}/dataStores/{data_store_id}/controls/{control_id}` + * `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}/controls/{control_id}` */ @property(nonatomic, copy, nullable) NSString *name; @@ -824,7 +824,7 @@ NS_ASSUME_NONNULL_BEGIN * Gets a Control. * * @param name Required. The resource name of the Control to get. Format: - * `projects/{project_number}/locations/{location_id}/collections/{collection_id}/dataStores/{data_store_id}/controls/{control_id}` + * `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}/controls/{control_id}` * * @return GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsDataStoresControlsGet */ @@ -863,9 +863,9 @@ NS_ASSUME_NONNULL_BEGIN /** * Required. The data store resource name. Format: - * `projects/{project_number}/locations/{location_id}/collections/{collection_id}/dataStores/{data_store_id}` + * `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}` * or - * `projects/{project_number}/locations/{location_id}/collections/{collection_id}/engines/{engine_id}`. + * `projects/{project}/locations/{location}/collections/{collection_id}/engines/{engine_id}`. */ @property(nonatomic, copy, nullable) NSString *parent; @@ -876,9 +876,9 @@ NS_ASSUME_NONNULL_BEGIN * Lists all Controls by their parent DataStore. * * @param parent Required. The data store resource name. Format: - * `projects/{project_number}/locations/{location_id}/collections/{collection_id}/dataStores/{data_store_id}` + * `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}` * or - * `projects/{project_number}/locations/{location_id}/collections/{collection_id}/engines/{engine_id}`. + * `projects/{project}/locations/{location}/collections/{collection_id}/engines/{engine_id}`. * * @return GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsDataStoresControlsList * @@ -946,9 +946,9 @@ NS_ASSUME_NONNULL_BEGIN /** * Required. The resource name of the Conversation to get. Format: - * `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}/conversations/{conversation_id}`. + * `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}/conversations/{conversation_id}`. * Use - * `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}/conversations/-` + * `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}/conversations/-` * to activate auto session mode, which automatically creates a new * conversation inside a ConverseConversation session. */ @@ -964,9 +964,9 @@ NS_ASSUME_NONNULL_BEGIN * GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ConverseConversationRequest * to include in the query. * @param name Required. The resource name of the Conversation to get. Format: - * `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}/conversations/{conversation_id}`. + * `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}/conversations/{conversation_id}`. * Use - * `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}/conversations/-` + * `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}/conversations/-` * to activate auto session mode, which automatically creates a new * conversation inside a ConverseConversation session. * @@ -990,7 +990,7 @@ NS_ASSUME_NONNULL_BEGIN /** * Required. Full resource name of parent data store. Format: - * `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}` + * `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}` */ @property(nonatomic, copy, nullable) NSString *parent; @@ -1004,7 +1004,7 @@ NS_ASSUME_NONNULL_BEGIN * GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Conversation to include in * the query. * @param parent Required. Full resource name of parent data store. Format: - * `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}` + * `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}` * * @return GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsDataStoresConversationsCreate */ @@ -1026,7 +1026,7 @@ NS_ASSUME_NONNULL_BEGIN /** * Required. The resource name of the Conversation to delete. Format: - * `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}/conversations/{conversation_id}` + * `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}/conversations/{conversation_id}` */ @property(nonatomic, copy, nullable) NSString *name; @@ -1038,7 +1038,7 @@ NS_ASSUME_NONNULL_BEGIN * * @param name Required. The resource name of the Conversation to delete. * Format: - * `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}/conversations/{conversation_id}` + * `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}/conversations/{conversation_id}` * * @return GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsDataStoresConversationsDelete */ @@ -1058,7 +1058,7 @@ NS_ASSUME_NONNULL_BEGIN /** * Required. The resource name of the Conversation to get. Format: - * `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}/conversations/{conversation_id}` + * `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}/conversations/{conversation_id}` */ @property(nonatomic, copy, nullable) NSString *name; @@ -1068,7 +1068,7 @@ NS_ASSUME_NONNULL_BEGIN * Gets a Conversation. * * @param name Required. The resource name of the Conversation to get. Format: - * `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}/conversations/{conversation_id}` + * `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}/conversations/{conversation_id}` * * @return GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsDataStoresConversationsGet */ @@ -1114,7 +1114,7 @@ NS_ASSUME_NONNULL_BEGIN /** * Required. The data store resource name. Format: - * `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}` + * `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}` */ @property(nonatomic, copy, nullable) NSString *parent; @@ -1125,7 +1125,7 @@ NS_ASSUME_NONNULL_BEGIN * Lists all Conversations by their parent DataStore. * * @param parent Required. The data store resource name. Format: - * `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}` + * `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}` * * @return GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsDataStoresConversationsList * @@ -2066,7 +2066,7 @@ NS_ASSUME_NONNULL_BEGIN /** * Required. The resource name of the Answer to get. Format: - * `projects/{project_number}/locations/{location_id}/collections/{collection}/engines/{engine_id}/sessions/{session_id}/answers/{answer_id}` + * `projects/{project}/locations/{location}/collections/{collection}/engines/{engine_id}/sessions/{session_id}/answers/{answer_id}` */ @property(nonatomic, copy, nullable) NSString *name; @@ -2076,7 +2076,7 @@ NS_ASSUME_NONNULL_BEGIN * Gets a Answer. * * @param name Required. The resource name of the Answer to get. Format: - * `projects/{project_number}/locations/{location_id}/collections/{collection}/engines/{engine_id}/sessions/{session_id}/answers/{answer_id}` + * `projects/{project}/locations/{location}/collections/{collection}/engines/{engine_id}/sessions/{session_id}/answers/{answer_id}` * * @return GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsDataStoresSessionsAnswersGet */ @@ -2097,7 +2097,7 @@ NS_ASSUME_NONNULL_BEGIN /** * Required. Full resource name of parent data store. Format: - * `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}` + * `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}` */ @property(nonatomic, copy, nullable) NSString *parent; @@ -2110,7 +2110,7 @@ NS_ASSUME_NONNULL_BEGIN * @param object The @c GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Session * to include in the query. * @param parent Required. Full resource name of parent data store. Format: - * `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}` + * `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}` * * @return GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsDataStoresSessionsCreate */ @@ -2132,7 +2132,7 @@ NS_ASSUME_NONNULL_BEGIN /** * Required. The resource name of the Session to delete. Format: - * `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}/sessions/{session_id}` + * `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}/sessions/{session_id}` */ @property(nonatomic, copy, nullable) NSString *name; @@ -2143,7 +2143,7 @@ NS_ASSUME_NONNULL_BEGIN * error is returned. * * @param name Required. The resource name of the Session to delete. Format: - * `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}/sessions/{session_id}` + * `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}/sessions/{session_id}` * * @return GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsDataStoresSessionsDelete */ @@ -2163,7 +2163,7 @@ NS_ASSUME_NONNULL_BEGIN /** * Required. The resource name of the Session to get. Format: - * `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}/sessions/{session_id}` + * `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}/sessions/{session_id}` */ @property(nonatomic, copy, nullable) NSString *name; @@ -2173,7 +2173,7 @@ NS_ASSUME_NONNULL_BEGIN * Gets a Session. * * @param name Required. The resource name of the Session to get. Format: - * `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}/sessions/{session_id}` + * `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}/sessions/{session_id}` * * @return GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsDataStoresSessionsGet */ @@ -2218,7 +2218,7 @@ NS_ASSUME_NONNULL_BEGIN /** * Required. The data store resource name. Format: - * `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}` + * `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}` */ @property(nonatomic, copy, nullable) NSString *parent; @@ -2229,7 +2229,7 @@ NS_ASSUME_NONNULL_BEGIN * Lists all Sessions by their parent DataStore. * * @param parent Required. The data store resource name. Format: - * `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}` + * `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}` * * @return GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsDataStoresSessionsList * @@ -3092,7 +3092,7 @@ NS_ASSUME_NONNULL_BEGIN /** * Required. The resource name of the catalog under which the events are * created. The format is - * `projects/${projectId}/locations/global/collections/{$collectionId}/dataStores/${dataStoreId}` + * `projects/{project}/locations/global/collections/{collection}/dataStores/{dataStore}`. */ @property(nonatomic, copy, nullable) NSString *parent; @@ -3109,7 +3109,7 @@ NS_ASSUME_NONNULL_BEGIN * include in the query. * @param parent Required. The resource name of the catalog under which the * events are created. The format is - * `projects/${projectId}/locations/global/collections/{$collectionId}/dataStores/${dataStoreId}` + * `projects/{project}/locations/global/collections/{collection}/dataStores/{dataStore}`. * * @return GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsDataStoresUserEventsPurge */ @@ -3187,9 +3187,9 @@ NS_ASSUME_NONNULL_BEGIN /** * Required. Full resource name of parent data store. Format: - * `projects/{project_number}/locations/{location_id}/collections/{collection_id}/dataStores/{data_store_id}` + * `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}` * or - * `projects/{project_number}/locations/{location_id}/collections/{collection_id}/engines/{engine_id}`. + * `projects/{project}/locations/{location}/collections/{collection_id}/engines/{engine_id}`. */ @property(nonatomic, copy, nullable) NSString *parent; @@ -3203,9 +3203,9 @@ NS_ASSUME_NONNULL_BEGIN * @param object The @c GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Control * to include in the query. * @param parent Required. Full resource name of parent data store. Format: - * `projects/{project_number}/locations/{location_id}/collections/{collection_id}/dataStores/{data_store_id}` + * `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}` * or - * `projects/{project_number}/locations/{location_id}/collections/{collection_id}/engines/{engine_id}`. + * `projects/{project}/locations/{location}/collections/{collection_id}/engines/{engine_id}`. * * @return GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsEnginesControlsCreate */ @@ -3227,7 +3227,7 @@ NS_ASSUME_NONNULL_BEGIN /** * Required. The resource name of the Control to delete. Format: - * `projects/{project_number}/locations/{location_id}/collections/{collection_id}/dataStores/{data_store_id}/controls/{control_id}` + * `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}/controls/{control_id}` */ @property(nonatomic, copy, nullable) NSString *name; @@ -3238,7 +3238,7 @@ NS_ASSUME_NONNULL_BEGIN * error is returned. * * @param name Required. The resource name of the Control to delete. Format: - * `projects/{project_number}/locations/{location_id}/collections/{collection_id}/dataStores/{data_store_id}/controls/{control_id}` + * `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}/controls/{control_id}` * * @return GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsEnginesControlsDelete */ @@ -3258,7 +3258,7 @@ NS_ASSUME_NONNULL_BEGIN /** * Required. The resource name of the Control to get. Format: - * `projects/{project_number}/locations/{location_id}/collections/{collection_id}/dataStores/{data_store_id}/controls/{control_id}` + * `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}/controls/{control_id}` */ @property(nonatomic, copy, nullable) NSString *name; @@ -3268,7 +3268,7 @@ NS_ASSUME_NONNULL_BEGIN * Gets a Control. * * @param name Required. The resource name of the Control to get. Format: - * `projects/{project_number}/locations/{location_id}/collections/{collection_id}/dataStores/{data_store_id}/controls/{control_id}` + * `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}/controls/{control_id}` * * @return GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsEnginesControlsGet */ @@ -3307,9 +3307,9 @@ NS_ASSUME_NONNULL_BEGIN /** * Required. The data store resource name. Format: - * `projects/{project_number}/locations/{location_id}/collections/{collection_id}/dataStores/{data_store_id}` + * `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}` * or - * `projects/{project_number}/locations/{location_id}/collections/{collection_id}/engines/{engine_id}`. + * `projects/{project}/locations/{location}/collections/{collection_id}/engines/{engine_id}`. */ @property(nonatomic, copy, nullable) NSString *parent; @@ -3320,9 +3320,9 @@ NS_ASSUME_NONNULL_BEGIN * Lists all Controls by their parent DataStore. * * @param parent Required. The data store resource name. Format: - * `projects/{project_number}/locations/{location_id}/collections/{collection_id}/dataStores/{data_store_id}` + * `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}` * or - * `projects/{project_number}/locations/{location_id}/collections/{collection_id}/engines/{engine_id}`. + * `projects/{project}/locations/{location}/collections/{collection_id}/engines/{engine_id}`. * * @return GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsEnginesControlsList * @@ -3390,9 +3390,9 @@ NS_ASSUME_NONNULL_BEGIN /** * Required. The resource name of the Conversation to get. Format: - * `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}/conversations/{conversation_id}`. + * `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}/conversations/{conversation_id}`. * Use - * `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}/conversations/-` + * `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}/conversations/-` * to activate auto session mode, which automatically creates a new * conversation inside a ConverseConversation session. */ @@ -3408,9 +3408,9 @@ NS_ASSUME_NONNULL_BEGIN * GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ConverseConversationRequest * to include in the query. * @param name Required. The resource name of the Conversation to get. Format: - * `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}/conversations/{conversation_id}`. + * `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}/conversations/{conversation_id}`. * Use - * `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}/conversations/-` + * `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}/conversations/-` * to activate auto session mode, which automatically creates a new * conversation inside a ConverseConversation session. * @@ -3434,7 +3434,7 @@ NS_ASSUME_NONNULL_BEGIN /** * Required. Full resource name of parent data store. Format: - * `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}` + * `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}` */ @property(nonatomic, copy, nullable) NSString *parent; @@ -3448,7 +3448,7 @@ NS_ASSUME_NONNULL_BEGIN * GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Conversation to include in * the query. * @param parent Required. Full resource name of parent data store. Format: - * `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}` + * `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}` * * @return GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsEnginesConversationsCreate */ @@ -3470,7 +3470,7 @@ NS_ASSUME_NONNULL_BEGIN /** * Required. The resource name of the Conversation to delete. Format: - * `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}/conversations/{conversation_id}` + * `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}/conversations/{conversation_id}` */ @property(nonatomic, copy, nullable) NSString *name; @@ -3482,7 +3482,7 @@ NS_ASSUME_NONNULL_BEGIN * * @param name Required. The resource name of the Conversation to delete. * Format: - * `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}/conversations/{conversation_id}` + * `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}/conversations/{conversation_id}` * * @return GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsEnginesConversationsDelete */ @@ -3502,7 +3502,7 @@ NS_ASSUME_NONNULL_BEGIN /** * Required. The resource name of the Conversation to get. Format: - * `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}/conversations/{conversation_id}` + * `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}/conversations/{conversation_id}` */ @property(nonatomic, copy, nullable) NSString *name; @@ -3512,7 +3512,7 @@ NS_ASSUME_NONNULL_BEGIN * Gets a Conversation. * * @param name Required. The resource name of the Conversation to get. Format: - * `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}/conversations/{conversation_id}` + * `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}/conversations/{conversation_id}` * * @return GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsEnginesConversationsGet */ @@ -3558,7 +3558,7 @@ NS_ASSUME_NONNULL_BEGIN /** * Required. The data store resource name. Format: - * `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}` + * `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}` */ @property(nonatomic, copy, nullable) NSString *parent; @@ -3569,7 +3569,7 @@ NS_ASSUME_NONNULL_BEGIN * Lists all Conversations by their parent DataStore. * * @param parent Required. The data store resource name. Format: - * `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}` + * `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}` * * @return GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsEnginesConversationsList * @@ -3870,7 +3870,7 @@ NS_ASSUME_NONNULL_BEGIN /** * Immutable. The fully qualified resource name of the engine. This field must * be a UTF-8 encoded string with a length limit of 1024 characters. Format: - * `projects/{project_number}/locations/{location}/collections/{collection}/engines/{engine}` + * `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}` * engine should be 1-63 characters, and valid characters are /a-z0-9* /. * Otherwise, an INVALID_ARGUMENT error is returned. */ @@ -3894,7 +3894,7 @@ NS_ASSUME_NONNULL_BEGIN * @param name Immutable. The fully qualified resource name of the engine. This * field must be a UTF-8 encoded string with a length limit of 1024 * characters. Format: - * `projects/{project_number}/locations/{location}/collections/{collection}/engines/{engine}` + * `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}` * engine should be 1-63 characters, and valid characters are /a-z0-9* /. * Otherwise, an INVALID_ARGUMENT error is returned. * @@ -4055,7 +4055,7 @@ NS_ASSUME_NONNULL_BEGIN /** * Required. The resource name of the Answer to get. Format: - * `projects/{project_number}/locations/{location_id}/collections/{collection}/engines/{engine_id}/sessions/{session_id}/answers/{answer_id}` + * `projects/{project}/locations/{location}/collections/{collection}/engines/{engine_id}/sessions/{session_id}/answers/{answer_id}` */ @property(nonatomic, copy, nullable) NSString *name; @@ -4065,7 +4065,7 @@ NS_ASSUME_NONNULL_BEGIN * Gets a Answer. * * @param name Required. The resource name of the Answer to get. Format: - * `projects/{project_number}/locations/{location_id}/collections/{collection}/engines/{engine_id}/sessions/{session_id}/answers/{answer_id}` + * `projects/{project}/locations/{location}/collections/{collection}/engines/{engine_id}/sessions/{session_id}/answers/{answer_id}` * * @return GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsEnginesSessionsAnswersGet */ @@ -4086,7 +4086,7 @@ NS_ASSUME_NONNULL_BEGIN /** * Required. Full resource name of parent data store. Format: - * `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}` + * `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}` */ @property(nonatomic, copy, nullable) NSString *parent; @@ -4099,7 +4099,7 @@ NS_ASSUME_NONNULL_BEGIN * @param object The @c GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Session * to include in the query. * @param parent Required. Full resource name of parent data store. Format: - * `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}` + * `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}` * * @return GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsEnginesSessionsCreate */ @@ -4121,7 +4121,7 @@ NS_ASSUME_NONNULL_BEGIN /** * Required. The resource name of the Session to delete. Format: - * `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}/sessions/{session_id}` + * `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}/sessions/{session_id}` */ @property(nonatomic, copy, nullable) NSString *name; @@ -4132,7 +4132,7 @@ NS_ASSUME_NONNULL_BEGIN * error is returned. * * @param name Required. The resource name of the Session to delete. Format: - * `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}/sessions/{session_id}` + * `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}/sessions/{session_id}` * * @return GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsEnginesSessionsDelete */ @@ -4152,7 +4152,7 @@ NS_ASSUME_NONNULL_BEGIN /** * Required. The resource name of the Session to get. Format: - * `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}/sessions/{session_id}` + * `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}/sessions/{session_id}` */ @property(nonatomic, copy, nullable) NSString *name; @@ -4162,7 +4162,7 @@ NS_ASSUME_NONNULL_BEGIN * Gets a Session. * * @param name Required. The resource name of the Session to get. Format: - * `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}/sessions/{session_id}` + * `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}/sessions/{session_id}` * * @return GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsEnginesSessionsGet */ @@ -4207,7 +4207,7 @@ NS_ASSUME_NONNULL_BEGIN /** * Required. The data store resource name. Format: - * `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}` + * `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}` */ @property(nonatomic, copy, nullable) NSString *parent; @@ -4218,7 +4218,7 @@ NS_ASSUME_NONNULL_BEGIN * Lists all Sessions by their parent DataStore. * * @param parent Required. The data store resource name. Format: - * `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}` + * `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}` * * @return GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsEnginesSessionsList * @@ -4986,9 +4986,9 @@ NS_ASSUME_NONNULL_BEGIN /** * Required. Full resource name of parent data store. Format: - * `projects/{project_number}/locations/{location_id}/collections/{collection_id}/dataStores/{data_store_id}` + * `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}` * or - * `projects/{project_number}/locations/{location_id}/collections/{collection_id}/engines/{engine_id}`. + * `projects/{project}/locations/{location}/collections/{collection_id}/engines/{engine_id}`. */ @property(nonatomic, copy, nullable) NSString *parent; @@ -5002,9 +5002,9 @@ NS_ASSUME_NONNULL_BEGIN * @param object The @c GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Control * to include in the query. * @param parent Required. Full resource name of parent data store. Format: - * `projects/{project_number}/locations/{location_id}/collections/{collection_id}/dataStores/{data_store_id}` + * `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}` * or - * `projects/{project_number}/locations/{location_id}/collections/{collection_id}/engines/{engine_id}`. + * `projects/{project}/locations/{location}/collections/{collection_id}/engines/{engine_id}`. * * @return GTLRDiscoveryEngineQuery_ProjectsLocationsDataStoresControlsCreate */ @@ -5026,7 +5026,7 @@ NS_ASSUME_NONNULL_BEGIN /** * Required. The resource name of the Control to delete. Format: - * `projects/{project_number}/locations/{location_id}/collections/{collection_id}/dataStores/{data_store_id}/controls/{control_id}` + * `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}/controls/{control_id}` */ @property(nonatomic, copy, nullable) NSString *name; @@ -5037,7 +5037,7 @@ NS_ASSUME_NONNULL_BEGIN * error is returned. * * @param name Required. The resource name of the Control to delete. Format: - * `projects/{project_number}/locations/{location_id}/collections/{collection_id}/dataStores/{data_store_id}/controls/{control_id}` + * `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}/controls/{control_id}` * * @return GTLRDiscoveryEngineQuery_ProjectsLocationsDataStoresControlsDelete */ @@ -5057,7 +5057,7 @@ NS_ASSUME_NONNULL_BEGIN /** * Required. The resource name of the Control to get. Format: - * `projects/{project_number}/locations/{location_id}/collections/{collection_id}/dataStores/{data_store_id}/controls/{control_id}` + * `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}/controls/{control_id}` */ @property(nonatomic, copy, nullable) NSString *name; @@ -5067,7 +5067,7 @@ NS_ASSUME_NONNULL_BEGIN * Gets a Control. * * @param name Required. The resource name of the Control to get. Format: - * `projects/{project_number}/locations/{location_id}/collections/{collection_id}/dataStores/{data_store_id}/controls/{control_id}` + * `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}/controls/{control_id}` * * @return GTLRDiscoveryEngineQuery_ProjectsLocationsDataStoresControlsGet */ @@ -5106,9 +5106,9 @@ NS_ASSUME_NONNULL_BEGIN /** * Required. The data store resource name. Format: - * `projects/{project_number}/locations/{location_id}/collections/{collection_id}/dataStores/{data_store_id}` + * `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}` * or - * `projects/{project_number}/locations/{location_id}/collections/{collection_id}/engines/{engine_id}`. + * `projects/{project}/locations/{location}/collections/{collection_id}/engines/{engine_id}`. */ @property(nonatomic, copy, nullable) NSString *parent; @@ -5119,9 +5119,9 @@ NS_ASSUME_NONNULL_BEGIN * Lists all Controls by their parent DataStore. * * @param parent Required. The data store resource name. Format: - * `projects/{project_number}/locations/{location_id}/collections/{collection_id}/dataStores/{data_store_id}` + * `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}` * or - * `projects/{project_number}/locations/{location_id}/collections/{collection_id}/engines/{engine_id}`. + * `projects/{project}/locations/{location}/collections/{collection_id}/engines/{engine_id}`. * * @return GTLRDiscoveryEngineQuery_ProjectsLocationsDataStoresControlsList * @@ -5189,9 +5189,9 @@ NS_ASSUME_NONNULL_BEGIN /** * Required. The resource name of the Conversation to get. Format: - * `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}/conversations/{conversation_id}`. + * `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}/conversations/{conversation_id}`. * Use - * `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}/conversations/-` + * `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}/conversations/-` * to activate auto session mode, which automatically creates a new * conversation inside a ConverseConversation session. */ @@ -5207,9 +5207,9 @@ NS_ASSUME_NONNULL_BEGIN * GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ConverseConversationRequest * to include in the query. * @param name Required. The resource name of the Conversation to get. Format: - * `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}/conversations/{conversation_id}`. + * `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}/conversations/{conversation_id}`. * Use - * `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}/conversations/-` + * `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}/conversations/-` * to activate auto session mode, which automatically creates a new * conversation inside a ConverseConversation session. * @@ -5233,7 +5233,7 @@ NS_ASSUME_NONNULL_BEGIN /** * Required. Full resource name of parent data store. Format: - * `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}` + * `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}` */ @property(nonatomic, copy, nullable) NSString *parent; @@ -5247,7 +5247,7 @@ NS_ASSUME_NONNULL_BEGIN * GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Conversation to include in * the query. * @param parent Required. Full resource name of parent data store. Format: - * `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}` + * `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}` * * @return GTLRDiscoveryEngineQuery_ProjectsLocationsDataStoresConversationsCreate */ @@ -5269,7 +5269,7 @@ NS_ASSUME_NONNULL_BEGIN /** * Required. The resource name of the Conversation to delete. Format: - * `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}/conversations/{conversation_id}` + * `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}/conversations/{conversation_id}` */ @property(nonatomic, copy, nullable) NSString *name; @@ -5281,7 +5281,7 @@ NS_ASSUME_NONNULL_BEGIN * * @param name Required. The resource name of the Conversation to delete. * Format: - * `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}/conversations/{conversation_id}` + * `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}/conversations/{conversation_id}` * * @return GTLRDiscoveryEngineQuery_ProjectsLocationsDataStoresConversationsDelete */ @@ -5301,7 +5301,7 @@ NS_ASSUME_NONNULL_BEGIN /** * Required. The resource name of the Conversation to get. Format: - * `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}/conversations/{conversation_id}` + * `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}/conversations/{conversation_id}` */ @property(nonatomic, copy, nullable) NSString *name; @@ -5311,7 +5311,7 @@ NS_ASSUME_NONNULL_BEGIN * Gets a Conversation. * * @param name Required. The resource name of the Conversation to get. Format: - * `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}/conversations/{conversation_id}` + * `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}/conversations/{conversation_id}` * * @return GTLRDiscoveryEngineQuery_ProjectsLocationsDataStoresConversationsGet */ @@ -5357,7 +5357,7 @@ NS_ASSUME_NONNULL_BEGIN /** * Required. The data store resource name. Format: - * `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}` + * `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}` */ @property(nonatomic, copy, nullable) NSString *parent; @@ -5368,7 +5368,7 @@ NS_ASSUME_NONNULL_BEGIN * Lists all Conversations by their parent DataStore. * * @param parent Required. The data store resource name. Format: - * `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}` + * `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}` * * @return GTLRDiscoveryEngineQuery_ProjectsLocationsDataStoresConversationsList * @@ -6202,7 +6202,7 @@ NS_ASSUME_NONNULL_BEGIN /** * Required. The resource name of the Answer to get. Format: - * `projects/{project_number}/locations/{location_id}/collections/{collection}/engines/{engine_id}/sessions/{session_id}/answers/{answer_id}` + * `projects/{project}/locations/{location}/collections/{collection}/engines/{engine_id}/sessions/{session_id}/answers/{answer_id}` */ @property(nonatomic, copy, nullable) NSString *name; @@ -6212,7 +6212,7 @@ NS_ASSUME_NONNULL_BEGIN * Gets a Answer. * * @param name Required. The resource name of the Answer to get. Format: - * `projects/{project_number}/locations/{location_id}/collections/{collection}/engines/{engine_id}/sessions/{session_id}/answers/{answer_id}` + * `projects/{project}/locations/{location}/collections/{collection}/engines/{engine_id}/sessions/{session_id}/answers/{answer_id}` * * @return GTLRDiscoveryEngineQuery_ProjectsLocationsDataStoresSessionsAnswersGet */ @@ -6233,7 +6233,7 @@ NS_ASSUME_NONNULL_BEGIN /** * Required. Full resource name of parent data store. Format: - * `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}` + * `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}` */ @property(nonatomic, copy, nullable) NSString *parent; @@ -6246,7 +6246,7 @@ NS_ASSUME_NONNULL_BEGIN * @param object The @c GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Session * to include in the query. * @param parent Required. Full resource name of parent data store. Format: - * `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}` + * `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}` * * @return GTLRDiscoveryEngineQuery_ProjectsLocationsDataStoresSessionsCreate */ @@ -6268,7 +6268,7 @@ NS_ASSUME_NONNULL_BEGIN /** * Required. The resource name of the Session to delete. Format: - * `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}/sessions/{session_id}` + * `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}/sessions/{session_id}` */ @property(nonatomic, copy, nullable) NSString *name; @@ -6279,7 +6279,7 @@ NS_ASSUME_NONNULL_BEGIN * error is returned. * * @param name Required. The resource name of the Session to delete. Format: - * `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}/sessions/{session_id}` + * `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}/sessions/{session_id}` * * @return GTLRDiscoveryEngineQuery_ProjectsLocationsDataStoresSessionsDelete */ @@ -6299,7 +6299,7 @@ NS_ASSUME_NONNULL_BEGIN /** * Required. The resource name of the Session to get. Format: - * `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}/sessions/{session_id}` + * `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}/sessions/{session_id}` */ @property(nonatomic, copy, nullable) NSString *name; @@ -6309,7 +6309,7 @@ NS_ASSUME_NONNULL_BEGIN * Gets a Session. * * @param name Required. The resource name of the Session to get. Format: - * `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}/sessions/{session_id}` + * `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}/sessions/{session_id}` * * @return GTLRDiscoveryEngineQuery_ProjectsLocationsDataStoresSessionsGet */ @@ -6354,7 +6354,7 @@ NS_ASSUME_NONNULL_BEGIN /** * Required. The data store resource name. Format: - * `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}` + * `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}` */ @property(nonatomic, copy, nullable) NSString *parent; @@ -6365,7 +6365,7 @@ NS_ASSUME_NONNULL_BEGIN * Lists all Sessions by their parent DataStore. * * @param parent Required. The data store resource name. Format: - * `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}` + * `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}` * * @return GTLRDiscoveryEngineQuery_ProjectsLocationsDataStoresSessionsList * @@ -6955,7 +6955,7 @@ NS_ASSUME_NONNULL_BEGIN /** * Required. The resource name of the catalog under which the events are * created. The format is - * `projects/${projectId}/locations/global/collections/{$collectionId}/dataStores/${dataStoreId}` + * `projects/{project}/locations/global/collections/{collection}/dataStores/{dataStore}`. */ @property(nonatomic, copy, nullable) NSString *parent; @@ -6972,7 +6972,7 @@ NS_ASSUME_NONNULL_BEGIN * include in the query. * @param parent Required. The resource name of the catalog under which the * events are created. The format is - * `projects/${projectId}/locations/global/collections/{$collectionId}/dataStores/${dataStoreId}` + * `projects/{project}/locations/global/collections/{collection}/dataStores/{dataStore}`. * * @return GTLRDiscoveryEngineQuery_ProjectsLocationsDataStoresUserEventsPurge */ @@ -7219,7 +7219,7 @@ NS_ASSUME_NONNULL_BEGIN /** * Required. The resource name of the rank service config, such as - * `projects/{project_num}/locations/{location_id}/rankingConfigs/default_ranking_config`. + * `projects/{project_num}/locations/{location}/rankingConfigs/default_ranking_config`. */ @property(nonatomic, copy, nullable) NSString *rankingConfig; @@ -7233,7 +7233,7 @@ NS_ASSUME_NONNULL_BEGIN * the query. * @param rankingConfig Required. The resource name of the rank service config, * such as - * `projects/{project_num}/locations/{location_id}/rankingConfigs/default_ranking_config`. + * `projects/{project_num}/locations/{location}/rankingConfigs/default_ranking_config`. * * @return GTLRDiscoveryEngineQuery_ProjectsLocationsRankingConfigsRank */ diff --git a/Sources/GeneratedServices/DiscoveryEngine/Public/GoogleAPIClientForREST/GTLRDiscoveryEngineService.h b/Sources/GeneratedServices/DiscoveryEngine/Public/GoogleAPIClientForREST/GTLRDiscoveryEngineService.h index e804f1683..0ebaa34ec 100644 --- a/Sources/GeneratedServices/DiscoveryEngine/Public/GoogleAPIClientForREST/GTLRDiscoveryEngineService.h +++ b/Sources/GeneratedServices/DiscoveryEngine/Public/GoogleAPIClientForREST/GTLRDiscoveryEngineService.h @@ -6,7 +6,7 @@ // Description: // Discovery Engine API. // Documentation: -// https://cloud.google.com/discovery-engine/docs +// https://cloud.google.com/generative-ai-app-builder/docs/ #import diff --git a/Sources/GeneratedServices/DisplayVideo/GTLRDisplayVideoObjects.m b/Sources/GeneratedServices/DisplayVideo/GTLRDisplayVideoObjects.m index 3fff10329..6b6606f03 100644 --- a/Sources/GeneratedServices/DisplayVideo/GTLRDisplayVideoObjects.m +++ b/Sources/GeneratedServices/DisplayVideo/GTLRDisplayVideoObjects.m @@ -837,6 +837,7 @@ // GTLRDisplayVideo_DeviceTypeAssignedTargetingOptionDetails.deviceType NSString * const kGTLRDisplayVideo_DeviceTypeAssignedTargetingOptionDetails_DeviceType_DeviceTypeComputer = @"DEVICE_TYPE_COMPUTER"; +NSString * const kGTLRDisplayVideo_DeviceTypeAssignedTargetingOptionDetails_DeviceType_DeviceTypeConnectedDevice = @"DEVICE_TYPE_CONNECTED_DEVICE"; NSString * const kGTLRDisplayVideo_DeviceTypeAssignedTargetingOptionDetails_DeviceType_DeviceTypeConnectedTv = @"DEVICE_TYPE_CONNECTED_TV"; NSString * const kGTLRDisplayVideo_DeviceTypeAssignedTargetingOptionDetails_DeviceType_DeviceTypeSmartPhone = @"DEVICE_TYPE_SMART_PHONE"; NSString * const kGTLRDisplayVideo_DeviceTypeAssignedTargetingOptionDetails_DeviceType_DeviceTypeTablet = @"DEVICE_TYPE_TABLET"; @@ -844,6 +845,7 @@ // GTLRDisplayVideo_DeviceTypeTargetingOptionDetails.deviceType NSString * const kGTLRDisplayVideo_DeviceTypeTargetingOptionDetails_DeviceType_DeviceTypeComputer = @"DEVICE_TYPE_COMPUTER"; +NSString * const kGTLRDisplayVideo_DeviceTypeTargetingOptionDetails_DeviceType_DeviceTypeConnectedDevice = @"DEVICE_TYPE_CONNECTED_DEVICE"; NSString * const kGTLRDisplayVideo_DeviceTypeTargetingOptionDetails_DeviceType_DeviceTypeConnectedTv = @"DEVICE_TYPE_CONNECTED_TV"; NSString * const kGTLRDisplayVideo_DeviceTypeTargetingOptionDetails_DeviceType_DeviceTypeSmartPhone = @"DEVICE_TYPE_SMART_PHONE"; NSString * const kGTLRDisplayVideo_DeviceTypeTargetingOptionDetails_DeviceType_DeviceTypeTablet = @"DEVICE_TYPE_TABLET"; @@ -2162,6 +2164,7 @@ NSString * const kGTLRDisplayVideo_PerformanceGoal_PerformanceGoalType_PerformanceGoalTypeCpe = @"PERFORMANCE_GOAL_TYPE_CPE"; NSString * const kGTLRDisplayVideo_PerformanceGoal_PerformanceGoalType_PerformanceGoalTypeCpiavc = @"PERFORMANCE_GOAL_TYPE_CPIAVC"; NSString * const kGTLRDisplayVideo_PerformanceGoal_PerformanceGoalType_PerformanceGoalTypeCpm = @"PERFORMANCE_GOAL_TYPE_CPM"; +NSString * const kGTLRDisplayVideo_PerformanceGoal_PerformanceGoalType_PerformanceGoalTypeCpv = @"PERFORMANCE_GOAL_TYPE_CPV"; NSString * const kGTLRDisplayVideo_PerformanceGoal_PerformanceGoalType_PerformanceGoalTypeCtr = @"PERFORMANCE_GOAL_TYPE_CTR"; NSString * const kGTLRDisplayVideo_PerformanceGoal_PerformanceGoalType_PerformanceGoalTypeImpressionCvr = @"PERFORMANCE_GOAL_TYPE_IMPRESSION_CVR"; NSString * const kGTLRDisplayVideo_PerformanceGoal_PerformanceGoalType_PerformanceGoalTypeOther = @"PERFORMANCE_GOAL_TYPE_OTHER"; diff --git a/Sources/GeneratedServices/DisplayVideo/Public/GoogleAPIClientForREST/GTLRDisplayVideoObjects.h b/Sources/GeneratedServices/DisplayVideo/Public/GoogleAPIClientForREST/GTLRDisplayVideoObjects.h index 52c46bf63..a21f7ad58 100644 --- a/Sources/GeneratedServices/DisplayVideo/Public/GoogleAPIClientForREST/GTLRDisplayVideoObjects.h +++ b/Sources/GeneratedServices/DisplayVideo/Public/GoogleAPIClientForREST/GTLRDisplayVideoObjects.h @@ -3761,7 +3761,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_CreateSdfDownloadTaskReques * * Value: "SDF_VERSION_5_5" */ -FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_CreateSdfDownloadTaskRequest_Version_SdfVersion55; +FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_CreateSdfDownloadTaskRequest_Version_SdfVersion55 GTLR_DEPRECATED; /** * SDF version 6 * @@ -4954,6 +4954,12 @@ FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_DeleteAssignedTargetingOpti * Value: "DEVICE_TYPE_COMPUTER" */ FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_DeviceTypeAssignedTargetingOptionDetails_DeviceType_DeviceTypeComputer; +/** + * Connected device. + * + * Value: "DEVICE_TYPE_CONNECTED_DEVICE" + */ +FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_DeviceTypeAssignedTargetingOptionDetails_DeviceType_DeviceTypeConnectedDevice; /** * Connected TV. * @@ -4990,6 +4996,12 @@ FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_DeviceTypeAssignedTargeting * Value: "DEVICE_TYPE_COMPUTER" */ FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_DeviceTypeTargetingOptionDetails_DeviceType_DeviceTypeComputer; +/** + * Connected device. + * + * Value: "DEVICE_TYPE_CONNECTED_DEVICE" + */ +FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_DeviceTypeTargetingOptionDetails_DeviceType_DeviceTypeConnectedDevice; /** * Connected TV. * @@ -12321,6 +12333,12 @@ FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_PerformanceGoal_Performance * Value: "PERFORMANCE_GOAL_TYPE_CPM" */ FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_PerformanceGoal_PerformanceGoalType_PerformanceGoalTypeCpm; +/** + * The performance goal is set in CPV (cost per view). + * + * Value: "PERFORMANCE_GOAL_TYPE_CPV" + */ +FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_PerformanceGoal_PerformanceGoalType_PerformanceGoalTypeCpv; /** * The performance goal is set in CTR (click-through rate) percentage. * @@ -12790,7 +12808,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_SdfConfig_Version_SdfVersio * * Value: "SDF_VERSION_5_5" */ -FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_SdfConfig_Version_SdfVersion55; +FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_SdfConfig_Version_SdfVersion55 GTLR_DEPRECATED; /** * SDF version 6 * @@ -12882,7 +12900,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_SdfDownloadTaskMetadata_Ver * * Value: "SDF_VERSION_5_5" */ -FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_SdfDownloadTaskMetadata_Version_SdfVersion55; +FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_SdfDownloadTaskMetadata_Version_SdfVersion55 GTLR_DEPRECATED; /** * SDF version 6 * @@ -12953,7 +12971,9 @@ FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_SensitiveCategoryAssignedTa FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_SensitiveCategoryAssignedTargetingOptionDetails_ExcludedSensitiveCategory_SensitiveCategoryDrugs; /** * YouTube videos embedded on websites outside of YouTube.com. Only applicable - * to YouTube and Partners line items. + * to YouTube and Partners line items. *Warning*: On **September 30, 2024**, + * this value will be sunset. [Read more about this announced + * change](/display-video/api/deprecations#features.yt_li_categories). * * Value: "SENSITIVE_CATEGORY_EMBEDDED_VIDEO" */ @@ -12967,7 +12987,9 @@ FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_SensitiveCategoryAssignedTa FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_SensitiveCategoryAssignedTargetingOptionDetails_ExcludedSensitiveCategory_SensitiveCategoryGambling; /** * Video of live events streamed over the internet. Only applicable to YouTube - * and Partners line items. + * and Partners line items. *Warning*: On **September 30, 2024**, this value + * will be sunset. [Read more about this announced + * change](/display-video/api/deprecations#features.yt_li_categories). * * Value: "SENSITIVE_CATEGORY_LIVE_STREAMING_VIDEO" */ @@ -13101,7 +13123,9 @@ FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_SensitiveCategoryTargetingO FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_SensitiveCategoryTargetingOptionDetails_SensitiveCategory_SensitiveCategoryDrugs; /** * YouTube videos embedded on websites outside of YouTube.com. Only applicable - * to YouTube and Partners line items. + * to YouTube and Partners line items. *Warning*: On **September 30, 2024**, + * this value will be sunset. [Read more about this announced + * change](/display-video/api/deprecations#features.yt_li_categories). * * Value: "SENSITIVE_CATEGORY_EMBEDDED_VIDEO" */ @@ -13115,7 +13139,9 @@ FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_SensitiveCategoryTargetingO FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_SensitiveCategoryTargetingOptionDetails_SensitiveCategory_SensitiveCategoryGambling; /** * Video of live events streamed over the internet. Only applicable to YouTube - * and Partners line items. + * and Partners line items. *Warning*: On **September 30, 2024**, this value + * will be sunset. [Read more about this announced + * change](/display-video/api/deprecations#features.yt_li_categories). * * Value: "SENSITIVE_CATEGORY_LIVE_STREAMING_VIDEO" */ @@ -20743,6 +20769,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_YoutubeVideoDetails_Unavail * Likely values: * @arg @c kGTLRDisplayVideo_DeviceTypeAssignedTargetingOptionDetails_DeviceType_DeviceTypeComputer * Computer. (Value: "DEVICE_TYPE_COMPUTER") + * @arg @c kGTLRDisplayVideo_DeviceTypeAssignedTargetingOptionDetails_DeviceType_DeviceTypeConnectedDevice + * Connected device. (Value: "DEVICE_TYPE_CONNECTED_DEVICE") * @arg @c kGTLRDisplayVideo_DeviceTypeAssignedTargetingOptionDetails_DeviceType_DeviceTypeConnectedTv * Connected TV. (Value: "DEVICE_TYPE_CONNECTED_TV") * @arg @c kGTLRDisplayVideo_DeviceTypeAssignedTargetingOptionDetails_DeviceType_DeviceTypeSmartPhone @@ -20785,6 +20813,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_YoutubeVideoDetails_Unavail * Likely values: * @arg @c kGTLRDisplayVideo_DeviceTypeTargetingOptionDetails_DeviceType_DeviceTypeComputer * Computer. (Value: "DEVICE_TYPE_COMPUTER") + * @arg @c kGTLRDisplayVideo_DeviceTypeTargetingOptionDetails_DeviceType_DeviceTypeConnectedDevice + * Connected device. (Value: "DEVICE_TYPE_CONNECTED_DEVICE") * @arg @c kGTLRDisplayVideo_DeviceTypeTargetingOptionDetails_DeviceType_DeviceTypeConnectedTv * Connected TV. (Value: "DEVICE_TYPE_CONNECTED_TV") * @arg @c kGTLRDisplayVideo_DeviceTypeTargetingOptionDetails_DeviceType_DeviceTypeSmartPhone @@ -24027,7 +24057,13 @@ FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_YoutubeVideoDetails_Unavail */ @property(nonatomic, copy, nullable) NSString *optimizationObjective; -/** Required. The budget spending speed setting of the insertion order. */ +/** + * Required. The budget spending speed setting of the insertion order. + * *Warning*: Starting on **November 5, 2024**, pacing_type `PACING_TYPE_ASAP` + * will no longer be compatible with pacing_period `PACING_PERIOD_FLIGHT`. + * [Read more about this announced + * change](/display-video/api/deprecations#features.io_asap). + */ @property(nonatomic, strong, nullable) GTLRDisplayVideo_Pacing *pacing; /** @@ -27639,7 +27675,10 @@ FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_YoutubeVideoDetails_Unavail /** * Required. The type of pacing that defines how the budget amount will be - * spent across the pacing_period. + * spent across the pacing_period. *Warning*: Starting on **November 5, 2024**, + * `PACING_TYPE_ASAP` will no longer be compatible with pacing_period + * `PACING_PERIOD_FLIGHT` for insertion orders. [Read more about this announced + * change](/display-video/api/deprecations#features.io_asap). * * Likely values: * @arg @c kGTLRDisplayVideo_Pacing_PacingType_PacingTypeAhead Only @@ -28190,6 +28229,9 @@ FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_YoutubeVideoDetails_Unavail * @arg @c kGTLRDisplayVideo_PerformanceGoal_PerformanceGoalType_PerformanceGoalTypeCpm * The performance goal is set in CPM (cost per mille). (Value: * "PERFORMANCE_GOAL_TYPE_CPM") + * @arg @c kGTLRDisplayVideo_PerformanceGoal_PerformanceGoalType_PerformanceGoalTypeCpv + * The performance goal is set in CPV (cost per view). (Value: + * "PERFORMANCE_GOAL_TYPE_CPV") * @arg @c kGTLRDisplayVideo_PerformanceGoal_PerformanceGoalType_PerformanceGoalTypeCtr * The performance goal is set in CTR (click-through rate) percentage. * (Value: "PERFORMANCE_GOAL_TYPE_CTR") @@ -29120,15 +29162,20 @@ FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_YoutubeVideoDetails_Unavail * "SENSITIVE_CATEGORY_DRUGS") * @arg @c kGTLRDisplayVideo_SensitiveCategoryAssignedTargetingOptionDetails_ExcludedSensitiveCategory_SensitiveCategoryEmbeddedVideo * YouTube videos embedded on websites outside of YouTube.com. Only - * applicable to YouTube and Partners line items. (Value: - * "SENSITIVE_CATEGORY_EMBEDDED_VIDEO") + * applicable to YouTube and Partners line items. *Warning*: On + * **September 30, 2024**, this value will be sunset. [Read more about + * this announced + * change](/display-video/api/deprecations#features.yt_li_categories). + * (Value: "SENSITIVE_CATEGORY_EMBEDDED_VIDEO") * @arg @c kGTLRDisplayVideo_SensitiveCategoryAssignedTargetingOptionDetails_ExcludedSensitiveCategory_SensitiveCategoryGambling * Contains content related to betting or wagering in a real-world or * online setting. (Value: "SENSITIVE_CATEGORY_GAMBLING") * @arg @c kGTLRDisplayVideo_SensitiveCategoryAssignedTargetingOptionDetails_ExcludedSensitiveCategory_SensitiveCategoryLiveStreamingVideo * Video of live events streamed over the internet. Only applicable to - * YouTube and Partners line items. (Value: - * "SENSITIVE_CATEGORY_LIVE_STREAMING_VIDEO") + * YouTube and Partners line items. *Warning*: On **September 30, 2024**, + * this value will be sunset. [Read more about this announced + * change](/display-video/api/deprecations#features.yt_li_categories). + * (Value: "SENSITIVE_CATEGORY_LIVE_STREAMING_VIDEO") * @arg @c kGTLRDisplayVideo_SensitiveCategoryAssignedTargetingOptionDetails_ExcludedSensitiveCategory_SensitiveCategoryPolitics * Political news and media, including discussions of social, * governmental, and public policy. (Value: @@ -29216,15 +29263,20 @@ FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_YoutubeVideoDetails_Unavail * "SENSITIVE_CATEGORY_DRUGS") * @arg @c kGTLRDisplayVideo_SensitiveCategoryTargetingOptionDetails_SensitiveCategory_SensitiveCategoryEmbeddedVideo * YouTube videos embedded on websites outside of YouTube.com. Only - * applicable to YouTube and Partners line items. (Value: - * "SENSITIVE_CATEGORY_EMBEDDED_VIDEO") + * applicable to YouTube and Partners line items. *Warning*: On + * **September 30, 2024**, this value will be sunset. [Read more about + * this announced + * change](/display-video/api/deprecations#features.yt_li_categories). + * (Value: "SENSITIVE_CATEGORY_EMBEDDED_VIDEO") * @arg @c kGTLRDisplayVideo_SensitiveCategoryTargetingOptionDetails_SensitiveCategory_SensitiveCategoryGambling * Contains content related to betting or wagering in a real-world or * online setting. (Value: "SENSITIVE_CATEGORY_GAMBLING") * @arg @c kGTLRDisplayVideo_SensitiveCategoryTargetingOptionDetails_SensitiveCategory_SensitiveCategoryLiveStreamingVideo * Video of live events streamed over the internet. Only applicable to - * YouTube and Partners line items. (Value: - * "SENSITIVE_CATEGORY_LIVE_STREAMING_VIDEO") + * YouTube and Partners line items. *Warning*: On **September 30, 2024**, + * this value will be sunset. [Read more about this announced + * change](/display-video/api/deprecations#features.yt_li_categories). + * (Value: "SENSITIVE_CATEGORY_LIVE_STREAMING_VIDEO") * @arg @c kGTLRDisplayVideo_SensitiveCategoryTargetingOptionDetails_SensitiveCategory_SensitiveCategoryPolitics * Political news and media, including discussions of social, * governmental, and public policy. (Value: @@ -29500,6 +29552,10 @@ FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_YoutubeVideoDetails_Unavail /** * Required. Whether to enable Optimized Targeting for the line item. + * *Warning*: Starting on **September 30, 2024**, optimized targeting will no + * longer be compatible with a subset of bid strategies. [Read more about this + * announced + * change](/display-video/api/deprecations#features.ot_bid_strategies). * * Uses NSNumber of boolValue. */ diff --git a/Sources/GeneratedServices/Document/GTLRDocumentObjects.m b/Sources/GeneratedServices/Document/GTLRDocumentObjects.m index e7941882e..470970419 100644 --- a/Sources/GeneratedServices/Document/GTLRDocumentObjects.m +++ b/Sources/GeneratedServices/Document/GTLRDocumentObjects.m @@ -66,90 +66,6 @@ NSString * const kGTLRDocument_GoogleCloudDocumentaiV1BatchProcessMetadata_State_Succeeded = @"SUCCEEDED"; NSString * const kGTLRDocument_GoogleCloudDocumentaiV1BatchProcessMetadata_State_Waiting = @"WAITING"; -// GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentPageAnchorPageRef.layoutType -NSString * const kGTLRDocument_GoogleCloudDocumentaiV1beta1DocumentPageAnchorPageRef_LayoutType_Block = @"BLOCK"; -NSString * const kGTLRDocument_GoogleCloudDocumentaiV1beta1DocumentPageAnchorPageRef_LayoutType_FormField = @"FORM_FIELD"; -NSString * const kGTLRDocument_GoogleCloudDocumentaiV1beta1DocumentPageAnchorPageRef_LayoutType_LayoutTypeUnspecified = @"LAYOUT_TYPE_UNSPECIFIED"; -NSString * const kGTLRDocument_GoogleCloudDocumentaiV1beta1DocumentPageAnchorPageRef_LayoutType_Line = @"LINE"; -NSString * const kGTLRDocument_GoogleCloudDocumentaiV1beta1DocumentPageAnchorPageRef_LayoutType_Paragraph = @"PARAGRAPH"; -NSString * const kGTLRDocument_GoogleCloudDocumentaiV1beta1DocumentPageAnchorPageRef_LayoutType_Table = @"TABLE"; -NSString * const kGTLRDocument_GoogleCloudDocumentaiV1beta1DocumentPageAnchorPageRef_LayoutType_Token = @"TOKEN"; -NSString * const kGTLRDocument_GoogleCloudDocumentaiV1beta1DocumentPageAnchorPageRef_LayoutType_VisualElement = @"VISUAL_ELEMENT"; - -// GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentPageLayout.orientation -NSString * const kGTLRDocument_GoogleCloudDocumentaiV1beta1DocumentPageLayout_Orientation_OrientationUnspecified = @"ORIENTATION_UNSPECIFIED"; -NSString * const kGTLRDocument_GoogleCloudDocumentaiV1beta1DocumentPageLayout_Orientation_PageDown = @"PAGE_DOWN"; -NSString * const kGTLRDocument_GoogleCloudDocumentaiV1beta1DocumentPageLayout_Orientation_PageLeft = @"PAGE_LEFT"; -NSString * const kGTLRDocument_GoogleCloudDocumentaiV1beta1DocumentPageLayout_Orientation_PageRight = @"PAGE_RIGHT"; -NSString * const kGTLRDocument_GoogleCloudDocumentaiV1beta1DocumentPageLayout_Orientation_PageUp = @"PAGE_UP"; - -// GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentPageTokenDetectedBreak.type -NSString * const kGTLRDocument_GoogleCloudDocumentaiV1beta1DocumentPageTokenDetectedBreak_Type_Hyphen = @"HYPHEN"; -NSString * const kGTLRDocument_GoogleCloudDocumentaiV1beta1DocumentPageTokenDetectedBreak_Type_Space = @"SPACE"; -NSString * const kGTLRDocument_GoogleCloudDocumentaiV1beta1DocumentPageTokenDetectedBreak_Type_TypeUnspecified = @"TYPE_UNSPECIFIED"; -NSString * const kGTLRDocument_GoogleCloudDocumentaiV1beta1DocumentPageTokenDetectedBreak_Type_WideSpace = @"WIDE_SPACE"; - -// GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentProvenance.type -NSString * const kGTLRDocument_GoogleCloudDocumentaiV1beta1DocumentProvenance_Type_Add = @"ADD"; -NSString * const kGTLRDocument_GoogleCloudDocumentaiV1beta1DocumentProvenance_Type_EvalApproved = @"EVAL_APPROVED"; -NSString * const kGTLRDocument_GoogleCloudDocumentaiV1beta1DocumentProvenance_Type_EvalRequested = @"EVAL_REQUESTED"; -NSString * const kGTLRDocument_GoogleCloudDocumentaiV1beta1DocumentProvenance_Type_EvalSkipped = @"EVAL_SKIPPED"; -NSString * const kGTLRDocument_GoogleCloudDocumentaiV1beta1DocumentProvenance_Type_OperationTypeUnspecified = @"OPERATION_TYPE_UNSPECIFIED"; -NSString * const kGTLRDocument_GoogleCloudDocumentaiV1beta1DocumentProvenance_Type_Remove = @"REMOVE"; -NSString * const kGTLRDocument_GoogleCloudDocumentaiV1beta1DocumentProvenance_Type_Replace = @"REPLACE"; -NSString * const kGTLRDocument_GoogleCloudDocumentaiV1beta1DocumentProvenance_Type_Update = @"UPDATE"; - -// GTLRDocument_GoogleCloudDocumentaiV1beta1OperationMetadata.state -NSString * const kGTLRDocument_GoogleCloudDocumentaiV1beta1OperationMetadata_State_Accepted = @"ACCEPTED"; -NSString * const kGTLRDocument_GoogleCloudDocumentaiV1beta1OperationMetadata_State_Cancelled = @"CANCELLED"; -NSString * const kGTLRDocument_GoogleCloudDocumentaiV1beta1OperationMetadata_State_Failed = @"FAILED"; -NSString * const kGTLRDocument_GoogleCloudDocumentaiV1beta1OperationMetadata_State_Running = @"RUNNING"; -NSString * const kGTLRDocument_GoogleCloudDocumentaiV1beta1OperationMetadata_State_StateUnspecified = @"STATE_UNSPECIFIED"; -NSString * const kGTLRDocument_GoogleCloudDocumentaiV1beta1OperationMetadata_State_Succeeded = @"SUCCEEDED"; -NSString * const kGTLRDocument_GoogleCloudDocumentaiV1beta1OperationMetadata_State_Waiting = @"WAITING"; - -// GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentPageAnchorPageRef.layoutType -NSString * const kGTLRDocument_GoogleCloudDocumentaiV1beta2DocumentPageAnchorPageRef_LayoutType_Block = @"BLOCK"; -NSString * const kGTLRDocument_GoogleCloudDocumentaiV1beta2DocumentPageAnchorPageRef_LayoutType_FormField = @"FORM_FIELD"; -NSString * const kGTLRDocument_GoogleCloudDocumentaiV1beta2DocumentPageAnchorPageRef_LayoutType_LayoutTypeUnspecified = @"LAYOUT_TYPE_UNSPECIFIED"; -NSString * const kGTLRDocument_GoogleCloudDocumentaiV1beta2DocumentPageAnchorPageRef_LayoutType_Line = @"LINE"; -NSString * const kGTLRDocument_GoogleCloudDocumentaiV1beta2DocumentPageAnchorPageRef_LayoutType_Paragraph = @"PARAGRAPH"; -NSString * const kGTLRDocument_GoogleCloudDocumentaiV1beta2DocumentPageAnchorPageRef_LayoutType_Table = @"TABLE"; -NSString * const kGTLRDocument_GoogleCloudDocumentaiV1beta2DocumentPageAnchorPageRef_LayoutType_Token = @"TOKEN"; -NSString * const kGTLRDocument_GoogleCloudDocumentaiV1beta2DocumentPageAnchorPageRef_LayoutType_VisualElement = @"VISUAL_ELEMENT"; - -// GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentPageLayout.orientation -NSString * const kGTLRDocument_GoogleCloudDocumentaiV1beta2DocumentPageLayout_Orientation_OrientationUnspecified = @"ORIENTATION_UNSPECIFIED"; -NSString * const kGTLRDocument_GoogleCloudDocumentaiV1beta2DocumentPageLayout_Orientation_PageDown = @"PAGE_DOWN"; -NSString * const kGTLRDocument_GoogleCloudDocumentaiV1beta2DocumentPageLayout_Orientation_PageLeft = @"PAGE_LEFT"; -NSString * const kGTLRDocument_GoogleCloudDocumentaiV1beta2DocumentPageLayout_Orientation_PageRight = @"PAGE_RIGHT"; -NSString * const kGTLRDocument_GoogleCloudDocumentaiV1beta2DocumentPageLayout_Orientation_PageUp = @"PAGE_UP"; - -// GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentPageTokenDetectedBreak.type -NSString * const kGTLRDocument_GoogleCloudDocumentaiV1beta2DocumentPageTokenDetectedBreak_Type_Hyphen = @"HYPHEN"; -NSString * const kGTLRDocument_GoogleCloudDocumentaiV1beta2DocumentPageTokenDetectedBreak_Type_Space = @"SPACE"; -NSString * const kGTLRDocument_GoogleCloudDocumentaiV1beta2DocumentPageTokenDetectedBreak_Type_TypeUnspecified = @"TYPE_UNSPECIFIED"; -NSString * const kGTLRDocument_GoogleCloudDocumentaiV1beta2DocumentPageTokenDetectedBreak_Type_WideSpace = @"WIDE_SPACE"; - -// GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentProvenance.type -NSString * const kGTLRDocument_GoogleCloudDocumentaiV1beta2DocumentProvenance_Type_Add = @"ADD"; -NSString * const kGTLRDocument_GoogleCloudDocumentaiV1beta2DocumentProvenance_Type_EvalApproved = @"EVAL_APPROVED"; -NSString * const kGTLRDocument_GoogleCloudDocumentaiV1beta2DocumentProvenance_Type_EvalRequested = @"EVAL_REQUESTED"; -NSString * const kGTLRDocument_GoogleCloudDocumentaiV1beta2DocumentProvenance_Type_EvalSkipped = @"EVAL_SKIPPED"; -NSString * const kGTLRDocument_GoogleCloudDocumentaiV1beta2DocumentProvenance_Type_OperationTypeUnspecified = @"OPERATION_TYPE_UNSPECIFIED"; -NSString * const kGTLRDocument_GoogleCloudDocumentaiV1beta2DocumentProvenance_Type_Remove = @"REMOVE"; -NSString * const kGTLRDocument_GoogleCloudDocumentaiV1beta2DocumentProvenance_Type_Replace = @"REPLACE"; -NSString * const kGTLRDocument_GoogleCloudDocumentaiV1beta2DocumentProvenance_Type_Update = @"UPDATE"; - -// GTLRDocument_GoogleCloudDocumentaiV1beta2OperationMetadata.state -NSString * const kGTLRDocument_GoogleCloudDocumentaiV1beta2OperationMetadata_State_Accepted = @"ACCEPTED"; -NSString * const kGTLRDocument_GoogleCloudDocumentaiV1beta2OperationMetadata_State_Cancelled = @"CANCELLED"; -NSString * const kGTLRDocument_GoogleCloudDocumentaiV1beta2OperationMetadata_State_Failed = @"FAILED"; -NSString * const kGTLRDocument_GoogleCloudDocumentaiV1beta2OperationMetadata_State_Running = @"RUNNING"; -NSString * const kGTLRDocument_GoogleCloudDocumentaiV1beta2OperationMetadata_State_StateUnspecified = @"STATE_UNSPECIFIED"; -NSString * const kGTLRDocument_GoogleCloudDocumentaiV1beta2OperationMetadata_State_Succeeded = @"SUCCEEDED"; -NSString * const kGTLRDocument_GoogleCloudDocumentaiV1beta2OperationMetadata_State_Waiting = @"WAITING"; - // GTLRDocument_GoogleCloudDocumentaiV1beta3BatchProcessMetadata.state NSString * const kGTLRDocument_GoogleCloudDocumentaiV1beta3BatchProcessMetadata_State_Cancelled = @"CANCELLED"; NSString * const kGTLRDocument_GoogleCloudDocumentaiV1beta3BatchProcessMetadata_State_Cancelling = @"CANCELLING"; @@ -1043,1839 +959,6 @@ @implementation GTLRDocument_GoogleCloudDocumentaiV1BatchProcessResponse @end -// ---------------------------------------------------------------------------- -// -// GTLRDocument_GoogleCloudDocumentaiV1beta1Barcode -// - -@implementation GTLRDocument_GoogleCloudDocumentaiV1beta1Barcode -@dynamic format, rawValue, valueFormat; -@end - - -// ---------------------------------------------------------------------------- -// -// GTLRDocument_GoogleCloudDocumentaiV1beta1BatchProcessDocumentsResponse -// - -@implementation GTLRDocument_GoogleCloudDocumentaiV1beta1BatchProcessDocumentsResponse -@dynamic responses; - -+ (NSDictionary *)arrayPropertyToClassMap { - NSDictionary *map = @{ - @"responses" : [GTLRDocument_GoogleCloudDocumentaiV1beta1ProcessDocumentResponse class] - }; - return map; -} - -@end - - -// ---------------------------------------------------------------------------- -// -// GTLRDocument_GoogleCloudDocumentaiV1beta1BoundingPoly -// - -@implementation GTLRDocument_GoogleCloudDocumentaiV1beta1BoundingPoly -@dynamic normalizedVertices, vertices; - -+ (NSDictionary *)arrayPropertyToClassMap { - NSDictionary *map = @{ - @"normalizedVertices" : [GTLRDocument_GoogleCloudDocumentaiV1beta1NormalizedVertex class], - @"vertices" : [GTLRDocument_GoogleCloudDocumentaiV1beta1Vertex class] - }; - return map; -} - -@end - - -// ---------------------------------------------------------------------------- -// -// GTLRDocument_GoogleCloudDocumentaiV1beta1Document -// - -@implementation GTLRDocument_GoogleCloudDocumentaiV1beta1Document -@dynamic chunkedDocument, content, documentLayout, entities, entityRelations, - error, mimeType, pages, revisions, shardInfo, text, textChanges, - textStyles, uri; - -+ (NSDictionary *)arrayPropertyToClassMap { - NSDictionary *map = @{ - @"entities" : [GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentEntity class], - @"entityRelations" : [GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentEntityRelation class], - @"pages" : [GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentPage class], - @"revisions" : [GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentRevision class], - @"textChanges" : [GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentTextChange class], - @"textStyles" : [GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentStyle class] - }; - return map; -} - -@end - - -// ---------------------------------------------------------------------------- -// -// GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentChunkedDocument -// - -@implementation GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentChunkedDocument -@dynamic chunks; - -+ (NSDictionary *)arrayPropertyToClassMap { - NSDictionary *map = @{ - @"chunks" : [GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentChunkedDocumentChunk class] - }; - return map; -} - -@end - - -// ---------------------------------------------------------------------------- -// -// GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentChunkedDocumentChunk -// - -@implementation GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentChunkedDocumentChunk -@dynamic chunkId, content, pageFooters, pageHeaders, pageSpan, sourceBlockIds; - -+ (NSDictionary *)arrayPropertyToClassMap { - NSDictionary *map = @{ - @"pageFooters" : [GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentChunkedDocumentChunkChunkPageFooter class], - @"pageHeaders" : [GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentChunkedDocumentChunkChunkPageHeader class], - @"sourceBlockIds" : [NSString class] - }; - return map; -} - -@end - - -// ---------------------------------------------------------------------------- -// -// GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentChunkedDocumentChunkChunkPageFooter -// - -@implementation GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentChunkedDocumentChunkChunkPageFooter -@dynamic pageSpan, text; -@end - - -// ---------------------------------------------------------------------------- -// -// GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentChunkedDocumentChunkChunkPageHeader -// - -@implementation GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentChunkedDocumentChunkChunkPageHeader -@dynamic pageSpan, text; -@end - - -// ---------------------------------------------------------------------------- -// -// GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentChunkedDocumentChunkChunkPageSpan -// - -@implementation GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentChunkedDocumentChunkChunkPageSpan -@dynamic pageEnd, pageStart; -@end - - -// ---------------------------------------------------------------------------- -// -// GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentDocumentLayout -// - -@implementation GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentDocumentLayout -@dynamic blocks; - -+ (NSDictionary *)arrayPropertyToClassMap { - NSDictionary *map = @{ - @"blocks" : [GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentDocumentLayoutDocumentLayoutBlock class] - }; - return map; -} - -@end - - -// ---------------------------------------------------------------------------- -// -// GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentDocumentLayoutDocumentLayoutBlock -// - -@implementation GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentDocumentLayoutDocumentLayoutBlock -@dynamic blockId, listBlock, pageSpan, tableBlock, textBlock; -@end - - -// ---------------------------------------------------------------------------- -// -// GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentDocumentLayoutDocumentLayoutBlockLayoutListBlock -// - -@implementation GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentDocumentLayoutDocumentLayoutBlockLayoutListBlock -@dynamic listEntries, type; - -+ (NSDictionary *)arrayPropertyToClassMap { - NSDictionary *map = @{ - @"listEntries" : [GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentDocumentLayoutDocumentLayoutBlockLayoutListEntry class] - }; - return map; -} - -@end - - -// ---------------------------------------------------------------------------- -// -// GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentDocumentLayoutDocumentLayoutBlockLayoutListEntry -// - -@implementation GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentDocumentLayoutDocumentLayoutBlockLayoutListEntry -@dynamic blocks; - -+ (NSDictionary *)arrayPropertyToClassMap { - NSDictionary *map = @{ - @"blocks" : [GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentDocumentLayoutDocumentLayoutBlock class] - }; - return map; -} - -@end - - -// ---------------------------------------------------------------------------- -// -// GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentDocumentLayoutDocumentLayoutBlockLayoutPageSpan -// - -@implementation GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentDocumentLayoutDocumentLayoutBlockLayoutPageSpan -@dynamic pageEnd, pageStart; -@end - - -// ---------------------------------------------------------------------------- -// -// GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableBlock -// - -@implementation GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableBlock -@dynamic bodyRows, caption, headerRows; - -+ (NSDictionary *)arrayPropertyToClassMap { - NSDictionary *map = @{ - @"bodyRows" : [GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableRow class], - @"headerRows" : [GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableRow class] - }; - return map; -} - -@end - - -// ---------------------------------------------------------------------------- -// -// GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableCell -// - -@implementation GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableCell -@dynamic blocks, colSpan, rowSpan; - -+ (NSDictionary *)arrayPropertyToClassMap { - NSDictionary *map = @{ - @"blocks" : [GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentDocumentLayoutDocumentLayoutBlock class] - }; - return map; -} - -@end - - -// ---------------------------------------------------------------------------- -// -// GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableRow -// - -@implementation GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableRow -@dynamic cells; - -+ (NSDictionary *)arrayPropertyToClassMap { - NSDictionary *map = @{ - @"cells" : [GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableCell class] - }; - return map; -} - -@end - - -// ---------------------------------------------------------------------------- -// -// GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentDocumentLayoutDocumentLayoutBlockLayoutTextBlock -// - -@implementation GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentDocumentLayoutDocumentLayoutBlockLayoutTextBlock -@dynamic blocks, text, type; - -+ (NSDictionary *)arrayPropertyToClassMap { - NSDictionary *map = @{ - @"blocks" : [GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentDocumentLayoutDocumentLayoutBlock class] - }; - return map; -} - -@end - - -// ---------------------------------------------------------------------------- -// -// GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentEntity -// - -@implementation GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentEntity -@dynamic confidence, identifier, mentionId, mentionText, normalizedValue, - pageAnchor, properties, provenance, redacted, textAnchor, type; - -+ (NSDictionary *)propertyToJSONKeyMap { - return @{ @"identifier" : @"id" }; -} - -+ (NSDictionary *)arrayPropertyToClassMap { - NSDictionary *map = @{ - @"properties" : [GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentEntity class] - }; - return map; -} - -@end - - -// ---------------------------------------------------------------------------- -// -// GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentEntityNormalizedValue -// - -@implementation GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentEntityNormalizedValue -@dynamic addressValue, booleanValue, datetimeValue, dateValue, floatValue, - integerValue, moneyValue, text; -@end - - -// ---------------------------------------------------------------------------- -// -// GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentEntityRelation -// - -@implementation GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentEntityRelation -@dynamic objectId, relation, subjectId; -@end - - -// ---------------------------------------------------------------------------- -// -// GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentPage -// - -@implementation GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentPage -@dynamic blocks, detectedBarcodes, detectedLanguages, dimension, formFields, - image, imageQualityScores, layout, lines, pageNumber, paragraphs, - provenance, symbols, tables, tokens, transforms, visualElements; - -+ (NSDictionary *)arrayPropertyToClassMap { - NSDictionary *map = @{ - @"blocks" : [GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentPageBlock class], - @"detectedBarcodes" : [GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentPageDetectedBarcode class], - @"detectedLanguages" : [GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage class], - @"formFields" : [GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentPageFormField class], - @"lines" : [GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentPageLine class], - @"paragraphs" : [GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentPageParagraph class], - @"symbols" : [GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentPageSymbol class], - @"tables" : [GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentPageTable class], - @"tokens" : [GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentPageToken class], - @"transforms" : [GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentPageMatrix class], - @"visualElements" : [GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentPageVisualElement class] - }; - return map; -} - -@end - - -// ---------------------------------------------------------------------------- -// -// GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentPageAnchor -// - -@implementation GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentPageAnchor -@dynamic pageRefs; - -+ (NSDictionary *)arrayPropertyToClassMap { - NSDictionary *map = @{ - @"pageRefs" : [GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentPageAnchorPageRef class] - }; - return map; -} - -@end - - -// ---------------------------------------------------------------------------- -// -// GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentPageAnchorPageRef -// - -@implementation GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentPageAnchorPageRef -@dynamic boundingPoly, confidence, layoutId, layoutType, page; -@end - - -// ---------------------------------------------------------------------------- -// -// GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentPageBlock -// - -@implementation GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentPageBlock -@dynamic detectedLanguages, layout, provenance; - -+ (NSDictionary *)arrayPropertyToClassMap { - NSDictionary *map = @{ - @"detectedLanguages" : [GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage class] - }; - return map; -} - -@end - - -// ---------------------------------------------------------------------------- -// -// GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentPageDetectedBarcode -// - -@implementation GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentPageDetectedBarcode -@dynamic barcode, layout; -@end - - -// ---------------------------------------------------------------------------- -// -// GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage -// - -@implementation GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage -@dynamic confidence, languageCode; -@end - - -// ---------------------------------------------------------------------------- -// -// GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentPageDimension -// - -@implementation GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentPageDimension -@dynamic height, unit, width; -@end - - -// ---------------------------------------------------------------------------- -// -// GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentPageFormField -// - -@implementation GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentPageFormField -@dynamic correctedKeyText, correctedValueText, fieldName, fieldValue, - nameDetectedLanguages, provenance, valueDetectedLanguages, valueType; - -+ (NSDictionary *)arrayPropertyToClassMap { - NSDictionary *map = @{ - @"nameDetectedLanguages" : [GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage class], - @"valueDetectedLanguages" : [GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage class] - }; - return map; -} - -@end - - -// ---------------------------------------------------------------------------- -// -// GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentPageImage -// - -@implementation GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentPageImage -@dynamic content, height, mimeType, width; -@end - - -// ---------------------------------------------------------------------------- -// -// GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentPageImageQualityScores -// - -@implementation GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentPageImageQualityScores -@dynamic detectedDefects, qualityScore; - -+ (NSDictionary *)arrayPropertyToClassMap { - NSDictionary *map = @{ - @"detectedDefects" : [GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentPageImageQualityScoresDetectedDefect class] - }; - return map; -} - -@end - - -// ---------------------------------------------------------------------------- -// -// GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentPageImageQualityScoresDetectedDefect -// - -@implementation GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentPageImageQualityScoresDetectedDefect -@dynamic confidence, type; -@end - - -// ---------------------------------------------------------------------------- -// -// GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentPageLayout -// - -@implementation GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentPageLayout -@dynamic boundingPoly, confidence, orientation, textAnchor; -@end - - -// ---------------------------------------------------------------------------- -// -// GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentPageLine -// - -@implementation GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentPageLine -@dynamic detectedLanguages, layout, provenance; - -+ (NSDictionary *)arrayPropertyToClassMap { - NSDictionary *map = @{ - @"detectedLanguages" : [GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage class] - }; - return map; -} - -@end - - -// ---------------------------------------------------------------------------- -// -// GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentPageMatrix -// - -@implementation GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentPageMatrix -@dynamic cols, data, rows, type; -@end - - -// ---------------------------------------------------------------------------- -// -// GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentPageParagraph -// - -@implementation GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentPageParagraph -@dynamic detectedLanguages, layout, provenance; - -+ (NSDictionary *)arrayPropertyToClassMap { - NSDictionary *map = @{ - @"detectedLanguages" : [GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage class] - }; - return map; -} - -@end - - -// ---------------------------------------------------------------------------- -// -// GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentPageSymbol -// - -@implementation GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentPageSymbol -@dynamic detectedLanguages, layout; - -+ (NSDictionary *)arrayPropertyToClassMap { - NSDictionary *map = @{ - @"detectedLanguages" : [GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage class] - }; - return map; -} - -@end - - -// ---------------------------------------------------------------------------- -// -// GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentPageTable -// - -@implementation GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentPageTable -@dynamic bodyRows, detectedLanguages, headerRows, layout, provenance; - -+ (NSDictionary *)arrayPropertyToClassMap { - NSDictionary *map = @{ - @"bodyRows" : [GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentPageTableTableRow class], - @"detectedLanguages" : [GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage class], - @"headerRows" : [GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentPageTableTableRow class] - }; - return map; -} - -@end - - -// ---------------------------------------------------------------------------- -// -// GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentPageTableTableCell -// - -@implementation GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentPageTableTableCell -@dynamic colSpan, detectedLanguages, layout, rowSpan; - -+ (NSDictionary *)arrayPropertyToClassMap { - NSDictionary *map = @{ - @"detectedLanguages" : [GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage class] - }; - return map; -} - -@end - - -// ---------------------------------------------------------------------------- -// -// GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentPageTableTableRow -// - -@implementation GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentPageTableTableRow -@dynamic cells; - -+ (NSDictionary *)arrayPropertyToClassMap { - NSDictionary *map = @{ - @"cells" : [GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentPageTableTableCell class] - }; - return map; -} - -@end - - -// ---------------------------------------------------------------------------- -// -// GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentPageToken -// - -@implementation GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentPageToken -@dynamic detectedBreak, detectedLanguages, layout, provenance, styleInfo; - -+ (NSDictionary *)arrayPropertyToClassMap { - NSDictionary *map = @{ - @"detectedLanguages" : [GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage class] - }; - return map; -} - -@end - - -// ---------------------------------------------------------------------------- -// -// GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentPageTokenDetectedBreak -// - -@implementation GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentPageTokenDetectedBreak -@dynamic type; -@end - - -// ---------------------------------------------------------------------------- -// -// GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentPageTokenStyleInfo -// - -@implementation GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentPageTokenStyleInfo -@dynamic backgroundColor, bold, fontSize, fontType, fontWeight, handwritten, - italic, letterSpacing, pixelFontSize, smallcaps, strikeout, subscript, - superscript, textColor, underlined; -@end - - -// ---------------------------------------------------------------------------- -// -// GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentPageVisualElement -// - -@implementation GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentPageVisualElement -@dynamic detectedLanguages, layout, type; - -+ (NSDictionary *)arrayPropertyToClassMap { - NSDictionary *map = @{ - @"detectedLanguages" : [GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage class] - }; - return map; -} - -@end - - -// ---------------------------------------------------------------------------- -// -// GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentProvenance -// - -@implementation GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentProvenance -@dynamic identifier, parents, revision, type; - -+ (NSDictionary *)propertyToJSONKeyMap { - return @{ @"identifier" : @"id" }; -} - -+ (NSDictionary *)arrayPropertyToClassMap { - NSDictionary *map = @{ - @"parents" : [GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentProvenanceParent class] - }; - return map; -} - -@end - - -// ---------------------------------------------------------------------------- -// -// GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentProvenanceParent -// - -@implementation GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentProvenanceParent -@dynamic identifier, index, revision; - -+ (NSDictionary *)propertyToJSONKeyMap { - return @{ @"identifier" : @"id" }; -} - -@end - - -// ---------------------------------------------------------------------------- -// -// GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentRevision -// - -@implementation GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentRevision -@dynamic agent, createTime, humanReview, identifier, parent, parentIds, - processor; - -+ (NSDictionary *)propertyToJSONKeyMap { - return @{ @"identifier" : @"id" }; -} - -+ (NSDictionary *)arrayPropertyToClassMap { - NSDictionary *map = @{ - @"parent" : [NSNumber class], - @"parentIds" : [NSString class] - }; - return map; -} - -@end - - -// ---------------------------------------------------------------------------- -// -// GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentRevisionHumanReview -// - -@implementation GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentRevisionHumanReview -@dynamic state, stateMessage; -@end - - -// ---------------------------------------------------------------------------- -// -// GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentShardInfo -// - -@implementation GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentShardInfo -@dynamic shardCount, shardIndex, textOffset; -@end - - -// ---------------------------------------------------------------------------- -// -// GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentStyle -// - -@implementation GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentStyle -@dynamic backgroundColor, color, fontFamily, fontSize, fontWeight, textAnchor, - textDecoration, textStyle; -@end - - -// ---------------------------------------------------------------------------- -// -// GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentStyleFontSize -// - -@implementation GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentStyleFontSize -@dynamic size, unit; -@end - - -// ---------------------------------------------------------------------------- -// -// GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentTextAnchor -// - -@implementation GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentTextAnchor -@dynamic content, textSegments; - -+ (NSDictionary *)arrayPropertyToClassMap { - NSDictionary *map = @{ - @"textSegments" : [GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentTextAnchorTextSegment class] - }; - return map; -} - -@end - - -// ---------------------------------------------------------------------------- -// -// GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentTextAnchorTextSegment -// - -@implementation GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentTextAnchorTextSegment -@dynamic endIndex, startIndex; -@end - - -// ---------------------------------------------------------------------------- -// -// GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentTextChange -// - -@implementation GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentTextChange -@dynamic changedText, provenance, textAnchor; - -+ (NSDictionary *)arrayPropertyToClassMap { - NSDictionary *map = @{ - @"provenance" : [GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentProvenance class] - }; - return map; -} - -@end - - -// ---------------------------------------------------------------------------- -// -// GTLRDocument_GoogleCloudDocumentaiV1beta1GcsDestination -// - -@implementation GTLRDocument_GoogleCloudDocumentaiV1beta1GcsDestination -@dynamic uri; -@end - - -// ---------------------------------------------------------------------------- -// -// GTLRDocument_GoogleCloudDocumentaiV1beta1GcsSource -// - -@implementation GTLRDocument_GoogleCloudDocumentaiV1beta1GcsSource -@dynamic uri; -@end - - -// ---------------------------------------------------------------------------- -// -// GTLRDocument_GoogleCloudDocumentaiV1beta1InputConfig -// - -@implementation GTLRDocument_GoogleCloudDocumentaiV1beta1InputConfig -@dynamic gcsSource, mimeType; -@end - - -// ---------------------------------------------------------------------------- -// -// GTLRDocument_GoogleCloudDocumentaiV1beta1NormalizedVertex -// - -@implementation GTLRDocument_GoogleCloudDocumentaiV1beta1NormalizedVertex -@dynamic x, y; -@end - - -// ---------------------------------------------------------------------------- -// -// GTLRDocument_GoogleCloudDocumentaiV1beta1OperationMetadata -// - -@implementation GTLRDocument_GoogleCloudDocumentaiV1beta1OperationMetadata -@dynamic createTime, state, stateMessage, updateTime; -@end - - -// ---------------------------------------------------------------------------- -// -// GTLRDocument_GoogleCloudDocumentaiV1beta1OutputConfig -// - -@implementation GTLRDocument_GoogleCloudDocumentaiV1beta1OutputConfig -@dynamic gcsDestination, pagesPerShard; -@end - - -// ---------------------------------------------------------------------------- -// -// GTLRDocument_GoogleCloudDocumentaiV1beta1ProcessDocumentResponse -// - -@implementation GTLRDocument_GoogleCloudDocumentaiV1beta1ProcessDocumentResponse -@dynamic inputConfig, outputConfig; -@end - - -// ---------------------------------------------------------------------------- -// -// GTLRDocument_GoogleCloudDocumentaiV1beta1Vertex -// - -@implementation GTLRDocument_GoogleCloudDocumentaiV1beta1Vertex -@dynamic x, y; -@end - - -// ---------------------------------------------------------------------------- -// -// GTLRDocument_GoogleCloudDocumentaiV1beta2Barcode -// - -@implementation GTLRDocument_GoogleCloudDocumentaiV1beta2Barcode -@dynamic format, rawValue, valueFormat; -@end - - -// ---------------------------------------------------------------------------- -// -// GTLRDocument_GoogleCloudDocumentaiV1beta2BatchProcessDocumentsResponse -// - -@implementation GTLRDocument_GoogleCloudDocumentaiV1beta2BatchProcessDocumentsResponse -@dynamic responses; - -+ (NSDictionary *)arrayPropertyToClassMap { - NSDictionary *map = @{ - @"responses" : [GTLRDocument_GoogleCloudDocumentaiV1beta2ProcessDocumentResponse class] - }; - return map; -} - -@end - - -// ---------------------------------------------------------------------------- -// -// GTLRDocument_GoogleCloudDocumentaiV1beta2BoundingPoly -// - -@implementation GTLRDocument_GoogleCloudDocumentaiV1beta2BoundingPoly -@dynamic normalizedVertices, vertices; - -+ (NSDictionary *)arrayPropertyToClassMap { - NSDictionary *map = @{ - @"normalizedVertices" : [GTLRDocument_GoogleCloudDocumentaiV1beta2NormalizedVertex class], - @"vertices" : [GTLRDocument_GoogleCloudDocumentaiV1beta2Vertex class] - }; - return map; -} - -@end - - -// ---------------------------------------------------------------------------- -// -// GTLRDocument_GoogleCloudDocumentaiV1beta2Document -// - -@implementation GTLRDocument_GoogleCloudDocumentaiV1beta2Document -@dynamic chunkedDocument, content, documentLayout, entities, entityRelations, - error, labels, mimeType, pages, revisions, shardInfo, text, - textChanges, textStyles, uri; - -+ (NSDictionary *)arrayPropertyToClassMap { - NSDictionary *map = @{ - @"entities" : [GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentEntity class], - @"entityRelations" : [GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentEntityRelation class], - @"labels" : [GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentLabel class], - @"pages" : [GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentPage class], - @"revisions" : [GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentRevision class], - @"textChanges" : [GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentTextChange class], - @"textStyles" : [GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentStyle class] - }; - return map; -} - -@end - - -// ---------------------------------------------------------------------------- -// -// GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentChunkedDocument -// - -@implementation GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentChunkedDocument -@dynamic chunks; - -+ (NSDictionary *)arrayPropertyToClassMap { - NSDictionary *map = @{ - @"chunks" : [GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentChunkedDocumentChunk class] - }; - return map; -} - -@end - - -// ---------------------------------------------------------------------------- -// -// GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentChunkedDocumentChunk -// - -@implementation GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentChunkedDocumentChunk -@dynamic chunkId, content, pageFooters, pageHeaders, pageSpan, sourceBlockIds; - -+ (NSDictionary *)arrayPropertyToClassMap { - NSDictionary *map = @{ - @"pageFooters" : [GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentChunkedDocumentChunkChunkPageFooter class], - @"pageHeaders" : [GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentChunkedDocumentChunkChunkPageHeader class], - @"sourceBlockIds" : [NSString class] - }; - return map; -} - -@end - - -// ---------------------------------------------------------------------------- -// -// GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentChunkedDocumentChunkChunkPageFooter -// - -@implementation GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentChunkedDocumentChunkChunkPageFooter -@dynamic pageSpan, text; -@end - - -// ---------------------------------------------------------------------------- -// -// GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentChunkedDocumentChunkChunkPageHeader -// - -@implementation GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentChunkedDocumentChunkChunkPageHeader -@dynamic pageSpan, text; -@end - - -// ---------------------------------------------------------------------------- -// -// GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentChunkedDocumentChunkChunkPageSpan -// - -@implementation GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentChunkedDocumentChunkChunkPageSpan -@dynamic pageEnd, pageStart; -@end - - -// ---------------------------------------------------------------------------- -// -// GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentDocumentLayout -// - -@implementation GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentDocumentLayout -@dynamic blocks; - -+ (NSDictionary *)arrayPropertyToClassMap { - NSDictionary *map = @{ - @"blocks" : [GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentDocumentLayoutDocumentLayoutBlock class] - }; - return map; -} - -@end - - -// ---------------------------------------------------------------------------- -// -// GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentDocumentLayoutDocumentLayoutBlock -// - -@implementation GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentDocumentLayoutDocumentLayoutBlock -@dynamic blockId, listBlock, pageSpan, tableBlock, textBlock; -@end - - -// ---------------------------------------------------------------------------- -// -// GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentDocumentLayoutDocumentLayoutBlockLayoutListBlock -// - -@implementation GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentDocumentLayoutDocumentLayoutBlockLayoutListBlock -@dynamic listEntries, type; - -+ (NSDictionary *)arrayPropertyToClassMap { - NSDictionary *map = @{ - @"listEntries" : [GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentDocumentLayoutDocumentLayoutBlockLayoutListEntry class] - }; - return map; -} - -@end - - -// ---------------------------------------------------------------------------- -// -// GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentDocumentLayoutDocumentLayoutBlockLayoutListEntry -// - -@implementation GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentDocumentLayoutDocumentLayoutBlockLayoutListEntry -@dynamic blocks; - -+ (NSDictionary *)arrayPropertyToClassMap { - NSDictionary *map = @{ - @"blocks" : [GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentDocumentLayoutDocumentLayoutBlock class] - }; - return map; -} - -@end - - -// ---------------------------------------------------------------------------- -// -// GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentDocumentLayoutDocumentLayoutBlockLayoutPageSpan -// - -@implementation GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentDocumentLayoutDocumentLayoutBlockLayoutPageSpan -@dynamic pageEnd, pageStart; -@end - - -// ---------------------------------------------------------------------------- -// -// GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentDocumentLayoutDocumentLayoutBlockLayoutTableBlock -// - -@implementation GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentDocumentLayoutDocumentLayoutBlockLayoutTableBlock -@dynamic bodyRows, caption, headerRows; - -+ (NSDictionary *)arrayPropertyToClassMap { - NSDictionary *map = @{ - @"bodyRows" : [GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentDocumentLayoutDocumentLayoutBlockLayoutTableRow class], - @"headerRows" : [GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentDocumentLayoutDocumentLayoutBlockLayoutTableRow class] - }; - return map; -} - -@end - - -// ---------------------------------------------------------------------------- -// -// GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentDocumentLayoutDocumentLayoutBlockLayoutTableCell -// - -@implementation GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentDocumentLayoutDocumentLayoutBlockLayoutTableCell -@dynamic blocks, colSpan, rowSpan; - -+ (NSDictionary *)arrayPropertyToClassMap { - NSDictionary *map = @{ - @"blocks" : [GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentDocumentLayoutDocumentLayoutBlock class] - }; - return map; -} - -@end - - -// ---------------------------------------------------------------------------- -// -// GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentDocumentLayoutDocumentLayoutBlockLayoutTableRow -// - -@implementation GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentDocumentLayoutDocumentLayoutBlockLayoutTableRow -@dynamic cells; - -+ (NSDictionary *)arrayPropertyToClassMap { - NSDictionary *map = @{ - @"cells" : [GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentDocumentLayoutDocumentLayoutBlockLayoutTableCell class] - }; - return map; -} - -@end - - -// ---------------------------------------------------------------------------- -// -// GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentDocumentLayoutDocumentLayoutBlockLayoutTextBlock -// - -@implementation GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentDocumentLayoutDocumentLayoutBlockLayoutTextBlock -@dynamic blocks, text, type; - -+ (NSDictionary *)arrayPropertyToClassMap { - NSDictionary *map = @{ - @"blocks" : [GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentDocumentLayoutDocumentLayoutBlock class] - }; - return map; -} - -@end - - -// ---------------------------------------------------------------------------- -// -// GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentEntity -// - -@implementation GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentEntity -@dynamic confidence, identifier, mentionId, mentionText, normalizedValue, - pageAnchor, properties, provenance, redacted, textAnchor, type; - -+ (NSDictionary *)propertyToJSONKeyMap { - return @{ @"identifier" : @"id" }; -} - -+ (NSDictionary *)arrayPropertyToClassMap { - NSDictionary *map = @{ - @"properties" : [GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentEntity class] - }; - return map; -} - -@end - - -// ---------------------------------------------------------------------------- -// -// GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentEntityNormalizedValue -// - -@implementation GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentEntityNormalizedValue -@dynamic addressValue, booleanValue, datetimeValue, dateValue, floatValue, - integerValue, moneyValue, text; -@end - - -// ---------------------------------------------------------------------------- -// -// GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentEntityRelation -// - -@implementation GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentEntityRelation -@dynamic objectId, relation, subjectId; -@end - - -// ---------------------------------------------------------------------------- -// -// GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentLabel -// - -@implementation GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentLabel -@dynamic automlModel, confidence, name; -@end - - -// ---------------------------------------------------------------------------- -// -// GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentPage -// - -@implementation GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentPage -@dynamic blocks, detectedBarcodes, detectedLanguages, dimension, formFields, - image, imageQualityScores, layout, lines, pageNumber, paragraphs, - provenance, symbols, tables, tokens, transforms, visualElements; - -+ (NSDictionary *)arrayPropertyToClassMap { - NSDictionary *map = @{ - @"blocks" : [GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentPageBlock class], - @"detectedBarcodes" : [GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentPageDetectedBarcode class], - @"detectedLanguages" : [GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage class], - @"formFields" : [GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentPageFormField class], - @"lines" : [GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentPageLine class], - @"paragraphs" : [GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentPageParagraph class], - @"symbols" : [GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentPageSymbol class], - @"tables" : [GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentPageTable class], - @"tokens" : [GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentPageToken class], - @"transforms" : [GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentPageMatrix class], - @"visualElements" : [GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentPageVisualElement class] - }; - return map; -} - -@end - - -// ---------------------------------------------------------------------------- -// -// GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentPageAnchor -// - -@implementation GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentPageAnchor -@dynamic pageRefs; - -+ (NSDictionary *)arrayPropertyToClassMap { - NSDictionary *map = @{ - @"pageRefs" : [GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentPageAnchorPageRef class] - }; - return map; -} - -@end - - -// ---------------------------------------------------------------------------- -// -// GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentPageAnchorPageRef -// - -@implementation GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentPageAnchorPageRef -@dynamic boundingPoly, confidence, layoutId, layoutType, page; -@end - - -// ---------------------------------------------------------------------------- -// -// GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentPageBlock -// - -@implementation GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentPageBlock -@dynamic detectedLanguages, layout, provenance; - -+ (NSDictionary *)arrayPropertyToClassMap { - NSDictionary *map = @{ - @"detectedLanguages" : [GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage class] - }; - return map; -} - -@end - - -// ---------------------------------------------------------------------------- -// -// GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentPageDetectedBarcode -// - -@implementation GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentPageDetectedBarcode -@dynamic barcode, layout; -@end - - -// ---------------------------------------------------------------------------- -// -// GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage -// - -@implementation GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage -@dynamic confidence, languageCode; -@end - - -// ---------------------------------------------------------------------------- -// -// GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentPageDimension -// - -@implementation GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentPageDimension -@dynamic height, unit, width; -@end - - -// ---------------------------------------------------------------------------- -// -// GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentPageFormField -// - -@implementation GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentPageFormField -@dynamic correctedKeyText, correctedValueText, fieldName, fieldValue, - nameDetectedLanguages, provenance, valueDetectedLanguages, valueType; - -+ (NSDictionary *)arrayPropertyToClassMap { - NSDictionary *map = @{ - @"nameDetectedLanguages" : [GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage class], - @"valueDetectedLanguages" : [GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage class] - }; - return map; -} - -@end - - -// ---------------------------------------------------------------------------- -// -// GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentPageImage -// - -@implementation GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentPageImage -@dynamic content, height, mimeType, width; -@end - - -// ---------------------------------------------------------------------------- -// -// GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentPageImageQualityScores -// - -@implementation GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentPageImageQualityScores -@dynamic detectedDefects, qualityScore; - -+ (NSDictionary *)arrayPropertyToClassMap { - NSDictionary *map = @{ - @"detectedDefects" : [GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentPageImageQualityScoresDetectedDefect class] - }; - return map; -} - -@end - - -// ---------------------------------------------------------------------------- -// -// GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentPageImageQualityScoresDetectedDefect -// - -@implementation GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentPageImageQualityScoresDetectedDefect -@dynamic confidence, type; -@end - - -// ---------------------------------------------------------------------------- -// -// GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentPageLayout -// - -@implementation GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentPageLayout -@dynamic boundingPoly, confidence, orientation, textAnchor; -@end - - -// ---------------------------------------------------------------------------- -// -// GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentPageLine -// - -@implementation GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentPageLine -@dynamic detectedLanguages, layout, provenance; - -+ (NSDictionary *)arrayPropertyToClassMap { - NSDictionary *map = @{ - @"detectedLanguages" : [GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage class] - }; - return map; -} - -@end - - -// ---------------------------------------------------------------------------- -// -// GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentPageMatrix -// - -@implementation GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentPageMatrix -@dynamic cols, data, rows, type; -@end - - -// ---------------------------------------------------------------------------- -// -// GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentPageParagraph -// - -@implementation GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentPageParagraph -@dynamic detectedLanguages, layout, provenance; - -+ (NSDictionary *)arrayPropertyToClassMap { - NSDictionary *map = @{ - @"detectedLanguages" : [GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage class] - }; - return map; -} - -@end - - -// ---------------------------------------------------------------------------- -// -// GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentPageSymbol -// - -@implementation GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentPageSymbol -@dynamic detectedLanguages, layout; - -+ (NSDictionary *)arrayPropertyToClassMap { - NSDictionary *map = @{ - @"detectedLanguages" : [GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage class] - }; - return map; -} - -@end - - -// ---------------------------------------------------------------------------- -// -// GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentPageTable -// - -@implementation GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentPageTable -@dynamic bodyRows, detectedLanguages, headerRows, layout, provenance; - -+ (NSDictionary *)arrayPropertyToClassMap { - NSDictionary *map = @{ - @"bodyRows" : [GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentPageTableTableRow class], - @"detectedLanguages" : [GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage class], - @"headerRows" : [GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentPageTableTableRow class] - }; - return map; -} - -@end - - -// ---------------------------------------------------------------------------- -// -// GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentPageTableTableCell -// - -@implementation GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentPageTableTableCell -@dynamic colSpan, detectedLanguages, layout, rowSpan; - -+ (NSDictionary *)arrayPropertyToClassMap { - NSDictionary *map = @{ - @"detectedLanguages" : [GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage class] - }; - return map; -} - -@end - - -// ---------------------------------------------------------------------------- -// -// GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentPageTableTableRow -// - -@implementation GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentPageTableTableRow -@dynamic cells; - -+ (NSDictionary *)arrayPropertyToClassMap { - NSDictionary *map = @{ - @"cells" : [GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentPageTableTableCell class] - }; - return map; -} - -@end - - -// ---------------------------------------------------------------------------- -// -// GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentPageToken -// - -@implementation GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentPageToken -@dynamic detectedBreak, detectedLanguages, layout, provenance, styleInfo; - -+ (NSDictionary *)arrayPropertyToClassMap { - NSDictionary *map = @{ - @"detectedLanguages" : [GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage class] - }; - return map; -} - -@end - - -// ---------------------------------------------------------------------------- -// -// GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentPageTokenDetectedBreak -// - -@implementation GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentPageTokenDetectedBreak -@dynamic type; -@end - - -// ---------------------------------------------------------------------------- -// -// GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentPageTokenStyleInfo -// - -@implementation GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentPageTokenStyleInfo -@dynamic backgroundColor, bold, fontSize, fontType, fontWeight, handwritten, - italic, letterSpacing, pixelFontSize, smallcaps, strikeout, subscript, - superscript, textColor, underlined; -@end - - -// ---------------------------------------------------------------------------- -// -// GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentPageVisualElement -// - -@implementation GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentPageVisualElement -@dynamic detectedLanguages, layout, type; - -+ (NSDictionary *)arrayPropertyToClassMap { - NSDictionary *map = @{ - @"detectedLanguages" : [GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage class] - }; - return map; -} - -@end - - -// ---------------------------------------------------------------------------- -// -// GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentProvenance -// - -@implementation GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentProvenance -@dynamic identifier, parents, revision, type; - -+ (NSDictionary *)propertyToJSONKeyMap { - return @{ @"identifier" : @"id" }; -} - -+ (NSDictionary *)arrayPropertyToClassMap { - NSDictionary *map = @{ - @"parents" : [GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentProvenanceParent class] - }; - return map; -} - -@end - - -// ---------------------------------------------------------------------------- -// -// GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentProvenanceParent -// - -@implementation GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentProvenanceParent -@dynamic identifier, index, revision; - -+ (NSDictionary *)propertyToJSONKeyMap { - return @{ @"identifier" : @"id" }; -} - -@end - - -// ---------------------------------------------------------------------------- -// -// GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentRevision -// - -@implementation GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentRevision -@dynamic agent, createTime, humanReview, identifier, parent, parentIds, - processor; - -+ (NSDictionary *)propertyToJSONKeyMap { - return @{ @"identifier" : @"id" }; -} - -+ (NSDictionary *)arrayPropertyToClassMap { - NSDictionary *map = @{ - @"parent" : [NSNumber class], - @"parentIds" : [NSString class] - }; - return map; -} - -@end - - -// ---------------------------------------------------------------------------- -// -// GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentRevisionHumanReview -// - -@implementation GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentRevisionHumanReview -@dynamic state, stateMessage; -@end - - -// ---------------------------------------------------------------------------- -// -// GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentShardInfo -// - -@implementation GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentShardInfo -@dynamic shardCount, shardIndex, textOffset; -@end - - -// ---------------------------------------------------------------------------- -// -// GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentStyle -// - -@implementation GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentStyle -@dynamic backgroundColor, color, fontFamily, fontSize, fontWeight, textAnchor, - textDecoration, textStyle; -@end - - -// ---------------------------------------------------------------------------- -// -// GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentStyleFontSize -// - -@implementation GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentStyleFontSize -@dynamic size, unit; -@end - - -// ---------------------------------------------------------------------------- -// -// GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentTextAnchor -// - -@implementation GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentTextAnchor -@dynamic content, textSegments; - -+ (NSDictionary *)arrayPropertyToClassMap { - NSDictionary *map = @{ - @"textSegments" : [GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentTextAnchorTextSegment class] - }; - return map; -} - -@end - - -// ---------------------------------------------------------------------------- -// -// GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentTextAnchorTextSegment -// - -@implementation GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentTextAnchorTextSegment -@dynamic endIndex, startIndex; -@end - - -// ---------------------------------------------------------------------------- -// -// GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentTextChange -// - -@implementation GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentTextChange -@dynamic changedText, provenance, textAnchor; - -+ (NSDictionary *)arrayPropertyToClassMap { - NSDictionary *map = @{ - @"provenance" : [GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentProvenance class] - }; - return map; -} - -@end - - -// ---------------------------------------------------------------------------- -// -// GTLRDocument_GoogleCloudDocumentaiV1beta2GcsDestination -// - -@implementation GTLRDocument_GoogleCloudDocumentaiV1beta2GcsDestination -@dynamic uri; -@end - - -// ---------------------------------------------------------------------------- -// -// GTLRDocument_GoogleCloudDocumentaiV1beta2GcsSource -// - -@implementation GTLRDocument_GoogleCloudDocumentaiV1beta2GcsSource -@dynamic uri; -@end - - -// ---------------------------------------------------------------------------- -// -// GTLRDocument_GoogleCloudDocumentaiV1beta2InputConfig -// - -@implementation GTLRDocument_GoogleCloudDocumentaiV1beta2InputConfig -@dynamic contents, gcsSource, mimeType; -@end - - -// ---------------------------------------------------------------------------- -// -// GTLRDocument_GoogleCloudDocumentaiV1beta2NormalizedVertex -// - -@implementation GTLRDocument_GoogleCloudDocumentaiV1beta2NormalizedVertex -@dynamic x, y; -@end - - -// ---------------------------------------------------------------------------- -// -// GTLRDocument_GoogleCloudDocumentaiV1beta2OperationMetadata -// - -@implementation GTLRDocument_GoogleCloudDocumentaiV1beta2OperationMetadata -@dynamic createTime, state, stateMessage, updateTime; -@end - - -// ---------------------------------------------------------------------------- -// -// GTLRDocument_GoogleCloudDocumentaiV1beta2OutputConfig -// - -@implementation GTLRDocument_GoogleCloudDocumentaiV1beta2OutputConfig -@dynamic gcsDestination, pagesPerShard; -@end - - -// ---------------------------------------------------------------------------- -// -// GTLRDocument_GoogleCloudDocumentaiV1beta2ProcessDocumentResponse -// - -@implementation GTLRDocument_GoogleCloudDocumentaiV1beta2ProcessDocumentResponse -@dynamic inputConfig, outputConfig; -@end - - -// ---------------------------------------------------------------------------- -// -// GTLRDocument_GoogleCloudDocumentaiV1beta2Vertex -// - -@implementation GTLRDocument_GoogleCloudDocumentaiV1beta2Vertex -@dynamic x, y; -@end - - // ---------------------------------------------------------------------------- // // GTLRDocument_GoogleCloudDocumentaiV1beta3BatchDeleteDocumentsMetadata diff --git a/Sources/GeneratedServices/Document/Public/GoogleAPIClientForREST/GTLRDocumentObjects.h b/Sources/GeneratedServices/Document/Public/GoogleAPIClientForREST/GTLRDocumentObjects.h index ba7843950..ad8cf9bc4 100644 --- a/Sources/GeneratedServices/Document/Public/GoogleAPIClientForREST/GTLRDocumentObjects.h +++ b/Sources/GeneratedServices/Document/Public/GoogleAPIClientForREST/GTLRDocumentObjects.h @@ -37,125 +37,6 @@ @class GTLRDocument_GoogleCloudDocumentaiV1BatchDocumentsInputConfig; @class GTLRDocument_GoogleCloudDocumentaiV1BatchProcessMetadataIndividualProcessStatus; @class GTLRDocument_GoogleCloudDocumentaiV1BatchProcessRequest_Labels; -@class GTLRDocument_GoogleCloudDocumentaiV1beta1Barcode; -@class GTLRDocument_GoogleCloudDocumentaiV1beta1BoundingPoly; -@class GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentChunkedDocument; -@class GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentChunkedDocumentChunk; -@class GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentChunkedDocumentChunkChunkPageFooter; -@class GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentChunkedDocumentChunkChunkPageHeader; -@class GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentChunkedDocumentChunkChunkPageSpan; -@class GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentDocumentLayout; -@class GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentDocumentLayoutDocumentLayoutBlock; -@class GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentDocumentLayoutDocumentLayoutBlockLayoutListBlock; -@class GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentDocumentLayoutDocumentLayoutBlockLayoutListEntry; -@class GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentDocumentLayoutDocumentLayoutBlockLayoutPageSpan; -@class GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableBlock; -@class GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableCell; -@class GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableRow; -@class GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentDocumentLayoutDocumentLayoutBlockLayoutTextBlock; -@class GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentEntity; -@class GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentEntityNormalizedValue; -@class GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentEntityRelation; -@class GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentPage; -@class GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentPageAnchor; -@class GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentPageAnchorPageRef; -@class GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentPageBlock; -@class GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentPageDetectedBarcode; -@class GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage; -@class GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentPageDimension; -@class GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentPageFormField; -@class GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentPageImage; -@class GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentPageImageQualityScores; -@class GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentPageImageQualityScoresDetectedDefect; -@class GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentPageLayout; -@class GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentPageLine; -@class GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentPageMatrix; -@class GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentPageParagraph; -@class GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentPageSymbol; -@class GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentPageTable; -@class GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentPageTableTableCell; -@class GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentPageTableTableRow; -@class GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentPageToken; -@class GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentPageTokenDetectedBreak; -@class GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentPageTokenStyleInfo; -@class GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentPageVisualElement; -@class GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentProvenance; -@class GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentProvenanceParent; -@class GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentRevision; -@class GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentRevisionHumanReview; -@class GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentShardInfo; -@class GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentStyle; -@class GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentStyleFontSize; -@class GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentTextAnchor; -@class GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentTextAnchorTextSegment; -@class GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentTextChange; -@class GTLRDocument_GoogleCloudDocumentaiV1beta1GcsDestination; -@class GTLRDocument_GoogleCloudDocumentaiV1beta1GcsSource; -@class GTLRDocument_GoogleCloudDocumentaiV1beta1InputConfig; -@class GTLRDocument_GoogleCloudDocumentaiV1beta1NormalizedVertex; -@class GTLRDocument_GoogleCloudDocumentaiV1beta1OutputConfig; -@class GTLRDocument_GoogleCloudDocumentaiV1beta1ProcessDocumentResponse; -@class GTLRDocument_GoogleCloudDocumentaiV1beta1Vertex; -@class GTLRDocument_GoogleCloudDocumentaiV1beta2Barcode; -@class GTLRDocument_GoogleCloudDocumentaiV1beta2BoundingPoly; -@class GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentChunkedDocument; -@class GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentChunkedDocumentChunk; -@class GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentChunkedDocumentChunkChunkPageFooter; -@class GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentChunkedDocumentChunkChunkPageHeader; -@class GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentChunkedDocumentChunkChunkPageSpan; -@class GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentDocumentLayout; -@class GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentDocumentLayoutDocumentLayoutBlock; -@class GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentDocumentLayoutDocumentLayoutBlockLayoutListBlock; -@class GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentDocumentLayoutDocumentLayoutBlockLayoutListEntry; -@class GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentDocumentLayoutDocumentLayoutBlockLayoutPageSpan; -@class GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentDocumentLayoutDocumentLayoutBlockLayoutTableBlock; -@class GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentDocumentLayoutDocumentLayoutBlockLayoutTableCell; -@class GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentDocumentLayoutDocumentLayoutBlockLayoutTableRow; -@class GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentDocumentLayoutDocumentLayoutBlockLayoutTextBlock; -@class GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentEntity; -@class GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentEntityNormalizedValue; -@class GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentEntityRelation; -@class GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentLabel; -@class GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentPage; -@class GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentPageAnchor; -@class GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentPageAnchorPageRef; -@class GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentPageBlock; -@class GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentPageDetectedBarcode; -@class GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage; -@class GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentPageDimension; -@class GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentPageFormField; -@class GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentPageImage; -@class GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentPageImageQualityScores; -@class GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentPageImageQualityScoresDetectedDefect; -@class GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentPageLayout; -@class GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentPageLine; -@class GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentPageMatrix; -@class GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentPageParagraph; -@class GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentPageSymbol; -@class GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentPageTable; -@class GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentPageTableTableCell; -@class GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentPageTableTableRow; -@class GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentPageToken; -@class GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentPageTokenDetectedBreak; -@class GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentPageTokenStyleInfo; -@class GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentPageVisualElement; -@class GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentProvenance; -@class GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentProvenanceParent; -@class GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentRevision; -@class GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentRevisionHumanReview; -@class GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentShardInfo; -@class GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentStyle; -@class GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentStyleFontSize; -@class GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentTextAnchor; -@class GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentTextAnchorTextSegment; -@class GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentTextChange; -@class GTLRDocument_GoogleCloudDocumentaiV1beta2GcsDestination; -@class GTLRDocument_GoogleCloudDocumentaiV1beta2GcsSource; -@class GTLRDocument_GoogleCloudDocumentaiV1beta2InputConfig; -@class GTLRDocument_GoogleCloudDocumentaiV1beta2NormalizedVertex; -@class GTLRDocument_GoogleCloudDocumentaiV1beta2OutputConfig; -@class GTLRDocument_GoogleCloudDocumentaiV1beta2ProcessDocumentResponse; -@class GTLRDocument_GoogleCloudDocumentaiV1beta2Vertex; @class GTLRDocument_GoogleCloudDocumentaiV1beta3BatchDeleteDocumentsMetadataIndividualBatchDeleteStatus; @class GTLRDocument_GoogleCloudDocumentaiV1beta3BatchProcessMetadataIndividualProcessStatus; @class GTLRDocument_GoogleCloudDocumentaiV1beta3CommonOperationMetadata; @@ -536,389 +417,450 @@ FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1BatchPro FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1BatchProcessMetadata_State_Waiting; // ---------------------------------------------------------------------------- -// GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentPageAnchorPageRef.layoutType +// GTLRDocument_GoogleCloudDocumentaiV1beta3BatchProcessMetadata.state /** - * References a Page.blocks element. - * - * Value: "BLOCK" - */ -FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1beta1DocumentPageAnchorPageRef_LayoutType_Block; -/** - * References a Page.form_fields element. + * The batch processing was cancelled. * - * Value: "FORM_FIELD" + * Value: "CANCELLED" */ -FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1beta1DocumentPageAnchorPageRef_LayoutType_FormField; +FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1beta3BatchProcessMetadata_State_Cancelled; /** - * Layout Unspecified. + * The batch processing was being cancelled. * - * Value: "LAYOUT_TYPE_UNSPECIFIED" + * Value: "CANCELLING" */ -FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1beta1DocumentPageAnchorPageRef_LayoutType_LayoutTypeUnspecified; +FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1beta3BatchProcessMetadata_State_Cancelling; /** - * References a Page.lines element. + * The batch processing has failed. * - * Value: "LINE" + * Value: "FAILED" */ -FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1beta1DocumentPageAnchorPageRef_LayoutType_Line; +FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1beta3BatchProcessMetadata_State_Failed; /** - * References a Page.paragraphs element. + * Request is being processed. * - * Value: "PARAGRAPH" + * Value: "RUNNING" */ -FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1beta1DocumentPageAnchorPageRef_LayoutType_Paragraph; +FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1beta3BatchProcessMetadata_State_Running; /** - * Refrrences a Page.tables element. + * The default value. This value is used if the state is omitted. * - * Value: "TABLE" + * Value: "STATE_UNSPECIFIED" */ -FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1beta1DocumentPageAnchorPageRef_LayoutType_Table; +FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1beta3BatchProcessMetadata_State_StateUnspecified; /** - * References a Page.tokens element. + * The batch processing completed successfully. * - * Value: "TOKEN" + * Value: "SUCCEEDED" */ -FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1beta1DocumentPageAnchorPageRef_LayoutType_Token; +FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1beta3BatchProcessMetadata_State_Succeeded; /** - * References a Page.visual_elements element. + * Request operation is waiting for scheduling. * - * Value: "VISUAL_ELEMENT" + * Value: "WAITING" */ -FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1beta1DocumentPageAnchorPageRef_LayoutType_VisualElement; +FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1beta3BatchProcessMetadata_State_Waiting; // ---------------------------------------------------------------------------- -// GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentPageLayout.orientation +// GTLRDocument_GoogleCloudDocumentaiV1beta3CommonOperationMetadata.state /** - * Unspecified orientation. + * Operation is cancelled. * - * Value: "ORIENTATION_UNSPECIFIED" + * Value: "CANCELLED" */ -FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1beta1DocumentPageLayout_Orientation_OrientationUnspecified; +FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1beta3CommonOperationMetadata_State_Cancelled; /** - * Orientation is aligned with page down. Turn the head 180 degrees from - * upright to read. + * Operation is being cancelled. * - * Value: "PAGE_DOWN" + * Value: "CANCELLING" */ -FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1beta1DocumentPageLayout_Orientation_PageDown; +FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1beta3CommonOperationMetadata_State_Cancelling; /** - * Orientation is aligned with page left. Turn the head 90 degrees - * counterclockwise from upright to read. + * Operation failed. * - * Value: "PAGE_LEFT" + * Value: "FAILED" */ -FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1beta1DocumentPageLayout_Orientation_PageLeft; +FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1beta3CommonOperationMetadata_State_Failed; /** - * Orientation is aligned with page right. Turn the head 90 degrees clockwise - * from upright to read. + * Operation is still running. * - * Value: "PAGE_RIGHT" + * Value: "RUNNING" */ -FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1beta1DocumentPageLayout_Orientation_PageRight; +FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1beta3CommonOperationMetadata_State_Running; /** - * Orientation is aligned with page up. + * Unspecified state. * - * Value: "PAGE_UP" + * Value: "STATE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1beta3CommonOperationMetadata_State_StateUnspecified; +/** + * Operation succeeded. + * + * Value: "SUCCEEDED" */ -FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1beta1DocumentPageLayout_Orientation_PageUp; +FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1beta3CommonOperationMetadata_State_Succeeded; // ---------------------------------------------------------------------------- -// GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentPageTokenDetectedBreak.type +// GTLRDocument_GoogleCloudDocumentaiV1beta3Dataset.state /** - * A hyphen that indicates that a token has been split across lines. + * Dataset has been initialized. * - * Value: "HYPHEN" + * Value: "INITIALIZED" */ -FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1beta1DocumentPageTokenDetectedBreak_Type_Hyphen; +FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1beta3Dataset_State_Initialized; /** - * A single whitespace. + * Dataset is being initialized. * - * Value: "SPACE" + * Value: "INITIALIZING" */ -FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1beta1DocumentPageTokenDetectedBreak_Type_Space; +FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1beta3Dataset_State_Initializing; /** - * Unspecified break type. + * Default unspecified enum, should not be used. * - * Value: "TYPE_UNSPECIFIED" + * Value: "STATE_UNSPECIFIED" */ -FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1beta1DocumentPageTokenDetectedBreak_Type_TypeUnspecified; +FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1beta3Dataset_State_StateUnspecified; /** - * A wider whitespace. + * Dataset has not been initialized. * - * Value: "WIDE_SPACE" + * Value: "UNINITIALIZED" */ -FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1beta1DocumentPageTokenDetectedBreak_Type_WideSpace; +FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1beta3Dataset_State_Uninitialized; // ---------------------------------------------------------------------------- -// GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentProvenance.type +// GTLRDocument_GoogleCloudDocumentaiV1beta3HumanReviewStatus.state /** - * Add an element. + * Some error happened during triggering human review, see the state_message + * for details. * - * Value: "ADD" + * Value: "ERROR" */ -FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1beta1DocumentProvenance_Type_Add; +FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1beta3HumanReviewStatus_State_Error; /** - * Deprecated. Element is reviewed and approved at human review, confidence - * will be set to 1.0. + * Human review validation is triggered and the document is under review. * - * Value: "EVAL_APPROVED" + * Value: "IN_PROGRESS" */ -FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1beta1DocumentProvenance_Type_EvalApproved GTLR_DEPRECATED; +FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1beta3HumanReviewStatus_State_InProgress; /** - * Deprecated. Request human review for the element identified by `parent`. + * Human review is skipped for the document. This can happen because human + * review isn't enabled on the processor or the processing request has been set + * to skip this document. * - * Value: "EVAL_REQUESTED" + * Value: "SKIPPED" */ -FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1beta1DocumentProvenance_Type_EvalRequested GTLR_DEPRECATED; +FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1beta3HumanReviewStatus_State_Skipped; /** - * Deprecated. Element is skipped in the validation process. + * Human review state is unspecified. Most likely due to an internal error. * - * Value: "EVAL_SKIPPED" + * Value: "STATE_UNSPECIFIED" */ -FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1beta1DocumentProvenance_Type_EvalSkipped GTLR_DEPRECATED; +FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1beta3HumanReviewStatus_State_StateUnspecified; /** - * Operation type unspecified. If no operation is specified a provenance entry - * is simply used to match against a `parent`. + * Human review validation is triggered and passed, so no review is needed. * - * Value: "OPERATION_TYPE_UNSPECIFIED" + * Value: "VALIDATION_PASSED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1beta3HumanReviewStatus_State_ValidationPassed; + +// ---------------------------------------------------------------------------- +// GTLRDocument_GoogleCloudDocumentaiV1beta3ReviewDocumentOperationMetadata.state + +/** + * Operation is cancelled. + * + * Value: "CANCELLED" */ -FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1beta1DocumentProvenance_Type_OperationTypeUnspecified; +FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1beta3ReviewDocumentOperationMetadata_State_Cancelled; /** - * Remove an element identified by `parent`. + * Operation is being cancelled. * - * Value: "REMOVE" + * Value: "CANCELLING" */ -FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1beta1DocumentProvenance_Type_Remove; +FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1beta3ReviewDocumentOperationMetadata_State_Cancelling; /** - * Currently unused. Replace an element identified by `parent`. + * Operation failed. * - * Value: "REPLACE" + * Value: "FAILED" */ -FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1beta1DocumentProvenance_Type_Replace; +FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1beta3ReviewDocumentOperationMetadata_State_Failed; /** - * Updates any fields within the given provenance scope of the message. It - * overwrites the fields rather than replacing them. Use this when you want to - * update a field value of an entity without also updating all the child - * properties. + * Operation is still running. * - * Value: "UPDATE" + * Value: "RUNNING" + */ +FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1beta3ReviewDocumentOperationMetadata_State_Running; +/** + * Unspecified state. + * + * Value: "STATE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1beta3ReviewDocumentOperationMetadata_State_StateUnspecified; +/** + * Operation succeeded. + * + * Value: "SUCCEEDED" */ -FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1beta1DocumentProvenance_Type_Update; +FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1beta3ReviewDocumentOperationMetadata_State_Succeeded; // ---------------------------------------------------------------------------- -// GTLRDocument_GoogleCloudDocumentaiV1beta1OperationMetadata.state +// GTLRDocument_GoogleCloudDocumentaiV1beta3ReviewDocumentResponse.state /** - * Request is received. + * The review operation is rejected by the reviewer. * - * Value: "ACCEPTED" + * Value: "REJECTED" */ -FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1beta1OperationMetadata_State_Accepted; +FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1beta3ReviewDocumentResponse_State_Rejected; /** - * The batch processing was cancelled. + * The default value. This value is used if the state is omitted. + * + * Value: "STATE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1beta3ReviewDocumentResponse_State_StateUnspecified; +/** + * The review operation is succeeded. + * + * Value: "SUCCEEDED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1beta3ReviewDocumentResponse_State_Succeeded; + +// ---------------------------------------------------------------------------- +// GTLRDocument_GoogleCloudDocumentaiV1beta3RevisionRef.revisionCase + +/** + * The first (OCR) revision. + * + * Value: "BASE_OCR_REVISION" + */ +FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1beta3RevisionRef_RevisionCase_BaseOcrRevision; +/** + * The latest revision made by a human. + * + * Value: "LATEST_HUMAN_REVIEW" + */ +FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1beta3RevisionRef_RevisionCase_LatestHumanReview; +/** + * The latest revision based on timestamp. + * + * Value: "LATEST_TIMESTAMP" + */ +FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1beta3RevisionRef_RevisionCase_LatestTimestamp; +/** + * Unspecified case, fall back to read the `LATEST_HUMAN_REVIEW`. + * + * Value: "REVISION_CASE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1beta3RevisionRef_RevisionCase_RevisionCaseUnspecified; + +// ---------------------------------------------------------------------------- +// GTLRDocument_GoogleCloudDocumentaiV1CommonOperationMetadata.state + +/** + * Operation is cancelled. * * Value: "CANCELLED" */ -FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1beta1OperationMetadata_State_Cancelled; +FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1CommonOperationMetadata_State_Cancelled; /** - * The batch processing has failed. + * Operation is being cancelled. + * + * Value: "CANCELLING" + */ +FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1CommonOperationMetadata_State_Cancelling; +/** + * Operation failed. * * Value: "FAILED" */ -FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1beta1OperationMetadata_State_Failed; +FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1CommonOperationMetadata_State_Failed; /** - * Request is being processed. + * Operation is still running. * * Value: "RUNNING" */ -FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1beta1OperationMetadata_State_Running; +FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1CommonOperationMetadata_State_Running; /** - * The default value. This value is used if the state is omitted. + * Unspecified state. * * Value: "STATE_UNSPECIFIED" */ -FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1beta1OperationMetadata_State_StateUnspecified; +FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1CommonOperationMetadata_State_StateUnspecified; /** - * The batch processing completed successfully. + * Operation succeeded. * * Value: "SUCCEEDED" */ -FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1beta1OperationMetadata_State_Succeeded; -/** - * Request operation is waiting for scheduling. - * - * Value: "WAITING" - */ -FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1beta1OperationMetadata_State_Waiting; +FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1CommonOperationMetadata_State_Succeeded; // ---------------------------------------------------------------------------- -// GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentPageAnchorPageRef.layoutType +// GTLRDocument_GoogleCloudDocumentaiV1DocumentPageAnchorPageRef.layoutType /** * References a Page.blocks element. * * Value: "BLOCK" */ -FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1beta2DocumentPageAnchorPageRef_LayoutType_Block; +FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1DocumentPageAnchorPageRef_LayoutType_Block; /** * References a Page.form_fields element. * * Value: "FORM_FIELD" */ -FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1beta2DocumentPageAnchorPageRef_LayoutType_FormField; +FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1DocumentPageAnchorPageRef_LayoutType_FormField; /** * Layout Unspecified. * * Value: "LAYOUT_TYPE_UNSPECIFIED" */ -FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1beta2DocumentPageAnchorPageRef_LayoutType_LayoutTypeUnspecified; +FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1DocumentPageAnchorPageRef_LayoutType_LayoutTypeUnspecified; /** * References a Page.lines element. * * Value: "LINE" */ -FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1beta2DocumentPageAnchorPageRef_LayoutType_Line; +FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1DocumentPageAnchorPageRef_LayoutType_Line; /** * References a Page.paragraphs element. * * Value: "PARAGRAPH" */ -FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1beta2DocumentPageAnchorPageRef_LayoutType_Paragraph; +FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1DocumentPageAnchorPageRef_LayoutType_Paragraph; /** * Refrrences a Page.tables element. * * Value: "TABLE" */ -FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1beta2DocumentPageAnchorPageRef_LayoutType_Table; +FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1DocumentPageAnchorPageRef_LayoutType_Table; /** * References a Page.tokens element. * * Value: "TOKEN" */ -FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1beta2DocumentPageAnchorPageRef_LayoutType_Token; +FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1DocumentPageAnchorPageRef_LayoutType_Token; /** * References a Page.visual_elements element. * * Value: "VISUAL_ELEMENT" */ -FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1beta2DocumentPageAnchorPageRef_LayoutType_VisualElement; +FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1DocumentPageAnchorPageRef_LayoutType_VisualElement; // ---------------------------------------------------------------------------- -// GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentPageLayout.orientation +// GTLRDocument_GoogleCloudDocumentaiV1DocumentPageLayout.orientation /** * Unspecified orientation. * * Value: "ORIENTATION_UNSPECIFIED" */ -FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1beta2DocumentPageLayout_Orientation_OrientationUnspecified; +FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1DocumentPageLayout_Orientation_OrientationUnspecified; /** * Orientation is aligned with page down. Turn the head 180 degrees from * upright to read. * * Value: "PAGE_DOWN" */ -FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1beta2DocumentPageLayout_Orientation_PageDown; +FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1DocumentPageLayout_Orientation_PageDown; /** * Orientation is aligned with page left. Turn the head 90 degrees * counterclockwise from upright to read. * * Value: "PAGE_LEFT" */ -FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1beta2DocumentPageLayout_Orientation_PageLeft; +FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1DocumentPageLayout_Orientation_PageLeft; /** * Orientation is aligned with page right. Turn the head 90 degrees clockwise * from upright to read. * * Value: "PAGE_RIGHT" */ -FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1beta2DocumentPageLayout_Orientation_PageRight; +FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1DocumentPageLayout_Orientation_PageRight; /** * Orientation is aligned with page up. * * Value: "PAGE_UP" */ -FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1beta2DocumentPageLayout_Orientation_PageUp; +FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1DocumentPageLayout_Orientation_PageUp; // ---------------------------------------------------------------------------- -// GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentPageTokenDetectedBreak.type +// GTLRDocument_GoogleCloudDocumentaiV1DocumentPageTokenDetectedBreak.type /** * A hyphen that indicates that a token has been split across lines. * * Value: "HYPHEN" */ -FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1beta2DocumentPageTokenDetectedBreak_Type_Hyphen; +FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1DocumentPageTokenDetectedBreak_Type_Hyphen; /** * A single whitespace. * * Value: "SPACE" */ -FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1beta2DocumentPageTokenDetectedBreak_Type_Space; +FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1DocumentPageTokenDetectedBreak_Type_Space; /** * Unspecified break type. * * Value: "TYPE_UNSPECIFIED" */ -FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1beta2DocumentPageTokenDetectedBreak_Type_TypeUnspecified; +FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1DocumentPageTokenDetectedBreak_Type_TypeUnspecified; /** * A wider whitespace. * * Value: "WIDE_SPACE" */ -FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1beta2DocumentPageTokenDetectedBreak_Type_WideSpace; +FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1DocumentPageTokenDetectedBreak_Type_WideSpace; // ---------------------------------------------------------------------------- -// GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentProvenance.type +// GTLRDocument_GoogleCloudDocumentaiV1DocumentProvenance.type /** * Add an element. * * Value: "ADD" */ -FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1beta2DocumentProvenance_Type_Add; +FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1DocumentProvenance_Type_Add; /** * Deprecated. Element is reviewed and approved at human review, confidence * will be set to 1.0. * * Value: "EVAL_APPROVED" */ -FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1beta2DocumentProvenance_Type_EvalApproved GTLR_DEPRECATED; +FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1DocumentProvenance_Type_EvalApproved GTLR_DEPRECATED; /** * Deprecated. Request human review for the element identified by `parent`. * * Value: "EVAL_REQUESTED" */ -FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1beta2DocumentProvenance_Type_EvalRequested GTLR_DEPRECATED; +FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1DocumentProvenance_Type_EvalRequested GTLR_DEPRECATED; /** * Deprecated. Element is skipped in the validation process. * * Value: "EVAL_SKIPPED" */ -FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1beta2DocumentProvenance_Type_EvalSkipped GTLR_DEPRECATED; +FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1DocumentProvenance_Type_EvalSkipped GTLR_DEPRECATED; /** * Operation type unspecified. If no operation is specified a provenance entry * is simply used to match against a `parent`. * * Value: "OPERATION_TYPE_UNSPECIFIED" */ -FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1beta2DocumentProvenance_Type_OperationTypeUnspecified; +FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1DocumentProvenance_Type_OperationTypeUnspecified; /** * Remove an element identified by `parent`. * * Value: "REMOVE" */ -FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1beta2DocumentProvenance_Type_Remove; +FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1DocumentProvenance_Type_Remove; /** * Currently unused. Replace an element identified by `parent`. * * Value: "REPLACE" */ -FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1beta2DocumentProvenance_Type_Replace; +FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1DocumentProvenance_Type_Replace; /** * Updates any fields within the given provenance scope of the message. It * overwrites the fields rather than replacing them. Use this when you want to @@ -927,5456 +869,1364 @@ FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1beta2Doc * * Value: "UPDATE" */ -FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1beta2DocumentProvenance_Type_Update; +FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1DocumentProvenance_Type_Update; // ---------------------------------------------------------------------------- -// GTLRDocument_GoogleCloudDocumentaiV1beta2OperationMetadata.state +// GTLRDocument_GoogleCloudDocumentaiV1DocumentSchemaEntityTypeProperty.occurrenceType /** - * Request is received. + * Unspecified occurrence type. * - * Value: "ACCEPTED" + * Value: "OCCURRENCE_TYPE_UNSPECIFIED" */ -FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1beta2OperationMetadata_State_Accepted; +FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1DocumentSchemaEntityTypeProperty_OccurrenceType_OccurrenceTypeUnspecified; /** - * The batch processing was cancelled. + * The entity type will appear zero or multiple times. * - * Value: "CANCELLED" + * Value: "OPTIONAL_MULTIPLE" */ -FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1beta2OperationMetadata_State_Cancelled; +FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1DocumentSchemaEntityTypeProperty_OccurrenceType_OptionalMultiple; /** - * The batch processing has failed. + * There will be zero or one instance of this entity type. The same entity + * instance may be mentioned multiple times. * - * Value: "FAILED" + * Value: "OPTIONAL_ONCE" */ -FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1beta2OperationMetadata_State_Failed; +FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1DocumentSchemaEntityTypeProperty_OccurrenceType_OptionalOnce; /** - * Request is being processed. + * The entity type will appear once or more times. * - * Value: "RUNNING" + * Value: "REQUIRED_MULTIPLE" */ -FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1beta2OperationMetadata_State_Running; +FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1DocumentSchemaEntityTypeProperty_OccurrenceType_RequiredMultiple; /** - * The default value. This value is used if the state is omitted. + * The entity type will only appear exactly once. The same entity instance may + * be mentioned multiple times. * - * Value: "STATE_UNSPECIFIED" + * Value: "REQUIRED_ONCE" */ -FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1beta2OperationMetadata_State_StateUnspecified; +FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1DocumentSchemaEntityTypeProperty_OccurrenceType_RequiredOnce; + +// ---------------------------------------------------------------------------- +// GTLRDocument_GoogleCloudDocumentaiV1EvaluationMultiConfidenceMetrics.metricsType + /** - * The batch processing completed successfully. + * Indicates whether metrics for this particular label type represent an + * aggregate of metrics for other types instead of being based on actual + * TP/FP/FN values for the label type. Metrics for parent (i.e., non-leaf) + * entity types are an aggregate of metrics for their children. * - * Value: "SUCCEEDED" + * Value: "AGGREGATE" */ -FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1beta2OperationMetadata_State_Succeeded; +FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1EvaluationMultiConfidenceMetrics_MetricsType_Aggregate; /** - * Request operation is waiting for scheduling. + * The metrics type is unspecified. By default, metrics without a particular + * specification are for leaf entity types (i.e., top-level entity types + * without child types, or child types which are not parent types themselves). * - * Value: "WAITING" + * Value: "METRICS_TYPE_UNSPECIFIED" */ -FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1beta2OperationMetadata_State_Waiting; +FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1EvaluationMultiConfidenceMetrics_MetricsType_MetricsTypeUnspecified; // ---------------------------------------------------------------------------- -// GTLRDocument_GoogleCloudDocumentaiV1beta3BatchProcessMetadata.state +// GTLRDocument_GoogleCloudDocumentaiV1HumanReviewStatus.state /** - * The batch processing was cancelled. + * Some error happened during triggering human review, see the state_message + * for details. * - * Value: "CANCELLED" + * Value: "ERROR" */ -FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1beta3BatchProcessMetadata_State_Cancelled; +FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1HumanReviewStatus_State_Error; /** - * The batch processing was being cancelled. + * Human review validation is triggered and the document is under review. * - * Value: "CANCELLING" + * Value: "IN_PROGRESS" */ -FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1beta3BatchProcessMetadata_State_Cancelling; +FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1HumanReviewStatus_State_InProgress; /** - * The batch processing has failed. + * Human review is skipped for the document. This can happen because human + * review isn't enabled on the processor or the processing request has been set + * to skip this document. * - * Value: "FAILED" + * Value: "SKIPPED" */ -FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1beta3BatchProcessMetadata_State_Failed; +FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1HumanReviewStatus_State_Skipped; /** - * Request is being processed. + * Human review state is unspecified. Most likely due to an internal error. * - * Value: "RUNNING" + * Value: "STATE_UNSPECIFIED" */ -FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1beta3BatchProcessMetadata_State_Running; +FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1HumanReviewStatus_State_StateUnspecified; /** - * The default value. This value is used if the state is omitted. + * Human review validation is triggered and passed, so no review is needed. * - * Value: "STATE_UNSPECIFIED" + * Value: "VALIDATION_PASSED" */ -FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1beta3BatchProcessMetadata_State_StateUnspecified; +FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1HumanReviewStatus_State_ValidationPassed; + +// ---------------------------------------------------------------------------- +// GTLRDocument_GoogleCloudDocumentaiV1Processor.state + /** - * The batch processing completed successfully. + * The processor is being created, will become either `ENABLED` (for successful + * creation) or `FAILED` (for failed ones). Once a processor is in this state, + * it can then be used for document processing, but the feature dependencies of + * the processor might not be fully created yet. * - * Value: "SUCCEEDED" + * Value: "CREATING" */ -FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1beta3BatchProcessMetadata_State_Succeeded; +FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1Processor_State_Creating; /** - * Request operation is waiting for scheduling. + * The processor is being deleted, will be removed if successful. * - * Value: "WAITING" + * Value: "DELETING" */ -FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1beta3BatchProcessMetadata_State_Waiting; - -// ---------------------------------------------------------------------------- -// GTLRDocument_GoogleCloudDocumentaiV1beta3CommonOperationMetadata.state - +FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1Processor_State_Deleting; /** - * Operation is cancelled. + * The processor is disabled. * - * Value: "CANCELLED" + * Value: "DISABLED" */ -FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1beta3CommonOperationMetadata_State_Cancelled; +FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1Processor_State_Disabled; /** - * Operation is being cancelled. + * The processor is being disabled, will become `DISABLED` if successful. * - * Value: "CANCELLING" + * Value: "DISABLING" */ -FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1beta3CommonOperationMetadata_State_Cancelling; +FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1Processor_State_Disabling; /** - * Operation failed. + * The processor is enabled, i.e., has an enabled version which can currently + * serve processing requests and all the feature dependencies have been + * successfully initialized. * - * Value: "FAILED" + * Value: "ENABLED" */ -FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1beta3CommonOperationMetadata_State_Failed; +FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1Processor_State_Enabled; /** - * Operation is still running. + * The processor is being enabled, will become `ENABLED` if successful. * - * Value: "RUNNING" + * Value: "ENABLING" */ -FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1beta3CommonOperationMetadata_State_Running; +FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1Processor_State_Enabling; /** - * Unspecified state. + * The processor failed during creation or initialization of feature + * dependencies. The user should delete the processor and recreate one as all + * the functionalities of the processor are disabled. * - * Value: "STATE_UNSPECIFIED" + * Value: "FAILED" */ -FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1beta3CommonOperationMetadata_State_StateUnspecified; +FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1Processor_State_Failed; /** - * Operation succeeded. + * The processor is in an unspecified state. * - * Value: "SUCCEEDED" + * Value: "STATE_UNSPECIFIED" */ -FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1beta3CommonOperationMetadata_State_Succeeded; +FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1Processor_State_StateUnspecified; // ---------------------------------------------------------------------------- -// GTLRDocument_GoogleCloudDocumentaiV1beta3Dataset.state +// GTLRDocument_GoogleCloudDocumentaiV1ProcessorType.launchStage /** - * Dataset has been initialized. - * - * Value: "INITIALIZED" - */ -FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1beta3Dataset_State_Initialized; -/** - * Dataset is being initialized. + * Alpha is a limited availability test for releases before they are cleared + * for widespread use. By Alpha, all significant design issues are resolved and + * we are in the process of verifying functionality. Alpha customers need to + * apply for access, agree to applicable terms, and have their projects + * allowlisted. Alpha releases don't have to be feature complete, no SLAs are + * provided, and there are no technical support obligations, but they will be + * far enough along that customers can actually use them in test environments + * or for limited-use tests -- just like they would in normal production cases. * - * Value: "INITIALIZING" + * Value: "ALPHA" */ -FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1beta3Dataset_State_Initializing; +FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1ProcessorType_LaunchStage_Alpha; /** - * Default unspecified enum, should not be used. + * Beta is the point at which we are ready to open a release for any customer + * to use. There are no SLA or technical support obligations in a Beta release. + * Products will be complete from a feature perspective, but may have some open + * outstanding issues. Beta releases are suitable for limited production use + * cases. * - * Value: "STATE_UNSPECIFIED" + * Value: "BETA" */ -FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1beta3Dataset_State_StateUnspecified; +FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1ProcessorType_LaunchStage_Beta; /** - * Dataset has not been initialized. + * Deprecated features are scheduled to be shut down and removed. For more + * information, see the "Deprecation Policy" section of our [Terms of + * Service](https://cloud.google.com/terms/) and the [Google Cloud Platform + * Subject to the Deprecation + * Policy](https://cloud.google.com/terms/deprecation) documentation. * - * Value: "UNINITIALIZED" + * Value: "DEPRECATED" */ -FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1beta3Dataset_State_Uninitialized; - -// ---------------------------------------------------------------------------- -// GTLRDocument_GoogleCloudDocumentaiV1beta3HumanReviewStatus.state - +FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1ProcessorType_LaunchStage_Deprecated; /** - * Some error happened during triggering human review, see the state_message - * for details. + * Early Access features are limited to a closed group of testers. To use these + * features, you must sign up in advance and sign a Trusted Tester agreement + * (which includes confidentiality provisions). These features may be unstable, + * changed in backward-incompatible ways, and are not guaranteed to be + * released. * - * Value: "ERROR" + * Value: "EARLY_ACCESS" */ -FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1beta3HumanReviewStatus_State_Error; +FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1ProcessorType_LaunchStage_EarlyAccess; /** - * Human review validation is triggered and the document is under review. + * GA features are open to all developers and are considered stable and fully + * qualified for production use. * - * Value: "IN_PROGRESS" + * Value: "GA" */ -FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1beta3HumanReviewStatus_State_InProgress; +FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1ProcessorType_LaunchStage_Ga; /** - * Human review is skipped for the document. This can happen because human - * review isn't enabled on the processor or the processing request has been set - * to skip this document. + * Do not use this default value. * - * Value: "SKIPPED" + * Value: "LAUNCH_STAGE_UNSPECIFIED" */ -FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1beta3HumanReviewStatus_State_Skipped; +FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1ProcessorType_LaunchStage_LaunchStageUnspecified; /** - * Human review state is unspecified. Most likely due to an internal error. + * Prelaunch features are hidden from users and are only visible internally. * - * Value: "STATE_UNSPECIFIED" + * Value: "PRELAUNCH" */ -FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1beta3HumanReviewStatus_State_StateUnspecified; +FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1ProcessorType_LaunchStage_Prelaunch; /** - * Human review validation is triggered and passed, so no review is needed. + * The feature is not yet implemented. Users can not use it. * - * Value: "VALIDATION_PASSED" + * Value: "UNIMPLEMENTED" */ -FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1beta3HumanReviewStatus_State_ValidationPassed; +FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1ProcessorType_LaunchStage_Unimplemented; // ---------------------------------------------------------------------------- -// GTLRDocument_GoogleCloudDocumentaiV1beta3ReviewDocumentOperationMetadata.state +// GTLRDocument_GoogleCloudDocumentaiV1ProcessorVersion.modelType /** - * Operation is cancelled. + * The processor version has custom model type. * - * Value: "CANCELLED" + * Value: "MODEL_TYPE_CUSTOM" */ -FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1beta3ReviewDocumentOperationMetadata_State_Cancelled; +FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1ProcessorVersion_ModelType_ModelTypeCustom; /** - * Operation is being cancelled. + * The processor version has generative model type. * - * Value: "CANCELLING" + * Value: "MODEL_TYPE_GENERATIVE" */ -FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1beta3ReviewDocumentOperationMetadata_State_Cancelling; +FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1ProcessorVersion_ModelType_ModelTypeGenerative; /** - * Operation failed. - * - * Value: "FAILED" - */ -FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1beta3ReviewDocumentOperationMetadata_State_Failed; -/** - * Operation is still running. - * - * Value: "RUNNING" - */ -FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1beta3ReviewDocumentOperationMetadata_State_Running; -/** - * Unspecified state. - * - * Value: "STATE_UNSPECIFIED" - */ -FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1beta3ReviewDocumentOperationMetadata_State_StateUnspecified; -/** - * Operation succeeded. - * - * Value: "SUCCEEDED" - */ -FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1beta3ReviewDocumentOperationMetadata_State_Succeeded; - -// ---------------------------------------------------------------------------- -// GTLRDocument_GoogleCloudDocumentaiV1beta3ReviewDocumentResponse.state - -/** - * The review operation is rejected by the reviewer. - * - * Value: "REJECTED" - */ -FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1beta3ReviewDocumentResponse_State_Rejected; -/** - * The default value. This value is used if the state is omitted. - * - * Value: "STATE_UNSPECIFIED" - */ -FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1beta3ReviewDocumentResponse_State_StateUnspecified; -/** - * The review operation is succeeded. - * - * Value: "SUCCEEDED" - */ -FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1beta3ReviewDocumentResponse_State_Succeeded; - -// ---------------------------------------------------------------------------- -// GTLRDocument_GoogleCloudDocumentaiV1beta3RevisionRef.revisionCase - -/** - * The first (OCR) revision. - * - * Value: "BASE_OCR_REVISION" - */ -FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1beta3RevisionRef_RevisionCase_BaseOcrRevision; -/** - * The latest revision made by a human. - * - * Value: "LATEST_HUMAN_REVIEW" - */ -FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1beta3RevisionRef_RevisionCase_LatestHumanReview; -/** - * The latest revision based on timestamp. - * - * Value: "LATEST_TIMESTAMP" - */ -FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1beta3RevisionRef_RevisionCase_LatestTimestamp; -/** - * Unspecified case, fall back to read the `LATEST_HUMAN_REVIEW`. - * - * Value: "REVISION_CASE_UNSPECIFIED" - */ -FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1beta3RevisionRef_RevisionCase_RevisionCaseUnspecified; - -// ---------------------------------------------------------------------------- -// GTLRDocument_GoogleCloudDocumentaiV1CommonOperationMetadata.state - -/** - * Operation is cancelled. - * - * Value: "CANCELLED" - */ -FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1CommonOperationMetadata_State_Cancelled; -/** - * Operation is being cancelled. - * - * Value: "CANCELLING" - */ -FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1CommonOperationMetadata_State_Cancelling; -/** - * Operation failed. - * - * Value: "FAILED" - */ -FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1CommonOperationMetadata_State_Failed; -/** - * Operation is still running. - * - * Value: "RUNNING" - */ -FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1CommonOperationMetadata_State_Running; -/** - * Unspecified state. - * - * Value: "STATE_UNSPECIFIED" - */ -FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1CommonOperationMetadata_State_StateUnspecified; -/** - * Operation succeeded. - * - * Value: "SUCCEEDED" - */ -FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1CommonOperationMetadata_State_Succeeded; - -// ---------------------------------------------------------------------------- -// GTLRDocument_GoogleCloudDocumentaiV1DocumentPageAnchorPageRef.layoutType - -/** - * References a Page.blocks element. - * - * Value: "BLOCK" - */ -FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1DocumentPageAnchorPageRef_LayoutType_Block; -/** - * References a Page.form_fields element. - * - * Value: "FORM_FIELD" - */ -FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1DocumentPageAnchorPageRef_LayoutType_FormField; -/** - * Layout Unspecified. - * - * Value: "LAYOUT_TYPE_UNSPECIFIED" - */ -FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1DocumentPageAnchorPageRef_LayoutType_LayoutTypeUnspecified; -/** - * References a Page.lines element. - * - * Value: "LINE" - */ -FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1DocumentPageAnchorPageRef_LayoutType_Line; -/** - * References a Page.paragraphs element. - * - * Value: "PARAGRAPH" - */ -FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1DocumentPageAnchorPageRef_LayoutType_Paragraph; -/** - * Refrrences a Page.tables element. - * - * Value: "TABLE" - */ -FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1DocumentPageAnchorPageRef_LayoutType_Table; -/** - * References a Page.tokens element. - * - * Value: "TOKEN" - */ -FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1DocumentPageAnchorPageRef_LayoutType_Token; -/** - * References a Page.visual_elements element. - * - * Value: "VISUAL_ELEMENT" - */ -FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1DocumentPageAnchorPageRef_LayoutType_VisualElement; - -// ---------------------------------------------------------------------------- -// GTLRDocument_GoogleCloudDocumentaiV1DocumentPageLayout.orientation - -/** - * Unspecified orientation. - * - * Value: "ORIENTATION_UNSPECIFIED" - */ -FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1DocumentPageLayout_Orientation_OrientationUnspecified; -/** - * Orientation is aligned with page down. Turn the head 180 degrees from - * upright to read. - * - * Value: "PAGE_DOWN" - */ -FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1DocumentPageLayout_Orientation_PageDown; -/** - * Orientation is aligned with page left. Turn the head 90 degrees - * counterclockwise from upright to read. - * - * Value: "PAGE_LEFT" - */ -FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1DocumentPageLayout_Orientation_PageLeft; -/** - * Orientation is aligned with page right. Turn the head 90 degrees clockwise - * from upright to read. - * - * Value: "PAGE_RIGHT" - */ -FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1DocumentPageLayout_Orientation_PageRight; -/** - * Orientation is aligned with page up. - * - * Value: "PAGE_UP" - */ -FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1DocumentPageLayout_Orientation_PageUp; - -// ---------------------------------------------------------------------------- -// GTLRDocument_GoogleCloudDocumentaiV1DocumentPageTokenDetectedBreak.type - -/** - * A hyphen that indicates that a token has been split across lines. - * - * Value: "HYPHEN" - */ -FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1DocumentPageTokenDetectedBreak_Type_Hyphen; -/** - * A single whitespace. - * - * Value: "SPACE" - */ -FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1DocumentPageTokenDetectedBreak_Type_Space; -/** - * Unspecified break type. - * - * Value: "TYPE_UNSPECIFIED" - */ -FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1DocumentPageTokenDetectedBreak_Type_TypeUnspecified; -/** - * A wider whitespace. - * - * Value: "WIDE_SPACE" - */ -FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1DocumentPageTokenDetectedBreak_Type_WideSpace; - -// ---------------------------------------------------------------------------- -// GTLRDocument_GoogleCloudDocumentaiV1DocumentProvenance.type - -/** - * Add an element. - * - * Value: "ADD" - */ -FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1DocumentProvenance_Type_Add; -/** - * Deprecated. Element is reviewed and approved at human review, confidence - * will be set to 1.0. - * - * Value: "EVAL_APPROVED" - */ -FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1DocumentProvenance_Type_EvalApproved GTLR_DEPRECATED; -/** - * Deprecated. Request human review for the element identified by `parent`. - * - * Value: "EVAL_REQUESTED" - */ -FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1DocumentProvenance_Type_EvalRequested GTLR_DEPRECATED; -/** - * Deprecated. Element is skipped in the validation process. - * - * Value: "EVAL_SKIPPED" - */ -FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1DocumentProvenance_Type_EvalSkipped GTLR_DEPRECATED; -/** - * Operation type unspecified. If no operation is specified a provenance entry - * is simply used to match against a `parent`. - * - * Value: "OPERATION_TYPE_UNSPECIFIED" - */ -FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1DocumentProvenance_Type_OperationTypeUnspecified; -/** - * Remove an element identified by `parent`. - * - * Value: "REMOVE" - */ -FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1DocumentProvenance_Type_Remove; -/** - * Currently unused. Replace an element identified by `parent`. - * - * Value: "REPLACE" - */ -FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1DocumentProvenance_Type_Replace; -/** - * Updates any fields within the given provenance scope of the message. It - * overwrites the fields rather than replacing them. Use this when you want to - * update a field value of an entity without also updating all the child - * properties. - * - * Value: "UPDATE" - */ -FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1DocumentProvenance_Type_Update; - -// ---------------------------------------------------------------------------- -// GTLRDocument_GoogleCloudDocumentaiV1DocumentSchemaEntityTypeProperty.occurrenceType - -/** - * Unspecified occurrence type. - * - * Value: "OCCURRENCE_TYPE_UNSPECIFIED" - */ -FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1DocumentSchemaEntityTypeProperty_OccurrenceType_OccurrenceTypeUnspecified; -/** - * The entity type will appear zero or multiple times. - * - * Value: "OPTIONAL_MULTIPLE" - */ -FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1DocumentSchemaEntityTypeProperty_OccurrenceType_OptionalMultiple; -/** - * There will be zero or one instance of this entity type. The same entity - * instance may be mentioned multiple times. - * - * Value: "OPTIONAL_ONCE" - */ -FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1DocumentSchemaEntityTypeProperty_OccurrenceType_OptionalOnce; -/** - * The entity type will appear once or more times. - * - * Value: "REQUIRED_MULTIPLE" - */ -FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1DocumentSchemaEntityTypeProperty_OccurrenceType_RequiredMultiple; -/** - * The entity type will only appear exactly once. The same entity instance may - * be mentioned multiple times. - * - * Value: "REQUIRED_ONCE" - */ -FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1DocumentSchemaEntityTypeProperty_OccurrenceType_RequiredOnce; - -// ---------------------------------------------------------------------------- -// GTLRDocument_GoogleCloudDocumentaiV1EvaluationMultiConfidenceMetrics.metricsType - -/** - * Indicates whether metrics for this particular label type represent an - * aggregate of metrics for other types instead of being based on actual - * TP/FP/FN values for the label type. Metrics for parent (i.e., non-leaf) - * entity types are an aggregate of metrics for their children. - * - * Value: "AGGREGATE" - */ -FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1EvaluationMultiConfidenceMetrics_MetricsType_Aggregate; -/** - * The metrics type is unspecified. By default, metrics without a particular - * specification are for leaf entity types (i.e., top-level entity types - * without child types, or child types which are not parent types themselves). - * - * Value: "METRICS_TYPE_UNSPECIFIED" - */ -FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1EvaluationMultiConfidenceMetrics_MetricsType_MetricsTypeUnspecified; - -// ---------------------------------------------------------------------------- -// GTLRDocument_GoogleCloudDocumentaiV1HumanReviewStatus.state - -/** - * Some error happened during triggering human review, see the state_message - * for details. - * - * Value: "ERROR" - */ -FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1HumanReviewStatus_State_Error; -/** - * Human review validation is triggered and the document is under review. - * - * Value: "IN_PROGRESS" - */ -FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1HumanReviewStatus_State_InProgress; -/** - * Human review is skipped for the document. This can happen because human - * review isn't enabled on the processor or the processing request has been set - * to skip this document. - * - * Value: "SKIPPED" - */ -FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1HumanReviewStatus_State_Skipped; -/** - * Human review state is unspecified. Most likely due to an internal error. - * - * Value: "STATE_UNSPECIFIED" - */ -FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1HumanReviewStatus_State_StateUnspecified; -/** - * Human review validation is triggered and passed, so no review is needed. - * - * Value: "VALIDATION_PASSED" - */ -FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1HumanReviewStatus_State_ValidationPassed; - -// ---------------------------------------------------------------------------- -// GTLRDocument_GoogleCloudDocumentaiV1Processor.state - -/** - * The processor is being created, will become either `ENABLED` (for successful - * creation) or `FAILED` (for failed ones). Once a processor is in this state, - * it can then be used for document processing, but the feature dependencies of - * the processor might not be fully created yet. - * - * Value: "CREATING" - */ -FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1Processor_State_Creating; -/** - * The processor is being deleted, will be removed if successful. - * - * Value: "DELETING" - */ -FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1Processor_State_Deleting; -/** - * The processor is disabled. - * - * Value: "DISABLED" - */ -FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1Processor_State_Disabled; -/** - * The processor is being disabled, will become `DISABLED` if successful. - * - * Value: "DISABLING" - */ -FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1Processor_State_Disabling; -/** - * The processor is enabled, i.e., has an enabled version which can currently - * serve processing requests and all the feature dependencies have been - * successfully initialized. - * - * Value: "ENABLED" - */ -FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1Processor_State_Enabled; -/** - * The processor is being enabled, will become `ENABLED` if successful. - * - * Value: "ENABLING" - */ -FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1Processor_State_Enabling; -/** - * The processor failed during creation or initialization of feature - * dependencies. The user should delete the processor and recreate one as all - * the functionalities of the processor are disabled. - * - * Value: "FAILED" - */ -FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1Processor_State_Failed; -/** - * The processor is in an unspecified state. - * - * Value: "STATE_UNSPECIFIED" - */ -FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1Processor_State_StateUnspecified; - -// ---------------------------------------------------------------------------- -// GTLRDocument_GoogleCloudDocumentaiV1ProcessorType.launchStage - -/** - * Alpha is a limited availability test for releases before they are cleared - * for widespread use. By Alpha, all significant design issues are resolved and - * we are in the process of verifying functionality. Alpha customers need to - * apply for access, agree to applicable terms, and have their projects - * allowlisted. Alpha releases don't have to be feature complete, no SLAs are - * provided, and there are no technical support obligations, but they will be - * far enough along that customers can actually use them in test environments - * or for limited-use tests -- just like they would in normal production cases. - * - * Value: "ALPHA" - */ -FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1ProcessorType_LaunchStage_Alpha; -/** - * Beta is the point at which we are ready to open a release for any customer - * to use. There are no SLA or technical support obligations in a Beta release. - * Products will be complete from a feature perspective, but may have some open - * outstanding issues. Beta releases are suitable for limited production use - * cases. - * - * Value: "BETA" - */ -FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1ProcessorType_LaunchStage_Beta; -/** - * Deprecated features are scheduled to be shut down and removed. For more - * information, see the "Deprecation Policy" section of our [Terms of - * Service](https://cloud.google.com/terms/) and the [Google Cloud Platform - * Subject to the Deprecation - * Policy](https://cloud.google.com/terms/deprecation) documentation. - * - * Value: "DEPRECATED" - */ -FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1ProcessorType_LaunchStage_Deprecated; -/** - * Early Access features are limited to a closed group of testers. To use these - * features, you must sign up in advance and sign a Trusted Tester agreement - * (which includes confidentiality provisions). These features may be unstable, - * changed in backward-incompatible ways, and are not guaranteed to be - * released. - * - * Value: "EARLY_ACCESS" - */ -FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1ProcessorType_LaunchStage_EarlyAccess; -/** - * GA features are open to all developers and are considered stable and fully - * qualified for production use. - * - * Value: "GA" - */ -FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1ProcessorType_LaunchStage_Ga; -/** - * Do not use this default value. - * - * Value: "LAUNCH_STAGE_UNSPECIFIED" - */ -FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1ProcessorType_LaunchStage_LaunchStageUnspecified; -/** - * Prelaunch features are hidden from users and are only visible internally. - * - * Value: "PRELAUNCH" - */ -FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1ProcessorType_LaunchStage_Prelaunch; -/** - * The feature is not yet implemented. Users can not use it. - * - * Value: "UNIMPLEMENTED" - */ -FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1ProcessorType_LaunchStage_Unimplemented; - -// ---------------------------------------------------------------------------- -// GTLRDocument_GoogleCloudDocumentaiV1ProcessorVersion.modelType - -/** - * The processor version has custom model type. - * - * Value: "MODEL_TYPE_CUSTOM" - */ -FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1ProcessorVersion_ModelType_ModelTypeCustom; -/** - * The processor version has generative model type. - * - * Value: "MODEL_TYPE_GENERATIVE" - */ -FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1ProcessorVersion_ModelType_ModelTypeGenerative; -/** - * The processor version has unspecified model type. - * - * Value: "MODEL_TYPE_UNSPECIFIED" - */ -FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1ProcessorVersion_ModelType_ModelTypeUnspecified; - -// ---------------------------------------------------------------------------- -// GTLRDocument_GoogleCloudDocumentaiV1ProcessorVersion.state - -/** - * The processor version is being created. - * - * Value: "CREATING" - */ -FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1ProcessorVersion_State_Creating; -/** - * The processor version is being deleted. - * - * Value: "DELETING" - */ -FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1ProcessorVersion_State_Deleting; -/** - * The processor version is deployed and can be used for processing. - * - * Value: "DEPLOYED" - */ -FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1ProcessorVersion_State_Deployed; -/** - * The processor version is being deployed. - * - * Value: "DEPLOYING" - */ -FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1ProcessorVersion_State_Deploying; -/** - * The processor version failed and is in an indeterminate state. - * - * Value: "FAILED" - */ -FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1ProcessorVersion_State_Failed; -/** - * The processor version is being imported. - * - * Value: "IMPORTING" - */ -FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1ProcessorVersion_State_Importing; -/** - * The processor version is in an unspecified state. - * - * Value: "STATE_UNSPECIFIED" - */ -FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1ProcessorVersion_State_StateUnspecified; -/** - * The processor version is not deployed and cannot be used for processing. - * - * Value: "UNDEPLOYED" - */ -FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1ProcessorVersion_State_Undeployed; -/** - * The processor version is being undeployed. - * - * Value: "UNDEPLOYING" - */ -FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1ProcessorVersion_State_Undeploying; - -// ---------------------------------------------------------------------------- -// GTLRDocument_GoogleCloudDocumentaiV1ProcessorVersionGenAiModelInfoCustomGenAiModelInfo.customModelType - -/** - * The model type is unspecified. - * - * Value: "CUSTOM_MODEL_TYPE_UNSPECIFIED" - */ -FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1ProcessorVersionGenAiModelInfoCustomGenAiModelInfo_CustomModelType_CustomModelTypeUnspecified; -/** - * The model is a finetuned foundation model. - * - * Value: "FINE_TUNED" - */ -FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1ProcessorVersionGenAiModelInfoCustomGenAiModelInfo_CustomModelType_FineTuned; -/** - * The model is a versioned foundation model. - * - * Value: "VERSIONED_FOUNDATION" - */ -FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1ProcessorVersionGenAiModelInfoCustomGenAiModelInfo_CustomModelType_VersionedFoundation; - -// ---------------------------------------------------------------------------- -// GTLRDocument_GoogleCloudDocumentaiV1ReviewDocumentRequest.priority - -/** - * The default priority level. - * - * Value: "DEFAULT" - */ -FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1ReviewDocumentRequest_Priority_Default; -/** - * The urgent priority level. The labeling manager should allocate labeler - * resource to the urgent task queue to respect this priority level. - * - * Value: "URGENT" - */ -FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1ReviewDocumentRequest_Priority_Urgent; - -// ---------------------------------------------------------------------------- -// GTLRDocument_GoogleCloudDocumentaiV1ReviewDocumentResponse.state - -/** - * The review operation is rejected by the reviewer. - * - * Value: "REJECTED" - */ -FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1ReviewDocumentResponse_State_Rejected; -/** - * The default value. This value is used if the state is omitted. - * - * Value: "STATE_UNSPECIFIED" - */ -FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1ReviewDocumentResponse_State_StateUnspecified; -/** - * The review operation is succeeded. - * - * Value: "SUCCEEDED" - */ -FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1ReviewDocumentResponse_State_Succeeded; - -// ---------------------------------------------------------------------------- -// GTLRDocument_GoogleCloudDocumentaiV1TrainProcessorVersionRequestCustomDocumentExtractionOptions.trainingMethod - -/** Value: "MODEL_BASED" */ -FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1TrainProcessorVersionRequestCustomDocumentExtractionOptions_TrainingMethod_ModelBased; -/** Value: "TEMPLATE_BASED" */ -FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1TrainProcessorVersionRequestCustomDocumentExtractionOptions_TrainingMethod_TemplateBased; -/** Value: "TRAINING_METHOD_UNSPECIFIED" */ -FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1TrainProcessorVersionRequestCustomDocumentExtractionOptions_TrainingMethod_TrainingMethodUnspecified; - -/** - * Metadata of the auto-labeling documents operation. - */ -@interface GTLRDocument_GoogleCloudDocumentaiUiv1beta3AutoLabelDocumentsMetadata : GTLRObject - -/** The basic metadata of the long-running operation. */ -@property(nonatomic, strong, nullable) GTLRDocument_GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata *commonMetadata; - -/** The list of individual auto-labeling statuses of the dataset documents. */ -@property(nonatomic, strong, nullable) NSArray *individualAutoLabelStatuses; - -/** - * Total number of the auto-labeling documents. - * - * Uses NSNumber of intValue. - */ -@property(nonatomic, strong, nullable) NSNumber *totalDocumentCount; - -@end - - -/** - * The status of individual documents in the auto-labeling process. - */ -@interface GTLRDocument_GoogleCloudDocumentaiUiv1beta3AutoLabelDocumentsMetadataIndividualAutoLabelStatus : GTLRObject - -/** - * The document id of the auto-labeled document. This will replace the gcs_uri. - */ -@property(nonatomic, strong, nullable) GTLRDocument_GoogleCloudDocumentaiUiv1beta3DocumentId *documentId; - -/** The status of the document auto-labeling. */ -@property(nonatomic, strong, nullable) GTLRDocument_GoogleRpcStatus *status; - -@end - - -/** - * The response proto of AutoLabelDocuments method. - */ -@interface GTLRDocument_GoogleCloudDocumentaiUiv1beta3AutoLabelDocumentsResponse : GTLRObject -@end - - -/** - * GTLRDocument_GoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsMetadata - */ -@interface GTLRDocument_GoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsMetadata : GTLRObject - -/** The basic metadata of the long-running operation. */ -@property(nonatomic, strong, nullable) GTLRDocument_GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata *commonMetadata; - -/** - * Total number of documents that failed to be deleted in storage. - * - * Uses NSNumber of intValue. - */ -@property(nonatomic, strong, nullable) NSNumber *errorDocumentCount; - -/** The list of response details of each document. */ -@property(nonatomic, strong, nullable) NSArray *individualBatchDeleteStatuses; - -/** - * Total number of documents deleting from dataset. - * - * Uses NSNumber of intValue. - */ -@property(nonatomic, strong, nullable) NSNumber *totalDocumentCount; - -@end - - -/** - * The status of each individual document in the batch delete process. - */ -@interface GTLRDocument_GoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsMetadataIndividualBatchDeleteStatus : GTLRObject - -/** The document id of the document. */ -@property(nonatomic, strong, nullable) GTLRDocument_GoogleCloudDocumentaiUiv1beta3DocumentId *documentId; - -/** The status of deleting the document in storage. */ -@property(nonatomic, strong, nullable) GTLRDocument_GoogleRpcStatus *status; - -@end - - -/** - * Response of the delete documents operation. - */ -@interface GTLRDocument_GoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsResponse : GTLRObject -@end - - -/** - * GTLRDocument_GoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsMetadata - */ -@interface GTLRDocument_GoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsMetadata : GTLRObject - -/** The basic metadata of the long-running operation. */ -@property(nonatomic, strong, nullable) GTLRDocument_GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata *commonMetadata; - -/** - * The destination dataset split type. - * - * Likely values: - * @arg @c kGTLRDocument_GoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsMetadata_DestDatasetType_DatasetSplitTest - * Identifies the test documents. (Value: "DATASET_SPLIT_TEST") - * @arg @c kGTLRDocument_GoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsMetadata_DestDatasetType_DatasetSplitTrain - * Identifies the train documents. (Value: "DATASET_SPLIT_TRAIN") - * @arg @c kGTLRDocument_GoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsMetadata_DestDatasetType_DatasetSplitTypeUnspecified - * Default value if the enum is not set. (Value: - * "DATASET_SPLIT_TYPE_UNSPECIFIED") - * @arg @c kGTLRDocument_GoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsMetadata_DestDatasetType_DatasetSplitUnassigned - * Identifies the unassigned documents. (Value: - * "DATASET_SPLIT_UNASSIGNED") - */ -@property(nonatomic, copy, nullable) NSString *destDatasetType GTLR_DEPRECATED; - -/** - * The destination dataset split type. - * - * Likely values: - * @arg @c kGTLRDocument_GoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsMetadata_DestSplitType_DatasetSplitTest - * Identifies the test documents. (Value: "DATASET_SPLIT_TEST") - * @arg @c kGTLRDocument_GoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsMetadata_DestSplitType_DatasetSplitTrain - * Identifies the train documents. (Value: "DATASET_SPLIT_TRAIN") - * @arg @c kGTLRDocument_GoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsMetadata_DestSplitType_DatasetSplitTypeUnspecified - * Default value if the enum is not set. (Value: - * "DATASET_SPLIT_TYPE_UNSPECIFIED") - * @arg @c kGTLRDocument_GoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsMetadata_DestSplitType_DatasetSplitUnassigned - * Identifies the unassigned documents. (Value: - * "DATASET_SPLIT_UNASSIGNED") - */ -@property(nonatomic, copy, nullable) NSString *destSplitType; - -/** The list of response details of each document. */ -@property(nonatomic, strong, nullable) NSArray *individualBatchMoveStatuses; - -@end - - -/** - * The status of each individual document in the batch move process. - */ -@interface GTLRDocument_GoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsMetadataIndividualBatchMoveStatus : GTLRObject - -/** The document id of the document. */ -@property(nonatomic, strong, nullable) GTLRDocument_GoogleCloudDocumentaiUiv1beta3DocumentId *documentId; - -/** The status of moving the document. */ -@property(nonatomic, strong, nullable) GTLRDocument_GoogleRpcStatus *status; - -@end - - -/** - * Response of the batch move documents operation. - */ -@interface GTLRDocument_GoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsResponse : GTLRObject -@end - - -/** - * GTLRDocument_GoogleCloudDocumentaiUiv1beta3BatchUpdateDocumentsMetadata - */ -@interface GTLRDocument_GoogleCloudDocumentaiUiv1beta3BatchUpdateDocumentsMetadata : GTLRObject - -/** The basic metadata of the long-running operation. */ -@property(nonatomic, strong, nullable) GTLRDocument_GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata *commonMetadata; - -/** The list of response details of each document. */ -@property(nonatomic, strong, nullable) NSArray *individualBatchUpdateStatuses; - -@end - - -/** - * The status of each individual document in the batch update process. - */ -@interface GTLRDocument_GoogleCloudDocumentaiUiv1beta3BatchUpdateDocumentsMetadataIndividualBatchUpdateStatus : GTLRObject - -/** The document id of the document. */ -@property(nonatomic, strong, nullable) GTLRDocument_GoogleCloudDocumentaiUiv1beta3DocumentId *documentId; - -/** The status of updating the document in storage. */ -@property(nonatomic, strong, nullable) GTLRDocument_GoogleRpcStatus *status; - -@end - - -/** - * Response of the batch update documents operation. - */ -@interface GTLRDocument_GoogleCloudDocumentaiUiv1beta3BatchUpdateDocumentsResponse : GTLRObject -@end - - -/** - * The common metadata for long running operations. - */ -@interface GTLRDocument_GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata : GTLRObject - -/** The creation time of the operation. */ -@property(nonatomic, strong, nullable) GTLRDateTime *createTime; - -/** A related resource to this operation. */ -@property(nonatomic, copy, nullable) NSString *resource; - -/** - * The state of the operation. - * - * Likely values: - * @arg @c kGTLRDocument_GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata_State_Cancelled - * Operation is cancelled. (Value: "CANCELLED") - * @arg @c kGTLRDocument_GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata_State_Cancelling - * Operation is being cancelled. (Value: "CANCELLING") - * @arg @c kGTLRDocument_GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata_State_Failed - * Operation failed. (Value: "FAILED") - * @arg @c kGTLRDocument_GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata_State_Running - * Operation is still running. (Value: "RUNNING") - * @arg @c kGTLRDocument_GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata_State_StateUnspecified - * Unspecified state. (Value: "STATE_UNSPECIFIED") - * @arg @c kGTLRDocument_GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata_State_Succeeded - * Operation succeeded. (Value: "SUCCEEDED") - */ -@property(nonatomic, copy, nullable) NSString *state; - -/** A message providing more details about the current state of processing. */ -@property(nonatomic, copy, nullable) NSString *stateMessage; - -/** The last update time of the operation. */ -@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; - -@end - - -/** - * The long-running operation metadata for the CreateLabelerPool method. - */ -@interface GTLRDocument_GoogleCloudDocumentaiUiv1beta3CreateLabelerPoolOperationMetadata : GTLRObject - -/** The basic metadata of the long-running operation. */ -@property(nonatomic, strong, nullable) GTLRDocument_GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata *commonMetadata; - -@end - - -/** - * The long-running operation metadata for DeleteLabelerPool. - */ -@interface GTLRDocument_GoogleCloudDocumentaiUiv1beta3DeleteLabelerPoolOperationMetadata : GTLRObject - -/** The basic metadata of the long-running operation. */ -@property(nonatomic, strong, nullable) GTLRDocument_GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata *commonMetadata; - -@end - - -/** - * The long-running operation metadata for the DeleteProcessor method. - */ -@interface GTLRDocument_GoogleCloudDocumentaiUiv1beta3DeleteProcessorMetadata : GTLRObject - -/** The basic metadata of the long-running operation. */ -@property(nonatomic, strong, nullable) GTLRDocument_GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata *commonMetadata; - -@end - - -/** - * The long-running operation metadata for the DeleteProcessorVersion method. - */ -@interface GTLRDocument_GoogleCloudDocumentaiUiv1beta3DeleteProcessorVersionMetadata : GTLRObject - -/** The basic metadata of the long-running operation. */ -@property(nonatomic, strong, nullable) GTLRDocument_GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata *commonMetadata; - -@end - - -/** - * The long-running operation metadata for the DeployProcessorVersion method. - */ -@interface GTLRDocument_GoogleCloudDocumentaiUiv1beta3DeployProcessorVersionMetadata : GTLRObject - -/** The basic metadata of the long-running operation. */ -@property(nonatomic, strong, nullable) GTLRDocument_GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata *commonMetadata; - -@end - - -/** - * Response message for the DeployProcessorVersion method. - */ -@interface GTLRDocument_GoogleCloudDocumentaiUiv1beta3DeployProcessorVersionResponse : GTLRObject -@end - - -/** - * The long-running operation metadata for the DisableProcessor method. - */ -@interface GTLRDocument_GoogleCloudDocumentaiUiv1beta3DisableProcessorMetadata : GTLRObject - -/** The basic metadata of the long-running operation. */ -@property(nonatomic, strong, nullable) GTLRDocument_GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata *commonMetadata; - -@end - - -/** - * Response message for the DisableProcessor method. Intentionally empty proto - * for adding fields in future. - */ -@interface GTLRDocument_GoogleCloudDocumentaiUiv1beta3DisableProcessorResponse : GTLRObject -@end - - -/** - * Document Identifier. - */ -@interface GTLRDocument_GoogleCloudDocumentaiUiv1beta3DocumentId : GTLRObject - -/** A document id within user-managed Cloud Storage. */ -@property(nonatomic, strong, nullable) GTLRDocument_GoogleCloudDocumentaiUiv1beta3DocumentIdGCSManagedDocumentId *gcsManagedDocId; - -/** Points to a specific revision of the document if set. */ -@property(nonatomic, strong, nullable) GTLRDocument_GoogleCloudDocumentaiUiv1beta3RevisionRef *revisionRef; - -/** A document id within unmanaged dataset. */ -@property(nonatomic, strong, nullable) GTLRDocument_GoogleCloudDocumentaiUiv1beta3DocumentIdUnmanagedDocumentId *unmanagedDocId; - -@end - - -/** - * Identifies a document uniquely within the scope of a dataset in the - * user-managed Cloud Storage option. - */ -@interface GTLRDocument_GoogleCloudDocumentaiUiv1beta3DocumentIdGCSManagedDocumentId : GTLRObject - -/** Id of the document (indexed) managed by Content Warehouse. */ -@property(nonatomic, copy, nullable) NSString *cwDocId GTLR_DEPRECATED; - -/** Required. The Cloud Storage URI where the actual document is stored. */ -@property(nonatomic, copy, nullable) NSString *gcsUri; - -@end - - -/** - * Identifies a document uniquely within the scope of a dataset in unmanaged - * option. - */ -@interface GTLRDocument_GoogleCloudDocumentaiUiv1beta3DocumentIdUnmanagedDocumentId : GTLRObject - -/** Required. The id of the document. */ -@property(nonatomic, copy, nullable) NSString *docId; - -@end - - -/** - * The long-running operation metadata for the EnableProcessor method. - */ -@interface GTLRDocument_GoogleCloudDocumentaiUiv1beta3EnableProcessorMetadata : GTLRObject - -/** The basic metadata of the long-running operation. */ -@property(nonatomic, strong, nullable) GTLRDocument_GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata *commonMetadata; - -@end - - -/** - * Response message for the EnableProcessor method. Intentionally empty proto - * for adding fields in future. - */ -@interface GTLRDocument_GoogleCloudDocumentaiUiv1beta3EnableProcessorResponse : GTLRObject -@end - - -/** - * Metadata of the EvaluateProcessorVersion method. - */ -@interface GTLRDocument_GoogleCloudDocumentaiUiv1beta3EvaluateProcessorVersionMetadata : GTLRObject - -/** The basic metadata of the long-running operation. */ -@property(nonatomic, strong, nullable) GTLRDocument_GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata *commonMetadata; - -@end - - -/** - * Response of the EvaluateProcessorVersion method. - */ -@interface GTLRDocument_GoogleCloudDocumentaiUiv1beta3EvaluateProcessorVersionResponse : GTLRObject - -/** The resource name of the created evaluation. */ -@property(nonatomic, copy, nullable) NSString *evaluation; - -@end - - -/** - * Metadata of the batch export documents operation. - */ -@interface GTLRDocument_GoogleCloudDocumentaiUiv1beta3ExportDocumentsMetadata : GTLRObject - -/** The basic metadata of the long-running operation. */ -@property(nonatomic, strong, nullable) GTLRDocument_GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata *commonMetadata; - -/** The list of response details of each document. */ -@property(nonatomic, strong, nullable) NSArray *individualExportStatuses; - -/** The list of statistics for each dataset split type. */ -@property(nonatomic, strong, nullable) NSArray *splitExportStats; - -@end - - -/** - * The status of each individual document in the export process. - */ -@interface GTLRDocument_GoogleCloudDocumentaiUiv1beta3ExportDocumentsMetadataIndividualExportStatus : GTLRObject - -/** The path to source docproto of the document. */ -@property(nonatomic, strong, nullable) GTLRDocument_GoogleCloudDocumentaiUiv1beta3DocumentId *documentId; - -/** - * The output_gcs_destination of the exported document if it was successful, - * otherwise empty. - */ -@property(nonatomic, copy, nullable) NSString *outputGcsDestination; - -/** The status of the exporting of the document. */ -@property(nonatomic, strong, nullable) GTLRDocument_GoogleRpcStatus *status; - -@end - - -/** - * The statistic representing a dataset split type for this export. - */ -@interface GTLRDocument_GoogleCloudDocumentaiUiv1beta3ExportDocumentsMetadataSplitExportStat : GTLRObject - -/** - * The dataset split type. - * - * Likely values: - * @arg @c kGTLRDocument_GoogleCloudDocumentaiUiv1beta3ExportDocumentsMetadataSplitExportStat_SplitType_DatasetSplitTest - * Identifies the test documents. (Value: "DATASET_SPLIT_TEST") - * @arg @c kGTLRDocument_GoogleCloudDocumentaiUiv1beta3ExportDocumentsMetadataSplitExportStat_SplitType_DatasetSplitTrain - * Identifies the train documents. (Value: "DATASET_SPLIT_TRAIN") - * @arg @c kGTLRDocument_GoogleCloudDocumentaiUiv1beta3ExportDocumentsMetadataSplitExportStat_SplitType_DatasetSplitTypeUnspecified - * Default value if the enum is not set. (Value: - * "DATASET_SPLIT_TYPE_UNSPECIFIED") - * @arg @c kGTLRDocument_GoogleCloudDocumentaiUiv1beta3ExportDocumentsMetadataSplitExportStat_SplitType_DatasetSplitUnassigned - * Identifies the unassigned documents. (Value: - * "DATASET_SPLIT_UNASSIGNED") - */ -@property(nonatomic, copy, nullable) NSString *splitType; - -/** - * Total number of documents with the given dataset split type to be exported. - * - * Uses NSNumber of intValue. - */ -@property(nonatomic, strong, nullable) NSNumber *totalDocumentCount; - -@end - - -/** - * The response proto of ExportDocuments method. - */ -@interface GTLRDocument_GoogleCloudDocumentaiUiv1beta3ExportDocumentsResponse : GTLRObject -@end - - -/** - * Metadata message associated with the ExportProcessorVersion operation. - */ -@interface GTLRDocument_GoogleCloudDocumentaiUiv1beta3ExportProcessorVersionMetadata : GTLRObject - -/** The common metadata about the operation. */ -@property(nonatomic, strong, nullable) GTLRDocument_GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata *commonMetadata; - -@end - - -/** - * Response message associated with the ExportProcessorVersion operation. - */ -@interface GTLRDocument_GoogleCloudDocumentaiUiv1beta3ExportProcessorVersionResponse : GTLRObject - -/** The Cloud Storage URI containing the output artifacts. */ -@property(nonatomic, copy, nullable) NSString *gcsUri; - -@end - - -/** - * Metadata of the import document operation. - */ -@interface GTLRDocument_GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadata : GTLRObject - -/** The basic metadata of the long-running operation. */ -@property(nonatomic, strong, nullable) GTLRDocument_GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata *commonMetadata; - -/** Validation statuses of the batch documents import config. */ -@property(nonatomic, strong, nullable) NSArray *importConfigValidationResults; - -/** The list of response details of each document. */ -@property(nonatomic, strong, nullable) NSArray *individualImportStatuses; - -/** - * Total number of the documents that are qualified for importing. - * - * Uses NSNumber of intValue. - */ -@property(nonatomic, strong, nullable) NSNumber *totalDocumentCount; - -@end - - -/** - * The validation status of each import config. Status is set to an error if - * there are no documents to import in the `import_config`, or `OK` if the - * operation will try to proceed with at least one document. - */ -@interface GTLRDocument_GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadataImportConfigValidationResult : GTLRObject - -/** The source Cloud Storage URI specified in the import config. */ -@property(nonatomic, copy, nullable) NSString *inputGcsSource; - -/** The validation status of import config. */ -@property(nonatomic, strong, nullable) GTLRDocument_GoogleRpcStatus *status; - -@end - - -/** - * The status of each individual document in the import process. - */ -@interface GTLRDocument_GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadataIndividualImportStatus : GTLRObject - -/** The source Cloud Storage URI of the document. */ -@property(nonatomic, copy, nullable) NSString *inputGcsSource; - -/** - * The document id of imported document if it was successful, otherwise empty. - */ -@property(nonatomic, strong, nullable) GTLRDocument_GoogleCloudDocumentaiUiv1beta3DocumentId *outputDocumentId; - -/** - * The output_gcs_destination of the processed document if it was successful, - * otherwise empty. - */ -@property(nonatomic, copy, nullable) NSString *outputGcsDestination; - -/** The status of the importing of the document. */ -@property(nonatomic, strong, nullable) GTLRDocument_GoogleRpcStatus *status; - -@end - - -/** - * Response of the import document operation. - */ -@interface GTLRDocument_GoogleCloudDocumentaiUiv1beta3ImportDocumentsResponse : GTLRObject -@end - - -/** - * The long-running operation metadata for the ImportProcessorVersion method. - */ -@interface GTLRDocument_GoogleCloudDocumentaiUiv1beta3ImportProcessorVersionMetadata : GTLRObject - -/** The basic metadata for the long-running operation. */ -@property(nonatomic, strong, nullable) GTLRDocument_GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata *commonMetadata; - -@end - - -/** - * The response message for the ImportProcessorVersion method. - */ -@interface GTLRDocument_GoogleCloudDocumentaiUiv1beta3ImportProcessorVersionResponse : GTLRObject - -/** The destination processor version name. */ -@property(nonatomic, copy, nullable) NSString *processorVersion; - -@end - - -/** - * The metadata proto of `ResyncDataset` method. - */ -@interface GTLRDocument_GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadata : GTLRObject - -/** The basic metadata of the long-running operation. */ -@property(nonatomic, strong, nullable) GTLRDocument_GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata *commonMetadata; - -/** - * The list of dataset resync statuses. Not checked when - * ResyncDatasetRequest.dataset_documents is specified. - */ -@property(nonatomic, strong, nullable) NSArray *datasetResyncStatuses; - -/** - * The list of document resync statuses. The same document could have multiple - * `individual_document_resync_statuses` if it has multiple inconsistencies. - */ -@property(nonatomic, strong, nullable) NSArray *individualDocumentResyncStatuses; - -@end - - -/** - * Resync status against inconsistency types on the dataset level. - */ -@interface GTLRDocument_GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadataDatasetResyncStatus : GTLRObject - -/** - * The type of the inconsistency of the dataset. - * - * Likely values: - * @arg @c kGTLRDocument_GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadataDatasetResyncStatus_DatasetInconsistencyType_DatasetInconsistencyTypeNoStorageMarker - * The marker file under the dataset folder is not found. (Value: - * "DATASET_INCONSISTENCY_TYPE_NO_STORAGE_MARKER") - * @arg @c kGTLRDocument_GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadataDatasetResyncStatus_DatasetInconsistencyType_DatasetInconsistencyTypeUnspecified - * Default value. (Value: "DATASET_INCONSISTENCY_TYPE_UNSPECIFIED") - */ -@property(nonatomic, copy, nullable) NSString *datasetInconsistencyType; - -/** - * The status of resyncing the dataset with regards to the detected - * inconsistency. Empty if ResyncDatasetRequest.validate_only is `true`. - */ -@property(nonatomic, strong, nullable) GTLRDocument_GoogleRpcStatus *status; - -@end - - -/** - * Resync status for each document per inconsistency type. - */ -@interface GTLRDocument_GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadataIndividualDocumentResyncStatus : GTLRObject - -/** The document identifier. */ -@property(nonatomic, strong, nullable) GTLRDocument_GoogleCloudDocumentaiUiv1beta3DocumentId *documentId; - -/** - * The type of document inconsistency. - * - * Likely values: - * @arg @c kGTLRDocument_GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadataIndividualDocumentResyncStatus_DocumentInconsistencyType_DocumentInconsistencyTypeInvalidDocproto - * The document proto is invalid. (Value: - * "DOCUMENT_INCONSISTENCY_TYPE_INVALID_DOCPROTO") - * @arg @c kGTLRDocument_GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadataIndividualDocumentResyncStatus_DocumentInconsistencyType_DocumentInconsistencyTypeMismatchedMetadata - * Indexed docproto metadata is mismatched. (Value: - * "DOCUMENT_INCONSISTENCY_TYPE_MISMATCHED_METADATA") - * @arg @c kGTLRDocument_GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadataIndividualDocumentResyncStatus_DocumentInconsistencyType_DocumentInconsistencyTypeNoPageImage - * The page image or thumbnails are missing. (Value: - * "DOCUMENT_INCONSISTENCY_TYPE_NO_PAGE_IMAGE") - * @arg @c kGTLRDocument_GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadataIndividualDocumentResyncStatus_DocumentInconsistencyType_DocumentInconsistencyTypeUnspecified - * Default value. (Value: "DOCUMENT_INCONSISTENCY_TYPE_UNSPECIFIED") - */ -@property(nonatomic, copy, nullable) NSString *documentInconsistencyType; - -/** - * The status of resyncing the document with regards to the detected - * inconsistency. Empty if ResyncDatasetRequest.validate_only is `true`. - */ -@property(nonatomic, strong, nullable) GTLRDocument_GoogleRpcStatus *status; - -@end - - -/** - * The response proto of ResyncDataset method. - */ -@interface GTLRDocument_GoogleCloudDocumentaiUiv1beta3ResyncDatasetResponse : GTLRObject -@end - - -/** - * The revision reference specifies which revision on the document to read. - */ -@interface GTLRDocument_GoogleCloudDocumentaiUiv1beta3RevisionRef : GTLRObject - -/** - * Reads the revision generated by the processor version. The format takes the - * full resource name of processor version. - * `projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processorVersion}` - */ -@property(nonatomic, copy, nullable) NSString *latestProcessorVersion; - -/** - * Reads the revision by the predefined case. - * - * Likely values: - * @arg @c kGTLRDocument_GoogleCloudDocumentaiUiv1beta3RevisionRef_RevisionCase_BaseOcrRevision - * The first (OCR) revision. (Value: "BASE_OCR_REVISION") - * @arg @c kGTLRDocument_GoogleCloudDocumentaiUiv1beta3RevisionRef_RevisionCase_LatestHumanReview - * The latest revision made by a human. (Value: "LATEST_HUMAN_REVIEW") - * @arg @c kGTLRDocument_GoogleCloudDocumentaiUiv1beta3RevisionRef_RevisionCase_LatestTimestamp - * The latest revision based on timestamp. (Value: "LATEST_TIMESTAMP") - * @arg @c kGTLRDocument_GoogleCloudDocumentaiUiv1beta3RevisionRef_RevisionCase_RevisionCaseUnspecified - * Unspecified case, fall back to read the `LATEST_HUMAN_REVIEW`. (Value: - * "REVISION_CASE_UNSPECIFIED") - */ -@property(nonatomic, copy, nullable) NSString *revisionCase; - -/** Reads the revision given by the id. */ -@property(nonatomic, copy, nullable) NSString *revisionId; - -@end - - -/** - * Metadata of the sample documents operation. - */ -@interface GTLRDocument_GoogleCloudDocumentaiUiv1beta3SampleDocumentsMetadata : GTLRObject - -/** The basic metadata of the long-running operation. */ -@property(nonatomic, strong, nullable) GTLRDocument_GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata *commonMetadata; - -@end - - -/** - * Response of the sample documents operation. - */ -@interface GTLRDocument_GoogleCloudDocumentaiUiv1beta3SampleDocumentsResponse : GTLRObject - -/** The status of sampling documents in test split. */ -@property(nonatomic, strong, nullable) GTLRDocument_GoogleRpcStatus *sampleTestStatus; - -/** The status of sampling documents in training split. */ -@property(nonatomic, strong, nullable) GTLRDocument_GoogleRpcStatus *sampleTrainingStatus; - -/** The result of the sampling process. */ -@property(nonatomic, strong, nullable) NSArray *selectedDocuments; - -@end - - -/** - * GTLRDocument_GoogleCloudDocumentaiUiv1beta3SampleDocumentsResponseSelectedDocument - */ -@interface GTLRDocument_GoogleCloudDocumentaiUiv1beta3SampleDocumentsResponseSelectedDocument : GTLRObject - -/** An internal identifier for document. */ -@property(nonatomic, copy, nullable) NSString *documentId; - -@end - - -/** - * The long-running operation metadata for the SetDefaultProcessorVersion - * method. - */ -@interface GTLRDocument_GoogleCloudDocumentaiUiv1beta3SetDefaultProcessorVersionMetadata : GTLRObject - -/** The basic metadata of the long-running operation. */ -@property(nonatomic, strong, nullable) GTLRDocument_GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata *commonMetadata; - -@end - - -/** - * Response message for the SetDefaultProcessorVersion method. - */ -@interface GTLRDocument_GoogleCloudDocumentaiUiv1beta3SetDefaultProcessorVersionResponse : GTLRObject -@end - - -/** - * The metadata that represents a processor version being created. - */ -@interface GTLRDocument_GoogleCloudDocumentaiUiv1beta3TrainProcessorVersionMetadata : GTLRObject - -/** The basic metadata of the long-running operation. */ -@property(nonatomic, strong, nullable) GTLRDocument_GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata *commonMetadata; - -/** The test dataset validation information. */ -@property(nonatomic, strong, nullable) GTLRDocument_GoogleCloudDocumentaiUiv1beta3TrainProcessorVersionMetadataDatasetValidation *testDatasetValidation; - -/** The training dataset validation information. */ -@property(nonatomic, strong, nullable) GTLRDocument_GoogleCloudDocumentaiUiv1beta3TrainProcessorVersionMetadataDatasetValidation *trainingDatasetValidation; - -@end - - -/** - * The dataset validation information. This includes any and all errors with - * documents and the dataset. - */ -@interface GTLRDocument_GoogleCloudDocumentaiUiv1beta3TrainProcessorVersionMetadataDatasetValidation : GTLRObject - -/** - * The total number of dataset errors. - * - * Uses NSNumber of intValue. - */ -@property(nonatomic, strong, nullable) NSNumber *datasetErrorCount; - -/** - * Error information for the dataset as a whole. A maximum of 10 dataset errors - * will be returned. A single dataset error is terminal for training. - */ -@property(nonatomic, strong, nullable) NSArray *datasetErrors; - -/** - * The total number of document errors. - * - * Uses NSNumber of intValue. - */ -@property(nonatomic, strong, nullable) NSNumber *documentErrorCount; - -/** - * Error information pertaining to specific documents. A maximum of 10 document - * errors will be returned. Any document with errors will not be used - * throughout training. - */ -@property(nonatomic, strong, nullable) NSArray *documentErrors; - -@end - - -/** - * The response for TrainProcessorVersion. - */ -@interface GTLRDocument_GoogleCloudDocumentaiUiv1beta3TrainProcessorVersionResponse : GTLRObject - -/** The resource name of the processor version produced by training. */ -@property(nonatomic, copy, nullable) NSString *processorVersion; - -@end - - -/** - * The long-running operation metadata for the UndeployProcessorVersion method. - */ -@interface GTLRDocument_GoogleCloudDocumentaiUiv1beta3UndeployProcessorVersionMetadata : GTLRObject - -/** The basic metadata of the long-running operation. */ -@property(nonatomic, strong, nullable) GTLRDocument_GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata *commonMetadata; - -@end - - -/** - * Response message for the UndeployProcessorVersion method. - */ -@interface GTLRDocument_GoogleCloudDocumentaiUiv1beta3UndeployProcessorVersionResponse : GTLRObject -@end - - -/** - * GTLRDocument_GoogleCloudDocumentaiUiv1beta3UpdateDatasetOperationMetadata - */ -@interface GTLRDocument_GoogleCloudDocumentaiUiv1beta3UpdateDatasetOperationMetadata : GTLRObject - -/** The basic metadata of the long-running operation. */ -@property(nonatomic, strong, nullable) GTLRDocument_GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata *commonMetadata; - -@end - - -/** - * The long-running operation metadata for updating the human review - * configuration. - */ -@interface GTLRDocument_GoogleCloudDocumentaiUiv1beta3UpdateHumanReviewConfigMetadata : GTLRObject - -/** The basic metadata of the long-running operation. */ -@property(nonatomic, strong, nullable) GTLRDocument_GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata *commonMetadata; - -@end - - -/** - * The long-running operation metadata for UpdateLabelerPool. - */ -@interface GTLRDocument_GoogleCloudDocumentaiUiv1beta3UpdateLabelerPoolOperationMetadata : GTLRObject - -/** The basic metadata of the long-running operation. */ -@property(nonatomic, strong, nullable) GTLRDocument_GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata *commonMetadata; - -@end - - -/** - * Encodes the detailed information of a barcode. - */ -@interface GTLRDocument_GoogleCloudDocumentaiV1Barcode : GTLRObject - -/** - * Format of a barcode. The supported formats are: - `CODE_128`: Code 128 type. - * - `CODE_39`: Code 39 type. - `CODE_93`: Code 93 type. - `CODABAR`: Codabar - * type. - `DATA_MATRIX`: 2D Data Matrix type. - `ITF`: ITF type. - `EAN_13`: - * EAN-13 type. - `EAN_8`: EAN-8 type. - `QR_CODE`: 2D QR code type. - `UPC_A`: - * UPC-A type. - `UPC_E`: UPC-E type. - `PDF417`: PDF417 type. - `AZTEC`: 2D - * Aztec code type. - `DATABAR`: GS1 DataBar code type. - */ -@property(nonatomic, copy, nullable) NSString *format; - -/** - * Raw value encoded in the barcode. For example: - * `'MEBKM:TITLE:Google;URL:https://www.google.com;;'`. - */ -@property(nonatomic, copy, nullable) NSString *rawValue; - -/** - * Value format describes the format of the value that a barcode encodes. The - * supported formats are: - `CONTACT_INFO`: Contact information. - `EMAIL`: - * Email address. - `ISBN`: ISBN identifier. - `PHONE`: Phone number. - - * `PRODUCT`: Product. - `SMS`: SMS message. - `TEXT`: Text string. - `URL`: - * URL address. - `WIFI`: Wifi information. - `GEO`: Geo-localization. - - * `CALENDAR_EVENT`: Calendar event. - `DRIVER_LICENSE`: Driver's license. - */ -@property(nonatomic, copy, nullable) NSString *valueFormat; - -@end - - -/** - * The common config to specify a set of documents used as input. - */ -@interface GTLRDocument_GoogleCloudDocumentaiV1BatchDocumentsInputConfig : GTLRObject - -/** The set of documents individually specified on Cloud Storage. */ -@property(nonatomic, strong, nullable) GTLRDocument_GoogleCloudDocumentaiV1GcsDocuments *gcsDocuments; - -/** - * The set of documents that match the specified Cloud Storage `gcs_prefix`. - */ -@property(nonatomic, strong, nullable) GTLRDocument_GoogleCloudDocumentaiV1GcsPrefix *gcsPrefix; - -@end - - -/** - * The long-running operation metadata for BatchProcessDocuments. - */ -@interface GTLRDocument_GoogleCloudDocumentaiV1BatchProcessMetadata : GTLRObject - -/** The creation time of the operation. */ -@property(nonatomic, strong, nullable) GTLRDateTime *createTime; - -/** The list of response details of each document. */ -@property(nonatomic, strong, nullable) NSArray *individualProcessStatuses; - -/** - * The state of the current batch processing. - * - * Likely values: - * @arg @c kGTLRDocument_GoogleCloudDocumentaiV1BatchProcessMetadata_State_Cancelled - * The batch processing was cancelled. (Value: "CANCELLED") - * @arg @c kGTLRDocument_GoogleCloudDocumentaiV1BatchProcessMetadata_State_Cancelling - * The batch processing was being cancelled. (Value: "CANCELLING") - * @arg @c kGTLRDocument_GoogleCloudDocumentaiV1BatchProcessMetadata_State_Failed - * The batch processing has failed. (Value: "FAILED") - * @arg @c kGTLRDocument_GoogleCloudDocumentaiV1BatchProcessMetadata_State_Running - * Request is being processed. (Value: "RUNNING") - * @arg @c kGTLRDocument_GoogleCloudDocumentaiV1BatchProcessMetadata_State_StateUnspecified - * The default value. This value is used if the state is omitted. (Value: - * "STATE_UNSPECIFIED") - * @arg @c kGTLRDocument_GoogleCloudDocumentaiV1BatchProcessMetadata_State_Succeeded - * The batch processing completed successfully. (Value: "SUCCEEDED") - * @arg @c kGTLRDocument_GoogleCloudDocumentaiV1BatchProcessMetadata_State_Waiting - * Request operation is waiting for scheduling. (Value: "WAITING") - */ -@property(nonatomic, copy, nullable) NSString *state; - -/** - * A message providing more details about the current state of processing. For - * example, the error message if the operation is failed. - */ -@property(nonatomic, copy, nullable) NSString *stateMessage; - -/** The last update time of the operation. */ -@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; - -@end - - -/** - * The status of a each individual document in the batch process. - */ -@interface GTLRDocument_GoogleCloudDocumentaiV1BatchProcessMetadataIndividualProcessStatus : GTLRObject - -/** The status of human review on the processed document. */ -@property(nonatomic, strong, nullable) GTLRDocument_GoogleCloudDocumentaiV1HumanReviewStatus *humanReviewStatus; - -/** - * The source of the document, same as the input_gcs_source field in the - * request when the batch process started. - */ -@property(nonatomic, copy, nullable) NSString *inputGcsSource; - -/** - * The Cloud Storage output destination (in the request as - * DocumentOutputConfig.GcsOutputConfig.gcs_uri) of the processed document if - * it was successful, otherwise empty. - */ -@property(nonatomic, copy, nullable) NSString *outputGcsDestination; - -/** The status processing the document. */ -@property(nonatomic, strong, nullable) GTLRDocument_GoogleRpcStatus *status; - -@end - - -/** - * Request message for BatchProcessDocuments. - */ -@interface GTLRDocument_GoogleCloudDocumentaiV1BatchProcessRequest : GTLRObject - -/** The output configuration for the BatchProcessDocuments method. */ -@property(nonatomic, strong, nullable) GTLRDocument_GoogleCloudDocumentaiV1DocumentOutputConfig *documentOutputConfig; - -/** The input documents for the BatchProcessDocuments method. */ -@property(nonatomic, strong, nullable) GTLRDocument_GoogleCloudDocumentaiV1BatchDocumentsInputConfig *inputDocuments; - -/** - * Optional. The labels with user-defined metadata for the request. Label keys - * and values can be no longer than 63 characters (Unicode codepoints) and can - * only contain lowercase letters, numeric characters, underscores, and dashes. - * International characters are allowed. Label values are optional. Label keys - * must start with a letter. - */ -@property(nonatomic, strong, nullable) GTLRDocument_GoogleCloudDocumentaiV1BatchProcessRequest_Labels *labels; - -/** Inference-time options for the process API */ -@property(nonatomic, strong, nullable) GTLRDocument_GoogleCloudDocumentaiV1ProcessOptions *processOptions; - -/** - * Whether human review should be skipped for this request. Default to `false`. - * - * Uses NSNumber of boolValue. - */ -@property(nonatomic, strong, nullable) NSNumber *skipHumanReview; - -@end - - -/** - * Optional. The labels with user-defined metadata for the request. Label keys - * and values can be no longer than 63 characters (Unicode codepoints) and can - * only contain lowercase letters, numeric characters, underscores, and dashes. - * International characters are allowed. Label values are optional. Label keys - * must start with a letter. - * - * @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 GTLRDocument_GoogleCloudDocumentaiV1BatchProcessRequest_Labels : GTLRObject -@end - - -/** - * Response message for BatchProcessDocuments. - */ -@interface GTLRDocument_GoogleCloudDocumentaiV1BatchProcessResponse : GTLRObject -@end - - -/** - * Encodes the detailed information of a barcode. - */ -@interface GTLRDocument_GoogleCloudDocumentaiV1beta1Barcode : GTLRObject - -/** - * Format of a barcode. The supported formats are: - `CODE_128`: Code 128 type. - * - `CODE_39`: Code 39 type. - `CODE_93`: Code 93 type. - `CODABAR`: Codabar - * type. - `DATA_MATRIX`: 2D Data Matrix type. - `ITF`: ITF type. - `EAN_13`: - * EAN-13 type. - `EAN_8`: EAN-8 type. - `QR_CODE`: 2D QR code type. - `UPC_A`: - * UPC-A type. - `UPC_E`: UPC-E type. - `PDF417`: PDF417 type. - `AZTEC`: 2D - * Aztec code type. - `DATABAR`: GS1 DataBar code type. - */ -@property(nonatomic, copy, nullable) NSString *format; - -/** - * Raw value encoded in the barcode. For example: - * `'MEBKM:TITLE:Google;URL:https://www.google.com;;'`. - */ -@property(nonatomic, copy, nullable) NSString *rawValue; - -/** - * Value format describes the format of the value that a barcode encodes. The - * supported formats are: - `CONTACT_INFO`: Contact information. - `EMAIL`: - * Email address. - `ISBN`: ISBN identifier. - `PHONE`: Phone number. - - * `PRODUCT`: Product. - `SMS`: SMS message. - `TEXT`: Text string. - `URL`: - * URL address. - `WIFI`: Wifi information. - `GEO`: Geo-localization. - - * `CALENDAR_EVENT`: Calendar event. - `DRIVER_LICENSE`: Driver's license. - */ -@property(nonatomic, copy, nullable) NSString *valueFormat; - -@end - - -/** - * Response to an batch document processing request. This is returned in the - * LRO Operation after the operation is complete. - */ -@interface GTLRDocument_GoogleCloudDocumentaiV1beta1BatchProcessDocumentsResponse : GTLRObject - -/** Responses for each individual document. */ -@property(nonatomic, strong, nullable) NSArray *responses; - -@end - - -/** - * A bounding polygon for the detected image annotation. - */ -@interface GTLRDocument_GoogleCloudDocumentaiV1beta1BoundingPoly : GTLRObject - -/** The bounding polygon normalized vertices. */ -@property(nonatomic, strong, nullable) NSArray *normalizedVertices; - -/** The bounding polygon vertices. */ -@property(nonatomic, strong, nullable) NSArray *vertices; - -@end - - -/** - * Document represents the canonical document resource in Document AI. It is an - * interchange format that provides insights into documents and allows for - * collaboration between users and Document AI to iterate and optimize for - * quality. - */ -@interface GTLRDocument_GoogleCloudDocumentaiV1beta1Document : GTLRObject - -/** Document chunked based on chunking config. */ -@property(nonatomic, strong, nullable) GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentChunkedDocument *chunkedDocument; - -/** - * Optional. Inline document content, represented as a stream of bytes. Note: - * As with all `bytes` fields, protobuffers use a pure binary representation, - * whereas JSON representations use base64. - * - * Contains encoded binary data; GTLRBase64 can encode/decode (probably - * web-safe format). - */ -@property(nonatomic, copy, nullable) NSString *content; - -/** Parsed layout of the document. */ -@property(nonatomic, strong, nullable) GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentDocumentLayout *documentLayout; - -/** - * A list of entities detected on Document.text. For document shards, entities - * in this list may cross shard boundaries. - */ -@property(nonatomic, strong, nullable) NSArray *entities; - -/** Placeholder. Relationship among Document.entities. */ -@property(nonatomic, strong, nullable) NSArray *entityRelations; - -/** Any error that occurred while processing this document. */ -@property(nonatomic, strong, nullable) GTLRDocument_GoogleRpcStatus *error; - -/** - * An IANA published [media type (MIME - * type)](https://www.iana.org/assignments/media-types/media-types.xhtml). - */ -@property(nonatomic, copy, nullable) NSString *mimeType; - -/** Visual page layout for the Document. */ -@property(nonatomic, strong, nullable) NSArray *pages; - -/** Placeholder. Revision history of this document. */ -@property(nonatomic, strong, nullable) NSArray *revisions; - -/** - * Information about the sharding if this document is sharded part of a larger - * document. If the document is not sharded, this message is not specified. - */ -@property(nonatomic, strong, nullable) GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentShardInfo *shardInfo; - -/** Optional. UTF-8 encoded text in reading order from the document. */ -@property(nonatomic, copy, nullable) NSString *text; - -/** - * Placeholder. A list of text corrections made to Document.text. This is - * usually used for annotating corrections to OCR mistakes. Text changes for a - * given revision may not overlap with each other. - */ -@property(nonatomic, strong, nullable) NSArray *textChanges; - -/** Styles for the Document.text. */ -@property(nonatomic, strong, nullable) NSArray *textStyles GTLR_DEPRECATED; - -/** - * Optional. Currently supports Google Cloud Storage URI of the form - * `gs://bucket_name/object_name`. Object versioning is not supported. For more - * information, refer to [Google Cloud Storage Request - * URIs](https://cloud.google.com/storage/docs/reference-uris). - */ -@property(nonatomic, copy, nullable) NSString *uri; - -@end - - -/** - * Represents the chunks that the document is divided into. - */ -@interface GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentChunkedDocument : GTLRObject - -/** List of chunks. */ -@property(nonatomic, strong, nullable) NSArray *chunks; - -@end - - -/** - * Represents a chunk. - */ -@interface GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentChunkedDocumentChunk : GTLRObject - -/** ID of the chunk. */ -@property(nonatomic, copy, nullable) NSString *chunkId; - -/** Text content of the chunk. */ -@property(nonatomic, copy, nullable) NSString *content; - -/** Page footers associated with the chunk. */ -@property(nonatomic, strong, nullable) NSArray *pageFooters; - -/** Page headers associated with the chunk. */ -@property(nonatomic, strong, nullable) NSArray *pageHeaders; - -/** Page span of the chunk. */ -@property(nonatomic, strong, nullable) GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentChunkedDocumentChunkChunkPageSpan *pageSpan; - -/** Unused. */ -@property(nonatomic, strong, nullable) NSArray *sourceBlockIds; - -@end - - -/** - * Represents the page footer associated with the chunk. - */ -@interface GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentChunkedDocumentChunkChunkPageFooter : GTLRObject - -/** Page span of the footer. */ -@property(nonatomic, strong, nullable) GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentChunkedDocumentChunkChunkPageSpan *pageSpan; - -/** Footer in text format. */ -@property(nonatomic, copy, nullable) NSString *text; - -@end - - -/** - * Represents the page header associated with the chunk. - */ -@interface GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentChunkedDocumentChunkChunkPageHeader : GTLRObject - -/** Page span of the header. */ -@property(nonatomic, strong, nullable) GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentChunkedDocumentChunkChunkPageSpan *pageSpan; - -/** Header in text format. */ -@property(nonatomic, copy, nullable) NSString *text; - -@end - - -/** - * Represents where the chunk starts and ends in the document. - */ -@interface GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentChunkedDocumentChunkChunkPageSpan : GTLRObject - -/** - * Page where chunk ends in the document. - * - * Uses NSNumber of intValue. - */ -@property(nonatomic, strong, nullable) NSNumber *pageEnd; - -/** - * Page where chunk starts in the document. - * - * Uses NSNumber of intValue. - */ -@property(nonatomic, strong, nullable) NSNumber *pageStart; - -@end - - -/** - * Represents the parsed layout of a document as a collection of blocks that - * the document is divided into. - */ -@interface GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentDocumentLayout : GTLRObject - -/** List of blocks in the document. */ -@property(nonatomic, strong, nullable) NSArray *blocks; - -@end - - -/** - * Represents a block. A block could be one of the various types (text, table, - * list) supported. - */ -@interface GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentDocumentLayoutDocumentLayoutBlock : GTLRObject - -/** ID of the block. */ -@property(nonatomic, copy, nullable) NSString *blockId; - -/** Block consisting of list content/structure. */ -@property(nonatomic, strong, nullable) GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentDocumentLayoutDocumentLayoutBlockLayoutListBlock *listBlock; - -/** Page span of the block. */ -@property(nonatomic, strong, nullable) GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentDocumentLayoutDocumentLayoutBlockLayoutPageSpan *pageSpan; - -/** Block consisting of table content/structure. */ -@property(nonatomic, strong, nullable) GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableBlock *tableBlock; - -/** Block consisting of text content. */ -@property(nonatomic, strong, nullable) GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentDocumentLayoutDocumentLayoutBlockLayoutTextBlock *textBlock; - -@end - - -/** - * Represents a list type block. - */ -@interface GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentDocumentLayoutDocumentLayoutBlockLayoutListBlock : GTLRObject - -/** List entries that constitute a list block. */ -@property(nonatomic, strong, nullable) NSArray *listEntries; - -/** - * Type of the list_entries (if exist). Available options are `ordered` and - * `unordered`. - */ -@property(nonatomic, copy, nullable) NSString *type; - -@end - - -/** - * Represents an entry in the list. - */ -@interface GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentDocumentLayoutDocumentLayoutBlockLayoutListEntry : GTLRObject - -/** - * A list entry is a list of blocks. Repeated blocks support further - * hierarchies and nested blocks. - */ -@property(nonatomic, strong, nullable) NSArray *blocks; - -@end - - -/** - * Represents where the block starts and ends in the document. - */ -@interface GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentDocumentLayoutDocumentLayoutBlockLayoutPageSpan : GTLRObject - -/** - * Page where block ends in the document. - * - * Uses NSNumber of intValue. - */ -@property(nonatomic, strong, nullable) NSNumber *pageEnd; - -/** - * Page where block starts in the document. - * - * Uses NSNumber of intValue. - */ -@property(nonatomic, strong, nullable) NSNumber *pageStart; - -@end - - -/** - * Represents a table type block. - */ -@interface GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableBlock : GTLRObject - -/** Body rows containing main table content. */ -@property(nonatomic, strong, nullable) NSArray *bodyRows; - -/** Table caption/title. */ -@property(nonatomic, copy, nullable) NSString *caption; - -/** Header rows at the top of the table. */ -@property(nonatomic, strong, nullable) NSArray *headerRows; - -@end - - -/** - * Represents a cell in a table row. - */ -@interface GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableCell : GTLRObject - -/** - * A table cell is a list of blocks. Repeated blocks support further - * hierarchies and nested blocks. - */ -@property(nonatomic, strong, nullable) NSArray *blocks; - -/** - * How many columns this cell spans. - * - * Uses NSNumber of intValue. - */ -@property(nonatomic, strong, nullable) NSNumber *colSpan; - -/** - * How many rows this cell spans. - * - * Uses NSNumber of intValue. - */ -@property(nonatomic, strong, nullable) NSNumber *rowSpan; - -@end - - -/** - * Represents a row in a table. - */ -@interface GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableRow : GTLRObject - -/** A table row is a list of table cells. */ -@property(nonatomic, strong, nullable) NSArray *cells; - -@end - - -/** - * Represents a text type block. - */ -@interface GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentDocumentLayoutDocumentLayoutBlockLayoutTextBlock : GTLRObject - -/** - * A text block could further have child blocks. Repeated blocks support - * further hierarchies and nested blocks. - */ -@property(nonatomic, strong, nullable) NSArray *blocks; - -/** Text content stored in the block. */ -@property(nonatomic, copy, nullable) NSString *text; - -/** - * Type of the text in the block. Available options are: `paragraph`, - * `subtitle`, `heading-1`, `heading-2`, `heading-3`, `heading-4`, `heading-5`, - * `header`, `footer`. - */ -@property(nonatomic, copy, nullable) NSString *type; - -@end - - -/** - * An entity that could be a phrase in the text or a property that belongs to - * the document. It is a known entity type, such as a person, an organization, - * or location. - */ -@interface GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentEntity : GTLRObject - -/** - * Optional. Confidence of detected Schema entity. Range `[0, 1]`. - * - * Uses NSNumber of floatValue. - */ -@property(nonatomic, strong, nullable) NSNumber *confidence; - -/** - * Optional. Canonical id. This will be a unique value in the entity list for - * this document. - * - * identifier property maps to 'id' in JSON (to avoid Objective C's 'id'). - */ -@property(nonatomic, copy, nullable) NSString *identifier; - -/** Optional. Deprecated. Use `id` field instead. */ -@property(nonatomic, copy, nullable) NSString *mentionId; - -/** Optional. Text value of the entity e.g. `1600 Amphitheatre Pkwy`. */ -@property(nonatomic, copy, nullable) NSString *mentionText; - -/** - * Optional. Normalized entity value. Absent if the extracted value could not - * be converted or the type (e.g. address) is not supported for certain - * parsers. This field is also only populated for certain supported document - * types. - */ -@property(nonatomic, strong, nullable) GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentEntityNormalizedValue *normalizedValue; - -/** - * Optional. Represents the provenance of this entity wrt. the location on the - * page where it was found. - */ -@property(nonatomic, strong, nullable) GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentPageAnchor *pageAnchor; - -/** - * Optional. Entities can be nested to form a hierarchical data structure - * representing the content in the document. - */ -@property(nonatomic, strong, nullable) NSArray *properties; - -/** Optional. The history of this annotation. */ -@property(nonatomic, strong, nullable) GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentProvenance *provenance; - -/** - * Optional. Whether the entity will be redacted for de-identification - * purposes. - * - * Uses NSNumber of boolValue. - */ -@property(nonatomic, strong, nullable) NSNumber *redacted; - -/** - * Optional. Provenance of the entity. Text anchor indexing into the - * Document.text. - */ -@property(nonatomic, strong, nullable) GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentTextAnchor *textAnchor; - -/** Required. Entity type from a schema e.g. `Address`. */ -@property(nonatomic, copy, nullable) NSString *type; - -@end - - -/** - * Parsed and normalized entity value. - */ -@interface GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentEntityNormalizedValue : GTLRObject - -/** - * Postal address. See also: - * https://github.com/googleapis/googleapis/blob/master/google/type/postal_address.proto - */ -@property(nonatomic, strong, nullable) GTLRDocument_GoogleTypePostalAddress *addressValue; - -/** - * Boolean value. Can be used for entities with binary values, or for - * checkboxes. - * - * Uses NSNumber of boolValue. - */ -@property(nonatomic, strong, nullable) NSNumber *booleanValue; - -/** - * DateTime value. Includes date, time, and timezone. See also: - * https://github.com/googleapis/googleapis/blob/master/google/type/datetime.proto - */ -@property(nonatomic, strong, nullable) GTLRDocument_GoogleTypeDateTime *datetimeValue; - -/** - * Date value. Includes year, month, day. See also: - * https://github.com/googleapis/googleapis/blob/master/google/type/date.proto - */ -@property(nonatomic, strong, nullable) GTLRDocument_GoogleTypeDate *dateValue; - -/** - * Float value. - * - * Uses NSNumber of floatValue. - */ -@property(nonatomic, strong, nullable) NSNumber *floatValue; - -/** - * Integer value. - * - * Uses NSNumber of intValue. - */ -@property(nonatomic, strong, nullable) NSNumber *integerValue; - -/** - * Money value. See also: - * https://github.com/googleapis/googleapis/blob/master/google/type/money.proto - */ -@property(nonatomic, strong, nullable) GTLRDocument_GoogleTypeMoney *moneyValue; - -/** - * Optional. An optional field to store a normalized string. For some entity - * types, one of respective `structured_value` fields may also be populated. - * Also not all the types of `structured_value` will be normalized. For - * example, some processors may not generate `float` or `integer` normalized - * text by default. Below are sample formats mapped to structured values. - - * Money/Currency type (`money_value`) is in the ISO 4217 text format. - Date - * type (`date_value`) is in the ISO 8601 text format. - Datetime type - * (`datetime_value`) is in the ISO 8601 text format. - */ -@property(nonatomic, copy, nullable) NSString *text; - -@end - - -/** - * Relationship between Entities. - */ -@interface GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentEntityRelation : GTLRObject - -/** Object entity id. */ -@property(nonatomic, copy, nullable) NSString *objectId; - -/** Relationship description. */ -@property(nonatomic, copy, nullable) NSString *relation; - -/** Subject entity id. */ -@property(nonatomic, copy, nullable) NSString *subjectId; - -@end - - -/** - * A page in a Document. - */ -@interface GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentPage : GTLRObject - -/** - * A list of visually detected text blocks on the page. A block has a set of - * lines (collected into paragraphs) that have a common line-spacing and - * orientation. - */ -@property(nonatomic, strong, nullable) NSArray *blocks; - -/** A list of detected barcodes. */ -@property(nonatomic, strong, nullable) NSArray *detectedBarcodes; - -/** A list of detected languages together with confidence. */ -@property(nonatomic, strong, nullable) NSArray *detectedLanguages; - -/** Physical dimension of the page. */ -@property(nonatomic, strong, nullable) GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentPageDimension *dimension; - -/** A list of visually detected form fields on the page. */ -@property(nonatomic, strong, nullable) NSArray *formFields; - -/** - * Rendered image for this page. This image is preprocessed to remove any skew, - * rotation, and distortions such that the annotation bounding boxes can be - * upright and axis-aligned. - */ -@property(nonatomic, strong, nullable) GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentPageImage *image; - -/** Image quality scores. */ -@property(nonatomic, strong, nullable) GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentPageImageQualityScores *imageQualityScores; - -/** Layout for the page. */ -@property(nonatomic, strong, nullable) GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentPageLayout *layout; - -/** - * A list of visually detected text lines on the page. A collection of tokens - * that a human would perceive as a line. - */ -@property(nonatomic, strong, nullable) NSArray *lines; - -/** - * 1-based index for current Page in a parent Document. Useful when a page is - * taken out of a Document for individual processing. - * - * Uses NSNumber of intValue. - */ -@property(nonatomic, strong, nullable) NSNumber *pageNumber; - -/** - * A list of visually detected text paragraphs on the page. A collection of - * lines that a human would perceive as a paragraph. - */ -@property(nonatomic, strong, nullable) NSArray *paragraphs; - -/** The history of this page. */ -@property(nonatomic, strong, nullable) GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentProvenance *provenance GTLR_DEPRECATED; - -/** A list of visually detected symbols on the page. */ -@property(nonatomic, strong, nullable) NSArray *symbols; - -/** A list of visually detected tables on the page. */ -@property(nonatomic, strong, nullable) NSArray *tables; - -/** A list of visually detected tokens on the page. */ -@property(nonatomic, strong, nullable) NSArray *tokens; - -/** - * Transformation matrices that were applied to the original document image to - * produce Page.image. - */ -@property(nonatomic, strong, nullable) NSArray *transforms; - -/** - * A list of detected non-text visual elements e.g. checkbox, signature etc. on - * the page. - */ -@property(nonatomic, strong, nullable) NSArray *visualElements; - -@end - - -/** - * Referencing the visual context of the entity in the Document.pages. Page - * anchors can be cross-page, consist of multiple bounding polygons and - * optionally reference specific layout element types. - */ -@interface GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentPageAnchor : GTLRObject - -/** One or more references to visual page elements */ -@property(nonatomic, strong, nullable) NSArray *pageRefs; - -@end - - -/** - * Represents a weak reference to a page element within a document. - */ -@interface GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentPageAnchorPageRef : GTLRObject - -/** - * Optional. Identifies the bounding polygon of a layout element on the page. - * If `layout_type` is set, the bounding polygon must be exactly the same to - * the layout element it's referring to. - */ -@property(nonatomic, strong, nullable) GTLRDocument_GoogleCloudDocumentaiV1beta1BoundingPoly *boundingPoly; - -/** - * Optional. Confidence of detected page element, if applicable. Range `[0, - * 1]`. - * - * Uses NSNumber of floatValue. - */ -@property(nonatomic, strong, nullable) NSNumber *confidence; - -/** Optional. Deprecated. Use PageRef.bounding_poly instead. */ -@property(nonatomic, copy, nullable) NSString *layoutId GTLR_DEPRECATED; - -/** - * Optional. The type of the layout element that is being referenced if any. - * - * Likely values: - * @arg @c kGTLRDocument_GoogleCloudDocumentaiV1beta1DocumentPageAnchorPageRef_LayoutType_Block - * References a Page.blocks element. (Value: "BLOCK") - * @arg @c kGTLRDocument_GoogleCloudDocumentaiV1beta1DocumentPageAnchorPageRef_LayoutType_FormField - * References a Page.form_fields element. (Value: "FORM_FIELD") - * @arg @c kGTLRDocument_GoogleCloudDocumentaiV1beta1DocumentPageAnchorPageRef_LayoutType_LayoutTypeUnspecified - * Layout Unspecified. (Value: "LAYOUT_TYPE_UNSPECIFIED") - * @arg @c kGTLRDocument_GoogleCloudDocumentaiV1beta1DocumentPageAnchorPageRef_LayoutType_Line - * References a Page.lines element. (Value: "LINE") - * @arg @c kGTLRDocument_GoogleCloudDocumentaiV1beta1DocumentPageAnchorPageRef_LayoutType_Paragraph - * References a Page.paragraphs element. (Value: "PARAGRAPH") - * @arg @c kGTLRDocument_GoogleCloudDocumentaiV1beta1DocumentPageAnchorPageRef_LayoutType_Table - * Refrrences a Page.tables element. (Value: "TABLE") - * @arg @c kGTLRDocument_GoogleCloudDocumentaiV1beta1DocumentPageAnchorPageRef_LayoutType_Token - * References a Page.tokens element. (Value: "TOKEN") - * @arg @c kGTLRDocument_GoogleCloudDocumentaiV1beta1DocumentPageAnchorPageRef_LayoutType_VisualElement - * References a Page.visual_elements element. (Value: "VISUAL_ELEMENT") - */ -@property(nonatomic, copy, nullable) NSString *layoutType; - -/** - * Required. Index into the Document.pages element, for example using - * `Document.pages` to locate the related page element. This field is skipped - * when its value is the default `0`. See - * https://developers.google.com/protocol-buffers/docs/proto3#json. - * - * Uses NSNumber of longLongValue. - */ -@property(nonatomic, strong, nullable) NSNumber *page; - -@end - - -/** - * A block has a set of lines (collected into paragraphs) that have a common - * line-spacing and orientation. - */ -@interface GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentPageBlock : GTLRObject - -/** A list of detected languages together with confidence. */ -@property(nonatomic, strong, nullable) NSArray *detectedLanguages; - -/** Layout for Block. */ -@property(nonatomic, strong, nullable) GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentPageLayout *layout; - -/** The history of this annotation. */ -@property(nonatomic, strong, nullable) GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentProvenance *provenance GTLR_DEPRECATED; - -@end - - -/** - * A detected barcode. - */ -@interface GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentPageDetectedBarcode : GTLRObject - -/** Detailed barcode information of the DetectedBarcode. */ -@property(nonatomic, strong, nullable) GTLRDocument_GoogleCloudDocumentaiV1beta1Barcode *barcode; - -/** Layout for DetectedBarcode. */ -@property(nonatomic, strong, nullable) GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentPageLayout *layout; - -@end - - -/** - * Detected language for a structural component. - */ -@interface GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage : GTLRObject - -/** - * Confidence of detected language. Range `[0, 1]`. - * - * Uses NSNumber of floatValue. - */ -@property(nonatomic, strong, nullable) NSNumber *confidence; - -/** - * The [BCP-47 language - * code](https://www.unicode.org/reports/tr35/#Unicode_locale_identifier), such - * as `en-US` or `sr-Latn`. - */ -@property(nonatomic, copy, nullable) NSString *languageCode; - -@end - - -/** - * Dimension for the page. - */ -@interface GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentPageDimension : GTLRObject - -/** - * Page height. - * - * Uses NSNumber of floatValue. - */ -@property(nonatomic, strong, nullable) NSNumber *height; - -/** Dimension unit. */ -@property(nonatomic, copy, nullable) NSString *unit; - -/** - * Page width. - * - * Uses NSNumber of floatValue. - */ -@property(nonatomic, strong, nullable) NSNumber *width; - -@end - - -/** - * A form field detected on the page. - */ -@interface GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentPageFormField : GTLRObject - -/** - * Created for Labeling UI to export key text. If corrections were made to the - * text identified by the `field_name.text_anchor`, this field will contain the - * correction. - */ -@property(nonatomic, copy, nullable) NSString *correctedKeyText; - -/** - * Created for Labeling UI to export value text. If corrections were made to - * the text identified by the `field_value.text_anchor`, this field will - * contain the correction. - */ -@property(nonatomic, copy, nullable) NSString *correctedValueText; - -/** - * Layout for the FormField name. e.g. `Address`, `Email`, `Grand total`, - * `Phone number`, etc. - */ -@property(nonatomic, strong, nullable) GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentPageLayout *fieldName; - -/** Layout for the FormField value. */ -@property(nonatomic, strong, nullable) GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentPageLayout *fieldValue; - -/** A list of detected languages for name together with confidence. */ -@property(nonatomic, strong, nullable) NSArray *nameDetectedLanguages; - -/** The history of this annotation. */ -@property(nonatomic, strong, nullable) GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentProvenance *provenance; - -/** A list of detected languages for value together with confidence. */ -@property(nonatomic, strong, nullable) NSArray *valueDetectedLanguages; - -/** - * If the value is non-textual, this field represents the type. Current valid - * values are: - blank (this indicates the `field_value` is normal text) - - * `unfilled_checkbox` - `filled_checkbox` - */ -@property(nonatomic, copy, nullable) NSString *valueType; - -@end - - -/** - * Rendered image contents for this page. - */ -@interface GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentPageImage : GTLRObject - -/** - * Raw byte content of the image. - * - * Contains encoded binary data; GTLRBase64 can encode/decode (probably - * web-safe format). - */ -@property(nonatomic, copy, nullable) NSString *content; - -/** - * Height of the image in pixels. - * - * Uses NSNumber of intValue. - */ -@property(nonatomic, strong, nullable) NSNumber *height; - -/** - * Encoding [media type (MIME - * type)](https://www.iana.org/assignments/media-types/media-types.xhtml) for - * the image. - */ -@property(nonatomic, copy, nullable) NSString *mimeType; - -/** - * Width of the image in pixels. - * - * Uses NSNumber of intValue. - */ -@property(nonatomic, strong, nullable) NSNumber *width; - -@end - - -/** - * Image quality scores for the page image. - */ -@interface GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentPageImageQualityScores : GTLRObject - -/** A list of detected defects. */ -@property(nonatomic, strong, nullable) NSArray *detectedDefects; - -/** - * The overall quality score. Range `[0, 1]` where `1` is perfect quality. - * - * Uses NSNumber of floatValue. - */ -@property(nonatomic, strong, nullable) NSNumber *qualityScore; - -@end - - -/** - * Image Quality Defects - */ -@interface GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentPageImageQualityScoresDetectedDefect : GTLRObject - -/** - * Confidence of detected defect. Range `[0, 1]` where `1` indicates strong - * confidence that the defect exists. - * - * Uses NSNumber of floatValue. - */ -@property(nonatomic, strong, nullable) NSNumber *confidence; - -/** - * Name of the defect type. Supported values are: - `quality/defect_blurry` - - * `quality/defect_noisy` - `quality/defect_dark` - `quality/defect_faint` - - * `quality/defect_text_too_small` - `quality/defect_document_cutoff` - - * `quality/defect_text_cutoff` - `quality/defect_glare` - */ -@property(nonatomic, copy, nullable) NSString *type; - -@end - - -/** - * Visual element describing a layout unit on a page. - */ -@interface GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentPageLayout : GTLRObject - -/** The bounding polygon for the Layout. */ -@property(nonatomic, strong, nullable) GTLRDocument_GoogleCloudDocumentaiV1beta1BoundingPoly *boundingPoly; - -/** - * Confidence of the current Layout within context of the object this layout is - * for. e.g. confidence can be for a single token, a table, a visual element, - * etc. depending on context. Range `[0, 1]`. - * - * Uses NSNumber of floatValue. - */ -@property(nonatomic, strong, nullable) NSNumber *confidence; - -/** - * Detected orientation for the Layout. - * - * Likely values: - * @arg @c kGTLRDocument_GoogleCloudDocumentaiV1beta1DocumentPageLayout_Orientation_OrientationUnspecified - * Unspecified orientation. (Value: "ORIENTATION_UNSPECIFIED") - * @arg @c kGTLRDocument_GoogleCloudDocumentaiV1beta1DocumentPageLayout_Orientation_PageDown - * Orientation is aligned with page down. Turn the head 180 degrees from - * upright to read. (Value: "PAGE_DOWN") - * @arg @c kGTLRDocument_GoogleCloudDocumentaiV1beta1DocumentPageLayout_Orientation_PageLeft - * Orientation is aligned with page left. Turn the head 90 degrees - * counterclockwise from upright to read. (Value: "PAGE_LEFT") - * @arg @c kGTLRDocument_GoogleCloudDocumentaiV1beta1DocumentPageLayout_Orientation_PageRight - * Orientation is aligned with page right. Turn the head 90 degrees - * clockwise from upright to read. (Value: "PAGE_RIGHT") - * @arg @c kGTLRDocument_GoogleCloudDocumentaiV1beta1DocumentPageLayout_Orientation_PageUp - * Orientation is aligned with page up. (Value: "PAGE_UP") - */ -@property(nonatomic, copy, nullable) NSString *orientation; - -/** Text anchor indexing into the Document.text. */ -@property(nonatomic, strong, nullable) GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentTextAnchor *textAnchor; - -@end - - -/** - * A collection of tokens that a human would perceive as a line. Does not cross - * column boundaries, can be horizontal, vertical, etc. - */ -@interface GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentPageLine : GTLRObject - -/** A list of detected languages together with confidence. */ -@property(nonatomic, strong, nullable) NSArray *detectedLanguages; - -/** Layout for Line. */ -@property(nonatomic, strong, nullable) GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentPageLayout *layout; - -/** The history of this annotation. */ -@property(nonatomic, strong, nullable) GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentProvenance *provenance GTLR_DEPRECATED; - -@end - - -/** - * Representation for transformation matrix, intended to be compatible and used - * with OpenCV format for image manipulation. - */ -@interface GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentPageMatrix : GTLRObject - -/** - * Number of columns in the matrix. - * - * Uses NSNumber of intValue. - */ -@property(nonatomic, strong, nullable) NSNumber *cols; - -/** - * The matrix data. - * - * Contains encoded binary data; GTLRBase64 can encode/decode (probably - * web-safe format). - */ -@property(nonatomic, copy, nullable) NSString *data; - -/** - * Number of rows in the matrix. - * - * Uses NSNumber of intValue. - */ -@property(nonatomic, strong, nullable) NSNumber *rows; - -/** - * This encodes information about what data type the matrix uses. For example, - * 0 (CV_8U) is an unsigned 8-bit image. For the full list of OpenCV primitive - * data types, please refer to - * https://docs.opencv.org/4.3.0/d1/d1b/group__core__hal__interface.html - * - * Uses NSNumber of intValue. - */ -@property(nonatomic, strong, nullable) NSNumber *type; - -@end - - -/** - * A collection of lines that a human would perceive as a paragraph. - */ -@interface GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentPageParagraph : GTLRObject - -/** A list of detected languages together with confidence. */ -@property(nonatomic, strong, nullable) NSArray *detectedLanguages; - -/** Layout for Paragraph. */ -@property(nonatomic, strong, nullable) GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentPageLayout *layout; - -/** The history of this annotation. */ -@property(nonatomic, strong, nullable) GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentProvenance *provenance GTLR_DEPRECATED; - -@end - - -/** - * A detected symbol. - */ -@interface GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentPageSymbol : GTLRObject - -/** A list of detected languages together with confidence. */ -@property(nonatomic, strong, nullable) NSArray *detectedLanguages; - -/** Layout for Symbol. */ -@property(nonatomic, strong, nullable) GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentPageLayout *layout; - -@end - - -/** - * A table representation similar to HTML table structure. - */ -@interface GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentPageTable : GTLRObject - -/** Body rows of the table. */ -@property(nonatomic, strong, nullable) NSArray *bodyRows; - -/** A list of detected languages together with confidence. */ -@property(nonatomic, strong, nullable) NSArray *detectedLanguages; - -/** Header rows of the table. */ -@property(nonatomic, strong, nullable) NSArray *headerRows; - -/** Layout for Table. */ -@property(nonatomic, strong, nullable) GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentPageLayout *layout; - -/** The history of this table. */ -@property(nonatomic, strong, nullable) GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentProvenance *provenance GTLR_DEPRECATED; - -@end - - -/** - * A cell representation inside the table. - */ -@interface GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentPageTableTableCell : GTLRObject - -/** - * How many columns this cell spans. - * - * Uses NSNumber of intValue. - */ -@property(nonatomic, strong, nullable) NSNumber *colSpan; - -/** A list of detected languages together with confidence. */ -@property(nonatomic, strong, nullable) NSArray *detectedLanguages; - -/** Layout for TableCell. */ -@property(nonatomic, strong, nullable) GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentPageLayout *layout; - -/** - * How many rows this cell spans. - * - * Uses NSNumber of intValue. - */ -@property(nonatomic, strong, nullable) NSNumber *rowSpan; - -@end - - -/** - * A row of table cells. - */ -@interface GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentPageTableTableRow : GTLRObject - -/** Cells that make up this row. */ -@property(nonatomic, strong, nullable) NSArray *cells; - -@end - - -/** - * A detected token. - */ -@interface GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentPageToken : GTLRObject - -/** Detected break at the end of a Token. */ -@property(nonatomic, strong, nullable) GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentPageTokenDetectedBreak *detectedBreak; - -/** A list of detected languages together with confidence. */ -@property(nonatomic, strong, nullable) NSArray *detectedLanguages; - -/** Layout for Token. */ -@property(nonatomic, strong, nullable) GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentPageLayout *layout; - -/** The history of this annotation. */ -@property(nonatomic, strong, nullable) GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentProvenance *provenance GTLR_DEPRECATED; - -/** Text style attributes. */ -@property(nonatomic, strong, nullable) GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentPageTokenStyleInfo *styleInfo; - -@end - - -/** - * Detected break at the end of a Token. - */ -@interface GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentPageTokenDetectedBreak : GTLRObject - -/** - * Detected break type. - * - * Likely values: - * @arg @c kGTLRDocument_GoogleCloudDocumentaiV1beta1DocumentPageTokenDetectedBreak_Type_Hyphen - * A hyphen that indicates that a token has been split across lines. - * (Value: "HYPHEN") - * @arg @c kGTLRDocument_GoogleCloudDocumentaiV1beta1DocumentPageTokenDetectedBreak_Type_Space - * A single whitespace. (Value: "SPACE") - * @arg @c kGTLRDocument_GoogleCloudDocumentaiV1beta1DocumentPageTokenDetectedBreak_Type_TypeUnspecified - * Unspecified break type. (Value: "TYPE_UNSPECIFIED") - * @arg @c kGTLRDocument_GoogleCloudDocumentaiV1beta1DocumentPageTokenDetectedBreak_Type_WideSpace - * A wider whitespace. (Value: "WIDE_SPACE") - */ -@property(nonatomic, copy, nullable) NSString *type; - -@end - - -/** - * Font and other text style attributes. - */ -@interface GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentPageTokenStyleInfo : GTLRObject - -/** Color of the background. */ -@property(nonatomic, strong, nullable) GTLRDocument_GoogleTypeColor *backgroundColor; - -/** - * Whether the text is bold (equivalent to font_weight is at least `700`). - * - * Uses NSNumber of boolValue. - */ -@property(nonatomic, strong, nullable) NSNumber *bold; - -/** - * Font size in points (`1` point is `¹⁄₇₂` inches). - * - * Uses NSNumber of intValue. - */ -@property(nonatomic, strong, nullable) NSNumber *fontSize; - -/** Name or style of the font. */ -@property(nonatomic, copy, nullable) NSString *fontType; - -/** - * TrueType weight on a scale `100` (thin) to `1000` (ultra-heavy). Normal is - * `400`, bold is `700`. - * - * Uses NSNumber of intValue. - */ -@property(nonatomic, strong, nullable) NSNumber *fontWeight; - -/** - * Whether the text is handwritten. - * - * Uses NSNumber of boolValue. - */ -@property(nonatomic, strong, nullable) NSNumber *handwritten; - -/** - * Whether the text is italic. - * - * Uses NSNumber of boolValue. - */ -@property(nonatomic, strong, nullable) NSNumber *italic; - -/** - * Letter spacing in points. - * - * Uses NSNumber of doubleValue. - */ -@property(nonatomic, strong, nullable) NSNumber *letterSpacing; - -/** - * Font size in pixels, equal to _unrounded font_size_ * _resolution_ ÷ `72.0`. - * - * Uses NSNumber of doubleValue. - */ -@property(nonatomic, strong, nullable) NSNumber *pixelFontSize; - -/** - * Whether the text is in small caps. This feature is not supported yet. - * - * Uses NSNumber of boolValue. - */ -@property(nonatomic, strong, nullable) NSNumber *smallcaps; - -/** - * Whether the text is strikethrough. This feature is not supported yet. - * - * Uses NSNumber of boolValue. - */ -@property(nonatomic, strong, nullable) NSNumber *strikeout; - -/** - * Whether the text is a subscript. This feature is not supported yet. - * - * Uses NSNumber of boolValue. - */ -@property(nonatomic, strong, nullable) NSNumber *subscript; - -/** - * Whether the text is a superscript. This feature is not supported yet. - * - * Uses NSNumber of boolValue. - */ -@property(nonatomic, strong, nullable) NSNumber *superscript; - -/** Color of the text. */ -@property(nonatomic, strong, nullable) GTLRDocument_GoogleTypeColor *textColor; - -/** - * Whether the text is underlined. - * - * Uses NSNumber of boolValue. - */ -@property(nonatomic, strong, nullable) NSNumber *underlined; - -@end - - -/** - * Detected non-text visual elements e.g. checkbox, signature etc. on the page. - */ -@interface GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentPageVisualElement : GTLRObject - -/** A list of detected languages together with confidence. */ -@property(nonatomic, strong, nullable) NSArray *detectedLanguages; - -/** Layout for VisualElement. */ -@property(nonatomic, strong, nullable) GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentPageLayout *layout; - -/** Type of the VisualElement. */ -@property(nonatomic, copy, nullable) NSString *type; - -@end - - -/** - * Structure to identify provenance relationships between annotations in - * different revisions. - */ -@interface GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentProvenance : GTLRObject - -/** - * The Id of this operation. Needs to be unique within the scope of the - * revision. - * - * identifier property maps to 'id' in JSON (to avoid Objective C's 'id'). - * - * Uses NSNumber of intValue. - */ -@property(nonatomic, strong, nullable) NSNumber *identifier GTLR_DEPRECATED; - -/** References to the original elements that are replaced. */ -@property(nonatomic, strong, nullable) NSArray *parents; - -/** - * The index of the revision that produced this element. - * - * Uses NSNumber of intValue. - */ -@property(nonatomic, strong, nullable) NSNumber *revision GTLR_DEPRECATED; - -/** - * The type of provenance operation. - * - * Likely values: - * @arg @c kGTLRDocument_GoogleCloudDocumentaiV1beta1DocumentProvenance_Type_Add - * Add an element. (Value: "ADD") - * @arg @c kGTLRDocument_GoogleCloudDocumentaiV1beta1DocumentProvenance_Type_EvalApproved - * Deprecated. Element is reviewed and approved at human review, - * confidence will be set to 1.0. (Value: "EVAL_APPROVED") - * @arg @c kGTLRDocument_GoogleCloudDocumentaiV1beta1DocumentProvenance_Type_EvalRequested - * Deprecated. Request human review for the element identified by - * `parent`. (Value: "EVAL_REQUESTED") - * @arg @c kGTLRDocument_GoogleCloudDocumentaiV1beta1DocumentProvenance_Type_EvalSkipped - * Deprecated. Element is skipped in the validation process. (Value: - * "EVAL_SKIPPED") - * @arg @c kGTLRDocument_GoogleCloudDocumentaiV1beta1DocumentProvenance_Type_OperationTypeUnspecified - * Operation type unspecified. If no operation is specified a provenance - * entry is simply used to match against a `parent`. (Value: - * "OPERATION_TYPE_UNSPECIFIED") - * @arg @c kGTLRDocument_GoogleCloudDocumentaiV1beta1DocumentProvenance_Type_Remove - * Remove an element identified by `parent`. (Value: "REMOVE") - * @arg @c kGTLRDocument_GoogleCloudDocumentaiV1beta1DocumentProvenance_Type_Replace - * Currently unused. Replace an element identified by `parent`. (Value: - * "REPLACE") - * @arg @c kGTLRDocument_GoogleCloudDocumentaiV1beta1DocumentProvenance_Type_Update - * Updates any fields within the given provenance scope of the message. - * It overwrites the fields rather than replacing them. Use this when you - * want to update a field value of an entity without also updating all - * the child properties. (Value: "UPDATE") - */ -@property(nonatomic, copy, nullable) NSString *type; - -@end - - -/** - * The parent element the current element is based on. Used for - * referencing/aligning, removal and replacement operations. - */ -@interface GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentProvenanceParent : GTLRObject - -/** - * The id of the parent provenance. - * - * identifier property maps to 'id' in JSON (to avoid Objective C's 'id'). - * - * Uses NSNumber of intValue. - */ -@property(nonatomic, strong, nullable) NSNumber *identifier GTLR_DEPRECATED; - -/** - * The index of the parent item in the corresponding item list (eg. list of - * entities, properties within entities, etc.) in the parent revision. - * - * Uses NSNumber of intValue. - */ -@property(nonatomic, strong, nullable) NSNumber *index; - -/** - * The index of the index into current revision's parent_ids list. - * - * Uses NSNumber of intValue. - */ -@property(nonatomic, strong, nullable) NSNumber *revision; - -@end - - -/** - * Contains past or forward revisions of this document. - */ -@interface GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentRevision : GTLRObject - -/** - * If the change was made by a person specify the name or id of that person. - */ -@property(nonatomic, copy, nullable) NSString *agent; - -/** - * The time that the revision was created, internally generated by doc proto - * storage at the time of create. - */ -@property(nonatomic, strong, nullable) GTLRDateTime *createTime; - -/** Human Review information of this revision. */ -@property(nonatomic, strong, nullable) GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentRevisionHumanReview *humanReview; - -/** - * Id of the revision, internally generated by doc proto storage. Unique within - * the context of the document. - * - * identifier property maps to 'id' in JSON (to avoid Objective C's 'id'). - */ -@property(nonatomic, copy, nullable) NSString *identifier; - -/** - * The revisions that this revision is based on. This can include one or more - * parent (when documents are merged.) This field represents the index into the - * `revisions` field. - * - * Uses NSNumber of intValue. - */ -@property(nonatomic, strong, nullable) NSArray *parent GTLR_DEPRECATED; - -/** - * The revisions that this revision is based on. Must include all the ids that - * have anything to do with this revision - eg. there are - * `provenance.parent.revision` fields that index into this field. - */ -@property(nonatomic, strong, nullable) NSArray *parentIds; - -/** - * If the annotation was made by processor identify the processor by its - * resource name. - */ -@property(nonatomic, copy, nullable) NSString *processor; - -@end - - -/** - * Human Review information of the document. - */ -@interface GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentRevisionHumanReview : GTLRObject - -/** Human review state. e.g. `requested`, `succeeded`, `rejected`. */ -@property(nonatomic, copy, nullable) NSString *state; - -/** - * A message providing more details about the current state of processing. For - * example, the rejection reason when the state is `rejected`. - */ -@property(nonatomic, copy, nullable) NSString *stateMessage; - -@end - - -/** - * For a large document, sharding may be performed to produce several document - * shards. Each document shard contains this field to detail which shard it is. - */ -@interface GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentShardInfo : GTLRObject - -/** - * Total number of shards. - * - * Uses NSNumber of longLongValue. - */ -@property(nonatomic, strong, nullable) NSNumber *shardCount; - -/** - * The 0-based index of this shard. - * - * Uses NSNumber of longLongValue. - */ -@property(nonatomic, strong, nullable) NSNumber *shardIndex; - -/** - * The index of the first character in Document.text in the overall document - * global text. - * - * Uses NSNumber of longLongValue. - */ -@property(nonatomic, strong, nullable) NSNumber *textOffset; - -@end - - -/** - * Annotation for common text style attributes. This adheres to CSS conventions - * as much as possible. - */ -@interface GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentStyle : GTLRObject - -/** Text background color. */ -@property(nonatomic, strong, nullable) GTLRDocument_GoogleTypeColor *backgroundColor; - -/** Text color. */ -@property(nonatomic, strong, nullable) GTLRDocument_GoogleTypeColor *color; - -/** - * Font family such as `Arial`, `Times New Roman`. - * https://www.w3schools.com/cssref/pr_font_font-family.asp - */ -@property(nonatomic, copy, nullable) NSString *fontFamily; - -/** Font size. */ -@property(nonatomic, strong, nullable) GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentStyleFontSize *fontSize; - -/** - * [Font weight](https://www.w3schools.com/cssref/pr_font_weight.asp). Possible - * values are `normal`, `bold`, `bolder`, and `lighter`. - */ -@property(nonatomic, copy, nullable) NSString *fontWeight; - -/** Text anchor indexing into the Document.text. */ -@property(nonatomic, strong, nullable) GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentTextAnchor *textAnchor; - -/** - * [Text - * decoration](https://www.w3schools.com/cssref/pr_text_text-decoration.asp). - * Follows CSS standard. - */ -@property(nonatomic, copy, nullable) NSString *textDecoration; - -/** - * [Text style](https://www.w3schools.com/cssref/pr_font_font-style.asp). - * Possible values are `normal`, `italic`, and `oblique`. - */ -@property(nonatomic, copy, nullable) NSString *textStyle; - -@end - - -/** - * Font size with unit. - */ -@interface GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentStyleFontSize : GTLRObject - -/** - * Font size for the text. - * - * Uses NSNumber of floatValue. - */ -@property(nonatomic, strong, nullable) NSNumber *size; - -/** - * Unit for the font size. Follows CSS naming (such as `in`, `px`, and `pt`). - */ -@property(nonatomic, copy, nullable) NSString *unit; - -@end - - -/** - * Text reference indexing into the Document.text. - */ -@interface GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentTextAnchor : GTLRObject - -/** - * Contains the content of the text span so that users do not have to look it - * up in the text_segments. It is always populated for formFields. - */ -@property(nonatomic, copy, nullable) NSString *content; - -/** The text segments from the Document.text. */ -@property(nonatomic, strong, nullable) NSArray *textSegments; - -@end - - -/** - * A text segment in the Document.text. The indices may be out of bounds which - * indicate that the text extends into another document shard for large sharded - * documents. See ShardInfo.text_offset - */ -@interface GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentTextAnchorTextSegment : GTLRObject - -/** - * TextSegment half open end UTF-8 char index in the Document.text. - * - * Uses NSNumber of longLongValue. - */ -@property(nonatomic, strong, nullable) NSNumber *endIndex; - -/** - * TextSegment start UTF-8 char index in the Document.text. - * - * Uses NSNumber of longLongValue. - */ -@property(nonatomic, strong, nullable) NSNumber *startIndex; - -@end - - -/** - * This message is used for text changes aka. OCR corrections. - */ -@interface GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentTextChange : GTLRObject - -/** The text that replaces the text identified in the `text_anchor`. */ -@property(nonatomic, copy, nullable) NSString *changedText; - -/** The history of this annotation. */ -@property(nonatomic, strong, nullable) NSArray *provenance GTLR_DEPRECATED; - -/** - * Provenance of the correction. Text anchor indexing into the Document.text. - * There can only be a single `TextAnchor.text_segments` element. If the start - * and end index of the text segment are the same, the text change is inserted - * before that index. - */ -@property(nonatomic, strong, nullable) GTLRDocument_GoogleCloudDocumentaiV1beta1DocumentTextAnchor *textAnchor; - -@end - - -/** - * The Google Cloud Storage location where the output file will be written to. - */ -@interface GTLRDocument_GoogleCloudDocumentaiV1beta1GcsDestination : GTLRObject - -@property(nonatomic, copy, nullable) NSString *uri; - -@end - - -/** - * The Google Cloud Storage location where the input file will be read from. - */ -@interface GTLRDocument_GoogleCloudDocumentaiV1beta1GcsSource : GTLRObject - -@property(nonatomic, copy, nullable) NSString *uri; - -@end - - -/** - * The desired input location and metadata. - */ -@interface GTLRDocument_GoogleCloudDocumentaiV1beta1InputConfig : GTLRObject - -/** - * The Google Cloud Storage location to read the input from. This must be a - * single file. - */ -@property(nonatomic, strong, nullable) GTLRDocument_GoogleCloudDocumentaiV1beta1GcsSource *gcsSource; - -/** - * Required. Mimetype of the input. Current supported mimetypes are - * application/pdf, image/tiff, and image/gif. In addition, application/json - * type is supported for requests with ProcessDocumentRequest.automl_params - * field set. The JSON file needs to be in Document format. - */ -@property(nonatomic, copy, nullable) NSString *mimeType; - -@end - - -/** - * A vertex represents a 2D point in the image. NOTE: the normalized vertex - * coordinates are relative to the original image and range from 0 to 1. - */ -@interface GTLRDocument_GoogleCloudDocumentaiV1beta1NormalizedVertex : GTLRObject - -/** - * X coordinate. - * - * Uses NSNumber of floatValue. - */ -@property(nonatomic, strong, nullable) NSNumber *x; - -/** - * Y coordinate (starts from the top of the image). - * - * Uses NSNumber of floatValue. - */ -@property(nonatomic, strong, nullable) NSNumber *y; - -@end - - -/** - * Contains metadata for the BatchProcessDocuments operation. - */ -@interface GTLRDocument_GoogleCloudDocumentaiV1beta1OperationMetadata : GTLRObject - -/** The creation time of the operation. */ -@property(nonatomic, strong, nullable) GTLRDateTime *createTime; - -/** - * The state of the current batch processing. - * - * Likely values: - * @arg @c kGTLRDocument_GoogleCloudDocumentaiV1beta1OperationMetadata_State_Accepted - * Request is received. (Value: "ACCEPTED") - * @arg @c kGTLRDocument_GoogleCloudDocumentaiV1beta1OperationMetadata_State_Cancelled - * The batch processing was cancelled. (Value: "CANCELLED") - * @arg @c kGTLRDocument_GoogleCloudDocumentaiV1beta1OperationMetadata_State_Failed - * The batch processing has failed. (Value: "FAILED") - * @arg @c kGTLRDocument_GoogleCloudDocumentaiV1beta1OperationMetadata_State_Running - * Request is being processed. (Value: "RUNNING") - * @arg @c kGTLRDocument_GoogleCloudDocumentaiV1beta1OperationMetadata_State_StateUnspecified - * The default value. This value is used if the state is omitted. (Value: - * "STATE_UNSPECIFIED") - * @arg @c kGTLRDocument_GoogleCloudDocumentaiV1beta1OperationMetadata_State_Succeeded - * The batch processing completed successfully. (Value: "SUCCEEDED") - * @arg @c kGTLRDocument_GoogleCloudDocumentaiV1beta1OperationMetadata_State_Waiting - * Request operation is waiting for scheduling. (Value: "WAITING") - */ -@property(nonatomic, copy, nullable) NSString *state; - -/** A message providing more details about the current state of processing. */ -@property(nonatomic, copy, nullable) NSString *stateMessage; - -/** The last update time of the operation. */ -@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; - -@end - - -/** - * The desired output location and metadata. - */ -@interface GTLRDocument_GoogleCloudDocumentaiV1beta1OutputConfig : GTLRObject - -/** The Google Cloud Storage location to write the output to. */ -@property(nonatomic, strong, nullable) GTLRDocument_GoogleCloudDocumentaiV1beta1GcsDestination *gcsDestination; - -/** - * The max number of pages to include into each output Document shard JSON on - * Google Cloud Storage. The valid range is [1, 100]. If not specified, the - * default value is 20. For example, for one pdf file with 100 pages, 100 - * parsed pages will be produced. If `pages_per_shard` = 20, then 5 Document - * shard JSON files each containing 20 parsed pages will be written under the - * prefix OutputConfig.gcs_destination.uri and suffix pages-x-to-y.json where x - * and y are 1-indexed page numbers. Example GCS outputs with 157 pages and - * pages_per_shard = 50: pages-001-to-050.json pages-051-to-100.json - * pages-101-to-150.json pages-151-to-157.json - * - * Uses NSNumber of intValue. - */ -@property(nonatomic, strong, nullable) NSNumber *pagesPerShard; - -@end - - -/** - * Response to a single document processing request. - */ -@interface GTLRDocument_GoogleCloudDocumentaiV1beta1ProcessDocumentResponse : GTLRObject - -/** - * Information about the input file. This is the same as the corresponding - * input config in the request. - */ -@property(nonatomic, strong, nullable) GTLRDocument_GoogleCloudDocumentaiV1beta1InputConfig *inputConfig; - -/** - * The output location of the parsed responses. The responses are written to - * this location as JSON-serialized `Document` objects. - */ -@property(nonatomic, strong, nullable) GTLRDocument_GoogleCloudDocumentaiV1beta1OutputConfig *outputConfig; - -@end - - -/** - * A vertex represents a 2D point in the image. NOTE: the vertex coordinates - * are in the same scale as the original image. - */ -@interface GTLRDocument_GoogleCloudDocumentaiV1beta1Vertex : GTLRObject - -/** - * X coordinate. - * - * Uses NSNumber of intValue. - */ -@property(nonatomic, strong, nullable) NSNumber *x; - -/** - * Y coordinate (starts from the top of the image). - * - * Uses NSNumber of intValue. - */ -@property(nonatomic, strong, nullable) NSNumber *y; - -@end - - -/** - * Encodes the detailed information of a barcode. - */ -@interface GTLRDocument_GoogleCloudDocumentaiV1beta2Barcode : GTLRObject - -/** - * Format of a barcode. The supported formats are: - `CODE_128`: Code 128 type. - * - `CODE_39`: Code 39 type. - `CODE_93`: Code 93 type. - `CODABAR`: Codabar - * type. - `DATA_MATRIX`: 2D Data Matrix type. - `ITF`: ITF type. - `EAN_13`: - * EAN-13 type. - `EAN_8`: EAN-8 type. - `QR_CODE`: 2D QR code type. - `UPC_A`: - * UPC-A type. - `UPC_E`: UPC-E type. - `PDF417`: PDF417 type. - `AZTEC`: 2D - * Aztec code type. - `DATABAR`: GS1 DataBar code type. - */ -@property(nonatomic, copy, nullable) NSString *format; - -/** - * Raw value encoded in the barcode. For example: - * `'MEBKM:TITLE:Google;URL:https://www.google.com;;'`. - */ -@property(nonatomic, copy, nullable) NSString *rawValue; - -/** - * Value format describes the format of the value that a barcode encodes. The - * supported formats are: - `CONTACT_INFO`: Contact information. - `EMAIL`: - * Email address. - `ISBN`: ISBN identifier. - `PHONE`: Phone number. - - * `PRODUCT`: Product. - `SMS`: SMS message. - `TEXT`: Text string. - `URL`: - * URL address. - `WIFI`: Wifi information. - `GEO`: Geo-localization. - - * `CALENDAR_EVENT`: Calendar event. - `DRIVER_LICENSE`: Driver's license. - */ -@property(nonatomic, copy, nullable) NSString *valueFormat; - -@end - - -/** - * Response to an batch document processing request. This is returned in the - * LRO Operation after the operation is complete. - */ -@interface GTLRDocument_GoogleCloudDocumentaiV1beta2BatchProcessDocumentsResponse : GTLRObject - -/** Responses for each individual document. */ -@property(nonatomic, strong, nullable) NSArray *responses; - -@end - - -/** - * A bounding polygon for the detected image annotation. - */ -@interface GTLRDocument_GoogleCloudDocumentaiV1beta2BoundingPoly : GTLRObject - -/** The bounding polygon normalized vertices. */ -@property(nonatomic, strong, nullable) NSArray *normalizedVertices; - -/** The bounding polygon vertices. */ -@property(nonatomic, strong, nullable) NSArray *vertices; - -@end - - -/** - * Document represents the canonical document resource in Document AI. It is an - * interchange format that provides insights into documents and allows for - * collaboration between users and Document AI to iterate and optimize for - * quality. - */ -@interface GTLRDocument_GoogleCloudDocumentaiV1beta2Document : GTLRObject - -/** Document chunked based on chunking config. */ -@property(nonatomic, strong, nullable) GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentChunkedDocument *chunkedDocument; - -/** - * Optional. Inline document content, represented as a stream of bytes. Note: - * As with all `bytes` fields, protobuffers use a pure binary representation, - * whereas JSON representations use base64. - * - * Contains encoded binary data; GTLRBase64 can encode/decode (probably - * web-safe format). - */ -@property(nonatomic, copy, nullable) NSString *content; - -/** Parsed layout of the document. */ -@property(nonatomic, strong, nullable) GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentDocumentLayout *documentLayout; - -/** - * A list of entities detected on Document.text. For document shards, entities - * in this list may cross shard boundaries. - */ -@property(nonatomic, strong, nullable) NSArray *entities; - -/** Placeholder. Relationship among Document.entities. */ -@property(nonatomic, strong, nullable) NSArray *entityRelations; - -/** Any error that occurred while processing this document. */ -@property(nonatomic, strong, nullable) GTLRDocument_GoogleRpcStatus *error; - -/** Labels for this document. */ -@property(nonatomic, strong, nullable) NSArray *labels; - -/** - * An IANA published [media type (MIME - * type)](https://www.iana.org/assignments/media-types/media-types.xhtml). - */ -@property(nonatomic, copy, nullable) NSString *mimeType; - -/** Visual page layout for the Document. */ -@property(nonatomic, strong, nullable) NSArray *pages; - -/** Placeholder. Revision history of this document. */ -@property(nonatomic, strong, nullable) NSArray *revisions; - -/** - * Information about the sharding if this document is sharded part of a larger - * document. If the document is not sharded, this message is not specified. - */ -@property(nonatomic, strong, nullable) GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentShardInfo *shardInfo; - -/** Optional. UTF-8 encoded text in reading order from the document. */ -@property(nonatomic, copy, nullable) NSString *text; - -/** - * Placeholder. A list of text corrections made to Document.text. This is - * usually used for annotating corrections to OCR mistakes. Text changes for a - * given revision may not overlap with each other. - */ -@property(nonatomic, strong, nullable) NSArray *textChanges; - -/** Styles for the Document.text. */ -@property(nonatomic, strong, nullable) NSArray *textStyles GTLR_DEPRECATED; - -/** - * Optional. Currently supports Google Cloud Storage URI of the form - * `gs://bucket_name/object_name`. Object versioning is not supported. For more - * information, refer to [Google Cloud Storage Request - * URIs](https://cloud.google.com/storage/docs/reference-uris). - */ -@property(nonatomic, copy, nullable) NSString *uri; - -@end - - -/** - * Represents the chunks that the document is divided into. - */ -@interface GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentChunkedDocument : GTLRObject - -/** List of chunks. */ -@property(nonatomic, strong, nullable) NSArray *chunks; - -@end - - -/** - * Represents a chunk. - */ -@interface GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentChunkedDocumentChunk : GTLRObject - -/** ID of the chunk. */ -@property(nonatomic, copy, nullable) NSString *chunkId; - -/** Text content of the chunk. */ -@property(nonatomic, copy, nullable) NSString *content; - -/** Page footers associated with the chunk. */ -@property(nonatomic, strong, nullable) NSArray *pageFooters; - -/** Page headers associated with the chunk. */ -@property(nonatomic, strong, nullable) NSArray *pageHeaders; - -/** Page span of the chunk. */ -@property(nonatomic, strong, nullable) GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentChunkedDocumentChunkChunkPageSpan *pageSpan; - -/** Unused. */ -@property(nonatomic, strong, nullable) NSArray *sourceBlockIds; - -@end - - -/** - * Represents the page footer associated with the chunk. - */ -@interface GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentChunkedDocumentChunkChunkPageFooter : GTLRObject - -/** Page span of the footer. */ -@property(nonatomic, strong, nullable) GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentChunkedDocumentChunkChunkPageSpan *pageSpan; - -/** Footer in text format. */ -@property(nonatomic, copy, nullable) NSString *text; - -@end - - -/** - * Represents the page header associated with the chunk. - */ -@interface GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentChunkedDocumentChunkChunkPageHeader : GTLRObject - -/** Page span of the header. */ -@property(nonatomic, strong, nullable) GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentChunkedDocumentChunkChunkPageSpan *pageSpan; - -/** Header in text format. */ -@property(nonatomic, copy, nullable) NSString *text; - -@end - - -/** - * Represents where the chunk starts and ends in the document. - */ -@interface GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentChunkedDocumentChunkChunkPageSpan : GTLRObject - -/** - * Page where chunk ends in the document. - * - * Uses NSNumber of intValue. - */ -@property(nonatomic, strong, nullable) NSNumber *pageEnd; - -/** - * Page where chunk starts in the document. - * - * Uses NSNumber of intValue. - */ -@property(nonatomic, strong, nullable) NSNumber *pageStart; - -@end - - -/** - * Represents the parsed layout of a document as a collection of blocks that - * the document is divided into. - */ -@interface GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentDocumentLayout : GTLRObject - -/** List of blocks in the document. */ -@property(nonatomic, strong, nullable) NSArray *blocks; - -@end - - -/** - * Represents a block. A block could be one of the various types (text, table, - * list) supported. - */ -@interface GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentDocumentLayoutDocumentLayoutBlock : GTLRObject - -/** ID of the block. */ -@property(nonatomic, copy, nullable) NSString *blockId; - -/** Block consisting of list content/structure. */ -@property(nonatomic, strong, nullable) GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentDocumentLayoutDocumentLayoutBlockLayoutListBlock *listBlock; - -/** Page span of the block. */ -@property(nonatomic, strong, nullable) GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentDocumentLayoutDocumentLayoutBlockLayoutPageSpan *pageSpan; - -/** Block consisting of table content/structure. */ -@property(nonatomic, strong, nullable) GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentDocumentLayoutDocumentLayoutBlockLayoutTableBlock *tableBlock; - -/** Block consisting of text content. */ -@property(nonatomic, strong, nullable) GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentDocumentLayoutDocumentLayoutBlockLayoutTextBlock *textBlock; - -@end - - -/** - * Represents a list type block. - */ -@interface GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentDocumentLayoutDocumentLayoutBlockLayoutListBlock : GTLRObject - -/** List entries that constitute a list block. */ -@property(nonatomic, strong, nullable) NSArray *listEntries; - -/** - * Type of the list_entries (if exist). Available options are `ordered` and - * `unordered`. - */ -@property(nonatomic, copy, nullable) NSString *type; - -@end - - -/** - * Represents an entry in the list. - */ -@interface GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentDocumentLayoutDocumentLayoutBlockLayoutListEntry : GTLRObject - -/** - * A list entry is a list of blocks. Repeated blocks support further - * hierarchies and nested blocks. - */ -@property(nonatomic, strong, nullable) NSArray *blocks; - -@end - - -/** - * Represents where the block starts and ends in the document. - */ -@interface GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentDocumentLayoutDocumentLayoutBlockLayoutPageSpan : GTLRObject - -/** - * Page where block ends in the document. - * - * Uses NSNumber of intValue. - */ -@property(nonatomic, strong, nullable) NSNumber *pageEnd; - -/** - * Page where block starts in the document. - * - * Uses NSNumber of intValue. - */ -@property(nonatomic, strong, nullable) NSNumber *pageStart; - -@end - - -/** - * Represents a table type block. - */ -@interface GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentDocumentLayoutDocumentLayoutBlockLayoutTableBlock : GTLRObject - -/** Body rows containing main table content. */ -@property(nonatomic, strong, nullable) NSArray *bodyRows; - -/** Table caption/title. */ -@property(nonatomic, copy, nullable) NSString *caption; - -/** Header rows at the top of the table. */ -@property(nonatomic, strong, nullable) NSArray *headerRows; - -@end - - -/** - * Represents a cell in a table row. - */ -@interface GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentDocumentLayoutDocumentLayoutBlockLayoutTableCell : GTLRObject - -/** - * A table cell is a list of blocks. Repeated blocks support further - * hierarchies and nested blocks. - */ -@property(nonatomic, strong, nullable) NSArray *blocks; - -/** - * How many columns this cell spans. - * - * Uses NSNumber of intValue. - */ -@property(nonatomic, strong, nullable) NSNumber *colSpan; - -/** - * How many rows this cell spans. - * - * Uses NSNumber of intValue. - */ -@property(nonatomic, strong, nullable) NSNumber *rowSpan; - -@end - - -/** - * Represents a row in a table. - */ -@interface GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentDocumentLayoutDocumentLayoutBlockLayoutTableRow : GTLRObject - -/** A table row is a list of table cells. */ -@property(nonatomic, strong, nullable) NSArray *cells; - -@end - - -/** - * Represents a text type block. - */ -@interface GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentDocumentLayoutDocumentLayoutBlockLayoutTextBlock : GTLRObject - -/** - * A text block could further have child blocks. Repeated blocks support - * further hierarchies and nested blocks. - */ -@property(nonatomic, strong, nullable) NSArray *blocks; - -/** Text content stored in the block. */ -@property(nonatomic, copy, nullable) NSString *text; - -/** - * Type of the text in the block. Available options are: `paragraph`, - * `subtitle`, `heading-1`, `heading-2`, `heading-3`, `heading-4`, `heading-5`, - * `header`, `footer`. - */ -@property(nonatomic, copy, nullable) NSString *type; - -@end - - -/** - * An entity that could be a phrase in the text or a property that belongs to - * the document. It is a known entity type, such as a person, an organization, - * or location. - */ -@interface GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentEntity : GTLRObject - -/** - * Optional. Confidence of detected Schema entity. Range `[0, 1]`. - * - * Uses NSNumber of floatValue. - */ -@property(nonatomic, strong, nullable) NSNumber *confidence; - -/** - * Optional. Canonical id. This will be a unique value in the entity list for - * this document. - * - * identifier property maps to 'id' in JSON (to avoid Objective C's 'id'). - */ -@property(nonatomic, copy, nullable) NSString *identifier; - -/** Optional. Deprecated. Use `id` field instead. */ -@property(nonatomic, copy, nullable) NSString *mentionId; - -/** Optional. Text value of the entity e.g. `1600 Amphitheatre Pkwy`. */ -@property(nonatomic, copy, nullable) NSString *mentionText; - -/** - * Optional. Normalized entity value. Absent if the extracted value could not - * be converted or the type (e.g. address) is not supported for certain - * parsers. This field is also only populated for certain supported document - * types. - */ -@property(nonatomic, strong, nullable) GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentEntityNormalizedValue *normalizedValue; - -/** - * Optional. Represents the provenance of this entity wrt. the location on the - * page where it was found. - */ -@property(nonatomic, strong, nullable) GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentPageAnchor *pageAnchor; - -/** - * Optional. Entities can be nested to form a hierarchical data structure - * representing the content in the document. - */ -@property(nonatomic, strong, nullable) NSArray *properties; - -/** Optional. The history of this annotation. */ -@property(nonatomic, strong, nullable) GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentProvenance *provenance; - -/** - * Optional. Whether the entity will be redacted for de-identification - * purposes. - * - * Uses NSNumber of boolValue. - */ -@property(nonatomic, strong, nullable) NSNumber *redacted; - -/** - * Optional. Provenance of the entity. Text anchor indexing into the - * Document.text. - */ -@property(nonatomic, strong, nullable) GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentTextAnchor *textAnchor; - -/** Required. Entity type from a schema e.g. `Address`. */ -@property(nonatomic, copy, nullable) NSString *type; - -@end + * The processor version has unspecified model type. + * + * Value: "MODEL_TYPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1ProcessorVersion_ModelType_ModelTypeUnspecified; +// ---------------------------------------------------------------------------- +// GTLRDocument_GoogleCloudDocumentaiV1ProcessorVersion.state /** - * Parsed and normalized entity value. + * The processor version is being created. + * + * Value: "CREATING" */ -@interface GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentEntityNormalizedValue : GTLRObject - +FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1ProcessorVersion_State_Creating; /** - * Postal address. See also: - * https://github.com/googleapis/googleapis/blob/master/google/type/postal_address.proto + * The processor version is being deleted. + * + * Value: "DELETING" */ -@property(nonatomic, strong, nullable) GTLRDocument_GoogleTypePostalAddress *addressValue; - +FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1ProcessorVersion_State_Deleting; /** - * Boolean value. Can be used for entities with binary values, or for - * checkboxes. + * The processor version is deployed and can be used for processing. * - * Uses NSNumber of boolValue. + * Value: "DEPLOYED" */ -@property(nonatomic, strong, nullable) NSNumber *booleanValue; - +FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1ProcessorVersion_State_Deployed; /** - * DateTime value. Includes date, time, and timezone. See also: - * https://github.com/googleapis/googleapis/blob/master/google/type/datetime.proto + * The processor version is being deployed. + * + * Value: "DEPLOYING" */ -@property(nonatomic, strong, nullable) GTLRDocument_GoogleTypeDateTime *datetimeValue; - +FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1ProcessorVersion_State_Deploying; /** - * Date value. Includes year, month, day. See also: - * https://github.com/googleapis/googleapis/blob/master/google/type/date.proto + * The processor version failed and is in an indeterminate state. + * + * Value: "FAILED" */ -@property(nonatomic, strong, nullable) GTLRDocument_GoogleTypeDate *dateValue; - +FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1ProcessorVersion_State_Failed; /** - * Float value. + * The processor version is being imported. * - * Uses NSNumber of floatValue. + * Value: "IMPORTING" */ -@property(nonatomic, strong, nullable) NSNumber *floatValue; - +FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1ProcessorVersion_State_Importing; /** - * Integer value. + * The processor version is in an unspecified state. * - * Uses NSNumber of intValue. + * Value: "STATE_UNSPECIFIED" */ -@property(nonatomic, strong, nullable) NSNumber *integerValue; - +FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1ProcessorVersion_State_StateUnspecified; /** - * Money value. See also: - * https://github.com/googleapis/googleapis/blob/master/google/type/money.proto + * The processor version is not deployed and cannot be used for processing. + * + * Value: "UNDEPLOYED" */ -@property(nonatomic, strong, nullable) GTLRDocument_GoogleTypeMoney *moneyValue; - +FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1ProcessorVersion_State_Undeployed; /** - * Optional. An optional field to store a normalized string. For some entity - * types, one of respective `structured_value` fields may also be populated. - * Also not all the types of `structured_value` will be normalized. For - * example, some processors may not generate `float` or `integer` normalized - * text by default. Below are sample formats mapped to structured values. - - * Money/Currency type (`money_value`) is in the ISO 4217 text format. - Date - * type (`date_value`) is in the ISO 8601 text format. - Datetime type - * (`datetime_value`) is in the ISO 8601 text format. + * The processor version is being undeployed. + * + * Value: "UNDEPLOYING" */ -@property(nonatomic, copy, nullable) NSString *text; - -@end +FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1ProcessorVersion_State_Undeploying; +// ---------------------------------------------------------------------------- +// GTLRDocument_GoogleCloudDocumentaiV1ProcessorVersionGenAiModelInfoCustomGenAiModelInfo.customModelType /** - * Relationship between Entities. + * The model type is unspecified. + * + * Value: "CUSTOM_MODEL_TYPE_UNSPECIFIED" */ -@interface GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentEntityRelation : GTLRObject - -/** Object entity id. */ -@property(nonatomic, copy, nullable) NSString *objectId; - -/** Relationship description. */ -@property(nonatomic, copy, nullable) NSString *relation; - -/** Subject entity id. */ -@property(nonatomic, copy, nullable) NSString *subjectId; - -@end - - +FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1ProcessorVersionGenAiModelInfoCustomGenAiModelInfo_CustomModelType_CustomModelTypeUnspecified; /** - * Label attaches schema information and/or other metadata to segments within a - * Document. Multiple Labels on a single field can denote either different - * labels, different instances of the same label created at different times, or - * some combination of both. + * The model is a finetuned foundation model. + * + * Value: "FINE_TUNED" */ -@interface GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentLabel : GTLRObject - +FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1ProcessorVersionGenAiModelInfoCustomGenAiModelInfo_CustomModelType_FineTuned; /** - * Label is generated AutoML model. This field stores the full resource name of - * the AutoML model. Format: - * `projects/{project-id}/locations/{location-id}/models/{model-id}` + * The model is a versioned foundation model. + * + * Value: "VERSIONED_FOUNDATION" */ -@property(nonatomic, copy, nullable) NSString *automlModel; +FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1ProcessorVersionGenAiModelInfoCustomGenAiModelInfo_CustomModelType_VersionedFoundation; + +// ---------------------------------------------------------------------------- +// GTLRDocument_GoogleCloudDocumentaiV1ReviewDocumentRequest.priority /** - * Confidence score between 0 and 1 for label assignment. + * The default priority level. * - * Uses NSNumber of floatValue. + * Value: "DEFAULT" */ -@property(nonatomic, strong, nullable) NSNumber *confidence; - +FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1ReviewDocumentRequest_Priority_Default; /** - * Name of the label. When the label is generated from AutoML Text - * Classification model, this field represents the name of the category. + * The urgent priority level. The labeling manager should allocate labeler + * resource to the urgent task queue to respect this priority level. + * + * Value: "URGENT" */ -@property(nonatomic, copy, nullable) NSString *name; - -@end +FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1ReviewDocumentRequest_Priority_Urgent; +// ---------------------------------------------------------------------------- +// GTLRDocument_GoogleCloudDocumentaiV1ReviewDocumentResponse.state /** - * A page in a Document. + * The review operation is rejected by the reviewer. + * + * Value: "REJECTED" */ -@interface GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentPage : GTLRObject - +FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1ReviewDocumentResponse_State_Rejected; /** - * A list of visually detected text blocks on the page. A block has a set of - * lines (collected into paragraphs) that have a common line-spacing and - * orientation. + * The default value. This value is used if the state is omitted. + * + * Value: "STATE_UNSPECIFIED" */ -@property(nonatomic, strong, nullable) NSArray *blocks; - -/** A list of detected barcodes. */ -@property(nonatomic, strong, nullable) NSArray *detectedBarcodes; - -/** A list of detected languages together with confidence. */ -@property(nonatomic, strong, nullable) NSArray *detectedLanguages; - -/** Physical dimension of the page. */ -@property(nonatomic, strong, nullable) GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentPageDimension *dimension; - -/** A list of visually detected form fields on the page. */ -@property(nonatomic, strong, nullable) NSArray *formFields; - +FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1ReviewDocumentResponse_State_StateUnspecified; /** - * Rendered image for this page. This image is preprocessed to remove any skew, - * rotation, and distortions such that the annotation bounding boxes can be - * upright and axis-aligned. + * The review operation is succeeded. + * + * Value: "SUCCEEDED" */ -@property(nonatomic, strong, nullable) GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentPageImage *image; +FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1ReviewDocumentResponse_State_Succeeded; -/** Image quality scores. */ -@property(nonatomic, strong, nullable) GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentPageImageQualityScores *imageQualityScores; +// ---------------------------------------------------------------------------- +// GTLRDocument_GoogleCloudDocumentaiV1TrainProcessorVersionRequestCustomDocumentExtractionOptions.trainingMethod -/** Layout for the page. */ -@property(nonatomic, strong, nullable) GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentPageLayout *layout; +/** Value: "MODEL_BASED" */ +FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1TrainProcessorVersionRequestCustomDocumentExtractionOptions_TrainingMethod_ModelBased; +/** Value: "TEMPLATE_BASED" */ +FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1TrainProcessorVersionRequestCustomDocumentExtractionOptions_TrainingMethod_TemplateBased; +/** Value: "TRAINING_METHOD_UNSPECIFIED" */ +FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1TrainProcessorVersionRequestCustomDocumentExtractionOptions_TrainingMethod_TrainingMethodUnspecified; /** - * A list of visually detected text lines on the page. A collection of tokens - * that a human would perceive as a line. + * Metadata of the auto-labeling documents operation. */ -@property(nonatomic, strong, nullable) NSArray *lines; +@interface GTLRDocument_GoogleCloudDocumentaiUiv1beta3AutoLabelDocumentsMetadata : GTLRObject + +/** The basic metadata of the long-running operation. */ +@property(nonatomic, strong, nullable) GTLRDocument_GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata *commonMetadata; + +/** The list of individual auto-labeling statuses of the dataset documents. */ +@property(nonatomic, strong, nullable) NSArray *individualAutoLabelStatuses; /** - * 1-based index for current Page in a parent Document. Useful when a page is - * taken out of a Document for individual processing. + * Total number of the auto-labeling documents. * * Uses NSNumber of intValue. */ -@property(nonatomic, strong, nullable) NSNumber *pageNumber; - -/** - * A list of visually detected text paragraphs on the page. A collection of - * lines that a human would perceive as a paragraph. - */ -@property(nonatomic, strong, nullable) NSArray *paragraphs; - -/** The history of this page. */ -@property(nonatomic, strong, nullable) GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentProvenance *provenance GTLR_DEPRECATED; - -/** A list of visually detected symbols on the page. */ -@property(nonatomic, strong, nullable) NSArray *symbols; +@property(nonatomic, strong, nullable) NSNumber *totalDocumentCount; -/** A list of visually detected tables on the page. */ -@property(nonatomic, strong, nullable) NSArray *tables; +@end -/** A list of visually detected tokens on the page. */ -@property(nonatomic, strong, nullable) NSArray *tokens; /** - * Transformation matrices that were applied to the original document image to - * produce Page.image. + * The status of individual documents in the auto-labeling process. */ -@property(nonatomic, strong, nullable) NSArray *transforms; +@interface GTLRDocument_GoogleCloudDocumentaiUiv1beta3AutoLabelDocumentsMetadataIndividualAutoLabelStatus : GTLRObject /** - * A list of detected non-text visual elements e.g. checkbox, signature etc. on - * the page. + * The document id of the auto-labeled document. This will replace the gcs_uri. */ -@property(nonatomic, strong, nullable) NSArray *visualElements; +@property(nonatomic, strong, nullable) GTLRDocument_GoogleCloudDocumentaiUiv1beta3DocumentId *documentId; + +/** The status of the document auto-labeling. */ +@property(nonatomic, strong, nullable) GTLRDocument_GoogleRpcStatus *status; @end /** - * Referencing the visual context of the entity in the Document.pages. Page - * anchors can be cross-page, consist of multiple bounding polygons and - * optionally reference specific layout element types. + * The response proto of AutoLabelDocuments method. */ -@interface GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentPageAnchor : GTLRObject - -/** One or more references to visual page elements */ -@property(nonatomic, strong, nullable) NSArray *pageRefs; - +@interface GTLRDocument_GoogleCloudDocumentaiUiv1beta3AutoLabelDocumentsResponse : GTLRObject @end /** - * Represents a weak reference to a page element within a document. + * GTLRDocument_GoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsMetadata */ -@interface GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentPageAnchorPageRef : GTLRObject +@interface GTLRDocument_GoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsMetadata : GTLRObject -/** - * Optional. Identifies the bounding polygon of a layout element on the page. - * If `layout_type` is set, the bounding polygon must be exactly the same to - * the layout element it's referring to. - */ -@property(nonatomic, strong, nullable) GTLRDocument_GoogleCloudDocumentaiV1beta2BoundingPoly *boundingPoly; +/** The basic metadata of the long-running operation. */ +@property(nonatomic, strong, nullable) GTLRDocument_GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata *commonMetadata; /** - * Optional. Confidence of detected page element, if applicable. Range `[0, - * 1]`. + * Total number of documents that failed to be deleted in storage. * - * Uses NSNumber of floatValue. + * Uses NSNumber of intValue. */ -@property(nonatomic, strong, nullable) NSNumber *confidence; - -/** Optional. Deprecated. Use PageRef.bounding_poly instead. */ -@property(nonatomic, copy, nullable) NSString *layoutId GTLR_DEPRECATED; +@property(nonatomic, strong, nullable) NSNumber *errorDocumentCount; -/** - * Optional. The type of the layout element that is being referenced if any. - * - * Likely values: - * @arg @c kGTLRDocument_GoogleCloudDocumentaiV1beta2DocumentPageAnchorPageRef_LayoutType_Block - * References a Page.blocks element. (Value: "BLOCK") - * @arg @c kGTLRDocument_GoogleCloudDocumentaiV1beta2DocumentPageAnchorPageRef_LayoutType_FormField - * References a Page.form_fields element. (Value: "FORM_FIELD") - * @arg @c kGTLRDocument_GoogleCloudDocumentaiV1beta2DocumentPageAnchorPageRef_LayoutType_LayoutTypeUnspecified - * Layout Unspecified. (Value: "LAYOUT_TYPE_UNSPECIFIED") - * @arg @c kGTLRDocument_GoogleCloudDocumentaiV1beta2DocumentPageAnchorPageRef_LayoutType_Line - * References a Page.lines element. (Value: "LINE") - * @arg @c kGTLRDocument_GoogleCloudDocumentaiV1beta2DocumentPageAnchorPageRef_LayoutType_Paragraph - * References a Page.paragraphs element. (Value: "PARAGRAPH") - * @arg @c kGTLRDocument_GoogleCloudDocumentaiV1beta2DocumentPageAnchorPageRef_LayoutType_Table - * Refrrences a Page.tables element. (Value: "TABLE") - * @arg @c kGTLRDocument_GoogleCloudDocumentaiV1beta2DocumentPageAnchorPageRef_LayoutType_Token - * References a Page.tokens element. (Value: "TOKEN") - * @arg @c kGTLRDocument_GoogleCloudDocumentaiV1beta2DocumentPageAnchorPageRef_LayoutType_VisualElement - * References a Page.visual_elements element. (Value: "VISUAL_ELEMENT") - */ -@property(nonatomic, copy, nullable) NSString *layoutType; +/** The list of response details of each document. */ +@property(nonatomic, strong, nullable) NSArray *individualBatchDeleteStatuses; /** - * Required. Index into the Document.pages element, for example using - * `Document.pages` to locate the related page element. This field is skipped - * when its value is the default `0`. See - * https://developers.google.com/protocol-buffers/docs/proto3#json. + * Total number of documents deleting from dataset. * - * Uses NSNumber of longLongValue. + * Uses NSNumber of intValue. */ -@property(nonatomic, strong, nullable) NSNumber *page; +@property(nonatomic, strong, nullable) NSNumber *totalDocumentCount; @end /** - * A block has a set of lines (collected into paragraphs) that have a common - * line-spacing and orientation. + * The status of each individual document in the batch delete process. */ -@interface GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentPageBlock : GTLRObject - -/** A list of detected languages together with confidence. */ -@property(nonatomic, strong, nullable) NSArray *detectedLanguages; +@interface GTLRDocument_GoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsMetadataIndividualBatchDeleteStatus : GTLRObject -/** Layout for Block. */ -@property(nonatomic, strong, nullable) GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentPageLayout *layout; +/** The document id of the document. */ +@property(nonatomic, strong, nullable) GTLRDocument_GoogleCloudDocumentaiUiv1beta3DocumentId *documentId; -/** The history of this annotation. */ -@property(nonatomic, strong, nullable) GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentProvenance *provenance GTLR_DEPRECATED; +/** The status of deleting the document in storage. */ +@property(nonatomic, strong, nullable) GTLRDocument_GoogleRpcStatus *status; @end /** - * A detected barcode. + * Response of the delete documents operation. */ -@interface GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentPageDetectedBarcode : GTLRObject - -/** Detailed barcode information of the DetectedBarcode. */ -@property(nonatomic, strong, nullable) GTLRDocument_GoogleCloudDocumentaiV1beta2Barcode *barcode; - -/** Layout for DetectedBarcode. */ -@property(nonatomic, strong, nullable) GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentPageLayout *layout; - +@interface GTLRDocument_GoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsResponse : GTLRObject @end /** - * Detected language for a structural component. + * GTLRDocument_GoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsMetadata */ -@interface GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage : GTLRObject +@interface GTLRDocument_GoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsMetadata : GTLRObject + +/** The basic metadata of the long-running operation. */ +@property(nonatomic, strong, nullable) GTLRDocument_GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata *commonMetadata; /** - * Confidence of detected language. Range `[0, 1]`. + * The destination dataset split type. * - * Uses NSNumber of floatValue. + * Likely values: + * @arg @c kGTLRDocument_GoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsMetadata_DestDatasetType_DatasetSplitTest + * Identifies the test documents. (Value: "DATASET_SPLIT_TEST") + * @arg @c kGTLRDocument_GoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsMetadata_DestDatasetType_DatasetSplitTrain + * Identifies the train documents. (Value: "DATASET_SPLIT_TRAIN") + * @arg @c kGTLRDocument_GoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsMetadata_DestDatasetType_DatasetSplitTypeUnspecified + * Default value if the enum is not set. (Value: + * "DATASET_SPLIT_TYPE_UNSPECIFIED") + * @arg @c kGTLRDocument_GoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsMetadata_DestDatasetType_DatasetSplitUnassigned + * Identifies the unassigned documents. (Value: + * "DATASET_SPLIT_UNASSIGNED") */ -@property(nonatomic, strong, nullable) NSNumber *confidence; +@property(nonatomic, copy, nullable) NSString *destDatasetType GTLR_DEPRECATED; /** - * The [BCP-47 language - * code](https://www.unicode.org/reports/tr35/#Unicode_locale_identifier), such - * as `en-US` or `sr-Latn`. + * The destination dataset split type. + * + * Likely values: + * @arg @c kGTLRDocument_GoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsMetadata_DestSplitType_DatasetSplitTest + * Identifies the test documents. (Value: "DATASET_SPLIT_TEST") + * @arg @c kGTLRDocument_GoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsMetadata_DestSplitType_DatasetSplitTrain + * Identifies the train documents. (Value: "DATASET_SPLIT_TRAIN") + * @arg @c kGTLRDocument_GoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsMetadata_DestSplitType_DatasetSplitTypeUnspecified + * Default value if the enum is not set. (Value: + * "DATASET_SPLIT_TYPE_UNSPECIFIED") + * @arg @c kGTLRDocument_GoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsMetadata_DestSplitType_DatasetSplitUnassigned + * Identifies the unassigned documents. (Value: + * "DATASET_SPLIT_UNASSIGNED") */ -@property(nonatomic, copy, nullable) NSString *languageCode; +@property(nonatomic, copy, nullable) NSString *destSplitType; -@end +/** The list of response details of each document. */ +@property(nonatomic, strong, nullable) NSArray *individualBatchMoveStatuses; +@end -/** - * Dimension for the page. - */ -@interface GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentPageDimension : GTLRObject /** - * Page height. - * - * Uses NSNumber of floatValue. + * The status of each individual document in the batch move process. */ -@property(nonatomic, strong, nullable) NSNumber *height; +@interface GTLRDocument_GoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsMetadataIndividualBatchMoveStatus : GTLRObject -/** Dimension unit. */ -@property(nonatomic, copy, nullable) NSString *unit; +/** The document id of the document. */ +@property(nonatomic, strong, nullable) GTLRDocument_GoogleCloudDocumentaiUiv1beta3DocumentId *documentId; -/** - * Page width. - * - * Uses NSNumber of floatValue. - */ -@property(nonatomic, strong, nullable) NSNumber *width; +/** The status of moving the document. */ +@property(nonatomic, strong, nullable) GTLRDocument_GoogleRpcStatus *status; @end /** - * A form field detected on the page. - */ -@interface GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentPageFormField : GTLRObject - -/** - * Created for Labeling UI to export key text. If corrections were made to the - * text identified by the `field_name.text_anchor`, this field will contain the - * correction. + * Response of the batch move documents operation. */ -@property(nonatomic, copy, nullable) NSString *correctedKeyText; +@interface GTLRDocument_GoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsResponse : GTLRObject +@end -/** - * Created for Labeling UI to export value text. If corrections were made to - * the text identified by the `field_value.text_anchor`, this field will - * contain the correction. - */ -@property(nonatomic, copy, nullable) NSString *correctedValueText; /** - * Layout for the FormField name. e.g. `Address`, `Email`, `Grand total`, - * `Phone number`, etc. + * GTLRDocument_GoogleCloudDocumentaiUiv1beta3BatchUpdateDocumentsMetadata */ -@property(nonatomic, strong, nullable) GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentPageLayout *fieldName; +@interface GTLRDocument_GoogleCloudDocumentaiUiv1beta3BatchUpdateDocumentsMetadata : GTLRObject -/** Layout for the FormField value. */ -@property(nonatomic, strong, nullable) GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentPageLayout *fieldValue; +/** The basic metadata of the long-running operation. */ +@property(nonatomic, strong, nullable) GTLRDocument_GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata *commonMetadata; -/** A list of detected languages for name together with confidence. */ -@property(nonatomic, strong, nullable) NSArray *nameDetectedLanguages; +/** The list of response details of each document. */ +@property(nonatomic, strong, nullable) NSArray *individualBatchUpdateStatuses; -/** The history of this annotation. */ -@property(nonatomic, strong, nullable) GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentProvenance *provenance; +@end -/** A list of detected languages for value together with confidence. */ -@property(nonatomic, strong, nullable) NSArray *valueDetectedLanguages; /** - * If the value is non-textual, this field represents the type. Current valid - * values are: - blank (this indicates the `field_value` is normal text) - - * `unfilled_checkbox` - `filled_checkbox` + * The status of each individual document in the batch update process. */ -@property(nonatomic, copy, nullable) NSString *valueType; +@interface GTLRDocument_GoogleCloudDocumentaiUiv1beta3BatchUpdateDocumentsMetadataIndividualBatchUpdateStatus : GTLRObject + +/** The document id of the document. */ +@property(nonatomic, strong, nullable) GTLRDocument_GoogleCloudDocumentaiUiv1beta3DocumentId *documentId; + +/** The status of updating the document in storage. */ +@property(nonatomic, strong, nullable) GTLRDocument_GoogleRpcStatus *status; @end /** - * Rendered image contents for this page. + * Response of the batch update documents operation. */ -@interface GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentPageImage : GTLRObject +@interface GTLRDocument_GoogleCloudDocumentaiUiv1beta3BatchUpdateDocumentsResponse : GTLRObject +@end -/** - * Raw byte content of the image. - * - * Contains encoded binary data; GTLRBase64 can encode/decode (probably - * web-safe format). - */ -@property(nonatomic, copy, nullable) NSString *content; /** - * Height of the image in pixels. - * - * Uses NSNumber of intValue. + * The common metadata for long running operations. */ -@property(nonatomic, strong, nullable) NSNumber *height; +@interface GTLRDocument_GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata : GTLRObject -/** - * Encoding [media type (MIME - * type)](https://www.iana.org/assignments/media-types/media-types.xhtml) for - * the image. - */ -@property(nonatomic, copy, nullable) NSString *mimeType; +/** The creation time of the operation. */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; + +/** A related resource to this operation. */ +@property(nonatomic, copy, nullable) NSString *resource; /** - * Width of the image in pixels. + * The state of the operation. * - * Uses NSNumber of intValue. + * Likely values: + * @arg @c kGTLRDocument_GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata_State_Cancelled + * Operation is cancelled. (Value: "CANCELLED") + * @arg @c kGTLRDocument_GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata_State_Cancelling + * Operation is being cancelled. (Value: "CANCELLING") + * @arg @c kGTLRDocument_GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata_State_Failed + * Operation failed. (Value: "FAILED") + * @arg @c kGTLRDocument_GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata_State_Running + * Operation is still running. (Value: "RUNNING") + * @arg @c kGTLRDocument_GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata_State_StateUnspecified + * Unspecified state. (Value: "STATE_UNSPECIFIED") + * @arg @c kGTLRDocument_GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata_State_Succeeded + * Operation succeeded. (Value: "SUCCEEDED") */ -@property(nonatomic, strong, nullable) NSNumber *width; +@property(nonatomic, copy, nullable) NSString *state; -@end +/** A message providing more details about the current state of processing. */ +@property(nonatomic, copy, nullable) NSString *stateMessage; +/** The last update time of the operation. */ +@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; -/** - * Image quality scores for the page image. - */ -@interface GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentPageImageQualityScores : GTLRObject +@end -/** A list of detected defects. */ -@property(nonatomic, strong, nullable) NSArray *detectedDefects; /** - * The overall quality score. Range `[0, 1]` where `1` is perfect quality. - * - * Uses NSNumber of floatValue. + * The long-running operation metadata for the CreateLabelerPool method. */ -@property(nonatomic, strong, nullable) NSNumber *qualityScore; +@interface GTLRDocument_GoogleCloudDocumentaiUiv1beta3CreateLabelerPoolOperationMetadata : GTLRObject -@end +/** The basic metadata of the long-running operation. */ +@property(nonatomic, strong, nullable) GTLRDocument_GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata *commonMetadata; +@end -/** - * Image Quality Defects - */ -@interface GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentPageImageQualityScoresDetectedDefect : GTLRObject /** - * Confidence of detected defect. Range `[0, 1]` where `1` indicates strong - * confidence that the defect exists. - * - * Uses NSNumber of floatValue. + * The long-running operation metadata for DeleteLabelerPool. */ -@property(nonatomic, strong, nullable) NSNumber *confidence; +@interface GTLRDocument_GoogleCloudDocumentaiUiv1beta3DeleteLabelerPoolOperationMetadata : GTLRObject -/** - * Name of the defect type. Supported values are: - `quality/defect_blurry` - - * `quality/defect_noisy` - `quality/defect_dark` - `quality/defect_faint` - - * `quality/defect_text_too_small` - `quality/defect_document_cutoff` - - * `quality/defect_text_cutoff` - `quality/defect_glare` - */ -@property(nonatomic, copy, nullable) NSString *type; +/** The basic metadata of the long-running operation. */ +@property(nonatomic, strong, nullable) GTLRDocument_GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata *commonMetadata; @end /** - * Visual element describing a layout unit on a page. + * The long-running operation metadata for the DeleteProcessor method. */ -@interface GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentPageLayout : GTLRObject +@interface GTLRDocument_GoogleCloudDocumentaiUiv1beta3DeleteProcessorMetadata : GTLRObject -/** The bounding polygon for the Layout. */ -@property(nonatomic, strong, nullable) GTLRDocument_GoogleCloudDocumentaiV1beta2BoundingPoly *boundingPoly; +/** The basic metadata of the long-running operation. */ +@property(nonatomic, strong, nullable) GTLRDocument_GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata *commonMetadata; + +@end -/** - * Confidence of the current Layout within context of the object this layout is - * for. e.g. confidence can be for a single token, a table, a visual element, - * etc. depending on context. Range `[0, 1]`. - * - * Uses NSNumber of floatValue. - */ -@property(nonatomic, strong, nullable) NSNumber *confidence; /** - * Detected orientation for the Layout. - * - * Likely values: - * @arg @c kGTLRDocument_GoogleCloudDocumentaiV1beta2DocumentPageLayout_Orientation_OrientationUnspecified - * Unspecified orientation. (Value: "ORIENTATION_UNSPECIFIED") - * @arg @c kGTLRDocument_GoogleCloudDocumentaiV1beta2DocumentPageLayout_Orientation_PageDown - * Orientation is aligned with page down. Turn the head 180 degrees from - * upright to read. (Value: "PAGE_DOWN") - * @arg @c kGTLRDocument_GoogleCloudDocumentaiV1beta2DocumentPageLayout_Orientation_PageLeft - * Orientation is aligned with page left. Turn the head 90 degrees - * counterclockwise from upright to read. (Value: "PAGE_LEFT") - * @arg @c kGTLRDocument_GoogleCloudDocumentaiV1beta2DocumentPageLayout_Orientation_PageRight - * Orientation is aligned with page right. Turn the head 90 degrees - * clockwise from upright to read. (Value: "PAGE_RIGHT") - * @arg @c kGTLRDocument_GoogleCloudDocumentaiV1beta2DocumentPageLayout_Orientation_PageUp - * Orientation is aligned with page up. (Value: "PAGE_UP") + * The long-running operation metadata for the DeleteProcessorVersion method. */ -@property(nonatomic, copy, nullable) NSString *orientation; +@interface GTLRDocument_GoogleCloudDocumentaiUiv1beta3DeleteProcessorVersionMetadata : GTLRObject -/** Text anchor indexing into the Document.text. */ -@property(nonatomic, strong, nullable) GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentTextAnchor *textAnchor; +/** The basic metadata of the long-running operation. */ +@property(nonatomic, strong, nullable) GTLRDocument_GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata *commonMetadata; @end /** - * A collection of tokens that a human would perceive as a line. Does not cross - * column boundaries, can be horizontal, vertical, etc. - */ -@interface GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentPageLine : GTLRObject - -/** A list of detected languages together with confidence. */ -@property(nonatomic, strong, nullable) NSArray *detectedLanguages; - -/** Layout for Line. */ -@property(nonatomic, strong, nullable) GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentPageLayout *layout; + * The long-running operation metadata for the DeployProcessorVersion method. + */ +@interface GTLRDocument_GoogleCloudDocumentaiUiv1beta3DeployProcessorVersionMetadata : GTLRObject -/** The history of this annotation. */ -@property(nonatomic, strong, nullable) GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentProvenance *provenance GTLR_DEPRECATED; +/** The basic metadata of the long-running operation. */ +@property(nonatomic, strong, nullable) GTLRDocument_GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata *commonMetadata; @end /** - * Representation for transformation matrix, intended to be compatible and used - * with OpenCV format for image manipulation. + * Response message for the DeployProcessorVersion method. */ -@interface GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentPageMatrix : GTLRObject +@interface GTLRDocument_GoogleCloudDocumentaiUiv1beta3DeployProcessorVersionResponse : GTLRObject +@end -/** - * Number of columns in the matrix. - * - * Uses NSNumber of intValue. - */ -@property(nonatomic, strong, nullable) NSNumber *cols; /** - * The matrix data. - * - * Contains encoded binary data; GTLRBase64 can encode/decode (probably - * web-safe format). + * The long-running operation metadata for the DisableProcessor method. */ -@property(nonatomic, copy, nullable) NSString *data; +@interface GTLRDocument_GoogleCloudDocumentaiUiv1beta3DisableProcessorMetadata : GTLRObject + +/** The basic metadata of the long-running operation. */ +@property(nonatomic, strong, nullable) GTLRDocument_GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata *commonMetadata; + +@end -/** - * Number of rows in the matrix. - * - * Uses NSNumber of intValue. - */ -@property(nonatomic, strong, nullable) NSNumber *rows; /** - * This encodes information about what data type the matrix uses. For example, - * 0 (CV_8U) is an unsigned 8-bit image. For the full list of OpenCV primitive - * data types, please refer to - * https://docs.opencv.org/4.3.0/d1/d1b/group__core__hal__interface.html - * - * Uses NSNumber of intValue. + * Response message for the DisableProcessor method. Intentionally empty proto + * for adding fields in future. */ -@property(nonatomic, strong, nullable) NSNumber *type; - +@interface GTLRDocument_GoogleCloudDocumentaiUiv1beta3DisableProcessorResponse : GTLRObject @end /** - * A collection of lines that a human would perceive as a paragraph. + * Document Identifier. */ -@interface GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentPageParagraph : GTLRObject +@interface GTLRDocument_GoogleCloudDocumentaiUiv1beta3DocumentId : GTLRObject -/** A list of detected languages together with confidence. */ -@property(nonatomic, strong, nullable) NSArray *detectedLanguages; +/** A document id within user-managed Cloud Storage. */ +@property(nonatomic, strong, nullable) GTLRDocument_GoogleCloudDocumentaiUiv1beta3DocumentIdGCSManagedDocumentId *gcsManagedDocId; -/** Layout for Paragraph. */ -@property(nonatomic, strong, nullable) GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentPageLayout *layout; +/** Points to a specific revision of the document if set. */ +@property(nonatomic, strong, nullable) GTLRDocument_GoogleCloudDocumentaiUiv1beta3RevisionRef *revisionRef; -/** The history of this annotation. */ -@property(nonatomic, strong, nullable) GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentProvenance *provenance GTLR_DEPRECATED; +/** A document id within unmanaged dataset. */ +@property(nonatomic, strong, nullable) GTLRDocument_GoogleCloudDocumentaiUiv1beta3DocumentIdUnmanagedDocumentId *unmanagedDocId; @end /** - * A detected symbol. + * Identifies a document uniquely within the scope of a dataset in the + * user-managed Cloud Storage option. */ -@interface GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentPageSymbol : GTLRObject +@interface GTLRDocument_GoogleCloudDocumentaiUiv1beta3DocumentIdGCSManagedDocumentId : GTLRObject -/** A list of detected languages together with confidence. */ -@property(nonatomic, strong, nullable) NSArray *detectedLanguages; +/** Id of the document (indexed) managed by Content Warehouse. */ +@property(nonatomic, copy, nullable) NSString *cwDocId GTLR_DEPRECATED; -/** Layout for Symbol. */ -@property(nonatomic, strong, nullable) GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentPageLayout *layout; +/** Required. The Cloud Storage URI where the actual document is stored. */ +@property(nonatomic, copy, nullable) NSString *gcsUri; @end /** - * A table representation similar to HTML table structure. + * Identifies a document uniquely within the scope of a dataset in unmanaged + * option. */ -@interface GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentPageTable : GTLRObject +@interface GTLRDocument_GoogleCloudDocumentaiUiv1beta3DocumentIdUnmanagedDocumentId : GTLRObject -/** Body rows of the table. */ -@property(nonatomic, strong, nullable) NSArray *bodyRows; +/** Required. The id of the document. */ +@property(nonatomic, copy, nullable) NSString *docId; -/** A list of detected languages together with confidence. */ -@property(nonatomic, strong, nullable) NSArray *detectedLanguages; +@end -/** Header rows of the table. */ -@property(nonatomic, strong, nullable) NSArray *headerRows; -/** Layout for Table. */ -@property(nonatomic, strong, nullable) GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentPageLayout *layout; +/** + * The long-running operation metadata for the EnableProcessor method. + */ +@interface GTLRDocument_GoogleCloudDocumentaiUiv1beta3EnableProcessorMetadata : GTLRObject -/** The history of this table. */ -@property(nonatomic, strong, nullable) GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentProvenance *provenance GTLR_DEPRECATED; +/** The basic metadata of the long-running operation. */ +@property(nonatomic, strong, nullable) GTLRDocument_GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata *commonMetadata; @end /** - * A cell representation inside the table. - */ -@interface GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentPageTableTableCell : GTLRObject - -/** - * How many columns this cell spans. - * - * Uses NSNumber of intValue. + * Response message for the EnableProcessor method. Intentionally empty proto + * for adding fields in future. */ -@property(nonatomic, strong, nullable) NSNumber *colSpan; - -/** A list of detected languages together with confidence. */ -@property(nonatomic, strong, nullable) NSArray *detectedLanguages; +@interface GTLRDocument_GoogleCloudDocumentaiUiv1beta3EnableProcessorResponse : GTLRObject +@end -/** Layout for TableCell. */ -@property(nonatomic, strong, nullable) GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentPageLayout *layout; /** - * How many rows this cell spans. - * - * Uses NSNumber of intValue. + * Metadata of the EvaluateProcessorVersion method. */ -@property(nonatomic, strong, nullable) NSNumber *rowSpan; +@interface GTLRDocument_GoogleCloudDocumentaiUiv1beta3EvaluateProcessorVersionMetadata : GTLRObject + +/** The basic metadata of the long-running operation. */ +@property(nonatomic, strong, nullable) GTLRDocument_GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata *commonMetadata; @end /** - * A row of table cells. + * Response of the EvaluateProcessorVersion method. */ -@interface GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentPageTableTableRow : GTLRObject +@interface GTLRDocument_GoogleCloudDocumentaiUiv1beta3EvaluateProcessorVersionResponse : GTLRObject -/** Cells that make up this row. */ -@property(nonatomic, strong, nullable) NSArray *cells; +/** The resource name of the created evaluation. */ +@property(nonatomic, copy, nullable) NSString *evaluation; @end /** - * A detected token. + * Metadata of the batch export documents operation. */ -@interface GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentPageToken : GTLRObject - -/** Detected break at the end of a Token. */ -@property(nonatomic, strong, nullable) GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentPageTokenDetectedBreak *detectedBreak; - -/** A list of detected languages together with confidence. */ -@property(nonatomic, strong, nullable) NSArray *detectedLanguages; +@interface GTLRDocument_GoogleCloudDocumentaiUiv1beta3ExportDocumentsMetadata : GTLRObject -/** Layout for Token. */ -@property(nonatomic, strong, nullable) GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentPageLayout *layout; +/** The basic metadata of the long-running operation. */ +@property(nonatomic, strong, nullable) GTLRDocument_GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata *commonMetadata; -/** The history of this annotation. */ -@property(nonatomic, strong, nullable) GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentProvenance *provenance GTLR_DEPRECATED; +/** The list of response details of each document. */ +@property(nonatomic, strong, nullable) NSArray *individualExportStatuses; -/** Text style attributes. */ -@property(nonatomic, strong, nullable) GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentPageTokenStyleInfo *styleInfo; +/** The list of statistics for each dataset split type. */ +@property(nonatomic, strong, nullable) NSArray *splitExportStats; @end /** - * Detected break at the end of a Token. + * The status of each individual document in the export process. */ -@interface GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentPageTokenDetectedBreak : GTLRObject +@interface GTLRDocument_GoogleCloudDocumentaiUiv1beta3ExportDocumentsMetadataIndividualExportStatus : GTLRObject + +/** The path to source docproto of the document. */ +@property(nonatomic, strong, nullable) GTLRDocument_GoogleCloudDocumentaiUiv1beta3DocumentId *documentId; /** - * Detected break type. - * - * Likely values: - * @arg @c kGTLRDocument_GoogleCloudDocumentaiV1beta2DocumentPageTokenDetectedBreak_Type_Hyphen - * A hyphen that indicates that a token has been split across lines. - * (Value: "HYPHEN") - * @arg @c kGTLRDocument_GoogleCloudDocumentaiV1beta2DocumentPageTokenDetectedBreak_Type_Space - * A single whitespace. (Value: "SPACE") - * @arg @c kGTLRDocument_GoogleCloudDocumentaiV1beta2DocumentPageTokenDetectedBreak_Type_TypeUnspecified - * Unspecified break type. (Value: "TYPE_UNSPECIFIED") - * @arg @c kGTLRDocument_GoogleCloudDocumentaiV1beta2DocumentPageTokenDetectedBreak_Type_WideSpace - * A wider whitespace. (Value: "WIDE_SPACE") + * The output_gcs_destination of the exported document if it was successful, + * otherwise empty. */ -@property(nonatomic, copy, nullable) NSString *type; +@property(nonatomic, copy, nullable) NSString *outputGcsDestination; + +/** The status of the exporting of the document. */ +@property(nonatomic, strong, nullable) GTLRDocument_GoogleRpcStatus *status; @end /** - * Font and other text style attributes. + * The statistic representing a dataset split type for this export. */ -@interface GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentPageTokenStyleInfo : GTLRObject - -/** Color of the background. */ -@property(nonatomic, strong, nullable) GTLRDocument_GoogleTypeColor *backgroundColor; +@interface GTLRDocument_GoogleCloudDocumentaiUiv1beta3ExportDocumentsMetadataSplitExportStat : GTLRObject /** - * Whether the text is bold (equivalent to font_weight is at least `700`). + * The dataset split type. * - * Uses NSNumber of boolValue. + * Likely values: + * @arg @c kGTLRDocument_GoogleCloudDocumentaiUiv1beta3ExportDocumentsMetadataSplitExportStat_SplitType_DatasetSplitTest + * Identifies the test documents. (Value: "DATASET_SPLIT_TEST") + * @arg @c kGTLRDocument_GoogleCloudDocumentaiUiv1beta3ExportDocumentsMetadataSplitExportStat_SplitType_DatasetSplitTrain + * Identifies the train documents. (Value: "DATASET_SPLIT_TRAIN") + * @arg @c kGTLRDocument_GoogleCloudDocumentaiUiv1beta3ExportDocumentsMetadataSplitExportStat_SplitType_DatasetSplitTypeUnspecified + * Default value if the enum is not set. (Value: + * "DATASET_SPLIT_TYPE_UNSPECIFIED") + * @arg @c kGTLRDocument_GoogleCloudDocumentaiUiv1beta3ExportDocumentsMetadataSplitExportStat_SplitType_DatasetSplitUnassigned + * Identifies the unassigned documents. (Value: + * "DATASET_SPLIT_UNASSIGNED") */ -@property(nonatomic, strong, nullable) NSNumber *bold; +@property(nonatomic, copy, nullable) NSString *splitType; /** - * Font size in points (`1` point is `¹⁄₇₂` inches). + * Total number of documents with the given dataset split type to be exported. * * Uses NSNumber of intValue. */ -@property(nonatomic, strong, nullable) NSNumber *fontSize; +@property(nonatomic, strong, nullable) NSNumber *totalDocumentCount; + +@end -/** Name or style of the font. */ -@property(nonatomic, copy, nullable) NSString *fontType; /** - * TrueType weight on a scale `100` (thin) to `1000` (ultra-heavy). Normal is - * `400`, bold is `700`. - * - * Uses NSNumber of intValue. + * The response proto of ExportDocuments method. */ -@property(nonatomic, strong, nullable) NSNumber *fontWeight; +@interface GTLRDocument_GoogleCloudDocumentaiUiv1beta3ExportDocumentsResponse : GTLRObject +@end + /** - * Whether the text is handwritten. - * - * Uses NSNumber of boolValue. + * Metadata message associated with the ExportProcessorVersion operation. */ -@property(nonatomic, strong, nullable) NSNumber *handwritten; +@interface GTLRDocument_GoogleCloudDocumentaiUiv1beta3ExportProcessorVersionMetadata : GTLRObject + +/** The common metadata about the operation. */ +@property(nonatomic, strong, nullable) GTLRDocument_GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata *commonMetadata; + +@end + /** - * Whether the text is italic. - * - * Uses NSNumber of boolValue. + * Response message associated with the ExportProcessorVersion operation. */ -@property(nonatomic, strong, nullable) NSNumber *italic; +@interface GTLRDocument_GoogleCloudDocumentaiUiv1beta3ExportProcessorVersionResponse : GTLRObject + +/** The Cloud Storage URI containing the output artifacts. */ +@property(nonatomic, copy, nullable) NSString *gcsUri; + +@end + /** - * Letter spacing in points. - * - * Uses NSNumber of doubleValue. + * Metadata of the import document operation. */ -@property(nonatomic, strong, nullable) NSNumber *letterSpacing; +@interface GTLRDocument_GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadata : GTLRObject + +/** The basic metadata of the long-running operation. */ +@property(nonatomic, strong, nullable) GTLRDocument_GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata *commonMetadata; + +/** Validation statuses of the batch documents import config. */ +@property(nonatomic, strong, nullable) NSArray *importConfigValidationResults; + +/** The list of response details of each document. */ +@property(nonatomic, strong, nullable) NSArray *individualImportStatuses; /** - * Font size in pixels, equal to _unrounded font_size_ * _resolution_ ÷ `72.0`. + * Total number of the documents that are qualified for importing. * - * Uses NSNumber of doubleValue. + * Uses NSNumber of intValue. */ -@property(nonatomic, strong, nullable) NSNumber *pixelFontSize; +@property(nonatomic, strong, nullable) NSNumber *totalDocumentCount; + +@end + /** - * Whether the text is in small caps. This feature is not supported yet. - * - * Uses NSNumber of boolValue. + * The validation status of each import config. Status is set to an error if + * there are no documents to import in the `import_config`, or `OK` if the + * operation will try to proceed with at least one document. */ -@property(nonatomic, strong, nullable) NSNumber *smallcaps; +@interface GTLRDocument_GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadataImportConfigValidationResult : GTLRObject + +/** The source Cloud Storage URI specified in the import config. */ +@property(nonatomic, copy, nullable) NSString *inputGcsSource; + +/** The validation status of import config. */ +@property(nonatomic, strong, nullable) GTLRDocument_GoogleRpcStatus *status; + +@end + /** - * Whether the text is strikethrough. This feature is not supported yet. - * - * Uses NSNumber of boolValue. + * The status of each individual document in the import process. */ -@property(nonatomic, strong, nullable) NSNumber *strikeout; +@interface GTLRDocument_GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadataIndividualImportStatus : GTLRObject -/** - * Whether the text is a subscript. This feature is not supported yet. - * - * Uses NSNumber of boolValue. - */ -@property(nonatomic, strong, nullable) NSNumber *subscript; +/** The source Cloud Storage URI of the document. */ +@property(nonatomic, copy, nullable) NSString *inputGcsSource; /** - * Whether the text is a superscript. This feature is not supported yet. - * - * Uses NSNumber of boolValue. + * The document id of imported document if it was successful, otherwise empty. */ -@property(nonatomic, strong, nullable) NSNumber *superscript; - -/** Color of the text. */ -@property(nonatomic, strong, nullable) GTLRDocument_GoogleTypeColor *textColor; +@property(nonatomic, strong, nullable) GTLRDocument_GoogleCloudDocumentaiUiv1beta3DocumentId *outputDocumentId; /** - * Whether the text is underlined. - * - * Uses NSNumber of boolValue. + * The output_gcs_destination of the processed document if it was successful, + * otherwise empty. */ -@property(nonatomic, strong, nullable) NSNumber *underlined; +@property(nonatomic, copy, nullable) NSString *outputGcsDestination; + +/** The status of the importing of the document. */ +@property(nonatomic, strong, nullable) GTLRDocument_GoogleRpcStatus *status; @end /** - * Detected non-text visual elements e.g. checkbox, signature etc. on the page. + * Response of the import document operation. */ -@interface GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentPageVisualElement : GTLRObject +@interface GTLRDocument_GoogleCloudDocumentaiUiv1beta3ImportDocumentsResponse : GTLRObject +@end -/** A list of detected languages together with confidence. */ -@property(nonatomic, strong, nullable) NSArray *detectedLanguages; -/** Layout for VisualElement. */ -@property(nonatomic, strong, nullable) GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentPageLayout *layout; +/** + * The long-running operation metadata for the ImportProcessorVersion method. + */ +@interface GTLRDocument_GoogleCloudDocumentaiUiv1beta3ImportProcessorVersionMetadata : GTLRObject -/** Type of the VisualElement. */ -@property(nonatomic, copy, nullable) NSString *type; +/** The basic metadata for the long-running operation. */ +@property(nonatomic, strong, nullable) GTLRDocument_GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata *commonMetadata; @end /** - * Structure to identify provenance relationships between annotations in - * different revisions. + * The response message for the ImportProcessorVersion method. */ -@interface GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentProvenance : GTLRObject +@interface GTLRDocument_GoogleCloudDocumentaiUiv1beta3ImportProcessorVersionResponse : GTLRObject + +/** The destination processor version name. */ +@property(nonatomic, copy, nullable) NSString *processorVersion; + +@end + /** - * The Id of this operation. Needs to be unique within the scope of the - * revision. - * - * identifier property maps to 'id' in JSON (to avoid Objective C's 'id'). - * - * Uses NSNumber of intValue. + * The metadata proto of `ResyncDataset` method. */ -@property(nonatomic, strong, nullable) NSNumber *identifier GTLR_DEPRECATED; +@interface GTLRDocument_GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadata : GTLRObject -/** References to the original elements that are replaced. */ -@property(nonatomic, strong, nullable) NSArray *parents; +/** The basic metadata of the long-running operation. */ +@property(nonatomic, strong, nullable) GTLRDocument_GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata *commonMetadata; /** - * The index of the revision that produced this element. - * - * Uses NSNumber of intValue. + * The list of dataset resync statuses. Not checked when + * ResyncDatasetRequest.dataset_documents is specified. */ -@property(nonatomic, strong, nullable) NSNumber *revision GTLR_DEPRECATED; +@property(nonatomic, strong, nullable) NSArray *datasetResyncStatuses; /** - * The type of provenance operation. - * - * Likely values: - * @arg @c kGTLRDocument_GoogleCloudDocumentaiV1beta2DocumentProvenance_Type_Add - * Add an element. (Value: "ADD") - * @arg @c kGTLRDocument_GoogleCloudDocumentaiV1beta2DocumentProvenance_Type_EvalApproved - * Deprecated. Element is reviewed and approved at human review, - * confidence will be set to 1.0. (Value: "EVAL_APPROVED") - * @arg @c kGTLRDocument_GoogleCloudDocumentaiV1beta2DocumentProvenance_Type_EvalRequested - * Deprecated. Request human review for the element identified by - * `parent`. (Value: "EVAL_REQUESTED") - * @arg @c kGTLRDocument_GoogleCloudDocumentaiV1beta2DocumentProvenance_Type_EvalSkipped - * Deprecated. Element is skipped in the validation process. (Value: - * "EVAL_SKIPPED") - * @arg @c kGTLRDocument_GoogleCloudDocumentaiV1beta2DocumentProvenance_Type_OperationTypeUnspecified - * Operation type unspecified. If no operation is specified a provenance - * entry is simply used to match against a `parent`. (Value: - * "OPERATION_TYPE_UNSPECIFIED") - * @arg @c kGTLRDocument_GoogleCloudDocumentaiV1beta2DocumentProvenance_Type_Remove - * Remove an element identified by `parent`. (Value: "REMOVE") - * @arg @c kGTLRDocument_GoogleCloudDocumentaiV1beta2DocumentProvenance_Type_Replace - * Currently unused. Replace an element identified by `parent`. (Value: - * "REPLACE") - * @arg @c kGTLRDocument_GoogleCloudDocumentaiV1beta2DocumentProvenance_Type_Update - * Updates any fields within the given provenance scope of the message. - * It overwrites the fields rather than replacing them. Use this when you - * want to update a field value of an entity without also updating all - * the child properties. (Value: "UPDATE") + * The list of document resync statuses. The same document could have multiple + * `individual_document_resync_statuses` if it has multiple inconsistencies. */ -@property(nonatomic, copy, nullable) NSString *type; +@property(nonatomic, strong, nullable) NSArray *individualDocumentResyncStatuses; @end /** - * The parent element the current element is based on. Used for - * referencing/aligning, removal and replacement operations. - */ -@interface GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentProvenanceParent : GTLRObject - -/** - * The id of the parent provenance. - * - * identifier property maps to 'id' in JSON (to avoid Objective C's 'id'). - * - * Uses NSNumber of intValue. + * Resync status against inconsistency types on the dataset level. */ -@property(nonatomic, strong, nullable) NSNumber *identifier GTLR_DEPRECATED; +@interface GTLRDocument_GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadataDatasetResyncStatus : GTLRObject /** - * The index of the parent item in the corresponding item list (eg. list of - * entities, properties within entities, etc.) in the parent revision. + * The type of the inconsistency of the dataset. * - * Uses NSNumber of intValue. + * Likely values: + * @arg @c kGTLRDocument_GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadataDatasetResyncStatus_DatasetInconsistencyType_DatasetInconsistencyTypeNoStorageMarker + * The marker file under the dataset folder is not found. (Value: + * "DATASET_INCONSISTENCY_TYPE_NO_STORAGE_MARKER") + * @arg @c kGTLRDocument_GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadataDatasetResyncStatus_DatasetInconsistencyType_DatasetInconsistencyTypeUnspecified + * Default value. (Value: "DATASET_INCONSISTENCY_TYPE_UNSPECIFIED") */ -@property(nonatomic, strong, nullable) NSNumber *index; +@property(nonatomic, copy, nullable) NSString *datasetInconsistencyType; /** - * The index of the index into current revision's parent_ids list. - * - * Uses NSNumber of intValue. + * The status of resyncing the dataset with regards to the detected + * inconsistency. Empty if ResyncDatasetRequest.validate_only is `true`. */ -@property(nonatomic, strong, nullable) NSNumber *revision; +@property(nonatomic, strong, nullable) GTLRDocument_GoogleRpcStatus *status; @end /** - * Contains past or forward revisions of this document. + * Resync status for each document per inconsistency type. */ -@interface GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentRevision : GTLRObject +@interface GTLRDocument_GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadataIndividualDocumentResyncStatus : GTLRObject + +/** The document identifier. */ +@property(nonatomic, strong, nullable) GTLRDocument_GoogleCloudDocumentaiUiv1beta3DocumentId *documentId; /** - * If the change was made by a person specify the name or id of that person. + * The type of document inconsistency. + * + * Likely values: + * @arg @c kGTLRDocument_GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadataIndividualDocumentResyncStatus_DocumentInconsistencyType_DocumentInconsistencyTypeInvalidDocproto + * The document proto is invalid. (Value: + * "DOCUMENT_INCONSISTENCY_TYPE_INVALID_DOCPROTO") + * @arg @c kGTLRDocument_GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadataIndividualDocumentResyncStatus_DocumentInconsistencyType_DocumentInconsistencyTypeMismatchedMetadata + * Indexed docproto metadata is mismatched. (Value: + * "DOCUMENT_INCONSISTENCY_TYPE_MISMATCHED_METADATA") + * @arg @c kGTLRDocument_GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadataIndividualDocumentResyncStatus_DocumentInconsistencyType_DocumentInconsistencyTypeNoPageImage + * The page image or thumbnails are missing. (Value: + * "DOCUMENT_INCONSISTENCY_TYPE_NO_PAGE_IMAGE") + * @arg @c kGTLRDocument_GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadataIndividualDocumentResyncStatus_DocumentInconsistencyType_DocumentInconsistencyTypeUnspecified + * Default value. (Value: "DOCUMENT_INCONSISTENCY_TYPE_UNSPECIFIED") */ -@property(nonatomic, copy, nullable) NSString *agent; +@property(nonatomic, copy, nullable) NSString *documentInconsistencyType; /** - * The time that the revision was created, internally generated by doc proto - * storage at the time of create. + * The status of resyncing the document with regards to the detected + * inconsistency. Empty if ResyncDatasetRequest.validate_only is `true`. */ -@property(nonatomic, strong, nullable) GTLRDateTime *createTime; +@property(nonatomic, strong, nullable) GTLRDocument_GoogleRpcStatus *status; + +@end -/** Human Review information of this revision. */ -@property(nonatomic, strong, nullable) GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentRevisionHumanReview *humanReview; /** - * Id of the revision, internally generated by doc proto storage. Unique within - * the context of the document. - * - * identifier property maps to 'id' in JSON (to avoid Objective C's 'id'). + * The response proto of ResyncDataset method. */ -@property(nonatomic, copy, nullable) NSString *identifier; +@interface GTLRDocument_GoogleCloudDocumentaiUiv1beta3ResyncDatasetResponse : GTLRObject +@end + /** - * The revisions that this revision is based on. This can include one or more - * parent (when documents are merged.) This field represents the index into the - * `revisions` field. - * - * Uses NSNumber of intValue. + * The revision reference specifies which revision on the document to read. */ -@property(nonatomic, strong, nullable) NSArray *parent GTLR_DEPRECATED; +@interface GTLRDocument_GoogleCloudDocumentaiUiv1beta3RevisionRef : GTLRObject /** - * The revisions that this revision is based on. Must include all the ids that - * have anything to do with this revision - eg. there are - * `provenance.parent.revision` fields that index into this field. + * Reads the revision generated by the processor version. The format takes the + * full resource name of processor version. + * `projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processorVersion}` */ -@property(nonatomic, strong, nullable) NSArray *parentIds; +@property(nonatomic, copy, nullable) NSString *latestProcessorVersion; /** - * If the annotation was made by processor identify the processor by its - * resource name. + * Reads the revision by the predefined case. + * + * Likely values: + * @arg @c kGTLRDocument_GoogleCloudDocumentaiUiv1beta3RevisionRef_RevisionCase_BaseOcrRevision + * The first (OCR) revision. (Value: "BASE_OCR_REVISION") + * @arg @c kGTLRDocument_GoogleCloudDocumentaiUiv1beta3RevisionRef_RevisionCase_LatestHumanReview + * The latest revision made by a human. (Value: "LATEST_HUMAN_REVIEW") + * @arg @c kGTLRDocument_GoogleCloudDocumentaiUiv1beta3RevisionRef_RevisionCase_LatestTimestamp + * The latest revision based on timestamp. (Value: "LATEST_TIMESTAMP") + * @arg @c kGTLRDocument_GoogleCloudDocumentaiUiv1beta3RevisionRef_RevisionCase_RevisionCaseUnspecified + * Unspecified case, fall back to read the `LATEST_HUMAN_REVIEW`. (Value: + * "REVISION_CASE_UNSPECIFIED") */ -@property(nonatomic, copy, nullable) NSString *processor; +@property(nonatomic, copy, nullable) NSString *revisionCase; + +/** Reads the revision given by the id. */ +@property(nonatomic, copy, nullable) NSString *revisionId; @end /** - * Human Review information of the document. + * Metadata of the sample documents operation. */ -@interface GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentRevisionHumanReview : GTLRObject - -/** Human review state. e.g. `requested`, `succeeded`, `rejected`. */ -@property(nonatomic, copy, nullable) NSString *state; +@interface GTLRDocument_GoogleCloudDocumentaiUiv1beta3SampleDocumentsMetadata : GTLRObject -/** - * A message providing more details about the current state of processing. For - * example, the rejection reason when the state is `rejected`. - */ -@property(nonatomic, copy, nullable) NSString *stateMessage; +/** The basic metadata of the long-running operation. */ +@property(nonatomic, strong, nullable) GTLRDocument_GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata *commonMetadata; @end /** - * For a large document, sharding may be performed to produce several document - * shards. Each document shard contains this field to detail which shard it is. + * Response of the sample documents operation. */ -@interface GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentShardInfo : GTLRObject +@interface GTLRDocument_GoogleCloudDocumentaiUiv1beta3SampleDocumentsResponse : GTLRObject -/** - * Total number of shards. - * - * Uses NSNumber of longLongValue. - */ -@property(nonatomic, strong, nullable) NSNumber *shardCount; +/** The status of sampling documents in test split. */ +@property(nonatomic, strong, nullable) GTLRDocument_GoogleRpcStatus *sampleTestStatus; + +/** The status of sampling documents in training split. */ +@property(nonatomic, strong, nullable) GTLRDocument_GoogleRpcStatus *sampleTrainingStatus; + +/** The result of the sampling process. */ +@property(nonatomic, strong, nullable) NSArray *selectedDocuments; + +@end -/** - * The 0-based index of this shard. - * - * Uses NSNumber of longLongValue. - */ -@property(nonatomic, strong, nullable) NSNumber *shardIndex; /** - * The index of the first character in Document.text in the overall document - * global text. - * - * Uses NSNumber of longLongValue. + * GTLRDocument_GoogleCloudDocumentaiUiv1beta3SampleDocumentsResponseSelectedDocument */ -@property(nonatomic, strong, nullable) NSNumber *textOffset; +@interface GTLRDocument_GoogleCloudDocumentaiUiv1beta3SampleDocumentsResponseSelectedDocument : GTLRObject + +/** An internal identifier for document. */ +@property(nonatomic, copy, nullable) NSString *documentId; @end /** - * Annotation for common text style attributes. This adheres to CSS conventions - * as much as possible. + * The long-running operation metadata for the SetDefaultProcessorVersion + * method. */ -@interface GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentStyle : GTLRObject +@interface GTLRDocument_GoogleCloudDocumentaiUiv1beta3SetDefaultProcessorVersionMetadata : GTLRObject -/** Text background color. */ -@property(nonatomic, strong, nullable) GTLRDocument_GoogleTypeColor *backgroundColor; +/** The basic metadata of the long-running operation. */ +@property(nonatomic, strong, nullable) GTLRDocument_GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata *commonMetadata; + +@end -/** Text color. */ -@property(nonatomic, strong, nullable) GTLRDocument_GoogleTypeColor *color; /** - * Font family such as `Arial`, `Times New Roman`. - * https://www.w3schools.com/cssref/pr_font_font-family.asp + * Response message for the SetDefaultProcessorVersion method. */ -@property(nonatomic, copy, nullable) NSString *fontFamily; +@interface GTLRDocument_GoogleCloudDocumentaiUiv1beta3SetDefaultProcessorVersionResponse : GTLRObject +@end -/** Font size. */ -@property(nonatomic, strong, nullable) GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentStyleFontSize *fontSize; /** - * [Font weight](https://www.w3schools.com/cssref/pr_font_weight.asp). Possible - * values are `normal`, `bold`, `bolder`, and `lighter`. + * The metadata that represents a processor version being created. */ -@property(nonatomic, copy, nullable) NSString *fontWeight; +@interface GTLRDocument_GoogleCloudDocumentaiUiv1beta3TrainProcessorVersionMetadata : GTLRObject -/** Text anchor indexing into the Document.text. */ -@property(nonatomic, strong, nullable) GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentTextAnchor *textAnchor; +/** The basic metadata of the long-running operation. */ +@property(nonatomic, strong, nullable) GTLRDocument_GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata *commonMetadata; -/** - * [Text - * decoration](https://www.w3schools.com/cssref/pr_text_text-decoration.asp). - * Follows CSS standard. - */ -@property(nonatomic, copy, nullable) NSString *textDecoration; +/** The test dataset validation information. */ +@property(nonatomic, strong, nullable) GTLRDocument_GoogleCloudDocumentaiUiv1beta3TrainProcessorVersionMetadataDatasetValidation *testDatasetValidation; -/** - * [Text style](https://www.w3schools.com/cssref/pr_font_font-style.asp). - * Possible values are `normal`, `italic`, and `oblique`. - */ -@property(nonatomic, copy, nullable) NSString *textStyle; +/** The training dataset validation information. */ +@property(nonatomic, strong, nullable) GTLRDocument_GoogleCloudDocumentaiUiv1beta3TrainProcessorVersionMetadataDatasetValidation *trainingDatasetValidation; @end /** - * Font size with unit. + * The dataset validation information. This includes any and all errors with + * documents and the dataset. */ -@interface GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentStyleFontSize : GTLRObject +@interface GTLRDocument_GoogleCloudDocumentaiUiv1beta3TrainProcessorVersionMetadataDatasetValidation : GTLRObject /** - * Font size for the text. + * The total number of dataset errors. * - * Uses NSNumber of floatValue. + * Uses NSNumber of intValue. */ -@property(nonatomic, strong, nullable) NSNumber *size; +@property(nonatomic, strong, nullable) NSNumber *datasetErrorCount; /** - * Unit for the font size. Follows CSS naming (such as `in`, `px`, and `pt`). + * Error information for the dataset as a whole. A maximum of 10 dataset errors + * will be returned. A single dataset error is terminal for training. */ -@property(nonatomic, copy, nullable) NSString *unit; - -@end - +@property(nonatomic, strong, nullable) NSArray *datasetErrors; /** - * Text reference indexing into the Document.text. + * The total number of document errors. + * + * Uses NSNumber of intValue. */ -@interface GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentTextAnchor : GTLRObject +@property(nonatomic, strong, nullable) NSNumber *documentErrorCount; /** - * Contains the content of the text span so that users do not have to look it - * up in the text_segments. It is always populated for formFields. + * Error information pertaining to specific documents. A maximum of 10 document + * errors will be returned. Any document with errors will not be used + * throughout training. */ -@property(nonatomic, copy, nullable) NSString *content; - -/** The text segments from the Document.text. */ -@property(nonatomic, strong, nullable) NSArray *textSegments; +@property(nonatomic, strong, nullable) NSArray *documentErrors; @end /** - * A text segment in the Document.text. The indices may be out of bounds which - * indicate that the text extends into another document shard for large sharded - * documents. See ShardInfo.text_offset + * The response for TrainProcessorVersion. */ -@interface GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentTextAnchorTextSegment : GTLRObject +@interface GTLRDocument_GoogleCloudDocumentaiUiv1beta3TrainProcessorVersionResponse : GTLRObject + +/** The resource name of the processor version produced by training. */ +@property(nonatomic, copy, nullable) NSString *processorVersion; + +@end -/** - * TextSegment half open end UTF-8 char index in the Document.text. - * - * Uses NSNumber of longLongValue. - */ -@property(nonatomic, strong, nullable) NSNumber *endIndex; /** - * TextSegment start UTF-8 char index in the Document.text. - * - * Uses NSNumber of longLongValue. + * The long-running operation metadata for the UndeployProcessorVersion method. */ -@property(nonatomic, strong, nullable) NSNumber *startIndex; +@interface GTLRDocument_GoogleCloudDocumentaiUiv1beta3UndeployProcessorVersionMetadata : GTLRObject + +/** The basic metadata of the long-running operation. */ +@property(nonatomic, strong, nullable) GTLRDocument_GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata *commonMetadata; @end /** - * This message is used for text changes aka. OCR corrections. + * Response message for the UndeployProcessorVersion method. */ -@interface GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentTextChange : GTLRObject - -/** The text that replaces the text identified in the `text_anchor`. */ -@property(nonatomic, copy, nullable) NSString *changedText; +@interface GTLRDocument_GoogleCloudDocumentaiUiv1beta3UndeployProcessorVersionResponse : GTLRObject +@end -/** The history of this annotation. */ -@property(nonatomic, strong, nullable) NSArray *provenance GTLR_DEPRECATED; /** - * Provenance of the correction. Text anchor indexing into the Document.text. - * There can only be a single `TextAnchor.text_segments` element. If the start - * and end index of the text segment are the same, the text change is inserted - * before that index. + * GTLRDocument_GoogleCloudDocumentaiUiv1beta3UpdateDatasetOperationMetadata */ -@property(nonatomic, strong, nullable) GTLRDocument_GoogleCloudDocumentaiV1beta2DocumentTextAnchor *textAnchor; +@interface GTLRDocument_GoogleCloudDocumentaiUiv1beta3UpdateDatasetOperationMetadata : GTLRObject + +/** The basic metadata of the long-running operation. */ +@property(nonatomic, strong, nullable) GTLRDocument_GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata *commonMetadata; @end /** - * The Google Cloud Storage location where the output file will be written to. + * The long-running operation metadata for updating the human review + * configuration. */ -@interface GTLRDocument_GoogleCloudDocumentaiV1beta2GcsDestination : GTLRObject +@interface GTLRDocument_GoogleCloudDocumentaiUiv1beta3UpdateHumanReviewConfigMetadata : GTLRObject -@property(nonatomic, copy, nullable) NSString *uri; +/** The basic metadata of the long-running operation. */ +@property(nonatomic, strong, nullable) GTLRDocument_GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata *commonMetadata; @end /** - * The Google Cloud Storage location where the input file will be read from. + * The long-running operation metadata for UpdateLabelerPool. */ -@interface GTLRDocument_GoogleCloudDocumentaiV1beta2GcsSource : GTLRObject +@interface GTLRDocument_GoogleCloudDocumentaiUiv1beta3UpdateLabelerPoolOperationMetadata : GTLRObject -@property(nonatomic, copy, nullable) NSString *uri; +/** The basic metadata of the long-running operation. */ +@property(nonatomic, strong, nullable) GTLRDocument_GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata *commonMetadata; @end /** - * The desired input location and metadata. + * Encodes the detailed information of a barcode. */ -@interface GTLRDocument_GoogleCloudDocumentaiV1beta2InputConfig : GTLRObject +@interface GTLRDocument_GoogleCloudDocumentaiV1Barcode : GTLRObject /** - * Content in bytes, represented as a stream of bytes. Note: As with all - * `bytes` fields, proto buffer messages use a pure binary representation, - * whereas JSON representations use base64. This field only works for - * synchronous ProcessDocument method. - * - * Contains encoded binary data; GTLRBase64 can encode/decode (probably - * web-safe format). + * Format of a barcode. The supported formats are: - `CODE_128`: Code 128 type. + * - `CODE_39`: Code 39 type. - `CODE_93`: Code 93 type. - `CODABAR`: Codabar + * type. - `DATA_MATRIX`: 2D Data Matrix type. - `ITF`: ITF type. - `EAN_13`: + * EAN-13 type. - `EAN_8`: EAN-8 type. - `QR_CODE`: 2D QR code type. - `UPC_A`: + * UPC-A type. - `UPC_E`: UPC-E type. - `PDF417`: PDF417 type. - `AZTEC`: 2D + * Aztec code type. - `DATABAR`: GS1 DataBar code type. */ -@property(nonatomic, copy, nullable) NSString *contents; +@property(nonatomic, copy, nullable) NSString *format; /** - * The Google Cloud Storage location to read the input from. This must be a - * single file. + * Raw value encoded in the barcode. For example: + * `'MEBKM:TITLE:Google;URL:https://www.google.com;;'`. */ -@property(nonatomic, strong, nullable) GTLRDocument_GoogleCloudDocumentaiV1beta2GcsSource *gcsSource; +@property(nonatomic, copy, nullable) NSString *rawValue; /** - * Required. Mimetype of the input. Current supported mimetypes are - * application/pdf, image/tiff, and image/gif. In addition, application/json - * type is supported for requests with ProcessDocumentRequest.automl_params - * field set. The JSON file needs to be in Document format. + * Value format describes the format of the value that a barcode encodes. The + * supported formats are: - `CONTACT_INFO`: Contact information. - `EMAIL`: + * Email address. - `ISBN`: ISBN identifier. - `PHONE`: Phone number. - + * `PRODUCT`: Product. - `SMS`: SMS message. - `TEXT`: Text string. - `URL`: + * URL address. - `WIFI`: Wifi information. - `GEO`: Geo-localization. - + * `CALENDAR_EVENT`: Calendar event. - `DRIVER_LICENSE`: Driver's license. */ -@property(nonatomic, copy, nullable) NSString *mimeType; +@property(nonatomic, copy, nullable) NSString *valueFormat; @end /** - * A vertex represents a 2D point in the image. NOTE: the normalized vertex - * coordinates are relative to the original image and range from 0 to 1. + * The common config to specify a set of documents used as input. */ -@interface GTLRDocument_GoogleCloudDocumentaiV1beta2NormalizedVertex : GTLRObject +@interface GTLRDocument_GoogleCloudDocumentaiV1BatchDocumentsInputConfig : GTLRObject -/** - * X coordinate. - * - * Uses NSNumber of floatValue. - */ -@property(nonatomic, strong, nullable) NSNumber *x; +/** The set of documents individually specified on Cloud Storage. */ +@property(nonatomic, strong, nullable) GTLRDocument_GoogleCloudDocumentaiV1GcsDocuments *gcsDocuments; /** - * Y coordinate (starts from the top of the image). - * - * Uses NSNumber of floatValue. + * The set of documents that match the specified Cloud Storage `gcs_prefix`. */ -@property(nonatomic, strong, nullable) NSNumber *y; +@property(nonatomic, strong, nullable) GTLRDocument_GoogleCloudDocumentaiV1GcsPrefix *gcsPrefix; @end /** - * Contains metadata for the BatchProcessDocuments operation. + * The long-running operation metadata for BatchProcessDocuments. */ -@interface GTLRDocument_GoogleCloudDocumentaiV1beta2OperationMetadata : GTLRObject +@interface GTLRDocument_GoogleCloudDocumentaiV1BatchProcessMetadata : GTLRObject /** The creation time of the operation. */ @property(nonatomic, strong, nullable) GTLRDateTime *createTime; +/** The list of response details of each document. */ +@property(nonatomic, strong, nullable) NSArray *individualProcessStatuses; + /** * The state of the current batch processing. * * Likely values: - * @arg @c kGTLRDocument_GoogleCloudDocumentaiV1beta2OperationMetadata_State_Accepted - * Request is received. (Value: "ACCEPTED") - * @arg @c kGTLRDocument_GoogleCloudDocumentaiV1beta2OperationMetadata_State_Cancelled + * @arg @c kGTLRDocument_GoogleCloudDocumentaiV1BatchProcessMetadata_State_Cancelled * The batch processing was cancelled. (Value: "CANCELLED") - * @arg @c kGTLRDocument_GoogleCloudDocumentaiV1beta2OperationMetadata_State_Failed + * @arg @c kGTLRDocument_GoogleCloudDocumentaiV1BatchProcessMetadata_State_Cancelling + * The batch processing was being cancelled. (Value: "CANCELLING") + * @arg @c kGTLRDocument_GoogleCloudDocumentaiV1BatchProcessMetadata_State_Failed * The batch processing has failed. (Value: "FAILED") - * @arg @c kGTLRDocument_GoogleCloudDocumentaiV1beta2OperationMetadata_State_Running + * @arg @c kGTLRDocument_GoogleCloudDocumentaiV1BatchProcessMetadata_State_Running * Request is being processed. (Value: "RUNNING") - * @arg @c kGTLRDocument_GoogleCloudDocumentaiV1beta2OperationMetadata_State_StateUnspecified + * @arg @c kGTLRDocument_GoogleCloudDocumentaiV1BatchProcessMetadata_State_StateUnspecified * The default value. This value is used if the state is omitted. (Value: * "STATE_UNSPECIFIED") - * @arg @c kGTLRDocument_GoogleCloudDocumentaiV1beta2OperationMetadata_State_Succeeded + * @arg @c kGTLRDocument_GoogleCloudDocumentaiV1BatchProcessMetadata_State_Succeeded * The batch processing completed successfully. (Value: "SUCCEEDED") - * @arg @c kGTLRDocument_GoogleCloudDocumentaiV1beta2OperationMetadata_State_Waiting + * @arg @c kGTLRDocument_GoogleCloudDocumentaiV1BatchProcessMetadata_State_Waiting * Request operation is waiting for scheduling. (Value: "WAITING") */ @property(nonatomic, copy, nullable) NSString *state; -/** A message providing more details about the current state of processing. */ +/** + * A message providing more details about the current state of processing. For + * example, the error message if the operation is failed. + */ @property(nonatomic, copy, nullable) NSString *stateMessage; /** The last update time of the operation. */ @@ -6386,71 +2236,85 @@ FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1TrainPro /** - * The desired output location and metadata. + * The status of a each individual document in the batch process. */ -@interface GTLRDocument_GoogleCloudDocumentaiV1beta2OutputConfig : GTLRObject +@interface GTLRDocument_GoogleCloudDocumentaiV1BatchProcessMetadataIndividualProcessStatus : GTLRObject + +/** The status of human review on the processed document. */ +@property(nonatomic, strong, nullable) GTLRDocument_GoogleCloudDocumentaiV1HumanReviewStatus *humanReviewStatus; -/** The Google Cloud Storage location to write the output to. */ -@property(nonatomic, strong, nullable) GTLRDocument_GoogleCloudDocumentaiV1beta2GcsDestination *gcsDestination; +/** + * The source of the document, same as the input_gcs_source field in the + * request when the batch process started. + */ +@property(nonatomic, copy, nullable) NSString *inputGcsSource; /** - * The max number of pages to include into each output Document shard JSON on - * Google Cloud Storage. The valid range is [1, 100]. If not specified, the - * default value is 20. For example, for one pdf file with 100 pages, 100 - * parsed pages will be produced. If `pages_per_shard` = 20, then 5 Document - * shard JSON files each containing 20 parsed pages will be written under the - * prefix OutputConfig.gcs_destination.uri and suffix pages-x-to-y.json where x - * and y are 1-indexed page numbers. Example GCS outputs with 157 pages and - * pages_per_shard = 50: pages-001-to-050.json pages-051-to-100.json - * pages-101-to-150.json pages-151-to-157.json - * - * Uses NSNumber of intValue. + * The Cloud Storage output destination (in the request as + * DocumentOutputConfig.GcsOutputConfig.gcs_uri) of the processed document if + * it was successful, otherwise empty. */ -@property(nonatomic, strong, nullable) NSNumber *pagesPerShard; +@property(nonatomic, copy, nullable) NSString *outputGcsDestination; + +/** The status processing the document. */ +@property(nonatomic, strong, nullable) GTLRDocument_GoogleRpcStatus *status; @end /** - * Response to a single document processing request. + * Request message for BatchProcessDocuments. */ -@interface GTLRDocument_GoogleCloudDocumentaiV1beta2ProcessDocumentResponse : GTLRObject +@interface GTLRDocument_GoogleCloudDocumentaiV1BatchProcessRequest : GTLRObject + +/** The output configuration for the BatchProcessDocuments method. */ +@property(nonatomic, strong, nullable) GTLRDocument_GoogleCloudDocumentaiV1DocumentOutputConfig *documentOutputConfig; + +/** The input documents for the BatchProcessDocuments method. */ +@property(nonatomic, strong, nullable) GTLRDocument_GoogleCloudDocumentaiV1BatchDocumentsInputConfig *inputDocuments; /** - * Information about the input file. This is the same as the corresponding - * input config in the request. + * Optional. The labels with user-defined metadata for the request. Label keys + * and values can be no longer than 63 characters (Unicode codepoints) and can + * only contain lowercase letters, numeric characters, underscores, and dashes. + * International characters are allowed. Label values are optional. Label keys + * must start with a letter. */ -@property(nonatomic, strong, nullable) GTLRDocument_GoogleCloudDocumentaiV1beta2InputConfig *inputConfig; +@property(nonatomic, strong, nullable) GTLRDocument_GoogleCloudDocumentaiV1BatchProcessRequest_Labels *labels; + +/** Inference-time options for the process API */ +@property(nonatomic, strong, nullable) GTLRDocument_GoogleCloudDocumentaiV1ProcessOptions *processOptions; /** - * The output location of the parsed responses. The responses are written to - * this location as JSON-serialized `Document` objects. + * Whether human review should be skipped for this request. Default to `false`. + * + * Uses NSNumber of boolValue. */ -@property(nonatomic, strong, nullable) GTLRDocument_GoogleCloudDocumentaiV1beta2OutputConfig *outputConfig; +@property(nonatomic, strong, nullable) NSNumber *skipHumanReview; @end /** - * A vertex represents a 2D point in the image. NOTE: the vertex coordinates - * are in the same scale as the original image. - */ -@interface GTLRDocument_GoogleCloudDocumentaiV1beta2Vertex : GTLRObject - -/** - * X coordinate. + * Optional. The labels with user-defined metadata for the request. Label keys + * and values can be no longer than 63 characters (Unicode codepoints) and can + * only contain lowercase letters, numeric characters, underscores, and dashes. + * International characters are allowed. Label values are optional. Label keys + * must start with a letter. * - * Uses NSNumber of intValue. + * @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. */ -@property(nonatomic, strong, nullable) NSNumber *x; +@interface GTLRDocument_GoogleCloudDocumentaiV1BatchProcessRequest_Labels : GTLRObject +@end + /** - * Y coordinate (starts from the top of the image). - * - * Uses NSNumber of intValue. + * Response message for BatchProcessDocuments. */ -@property(nonatomic, strong, nullable) NSNumber *y; - +@interface GTLRDocument_GoogleCloudDocumentaiV1BatchProcessResponse : GTLRObject @end diff --git a/Sources/GeneratedServices/Drive/GTLRDriveObjects.m b/Sources/GeneratedServices/Drive/GTLRDriveObjects.m index bac24387a..c479f4208 100644 --- a/Sources/GeneratedServices/Drive/GTLRDriveObjects.m +++ b/Sources/GeneratedServices/Drive/GTLRDriveObjects.m @@ -776,6 +776,28 @@ + (BOOL)isKindValidForClassRegistry { @end +// ---------------------------------------------------------------------------- +// +// GTLRDrive_ListOperationsResponse +// + +@implementation GTLRDrive_ListOperationsResponse +@dynamic nextPageToken, operations; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"operations" : [GTLRDrive_Operation class] + }; + return map; +} + ++ (NSString *)collectionItemsKey { + return @"operations"; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRDrive_ModifyLabelsRequest @@ -824,6 +846,44 @@ + (BOOL)isKindValidForClassRegistry { @end +// ---------------------------------------------------------------------------- +// +// GTLRDrive_Operation +// + +@implementation GTLRDrive_Operation +@dynamic done, error, metadata, name, response; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDrive_Operation_Metadata +// + +@implementation GTLRDrive_Operation_Metadata + ++ (Class)classForAdditionalProperties { + return [NSObject class]; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDrive_Operation_Response +// + +@implementation GTLRDrive_Operation_Response + ++ (Class)classForAdditionalProperties { + return [NSObject class]; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRDrive_Permission @@ -992,6 +1052,38 @@ @implementation GTLRDrive_StartPageToken @end +// ---------------------------------------------------------------------------- +// +// GTLRDrive_Status +// + +@implementation GTLRDrive_Status +@dynamic code, details, message; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"details" : [GTLRDrive_Status_Details_Item class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDrive_Status_Details_Item +// + +@implementation GTLRDrive_Status_Details_Item + ++ (Class)classForAdditionalProperties { + return [NSObject class]; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRDrive_TeamDrive diff --git a/Sources/GeneratedServices/Drive/GTLRDriveQuery.m b/Sources/GeneratedServices/Drive/GTLRDriveQuery.m index ad47e4b5d..60ed70136 100644 --- a/Sources/GeneratedServices/Drive/GTLRDriveQuery.m +++ b/Sources/GeneratedServices/Drive/GTLRDriveQuery.m @@ -508,6 +508,25 @@ + (instancetype)queryWithFileId:(NSString *)fileId { @end +@implementation GTLRDriveQuery_FilesDownload + +@dynamic fileId, mimeType, revisionId; + ++ (instancetype)queryWithFileId:(NSString *)fileId { + NSArray *pathParams = @[ @"fileId" ]; + NSString *pathURITemplate = @"files/{fileId}/download"; + GTLRDriveQuery_FilesDownload *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.fileId = fileId; + query.expectedObjectClass = [GTLRDrive_Operation class]; + query.loggingName = @"drive.files.download"; + return query; +} + +@end + @implementation GTLRDriveQuery_FilesEmptyTrash @dynamic driveId, enforceSingleParent; @@ -727,6 +746,78 @@ + (instancetype)queryWithObject:(GTLRDrive_Channel *)object @end +@implementation GTLRDriveQuery_OperationCancel + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"operation/{name}:cancel"; + GTLRDriveQuery_OperationCancel *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.name = name; + query.loggingName = @"drive.operation.cancel"; + return query; +} + +@end + +@implementation GTLRDriveQuery_OperationDelete + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"operation/{name}"; + GTLRDriveQuery_OperationDelete *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"DELETE" + pathParameterNames:pathParams]; + query.name = name; + query.loggingName = @"drive.operation.delete"; + return query; +} + +@end + +@implementation GTLRDriveQuery_OperationsGet + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"operations/{name}"; + GTLRDriveQuery_OperationsGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRDrive_Operation class]; + query.loggingName = @"drive.operations.get"; + return query; +} + +@end + +@implementation GTLRDriveQuery_OperationsList + +@dynamic filter, name, pageSize, pageToken; + ++ (instancetype)query { + NSString *pathURITemplate = @"operations"; + GTLRDriveQuery_OperationsList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:nil]; + query.expectedObjectClass = [GTLRDrive_ListOperationsResponse class]; + query.loggingName = @"drive.operations.list"; + return query; +} + +@end + @implementation GTLRDriveQuery_PermissionsCreate @dynamic emailMessage, enforceSingleParent, fileId, moveToNewOwnersRoot, diff --git a/Sources/GeneratedServices/Drive/Public/GoogleAPIClientForREST/GTLRDriveObjects.h b/Sources/GeneratedServices/Drive/Public/GoogleAPIClientForREST/GTLRDriveObjects.h index fe8569608..a01cb43a7 100644 --- a/Sources/GeneratedServices/Drive/Public/GoogleAPIClientForREST/GTLRDriveObjects.h +++ b/Sources/GeneratedServices/Drive/Public/GoogleAPIClientForREST/GTLRDriveObjects.h @@ -49,12 +49,17 @@ @class GTLRDrive_LabelField; @class GTLRDrive_LabelFieldModification; @class GTLRDrive_LabelModification; +@class GTLRDrive_Operation; +@class GTLRDrive_Operation_Metadata; +@class GTLRDrive_Operation_Response; @class GTLRDrive_Permission; @class GTLRDrive_Permission_PermissionDetails_Item; @class GTLRDrive_Permission_TeamDrivePermissionDetails_Item; @class GTLRDrive_Reply; @class GTLRDrive_Revision; @class GTLRDrive_Revision_ExportLinks; +@class GTLRDrive_Status; +@class GTLRDrive_Status_Details_Item; @class GTLRDrive_TeamDrive; @class GTLRDrive_TeamDrive_BackgroundImageFile; @class GTLRDrive_TeamDrive_Capabilities; @@ -2560,6 +2565,30 @@ NS_ASSUME_NONNULL_BEGIN @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 GTLRDrive_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 + + /** * A request to modify the set of labels on a file. This request may contain * many modifications that will either all succeed or all fail atomically. @@ -2590,6 +2619,86 @@ NS_ASSUME_NONNULL_BEGIN @end +/** + * This resource represents a long-running operation that is the result of a + * network API call. + */ +@interface GTLRDrive_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) GTLRDrive_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) GTLRDrive_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) GTLRDrive_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 GTLRDrive_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 GTLRDrive_Operation_Response : GTLRObject +@end + + /** * A permission for a file. A permission grants a user, group, domain, or the * world access to a file or a folder hierarchy. Some resource methods (such as @@ -3067,6 +3176,51 @@ NS_ASSUME_NONNULL_BEGIN @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 GTLRDrive_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 + + +/** + * GTLRDrive_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 GTLRDrive_Status_Details_Item : GTLRObject +@end + + /** * Deprecated: use the drive collection instead. */ diff --git a/Sources/GeneratedServices/Drive/Public/GoogleAPIClientForREST/GTLRDriveQuery.h b/Sources/GeneratedServices/Drive/Public/GoogleAPIClientForREST/GTLRDriveQuery.h index 1ce4e4948..5cacef505 100644 --- a/Sources/GeneratedServices/Drive/Public/GoogleAPIClientForREST/GTLRDriveQuery.h +++ b/Sources/GeneratedServices/Drive/Public/GoogleAPIClientForREST/GTLRDriveQuery.h @@ -1256,6 +1256,54 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveCorpusUser; @end +/** + * Downloads content of a file. Operations are valid for 24 hours from the time + * of creation. + * + * Method: drive.files.download + * + * Authorization scope(s): + * @c kGTLRAuthScopeDrive + * @c kGTLRAuthScopeDriveFile + * @c kGTLRAuthScopeDriveReadonly + */ +@interface GTLRDriveQuery_FilesDownload : GTLRDriveQuery + +/** Required. The ID of the file to download. */ +@property(nonatomic, copy, nullable) NSString *fileId; + +/** + * Optional. The MIME type the file should be downloaded as. This field can + * only be set when downloading Google Workspace documents. See [Export MIME + * types for Google Workspace documents](/drive/api/guides/ref-export-formats) + * for the list of supported MIME types. If not set, a Google Workspace + * document is downloaded with a default MIME type. The default MIME type might + * change in the future. + */ +@property(nonatomic, copy, nullable) NSString *mimeType; + +/** + * Optional. The revision ID of the file to download. This field can only be + * set when downloading blob files, Google Docs, and Google Sheets. Returns + * `INVALID_ARGUMENT` if downloading a specific revision on the file is + * unsupported. + */ +@property(nonatomic, copy, nullable) NSString *revisionId; + +/** + * Fetches a @c GTLRDrive_Operation. + * + * Downloads content of a file. Operations are valid for 24 hours from the time + * of creation. + * + * @param fileId Required. The ID of the file to download. + * + * @return GTLRDriveQuery_FilesDownload + */ ++ (instancetype)queryWithFileId:(NSString *)fileId; + +@end + /** * Permanently deletes all of the user's trashed files. * @@ -1548,12 +1596,20 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveCorpusUser; @property(nonatomic, assign) BOOL includeTeamDriveItems GTLR_DEPRECATED; /** - * A comma-separated list of sort keys. Valid keys are 'createdTime', 'folder', - * 'modifiedByMeTime', 'modifiedTime', 'name', 'name_natural', - * 'quotaBytesUsed', 'recency', 'sharedWithMeTime', 'starred', and - * 'viewedByMeTime'. Each key sorts ascending by default, but can be reversed - * with the 'desc' modifier. Example usage: ?orderBy=folder,modifiedTime - * desc,name. + * A comma-separated list of sort keys. Valid keys are: * `createdTime`: When + * the file was created. * `folder`: The folder ID. This field is sorted using + * alphabetical ordering. * `modifiedByMeTime`: The last time the file was + * modified by the user. * `modifiedTime`: The last time the file was modified + * by anyone. * `name`: The name of the file. This field is sorted using + * alphabetical ordering, so 1, 12, 2, 22. * `name_natural`: The name of the + * file. This field is sorted using natural sort ordering, so 1, 2, 12, 22. * + * `quotaBytesUsed`: The number of storage quota bytes used by the file. * + * `recency`: The most recent timestamp from the file's date-time fields. * + * `sharedWithMeTime`: When the file was shared with the user, if applicable. * + * `starred`: Whether the user has starred the file. * `viewedByMeTime`: The + * last time the file was viewed by the user. Each key sorts ascending by + * default, but can be reversed with the 'desc' modifier. Example usage: + * `?orderBy=folder,modifiedTime desc,name`. */ @property(nonatomic, copy, nullable) NSString *orderBy; @@ -1894,6 +1950,145 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveCorpusUser; @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: drive.operation.cancel + */ +@interface GTLRDriveQuery_OperationCancel : GTLRDriveQuery + +/** The name of the operation resource to be cancelled. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Upon successful completion, the callback's object and error parameters will + * be nil. This query does not fetch an object. + * + * 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 name The name of the operation resource to be cancelled. + * + * @return GTLRDriveQuery_OperationCancel + */ ++ (instancetype)queryWithName:(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: drive.operation.delete + */ +@interface GTLRDriveQuery_OperationDelete : GTLRDriveQuery + +/** The name of the operation resource to be deleted. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Upon successful completion, the callback's object and error parameters will + * be nil. This query does not fetch an object. + * + * 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 GTLRDriveQuery_OperationDelete + */ ++ (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: drive.operations.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeDrive + * @c kGTLRAuthScopeDriveFile + * @c kGTLRAuthScopeDriveMeetReadonly + * @c kGTLRAuthScopeDriveReadonly + */ +@interface GTLRDriveQuery_OperationsGet : GTLRDriveQuery + +/** The name of the operation resource. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRDrive_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 GTLRDriveQuery_OperationsGet + */ ++ (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: drive.operations.list + */ +@interface GTLRDriveQuery_OperationsList : GTLRDriveQuery + +/** 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 GTLRDrive_ListOperationsResponse. + * + * Lists operations that match the specified filter in the request. If the + * server doesn't support this method, it returns `UNIMPLEMENTED`. + * + * @return GTLRDriveQuery_OperationsList + * + * @note Automatic pagination will be done when @c shouldFetchNextPages is + * enabled. See @c shouldFetchNextPages on @c GTLRService for more + * information. + */ ++ (instancetype)query; + +@end + /** * Creates a permission for a file or shared drive. **Warning:** Concurrent * permissions operations on the same file are not supported; only the last diff --git a/Sources/GeneratedServices/Eventarc/GTLREventarcQuery.m b/Sources/GeneratedServices/Eventarc/GTLREventarcQuery.m index f23d95610..0a5f0345e 100644 --- a/Sources/GeneratedServices/Eventarc/GTLREventarcQuery.m +++ b/Sources/GeneratedServices/Eventarc/GTLREventarcQuery.m @@ -365,6 +365,83 @@ + (instancetype)queryWithObject:(GTLREventarc_TestIamPermissionsRequest *)object @end +@implementation GTLREventarcQuery_ProjectsLocationsEnrollmentsGetIamPolicy + +@dynamic optionsRequestedPolicyVersion, resource; + ++ (NSDictionary *)parameterNameMap { + return @{ @"optionsRequestedPolicyVersion" : @"options.requestedPolicyVersion" }; +} + ++ (instancetype)queryWithResource:(NSString *)resource { + NSArray *pathParams = @[ @"resource" ]; + NSString *pathURITemplate = @"v1/{+resource}:getIamPolicy"; + GTLREventarcQuery_ProjectsLocationsEnrollmentsGetIamPolicy *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.resource = resource; + query.expectedObjectClass = [GTLREventarc_Policy class]; + query.loggingName = @"eventarc.projects.locations.enrollments.getIamPolicy"; + return query; +} + +@end + +@implementation GTLREventarcQuery_ProjectsLocationsEnrollmentsSetIamPolicy + +@dynamic resource; + ++ (instancetype)queryWithObject:(GTLREventarc_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"; + GTLREventarcQuery_ProjectsLocationsEnrollmentsSetIamPolicy *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.resource = resource; + query.expectedObjectClass = [GTLREventarc_Policy class]; + query.loggingName = @"eventarc.projects.locations.enrollments.setIamPolicy"; + return query; +} + +@end + +@implementation GTLREventarcQuery_ProjectsLocationsEnrollmentsTestIamPermissions + +@dynamic resource; + ++ (instancetype)queryWithObject:(GTLREventarc_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"; + GTLREventarcQuery_ProjectsLocationsEnrollmentsTestIamPermissions *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.resource = resource; + query.expectedObjectClass = [GTLREventarc_TestIamPermissionsResponse class]; + query.loggingName = @"eventarc.projects.locations.enrollments.testIamPermissions"; + return query; +} + +@end + @implementation GTLREventarcQuery_ProjectsLocationsGet @dynamic name; @@ -403,6 +480,83 @@ + (instancetype)queryWithName:(NSString *)name { @end +@implementation GTLREventarcQuery_ProjectsLocationsGoogleApiSourcesGetIamPolicy + +@dynamic optionsRequestedPolicyVersion, resource; + ++ (NSDictionary *)parameterNameMap { + return @{ @"optionsRequestedPolicyVersion" : @"options.requestedPolicyVersion" }; +} + ++ (instancetype)queryWithResource:(NSString *)resource { + NSArray *pathParams = @[ @"resource" ]; + NSString *pathURITemplate = @"v1/{+resource}:getIamPolicy"; + GTLREventarcQuery_ProjectsLocationsGoogleApiSourcesGetIamPolicy *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.resource = resource; + query.expectedObjectClass = [GTLREventarc_Policy class]; + query.loggingName = @"eventarc.projects.locations.googleApiSources.getIamPolicy"; + return query; +} + +@end + +@implementation GTLREventarcQuery_ProjectsLocationsGoogleApiSourcesSetIamPolicy + +@dynamic resource; + ++ (instancetype)queryWithObject:(GTLREventarc_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"; + GTLREventarcQuery_ProjectsLocationsGoogleApiSourcesSetIamPolicy *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.resource = resource; + query.expectedObjectClass = [GTLREventarc_Policy class]; + query.loggingName = @"eventarc.projects.locations.googleApiSources.setIamPolicy"; + return query; +} + +@end + +@implementation GTLREventarcQuery_ProjectsLocationsGoogleApiSourcesTestIamPermissions + +@dynamic resource; + ++ (instancetype)queryWithObject:(GTLREventarc_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"; + GTLREventarcQuery_ProjectsLocationsGoogleApiSourcesTestIamPermissions *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.resource = resource; + query.expectedObjectClass = [GTLREventarc_TestIamPermissionsResponse class]; + query.loggingName = @"eventarc.projects.locations.googleApiSources.testIamPermissions"; + return query; +} + +@end + @implementation GTLREventarcQuery_ProjectsLocationsList @dynamic filter, name, pageSize, pageToken; @@ -422,6 +576,83 @@ + (instancetype)queryWithName:(NSString *)name { @end +@implementation GTLREventarcQuery_ProjectsLocationsMessageBusesGetIamPolicy + +@dynamic optionsRequestedPolicyVersion, resource; + ++ (NSDictionary *)parameterNameMap { + return @{ @"optionsRequestedPolicyVersion" : @"options.requestedPolicyVersion" }; +} + ++ (instancetype)queryWithResource:(NSString *)resource { + NSArray *pathParams = @[ @"resource" ]; + NSString *pathURITemplate = @"v1/{+resource}:getIamPolicy"; + GTLREventarcQuery_ProjectsLocationsMessageBusesGetIamPolicy *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.resource = resource; + query.expectedObjectClass = [GTLREventarc_Policy class]; + query.loggingName = @"eventarc.projects.locations.messageBuses.getIamPolicy"; + return query; +} + +@end + +@implementation GTLREventarcQuery_ProjectsLocationsMessageBusesSetIamPolicy + +@dynamic resource; + ++ (instancetype)queryWithObject:(GTLREventarc_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"; + GTLREventarcQuery_ProjectsLocationsMessageBusesSetIamPolicy *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.resource = resource; + query.expectedObjectClass = [GTLREventarc_Policy class]; + query.loggingName = @"eventarc.projects.locations.messageBuses.setIamPolicy"; + return query; +} + +@end + +@implementation GTLREventarcQuery_ProjectsLocationsMessageBusesTestIamPermissions + +@dynamic resource; + ++ (instancetype)queryWithObject:(GTLREventarc_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"; + GTLREventarcQuery_ProjectsLocationsMessageBusesTestIamPermissions *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.resource = resource; + query.expectedObjectClass = [GTLREventarc_TestIamPermissionsResponse class]; + query.loggingName = @"eventarc.projects.locations.messageBuses.testIamPermissions"; + return query; +} + +@end + @implementation GTLREventarcQuery_ProjectsLocationsOperationsCancel @dynamic name; @@ -506,6 +737,83 @@ + (instancetype)queryWithName:(NSString *)name { @end +@implementation GTLREventarcQuery_ProjectsLocationsPipelinesGetIamPolicy + +@dynamic optionsRequestedPolicyVersion, resource; + ++ (NSDictionary *)parameterNameMap { + return @{ @"optionsRequestedPolicyVersion" : @"options.requestedPolicyVersion" }; +} + ++ (instancetype)queryWithResource:(NSString *)resource { + NSArray *pathParams = @[ @"resource" ]; + NSString *pathURITemplate = @"v1/{+resource}:getIamPolicy"; + GTLREventarcQuery_ProjectsLocationsPipelinesGetIamPolicy *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.resource = resource; + query.expectedObjectClass = [GTLREventarc_Policy class]; + query.loggingName = @"eventarc.projects.locations.pipelines.getIamPolicy"; + return query; +} + +@end + +@implementation GTLREventarcQuery_ProjectsLocationsPipelinesSetIamPolicy + +@dynamic resource; + ++ (instancetype)queryWithObject:(GTLREventarc_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"; + GTLREventarcQuery_ProjectsLocationsPipelinesSetIamPolicy *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.resource = resource; + query.expectedObjectClass = [GTLREventarc_Policy class]; + query.loggingName = @"eventarc.projects.locations.pipelines.setIamPolicy"; + return query; +} + +@end + +@implementation GTLREventarcQuery_ProjectsLocationsPipelinesTestIamPermissions + +@dynamic resource; + ++ (instancetype)queryWithObject:(GTLREventarc_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"; + GTLREventarcQuery_ProjectsLocationsPipelinesTestIamPermissions *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.resource = resource; + query.expectedObjectClass = [GTLREventarc_TestIamPermissionsResponse class]; + query.loggingName = @"eventarc.projects.locations.pipelines.testIamPermissions"; + return query; +} + +@end + @implementation GTLREventarcQuery_ProjectsLocationsProvidersGet @dynamic name; diff --git a/Sources/GeneratedServices/Eventarc/Public/GoogleAPIClientForREST/GTLREventarcQuery.h b/Sources/GeneratedServices/Eventarc/Public/GoogleAPIClientForREST/GTLREventarcQuery.h index 63d2b6aa1..2603a3ac9 100644 --- a/Sources/GeneratedServices/Eventarc/Public/GoogleAPIClientForREST/GTLREventarcQuery.h +++ b/Sources/GeneratedServices/Eventarc/Public/GoogleAPIClientForREST/GTLREventarcQuery.h @@ -628,6 +628,139 @@ NS_ASSUME_NONNULL_BEGIN @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: eventarc.projects.locations.enrollments.getIamPolicy + * + * Authorization scope(s): + * @c kGTLRAuthScopeEventarcCloudPlatform + */ +@interface GTLREventarcQuery_ProjectsLocationsEnrollmentsGetIamPolicy : GTLREventarcQuery + +/** + * 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 GTLREventarc_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 GTLREventarcQuery_ProjectsLocationsEnrollmentsGetIamPolicy + */ ++ (instancetype)queryWithResource:(NSString *)resource; + +@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: eventarc.projects.locations.enrollments.setIamPolicy + * + * Authorization scope(s): + * @c kGTLRAuthScopeEventarcCloudPlatform + */ +@interface GTLREventarcQuery_ProjectsLocationsEnrollmentsSetIamPolicy : GTLREventarcQuery + +/** + * 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 GTLREventarc_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 GTLREventarc_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 GTLREventarcQuery_ProjectsLocationsEnrollmentsSetIamPolicy + */ ++ (instancetype)queryWithObject:(GTLREventarc_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: eventarc.projects.locations.enrollments.testIamPermissions + * + * Authorization scope(s): + * @c kGTLRAuthScopeEventarcCloudPlatform + */ +@interface GTLREventarcQuery_ProjectsLocationsEnrollmentsTestIamPermissions : GTLREventarcQuery + +/** + * 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 GTLREventarc_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 GTLREventarc_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 GTLREventarcQuery_ProjectsLocationsEnrollmentsTestIamPermissions + */ ++ (instancetype)queryWithObject:(GTLREventarc_TestIamPermissionsRequest *)object + resource:(NSString *)resource; + +@end + /** * Gets information about a location. * @@ -680,6 +813,139 @@ NS_ASSUME_NONNULL_BEGIN @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: eventarc.projects.locations.googleApiSources.getIamPolicy + * + * Authorization scope(s): + * @c kGTLRAuthScopeEventarcCloudPlatform + */ +@interface GTLREventarcQuery_ProjectsLocationsGoogleApiSourcesGetIamPolicy : GTLREventarcQuery + +/** + * 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 GTLREventarc_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 GTLREventarcQuery_ProjectsLocationsGoogleApiSourcesGetIamPolicy + */ ++ (instancetype)queryWithResource:(NSString *)resource; + +@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: eventarc.projects.locations.googleApiSources.setIamPolicy + * + * Authorization scope(s): + * @c kGTLRAuthScopeEventarcCloudPlatform + */ +@interface GTLREventarcQuery_ProjectsLocationsGoogleApiSourcesSetIamPolicy : GTLREventarcQuery + +/** + * 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 GTLREventarc_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 GTLREventarc_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 GTLREventarcQuery_ProjectsLocationsGoogleApiSourcesSetIamPolicy + */ ++ (instancetype)queryWithObject:(GTLREventarc_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: eventarc.projects.locations.googleApiSources.testIamPermissions + * + * Authorization scope(s): + * @c kGTLRAuthScopeEventarcCloudPlatform + */ +@interface GTLREventarcQuery_ProjectsLocationsGoogleApiSourcesTestIamPermissions : GTLREventarcQuery + +/** + * 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 GTLREventarc_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 GTLREventarc_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 GTLREventarcQuery_ProjectsLocationsGoogleApiSourcesTestIamPermissions + */ ++ (instancetype)queryWithObject:(GTLREventarc_TestIamPermissionsRequest *)object + resource:(NSString *)resource; + +@end + /** * Lists information about the supported locations for this service. * @@ -729,6 +995,139 @@ NS_ASSUME_NONNULL_BEGIN @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: eventarc.projects.locations.messageBuses.getIamPolicy + * + * Authorization scope(s): + * @c kGTLRAuthScopeEventarcCloudPlatform + */ +@interface GTLREventarcQuery_ProjectsLocationsMessageBusesGetIamPolicy : GTLREventarcQuery + +/** + * 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 GTLREventarc_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 GTLREventarcQuery_ProjectsLocationsMessageBusesGetIamPolicy + */ ++ (instancetype)queryWithResource:(NSString *)resource; + +@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: eventarc.projects.locations.messageBuses.setIamPolicy + * + * Authorization scope(s): + * @c kGTLRAuthScopeEventarcCloudPlatform + */ +@interface GTLREventarcQuery_ProjectsLocationsMessageBusesSetIamPolicy : GTLREventarcQuery + +/** + * 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 GTLREventarc_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 GTLREventarc_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 GTLREventarcQuery_ProjectsLocationsMessageBusesSetIamPolicy + */ ++ (instancetype)queryWithObject:(GTLREventarc_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: eventarc.projects.locations.messageBuses.testIamPermissions + * + * Authorization scope(s): + * @c kGTLRAuthScopeEventarcCloudPlatform + */ +@interface GTLREventarcQuery_ProjectsLocationsMessageBusesTestIamPermissions : GTLREventarcQuery + +/** + * 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 GTLREventarc_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 GTLREventarc_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 GTLREventarcQuery_ProjectsLocationsMessageBusesTestIamPermissions + */ ++ (instancetype)queryWithObject:(GTLREventarc_TestIamPermissionsRequest *)object + resource:(NSString *)resource; + +@end + /** * Starts asynchronous cancellation on a long-running operation. The server * makes a best effort to cancel the operation, but success is not guaranteed. @@ -877,6 +1276,139 @@ NS_ASSUME_NONNULL_BEGIN @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: eventarc.projects.locations.pipelines.getIamPolicy + * + * Authorization scope(s): + * @c kGTLRAuthScopeEventarcCloudPlatform + */ +@interface GTLREventarcQuery_ProjectsLocationsPipelinesGetIamPolicy : GTLREventarcQuery + +/** + * 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 GTLREventarc_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 GTLREventarcQuery_ProjectsLocationsPipelinesGetIamPolicy + */ ++ (instancetype)queryWithResource:(NSString *)resource; + +@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: eventarc.projects.locations.pipelines.setIamPolicy + * + * Authorization scope(s): + * @c kGTLRAuthScopeEventarcCloudPlatform + */ +@interface GTLREventarcQuery_ProjectsLocationsPipelinesSetIamPolicy : GTLREventarcQuery + +/** + * 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 GTLREventarc_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 GTLREventarc_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 GTLREventarcQuery_ProjectsLocationsPipelinesSetIamPolicy + */ ++ (instancetype)queryWithObject:(GTLREventarc_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: eventarc.projects.locations.pipelines.testIamPermissions + * + * Authorization scope(s): + * @c kGTLRAuthScopeEventarcCloudPlatform + */ +@interface GTLREventarcQuery_ProjectsLocationsPipelinesTestIamPermissions : GTLREventarcQuery + +/** + * 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 GTLREventarc_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 GTLREventarc_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 GTLREventarcQuery_ProjectsLocationsPipelinesTestIamPermissions + */ ++ (instancetype)queryWithObject:(GTLREventarc_TestIamPermissionsRequest *)object + resource:(NSString *)resource; + +@end + /** * Get a single Provider. * diff --git a/Sources/GeneratedServices/FirebaseManagement/GTLRFirebaseManagementObjects.m b/Sources/GeneratedServices/FirebaseManagement/GTLRFirebaseManagementObjects.m index ff880f015..882d0488d 100644 --- a/Sources/GeneratedServices/FirebaseManagement/GTLRFirebaseManagementObjects.m +++ b/Sources/GeneratedServices/FirebaseManagement/GTLRFirebaseManagementObjects.m @@ -730,7 +730,8 @@ @implementation GTLRFirebaseManagement_WebApp @implementation GTLRFirebaseManagement_WebAppConfig @dynamic apiKey, appId, authDomain, databaseURL, locationId, measurementId, - messagingSenderId, projectId, storageBucket; + messagingSenderId, projectId, projectNumber, realtimeDatabaseUrl, + storageBucket, version; @end #pragma clang diagnostic pop diff --git a/Sources/GeneratedServices/FirebaseManagement/Public/GoogleAPIClientForREST/GTLRFirebaseManagementObjects.h b/Sources/GeneratedServices/FirebaseManagement/Public/GoogleAPIClientForREST/GTLRFirebaseManagementObjects.h index cde45db87..b4abdf623 100644 --- a/Sources/GeneratedServices/FirebaseManagement/Public/GoogleAPIClientForREST/GTLRFirebaseManagementObjects.h +++ b/Sources/GeneratedServices/FirebaseManagement/Public/GoogleAPIClientForREST/GTLRFirebaseManagementObjects.h @@ -1933,6 +1933,25 @@ GTLR_DEPRECATED /** Immutable. A user-assigned unique identifier for the `FirebaseProject`. */ @property(nonatomic, copy, nullable) NSString *projectId; +/** + * Output only. Immutable. The globally unique, Google-assigned canonical + * identifier for the Project. Use this identifier when configuring + * integrations and/or making API calls to Google Cloud or third-party + * services. + */ +@property(nonatomic, copy, nullable) NSString *projectNumber; + +/** + * Optional. Duplicate field for the URL of the default RTDB instances (if + * there is one) that uses the same field name as the unified V2 config file + * format. We wanted to make a single config file format for all the app + * platforms (Android, iOS and web) and we had to pick consistent names for all + * the fields since there was some varience between the platforms. If the + * request asks for the V2 format we will populate this field instead of + * realtime_database_instance_uri. + */ +@property(nonatomic, copy, nullable) NSString *realtimeDatabaseUrl; + /** * **DEPRECATED.** _Instead, find the default Cloud Storage for Firebase bucket * using the [list @@ -1944,6 +1963,9 @@ GTLR_DEPRECATED */ @property(nonatomic, copy, nullable) NSString *storageBucket GTLR_DEPRECATED; +/** Version of the config specification. */ +@property(nonatomic, copy, nullable) NSString *version; + @end NS_ASSUME_NONNULL_END diff --git a/Sources/GeneratedServices/Firestore/GTLRFirestoreObjects.m b/Sources/GeneratedServices/Firestore/GTLRFirestoreObjects.m index 950304a9a..a0c827031 100644 --- a/Sources/GeneratedServices/Firestore/GTLRFirestoreObjects.m +++ b/Sources/GeneratedServices/Firestore/GTLRFirestoreObjects.m @@ -749,6 +749,16 @@ @implementation GTLRFirestore_GoogleFirestoreAdminV1BackupSchedule @end +// ---------------------------------------------------------------------------- +// +// GTLRFirestore_GoogleFirestoreAdminV1BackupSource +// + +@implementation GTLRFirestore_GoogleFirestoreAdminV1BackupSource +@dynamic backup; +@end + + // ---------------------------------------------------------------------------- // // GTLRFirestore_GoogleFirestoreAdminV1BulkDeleteDocumentsMetadata @@ -843,7 +853,7 @@ @implementation GTLRFirestore_GoogleFirestoreAdminV1Database @dynamic appEngineIntegrationMode, cmekConfig, concurrencyMode, createTime, deleteProtectionState, deleteTime, earliestVersionTime, ETag, keyPrefix, locationId, name, pointInTimeRecoveryEnablement, previousId, - type, uid, updateTime, versionRetentionPeriod; + sourceInfo, type, uid, updateTime, versionRetentionPeriod; + (NSDictionary *)propertyToJSONKeyMap { return @{ @"ETag" : @"etag" }; @@ -1222,6 +1232,16 @@ @implementation GTLRFirestore_GoogleFirestoreAdminV1SourceEncryptionOptions @end +// ---------------------------------------------------------------------------- +// +// GTLRFirestore_GoogleFirestoreAdminV1SourceInfo +// + +@implementation GTLRFirestore_GoogleFirestoreAdminV1SourceInfo +@dynamic backup, operation; +@end + + // ---------------------------------------------------------------------------- // // GTLRFirestore_GoogleFirestoreAdminV1Stats diff --git a/Sources/GeneratedServices/Firestore/GTLRFirestoreQuery.m b/Sources/GeneratedServices/Firestore/GTLRFirestoreQuery.m index 045fb9858..c7446d994 100644 --- a/Sources/GeneratedServices/Firestore/GTLRFirestoreQuery.m +++ b/Sources/GeneratedServices/Firestore/GTLRFirestoreQuery.m @@ -1136,7 +1136,7 @@ + (instancetype)queryWithName:(NSString *)name { @implementation GTLRFirestoreQuery_ProjectsLocationsBackupsList -@dynamic parent; +@dynamic filter, parent; + (instancetype)queryWithParent:(NSString *)parent { NSArray *pathParams = @[ @"parent" ]; diff --git a/Sources/GeneratedServices/Firestore/Public/GoogleAPIClientForREST/GTLRFirestoreObjects.h b/Sources/GeneratedServices/Firestore/Public/GoogleAPIClientForREST/GTLRFirestoreObjects.h index f7814d817..96ac2e588 100644 --- a/Sources/GeneratedServices/Firestore/Public/GoogleAPIClientForREST/GTLRFirestoreObjects.h +++ b/Sources/GeneratedServices/Firestore/Public/GoogleAPIClientForREST/GTLRFirestoreObjects.h @@ -47,6 +47,7 @@ @class GTLRFirestore_FindNearest; @class GTLRFirestore_GoogleFirestoreAdminV1Backup; @class GTLRFirestore_GoogleFirestoreAdminV1BackupSchedule; +@class GTLRFirestore_GoogleFirestoreAdminV1BackupSource; @class GTLRFirestore_GoogleFirestoreAdminV1CmekConfig; @class GTLRFirestore_GoogleFirestoreAdminV1CustomerManagedEncryptionOptions; @class GTLRFirestore_GoogleFirestoreAdminV1DailyRecurrence; @@ -61,6 +62,7 @@ @class GTLRFirestore_GoogleFirestoreAdminV1IndexField; @class GTLRFirestore_GoogleFirestoreAdminV1Progress; @class GTLRFirestore_GoogleFirestoreAdminV1SourceEncryptionOptions; +@class GTLRFirestore_GoogleFirestoreAdminV1SourceInfo; @class GTLRFirestore_GoogleFirestoreAdminV1Stats; @class GTLRFirestore_GoogleFirestoreAdminV1TtlConfig; @class GTLRFirestore_GoogleFirestoreAdminV1TtlConfigDelta; @@ -2256,6 +2258,20 @@ FOUNDATION_EXTERN NSString * const kGTLRFirestore_Value_NullValue_NullValue; @end +/** + * Information about a backup that was used to restore a database. + */ +@interface GTLRFirestore_GoogleFirestoreAdminV1BackupSource : GTLRObject + +/** + * The resource name of the backup that was used to restore this database. + * Format: `projects/{project}/locations/{location}/backups/{backup}`. + */ +@property(nonatomic, copy, nullable) NSString *backup; + +@end + + /** * Metadata for google.longrunning.Operation results from * FirestoreAdmin.BulkDeleteDocuments. @@ -2547,6 +2563,9 @@ FOUNDATION_EXTERN NSString * const kGTLRFirestore_Value_NullValue_NullValue; */ @property(nonatomic, copy, nullable) NSString *previousId; +/** Output only. Information about the provenance of this database. */ +@property(nonatomic, strong, nullable) GTLRFirestore_GoogleFirestoreAdminV1SourceInfo *sourceInfo; + /** * The type of the database. See * https://cloud.google.com/datastore/docs/firestore-or-datastore for @@ -3449,6 +3468,27 @@ FOUNDATION_EXTERN NSString * const kGTLRFirestore_Value_NullValue_NullValue; @end +/** + * Information about the provenance of this database. + */ +@interface GTLRFirestore_GoogleFirestoreAdminV1SourceInfo : GTLRObject + +/** + * If set, this database was restored from the specified backup (or a snapshot + * thereof). + */ +@property(nonatomic, strong, nullable) GTLRFirestore_GoogleFirestoreAdminV1BackupSource *backup; + +/** + * The associated long-running operation. This field may not be set after the + * operation has completed. Format: + * `projects/{project}/databases/{database}/operations/{operation}`. + */ +@property(nonatomic, copy, nullable) NSString *operation; + +@end + + /** * Backup specific statistics. */ diff --git a/Sources/GeneratedServices/Firestore/Public/GoogleAPIClientForREST/GTLRFirestoreQuery.h b/Sources/GeneratedServices/Firestore/Public/GoogleAPIClientForREST/GTLRFirestoreQuery.h index 43289fbef..5448aeb8e 100644 --- a/Sources/GeneratedServices/Firestore/Public/GoogleAPIClientForREST/GTLRFirestoreQuery.h +++ b/Sources/GeneratedServices/Firestore/Public/GoogleAPIClientForREST/GTLRFirestoreQuery.h @@ -1973,6 +1973,17 @@ NS_ASSUME_NONNULL_BEGIN */ @interface GTLRFirestoreQuery_ProjectsLocationsBackupsList : GTLRFirestoreQuery +/** + * An expression that filters the list of returned backups. A filter expression + * consists of a field name, a comparison operator, and a value for filtering. + * The value must be a string, a number, or a boolean. The comparison operator + * must be one of: `<`, `>`, `<=`, `>=`, `!=`, `=`, or `:`. Colon `:` is the + * contains operator. Filter rules are not case sensitive. The following fields + * in the Backup are eligible for filtering: * `database_uid` (supports `=` + * only) + */ +@property(nonatomic, copy, nullable) NSString *filter; + /** * Required. The location to list backups from. Format is * `projects/{project}/locations/{location}`. Use `{location} = '-'` to list diff --git a/Sources/GeneratedServices/GoogleAnalyticsAdmin/Public/GoogleAPIClientForREST/GTLRGoogleAnalyticsAdminQuery.h b/Sources/GeneratedServices/GoogleAnalyticsAdmin/Public/GoogleAPIClientForREST/GTLRGoogleAnalyticsAdminQuery.h index d367ae89a..c1a5dd0ce 100644 --- a/Sources/GeneratedServices/GoogleAnalyticsAdmin/Public/GoogleAPIClientForREST/GTLRGoogleAnalyticsAdminQuery.h +++ b/Sources/GeneratedServices/GoogleAnalyticsAdmin/Public/GoogleAPIClientForREST/GTLRGoogleAnalyticsAdminQuery.h @@ -281,6 +281,10 @@ NS_ASSUME_NONNULL_BEGIN * configuration changes like adding a stream or changing a property's time * zone. For configuration change history, see * [searchChangeHistoryEvents](https://developers.google.com/analytics/devguides/config/admin/v1/rest/v1alpha/accounts/searchChangeHistoryEvents). + * To give your feedback on this API, complete the [Google Analytics Access + * Reports + * feedback](https://docs.google.com/forms/d/e/1FAIpQLSdmEBUrMzAEdiEKk5TV5dEHvDUZDRlgWYdQdAeSdtR4hVjEhw/viewform) + * form. * * Method: analyticsadmin.accounts.runAccessReport * @@ -315,6 +319,10 @@ NS_ASSUME_NONNULL_BEGIN * configuration changes like adding a stream or changing a property's time * zone. For configuration change history, see * [searchChangeHistoryEvents](https://developers.google.com/analytics/devguides/config/admin/v1/rest/v1alpha/accounts/searchChangeHistoryEvents). + * To give your feedback on this API, complete the [Google Analytics Access + * Reports + * feedback](https://docs.google.com/forms/d/e/1FAIpQLSdmEBUrMzAEdiEKk5TV5dEHvDUZDRlgWYdQdAeSdtR4hVjEhw/viewform) + * form. * * @param object The @c GTLRGoogleAnalyticsAdmin_V1betaRunAccessReportRequest * to include in the query. @@ -2098,6 +2106,10 @@ GTLR_DEPRECATED * configuration changes like adding a stream or changing a property's time * zone. For configuration change history, see * [searchChangeHistoryEvents](https://developers.google.com/analytics/devguides/config/admin/v1/rest/v1alpha/accounts/searchChangeHistoryEvents). + * To give your feedback on this API, complete the [Google Analytics Access + * Reports + * feedback](https://docs.google.com/forms/d/e/1FAIpQLSdmEBUrMzAEdiEKk5TV5dEHvDUZDRlgWYdQdAeSdtR4hVjEhw/viewform) + * form. * * Method: analyticsadmin.properties.runAccessReport * @@ -2132,6 +2144,10 @@ GTLR_DEPRECATED * configuration changes like adding a stream or changing a property's time * zone. For configuration change history, see * [searchChangeHistoryEvents](https://developers.google.com/analytics/devguides/config/admin/v1/rest/v1alpha/accounts/searchChangeHistoryEvents). + * To give your feedback on this API, complete the [Google Analytics Access + * Reports + * feedback](https://docs.google.com/forms/d/e/1FAIpQLSdmEBUrMzAEdiEKk5TV5dEHvDUZDRlgWYdQdAeSdtR4hVjEhw/viewform) + * form. * * @param object The @c GTLRGoogleAnalyticsAdmin_V1betaRunAccessReportRequest * to include in the query. diff --git a/Sources/GeneratedServices/HangoutsChat/GTLRHangoutsChatObjects.m b/Sources/GeneratedServices/HangoutsChat/GTLRHangoutsChatObjects.m index 998166bcb..d5f068cd0 100644 --- a/Sources/GeneratedServices/HangoutsChat/GTLRHangoutsChatObjects.m +++ b/Sources/GeneratedServices/HangoutsChat/GTLRHangoutsChatObjects.m @@ -283,6 +283,7 @@ NSString * const kGTLRHangoutsChat_Membership_State_NotAMember = @"NOT_A_MEMBER"; // GTLRHangoutsChat_RichLinkMetadata.richLinkType +NSString * const kGTLRHangoutsChat_RichLinkMetadata_RichLinkType_ChatSpace = @"CHAT_SPACE"; NSString * const kGTLRHangoutsChat_RichLinkMetadata_RichLinkType_DriveFile = @"DRIVE_FILE"; NSString * const kGTLRHangoutsChat_RichLinkMetadata_RichLinkType_RichLinkTypeUnspecified = @"RICH_LINK_TYPE_UNSPECIFIED"; @@ -493,6 +494,16 @@ @implementation GTLRHangoutsChat_ChatClientDataSourceMarkup @end +// ---------------------------------------------------------------------------- +// +// GTLRHangoutsChat_ChatSpaceLinkData +// + +@implementation GTLRHangoutsChat_ChatSpaceLinkData +@dynamic message, space, thread; +@end + + // ---------------------------------------------------------------------------- // // GTLRHangoutsChat_Color @@ -1633,7 +1644,7 @@ @implementation GTLRHangoutsChat_ReactionDeletedEventData // @implementation GTLRHangoutsChat_RichLinkMetadata -@dynamic driveLinkData, richLinkType, uri; +@dynamic chatSpaceLinkData, driveLinkData, richLinkType, uri; @end diff --git a/Sources/GeneratedServices/HangoutsChat/GTLRHangoutsChatService.m b/Sources/GeneratedServices/HangoutsChat/GTLRHangoutsChatService.m index 1d1d8d783..bfa8a4d0a 100644 --- a/Sources/GeneratedServices/HangoutsChat/GTLRHangoutsChatService.m +++ b/Sources/GeneratedServices/HangoutsChat/GTLRHangoutsChatService.m @@ -20,6 +20,10 @@ NSString * const kGTLRAuthScopeHangoutsChatAdminMembershipsReadonly = @"https://www.googleapis.com/auth/chat.admin.memberships.readonly"; NSString * const kGTLRAuthScopeHangoutsChatAdminSpaces = @"https://www.googleapis.com/auth/chat.admin.spaces"; NSString * const kGTLRAuthScopeHangoutsChatAdminSpacesReadonly = @"https://www.googleapis.com/auth/chat.admin.spaces.readonly"; +NSString * const kGTLRAuthScopeHangoutsChatAppDelete = @"https://www.googleapis.com/auth/chat.app.delete"; +NSString * const kGTLRAuthScopeHangoutsChatAppMemberships = @"https://www.googleapis.com/auth/chat.app.memberships"; +NSString * const kGTLRAuthScopeHangoutsChatAppSpaces = @"https://www.googleapis.com/auth/chat.app.spaces"; +NSString * const kGTLRAuthScopeHangoutsChatAppSpacesCreate = @"https://www.googleapis.com/auth/chat.app.spaces.create"; NSString * const kGTLRAuthScopeHangoutsChatBot = @"https://www.googleapis.com/auth/chat.bot"; NSString * const kGTLRAuthScopeHangoutsChatDelete = @"https://www.googleapis.com/auth/chat.delete"; NSString * const kGTLRAuthScopeHangoutsChatImport = @"https://www.googleapis.com/auth/chat.import"; diff --git a/Sources/GeneratedServices/HangoutsChat/Public/GoogleAPIClientForREST/GTLRHangoutsChatObjects.h b/Sources/GeneratedServices/HangoutsChat/Public/GoogleAPIClientForREST/GTLRHangoutsChatObjects.h index de25d29ad..f6bab048d 100644 --- a/Sources/GeneratedServices/HangoutsChat/Public/GoogleAPIClientForREST/GTLRHangoutsChatObjects.h +++ b/Sources/GeneratedServices/HangoutsChat/Public/GoogleAPIClientForREST/GTLRHangoutsChatObjects.h @@ -31,6 +31,7 @@ @class GTLRHangoutsChat_CardHeader; @class GTLRHangoutsChat_CardWithId; @class GTLRHangoutsChat_ChatClientDataSourceMarkup; +@class GTLRHangoutsChat_ChatSpaceLinkData; @class GTLRHangoutsChat_Color; @class GTLRHangoutsChat_CommonEventObject; @class GTLRHangoutsChat_CommonEventObject_FormInputs; @@ -463,7 +464,7 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChat_CardHeader_ImageStyle_Image */ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChat_CommonEventObject_HostApp_Calendar; /** - * A Google Chat app. + * A Google Chat app. Not used for Google Workspace Add-ons. * * Value: "CHAT" */ @@ -1349,6 +1350,12 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChat_Membership_State_NotAMember // ---------------------------------------------------------------------------- // GTLRHangoutsChat_RichLinkMetadata.richLinkType +/** + * A Chat space rich link type. For example, a space smart chip. + * + * Value: "CHAT_SPACE" + */ +FOUNDATION_EXTERN NSString * const kGTLRHangoutsChat_RichLinkMetadata_RichLinkType_ChatSpace; /** * A Google Drive rich link type. * @@ -1586,7 +1593,9 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChat_UserMentionMetadata_Type_Ty * space can access it. For details, see [Make a space discoverable to a target * audience](https://developers.google.com/workspace/chat/space-target-audience). * Format: `audiences/{audience}` To use the default target audience for the - * Google Workspace organization, set to `audiences/default`. + * Google Workspace organization, set to `audiences/default`. This field is not + * populated when using the `chat.bot` scope with [app + * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app). */ @property(nonatomic, copy, nullable) NSString *audience; @@ -2077,6 +2086,29 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChat_UserMentionMetadata_Type_Ty @end +/** + * Data for Chat space links. + */ +@interface GTLRHangoutsChat_ChatSpaceLinkData : GTLRObject + +/** + * The message of the linked Chat space resource. Format: + * `spaces/{space}/messages/{message}` + */ +@property(nonatomic, copy, nullable) NSString *message; + +/** The space of the linked Chat space resource. Format: `spaces/{space}` */ +@property(nonatomic, copy, nullable) NSString *space; + +/** + * The thread of the linked Chat space resource. Format: + * `spaces/{space}/threads/{thread}` + */ +@property(nonatomic, copy, nullable) NSString *thread; + +@end + + /** * Represents a color in the RGBA color space. This representation is designed * for simplicity of conversion to and from color representations in various @@ -2191,7 +2223,7 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChat_UserMentionMetadata_Type_Ty * @arg @c kGTLRHangoutsChat_CommonEventObject_HostApp_Calendar The add-on * launches from Google Calendar. (Value: "CALENDAR") * @arg @c kGTLRHangoutsChat_CommonEventObject_HostApp_Chat A Google Chat - * app. (Value: "CHAT") + * app. Not used for Google Workspace Add-ons. (Value: "CHAT") * @arg @c kGTLRHangoutsChat_CommonEventObject_HostApp_Demo Not used. (Value: * "DEMO") * @arg @c kGTLRHangoutsChat_CommonEventObject_HostApp_Docs The add-on @@ -2995,7 +3027,7 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChat_UserMentionMetadata_Type_Ty @property(nonatomic, strong, nullable) GTLRHangoutsChat_GoogleAppsCardV1CardHeader *peekCardHeader; /** - * The divider style between sections. + * The divider style between the header, sections and footer. * * Likely values: * @arg @c kGTLRHangoutsChat_GoogleAppsCardV1Card_SectionDividerStyle_DividerStyleUnspecified @@ -3193,9 +3225,12 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChat_UserMentionMetadata_Type_Ty * second column wraps if the screen width is less than or equal to 480 pixels. * * On iOS devices, the second column wraps if the screen width is less than * or equal to 300 pt. * On Android devices, the second column wraps if the - * screen width is less than or equal to 320 dp. To include more than 2 + * screen width is less than or equal to 320 dp. To include more than two * columns, or to use rows, use the `Grid` widget. [Google Workspace Add-ons - * and Chat apps](https://developers.google.com/workspace/extend): + * and Chat apps](https://developers.google.com/workspace/extend): The add-on + * UIs that support columns include: * The dialog displayed when users open the + * add-on from an email draft. * The dialog displayed when users open the + * add-on from the **Add attachment** menu in a Google Calendar event. */ @interface GTLRHangoutsChat_GoogleAppsCardV1Columns : GTLRObject @@ -4897,7 +4932,6 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChat_UserMentionMetadata_Type_Ty /** - * [Developer Preview](https://developers.google.com/workspace/preview). * Represents the count of memberships of a space, grouped into categories. */ @interface GTLRHangoutsChat_MembershipCount : GTLRObject @@ -5102,11 +5136,13 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChat_UserMentionMetadata_Type_Ty /** * Immutable. Input for creating a message, otherwise output only. The user * that can view the message. When set, the message is private and only visible - * to the specified user and the Chat app. Link previews and attachments aren't - * supported for private messages. Only Chat apps can send private messages. If - * your Chat app [authenticates as a - * user](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) - * to send a message, the message can't be private and must omit this field. + * to the specified user and the Chat app. To include this field in your + * request, you must call the Chat API using [app + * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) + * and omit the following: * + * [Attachments](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces.messages.attachments) + * * [Accessory + * widgets](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces.messages#Message.AccessoryWidget) * For details, see [Send a message * privately](https://developers.google.com/workspace/chat/create-messages#private). */ @@ -5364,6 +5400,9 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChat_UserMentionMetadata_Type_Ty */ @interface GTLRHangoutsChat_RichLinkMetadata : GTLRObject +/** Data for a chat space link. */ +@property(nonatomic, strong, nullable) GTLRHangoutsChat_ChatSpaceLinkData *chatSpaceLinkData; + /** Data for a drive link. */ @property(nonatomic, strong, nullable) GTLRHangoutsChat_DriveLinkData *driveLinkData; @@ -5371,6 +5410,9 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChat_UserMentionMetadata_Type_Ty * The rich link type. * * Likely values: + * @arg @c kGTLRHangoutsChat_RichLinkMetadata_RichLinkType_ChatSpace A Chat + * space rich link type. For example, a space smart chip. (Value: + * "CHAT_SPACE") * @arg @c kGTLRHangoutsChat_RichLinkMetadata_RichLinkType_DriveFile A Google * Drive rich link type. (Value: "DRIVE_FILE") * @arg @c kGTLRHangoutsChat_RichLinkMetadata_RichLinkType_RichLinkTypeUnspecified @@ -5614,12 +5656,12 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChat_UserMentionMetadata_Type_Ty /** * The space's display name. Required when [creating a - * space](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces/create). - * If you receive the error message `ALREADY_EXISTS` when creating a space or - * updating the `displayName`, try a different `displayName`. An existing space - * within the Google Workspace organization might already use this display - * name. For direct messages, this field might be empty. Supports up to 128 - * characters. + * space](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces/create) + * with a `spaceType` of `SPACE`. If you receive the error message + * `ALREADY_EXISTS` when creating a space or updating the `displayName`, try a + * different `displayName`. An existing space within the Google Workspace + * organization might already use this display name. For direct messages, this + * field might be empty. Supports up to 128 characters. */ @property(nonatomic, copy, nullable) NSString *displayName; @@ -5644,17 +5686,13 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChat_UserMentionMetadata_Type_Ty */ @property(nonatomic, strong, nullable) NSNumber *importMode; -/** - * Output only. Timestamp of the last message in the space. [Developer - * Preview](https://developers.google.com/workspace/preview). - */ +/** Output only. Timestamp of the last message in the space. */ @property(nonatomic, strong, nullable) GTLRDateTime *lastActiveTime; /** * Output only. The count of joined memberships grouped by member type. * Populated when the `space_type` is `SPACE`, `DIRECT_MESSAGE` or - * `GROUP_CHAT`. [Developer - * Preview](https://developers.google.com/workspace/preview). + * `GROUP_CHAT`. */ @property(nonatomic, strong, nullable) GTLRHangoutsChat_MembershipCount *membershipCount; diff --git a/Sources/GeneratedServices/HangoutsChat/Public/GoogleAPIClientForREST/GTLRHangoutsChatQuery.h b/Sources/GeneratedServices/HangoutsChat/Public/GoogleAPIClientForREST/GTLRHangoutsChatQuery.h index a7a296183..08119f2ca 100644 --- a/Sources/GeneratedServices/HangoutsChat/Public/GoogleAPIClientForREST/GTLRHangoutsChatQuery.h +++ b/Sources/GeneratedServices/HangoutsChat/Public/GoogleAPIClientForREST/GTLRHangoutsChatQuery.h @@ -207,17 +207,22 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChatMessageReplyOptionReplyMessa @end /** - * Creates a named space. Spaces grouped by topics aren't supported. For an - * example, see [Create a + * Creates a space with no members. Can be used to create a named space. Spaces + * grouped by topics aren't supported. For an example, see [Create a * space](https://developers.google.com/workspace/chat/create-spaces). If you * receive the error message `ALREADY_EXISTS` when creating a space, try a * different `displayName`. An existing space within the Google Workspace - * organization might already use this display name. Requires [user + * organization might already use this display name. If you're a member of the + * [Developer Preview + * program](https://developers.google.com/workspace/preview), you can create a + * group chat in import mode using `spaceType.GROUP_CHAT`. Requires [user * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user). * * Method: chat.spaces.create * * Authorization scope(s): + * @c kGTLRAuthScopeHangoutsChatAppSpaces + * @c kGTLRAuthScopeHangoutsChatAppSpacesCreate * @c kGTLRAuthScopeHangoutsChatImport * @c kGTLRAuthScopeHangoutsChatSpaces * @c kGTLRAuthScopeHangoutsChatSpacesCreate @@ -236,12 +241,15 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChatMessageReplyOptionReplyMessa /** * Fetches a @c GTLRHangoutsChat_Space. * - * Creates a named space. Spaces grouped by topics aren't supported. For an - * example, see [Create a + * Creates a space with no members. Can be used to create a named space. Spaces + * grouped by topics aren't supported. For an example, see [Create a * space](https://developers.google.com/workspace/chat/create-spaces). If you * receive the error message `ALREADY_EXISTS` when creating a space, try a * different `displayName`. An existing space within the Google Workspace - * organization might already use this display name. Requires [user + * organization might already use this display name. If you're a member of the + * [Developer Preview + * program](https://developers.google.com/workspace/preview), you can create a + * group chat in import mode using `spaceType.GROUP_CHAT`. Requires [user * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user). * * @param object The @c GTLRHangoutsChat_Space to include in the query. @@ -265,6 +273,7 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChatMessageReplyOptionReplyMessa * * Authorization scope(s): * @c kGTLRAuthScopeHangoutsChatAdminDelete + * @c kGTLRAuthScopeHangoutsChatAppDelete * @c kGTLRAuthScopeHangoutsChatDelete * @c kGTLRAuthScopeHangoutsChatImport */ @@ -276,8 +285,7 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChatMessageReplyOptionReplyMessa @property(nonatomic, copy, nullable) NSString *name; /** - * [Developer Preview](https://developers.google.com/workspace/preview). When - * `true`, the method runs using the user's Google Workspace administrator + * When `true`, the method runs using the user's Google Workspace administrator * privileges. The calling user must be a Google Workspace administrator with * the [manage chat and spaces conversations * privilege](https://support.google.com/a/answer/13369245). Requires the @@ -383,6 +391,7 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChatMessageReplyOptionReplyMessa * Authorization scope(s): * @c kGTLRAuthScopeHangoutsChatAdminSpaces * @c kGTLRAuthScopeHangoutsChatAdminSpacesReadonly + * @c kGTLRAuthScopeHangoutsChatAppSpaces * @c kGTLRAuthScopeHangoutsChatBot * @c kGTLRAuthScopeHangoutsChatSpaces * @c kGTLRAuthScopeHangoutsChatSpacesReadonly @@ -396,8 +405,7 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChatMessageReplyOptionReplyMessa @property(nonatomic, copy, nullable) NSString *name; /** - * [Developer Preview](https://developers.google.com/workspace/preview). When - * `true`, the method runs using the user's Google Workspace administrator + * When `true`, the method runs using the user's Google Workspace administrator * privileges. The calling user must be a Google Workspace administrator with * the [manage chat and spaces conversations * privilege](https://support.google.com/a/answer/13369245). Requires the @@ -524,6 +532,7 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChatMessageReplyOptionReplyMessa * * Authorization scope(s): * @c kGTLRAuthScopeHangoutsChatAdminMemberships + * @c kGTLRAuthScopeHangoutsChatAppMemberships * @c kGTLRAuthScopeHangoutsChatImport * @c kGTLRAuthScopeHangoutsChatMemberships * @c kGTLRAuthScopeHangoutsChatMembershipsApp @@ -537,8 +546,7 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChatMessageReplyOptionReplyMessa @property(nonatomic, copy, nullable) NSString *parent; /** - * [Developer Preview](https://developers.google.com/workspace/preview). When - * `true`, the method runs using the user's Google Workspace administrator + * When `true`, the method runs using the user's Google Workspace administrator * privileges. The calling user must be a Google Workspace administrator with * the [manage chat and spaces conversations * privilege](https://support.google.com/a/answer/13369245). Requires the @@ -589,6 +597,7 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChatMessageReplyOptionReplyMessa * * Authorization scope(s): * @c kGTLRAuthScopeHangoutsChatAdminMemberships + * @c kGTLRAuthScopeHangoutsChatAppMemberships * @c kGTLRAuthScopeHangoutsChatImport * @c kGTLRAuthScopeHangoutsChatMemberships * @c kGTLRAuthScopeHangoutsChatMembershipsApp @@ -609,8 +618,7 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChatMessageReplyOptionReplyMessa @property(nonatomic, copy, nullable) NSString *name; /** - * [Developer Preview](https://developers.google.com/workspace/preview). When - * `true`, the method runs using the user's Google Workspace administrator + * When `true`, the method runs using the user's Google Workspace administrator * privileges. The calling user must be a Google Workspace administrator with * the [manage chat and spaces conversations * privilege](https://support.google.com/a/answer/13369245). Requires the @@ -683,8 +691,7 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChatMessageReplyOptionReplyMessa @property(nonatomic, copy, nullable) NSString *name; /** - * [Developer Preview](https://developers.google.com/workspace/preview). When - * `true`, the method runs using the user's Google Workspace administrator + * When `true`, the method runs using the user's Google Workspace administrator * privileges. The calling user must be a Google Workspace administrator with * the [manage chat and spaces conversations * privilege](https://support.google.com/a/answer/13369245). Requires the @@ -759,14 +766,14 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChatMessageReplyOptionReplyMessa * and type * ([`member.type`](https://developers.google.com/workspace/chat/api/reference/rest/v1/User#type)). * To filter by role, set `role` to `ROLE_MEMBER` or `ROLE_MANAGER`. To filter - * by type, set `member.type` to `HUMAN` or `BOT`. Developer Preview: You can - * also filter for `member.type` using the `!=` operator. To filter by both - * role and type, use the `AND` operator. To filter by either role or type, use - * the `OR` operator. Either `member.type = "HUMAN"` or `member.type != "BOT"` - * is required when `use_admin_access` is set to true. Other member type - * filters will be rejected. For example, the following queries are valid: ``` - * role = "ROLE_MANAGER" OR role = "ROLE_MEMBER" member.type = "HUMAN" AND role - * = "ROLE_MANAGER" member.type != "BOT" ``` The following queries are invalid: + * by type, set `member.type` to `HUMAN` or `BOT`. You can also filter for + * `member.type` using the `!=` operator. To filter by both role and type, use + * the `AND` operator. To filter by either role or type, use the `OR` operator. + * Either `member.type = "HUMAN"` or `member.type != "BOT"` is required when + * `use_admin_access` is set to true. Other member type filters will be + * rejected. For example, the following queries are valid: ``` role = + * "ROLE_MANAGER" OR role = "ROLE_MEMBER" member.type = "HUMAN" AND role = + * "ROLE_MANAGER" member.type != "BOT" ``` The following queries are invalid: * ``` member.type = "HUMAN" AND member.type = "BOT" role = "ROLE_MANAGER" AND * role = "ROLE_MEMBER" ``` Invalid queries are rejected by the server with an * `INVALID_ARGUMENT` error. @@ -814,8 +821,7 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChatMessageReplyOptionReplyMessa @property(nonatomic, assign) BOOL showInvited; /** - * [Developer Preview](https://developers.google.com/workspace/preview). When - * `true`, the method runs using the user's Google Workspace administrator + * When `true`, the method runs using the user's Google Workspace administrator * privileges. The calling user must be a Google Workspace administrator with * the [manage chat and spaces conversations * privilege](https://support.google.com/a/answer/13369245). Requires either @@ -867,6 +873,7 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChatMessageReplyOptionReplyMessa * * Authorization scope(s): * @c kGTLRAuthScopeHangoutsChatAdminMemberships + * @c kGTLRAuthScopeHangoutsChatAppMemberships * @c kGTLRAuthScopeHangoutsChatImport * @c kGTLRAuthScopeHangoutsChatMemberships */ @@ -887,8 +894,7 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChatMessageReplyOptionReplyMessa @property(nonatomic, copy, nullable) NSString *updateMask; /** - * [Developer Preview](https://developers.google.com/workspace/preview). When - * `true`, the method runs using the user's Google Workspace administrator + * When `true`, the method runs using the user's Google Workspace administrator * privileges. The calling user must be a Google Workspace administrator with * the [manage chat and spaces conversations * privilege](https://support.google.com/a/answer/13369245). Requires the @@ -1662,6 +1668,7 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChatMessageReplyOptionReplyMessa * * Authorization scope(s): * @c kGTLRAuthScopeHangoutsChatAdminSpaces + * @c kGTLRAuthScopeHangoutsChatAppSpaces * @c kGTLRAuthScopeHangoutsChatImport * @c kGTLRAuthScopeHangoutsChatSpaces */ @@ -1725,8 +1732,7 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChatMessageReplyOptionReplyMessa @property(nonatomic, copy, nullable) NSString *updateMask; /** - * [Developer Preview](https://developers.google.com/workspace/preview). When - * `true`, the method runs using the user's Google Workspace administrator + * When `true`, the method runs using the user's Google Workspace administrator * privileges. The calling user must be a Google Workspace administrator with * the [manage chat and spaces conversations * privilege](https://support.google.com/a/answer/13369245). Requires the @@ -1765,11 +1771,10 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChatMessageReplyOptionReplyMessa @end /** - * [Developer Preview](https://developers.google.com/workspace/preview). - * Returns a list of spaces based on a user's search. Requires [user - * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user). - * The user must be an administrator for the Google Workspace organization. In - * the request, set `use_admin_access` to `true`. + * Returns a list of spaces in a Google Workspace organization based on an + * administrator's search. Requires [user authentication with administrator + * privileges](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user#admin-privileges). + * In the request, set `use_admin_access` to `true`. * * Method: chat.spaces.search * @@ -1867,11 +1872,10 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChatMessageReplyOptionReplyMessa /** * Fetches a @c GTLRHangoutsChat_SearchSpacesResponse. * - * [Developer Preview](https://developers.google.com/workspace/preview). - * Returns a list of spaces based on a user's search. Requires [user - * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user). - * The user must be an administrator for the Google Workspace organization. In - * the request, set `use_admin_access` to `true`. + * Returns a list of spaces in a Google Workspace organization based on an + * administrator's search. Requires [user authentication with administrator + * privileges](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user#admin-privileges). + * In the request, set `use_admin_access` to `true`. * * @return GTLRHangoutsChatQuery_SpacesSearch * diff --git a/Sources/GeneratedServices/HangoutsChat/Public/GoogleAPIClientForREST/GTLRHangoutsChatService.h b/Sources/GeneratedServices/HangoutsChat/Public/GoogleAPIClientForREST/GTLRHangoutsChatService.h index 1c6d67e17..5735b16c4 100644 --- a/Sources/GeneratedServices/HangoutsChat/Public/GoogleAPIClientForREST/GTLRHangoutsChatService.h +++ b/Sources/GeneratedServices/HangoutsChat/Public/GoogleAPIClientForREST/GTLRHangoutsChatService.h @@ -61,6 +61,35 @@ FOUNDATION_EXTERN NSString * const kGTLRAuthScopeHangoutsChatAdminSpaces; * Value "https://www.googleapis.com/auth/chat.admin.spaces.readonly" */ FOUNDATION_EXTERN NSString * const kGTLRAuthScopeHangoutsChatAdminSpacesReadonly; +/** + * Authorization scope: On their own behalf, apps in Google Chat can delete + * conversations and spaces and remove access to associated files + * + * Value "https://www.googleapis.com/auth/chat.app.delete" + */ +FOUNDATION_EXTERN NSString * const kGTLRAuthScopeHangoutsChatAppDelete; +/** + * Authorization scope: On their own behalf, apps in Google Chat can see, add, + * update, and remove members from conversations and spaces + * + * Value "https://www.googleapis.com/auth/chat.app.memberships" + */ +FOUNDATION_EXTERN NSString * const kGTLRAuthScopeHangoutsChatAppMemberships; +/** + * Authorization scope: On their own behalf, apps in Google Chat can create + * conversations and spaces and see or update their metadata (including history + * settings and access settings) + * + * Value "https://www.googleapis.com/auth/chat.app.spaces" + */ +FOUNDATION_EXTERN NSString * const kGTLRAuthScopeHangoutsChatAppSpaces; +/** + * Authorization scope: On their own behalf, apps in Google Chat can create + * conversations and spaces + * + * Value "https://www.googleapis.com/auth/chat.app.spaces.create" + */ +FOUNDATION_EXTERN NSString * const kGTLRAuthScopeHangoutsChatAppSpacesCreate; /** * Authorization scope: Private Service: * https://www.googleapis.com/auth/chat.bot diff --git a/Sources/GeneratedServices/Logging/GTLRLoggingObjects.m b/Sources/GeneratedServices/Logging/GTLRLoggingObjects.m index 421c4bfdc..44420a374 100644 --- a/Sources/GeneratedServices/Logging/GTLRLoggingObjects.m +++ b/Sources/GeneratedServices/Logging/GTLRLoggingObjects.m @@ -146,6 +146,12 @@ NSString * const kGTLRLogging_MetricDescriptorMetadata_LaunchStage_Prelaunch = @"PRELAUNCH"; NSString * const kGTLRLogging_MetricDescriptorMetadata_LaunchStage_Unimplemented = @"UNIMPLEMENTED"; +// GTLRLogging_MetricDescriptorMetadata.timeSeriesResourceHierarchyLevel +NSString * const kGTLRLogging_MetricDescriptorMetadata_TimeSeriesResourceHierarchyLevel_Folder = @"FOLDER"; +NSString * const kGTLRLogging_MetricDescriptorMetadata_TimeSeriesResourceHierarchyLevel_Organization = @"ORGANIZATION"; +NSString * const kGTLRLogging_MetricDescriptorMetadata_TimeSeriesResourceHierarchyLevel_Project = @"PROJECT"; +NSString * const kGTLRLogging_MetricDescriptorMetadata_TimeSeriesResourceHierarchyLevel_TimeSeriesResourceHierarchyLevelUnspecified = @"TIME_SERIES_RESOURCE_HIERARCHY_LEVEL_UNSPECIFIED"; + // GTLRLogging_MonitoredResourceDescriptor.launchStage NSString * const kGTLRLogging_MonitoredResourceDescriptor_LaunchStage_Alpha = @"ALPHA"; NSString * const kGTLRLogging_MonitoredResourceDescriptor_LaunchStage_Beta = @"BETA"; @@ -653,6 +659,28 @@ + (NSString *)collectionItemsKey { @end +// ---------------------------------------------------------------------------- +// +// GTLRLogging_ListLogScopesResponse +// + +@implementation GTLRLogging_ListLogScopesResponse +@dynamic logScopes, nextPageToken; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"logScopes" : [GTLRLogging_LogScope class] + }; + return map; +} + ++ (NSString *)collectionItemsKey { + return @"logScopes"; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRLogging_ListLogsResponse @@ -1037,6 +1065,28 @@ + (Class)classForAdditionalProperties { @end +// ---------------------------------------------------------------------------- +// +// GTLRLogging_LogScope +// + +@implementation GTLRLogging_LogScope +@dynamic createTime, descriptionProperty, name, resourceNames, updateTime; + ++ (NSDictionary *)propertyToJSONKeyMap { + return @{ @"descriptionProperty" : @"description" }; +} + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"resourceNames" : [NSString class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRLogging_LogSink @@ -1116,7 +1166,16 @@ @implementation GTLRLogging_MetricDescriptor // @implementation GTLRLogging_MetricDescriptorMetadata -@dynamic ingestDelay, launchStage, samplePeriod; +@dynamic ingestDelay, launchStage, samplePeriod, + timeSeriesResourceHierarchyLevel; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"timeSeriesResourceHierarchyLevel" : [NSString class] + }; + return map; +} + @end diff --git a/Sources/GeneratedServices/Logging/GTLRLoggingQuery.m b/Sources/GeneratedServices/Logging/GTLRLoggingQuery.m index b49f97b4c..6393b41ae 100644 --- a/Sources/GeneratedServices/Logging/GTLRLoggingQuery.m +++ b/Sources/GeneratedServices/Logging/GTLRLoggingQuery.m @@ -1874,6 +1874,117 @@ + (instancetype)queryWithName:(NSString *)name { @end +@implementation GTLRLoggingQuery_FoldersLocationsLogScopesCreate + +@dynamic logScopeId, parent; + ++ (instancetype)queryWithObject:(GTLRLogging_LogScope *)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 = @"v2/{+parent}/logScopes"; + GTLRLoggingQuery_FoldersLocationsLogScopesCreate *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.parent = parent; + query.expectedObjectClass = [GTLRLogging_LogScope class]; + query.loggingName = @"logging.folders.locations.logScopes.create"; + return query; +} + +@end + +@implementation GTLRLoggingQuery_FoldersLocationsLogScopesDelete + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v2/{+name}"; + GTLRLoggingQuery_FoldersLocationsLogScopesDelete *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"DELETE" + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRLogging_Empty class]; + query.loggingName = @"logging.folders.locations.logScopes.delete"; + return query; +} + +@end + +@implementation GTLRLoggingQuery_FoldersLocationsLogScopesGet + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v2/{+name}"; + GTLRLoggingQuery_FoldersLocationsLogScopesGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRLogging_LogScope class]; + query.loggingName = @"logging.folders.locations.logScopes.get"; + return query; +} + +@end + +@implementation GTLRLoggingQuery_FoldersLocationsLogScopesList + +@dynamic pageSize, pageToken, parent; + ++ (instancetype)queryWithParent:(NSString *)parent { + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v2/{+parent}/logScopes"; + GTLRLoggingQuery_FoldersLocationsLogScopesList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.parent = parent; + query.expectedObjectClass = [GTLRLogging_ListLogScopesResponse class]; + query.loggingName = @"logging.folders.locations.logScopes.list"; + return query; +} + +@end + +@implementation GTLRLoggingQuery_FoldersLocationsLogScopesPatch + +@dynamic name, updateMask; + ++ (instancetype)queryWithObject:(GTLRLogging_LogScope *)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}"; + GTLRLoggingQuery_FoldersLocationsLogScopesPatch *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"PATCH" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.name = name; + query.expectedObjectClass = [GTLRLogging_LogScope class]; + query.loggingName = @"logging.folders.locations.logScopes.patch"; + return query; +} + +@end + @implementation GTLRLoggingQuery_FoldersLocationsOperationsCancel @dynamic name; @@ -3593,6 +3704,117 @@ + (instancetype)queryWithName:(NSString *)name { @end +@implementation GTLRLoggingQuery_OrganizationsLocationsLogScopesCreate + +@dynamic logScopeId, parent; + ++ (instancetype)queryWithObject:(GTLRLogging_LogScope *)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 = @"v2/{+parent}/logScopes"; + GTLRLoggingQuery_OrganizationsLocationsLogScopesCreate *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.parent = parent; + query.expectedObjectClass = [GTLRLogging_LogScope class]; + query.loggingName = @"logging.organizations.locations.logScopes.create"; + return query; +} + +@end + +@implementation GTLRLoggingQuery_OrganizationsLocationsLogScopesDelete + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v2/{+name}"; + GTLRLoggingQuery_OrganizationsLocationsLogScopesDelete *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"DELETE" + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRLogging_Empty class]; + query.loggingName = @"logging.organizations.locations.logScopes.delete"; + return query; +} + +@end + +@implementation GTLRLoggingQuery_OrganizationsLocationsLogScopesGet + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v2/{+name}"; + GTLRLoggingQuery_OrganizationsLocationsLogScopesGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRLogging_LogScope class]; + query.loggingName = @"logging.organizations.locations.logScopes.get"; + return query; +} + +@end + +@implementation GTLRLoggingQuery_OrganizationsLocationsLogScopesList + +@dynamic pageSize, pageToken, parent; + ++ (instancetype)queryWithParent:(NSString *)parent { + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v2/{+parent}/logScopes"; + GTLRLoggingQuery_OrganizationsLocationsLogScopesList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.parent = parent; + query.expectedObjectClass = [GTLRLogging_ListLogScopesResponse class]; + query.loggingName = @"logging.organizations.locations.logScopes.list"; + return query; +} + +@end + +@implementation GTLRLoggingQuery_OrganizationsLocationsLogScopesPatch + +@dynamic name, updateMask; + ++ (instancetype)queryWithObject:(GTLRLogging_LogScope *)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}"; + GTLRLoggingQuery_OrganizationsLocationsLogScopesPatch *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"PATCH" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.name = name; + query.expectedObjectClass = [GTLRLogging_LogScope class]; + query.loggingName = @"logging.organizations.locations.logScopes.patch"; + return query; +} + +@end + @implementation GTLRLoggingQuery_OrganizationsLocationsOperationsCancel @dynamic name; @@ -4706,6 +4928,117 @@ + (instancetype)queryWithName:(NSString *)name { @end +@implementation GTLRLoggingQuery_ProjectsLocationsLogScopesCreate + +@dynamic logScopeId, parent; + ++ (instancetype)queryWithObject:(GTLRLogging_LogScope *)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 = @"v2/{+parent}/logScopes"; + GTLRLoggingQuery_ProjectsLocationsLogScopesCreate *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.parent = parent; + query.expectedObjectClass = [GTLRLogging_LogScope class]; + query.loggingName = @"logging.projects.locations.logScopes.create"; + return query; +} + +@end + +@implementation GTLRLoggingQuery_ProjectsLocationsLogScopesDelete + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v2/{+name}"; + GTLRLoggingQuery_ProjectsLocationsLogScopesDelete *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"DELETE" + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRLogging_Empty class]; + query.loggingName = @"logging.projects.locations.logScopes.delete"; + return query; +} + +@end + +@implementation GTLRLoggingQuery_ProjectsLocationsLogScopesGet + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v2/{+name}"; + GTLRLoggingQuery_ProjectsLocationsLogScopesGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRLogging_LogScope class]; + query.loggingName = @"logging.projects.locations.logScopes.get"; + return query; +} + +@end + +@implementation GTLRLoggingQuery_ProjectsLocationsLogScopesList + +@dynamic pageSize, pageToken, parent; + ++ (instancetype)queryWithParent:(NSString *)parent { + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v2/{+parent}/logScopes"; + GTLRLoggingQuery_ProjectsLocationsLogScopesList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.parent = parent; + query.expectedObjectClass = [GTLRLogging_ListLogScopesResponse class]; + query.loggingName = @"logging.projects.locations.logScopes.list"; + return query; +} + +@end + +@implementation GTLRLoggingQuery_ProjectsLocationsLogScopesPatch + +@dynamic name, updateMask; + ++ (instancetype)queryWithObject:(GTLRLogging_LogScope *)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}"; + GTLRLoggingQuery_ProjectsLocationsLogScopesPatch *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"PATCH" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.name = name; + query.expectedObjectClass = [GTLRLogging_LogScope class]; + query.loggingName = @"logging.projects.locations.logScopes.patch"; + return query; +} + +@end + @implementation GTLRLoggingQuery_ProjectsLocationsOperationsCancel @dynamic name; diff --git a/Sources/GeneratedServices/Logging/Public/GoogleAPIClientForREST/GTLRLoggingObjects.h b/Sources/GeneratedServices/Logging/Public/GoogleAPIClientForREST/GTLRLoggingObjects.h index ead2fbbc3..b81a9880e 100644 --- a/Sources/GeneratedServices/Logging/Public/GoogleAPIClientForREST/GTLRLoggingObjects.h +++ b/Sources/GeneratedServices/Logging/Public/GoogleAPIClientForREST/GTLRLoggingObjects.h @@ -50,6 +50,7 @@ @class GTLRLogging_LogLine; @class GTLRLogging_LogMetric; @class GTLRLogging_LogMetric_LabelExtractors; +@class GTLRLogging_LogScope; @class GTLRLogging_LogSink; @class GTLRLogging_LogSplit; @class GTLRLogging_LogView; @@ -805,6 +806,34 @@ FOUNDATION_EXTERN NSString * const kGTLRLogging_MetricDescriptorMetadata_LaunchS */ FOUNDATION_EXTERN NSString * const kGTLRLogging_MetricDescriptorMetadata_LaunchStage_Unimplemented; +// ---------------------------------------------------------------------------- +// GTLRLogging_MetricDescriptorMetadata.timeSeriesResourceHierarchyLevel + +/** + * Scopes a metric to a folder. + * + * Value: "FOLDER" + */ +FOUNDATION_EXTERN NSString * const kGTLRLogging_MetricDescriptorMetadata_TimeSeriesResourceHierarchyLevel_Folder; +/** + * Scopes a metric to an organization. + * + * Value: "ORGANIZATION" + */ +FOUNDATION_EXTERN NSString * const kGTLRLogging_MetricDescriptorMetadata_TimeSeriesResourceHierarchyLevel_Organization; +/** + * Scopes a metric to a project. + * + * Value: "PROJECT" + */ +FOUNDATION_EXTERN NSString * const kGTLRLogging_MetricDescriptorMetadata_TimeSeriesResourceHierarchyLevel_Project; +/** + * Do not use this default value. + * + * Value: "TIME_SERIES_RESOURCE_HIERARCHY_LEVEL_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRLogging_MetricDescriptorMetadata_TimeSeriesResourceHierarchyLevel_TimeSeriesResourceHierarchyLevelUnspecified; + // ---------------------------------------------------------------------------- // GTLRLogging_MonitoredResourceDescriptor.launchStage @@ -2232,6 +2261,35 @@ FOUNDATION_EXTERN NSString * const kGTLRLogging_SuppressionInfo_Reason_ReasonUns @end +/** + * The response from ListLogScopes. Every project has a _Default log scope that + * cannot be modified or deleted. + * + * @note This class supports NSFastEnumeration and indexed subscripting over + * its "logScopes" property. If returned as the result of a query, it + * should support automatic pagination (when @c shouldFetchNextPages is + * enabled). + */ +@interface GTLRLogging_ListLogScopesResponse : GTLRCollectionObject + +/** + * A list of log scopes. + * + * @note This property is used to support NSFastEnumeration and indexed + * subscripting on this class. + */ +@property(nonatomic, strong, nullable) NSArray *logScopes; + +/** + * If there might be more results than appear in this response, then + * nextPageToken is included. To get the next set of results, call the same + * method again using the value of nextPageToken as pageToken. + */ +@property(nonatomic, copy, nullable) NSString *nextPageToken; + +@end + + /** * Result returned from ListLogs. */ @@ -2525,8 +2583,8 @@ FOUNDATION_EXTERN NSString * const kGTLRLogging_SuppressionInfo_Reason_ReasonUns @interface GTLRLogging_LogBucket : GTLRObject /** - * Whether log analytics is enabled for this bucket.Once enabled, log analytics - * features cannot be disabled. + * Optional. Whether log analytics is enabled for this bucket.Once enabled, log + * analytics features cannot be disabled. * * Uses NSNumber of boolValue. */ @@ -3247,6 +3305,43 @@ FOUNDATION_EXTERN NSString * const kGTLRLogging_SuppressionInfo_Reason_ReasonUns @end +/** + * Describes a group of resources to read log entries from. + */ +@interface GTLRLogging_LogScope : GTLRObject + +/** Output only. The creation timestamp of the log scope. */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; + +/** + * Optional. Describes this log scope.The maximum length of the description is + * 8000 characters. + * + * Remapped to 'descriptionProperty' to avoid NSObject's 'description'. + */ +@property(nonatomic, copy, nullable) NSString *descriptionProperty; + +/** + * Output only. The resource name of the log scope.For + * example:projects/my-project/locations/global/logScopes/my-log-scope + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Required. Names of one or more parent resources: projects/[PROJECT_ID]May + * alternatively be one or more views: + * projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]A + * log scope can include a maximum of 50 projects and a maximum of 100 + * resources in total. + */ +@property(nonatomic, strong, nullable) NSArray *resourceNames; + +/** Output only. The last update timestamp of the log scope. */ +@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; + +@end + + /** * Describes a sink used to export log entries to one of the following * destinations: a Cloud Logging log bucket, a Cloud Storage bucket, a BigQuery @@ -3735,6 +3830,9 @@ FOUNDATION_EXTERN NSString * const kGTLRLogging_SuppressionInfo_Reason_ReasonUns */ @property(nonatomic, strong, nullable) GTLRDuration *samplePeriod; +/** The scope of the timeseries data of the metric. */ +@property(nonatomic, strong, nullable) NSArray *timeSeriesResourceHierarchyLevel; + @end diff --git a/Sources/GeneratedServices/Logging/Public/GoogleAPIClientForREST/GTLRLoggingQuery.h b/Sources/GeneratedServices/Logging/Public/GoogleAPIClientForREST/GTLRLoggingQuery.h index eafe570ea..aa8aac115 100644 --- a/Sources/GeneratedServices/Logging/Public/GoogleAPIClientForREST/GTLRLoggingQuery.h +++ b/Sources/GeneratedServices/Logging/Public/GoogleAPIClientForREST/GTLRLoggingQuery.h @@ -4062,6 +4062,213 @@ NS_ASSUME_NONNULL_BEGIN @end +/** + * Creates a log scope. + * + * Method: logging.folders.locations.logScopes.create + * + * Authorization scope(s): + * @c kGTLRAuthScopeLoggingAdmin + * @c kGTLRAuthScopeLoggingCloudPlatform + */ +@interface GTLRLoggingQuery_FoldersLocationsLogScopesCreate : GTLRLoggingQuery + +/** + * Required. A client-assigned identifier such as "log-scope". Identifiers are + * limited to 100 characters and can include only letters, digits, underscores, + * hyphens, and periods. First character has to be alphanumeric. + */ +@property(nonatomic, copy, nullable) NSString *logScopeId; + +/** + * Required. The parent project in which to create the log scope + * "projects/[PROJECT_ID]/locations/[LOCATION_ID]" For + * example:"projects/my-project/locations/global" + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRLogging_LogScope. + * + * Creates a log scope. + * + * @param object The @c GTLRLogging_LogScope to include in the query. + * @param parent Required. The parent project in which to create the log scope + * "projects/[PROJECT_ID]/locations/[LOCATION_ID]" For + * example:"projects/my-project/locations/global" + * + * @return GTLRLoggingQuery_FoldersLocationsLogScopesCreate + */ ++ (instancetype)queryWithObject:(GTLRLogging_LogScope *)object + parent:(NSString *)parent; + +@end + +/** + * Deletes a log scope. + * + * Method: logging.folders.locations.logScopes.delete + * + * Authorization scope(s): + * @c kGTLRAuthScopeLoggingAdmin + * @c kGTLRAuthScopeLoggingCloudPlatform + */ +@interface GTLRLoggingQuery_FoldersLocationsLogScopesDelete : GTLRLoggingQuery + +/** + * Required. The resource name of the log scope to delete: + * "projects/[PROJECT_ID]/locations/[LOCATION_ID]/logScopes/[LOG_SCOPE_ID]" For + * example:"projects/my-project/locations/global/logScopes/my-log-scope" + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRLogging_Empty. + * + * Deletes a log scope. + * + * @param name Required. The resource name of the log scope to delete: + * "projects/[PROJECT_ID]/locations/[LOCATION_ID]/logScopes/[LOG_SCOPE_ID]" + * For example:"projects/my-project/locations/global/logScopes/my-log-scope" + * + * @return GTLRLoggingQuery_FoldersLocationsLogScopesDelete + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Gets a log scope. + * + * Method: logging.folders.locations.logScopes.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeLoggingAdmin + * @c kGTLRAuthScopeLoggingCloudPlatform + * @c kGTLRAuthScopeLoggingCloudPlatformReadOnly + * @c kGTLRAuthScopeLoggingRead + */ +@interface GTLRLoggingQuery_FoldersLocationsLogScopesGet : GTLRLoggingQuery + +/** + * Required. The resource name of the log scope: + * "projects/[PROJECT_ID]/locations/[LOCATION_ID]/logScopes/[LOG_SCOPE_ID]" For + * example:"projects/my-project/locations/global/logScopes/my-log-scope" + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRLogging_LogScope. + * + * Gets a log scope. + * + * @param name Required. The resource name of the log scope: + * "projects/[PROJECT_ID]/locations/[LOCATION_ID]/logScopes/[LOG_SCOPE_ID]" + * For example:"projects/my-project/locations/global/logScopes/my-log-scope" + * + * @return GTLRLoggingQuery_FoldersLocationsLogScopesGet + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Lists log scopes. + * + * Method: logging.folders.locations.logScopes.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeLoggingAdmin + * @c kGTLRAuthScopeLoggingCloudPlatform + * @c kGTLRAuthScopeLoggingCloudPlatformReadOnly + * @c kGTLRAuthScopeLoggingRead + */ +@interface GTLRLoggingQuery_FoldersLocationsLogScopesList : GTLRLoggingQuery + +/** + * Optional. The maximum number of results to return from this + * request.Non-positive values are ignored. The presence of nextPageToken in + * the response indicates that more results might be available. + */ +@property(nonatomic, assign) NSInteger pageSize; + +/** + * Optional. If present, then retrieve the next batch of results from the + * preceding call to this method. pageToken must be the value of nextPageToken + * from the previous response. The values of other method parameters should be + * identical to those in the previous call. + */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** + * Required. The parent resource whose log scopes are to be listed: + * "projects/[PROJECT_ID]/locations/[LOCATION_ID]" + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRLogging_ListLogScopesResponse. + * + * Lists log scopes. + * + * @param parent Required. The parent resource whose log scopes are to be + * listed: "projects/[PROJECT_ID]/locations/[LOCATION_ID]" + * + * @return GTLRLoggingQuery_FoldersLocationsLogScopesList + * + * @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 log scope. + * + * Method: logging.folders.locations.logScopes.patch + * + * Authorization scope(s): + * @c kGTLRAuthScopeLoggingAdmin + * @c kGTLRAuthScopeLoggingCloudPlatform + */ +@interface GTLRLoggingQuery_FoldersLocationsLogScopesPatch : GTLRLoggingQuery + +/** + * Output only. The resource name of the log scope.For + * example:projects/my-project/locations/global/logScopes/my-log-scope + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Optional. Field mask that specifies the fields in log_scope that need an + * update. A field will be overwritten if, and only if, it is in the update + * mask. name and output only fields cannot be updated.For a detailed FieldMask + * definition, see + * https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMaskFor + * example: updateMask=description + * + * String format is a comma-separated list of fields. + */ +@property(nonatomic, copy, nullable) NSString *updateMask; + +/** + * Fetches a @c GTLRLogging_LogScope. + * + * Updates a log scope. + * + * @param object The @c GTLRLogging_LogScope to include in the query. + * @param name Output only. The resource name of the log scope.For + * example:projects/my-project/locations/global/logScopes/my-log-scope + * + * @return GTLRLoggingQuery_FoldersLocationsLogScopesPatch + */ ++ (instancetype)queryWithObject:(GTLRLogging_LogScope *)object + name:(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. @@ -7810,6 +8017,213 @@ NS_ASSUME_NONNULL_BEGIN @end +/** + * Creates a log scope. + * + * Method: logging.organizations.locations.logScopes.create + * + * Authorization scope(s): + * @c kGTLRAuthScopeLoggingAdmin + * @c kGTLRAuthScopeLoggingCloudPlatform + */ +@interface GTLRLoggingQuery_OrganizationsLocationsLogScopesCreate : GTLRLoggingQuery + +/** + * Required. A client-assigned identifier such as "log-scope". Identifiers are + * limited to 100 characters and can include only letters, digits, underscores, + * hyphens, and periods. First character has to be alphanumeric. + */ +@property(nonatomic, copy, nullable) NSString *logScopeId; + +/** + * Required. The parent project in which to create the log scope + * "projects/[PROJECT_ID]/locations/[LOCATION_ID]" For + * example:"projects/my-project/locations/global" + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRLogging_LogScope. + * + * Creates a log scope. + * + * @param object The @c GTLRLogging_LogScope to include in the query. + * @param parent Required. The parent project in which to create the log scope + * "projects/[PROJECT_ID]/locations/[LOCATION_ID]" For + * example:"projects/my-project/locations/global" + * + * @return GTLRLoggingQuery_OrganizationsLocationsLogScopesCreate + */ ++ (instancetype)queryWithObject:(GTLRLogging_LogScope *)object + parent:(NSString *)parent; + +@end + +/** + * Deletes a log scope. + * + * Method: logging.organizations.locations.logScopes.delete + * + * Authorization scope(s): + * @c kGTLRAuthScopeLoggingAdmin + * @c kGTLRAuthScopeLoggingCloudPlatform + */ +@interface GTLRLoggingQuery_OrganizationsLocationsLogScopesDelete : GTLRLoggingQuery + +/** + * Required. The resource name of the log scope to delete: + * "projects/[PROJECT_ID]/locations/[LOCATION_ID]/logScopes/[LOG_SCOPE_ID]" For + * example:"projects/my-project/locations/global/logScopes/my-log-scope" + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRLogging_Empty. + * + * Deletes a log scope. + * + * @param name Required. The resource name of the log scope to delete: + * "projects/[PROJECT_ID]/locations/[LOCATION_ID]/logScopes/[LOG_SCOPE_ID]" + * For example:"projects/my-project/locations/global/logScopes/my-log-scope" + * + * @return GTLRLoggingQuery_OrganizationsLocationsLogScopesDelete + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Gets a log scope. + * + * Method: logging.organizations.locations.logScopes.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeLoggingAdmin + * @c kGTLRAuthScopeLoggingCloudPlatform + * @c kGTLRAuthScopeLoggingCloudPlatformReadOnly + * @c kGTLRAuthScopeLoggingRead + */ +@interface GTLRLoggingQuery_OrganizationsLocationsLogScopesGet : GTLRLoggingQuery + +/** + * Required. The resource name of the log scope: + * "projects/[PROJECT_ID]/locations/[LOCATION_ID]/logScopes/[LOG_SCOPE_ID]" For + * example:"projects/my-project/locations/global/logScopes/my-log-scope" + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRLogging_LogScope. + * + * Gets a log scope. + * + * @param name Required. The resource name of the log scope: + * "projects/[PROJECT_ID]/locations/[LOCATION_ID]/logScopes/[LOG_SCOPE_ID]" + * For example:"projects/my-project/locations/global/logScopes/my-log-scope" + * + * @return GTLRLoggingQuery_OrganizationsLocationsLogScopesGet + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Lists log scopes. + * + * Method: logging.organizations.locations.logScopes.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeLoggingAdmin + * @c kGTLRAuthScopeLoggingCloudPlatform + * @c kGTLRAuthScopeLoggingCloudPlatformReadOnly + * @c kGTLRAuthScopeLoggingRead + */ +@interface GTLRLoggingQuery_OrganizationsLocationsLogScopesList : GTLRLoggingQuery + +/** + * Optional. The maximum number of results to return from this + * request.Non-positive values are ignored. The presence of nextPageToken in + * the response indicates that more results might be available. + */ +@property(nonatomic, assign) NSInteger pageSize; + +/** + * Optional. If present, then retrieve the next batch of results from the + * preceding call to this method. pageToken must be the value of nextPageToken + * from the previous response. The values of other method parameters should be + * identical to those in the previous call. + */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** + * Required. The parent resource whose log scopes are to be listed: + * "projects/[PROJECT_ID]/locations/[LOCATION_ID]" + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRLogging_ListLogScopesResponse. + * + * Lists log scopes. + * + * @param parent Required. The parent resource whose log scopes are to be + * listed: "projects/[PROJECT_ID]/locations/[LOCATION_ID]" + * + * @return GTLRLoggingQuery_OrganizationsLocationsLogScopesList + * + * @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 log scope. + * + * Method: logging.organizations.locations.logScopes.patch + * + * Authorization scope(s): + * @c kGTLRAuthScopeLoggingAdmin + * @c kGTLRAuthScopeLoggingCloudPlatform + */ +@interface GTLRLoggingQuery_OrganizationsLocationsLogScopesPatch : GTLRLoggingQuery + +/** + * Output only. The resource name of the log scope.For + * example:projects/my-project/locations/global/logScopes/my-log-scope + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Optional. Field mask that specifies the fields in log_scope that need an + * update. A field will be overwritten if, and only if, it is in the update + * mask. name and output only fields cannot be updated.For a detailed FieldMask + * definition, see + * https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMaskFor + * example: updateMask=description + * + * String format is a comma-separated list of fields. + */ +@property(nonatomic, copy, nullable) NSString *updateMask; + +/** + * Fetches a @c GTLRLogging_LogScope. + * + * Updates a log scope. + * + * @param object The @c GTLRLogging_LogScope to include in the query. + * @param name Output only. The resource name of the log scope.For + * example:projects/my-project/locations/global/logScopes/my-log-scope + * + * @return GTLRLoggingQuery_OrganizationsLocationsLogScopesPatch + */ ++ (instancetype)queryWithObject:(GTLRLogging_LogScope *)object + name:(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. @@ -10336,6 +10750,213 @@ NS_ASSUME_NONNULL_BEGIN @end +/** + * Creates a log scope. + * + * Method: logging.projects.locations.logScopes.create + * + * Authorization scope(s): + * @c kGTLRAuthScopeLoggingAdmin + * @c kGTLRAuthScopeLoggingCloudPlatform + */ +@interface GTLRLoggingQuery_ProjectsLocationsLogScopesCreate : GTLRLoggingQuery + +/** + * Required. A client-assigned identifier such as "log-scope". Identifiers are + * limited to 100 characters and can include only letters, digits, underscores, + * hyphens, and periods. First character has to be alphanumeric. + */ +@property(nonatomic, copy, nullable) NSString *logScopeId; + +/** + * Required. The parent project in which to create the log scope + * "projects/[PROJECT_ID]/locations/[LOCATION_ID]" For + * example:"projects/my-project/locations/global" + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRLogging_LogScope. + * + * Creates a log scope. + * + * @param object The @c GTLRLogging_LogScope to include in the query. + * @param parent Required. The parent project in which to create the log scope + * "projects/[PROJECT_ID]/locations/[LOCATION_ID]" For + * example:"projects/my-project/locations/global" + * + * @return GTLRLoggingQuery_ProjectsLocationsLogScopesCreate + */ ++ (instancetype)queryWithObject:(GTLRLogging_LogScope *)object + parent:(NSString *)parent; + +@end + +/** + * Deletes a log scope. + * + * Method: logging.projects.locations.logScopes.delete + * + * Authorization scope(s): + * @c kGTLRAuthScopeLoggingAdmin + * @c kGTLRAuthScopeLoggingCloudPlatform + */ +@interface GTLRLoggingQuery_ProjectsLocationsLogScopesDelete : GTLRLoggingQuery + +/** + * Required. The resource name of the log scope to delete: + * "projects/[PROJECT_ID]/locations/[LOCATION_ID]/logScopes/[LOG_SCOPE_ID]" For + * example:"projects/my-project/locations/global/logScopes/my-log-scope" + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRLogging_Empty. + * + * Deletes a log scope. + * + * @param name Required. The resource name of the log scope to delete: + * "projects/[PROJECT_ID]/locations/[LOCATION_ID]/logScopes/[LOG_SCOPE_ID]" + * For example:"projects/my-project/locations/global/logScopes/my-log-scope" + * + * @return GTLRLoggingQuery_ProjectsLocationsLogScopesDelete + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Gets a log scope. + * + * Method: logging.projects.locations.logScopes.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeLoggingAdmin + * @c kGTLRAuthScopeLoggingCloudPlatform + * @c kGTLRAuthScopeLoggingCloudPlatformReadOnly + * @c kGTLRAuthScopeLoggingRead + */ +@interface GTLRLoggingQuery_ProjectsLocationsLogScopesGet : GTLRLoggingQuery + +/** + * Required. The resource name of the log scope: + * "projects/[PROJECT_ID]/locations/[LOCATION_ID]/logScopes/[LOG_SCOPE_ID]" For + * example:"projects/my-project/locations/global/logScopes/my-log-scope" + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRLogging_LogScope. + * + * Gets a log scope. + * + * @param name Required. The resource name of the log scope: + * "projects/[PROJECT_ID]/locations/[LOCATION_ID]/logScopes/[LOG_SCOPE_ID]" + * For example:"projects/my-project/locations/global/logScopes/my-log-scope" + * + * @return GTLRLoggingQuery_ProjectsLocationsLogScopesGet + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Lists log scopes. + * + * Method: logging.projects.locations.logScopes.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeLoggingAdmin + * @c kGTLRAuthScopeLoggingCloudPlatform + * @c kGTLRAuthScopeLoggingCloudPlatformReadOnly + * @c kGTLRAuthScopeLoggingRead + */ +@interface GTLRLoggingQuery_ProjectsLocationsLogScopesList : GTLRLoggingQuery + +/** + * Optional. The maximum number of results to return from this + * request.Non-positive values are ignored. The presence of nextPageToken in + * the response indicates that more results might be available. + */ +@property(nonatomic, assign) NSInteger pageSize; + +/** + * Optional. If present, then retrieve the next batch of results from the + * preceding call to this method. pageToken must be the value of nextPageToken + * from the previous response. The values of other method parameters should be + * identical to those in the previous call. + */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** + * Required. The parent resource whose log scopes are to be listed: + * "projects/[PROJECT_ID]/locations/[LOCATION_ID]" + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRLogging_ListLogScopesResponse. + * + * Lists log scopes. + * + * @param parent Required. The parent resource whose log scopes are to be + * listed: "projects/[PROJECT_ID]/locations/[LOCATION_ID]" + * + * @return GTLRLoggingQuery_ProjectsLocationsLogScopesList + * + * @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 log scope. + * + * Method: logging.projects.locations.logScopes.patch + * + * Authorization scope(s): + * @c kGTLRAuthScopeLoggingAdmin + * @c kGTLRAuthScopeLoggingCloudPlatform + */ +@interface GTLRLoggingQuery_ProjectsLocationsLogScopesPatch : GTLRLoggingQuery + +/** + * Output only. The resource name of the log scope.For + * example:projects/my-project/locations/global/logScopes/my-log-scope + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Optional. Field mask that specifies the fields in log_scope that need an + * update. A field will be overwritten if, and only if, it is in the update + * mask. name and output only fields cannot be updated.For a detailed FieldMask + * definition, see + * https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMaskFor + * example: updateMask=description + * + * String format is a comma-separated list of fields. + */ +@property(nonatomic, copy, nullable) NSString *updateMask; + +/** + * Fetches a @c GTLRLogging_LogScope. + * + * Updates a log scope. + * + * @param object The @c GTLRLogging_LogScope to include in the query. + * @param name Output only. The resource name of the log scope.For + * example:projects/my-project/locations/global/logScopes/my-log-scope + * + * @return GTLRLoggingQuery_ProjectsLocationsLogScopesPatch + */ ++ (instancetype)queryWithObject:(GTLRLogging_LogScope *)object + name:(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. diff --git a/Sources/GeneratedServices/Looker/GTLRLookerObjects.m b/Sources/GeneratedServices/Looker/GTLRLookerObjects.m index ce12bcf2c..3e4c6ac84 100644 --- a/Sources/GeneratedServices/Looker/GTLRLookerObjects.m +++ b/Sources/GeneratedServices/Looker/GTLRLookerObjects.m @@ -284,12 +284,12 @@ @implementation GTLRLooker_ImportInstanceRequest @implementation GTLRLooker_Instance @dynamic adminSettings, consumerNetwork, createTime, customDomain, - denyMaintenancePeriod, egressPublicIp, encryptionConfig, - ingressPrivateIp, ingressPublicIp, lastDenyMaintenancePeriod, - linkedLspProjectNumber, lookerUri, lookerVersion, maintenanceSchedule, - maintenanceWindow, name, oauthConfig, platformEdition, - privateIpEnabled, pscConfig, pscEnabled, publicIpEnabled, - reservedRange, state, updateTime, userMetadata; + denyMaintenancePeriod, egressPublicIp, encryptionConfig, fipsEnabled, + geminiEnabled, ingressPrivateIp, ingressPublicIp, + lastDenyMaintenancePeriod, linkedLspProjectNumber, lookerUri, + lookerVersion, maintenanceSchedule, maintenanceWindow, name, + oauthConfig, platformEdition, privateIpEnabled, pscConfig, pscEnabled, + publicIpEnabled, reservedRange, state, updateTime, userMetadata; @end diff --git a/Sources/GeneratedServices/Looker/Public/GoogleAPIClientForREST/GTLRLookerObjects.h b/Sources/GeneratedServices/Looker/Public/GoogleAPIClientForREST/GTLRLookerObjects.h index 288ae1d3f..f5970eae5 100644 --- a/Sources/GeneratedServices/Looker/Public/GoogleAPIClientForREST/GTLRLookerObjects.h +++ b/Sources/GeneratedServices/Looker/Public/GoogleAPIClientForREST/GTLRLookerObjects.h @@ -857,6 +857,20 @@ FOUNDATION_EXTERN NSString * const kGTLRLooker_ServiceAttachment_ConnectionStatu */ @property(nonatomic, strong, nullable) GTLRLooker_EncryptionConfig *encryptionConfig; +/** + * Optional. Whether FIPS is enabled on the Looker instance. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *fipsEnabled; + +/** + * Optional. Whether Gemini feature is enabled on the Looker instance or not. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *geminiEnabled; + /** Output only. Private Ingress IP (IPv4). */ @property(nonatomic, copy, nullable) NSString *ingressPrivateIp; diff --git a/Sources/GeneratedServices/MapsPlaces/GTLRMapsPlacesObjects.m b/Sources/GeneratedServices/MapsPlaces/GTLRMapsPlacesObjects.m index ea65774ef..df7188059 100644 --- a/Sources/GeneratedServices/MapsPlaces/GTLRMapsPlacesObjects.m +++ b/Sources/GeneratedServices/MapsPlaces/GTLRMapsPlacesObjects.m @@ -74,6 +74,19 @@ NSString * const kGTLRMapsPlaces_GoogleMapsPlacesV1PlaceOpeningHours_SecondaryHoursType_SeniorHours = @"SENIOR_HOURS"; NSString * const kGTLRMapsPlaces_GoogleMapsPlacesV1PlaceOpeningHours_SecondaryHoursType_Takeout = @"TAKEOUT"; +// GTLRMapsPlaces_GoogleMapsPlacesV1RoutingParameters.routingPreference +NSString * const kGTLRMapsPlaces_GoogleMapsPlacesV1RoutingParameters_RoutingPreference_RoutingPreferenceUnspecified = @"ROUTING_PREFERENCE_UNSPECIFIED"; +NSString * const kGTLRMapsPlaces_GoogleMapsPlacesV1RoutingParameters_RoutingPreference_TrafficAware = @"TRAFFIC_AWARE"; +NSString * const kGTLRMapsPlaces_GoogleMapsPlacesV1RoutingParameters_RoutingPreference_TrafficAwareOptimal = @"TRAFFIC_AWARE_OPTIMAL"; +NSString * const kGTLRMapsPlaces_GoogleMapsPlacesV1RoutingParameters_RoutingPreference_TrafficUnaware = @"TRAFFIC_UNAWARE"; + +// GTLRMapsPlaces_GoogleMapsPlacesV1RoutingParameters.travelMode +NSString * const kGTLRMapsPlaces_GoogleMapsPlacesV1RoutingParameters_TravelMode_Bicycle = @"BICYCLE"; +NSString * const kGTLRMapsPlaces_GoogleMapsPlacesV1RoutingParameters_TravelMode_Drive = @"DRIVE"; +NSString * const kGTLRMapsPlaces_GoogleMapsPlacesV1RoutingParameters_TravelMode_TravelModeUnspecified = @"TRAVEL_MODE_UNSPECIFIED"; +NSString * const kGTLRMapsPlaces_GoogleMapsPlacesV1RoutingParameters_TravelMode_TwoWheeler = @"TWO_WHEELER"; +NSString * const kGTLRMapsPlaces_GoogleMapsPlacesV1RoutingParameters_TravelMode_Walk = @"WALK"; + // GTLRMapsPlaces_GoogleMapsPlacesV1SearchNearbyRequest.rankPreference NSString * const kGTLRMapsPlaces_GoogleMapsPlacesV1SearchNearbyRequest_RankPreference_Distance = @"DISTANCE"; NSString * const kGTLRMapsPlaces_GoogleMapsPlacesV1SearchNearbyRequest_RankPreference_Popularity = @"POPULARITY"; @@ -654,6 +667,16 @@ @implementation GTLRMapsPlaces_GoogleMapsPlacesV1PlaceSubDestination @end +// ---------------------------------------------------------------------------- +// +// GTLRMapsPlaces_GoogleMapsPlacesV1Polyline +// + +@implementation GTLRMapsPlaces_GoogleMapsPlacesV1Polyline +@dynamic encodedPolyline; +@end + + // ---------------------------------------------------------------------------- // // GTLRMapsPlaces_GoogleMapsPlacesV1References @@ -684,6 +707,54 @@ @implementation GTLRMapsPlaces_GoogleMapsPlacesV1Review @end +// ---------------------------------------------------------------------------- +// +// GTLRMapsPlaces_GoogleMapsPlacesV1RouteModifiers +// + +@implementation GTLRMapsPlaces_GoogleMapsPlacesV1RouteModifiers +@dynamic avoidFerries, avoidHighways, avoidIndoor, avoidTolls; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRMapsPlaces_GoogleMapsPlacesV1RoutingParameters +// + +@implementation GTLRMapsPlaces_GoogleMapsPlacesV1RoutingParameters +@dynamic origin, routeModifiers, routingPreference, travelMode; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRMapsPlaces_GoogleMapsPlacesV1RoutingSummary +// + +@implementation GTLRMapsPlaces_GoogleMapsPlacesV1RoutingSummary +@dynamic legs; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"legs" : [GTLRMapsPlaces_GoogleMapsPlacesV1RoutingSummaryLeg class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRMapsPlaces_GoogleMapsPlacesV1RoutingSummaryLeg +// + +@implementation GTLRMapsPlaces_GoogleMapsPlacesV1RoutingSummaryLeg +@dynamic distanceMeters, duration; +@end + + // ---------------------------------------------------------------------------- // // GTLRMapsPlaces_GoogleMapsPlacesV1SearchNearbyRequest @@ -692,7 +763,7 @@ @implementation GTLRMapsPlaces_GoogleMapsPlacesV1Review @implementation GTLRMapsPlaces_GoogleMapsPlacesV1SearchNearbyRequest @dynamic excludedPrimaryTypes, excludedTypes, includedPrimaryTypes, includedTypes, languageCode, locationRestriction, maxResultCount, - rankPreference, regionCode; + rankPreference, regionCode, routingParameters; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -723,11 +794,12 @@ @implementation GTLRMapsPlaces_GoogleMapsPlacesV1SearchNearbyRequestLocationRest // @implementation GTLRMapsPlaces_GoogleMapsPlacesV1SearchNearbyResponse -@dynamic places; +@dynamic places, routingSummaries; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ - @"places" : [GTLRMapsPlaces_GoogleMapsPlacesV1Place class] + @"places" : [GTLRMapsPlaces_GoogleMapsPlacesV1Place class], + @"routingSummaries" : [GTLRMapsPlaces_GoogleMapsPlacesV1RoutingSummary class] }; return map; } @@ -743,8 +815,8 @@ @implementation GTLRMapsPlaces_GoogleMapsPlacesV1SearchNearbyResponse @implementation GTLRMapsPlaces_GoogleMapsPlacesV1SearchTextRequest @dynamic evOptions, includedType, languageCode, locationBias, locationRestriction, maxResultCount, minRating, openNow, pageSize, - pageToken, priceLevels, rankPreference, regionCode, - strictTypeFiltering, textQuery; + pageToken, priceLevels, rankPreference, regionCode, routingParameters, + searchAlongRouteParameters, strictTypeFiltering, textQuery; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -794,18 +866,29 @@ @implementation GTLRMapsPlaces_GoogleMapsPlacesV1SearchTextRequestLocationRestri @end +// ---------------------------------------------------------------------------- +// +// GTLRMapsPlaces_GoogleMapsPlacesV1SearchTextRequestSearchAlongRouteParameters +// + +@implementation GTLRMapsPlaces_GoogleMapsPlacesV1SearchTextRequestSearchAlongRouteParameters +@dynamic polyline; +@end + + // ---------------------------------------------------------------------------- // // GTLRMapsPlaces_GoogleMapsPlacesV1SearchTextResponse // @implementation GTLRMapsPlaces_GoogleMapsPlacesV1SearchTextResponse -@dynamic contextualContents, nextPageToken, places; +@dynamic contextualContents, nextPageToken, places, routingSummaries; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @"contextualContents" : [GTLRMapsPlaces_GoogleMapsPlacesV1ContextualContent class], - @"places" : [GTLRMapsPlaces_GoogleMapsPlacesV1Place class] + @"places" : [GTLRMapsPlaces_GoogleMapsPlacesV1Place class], + @"routingSummaries" : [GTLRMapsPlaces_GoogleMapsPlacesV1RoutingSummary class] }; return map; } diff --git a/Sources/GeneratedServices/MapsPlaces/GTLRMapsPlacesService.m b/Sources/GeneratedServices/MapsPlaces/GTLRMapsPlacesService.m index fc6d26104..de11d4032 100644 --- a/Sources/GeneratedServices/MapsPlaces/GTLRMapsPlacesService.m +++ b/Sources/GeneratedServices/MapsPlaces/GTLRMapsPlacesService.m @@ -15,6 +15,7 @@ NSString * const kGTLRAuthScopeMapsPlacesMapsPlatformPlaces = @"https://www.googleapis.com/auth/maps-platform.places"; NSString * const kGTLRAuthScopeMapsPlacesMapsPlatformPlacesAutocomplete = @"https://www.googleapis.com/auth/maps-platform.places.autocomplete"; NSString * const kGTLRAuthScopeMapsPlacesMapsPlatformPlacesDetails = @"https://www.googleapis.com/auth/maps-platform.places.details"; +NSString * const kGTLRAuthScopeMapsPlacesMapsPlatformPlacesGetphotomedia = @"https://www.googleapis.com/auth/maps-platform.places.getphotomedia"; NSString * const kGTLRAuthScopeMapsPlacesMapsPlatformPlacesNearbysearch = @"https://www.googleapis.com/auth/maps-platform.places.nearbysearch"; NSString * const kGTLRAuthScopeMapsPlacesMapsPlatformPlacesTextsearch = @"https://www.googleapis.com/auth/maps-platform.places.textsearch"; diff --git a/Sources/GeneratedServices/MapsPlaces/Public/GoogleAPIClientForREST/GTLRMapsPlacesObjects.h b/Sources/GeneratedServices/MapsPlaces/Public/GoogleAPIClientForREST/GTLRMapsPlacesObjects.h index f7ed734c8..26ec8fa44 100644 --- a/Sources/GeneratedServices/MapsPlaces/Public/GoogleAPIClientForREST/GTLRMapsPlacesObjects.h +++ b/Sources/GeneratedServices/MapsPlaces/Public/GoogleAPIClientForREST/GTLRMapsPlacesObjects.h @@ -49,12 +49,18 @@ @class GTLRMapsPlaces_GoogleMapsPlacesV1PlacePaymentOptions; @class GTLRMapsPlaces_GoogleMapsPlacesV1PlacePlusCode; @class GTLRMapsPlaces_GoogleMapsPlacesV1PlaceSubDestination; +@class GTLRMapsPlaces_GoogleMapsPlacesV1Polyline; @class GTLRMapsPlaces_GoogleMapsPlacesV1References; @class GTLRMapsPlaces_GoogleMapsPlacesV1Review; +@class GTLRMapsPlaces_GoogleMapsPlacesV1RouteModifiers; +@class GTLRMapsPlaces_GoogleMapsPlacesV1RoutingParameters; +@class GTLRMapsPlaces_GoogleMapsPlacesV1RoutingSummary; +@class GTLRMapsPlaces_GoogleMapsPlacesV1RoutingSummaryLeg; @class GTLRMapsPlaces_GoogleMapsPlacesV1SearchNearbyRequestLocationRestriction; @class GTLRMapsPlaces_GoogleMapsPlacesV1SearchTextRequestEVOptions; @class GTLRMapsPlaces_GoogleMapsPlacesV1SearchTextRequestLocationBias; @class GTLRMapsPlaces_GoogleMapsPlacesV1SearchTextRequestLocationRestriction; +@class GTLRMapsPlaces_GoogleMapsPlacesV1SearchTextRequestSearchAlongRouteParameters; @class GTLRMapsPlaces_GoogleTypeDate; @class GTLRMapsPlaces_GoogleTypeLatLng; @class GTLRMapsPlaces_GoogleTypeLocalizedText; @@ -413,6 +419,86 @@ FOUNDATION_EXTERN NSString * const kGTLRMapsPlaces_GoogleMapsPlacesV1PlaceOpenin */ FOUNDATION_EXTERN NSString * const kGTLRMapsPlaces_GoogleMapsPlacesV1PlaceOpeningHours_SecondaryHoursType_Takeout; +// ---------------------------------------------------------------------------- +// GTLRMapsPlaces_GoogleMapsPlacesV1RoutingParameters.routingPreference + +/** + * No routing preference specified. Default to `TRAFFIC_UNAWARE`. + * + * Value: "ROUTING_PREFERENCE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRMapsPlaces_GoogleMapsPlacesV1RoutingParameters_RoutingPreference_RoutingPreferenceUnspecified; +/** + * Calculates routes taking live traffic conditions into consideration. In + * contrast to `TRAFFIC_AWARE_OPTIMAL`, some optimizations are applied to + * significantly reduce latency. + * + * Value: "TRAFFIC_AWARE" + */ +FOUNDATION_EXTERN NSString * const kGTLRMapsPlaces_GoogleMapsPlacesV1RoutingParameters_RoutingPreference_TrafficAware; +/** + * Calculates the routes taking live traffic conditions into consideration, + * without applying most performance optimizations. Using this value produces + * the highest latency. + * + * Value: "TRAFFIC_AWARE_OPTIMAL" + */ +FOUNDATION_EXTERN NSString * const kGTLRMapsPlaces_GoogleMapsPlacesV1RoutingParameters_RoutingPreference_TrafficAwareOptimal; +/** + * Computes routes without taking live traffic conditions into consideration. + * Suitable when traffic conditions don't matter or are not applicable. Using + * this value produces the lowest latency. Note: For `TravelMode` `DRIVE` and + * `TWO_WHEELER`, the route and duration chosen are based on road network and + * average time-independent traffic conditions, not current road conditions. + * Consequently, routes may include roads that are temporarily closed. Results + * for a given request may vary over time due to changes in the road network, + * updated average traffic conditions, and the distributed nature of the + * service. Results may also vary between nearly-equivalent routes at any time + * or frequency. + * + * Value: "TRAFFIC_UNAWARE" + */ +FOUNDATION_EXTERN NSString * const kGTLRMapsPlaces_GoogleMapsPlacesV1RoutingParameters_RoutingPreference_TrafficUnaware; + +// ---------------------------------------------------------------------------- +// GTLRMapsPlaces_GoogleMapsPlacesV1RoutingParameters.travelMode + +/** + * Travel by bicycle. Not supported with `search_along_route_parameters`. + * + * Value: "BICYCLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRMapsPlaces_GoogleMapsPlacesV1RoutingParameters_TravelMode_Bicycle; +/** + * Travel by passenger car. + * + * Value: "DRIVE" + */ +FOUNDATION_EXTERN NSString * const kGTLRMapsPlaces_GoogleMapsPlacesV1RoutingParameters_TravelMode_Drive; +/** + * No travel mode specified. Defaults to `DRIVE`. + * + * Value: "TRAVEL_MODE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRMapsPlaces_GoogleMapsPlacesV1RoutingParameters_TravelMode_TravelModeUnspecified; +/** + * Motorized two wheeled vehicles of all kinds such as scooters and + * motorcycles. Note that this is distinct from the `BICYCLE` travel mode which + * covers human-powered transport. Not supported with + * `search_along_route_parameters`. Only supported in those countries listed at + * [Countries and regions supported for two-wheeled + * vehicles](https://developers.google.com/maps/documentation/routes/coverage-two-wheeled). + * + * Value: "TWO_WHEELER" + */ +FOUNDATION_EXTERN NSString * const kGTLRMapsPlaces_GoogleMapsPlacesV1RoutingParameters_TravelMode_TwoWheeler; +/** + * Travel by walking. Not supported with `search_along_route_parameters`. + * + * Value: "WALK" + */ +FOUNDATION_EXTERN NSString * const kGTLRMapsPlaces_GoogleMapsPlacesV1RoutingParameters_TravelMode_Walk; + // ---------------------------------------------------------------------------- // GTLRMapsPlaces_GoogleMapsPlacesV1SearchNearbyRequest.rankPreference @@ -2182,6 +2268,30 @@ FOUNDATION_EXTERN NSString * const kGTLRMapsPlaces_GoogleMapsPlacesV1SearchTextR @end +/** + * A route polyline. Only supports an [encoded + * polyline](https://developers.google.com/maps/documentation/utilities/polylinealgorithm), + * which can be passed as a string and includes compression with minimal + * lossiness. This is the Routes API default output. + */ +@interface GTLRMapsPlaces_GoogleMapsPlacesV1Polyline : GTLRObject + +/** + * An [encoded + * polyline](https://developers.google.com/maps/documentation/utilities/polylinealgorithm), + * as returned by the [Routes API by + * default](https://developers.google.com/maps/documentation/routes/reference/rest/v2/TopLevel/computeRoutes#polylineencoding). + * See the + * [encoder](https://developers.google.com/maps/documentation/utilities/polylineutility) + * and + * [decoder](https://developers.google.com/maps/documentation/routes/polylinedecoder) + * tools. + */ +@property(nonatomic, copy, nullable) NSString *encodedPolyline; + +@end + + /** * Experimental: See * https://developers.google.com/maps/documentation/places/web-service/experimental/places-generative @@ -2241,6 +2351,170 @@ FOUNDATION_EXTERN NSString * const kGTLRMapsPlaces_GoogleMapsPlacesV1SearchTextR @end +/** + * Encapsulates a set of optional conditions to satisfy when calculating the + * routes. + */ +@interface GTLRMapsPlaces_GoogleMapsPlacesV1RouteModifiers : GTLRObject + +/** + * Optional. When set to true, avoids ferries where reasonable, giving + * preference to routes not containing ferries. Applies only to the `DRIVE` and + * `TWO_WHEELER` `TravelMode`. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *avoidFerries; + +/** + * Optional. When set to true, avoids highways where reasonable, giving + * preference to routes not containing highways. Applies only to the `DRIVE` + * and `TWO_WHEELER` `TravelMode`. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *avoidHighways; + +/** + * Optional. When set to true, avoids navigating indoors where reasonable, + * giving preference to routes not containing indoor navigation. Applies only + * to the `WALK` `TravelMode`. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *avoidIndoor; + +/** + * Optional. When set to true, avoids toll roads where reasonable, giving + * preference to routes not containing toll roads. Applies only to the `DRIVE` + * and `TWO_WHEELER` `TravelMode`. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *avoidTolls; + +@end + + +/** + * Parameters to configure the routing calculations to the places in the + * response, both along a route (where result ranking will be influenced) and + * for calculating travel times on results. + */ +@interface GTLRMapsPlaces_GoogleMapsPlacesV1RoutingParameters : GTLRObject + +/** + * Optional. An explicit routing origin that overrides the origin defined in + * the polyline. By default, the polyline origin is used. + */ +@property(nonatomic, strong, nullable) GTLRMapsPlaces_GoogleTypeLatLng *origin; + +/** Optional. The route modifiers. */ +@property(nonatomic, strong, nullable) GTLRMapsPlaces_GoogleMapsPlacesV1RouteModifiers *routeModifiers; + +/** + * Optional. Specifies how to compute the routing summaries. The server + * attempts to use the selected routing preference to compute the route. The + * traffic aware routing preference is only available for the `DRIVE` or + * `TWO_WHEELER` `travelMode`. + * + * Likely values: + * @arg @c kGTLRMapsPlaces_GoogleMapsPlacesV1RoutingParameters_RoutingPreference_RoutingPreferenceUnspecified + * No routing preference specified. Default to `TRAFFIC_UNAWARE`. (Value: + * "ROUTING_PREFERENCE_UNSPECIFIED") + * @arg @c kGTLRMapsPlaces_GoogleMapsPlacesV1RoutingParameters_RoutingPreference_TrafficAware + * Calculates routes taking live traffic conditions into consideration. + * In contrast to `TRAFFIC_AWARE_OPTIMAL`, some optimizations are applied + * to significantly reduce latency. (Value: "TRAFFIC_AWARE") + * @arg @c kGTLRMapsPlaces_GoogleMapsPlacesV1RoutingParameters_RoutingPreference_TrafficAwareOptimal + * Calculates the routes taking live traffic conditions into + * consideration, without applying most performance optimizations. Using + * this value produces the highest latency. (Value: + * "TRAFFIC_AWARE_OPTIMAL") + * @arg @c kGTLRMapsPlaces_GoogleMapsPlacesV1RoutingParameters_RoutingPreference_TrafficUnaware + * Computes routes without taking live traffic conditions into + * consideration. Suitable when traffic conditions don't matter or are + * not applicable. Using this value produces the lowest latency. Note: + * For `TravelMode` `DRIVE` and `TWO_WHEELER`, the route and duration + * chosen are based on road network and average time-independent traffic + * conditions, not current road conditions. Consequently, routes may + * include roads that are temporarily closed. Results for a given request + * may vary over time due to changes in the road network, updated average + * traffic conditions, and the distributed nature of the service. Results + * may also vary between nearly-equivalent routes at any time or + * frequency. (Value: "TRAFFIC_UNAWARE") + */ +@property(nonatomic, copy, nullable) NSString *routingPreference; + +/** + * Optional. The travel mode. + * + * Likely values: + * @arg @c kGTLRMapsPlaces_GoogleMapsPlacesV1RoutingParameters_TravelMode_Bicycle + * Travel by bicycle. Not supported with `search_along_route_parameters`. + * (Value: "BICYCLE") + * @arg @c kGTLRMapsPlaces_GoogleMapsPlacesV1RoutingParameters_TravelMode_Drive + * Travel by passenger car. (Value: "DRIVE") + * @arg @c kGTLRMapsPlaces_GoogleMapsPlacesV1RoutingParameters_TravelMode_TravelModeUnspecified + * No travel mode specified. Defaults to `DRIVE`. (Value: + * "TRAVEL_MODE_UNSPECIFIED") + * @arg @c kGTLRMapsPlaces_GoogleMapsPlacesV1RoutingParameters_TravelMode_TwoWheeler + * Motorized two wheeled vehicles of all kinds such as scooters and + * motorcycles. Note that this is distinct from the `BICYCLE` travel mode + * which covers human-powered transport. Not supported with + * `search_along_route_parameters`. Only supported in those countries + * listed at [Countries and regions supported for two-wheeled + * vehicles](https://developers.google.com/maps/documentation/routes/coverage-two-wheeled). + * (Value: "TWO_WHEELER") + * @arg @c kGTLRMapsPlaces_GoogleMapsPlacesV1RoutingParameters_TravelMode_Walk + * Travel by walking. Not supported with `search_along_route_parameters`. + * (Value: "WALK") + */ +@property(nonatomic, copy, nullable) NSString *travelMode; + +@end + + +/** + * The duration and distance from the routing origin to a place in the + * response, and a second leg from that place to the destination, if requested. + * **Note:** Adding `routingSummaries` in the field mask without also including + * either the `routingParameters.origin` parameter or the + * `searchAlongRouteParameters.polyline.encodedPolyline` parameter in the + * request causes an error. + */ +@interface GTLRMapsPlaces_GoogleMapsPlacesV1RoutingSummary : GTLRObject + +/** + * The legs of the trip. When you calculate travel duration and distance from a + * set origin, `legs` contains a single leg containing the duration and + * distance from the origin to the destination. When you do a search along + * route, `legs` contains two legs: one from the origin to place, and one from + * the place to the destination. + */ +@property(nonatomic, strong, nullable) NSArray *legs; + +@end + + +/** + * A leg is a single portion of a journey from one location to another. + */ +@interface GTLRMapsPlaces_GoogleMapsPlacesV1RoutingSummaryLeg : GTLRObject + +/** + * The distance of this leg of the trip. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *distanceMeters; + +/** The time it takes to complete this leg of the trip. */ +@property(nonatomic, strong, nullable) GTLRDuration *duration; + +@end + + /** * Request proto for Search Nearby. */ @@ -2357,6 +2631,9 @@ FOUNDATION_EXTERN NSString * const kGTLRMapsPlaces_GoogleMapsPlacesV1SearchTextR */ @property(nonatomic, copy, nullable) NSString *regionCode; +/** Optional. Parameters that affect the routing to the search results. */ +@property(nonatomic, strong, nullable) GTLRMapsPlaces_GoogleMapsPlacesV1RoutingParameters *routingParameters; + @end @@ -2382,6 +2659,14 @@ FOUNDATION_EXTERN NSString * const kGTLRMapsPlaces_GoogleMapsPlacesV1SearchTextR */ @property(nonatomic, strong, nullable) NSArray *places; +/** + * A list of routing summaries where each entry associates to the corresponding + * place in the same index in the `places` field. If the routing summary is not + * available for one of the places, it will contain an empty entry. This list + * should have as many entries as the list of places if requested. + */ +@property(nonatomic, strong, nullable) NSArray *routingSummaries; + @end @@ -2513,6 +2798,12 @@ FOUNDATION_EXTERN NSString * const kGTLRMapsPlaces_GoogleMapsPlacesV1SearchTextR */ @property(nonatomic, copy, nullable) NSString *regionCode; +/** Optional. Additional parameters for routing to results. */ +@property(nonatomic, strong, nullable) GTLRMapsPlaces_GoogleMapsPlacesV1RoutingParameters *routingParameters; + +/** Optional. Additional parameters proto for searching along a route. */ +@property(nonatomic, strong, nullable) GTLRMapsPlaces_GoogleMapsPlacesV1SearchTextRequestSearchAlongRouteParameters *searchAlongRouteParameters; + /** * Used to set strict type filtering for included_type. If set to true, only * results of the same type will be returned. Default to false. @@ -2590,6 +2881,28 @@ FOUNDATION_EXTERN NSString * const kGTLRMapsPlaces_GoogleMapsPlacesV1SearchTextR @end +/** + * Specifies a precalculated polyline from the [Routes + * API](https://developers.google.com/maps/documentation/routes) defining the + * route to search. Searching along a route is similar to using the + * `locationBias` or `locationRestriction` request option to bias the search + * results. However, while the `locationBias` and `locationRestriction` options + * let you specify a region to bias the search results, this option lets you + * bias the results along a trip route. Results are not guaranteed to be along + * the route provided, but rather are ranked within the search area defined by + * the polyline and, optionally, by the `locationBias` or `locationRestriction` + * based on minimal detour times from origin to destination. The results might + * be along an alternate route, especially if the provided polyline does not + * define an optimal route from origin to destination. + */ +@interface GTLRMapsPlaces_GoogleMapsPlacesV1SearchTextRequestSearchAlongRouteParameters : GTLRObject + +/** Required. The route polyline. */ +@property(nonatomic, strong, nullable) GTLRMapsPlaces_GoogleMapsPlacesV1Polyline *polyline; + +@end + + /** * Response proto for SearchText. */ @@ -2617,6 +2930,14 @@ FOUNDATION_EXTERN NSString * const kGTLRMapsPlaces_GoogleMapsPlacesV1SearchTextR /** A list of places that meet the user's text search criteria. */ @property(nonatomic, strong, nullable) NSArray *places; +/** + * A list of routing summaries where each entry associates to the corresponding + * place in the same index in the `places` field. If the routing summary is not + * available for one of the places, it will contain an empty entry. This list + * will have as many entries as the list of places if requested. + */ +@property(nonatomic, strong, nullable) NSArray *routingSummaries; + @end diff --git a/Sources/GeneratedServices/MapsPlaces/Public/GoogleAPIClientForREST/GTLRMapsPlacesQuery.h b/Sources/GeneratedServices/MapsPlaces/Public/GoogleAPIClientForREST/GTLRMapsPlacesQuery.h index 0837d120d..6c35c07fa 100644 --- a/Sources/GeneratedServices/MapsPlaces/Public/GoogleAPIClientForREST/GTLRMapsPlacesQuery.h +++ b/Sources/GeneratedServices/MapsPlaces/Public/GoogleAPIClientForREST/GTLRMapsPlacesQuery.h @@ -139,6 +139,7 @@ NS_ASSUME_NONNULL_BEGIN * Authorization scope(s): * @c kGTLRAuthScopeMapsPlacesCloudPlatform * @c kGTLRAuthScopeMapsPlacesMapsPlatformPlaces + * @c kGTLRAuthScopeMapsPlacesMapsPlatformPlacesGetphotomedia */ @interface GTLRMapsPlacesQuery_PlacesPhotosGetMedia : GTLRMapsPlacesQuery diff --git a/Sources/GeneratedServices/MapsPlaces/Public/GoogleAPIClientForREST/GTLRMapsPlacesService.h b/Sources/GeneratedServices/MapsPlaces/Public/GoogleAPIClientForREST/GTLRMapsPlacesService.h index ae881dd7a..c6e7e00a5 100644 --- a/Sources/GeneratedServices/MapsPlaces/Public/GoogleAPIClientForREST/GTLRMapsPlacesService.h +++ b/Sources/GeneratedServices/MapsPlaces/Public/GoogleAPIClientForREST/GTLRMapsPlacesService.h @@ -50,6 +50,13 @@ FOUNDATION_EXTERN NSString * const kGTLRAuthScopeMapsPlacesMapsPlatformPlacesAut * Value "https://www.googleapis.com/auth/maps-platform.places.details" */ FOUNDATION_EXTERN NSString * const kGTLRAuthScopeMapsPlacesMapsPlatformPlacesDetails; +/** + * Authorization scope: Private Service: + * https://www.googleapis.com/auth/maps-platform.places.getphotomedia + * + * Value "https://www.googleapis.com/auth/maps-platform.places.getphotomedia" + */ +FOUNDATION_EXTERN NSString * const kGTLRAuthScopeMapsPlacesMapsPlatformPlacesGetphotomedia; /** * Authorization scope: Private Service: * https://www.googleapis.com/auth/maps-platform.places.nearbysearch diff --git a/Sources/GeneratedServices/MigrationCenterAPI/Public/GoogleAPIClientForREST/GTLRMigrationCenterAPIObjects.h b/Sources/GeneratedServices/MigrationCenterAPI/Public/GoogleAPIClientForREST/GTLRMigrationCenterAPIObjects.h index 91faf3b8f..92e07b9b5 100644 --- a/Sources/GeneratedServices/MigrationCenterAPI/Public/GoogleAPIClientForREST/GTLRMigrationCenterAPIObjects.h +++ b/Sources/GeneratedServices/MigrationCenterAPI/Public/GoogleAPIClientForREST/GTLRMigrationCenterAPIObjects.h @@ -1832,13 +1832,13 @@ FOUNDATION_EXTERN NSString * const kGTLRMigrationCenterAPI_VmwareEnginePreferenc @interface GTLRMigrationCenterAPI_ComputeEngineShapeDescriptor : GTLRObject /** - * Number of logical cores. + * Output only. Number of logical cores. * * Uses NSNumber of intValue. */ @property(nonatomic, strong, nullable) NSNumber *logicalCoreCount; -/** Compute Engine machine type. */ +/** Output only. Compute Engine machine type. */ @property(nonatomic, copy, nullable) NSString *machineType; /** @@ -1855,10 +1855,10 @@ FOUNDATION_EXTERN NSString * const kGTLRMigrationCenterAPI_VmwareEnginePreferenc */ @property(nonatomic, strong, nullable) NSNumber *physicalCoreCount; -/** Compute Engine machine series. */ +/** Output only. Compute Engine machine series. */ @property(nonatomic, copy, nullable) NSString *series; -/** Compute Engine storage. Never empty. */ +/** Output only. Compute Engine storage. Never empty. */ @property(nonatomic, strong, nullable) NSArray *storage; @end @@ -1870,14 +1870,14 @@ FOUNDATION_EXTERN NSString * const kGTLRMigrationCenterAPI_VmwareEnginePreferenc @interface GTLRMigrationCenterAPI_ComputeStorageDescriptor : GTLRObject /** - * Disk size in GiB. + * Output only. Disk size in GiB. * * Uses NSNumber of intValue. */ @property(nonatomic, strong, nullable) NSNumber *sizeGb; /** - * Disk type backing the storage. + * Output only. Disk type backing the storage. * * Likely values: * @arg @c kGTLRMigrationCenterAPI_ComputeStorageDescriptor_Type_PersistentDiskTypeBalanced @@ -2384,7 +2384,7 @@ FOUNDATION_EXTERN NSString * const kGTLRMigrationCenterAPI_VmwareEnginePreferenc @interface GTLRMigrationCenterAPI_FitDescriptor : GTLRObject /** - * Fit level. + * Output only. Fit level. * * Likely values: * @arg @c kGTLRMigrationCenterAPI_FitDescriptor_FitLevel_Fit Fit. (Value: diff --git a/Sources/GeneratedServices/Monitoring/GTLRMonitoringObjects.m b/Sources/GeneratedServices/Monitoring/GTLRMonitoringObjects.m index 714e9e9ee..9b04e6060 100644 --- a/Sources/GeneratedServices/Monitoring/GTLRMonitoringObjects.m +++ b/Sources/GeneratedServices/Monitoring/GTLRMonitoringObjects.m @@ -165,6 +165,12 @@ NSString * const kGTLRMonitoring_MetricDescriptorMetadata_LaunchStage_Prelaunch = @"PRELAUNCH"; NSString * const kGTLRMonitoring_MetricDescriptorMetadata_LaunchStage_Unimplemented = @"UNIMPLEMENTED"; +// GTLRMonitoring_MetricDescriptorMetadata.timeSeriesResourceHierarchyLevel +NSString * const kGTLRMonitoring_MetricDescriptorMetadata_TimeSeriesResourceHierarchyLevel_Folder = @"FOLDER"; +NSString * const kGTLRMonitoring_MetricDescriptorMetadata_TimeSeriesResourceHierarchyLevel_Organization = @"ORGANIZATION"; +NSString * const kGTLRMonitoring_MetricDescriptorMetadata_TimeSeriesResourceHierarchyLevel_Project = @"PROJECT"; +NSString * const kGTLRMonitoring_MetricDescriptorMetadata_TimeSeriesResourceHierarchyLevel_TimeSeriesResourceHierarchyLevelUnspecified = @"TIME_SERIES_RESOURCE_HIERARCHY_LEVEL_UNSPECIFIED"; + // GTLRMonitoring_MetricThreshold.comparison NSString * const kGTLRMonitoring_MetricThreshold_Comparison_ComparisonEq = @"COMPARISON_EQ"; NSString * const kGTLRMonitoring_MetricThreshold_Comparison_ComparisonGe = @"COMPARISON_GE"; @@ -1466,7 +1472,16 @@ @implementation GTLRMonitoring_MetricDescriptor // @implementation GTLRMonitoring_MetricDescriptorMetadata -@dynamic ingestDelay, launchStage, samplePeriod; +@dynamic ingestDelay, launchStage, samplePeriod, + timeSeriesResourceHierarchyLevel; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"timeSeriesResourceHierarchyLevel" : [NSString class] + }; + return map; +} + @end diff --git a/Sources/GeneratedServices/Monitoring/Public/GoogleAPIClientForREST/GTLRMonitoringObjects.h b/Sources/GeneratedServices/Monitoring/Public/GoogleAPIClientForREST/GTLRMonitoringObjects.h index 321616646..cbf334a0d 100644 --- a/Sources/GeneratedServices/Monitoring/Public/GoogleAPIClientForREST/GTLRMonitoringObjects.h +++ b/Sources/GeneratedServices/Monitoring/Public/GoogleAPIClientForREST/GTLRMonitoringObjects.h @@ -1101,6 +1101,34 @@ FOUNDATION_EXTERN NSString * const kGTLRMonitoring_MetricDescriptorMetadata_Laun */ FOUNDATION_EXTERN NSString * const kGTLRMonitoring_MetricDescriptorMetadata_LaunchStage_Unimplemented; +// ---------------------------------------------------------------------------- +// GTLRMonitoring_MetricDescriptorMetadata.timeSeriesResourceHierarchyLevel + +/** + * Scopes a metric to a folder. + * + * Value: "FOLDER" + */ +FOUNDATION_EXTERN NSString * const kGTLRMonitoring_MetricDescriptorMetadata_TimeSeriesResourceHierarchyLevel_Folder; +/** + * Scopes a metric to an organization. + * + * Value: "ORGANIZATION" + */ +FOUNDATION_EXTERN NSString * const kGTLRMonitoring_MetricDescriptorMetadata_TimeSeriesResourceHierarchyLevel_Organization; +/** + * Scopes a metric to a project. + * + * Value: "PROJECT" + */ +FOUNDATION_EXTERN NSString * const kGTLRMonitoring_MetricDescriptorMetadata_TimeSeriesResourceHierarchyLevel_Project; +/** + * Do not use this default value. + * + * Value: "TIME_SERIES_RESOURCE_HIERARCHY_LEVEL_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRMonitoring_MetricDescriptorMetadata_TimeSeriesResourceHierarchyLevel_TimeSeriesResourceHierarchyLevelUnspecified; + // ---------------------------------------------------------------------------- // GTLRMonitoring_MetricThreshold.comparison @@ -4935,6 +4963,9 @@ GTLR_DEPRECATED */ @property(nonatomic, strong, nullable) GTLRDuration *samplePeriod; +/** The scope of the timeseries data of the metric. */ +@property(nonatomic, strong, nullable) NSArray *timeSeriesResourceHierarchyLevel; + @end @@ -5923,7 +5954,9 @@ GTLR_DEPRECATED /** - * The QueryTimeSeries request. + * The QueryTimeSeries request. For information about the status of Monitoring + * Query Language (MQL), see the MQL deprecation notice + * (https://cloud.google.com/stackdriver/docs/deprecations/mql). */ GTLR_DEPRECATED @interface GTLRMonitoring_QueryTimeSeriesRequest : GTLRObject @@ -5953,7 +5986,9 @@ GTLR_DEPRECATED /** - * The QueryTimeSeries response. + * The QueryTimeSeries response. For information about the status of Monitoring + * Query Language (MQL), see the MQL deprecation notice + * (https://cloud.google.com/stackdriver/docs/deprecations/mql). */ GTLR_DEPRECATED @interface GTLRMonitoring_QueryTimeSeriesResponse : GTLRObject diff --git a/Sources/GeneratedServices/Monitoring/Public/GoogleAPIClientForREST/GTLRMonitoringQuery.h b/Sources/GeneratedServices/Monitoring/Public/GoogleAPIClientForREST/GTLRMonitoringQuery.h index 6efb4f2f5..4a3005db1 100644 --- a/Sources/GeneratedServices/Monitoring/Public/GoogleAPIClientForREST/GTLRMonitoringQuery.h +++ b/Sources/GeneratedServices/Monitoring/Public/GoogleAPIClientForREST/GTLRMonitoringQuery.h @@ -4170,7 +4170,10 @@ FOUNDATION_EXTERN NSString * const kGTLRMonitoringViewViewUnspecified; @end /** - * Queries time series using Monitoring Query Language. + * Queries time series by using Monitoring Query Language (MQL). We recommend + * using PromQL instead of MQL. For more information about the status of MQL, + * see the MQL deprecation notice + * (https://cloud.google.com/stackdriver/docs/deprecations/mql). * * Method: monitoring.projects.timeSeries.query * @@ -4192,7 +4195,10 @@ GTLR_DEPRECATED /** * Fetches a @c GTLRMonitoring_QueryTimeSeriesResponse. * - * Queries time series using Monitoring Query Language. + * Queries time series by using Monitoring Query Language (MQL). We recommend + * using PromQL instead of MQL. For more information about the status of MQL, + * see the MQL deprecation notice + * (https://cloud.google.com/stackdriver/docs/deprecations/mql). * * @param object The @c GTLRMonitoring_QueryTimeSeriesRequest to include in the * query. diff --git a/Sources/GeneratedServices/NetworkManagement/GTLRNetworkManagementObjects.m b/Sources/GeneratedServices/NetworkManagement/GTLRNetworkManagementObjects.m index be7caa960..f7c30b228 100644 --- a/Sources/GeneratedServices/NetworkManagement/GTLRNetworkManagementObjects.m +++ b/Sources/GeneratedServices/NetworkManagement/GTLRNetworkManagementObjects.m @@ -39,6 +39,8 @@ NSString * const kGTLRNetworkManagement_AbortInfo_Cause_SourceForwardingRuleUnsupported = @"SOURCE_FORWARDING_RULE_UNSUPPORTED"; NSString * const kGTLRNetworkManagement_AbortInfo_Cause_SourceIpAddressNotInSourceNetwork = @"SOURCE_IP_ADDRESS_NOT_IN_SOURCE_NETWORK"; NSString * const kGTLRNetworkManagement_AbortInfo_Cause_SourcePscCloudSqlUnsupported = @"SOURCE_PSC_CLOUD_SQL_UNSUPPORTED"; +NSString * const kGTLRNetworkManagement_AbortInfo_Cause_SourceRedisClusterUnsupported = @"SOURCE_REDIS_CLUSTER_UNSUPPORTED"; +NSString * const kGTLRNetworkManagement_AbortInfo_Cause_SourceRedisInstanceUnsupported = @"SOURCE_REDIS_INSTANCE_UNSUPPORTED"; NSString * const kGTLRNetworkManagement_AbortInfo_Cause_TraceTooLong = @"TRACE_TOO_LONG"; NSString * const kGTLRNetworkManagement_AbortInfo_Cause_UnintendedDestination = @"UNINTENDED_DESTINATION"; NSString * const kGTLRNetworkManagement_AbortInfo_Cause_UnknownIp = @"UNKNOWN_IP"; @@ -69,6 +71,8 @@ NSString * const kGTLRNetworkManagement_DeliverInfo_Target_PscGoogleApi = @"PSC_GOOGLE_API"; NSString * const kGTLRNetworkManagement_DeliverInfo_Target_PscPublishedService = @"PSC_PUBLISHED_SERVICE"; NSString * const kGTLRNetworkManagement_DeliverInfo_Target_PscVpcSc = @"PSC_VPC_SC"; +NSString * const kGTLRNetworkManagement_DeliverInfo_Target_RedisCluster = @"REDIS_CLUSTER"; +NSString * const kGTLRNetworkManagement_DeliverInfo_Target_RedisInstance = @"REDIS_INSTANCE"; NSString * const kGTLRNetworkManagement_DeliverInfo_Target_ServerlessNeg = @"SERVERLESS_NEG"; NSString * const kGTLRNetworkManagement_DeliverInfo_Target_StorageBucket = @"STORAGE_BUCKET"; NSString * const kGTLRNetworkManagement_DeliverInfo_Target_TargetUnspecified = @"TARGET_UNSPECIFIED"; @@ -91,6 +95,8 @@ NSString * const kGTLRNetworkManagement_DropInfo_Cause_DroppedInsideGkeService = @"DROPPED_INSIDE_GKE_SERVICE"; NSString * const kGTLRNetworkManagement_DropInfo_Cause_DroppedInsideGoogleManagedService = @"DROPPED_INSIDE_GOOGLE_MANAGED_SERVICE"; NSString * const kGTLRNetworkManagement_DropInfo_Cause_DroppedInsidePscServiceProducer = @"DROPPED_INSIDE_PSC_SERVICE_PRODUCER"; +NSString * const kGTLRNetworkManagement_DropInfo_Cause_DroppedInsideRedisClusterService = @"DROPPED_INSIDE_REDIS_CLUSTER_SERVICE"; +NSString * const kGTLRNetworkManagement_DropInfo_Cause_DroppedInsideRedisInstanceService = @"DROPPED_INSIDE_REDIS_INSTANCE_SERVICE"; NSString * const kGTLRNetworkManagement_DropInfo_Cause_FirewallBlockingLoadBalancerBackendHealthCheck = @"FIREWALL_BLOCKING_LOAD_BALANCER_BACKEND_HEALTH_CHECK"; NSString * const kGTLRNetworkManagement_DropInfo_Cause_FirewallRule = @"FIREWALL_RULE"; NSString * const kGTLRNetworkManagement_DropInfo_Cause_ForeignIpDisallowed = @"FOREIGN_IP_DISALLOWED"; @@ -109,10 +115,12 @@ NSString * const kGTLRNetworkManagement_DropInfo_Cause_InstanceNotRunning = @"INSTANCE_NOT_RUNNING"; NSString * const kGTLRNetworkManagement_DropInfo_Cause_LoadBalancerBackendInvalidNetwork = @"LOAD_BALANCER_BACKEND_INVALID_NETWORK"; NSString * const kGTLRNetworkManagement_DropInfo_Cause_LoadBalancerHasNoProxySubnet = @"LOAD_BALANCER_HAS_NO_PROXY_SUBNET"; +NSString * const kGTLRNetworkManagement_DropInfo_Cause_NoAdvertisedRouteToGcpDestination = @"NO_ADVERTISED_ROUTE_TO_GCP_DESTINATION"; NSString * const kGTLRNetworkManagement_DropInfo_Cause_NoExternalAddress = @"NO_EXTERNAL_ADDRESS"; NSString * const kGTLRNetworkManagement_DropInfo_Cause_NoNatSubnetsForPscServiceAttachment = @"NO_NAT_SUBNETS_FOR_PSC_SERVICE_ATTACHMENT"; NSString * const kGTLRNetworkManagement_DropInfo_Cause_NoRoute = @"NO_ROUTE"; NSString * const kGTLRNetworkManagement_DropInfo_Cause_NoRouteFromInternetToPrivateIpv6Address = @"NO_ROUTE_FROM_INTERNET_TO_PRIVATE_IPV6_ADDRESS"; +NSString * const kGTLRNetworkManagement_DropInfo_Cause_NoTrafficSelectorToGcpDestination = @"NO_TRAFFIC_SELECTOR_TO_GCP_DESTINATION"; NSString * const kGTLRNetworkManagement_DropInfo_Cause_PrivateGoogleAccessDisallowed = @"PRIVATE_GOOGLE_ACCESS_DISALLOWED"; NSString * const kGTLRNetworkManagement_DropInfo_Cause_PrivateGoogleAccessViaVpnTunnelUnsupported = @"PRIVATE_GOOGLE_ACCESS_VIA_VPN_TUNNEL_UNSUPPORTED"; NSString * const kGTLRNetworkManagement_DropInfo_Cause_PrivateTrafficToInternet = @"PRIVATE_TRAFFIC_TO_INTERNET"; @@ -123,7 +131,16 @@ NSString * const kGTLRNetworkManagement_DropInfo_Cause_PscTransitivityNotPropagated = @"PSC_TRANSITIVITY_NOT_PROPAGATED"; NSString * const kGTLRNetworkManagement_DropInfo_Cause_PublicCloudSqlInstanceToPrivateDestination = @"PUBLIC_CLOUD_SQL_INSTANCE_TO_PRIVATE_DESTINATION"; NSString * const kGTLRNetworkManagement_DropInfo_Cause_PublicGkeControlPlaneToPrivateDestination = @"PUBLIC_GKE_CONTROL_PLANE_TO_PRIVATE_DESTINATION"; +NSString * const kGTLRNetworkManagement_DropInfo_Cause_RedisClusterNoExternalIp = @"REDIS_CLUSTER_NO_EXTERNAL_IP"; +NSString * const kGTLRNetworkManagement_DropInfo_Cause_RedisClusterNotRunning = @"REDIS_CLUSTER_NOT_RUNNING"; +NSString * const kGTLRNetworkManagement_DropInfo_Cause_RedisClusterUnsupportedPort = @"REDIS_CLUSTER_UNSUPPORTED_PORT"; +NSString * const kGTLRNetworkManagement_DropInfo_Cause_RedisClusterUnsupportedProtocol = @"REDIS_CLUSTER_UNSUPPORTED_PROTOCOL"; +NSString * const kGTLRNetworkManagement_DropInfo_Cause_RedisInstanceConnectingFromPupiAddress = @"REDIS_INSTANCE_CONNECTING_FROM_PUPI_ADDRESS"; +NSString * const kGTLRNetworkManagement_DropInfo_Cause_RedisInstanceNoExternalIp = @"REDIS_INSTANCE_NO_EXTERNAL_IP"; +NSString * const kGTLRNetworkManagement_DropInfo_Cause_RedisInstanceNoRouteToDestinationNetwork = @"REDIS_INSTANCE_NO_ROUTE_TO_DESTINATION_NETWORK"; NSString * const kGTLRNetworkManagement_DropInfo_Cause_RedisInstanceNotRunning = @"REDIS_INSTANCE_NOT_RUNNING"; +NSString * const kGTLRNetworkManagement_DropInfo_Cause_RedisInstanceUnsupportedPort = @"REDIS_INSTANCE_UNSUPPORTED_PORT"; +NSString * const kGTLRNetworkManagement_DropInfo_Cause_RedisInstanceUnsupportedProtocol = @"REDIS_INSTANCE_UNSUPPORTED_PROTOCOL"; NSString * const kGTLRNetworkManagement_DropInfo_Cause_RouteBlackhole = @"ROUTE_BLACKHOLE"; NSString * const kGTLRNetworkManagement_DropInfo_Cause_RouteNextHopForwardingRuleIpMismatch = @"ROUTE_NEXT_HOP_FORWARDING_RULE_IP_MISMATCH"; NSString * const kGTLRNetworkManagement_DropInfo_Cause_RouteNextHopForwardingRuleTypeInvalid = @"ROUTE_NEXT_HOP_FORWARDING_RULE_TYPE_INVALID"; @@ -312,6 +329,7 @@ NSString * const kGTLRNetworkManagement_Step_State_StartFromInternet = @"START_FROM_INTERNET"; NSString * const kGTLRNetworkManagement_Step_State_StartFromPrivateNetwork = @"START_FROM_PRIVATE_NETWORK"; NSString * const kGTLRNetworkManagement_Step_State_StartFromPscPublishedService = @"START_FROM_PSC_PUBLISHED_SERVICE"; +NSString * const kGTLRNetworkManagement_Step_State_StartFromRedisCluster = @"START_FROM_REDIS_CLUSTER"; NSString * const kGTLRNetworkManagement_Step_State_StartFromRedisInstance = @"START_FROM_REDIS_INSTANCE"; NSString * const kGTLRNetworkManagement_Step_State_StartFromServerlessNeg = @"START_FROM_SERVERLESS_NEG"; NSString * const kGTLRNetworkManagement_Step_State_StartFromStorageBucket = @"START_FROM_STORAGE_BUCKET"; @@ -873,7 +891,7 @@ @implementation GTLRNetworkManagement_NatInfo // @implementation GTLRNetworkManagement_NetworkInfo -@dynamic displayName, matchedIpRange, uri; +@dynamic displayName, matchedIpRange, matchedSubnetUri, region, uri; @end @@ -991,6 +1009,17 @@ @implementation GTLRNetworkManagement_ReachabilityDetails @end +// ---------------------------------------------------------------------------- +// +// GTLRNetworkManagement_RedisClusterInfo +// + +@implementation GTLRNetworkManagement_RedisClusterInfo +@dynamic discoveryEndpointIpAddress, displayName, location, networkUri, + secondaryEndpointIpAddress, uri; +@end + + // ---------------------------------------------------------------------------- // // GTLRNetworkManagement_RedisInstanceInfo @@ -1017,8 +1046,9 @@ @implementation GTLRNetworkManagement_RerunConnectivityTestRequest // @implementation GTLRNetworkManagement_RouteInfo -@dynamic destIpRange, destPortRanges, displayName, instanceTags, nccHubUri, - nccSpokeUri, networkUri, nextHop, nextHopType, priority, protocols, +@dynamic advertisedRouteNextHopUri, advertisedRouteSourceRouterUri, destIpRange, + destPortRanges, displayName, instanceTags, nccHubUri, nccSpokeUri, + networkUri, nextHop, nextHopType, priority, protocols, region, routeScope, routeType, srcIpRange, srcPortRanges, uri; + (NSDictionary *)arrayPropertyToClassMap { @@ -1096,8 +1126,8 @@ @implementation GTLRNetworkManagement_Step cloudSqlInstance, deliver, descriptionProperty, drop, endpoint, firewall, forward, forwardingRule, gkeMaster, googleService, instance, loadBalancer, loadBalancerBackendInfo, nat, network, projectId, - proxyConnection, redisInstance, route, serverlessNeg, state, - storageBucket, vpcConnector, vpnGateway, vpnTunnel; + proxyConnection, redisCluster, redisInstance, route, 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 f6255c024..eaeb1bbc9 100644 --- a/Sources/GeneratedServices/NetworkManagement/Public/GoogleAPIClientForREST/GTLRNetworkManagementObjects.h +++ b/Sources/GeneratedServices/NetworkManagement/Public/GoogleAPIClientForREST/GTLRNetworkManagementObjects.h @@ -57,6 +57,7 @@ @class GTLRNetworkManagement_ProbingDetails; @class GTLRNetworkManagement_ProxyConnectionInfo; @class GTLRNetworkManagement_ReachabilityDetails; +@class GTLRNetworkManagement_RedisClusterInfo; @class GTLRNetworkManagement_RedisInstanceInfo; @class GTLRNetworkManagement_RouteInfo; @class GTLRNetworkManagement_ServerlessNegInfo; @@ -247,6 +248,18 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_AbortInfo_Cause_Source * Value: "SOURCE_PSC_CLOUD_SQL_UNSUPPORTED" */ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_AbortInfo_Cause_SourcePscCloudSqlUnsupported; +/** + * Aborted because tests with a Redis Cluster as a source are not supported. + * + * Value: "SOURCE_REDIS_CLUSTER_UNSUPPORTED" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_AbortInfo_Cause_SourceRedisClusterUnsupported; +/** + * Aborted because tests with a Redis Instance as a source are not supported. + * + * Value: "SOURCE_REDIS_INSTANCE_UNSUPPORTED" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_AbortInfo_Cause_SourceRedisInstanceUnsupported; /** * Aborted because the number of steps in the trace exceeds a certain limit. It * might be caused by a routing loop. @@ -418,6 +431,18 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_DeliverInfo_Target_Psc * Value: "PSC_VPC_SC" */ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_DeliverInfo_Target_PscVpcSc; +/** + * Target is a Redis Cluster. + * + * Value: "REDIS_CLUSTER" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_DeliverInfo_Target_RedisCluster; +/** + * Target is a Redis Instance. + * + * Value: "REDIS_INSTANCE" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_DeliverInfo_Target_RedisInstance; /** * Target is a serverless network endpoint group. * @@ -556,6 +581,20 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_DropInfo_Cause_Dropped * Value: "DROPPED_INSIDE_PSC_SERVICE_PRODUCER" */ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_DropInfo_Cause_DroppedInsidePscServiceProducer; +/** + * Generic drop cause for a packet being dropped inside a Redis Cluster service + * project. + * + * Value: "DROPPED_INSIDE_REDIS_CLUSTER_SERVICE" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_DropInfo_Cause_DroppedInsideRedisClusterService; +/** + * Generic drop cause for a packet being dropped inside a Redis Instance + * service project. + * + * Value: "DROPPED_INSIDE_REDIS_INSTANCE_SERVICE" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_DropInfo_Cause_DroppedInsideRedisInstanceService; /** * Firewalls block the health check probes to the backends and cause the * backends to be unavailable for traffic from the load balancer. For more @@ -682,6 +721,14 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_DropInfo_Cause_LoadBal * Value: "LOAD_BALANCER_HAS_NO_PROXY_SUBNET" */ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_DropInfo_Cause_LoadBalancerHasNoProxySubnet; +/** + * Packet from the non-GCP (on-prem) or unknown GCP network is dropped due to + * the destination IP address not belonging to any IP prefix advertised via BGP + * by the Cloud Router. + * + * Value: "NO_ADVERTISED_ROUTE_TO_GCP_DESTINATION" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_DropInfo_Cause_NoAdvertisedRouteToGcpDestination; /** * Instance with only an internal IP address tries to access external hosts, * but Cloud NAT is not enabled in the subnet, unless special configurations on @@ -708,6 +755,14 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_DropInfo_Cause_NoRoute * Value: "NO_ROUTE_FROM_INTERNET_TO_PRIVATE_IPV6_ADDRESS" */ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_DropInfo_Cause_NoRouteFromInternetToPrivateIpv6Address; +/** + * Packet from the non-GCP (on-prem) or unknown GCP network is dropped due to + * the destination IP address not belonging to any IP prefix included to the + * local traffic selector of the VPN tunnel. + * + * Value: "NO_TRAFFIC_SELECTOR_TO_GCP_DESTINATION" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_DropInfo_Cause_NoTrafficSelectorToGcpDestination; /** * Instance with only an internal IP address tries to access Google API and * services, but private Google access is not enabled in the subnet. @@ -779,12 +834,72 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_DropInfo_Cause_PublicC * Value: "PUBLIC_GKE_CONTROL_PLANE_TO_PRIVATE_DESTINATION" */ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_DropInfo_Cause_PublicGkeControlPlaneToPrivateDestination; +/** + * Redis Cluster does not have an external IP address. + * + * Value: "REDIS_CLUSTER_NO_EXTERNAL_IP" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_DropInfo_Cause_RedisClusterNoExternalIp; +/** + * Packet sent from or to a Redis Cluster that is not in running state. + * + * Value: "REDIS_CLUSTER_NOT_RUNNING" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_DropInfo_Cause_RedisClusterNotRunning; +/** + * Packet is dropped due to an unsupported port being used to connect to a + * Redis Cluster. Ports 6379 and 11000 to 13047 should be used to connect to a + * Redis Cluster. + * + * Value: "REDIS_CLUSTER_UNSUPPORTED_PORT" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_DropInfo_Cause_RedisClusterUnsupportedPort; +/** + * Packet is dropped due to an unsupported protocol being used to connect to a + * Redis Cluster. Only TCP connections are accepted by a Redis Cluster. + * + * Value: "REDIS_CLUSTER_UNSUPPORTED_PROTOCOL" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_DropInfo_Cause_RedisClusterUnsupportedProtocol; +/** + * Packet is dropped due to connecting from PUPI address to a PSA based Redis + * Instance. + * + * Value: "REDIS_INSTANCE_CONNECTING_FROM_PUPI_ADDRESS" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_DropInfo_Cause_RedisInstanceConnectingFromPupiAddress; +/** + * Redis Instance does not have an external IP address. + * + * Value: "REDIS_INSTANCE_NO_EXTERNAL_IP" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_DropInfo_Cause_RedisInstanceNoExternalIp; +/** + * Packet is dropped due to no route to the destination network. + * + * Value: "REDIS_INSTANCE_NO_ROUTE_TO_DESTINATION_NETWORK" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_DropInfo_Cause_RedisInstanceNoRouteToDestinationNetwork; /** * Packet sent from or to a Redis Instance that is not in running state. * * Value: "REDIS_INSTANCE_NOT_RUNNING" */ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_DropInfo_Cause_RedisInstanceNotRunning; +/** + * Packet is dropped due to an unsupported port being used to connect to a + * Redis Instance. Port 6379 should be used to connect to a Redis Instance. + * + * Value: "REDIS_INSTANCE_UNSUPPORTED_PORT" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_DropInfo_Cause_RedisInstanceUnsupportedPort; +/** + * Packet is dropped due to an unsupported protocol being used to connect to a + * Redis Instance. Only TCP connections are accepted by a Redis Instance. + * + * Value: "REDIS_INSTANCE_UNSUPPORTED_PROTOCOL" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_DropInfo_Cause_RedisInstanceUnsupportedProtocol; /** * Dropped due to invalid route. Route's next hop is a blackhole. * @@ -1857,6 +1972,13 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_Step_State_StartFromPr * Value: "START_FROM_PSC_PUBLISHED_SERVICE" */ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_Step_State_StartFromPscPublishedService; +/** + * Initial state: packet originating from a Redis Cluster. A RedisClusterInfo + * is populated with starting Cluster information. + * + * Value: "START_FROM_REDIS_CLUSTER" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_Step_State_StartFromRedisCluster; /** * Initial state: packet originating from a Redis instance. A RedisInstanceInfo * is populated with starting instance information. @@ -2014,6 +2136,12 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_VpnTunnelInfo_RoutingT * @arg @c kGTLRNetworkManagement_AbortInfo_Cause_SourcePscCloudSqlUnsupported * Aborted because tests with a PSC-based Cloud SQL instance as a source * are not supported. (Value: "SOURCE_PSC_CLOUD_SQL_UNSUPPORTED") + * @arg @c kGTLRNetworkManagement_AbortInfo_Cause_SourceRedisClusterUnsupported + * Aborted because tests with a Redis Cluster as a source are not + * supported. (Value: "SOURCE_REDIS_CLUSTER_UNSUPPORTED") + * @arg @c kGTLRNetworkManagement_AbortInfo_Cause_SourceRedisInstanceUnsupported + * Aborted because tests with a Redis Instance as a source are not + * supported. (Value: "SOURCE_REDIS_INSTANCE_UNSUPPORTED") * @arg @c kGTLRNetworkManagement_AbortInfo_Cause_TraceTooLong Aborted * because the number of steps in the trace exceeds a certain limit. It * might be caused by a routing loop. (Value: "TRACE_TOO_LONG") @@ -2524,6 +2652,10 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_VpnTunnelInfo_RoutingT * VPC-SC that uses [Private Service * Connect](https://cloud.google.com/vpc/docs/configure-private-service-connect-apis). * (Value: "PSC_VPC_SC") + * @arg @c kGTLRNetworkManagement_DeliverInfo_Target_RedisCluster Target is a + * Redis Cluster. (Value: "REDIS_CLUSTER") + * @arg @c kGTLRNetworkManagement_DeliverInfo_Target_RedisInstance Target is + * a Redis Instance. (Value: "REDIS_INSTANCE") * @arg @c kGTLRNetworkManagement_DeliverInfo_Target_ServerlessNeg Target is * a serverless network endpoint group. (Value: "SERVERLESS_NEG") * @arg @c kGTLRNetworkManagement_DeliverInfo_Target_StorageBucket Target is @@ -2605,6 +2737,12 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_VpnTunnelInfo_RoutingT * @arg @c kGTLRNetworkManagement_DropInfo_Cause_DroppedInsidePscServiceProducer * Packet was dropped inside Private Service Connect service producer. * (Value: "DROPPED_INSIDE_PSC_SERVICE_PRODUCER") + * @arg @c kGTLRNetworkManagement_DropInfo_Cause_DroppedInsideRedisClusterService + * Generic drop cause for a packet being dropped inside a Redis Cluster + * service project. (Value: "DROPPED_INSIDE_REDIS_CLUSTER_SERVICE") + * @arg @c kGTLRNetworkManagement_DropInfo_Cause_DroppedInsideRedisInstanceService + * Generic drop cause for a packet being dropped inside a Redis Instance + * service project. (Value: "DROPPED_INSIDE_REDIS_INSTANCE_SERVICE") * @arg @c kGTLRNetworkManagement_DropInfo_Cause_FirewallBlockingLoadBalancerBackendHealthCheck * Firewalls block the health check probes to the backends and cause the * backends to be unavailable for traffic from the load balancer. For @@ -2674,6 +2812,11 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_VpnTunnelInfo_RoutingT * @arg @c kGTLRNetworkManagement_DropInfo_Cause_LoadBalancerHasNoProxySubnet * Packet sent to a load balancer, which requires a proxy-only subnet and * the subnet is not found. (Value: "LOAD_BALANCER_HAS_NO_PROXY_SUBNET") + * @arg @c kGTLRNetworkManagement_DropInfo_Cause_NoAdvertisedRouteToGcpDestination + * Packet from the non-GCP (on-prem) or unknown GCP network is dropped + * due to the destination IP address not belonging to any IP prefix + * advertised via BGP by the Cloud Router. (Value: + * "NO_ADVERTISED_ROUTE_TO_GCP_DESTINATION") * @arg @c kGTLRNetworkManagement_DropInfo_Cause_NoExternalAddress Instance * with only an internal IP address tries to access external hosts, but * Cloud NAT is not enabled in the subnet, unless special configurations @@ -2686,6 +2829,11 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_VpnTunnelInfo_RoutingT * @arg @c kGTLRNetworkManagement_DropInfo_Cause_NoRouteFromInternetToPrivateIpv6Address * Packet is sent from the Internet to the private IPv6 address. (Value: * "NO_ROUTE_FROM_INTERNET_TO_PRIVATE_IPV6_ADDRESS") + * @arg @c kGTLRNetworkManagement_DropInfo_Cause_NoTrafficSelectorToGcpDestination + * Packet from the non-GCP (on-prem) or unknown GCP network is dropped + * due to the destination IP address not belonging to any IP prefix + * included to the local traffic selector of the VPN tunnel. (Value: + * "NO_TRAFFIC_SELECTOR_TO_GCP_DESTINATION") * @arg @c kGTLRNetworkManagement_DropInfo_Cause_PrivateGoogleAccessDisallowed * Instance with only an internal IP address tries to access Google API * and services, but private Google access is not enabled in the subnet. @@ -2726,9 +2874,40 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_VpnTunnelInfo_RoutingT * @arg @c kGTLRNetworkManagement_DropInfo_Cause_PublicGkeControlPlaneToPrivateDestination * Packet sent from a public GKE cluster control plane to a private IP * address. (Value: "PUBLIC_GKE_CONTROL_PLANE_TO_PRIVATE_DESTINATION") + * @arg @c kGTLRNetworkManagement_DropInfo_Cause_RedisClusterNoExternalIp + * Redis Cluster does not have an external IP address. (Value: + * "REDIS_CLUSTER_NO_EXTERNAL_IP") + * @arg @c kGTLRNetworkManagement_DropInfo_Cause_RedisClusterNotRunning + * Packet sent from or to a Redis Cluster that is not in running state. + * (Value: "REDIS_CLUSTER_NOT_RUNNING") + * @arg @c kGTLRNetworkManagement_DropInfo_Cause_RedisClusterUnsupportedPort + * Packet is dropped due to an unsupported port being used to connect to + * a Redis Cluster. Ports 6379 and 11000 to 13047 should be used to + * connect to a Redis Cluster. (Value: "REDIS_CLUSTER_UNSUPPORTED_PORT") + * @arg @c kGTLRNetworkManagement_DropInfo_Cause_RedisClusterUnsupportedProtocol + * Packet is dropped due to an unsupported protocol being used to connect + * to a Redis Cluster. Only TCP connections are accepted by a Redis + * Cluster. (Value: "REDIS_CLUSTER_UNSUPPORTED_PROTOCOL") + * @arg @c kGTLRNetworkManagement_DropInfo_Cause_RedisInstanceConnectingFromPupiAddress + * Packet is dropped due to connecting from PUPI address to a PSA based + * Redis Instance. (Value: "REDIS_INSTANCE_CONNECTING_FROM_PUPI_ADDRESS") + * @arg @c kGTLRNetworkManagement_DropInfo_Cause_RedisInstanceNoExternalIp + * Redis Instance does not have an external IP address. (Value: + * "REDIS_INSTANCE_NO_EXTERNAL_IP") + * @arg @c kGTLRNetworkManagement_DropInfo_Cause_RedisInstanceNoRouteToDestinationNetwork + * Packet is dropped due to no route to the destination network. (Value: + * "REDIS_INSTANCE_NO_ROUTE_TO_DESTINATION_NETWORK") * @arg @c kGTLRNetworkManagement_DropInfo_Cause_RedisInstanceNotRunning * Packet sent from or to a Redis Instance that is not in running state. * (Value: "REDIS_INSTANCE_NOT_RUNNING") + * @arg @c kGTLRNetworkManagement_DropInfo_Cause_RedisInstanceUnsupportedPort + * Packet is dropped due to an unsupported port being used to connect to + * a Redis Instance. Port 6379 should be used to connect to a Redis + * Instance. (Value: "REDIS_INSTANCE_UNSUPPORTED_PORT") + * @arg @c kGTLRNetworkManagement_DropInfo_Cause_RedisInstanceUnsupportedProtocol + * Packet is dropped due to an unsupported protocol being used to connect + * to a Redis Instance. Only TCP connections are accepted by a Redis + * Instance. (Value: "REDIS_INSTANCE_UNSUPPORTED_PROTOCOL") * @arg @c kGTLRNetworkManagement_DropInfo_Cause_RouteBlackhole Dropped due * to invalid route. Route's next hop is a blackhole. (Value: * "ROUTE_BLACKHOLE") @@ -3822,16 +4001,23 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_VpnTunnelInfo_RoutingT /** - * For display only. Metadata associated with a Compute Engine network. + * For display only. Metadata associated with a Compute Engine network. Next + * ID: 7 */ @interface GTLRNetworkManagement_NetworkInfo : GTLRObject /** Name of a Compute Engine network. */ @property(nonatomic, copy, nullable) NSString *displayName; -/** The IP range that matches the test. */ +/** The IP range of the subnet matching the source IP address of the test. */ @property(nonatomic, copy, nullable) NSString *matchedIpRange; +/** URI of the subnet matching the source IP address of the test. */ +@property(nonatomic, copy, nullable) NSString *matchedSubnetUri; + +/** The region of the subnet matching the source IP address of the test. */ +@property(nonatomic, copy, nullable) NSString *region; + /** URI of a Compute Engine network. */ @property(nonatomic, copy, nullable) NSString *uri; @@ -4247,6 +4433,41 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_VpnTunnelInfo_RoutingT @end +/** + * For display only. Metadata associated with a Redis Cluster. + */ +@interface GTLRNetworkManagement_RedisClusterInfo : GTLRObject + +/** Discovery endpoint IP address of a Redis Cluster. */ +@property(nonatomic, copy, nullable) NSString *discoveryEndpointIpAddress; + +/** Name of a Redis Cluster. */ +@property(nonatomic, copy, nullable) NSString *displayName; + +/** + * Name of the region in which the Redis Cluster is defined. For example, + * "us-central1". + */ +@property(nonatomic, copy, nullable) NSString *location; + +/** + * URI of a Redis Cluster network in format + * "projects/{project_id}/global/networks/{network_id}". + */ +@property(nonatomic, copy, nullable) NSString *networkUri; + +/** Secondary endpoint IP address of a Redis Cluster. */ +@property(nonatomic, copy, nullable) NSString *secondaryEndpointIpAddress; + +/** + * URI of a Redis Cluster in format + * "projects/{project_id}/locations/{location}/clusters/{cluster_id}" + */ +@property(nonatomic, copy, nullable) NSString *uri; + +@end + + /** * For display only. Metadata associated with a Cloud Redis Instance. */ @@ -4285,6 +4506,20 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_VpnTunnelInfo_RoutingT */ @interface GTLRNetworkManagement_RouteInfo : GTLRObject +/** + * For advertised routes, the URI of their next hop, i.e. the URI of the hybrid + * endpoint (VPN tunnel, Interconnect attachment, NCC router appliance) the + * advertised prefix is advertised through, or URI of the source peered + * network. + */ +@property(nonatomic, copy, nullable) NSString *advertisedRouteNextHopUri; + +/** + * For advertised dynamic routes, the URI of the Cloud Router that advertised + * the corresponding IP prefix. + */ +@property(nonatomic, copy, nullable) NSString *advertisedRouteSourceRouterUri; + /** Destination IP range of the route. */ @property(nonatomic, copy, nullable) NSString *destIpRange; @@ -4360,6 +4595,9 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_VpnTunnelInfo_RoutingT /** Protocols of the route. Policy based routes only. */ @property(nonatomic, strong, nullable) NSArray *protocols; +/** Region of the route (if applicable). */ +@property(nonatomic, copy, nullable) NSString *region; + /** * Indicates where route is applicable. * @@ -4405,11 +4643,7 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_VpnTunnelInfo_RoutingT /** Source port ranges of the route. Policy based routes only. */ @property(nonatomic, strong, nullable) NSArray *srcPortRanges; -/** - * URI of a route. Dynamic, peering static and peering dynamic routes do not - * have an URI. Advertised route from Google Cloud VPC to on-premises network - * also does not have an URI. - */ +/** URI of a route (if applicable). */ @property(nonatomic, copy, nullable) NSString *uri; @end @@ -4583,6 +4817,9 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_VpnTunnelInfo_RoutingT /** Display information of a ProxyConnection. */ @property(nonatomic, strong, nullable) GTLRNetworkManagement_ProxyConnectionInfo *proxyConnection; +/** Display information of a Redis Cluster. */ +@property(nonatomic, strong, nullable) GTLRNetworkManagement_RedisClusterInfo *redisCluster; + /** Display information of a Redis Instance. */ @property(nonatomic, strong, nullable) GTLRNetworkManagement_RedisInstanceInfo *redisInstance; @@ -4685,6 +4922,10 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_VpnTunnelInfo_RoutingT * Initial state: packet originating from a published service that uses * Private Service Connect. Used only for return traces. (Value: * "START_FROM_PSC_PUBLISHED_SERVICE") + * @arg @c kGTLRNetworkManagement_Step_State_StartFromRedisCluster Initial + * state: packet originating from a Redis Cluster. A RedisClusterInfo is + * populated with starting Cluster information. (Value: + * "START_FROM_REDIS_CLUSTER") * @arg @c kGTLRNetworkManagement_Step_State_StartFromRedisInstance Initial * state: packet originating from a Redis instance. A RedisInstanceInfo * is populated with starting instance information. (Value: diff --git a/Sources/GeneratedServices/NetworkSecurity/GTLRNetworkSecurityObjects.m b/Sources/GeneratedServices/NetworkSecurity/GTLRNetworkSecurityObjects.m index 0a6c6b613..1090502cc 100644 --- a/Sources/GeneratedServices/NetworkSecurity/GTLRNetworkSecurityObjects.m +++ b/Sources/GeneratedServices/NetworkSecurity/GTLRNetworkSecurityObjects.m @@ -38,6 +38,7 @@ NSString * const kGTLRNetworkSecurity_FirewallEndpointAssociation_State_Creating = @"CREATING"; NSString * const kGTLRNetworkSecurity_FirewallEndpointAssociation_State_Deleting = @"DELETING"; NSString * const kGTLRNetworkSecurity_FirewallEndpointAssociation_State_Inactive = @"INACTIVE"; +NSString * const kGTLRNetworkSecurity_FirewallEndpointAssociation_State_Orphan = @"ORPHAN"; NSString * const kGTLRNetworkSecurity_FirewallEndpointAssociation_State_StateUnspecified = @"STATE_UNSPECIFIED"; // GTLRNetworkSecurity_GatewaySecurityPolicyRule.basicProfile diff --git a/Sources/GeneratedServices/NetworkSecurity/Public/GoogleAPIClientForREST/GTLRNetworkSecurityObjects.h b/Sources/GeneratedServices/NetworkSecurity/Public/GoogleAPIClientForREST/GTLRNetworkSecurityObjects.h index 3d9f8e3e5..a0bca79f3 100644 --- a/Sources/GeneratedServices/NetworkSecurity/Public/GoogleAPIClientForREST/GTLRNetworkSecurityObjects.h +++ b/Sources/GeneratedServices/NetworkSecurity/Public/GoogleAPIClientForREST/GTLRNetworkSecurityObjects.h @@ -199,6 +199,12 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkSecurity_FirewallEndpointAssociat * Value: "INACTIVE" */ FOUNDATION_EXTERN NSString * const kGTLRNetworkSecurity_FirewallEndpointAssociation_State_Inactive; +/** + * The GCP project that housed the association has been deleted. + * + * Value: "ORPHAN" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkSecurity_FirewallEndpointAssociation_State_Orphan; /** * Not set. * @@ -1062,6 +1068,9 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkSecurity_TlsInspectionPolicy_TlsF * Being deleted. (Value: "DELETING") * @arg @c kGTLRNetworkSecurity_FirewallEndpointAssociation_State_Inactive * Down or in an error state. (Value: "INACTIVE") + * @arg @c kGTLRNetworkSecurity_FirewallEndpointAssociation_State_Orphan The + * GCP project that housed the association has been deleted. (Value: + * "ORPHAN") * @arg @c kGTLRNetworkSecurity_FirewallEndpointAssociation_State_StateUnspecified * Not set. (Value: "STATE_UNSPECIFIED") */ diff --git a/Sources/GeneratedServices/NetworkServices/GTLRNetworkServicesObjects.m b/Sources/GeneratedServices/NetworkServices/GTLRNetworkServicesObjects.m index a8a15ffde..3f4e23a81 100644 --- a/Sources/GeneratedServices/NetworkServices/GTLRNetworkServicesObjects.m +++ b/Sources/GeneratedServices/NetworkServices/GTLRNetworkServicesObjects.m @@ -83,6 +83,18 @@ NSString * const kGTLRNetworkServices_LbTrafficExtension_LoadBalancingScheme_InternalManaged = @"INTERNAL_MANAGED"; NSString * const kGTLRNetworkServices_LbTrafficExtension_LoadBalancingScheme_LoadBalancingSchemeUnspecified = @"LOAD_BALANCING_SCHEME_UNSPECIFIED"; +// GTLRNetworkServices_LoggingConfig.logSeverity +NSString * const kGTLRNetworkServices_LoggingConfig_LogSeverity_Alert = @"ALERT"; +NSString * const kGTLRNetworkServices_LoggingConfig_LogSeverity_Critical = @"CRITICAL"; +NSString * const kGTLRNetworkServices_LoggingConfig_LogSeverity_Debug = @"DEBUG"; +NSString * const kGTLRNetworkServices_LoggingConfig_LogSeverity_Emergency = @"EMERGENCY"; +NSString * const kGTLRNetworkServices_LoggingConfig_LogSeverity_Error = @"ERROR"; +NSString * const kGTLRNetworkServices_LoggingConfig_LogSeverity_Info = @"INFO"; +NSString * const kGTLRNetworkServices_LoggingConfig_LogSeverity_LogSeverityUnspecified = @"LOG_SEVERITY_UNSPECIFIED"; +NSString * const kGTLRNetworkServices_LoggingConfig_LogSeverity_None = @"NONE"; +NSString * const kGTLRNetworkServices_LoggingConfig_LogSeverity_Notice = @"NOTICE"; +NSString * const kGTLRNetworkServices_LoggingConfig_LogSeverity_Warning = @"WARNING"; + // GTLRNetworkServices_Mesh.envoyHeaders NSString * const kGTLRNetworkServices_Mesh_EnvoyHeaders_DebugHeaders = @"DEBUG_HEADERS"; NSString * const kGTLRNetworkServices_Mesh_EnvoyHeaders_EnvoyHeadersUnspecified = @"ENVOY_HEADERS_UNSPECIFIED"; @@ -1262,6 +1274,16 @@ + (Class)classForAdditionalProperties { @end +// ---------------------------------------------------------------------------- +// +// GTLRNetworkServices_LoggingConfig +// + +@implementation GTLRNetworkServices_LoggingConfig +@dynamic logSeverity; +@end + + // ---------------------------------------------------------------------------- // // GTLRNetworkServices_Mesh @@ -1364,6 +1386,16 @@ @implementation GTLRNetworkServices_Policy @end +// ---------------------------------------------------------------------------- +// +// GTLRNetworkServices_RetryFilterPerRouteConfig +// + +@implementation GTLRNetworkServices_RetryFilterPerRouteConfig +@dynamic cryptoKeyName; +@end + + // ---------------------------------------------------------------------------- // // GTLRNetworkServices_ServiceBinding diff --git a/Sources/GeneratedServices/NetworkServices/Public/GoogleAPIClientForREST/GTLRNetworkServicesObjects.h b/Sources/GeneratedServices/NetworkServices/Public/GoogleAPIClientForREST/GTLRNetworkServicesObjects.h index 1a9e9871c..92822a981 100644 --- a/Sources/GeneratedServices/NetworkServices/Public/GoogleAPIClientForREST/GTLRNetworkServicesObjects.h +++ b/Sources/GeneratedServices/NetworkServices/Public/GoogleAPIClientForREST/GTLRNetworkServicesObjects.h @@ -453,6 +453,73 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkServices_LbTrafficExtension_LoadB */ FOUNDATION_EXTERN NSString * const kGTLRNetworkServices_LbTrafficExtension_LoadBalancingScheme_LoadBalancingSchemeUnspecified; +// ---------------------------------------------------------------------------- +// GTLRNetworkServices_LoggingConfig.logSeverity + +/** + * A person must take action immediately. + * + * Value: "ALERT" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkServices_LoggingConfig_LogSeverity_Alert; +/** + * Critical events cause more severe problems or outages. + * + * Value: "CRITICAL" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkServices_LoggingConfig_LogSeverity_Critical; +/** + * Debug or trace level logging. + * + * Value: "DEBUG" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkServices_LoggingConfig_LogSeverity_Debug; +/** + * One or more systems are unusable. + * + * Value: "EMERGENCY" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkServices_LoggingConfig_LogSeverity_Emergency; +/** + * Error events are likely to cause problems. + * + * Value: "ERROR" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkServices_LoggingConfig_LogSeverity_Error; +/** + * Routine information, such as ongoing status or performance. + * + * Value: "INFO" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkServices_LoggingConfig_LogSeverity_Info; +/** + * Log severity is not specified. This value is treated the same as NONE, but + * is used to distinguish between no update and update to NONE in update_masks. + * + * Value: "LOG_SEVERITY_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkServices_LoggingConfig_LogSeverity_LogSeverityUnspecified; +/** + * Default value at resource creation, presence of this value must be treated + * as no logging/disable logging. + * + * Value: "NONE" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkServices_LoggingConfig_LogSeverity_None; +/** + * Normal but significant events, such as start up, shut down, or a + * configuration change. + * + * Value: "NOTICE" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkServices_LoggingConfig_LogSeverity_Notice; +/** + * Warning events might cause problems. + * + * Value: "WARNING" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkServices_LoggingConfig_LogSeverity_Warning; + // ---------------------------------------------------------------------------- // GTLRNetworkServices_Mesh.envoyHeaders @@ -2451,7 +2518,8 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkServices_ServiceLbPolicy_LoadBala * available under the namespace `com.google.lb_route_extension.`. The * following variables are supported in the metadata Struct: * `{forwarding_rule_id}` - substituted with the forwarding rule's fully - * qualified resource name. + * qualified resource name. Only one of the resource level metadata and + * extension level metadata can be set. */ @property(nonatomic, strong, nullable) GTLRNetworkServices_LbRouteExtension_Metadata *metadata; @@ -2490,7 +2558,8 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkServices_ServiceLbPolicy_LoadBala * available under the namespace `com.google.lb_route_extension.`. The * following variables are supported in the metadata Struct: * `{forwarding_rule_id}` - substituted with the forwarding rule's fully - * qualified resource name. + * qualified resource name. Only one of the resource level metadata and + * extension level metadata can be set. * * @note This class is documented as having more properties of any valid JSON * type. Use @c -additionalJSONKeys and @c -additionalPropertyForName: to @@ -2569,7 +2638,8 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkServices_ServiceLbPolicy_LoadBala * `ProcessingRequest.metadata_context.filter_metadata` map field. The metadata * is available under the key `com.google.lb_traffic_extension.`. The following * variables are supported in the metadata: `{forwarding_rule_id}` - - * substituted with the forwarding rule's fully qualified resource name. + * substituted with the forwarding rule's fully qualified resource name. Only + * one of the resource level metadata and extension level metadata can be set. */ @property(nonatomic, strong, nullable) GTLRNetworkServices_LbTrafficExtension_Metadata *metadata; @@ -2606,7 +2676,8 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkServices_ServiceLbPolicy_LoadBala * `ProcessingRequest.metadata_context.filter_metadata` map field. The metadata * is available under the key `com.google.lb_traffic_extension.`. The following * variables are supported in the metadata: `{forwarding_rule_id}` - - * substituted with the forwarding rule's fully qualified resource name. + * substituted with the forwarding rule's fully qualified resource name. Only + * one of the resource level metadata and extension level metadata can be set. * * @note This class is documented as having more properties of any valid JSON * type. Use @c -additionalJSONKeys and @c -additionalPropertyForName: to @@ -3035,6 +3106,48 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkServices_ServiceLbPolicy_LoadBala @end +/** + * The configuration for Platform Telemetry logging for Eventarc Avdvanced + * resources. + */ +@interface GTLRNetworkServices_LoggingConfig : GTLRObject + +/** + * Optional. The minimum severity of logs that will be sent to + * Stackdriver/Platform Telemetry. Logs at severitiy ≥ this value will be sent, + * unless it is NONE. + * + * Likely values: + * @arg @c kGTLRNetworkServices_LoggingConfig_LogSeverity_Alert A person must + * take action immediately. (Value: "ALERT") + * @arg @c kGTLRNetworkServices_LoggingConfig_LogSeverity_Critical Critical + * events cause more severe problems or outages. (Value: "CRITICAL") + * @arg @c kGTLRNetworkServices_LoggingConfig_LogSeverity_Debug Debug or + * trace level logging. (Value: "DEBUG") + * @arg @c kGTLRNetworkServices_LoggingConfig_LogSeverity_Emergency One or + * more systems are unusable. (Value: "EMERGENCY") + * @arg @c kGTLRNetworkServices_LoggingConfig_LogSeverity_Error Error events + * are likely to cause problems. (Value: "ERROR") + * @arg @c kGTLRNetworkServices_LoggingConfig_LogSeverity_Info Routine + * information, such as ongoing status or performance. (Value: "INFO") + * @arg @c kGTLRNetworkServices_LoggingConfig_LogSeverity_LogSeverityUnspecified + * Log severity is not specified. This value is treated the same as NONE, + * but is used to distinguish between no update and update to NONE in + * update_masks. (Value: "LOG_SEVERITY_UNSPECIFIED") + * @arg @c kGTLRNetworkServices_LoggingConfig_LogSeverity_None Default value + * at resource creation, presence of this value must be treated as no + * logging/disable logging. (Value: "NONE") + * @arg @c kGTLRNetworkServices_LoggingConfig_LogSeverity_Notice Normal but + * significant events, such as start up, shut down, or a configuration + * change. (Value: "NOTICE") + * @arg @c kGTLRNetworkServices_LoggingConfig_LogSeverity_Warning Warning + * events might cause problems. (Value: "WARNING") + */ +@property(nonatomic, copy, nullable) NSString *logSeverity; + +@end + + /** * Mesh represents a logical configuration grouping for workload to workload * communication within a service mesh. Routes that point to mesh dictate how @@ -3322,6 +3435,17 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkServices_ServiceLbPolicy_LoadBala @end +/** + * GTLRNetworkServices_RetryFilterPerRouteConfig + */ +@interface GTLRNetworkServices_RetryFilterPerRouteConfig : GTLRObject + +/** The name of the crypto key to use for encrypting event data. */ +@property(nonatomic, copy, nullable) NSString *cryptoKeyName; + +@end + + /** * ServiceBinding is the resource that defines a Service Directory Service to * be used in a BackendService resource. diff --git a/Sources/GeneratedServices/Networkconnectivity/GTLRNetworkconnectivityObjects.m b/Sources/GeneratedServices/Networkconnectivity/GTLRNetworkconnectivityObjects.m index a43f3dcd4..fe22ee818 100644 --- a/Sources/GeneratedServices/Networkconnectivity/GTLRNetworkconnectivityObjects.m +++ b/Sources/GeneratedServices/Networkconnectivity/GTLRNetworkconnectivityObjects.m @@ -87,6 +87,7 @@ // GTLRNetworkconnectivity_InternalRange.usage NSString * const kGTLRNetworkconnectivity_InternalRange_Usage_ExternalToVpc = @"EXTERNAL_TO_VPC"; +NSString * const kGTLRNetworkconnectivity_InternalRange_Usage_ForMigration = @"FOR_MIGRATION"; NSString * const kGTLRNetworkconnectivity_InternalRange_Usage_ForVpc = @"FOR_VPC"; NSString * const kGTLRNetworkconnectivity_InternalRange_Usage_UsageUnspecified = @"USAGE_UNSPECIFIED"; @@ -311,7 +312,22 @@ @implementation GTLRNetworkconnectivity_Binding @implementation GTLRNetworkconnectivity_ConsumerPscConfig @dynamic consumerInstanceProject, disableGlobalAccess, network, - producerInstanceId, project, serviceAttachmentIpAddressMap, state; + producerInstanceId, producerInstanceMetadata, project, + serviceAttachmentIpAddressMap, state; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRNetworkconnectivity_ConsumerPscConfig_ProducerInstanceMetadata +// + +@implementation GTLRNetworkconnectivity_ConsumerPscConfig_ProducerInstanceMetadata + ++ (Class)classForAdditionalProperties { + return [NSString class]; +} + @end @@ -336,8 +352,22 @@ + (Class)classForAdditionalProperties { @implementation GTLRNetworkconnectivity_ConsumerPscConnection @dynamic error, errorInfo, errorType, forwardingRule, gceOperation, ip, network, - producerInstanceId, project, pscConnectionId, selectedSubnetwork, - serviceAttachmentUri, state; + producerInstanceId, producerInstanceMetadata, project, pscConnectionId, + selectedSubnetwork, serviceAttachmentUri, state; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRNetworkconnectivity_ConsumerPscConnection_ProducerInstanceMetadata +// + +@implementation GTLRNetworkconnectivity_ConsumerPscConnection_ProducerInstanceMetadata + ++ (Class)classForAdditionalProperties { + return [NSString class]; +} + @end @@ -585,9 +615,9 @@ @implementation GTLRNetworkconnectivity_InterconnectAttachment // @implementation GTLRNetworkconnectivity_InternalRange -@dynamic createTime, descriptionProperty, ipCidrRange, labels, name, network, - overlaps, peering, prefixLength, targetCidrRange, updateTime, usage, - users; +@dynamic createTime, descriptionProperty, ipCidrRange, labels, migration, name, + network, overlaps, peering, prefixLength, targetCidrRange, updateTime, + usage, users; + (NSDictionary *)propertyToJSONKeyMap { return @{ @"descriptionProperty" : @"description" }; @@ -1073,6 +1103,16 @@ @implementation GTLRNetworkconnectivity_LocationMetadata @end +// ---------------------------------------------------------------------------- +// +// GTLRNetworkconnectivity_Migration +// + +@implementation GTLRNetworkconnectivity_Migration +@dynamic source, target; +@end + + // ---------------------------------------------------------------------------- // // GTLRNetworkconnectivity_NextHopInterconnectAttachment @@ -1229,7 +1269,22 @@ @implementation GTLRNetworkconnectivity_PscConfig @implementation GTLRNetworkconnectivity_PscConnection @dynamic consumerAddress, consumerForwardingRule, consumerTargetProject, error, errorInfo, errorType, gceOperation, producerInstanceId, - pscConnectionId, selectedSubnetwork, state; + producerInstanceMetadata, pscConnectionId, selectedSubnetwork, + serviceClass, state; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRNetworkconnectivity_PscConnection_ProducerInstanceMetadata +// + +@implementation GTLRNetworkconnectivity_PscConnection_ProducerInstanceMetadata + ++ (Class)classForAdditionalProperties { + return [NSString class]; +} + @end diff --git a/Sources/GeneratedServices/Networkconnectivity/Public/GoogleAPIClientForREST/GTLRNetworkconnectivityObjects.h b/Sources/GeneratedServices/Networkconnectivity/Public/GoogleAPIClientForREST/GTLRNetworkconnectivityObjects.h index 99ebd0033..83af01a8e 100644 --- a/Sources/GeneratedServices/Networkconnectivity/Public/GoogleAPIClientForREST/GTLRNetworkconnectivityObjects.h +++ b/Sources/GeneratedServices/Networkconnectivity/Public/GoogleAPIClientForREST/GTLRNetworkconnectivityObjects.h @@ -19,8 +19,10 @@ @class GTLRNetworkconnectivity_AutoAccept; @class GTLRNetworkconnectivity_Binding; @class GTLRNetworkconnectivity_ConsumerPscConfig; +@class GTLRNetworkconnectivity_ConsumerPscConfig_ProducerInstanceMetadata; @class GTLRNetworkconnectivity_ConsumerPscConfig_ServiceAttachmentIpAddressMap; @class GTLRNetworkconnectivity_ConsumerPscConnection; +@class GTLRNetworkconnectivity_ConsumerPscConnection_ProducerInstanceMetadata; @class GTLRNetworkconnectivity_Expr; @class GTLRNetworkconnectivity_Filter; @class GTLRNetworkconnectivity_GoogleLongrunningOperation; @@ -44,6 +46,7 @@ @class GTLRNetworkconnectivity_Location; @class GTLRNetworkconnectivity_Location_Labels; @class GTLRNetworkconnectivity_Location_Metadata; +@class GTLRNetworkconnectivity_Migration; @class GTLRNetworkconnectivity_NextHopInterconnectAttachment; @class GTLRNetworkconnectivity_NextHopRouterApplianceInstance; @class GTLRNetworkconnectivity_NextHopVpcNetwork; @@ -54,6 +57,7 @@ @class GTLRNetworkconnectivity_ProducerPscConfig; @class GTLRNetworkconnectivity_PscConfig; @class GTLRNetworkconnectivity_PscConnection; +@class GTLRNetworkconnectivity_PscConnection_ProducerInstanceMetadata; @class GTLRNetworkconnectivity_RegionalEndpoint; @class GTLRNetworkconnectivity_RegionalEndpoint_Labels; @class GTLRNetworkconnectivity_Route; @@ -189,7 +193,9 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivity_ConsumerPscConnectio // GTLRNetworkconnectivity_ConsumerPscConnection.state /** - * The connection is fully established and ready to use. + * The connection has been created successfully. However, for the up-to-date + * connection status, please use the service attachment's + * "ConnectedEndpoint.status" as the source of truth. * * Value: "ACTIVE" */ @@ -472,6 +478,14 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivity_InternalRange_Peerin * Value: "EXTERNAL_TO_VPC" */ FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivity_InternalRange_Usage_ExternalToVpc; +/** + * Ranges created FOR_MIGRATION can be used to lock a CIDR range between a + * source and target subnet. If usage is set to FOR_MIGRATION the peering value + * has to be set to FOR_SELF or default to FOR_SELF when unset. + * + * Value: "FOR_MIGRATION" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivity_InternalRange_Usage_ForMigration; /** * A VPC resource can use the reserved CIDR block by associating it with the * internal range resource if usage is set to FOR_VPC. @@ -582,7 +596,9 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivity_PscConnection_ErrorT // GTLRNetworkconnectivity_PscConnection.state /** - * The connection is fully established and ready to use. + * The connection has been created successfully. However, for the up-to-date + * connection status, please use the created forwarding rule's + * "PscConnectionStatus" as the source of truth. * * Value: "ACTIVE" */ @@ -1335,8 +1351,14 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivity_Warnings_Code_Warnin */ @property(nonatomic, copy, nullable) NSString *network; -/** Immutable. An immutable identifier for the producer instance. */ -@property(nonatomic, copy, nullable) NSString *producerInstanceId; +/** + * Immutable. Deprecated. Use producer_instance_metadata instead. An immutable + * identifier for the producer instance. + */ +@property(nonatomic, copy, nullable) NSString *producerInstanceId GTLR_DEPRECATED; + +/** Immutable. An immutable map for the producer instance metadata. */ +@property(nonatomic, strong, nullable) GTLRNetworkconnectivity_ConsumerPscConfig_ProducerInstanceMetadata *producerInstanceMetadata; /** * The consumer project where PSC connections are allowed to be created in. @@ -1379,6 +1401,18 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivity_Warnings_Code_Warnin @end +/** + * Immutable. An immutable map for the producer instance metadata. + * + * @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_ConsumerPscConfig_ProducerInstanceMetadata : GTLRObject +@end + + /** * Output only. A map to store mapping between customer vip and target service * attachment. Only service attachment with producer specified ip addresses are @@ -1425,7 +1459,7 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivity_Warnings_Code_Warnin * The error is due to the setup on producer side. (Value: * "ERROR_PRODUCER_SIDE") */ -@property(nonatomic, copy, nullable) NSString *errorType; +@property(nonatomic, copy, nullable) NSString *errorType GTLR_DEPRECATED; /** * The URI of the consumer forwarding rule created. Example: @@ -1450,8 +1484,14 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivity_Warnings_Code_Warnin */ @property(nonatomic, copy, nullable) NSString *network; -/** Immutable. An immutable identifier for the producer instance. */ -@property(nonatomic, copy, nullable) NSString *producerInstanceId; +/** + * Immutable. Deprecated. Use producer_instance_metadata instead. An immutable + * identifier for the producer instance. + */ +@property(nonatomic, copy, nullable) NSString *producerInstanceId GTLR_DEPRECATED; + +/** Immutable. An immutable map for the producer instance metadata. */ +@property(nonatomic, strong, nullable) GTLRNetworkconnectivity_ConsumerPscConnection_ProducerInstanceMetadata *producerInstanceMetadata; /** * The consumer project whose PSC forwarding rule is connected to the service @@ -1481,7 +1521,9 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivity_Warnings_Code_Warnin * * Likely values: * @arg @c kGTLRNetworkconnectivity_ConsumerPscConnection_State_Active The - * connection is fully established and ready to use. (Value: "ACTIVE") + * connection has been created successfully. However, for the up-to-date + * connection status, please use the service attachment's + * "ConnectedEndpoint.status" as the source of truth. (Value: "ACTIVE") * @arg @c kGTLRNetworkconnectivity_ConsumerPscConnection_State_Creating The * connection is being created. (Value: "CREATING") * @arg @c kGTLRNetworkconnectivity_ConsumerPscConnection_State_Deleting The @@ -1497,6 +1539,18 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivity_Warnings_Code_Warnin @end +/** + * Immutable. An immutable map for the producer instance metadata. + * + * @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_ConsumerPscConnection_ProducerInstanceMetadata : GTLRObject +@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 @@ -2092,12 +2146,19 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivity_Warnings_Code_Warnin */ @property(nonatomic, copy, nullable) NSString *descriptionProperty; -/** The IP range that this internal range defines. */ +/** + * The IP range that this internal range defines. NOTE: IPv6 ranges are limited + * to usage=EXTERNAL_TO_VPC and peering=FOR_SELF. NOTE: For IPv6 Ranges this + * field is compulsory, i.e. the address range must be specified explicitly. + */ @property(nonatomic, copy, nullable) NSString *ipCidrRange; /** User-defined labels. */ @property(nonatomic, strong, nullable) GTLRNetworkconnectivity_InternalRange_Labels *labels; +/** Optional. Should be present if usage is set to FOR_MIGRATION. */ +@property(nonatomic, strong, nullable) GTLRNetworkconnectivity_Migration *migration; + /** * Immutable. The name of an internal range. Format: * projects/{project}/locations/{location}/internalRanges/{internal_range} See: @@ -2152,11 +2213,13 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivity_Warnings_Code_Warnin @property(nonatomic, copy, nullable) NSString *peering; /** - * An alternate to ip_cidr_range. Can be set when trying to create a + * An alternate to ip_cidr_range. Can be set when trying to create an IPv4 * reservation that automatically finds a free range of the given size. If both * ip_cidr_range and prefix_length are set, there is an error if the range * sizes do not match. Can also be used during updates to change the range - * size. + * size. NOTE: For IPv6 this field only works if ip_cidr_range is set as well, + * and both fields must match. In other words, with IPv6 this field only works + * as a redundant parameter. * * Uses NSNumber of intValue. */ @@ -2183,6 +2246,11 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivity_Warnings_Code_Warnin * and are meant to block out address ranges for various use cases, like * for example, usage on-prem, with dynamic route announcements via * interconnect. (Value: "EXTERNAL_TO_VPC") + * @arg @c kGTLRNetworkconnectivity_InternalRange_Usage_ForMigration Ranges + * created FOR_MIGRATION can be used to lock a CIDR range between a + * source and target subnet. If usage is set to FOR_MIGRATION the peering + * value has to be set to FOR_SELF or default to FOR_SELF when unset. + * (Value: "FOR_MIGRATION") * @arg @c kGTLRNetworkconnectivity_InternalRange_Usage_ForVpc A VPC resource * can use the reserved CIDR block by associating it with the internal * range resource if usage is set to FOR_VPC. (Value: "FOR_VPC") @@ -2841,6 +2909,29 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivity_Warnings_Code_Warnin @end +/** + * Specification for migration with source and target resource names. + */ +@interface GTLRNetworkconnectivity_Migration : GTLRObject + +/** + * Immutable. Resource path as an URI of the source resource, for example a + * subnet. The project for the source resource should match the project for the + * InternalRange. An example: + * /projects/{project}/regions/{region}/subnetworks/{subnet} + */ +@property(nonatomic, copy, nullable) NSString *source; + +/** + * Immutable. Resource path of the target resource. The target project can be + * different, as in the cases when migrating to peer networks. The resource For + * example: /projects/{project}/regions/{region}/subnetworks/{subnet} + */ +@property(nonatomic, copy, nullable) NSString *target; + +@end + + /** * A route next hop that leads to an interconnect attachment resource. */ @@ -3252,7 +3343,10 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivity_Warnings_Code_Warnin /** The project where the PSC connection is created. */ @property(nonatomic, copy, nullable) NSString *consumerTargetProject; -/** The most recent error during operating this connection. */ +/** + * The most recent error during operating this connection. Deprecated, please + * use error_info instead. + */ @property(nonatomic, strong, nullable) GTLRNetworkconnectivity_GoogleRpcStatus *error GTLR_DEPRECATED; /** @@ -3279,13 +3373,19 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivity_Warnings_Code_Warnin * The error is due to the setup on producer side. (Value: * "ERROR_PRODUCER_SIDE") */ -@property(nonatomic, copy, nullable) NSString *errorType; +@property(nonatomic, copy, nullable) NSString *errorType GTLR_DEPRECATED; /** The last Compute Engine operation to setup PSC connection. */ @property(nonatomic, copy, nullable) NSString *gceOperation; -/** Immutable. An immutable identifier for the producer instance. */ -@property(nonatomic, copy, nullable) NSString *producerInstanceId; +/** + * Immutable. Deprecated. Use producer_instance_metadata instead. An immutable + * identifier for the producer instance. + */ +@property(nonatomic, copy, nullable) NSString *producerInstanceId GTLR_DEPRECATED; + +/** Immutable. An immutable map for the producer instance metadata. */ +@property(nonatomic, strong, nullable) GTLRNetworkconnectivity_PscConnection_ProducerInstanceMetadata *producerInstanceMetadata; /** The PSC connection id of the PSC forwarding rule. */ @property(nonatomic, copy, nullable) NSString *pscConnectionId; @@ -3296,12 +3396,21 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivity_Warnings_Code_Warnin */ @property(nonatomic, copy, nullable) NSString *selectedSubnetwork; +/** + * Output only. [Output only] The service class associated with this PSC + * Connection. The value is derived from the SCPolicy and matches the service + * class name provided by the customer. + */ +@property(nonatomic, copy, nullable) NSString *serviceClass; + /** * State of the PSC Connection * * Likely values: * @arg @c kGTLRNetworkconnectivity_PscConnection_State_Active The connection - * is fully established and ready to use. (Value: "ACTIVE") + * has been created successfully. However, for the up-to-date connection + * status, please use the created forwarding rule's "PscConnectionStatus" + * as the source of truth. (Value: "ACTIVE") * @arg @c kGTLRNetworkconnectivity_PscConnection_State_Creating The * connection is being created. (Value: "CREATING") * @arg @c kGTLRNetworkconnectivity_PscConnection_State_Deleting The @@ -3317,6 +3426,18 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivity_Warnings_Code_Warnin @end +/** + * Immutable. An immutable map for the producer instance metadata. + * + * @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_PscConnection_ProducerInstanceMetadata : GTLRObject +@end + + /** * The RegionalEndpoint resource. */ @@ -3870,7 +3991,7 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivity_Warnings_Code_Warnin */ @interface GTLRNetworkconnectivity_ServiceConnectionPolicy : GTLRObject -/** Output only. Time when the ServiceConnectionMap was created. */ +/** Output only. Time when the ServiceConnectionPolicy was created. */ @property(nonatomic, strong, nullable) GTLRDateTime *createTime; /** @@ -3937,7 +4058,7 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivity_Warnings_Code_Warnin */ @property(nonatomic, copy, nullable) NSString *serviceClass; -/** Output only. Time when the ServiceConnectionMap was updated. */ +/** Output only. Time when the ServiceConnectionPolicy was updated. */ @property(nonatomic, strong, nullable) GTLRDateTime *updateTime; @end diff --git a/Sources/GeneratedServices/OracleDatabase/GTLROracleDatabaseObjects.m b/Sources/GeneratedServices/OracleDatabase/GTLROracleDatabaseObjects.m new file mode 100644 index 000000000..0f4692624 --- /dev/null +++ b/Sources/GeneratedServices/OracleDatabase/GTLROracleDatabaseObjects.m @@ -0,0 +1,1250 @@ +// NOTE: This file was generated by the ServiceGenerator. + +// ---------------------------------------------------------------------------- +// API: +// Oracle Database@Google Cloud API (oracledatabase/v1) +// Description: +// The Oracle Database@Google Cloud API provides a set of APIs to manage +// Oracle database services, such as Exadata and Autonomous Databases. +// Documentation: +// https://cloud.google.com/oracle/database/docs + +#import + +// ---------------------------------------------------------------------------- +// Constants + +// GTLROracleDatabase_AutonomousDatabaseBackupProperties.lifecycleState +NSString * const kGTLROracleDatabase_AutonomousDatabaseBackupProperties_LifecycleState_Active = @"ACTIVE"; +NSString * const kGTLROracleDatabase_AutonomousDatabaseBackupProperties_LifecycleState_Creating = @"CREATING"; +NSString * const kGTLROracleDatabase_AutonomousDatabaseBackupProperties_LifecycleState_Deleted = @"DELETED"; +NSString * const kGTLROracleDatabase_AutonomousDatabaseBackupProperties_LifecycleState_Deleting = @"DELETING"; +NSString * const kGTLROracleDatabase_AutonomousDatabaseBackupProperties_LifecycleState_Failed = @"FAILED"; +NSString * const kGTLROracleDatabase_AutonomousDatabaseBackupProperties_LifecycleState_StateUnspecified = @"STATE_UNSPECIFIED"; +NSString * const kGTLROracleDatabase_AutonomousDatabaseBackupProperties_LifecycleState_Updating = @"UPDATING"; + +// GTLROracleDatabase_AutonomousDatabaseBackupProperties.type +NSString * const kGTLROracleDatabase_AutonomousDatabaseBackupProperties_Type_Full = @"FULL"; +NSString * const kGTLROracleDatabase_AutonomousDatabaseBackupProperties_Type_Incremental = @"INCREMENTAL"; +NSString * const kGTLROracleDatabase_AutonomousDatabaseBackupProperties_Type_LongTerm = @"LONG_TERM"; +NSString * const kGTLROracleDatabase_AutonomousDatabaseBackupProperties_Type_TypeUnspecified = @"TYPE_UNSPECIFIED"; + +// GTLROracleDatabase_AutonomousDatabaseCharacterSet.characterSetType +NSString * const kGTLROracleDatabase_AutonomousDatabaseCharacterSet_CharacterSetType_CharacterSetTypeUnspecified = @"CHARACTER_SET_TYPE_UNSPECIFIED"; +NSString * const kGTLROracleDatabase_AutonomousDatabaseCharacterSet_CharacterSetType_Database = @"DATABASE"; +NSString * const kGTLROracleDatabase_AutonomousDatabaseCharacterSet_CharacterSetType_National = @"NATIONAL"; + +// GTLROracleDatabase_AutonomousDatabaseProperties.databaseManagementState +NSString * const kGTLROracleDatabase_AutonomousDatabaseProperties_DatabaseManagementState_DatabaseManagementStateUnspecified = @"DATABASE_MANAGEMENT_STATE_UNSPECIFIED"; +NSString * const kGTLROracleDatabase_AutonomousDatabaseProperties_DatabaseManagementState_Disabling = @"DISABLING"; +NSString * const kGTLROracleDatabase_AutonomousDatabaseProperties_DatabaseManagementState_Enabled = @"ENABLED"; +NSString * const kGTLROracleDatabase_AutonomousDatabaseProperties_DatabaseManagementState_Enabling = @"ENABLING"; +NSString * const kGTLROracleDatabase_AutonomousDatabaseProperties_DatabaseManagementState_FailedDisabling = @"FAILED_DISABLING"; +NSString * const kGTLROracleDatabase_AutonomousDatabaseProperties_DatabaseManagementState_FailedEnabling = @"FAILED_ENABLING"; +NSString * const kGTLROracleDatabase_AutonomousDatabaseProperties_DatabaseManagementState_NotEnabled = @"NOT_ENABLED"; + +// GTLROracleDatabase_AutonomousDatabaseProperties.dataSafeState +NSString * const kGTLROracleDatabase_AutonomousDatabaseProperties_DataSafeState_DataSafeStateUnspecified = @"DATA_SAFE_STATE_UNSPECIFIED"; +NSString * const kGTLROracleDatabase_AutonomousDatabaseProperties_DataSafeState_Deregistering = @"DEREGISTERING"; +NSString * const kGTLROracleDatabase_AutonomousDatabaseProperties_DataSafeState_Failed = @"FAILED"; +NSString * const kGTLROracleDatabase_AutonomousDatabaseProperties_DataSafeState_NotRegistered = @"NOT_REGISTERED"; +NSString * const kGTLROracleDatabase_AutonomousDatabaseProperties_DataSafeState_Registered = @"REGISTERED"; +NSString * const kGTLROracleDatabase_AutonomousDatabaseProperties_DataSafeState_Registering = @"REGISTERING"; + +// GTLROracleDatabase_AutonomousDatabaseProperties.dbEdition +NSString * const kGTLROracleDatabase_AutonomousDatabaseProperties_DbEdition_DatabaseEditionUnspecified = @"DATABASE_EDITION_UNSPECIFIED"; +NSString * const kGTLROracleDatabase_AutonomousDatabaseProperties_DbEdition_EnterpriseEdition = @"ENTERPRISE_EDITION"; +NSString * const kGTLROracleDatabase_AutonomousDatabaseProperties_DbEdition_StandardEdition = @"STANDARD_EDITION"; + +// GTLROracleDatabase_AutonomousDatabaseProperties.dbWorkload +NSString * const kGTLROracleDatabase_AutonomousDatabaseProperties_DbWorkload_Ajd = @"AJD"; +NSString * const kGTLROracleDatabase_AutonomousDatabaseProperties_DbWorkload_Apex = @"APEX"; +NSString * const kGTLROracleDatabase_AutonomousDatabaseProperties_DbWorkload_DbWorkloadUnspecified = @"DB_WORKLOAD_UNSPECIFIED"; +NSString * const kGTLROracleDatabase_AutonomousDatabaseProperties_DbWorkload_Dw = @"DW"; +NSString * const kGTLROracleDatabase_AutonomousDatabaseProperties_DbWorkload_Oltp = @"OLTP"; + +// GTLROracleDatabase_AutonomousDatabaseProperties.licenseType +NSString * const kGTLROracleDatabase_AutonomousDatabaseProperties_LicenseType_BringYourOwnLicense = @"BRING_YOUR_OWN_LICENSE"; +NSString * const kGTLROracleDatabase_AutonomousDatabaseProperties_LicenseType_LicenseIncluded = @"LICENSE_INCLUDED"; +NSString * const kGTLROracleDatabase_AutonomousDatabaseProperties_LicenseType_LicenseTypeUnspecified = @"LICENSE_TYPE_UNSPECIFIED"; + +// GTLROracleDatabase_AutonomousDatabaseProperties.localDisasterRecoveryType +NSString * const kGTLROracleDatabase_AutonomousDatabaseProperties_LocalDisasterRecoveryType_Adg = @"ADG"; +NSString * const kGTLROracleDatabase_AutonomousDatabaseProperties_LocalDisasterRecoveryType_BackupBased = @"BACKUP_BASED"; +NSString * const kGTLROracleDatabase_AutonomousDatabaseProperties_LocalDisasterRecoveryType_LocalDisasterRecoveryTypeUnspecified = @"LOCAL_DISASTER_RECOVERY_TYPE_UNSPECIFIED"; + +// GTLROracleDatabase_AutonomousDatabaseProperties.maintenanceScheduleType +NSString * const kGTLROracleDatabase_AutonomousDatabaseProperties_MaintenanceScheduleType_Early = @"EARLY"; +NSString * const kGTLROracleDatabase_AutonomousDatabaseProperties_MaintenanceScheduleType_MaintenanceScheduleTypeUnspecified = @"MAINTENANCE_SCHEDULE_TYPE_UNSPECIFIED"; +NSString * const kGTLROracleDatabase_AutonomousDatabaseProperties_MaintenanceScheduleType_Regular = @"REGULAR"; + +// GTLROracleDatabase_AutonomousDatabaseProperties.openMode +NSString * const kGTLROracleDatabase_AutonomousDatabaseProperties_OpenMode_OpenModeUnspecified = @"OPEN_MODE_UNSPECIFIED"; +NSString * const kGTLROracleDatabase_AutonomousDatabaseProperties_OpenMode_ReadOnly = @"READ_ONLY"; +NSString * const kGTLROracleDatabase_AutonomousDatabaseProperties_OpenMode_ReadWrite = @"READ_WRITE"; + +// GTLROracleDatabase_AutonomousDatabaseProperties.operationsInsightsState +NSString * const kGTLROracleDatabase_AutonomousDatabaseProperties_OperationsInsightsState_Disabling = @"DISABLING"; +NSString * const kGTLROracleDatabase_AutonomousDatabaseProperties_OperationsInsightsState_Enabled = @"ENABLED"; +NSString * const kGTLROracleDatabase_AutonomousDatabaseProperties_OperationsInsightsState_Enabling = @"ENABLING"; +NSString * const kGTLROracleDatabase_AutonomousDatabaseProperties_OperationsInsightsState_FailedDisabling = @"FAILED_DISABLING"; +NSString * const kGTLROracleDatabase_AutonomousDatabaseProperties_OperationsInsightsState_FailedEnabling = @"FAILED_ENABLING"; +NSString * const kGTLROracleDatabase_AutonomousDatabaseProperties_OperationsInsightsState_NotEnabled = @"NOT_ENABLED"; +NSString * const kGTLROracleDatabase_AutonomousDatabaseProperties_OperationsInsightsState_OperationsInsightsStateUnspecified = @"OPERATIONS_INSIGHTS_STATE_UNSPECIFIED"; + +// GTLROracleDatabase_AutonomousDatabaseProperties.permissionLevel +NSString * const kGTLROracleDatabase_AutonomousDatabaseProperties_PermissionLevel_PermissionLevelUnspecified = @"PERMISSION_LEVEL_UNSPECIFIED"; +NSString * const kGTLROracleDatabase_AutonomousDatabaseProperties_PermissionLevel_Restricted = @"RESTRICTED"; +NSString * const kGTLROracleDatabase_AutonomousDatabaseProperties_PermissionLevel_Unrestricted = @"UNRESTRICTED"; + +// GTLROracleDatabase_AutonomousDatabaseProperties.refreshableMode +NSString * const kGTLROracleDatabase_AutonomousDatabaseProperties_RefreshableMode_Automatic = @"AUTOMATIC"; +NSString * const kGTLROracleDatabase_AutonomousDatabaseProperties_RefreshableMode_Manual = @"MANUAL"; +NSString * const kGTLROracleDatabase_AutonomousDatabaseProperties_RefreshableMode_RefreshableModeUnspecified = @"REFRESHABLE_MODE_UNSPECIFIED"; + +// GTLROracleDatabase_AutonomousDatabaseProperties.refreshableState +NSString * const kGTLROracleDatabase_AutonomousDatabaseProperties_RefreshableState_NotRefreshing = @"NOT_REFRESHING"; +NSString * const kGTLROracleDatabase_AutonomousDatabaseProperties_RefreshableState_RefreshableStateUnspecified = @"REFRESHABLE_STATE_UNSPECIFIED"; +NSString * const kGTLROracleDatabase_AutonomousDatabaseProperties_RefreshableState_Refreshing = @"REFRESHING"; + +// GTLROracleDatabase_AutonomousDatabaseProperties.role +NSString * const kGTLROracleDatabase_AutonomousDatabaseProperties_Role_BackupCopy = @"BACKUP_COPY"; +NSString * const kGTLROracleDatabase_AutonomousDatabaseProperties_Role_DisabledStandby = @"DISABLED_STANDBY"; +NSString * const kGTLROracleDatabase_AutonomousDatabaseProperties_Role_Primary = @"PRIMARY"; +NSString * const kGTLROracleDatabase_AutonomousDatabaseProperties_Role_RoleUnspecified = @"ROLE_UNSPECIFIED"; +NSString * const kGTLROracleDatabase_AutonomousDatabaseProperties_Role_SnapshotStandby = @"SNAPSHOT_STANDBY"; +NSString * const kGTLROracleDatabase_AutonomousDatabaseProperties_Role_Standby = @"STANDBY"; + +// GTLROracleDatabase_AutonomousDatabaseProperties.state +NSString * const kGTLROracleDatabase_AutonomousDatabaseProperties_State_Available = @"AVAILABLE"; +NSString * const kGTLROracleDatabase_AutonomousDatabaseProperties_State_AvailableNeedsAttention = @"AVAILABLE_NEEDS_ATTENTION"; +NSString * const kGTLROracleDatabase_AutonomousDatabaseProperties_State_BackupInProgress = @"BACKUP_IN_PROGRESS"; +NSString * const kGTLROracleDatabase_AutonomousDatabaseProperties_State_Inaccessible = @"INACCESSIBLE"; +NSString * const kGTLROracleDatabase_AutonomousDatabaseProperties_State_MaintenanceInProgress = @"MAINTENANCE_IN_PROGRESS"; +NSString * const kGTLROracleDatabase_AutonomousDatabaseProperties_State_Provisioning = @"PROVISIONING"; +NSString * const kGTLROracleDatabase_AutonomousDatabaseProperties_State_Recreating = @"RECREATING"; +NSString * const kGTLROracleDatabase_AutonomousDatabaseProperties_State_Restarting = @"RESTARTING"; +NSString * const kGTLROracleDatabase_AutonomousDatabaseProperties_State_RestoreFailed = @"RESTORE_FAILED"; +NSString * const kGTLROracleDatabase_AutonomousDatabaseProperties_State_RestoreInProgress = @"RESTORE_IN_PROGRESS"; +NSString * const kGTLROracleDatabase_AutonomousDatabaseProperties_State_RoleChangeInProgress = @"ROLE_CHANGE_IN_PROGRESS"; +NSString * const kGTLROracleDatabase_AutonomousDatabaseProperties_State_ScaleInProgress = @"SCALE_IN_PROGRESS"; +NSString * const kGTLROracleDatabase_AutonomousDatabaseProperties_State_Standby = @"STANDBY"; +NSString * const kGTLROracleDatabase_AutonomousDatabaseProperties_State_Starting = @"STARTING"; +NSString * const kGTLROracleDatabase_AutonomousDatabaseProperties_State_StateUnspecified = @"STATE_UNSPECIFIED"; +NSString * const kGTLROracleDatabase_AutonomousDatabaseProperties_State_Stopped = @"STOPPED"; +NSString * const kGTLROracleDatabase_AutonomousDatabaseProperties_State_Stopping = @"STOPPING"; +NSString * const kGTLROracleDatabase_AutonomousDatabaseProperties_State_Terminated = @"TERMINATED"; +NSString * const kGTLROracleDatabase_AutonomousDatabaseProperties_State_Terminating = @"TERMINATING"; +NSString * const kGTLROracleDatabase_AutonomousDatabaseProperties_State_Unavailable = @"UNAVAILABLE"; +NSString * const kGTLROracleDatabase_AutonomousDatabaseProperties_State_Updating = @"UPDATING"; +NSString * const kGTLROracleDatabase_AutonomousDatabaseProperties_State_Upgrading = @"UPGRADING"; + +// GTLROracleDatabase_AutonomousDatabaseStandbySummary.state +NSString * const kGTLROracleDatabase_AutonomousDatabaseStandbySummary_State_Available = @"AVAILABLE"; +NSString * const kGTLROracleDatabase_AutonomousDatabaseStandbySummary_State_AvailableNeedsAttention = @"AVAILABLE_NEEDS_ATTENTION"; +NSString * const kGTLROracleDatabase_AutonomousDatabaseStandbySummary_State_BackupInProgress = @"BACKUP_IN_PROGRESS"; +NSString * const kGTLROracleDatabase_AutonomousDatabaseStandbySummary_State_Inaccessible = @"INACCESSIBLE"; +NSString * const kGTLROracleDatabase_AutonomousDatabaseStandbySummary_State_MaintenanceInProgress = @"MAINTENANCE_IN_PROGRESS"; +NSString * const kGTLROracleDatabase_AutonomousDatabaseStandbySummary_State_Provisioning = @"PROVISIONING"; +NSString * const kGTLROracleDatabase_AutonomousDatabaseStandbySummary_State_Recreating = @"RECREATING"; +NSString * const kGTLROracleDatabase_AutonomousDatabaseStandbySummary_State_Restarting = @"RESTARTING"; +NSString * const kGTLROracleDatabase_AutonomousDatabaseStandbySummary_State_RestoreFailed = @"RESTORE_FAILED"; +NSString * const kGTLROracleDatabase_AutonomousDatabaseStandbySummary_State_RestoreInProgress = @"RESTORE_IN_PROGRESS"; +NSString * const kGTLROracleDatabase_AutonomousDatabaseStandbySummary_State_RoleChangeInProgress = @"ROLE_CHANGE_IN_PROGRESS"; +NSString * const kGTLROracleDatabase_AutonomousDatabaseStandbySummary_State_ScaleInProgress = @"SCALE_IN_PROGRESS"; +NSString * const kGTLROracleDatabase_AutonomousDatabaseStandbySummary_State_Standby = @"STANDBY"; +NSString * const kGTLROracleDatabase_AutonomousDatabaseStandbySummary_State_Starting = @"STARTING"; +NSString * const kGTLROracleDatabase_AutonomousDatabaseStandbySummary_State_StateUnspecified = @"STATE_UNSPECIFIED"; +NSString * const kGTLROracleDatabase_AutonomousDatabaseStandbySummary_State_Stopped = @"STOPPED"; +NSString * const kGTLROracleDatabase_AutonomousDatabaseStandbySummary_State_Stopping = @"STOPPING"; +NSString * const kGTLROracleDatabase_AutonomousDatabaseStandbySummary_State_Terminated = @"TERMINATED"; +NSString * const kGTLROracleDatabase_AutonomousDatabaseStandbySummary_State_Terminating = @"TERMINATING"; +NSString * const kGTLROracleDatabase_AutonomousDatabaseStandbySummary_State_Unavailable = @"UNAVAILABLE"; +NSString * const kGTLROracleDatabase_AutonomousDatabaseStandbySummary_State_Updating = @"UPDATING"; +NSString * const kGTLROracleDatabase_AutonomousDatabaseStandbySummary_State_Upgrading = @"UPGRADING"; + +// GTLROracleDatabase_AutonomousDbVersion.dbWorkload +NSString * const kGTLROracleDatabase_AutonomousDbVersion_DbWorkload_Ajd = @"AJD"; +NSString * const kGTLROracleDatabase_AutonomousDbVersion_DbWorkload_Apex = @"APEX"; +NSString * const kGTLROracleDatabase_AutonomousDbVersion_DbWorkload_DbWorkloadUnspecified = @"DB_WORKLOAD_UNSPECIFIED"; +NSString * const kGTLROracleDatabase_AutonomousDbVersion_DbWorkload_Dw = @"DW"; +NSString * const kGTLROracleDatabase_AutonomousDbVersion_DbWorkload_Oltp = @"OLTP"; + +// GTLROracleDatabase_CloudExadataInfrastructureProperties.state +NSString * const kGTLROracleDatabase_CloudExadataInfrastructureProperties_State_Available = @"AVAILABLE"; +NSString * const kGTLROracleDatabase_CloudExadataInfrastructureProperties_State_Failed = @"FAILED"; +NSString * const kGTLROracleDatabase_CloudExadataInfrastructureProperties_State_MaintenanceInProgress = @"MAINTENANCE_IN_PROGRESS"; +NSString * const kGTLROracleDatabase_CloudExadataInfrastructureProperties_State_Provisioning = @"PROVISIONING"; +NSString * const kGTLROracleDatabase_CloudExadataInfrastructureProperties_State_StateUnspecified = @"STATE_UNSPECIFIED"; +NSString * const kGTLROracleDatabase_CloudExadataInfrastructureProperties_State_Terminated = @"TERMINATED"; +NSString * const kGTLROracleDatabase_CloudExadataInfrastructureProperties_State_Terminating = @"TERMINATING"; +NSString * const kGTLROracleDatabase_CloudExadataInfrastructureProperties_State_Updating = @"UPDATING"; + +// GTLROracleDatabase_CloudVmClusterProperties.diskRedundancy +NSString * const kGTLROracleDatabase_CloudVmClusterProperties_DiskRedundancy_DiskRedundancyUnspecified = @"DISK_REDUNDANCY_UNSPECIFIED"; +NSString * const kGTLROracleDatabase_CloudVmClusterProperties_DiskRedundancy_High = @"HIGH"; +NSString * const kGTLROracleDatabase_CloudVmClusterProperties_DiskRedundancy_Normal = @"NORMAL"; + +// GTLROracleDatabase_CloudVmClusterProperties.licenseType +NSString * const kGTLROracleDatabase_CloudVmClusterProperties_LicenseType_BringYourOwnLicense = @"BRING_YOUR_OWN_LICENSE"; +NSString * const kGTLROracleDatabase_CloudVmClusterProperties_LicenseType_LicenseIncluded = @"LICENSE_INCLUDED"; +NSString * const kGTLROracleDatabase_CloudVmClusterProperties_LicenseType_LicenseTypeUnspecified = @"LICENSE_TYPE_UNSPECIFIED"; + +// GTLROracleDatabase_CloudVmClusterProperties.state +NSString * const kGTLROracleDatabase_CloudVmClusterProperties_State_Available = @"AVAILABLE"; +NSString * const kGTLROracleDatabase_CloudVmClusterProperties_State_Failed = @"FAILED"; +NSString * const kGTLROracleDatabase_CloudVmClusterProperties_State_MaintenanceInProgress = @"MAINTENANCE_IN_PROGRESS"; +NSString * const kGTLROracleDatabase_CloudVmClusterProperties_State_Provisioning = @"PROVISIONING"; +NSString * const kGTLROracleDatabase_CloudVmClusterProperties_State_StateUnspecified = @"STATE_UNSPECIFIED"; +NSString * const kGTLROracleDatabase_CloudVmClusterProperties_State_Terminated = @"TERMINATED"; +NSString * const kGTLROracleDatabase_CloudVmClusterProperties_State_Terminating = @"TERMINATING"; +NSString * const kGTLROracleDatabase_CloudVmClusterProperties_State_Updating = @"UPDATING"; + +// GTLROracleDatabase_DatabaseConnectionStringProfile.consumerGroup +NSString * const kGTLROracleDatabase_DatabaseConnectionStringProfile_ConsumerGroup_ConsumerGroupUnspecified = @"CONSUMER_GROUP_UNSPECIFIED"; +NSString * const kGTLROracleDatabase_DatabaseConnectionStringProfile_ConsumerGroup_High = @"HIGH"; +NSString * const kGTLROracleDatabase_DatabaseConnectionStringProfile_ConsumerGroup_Low = @"LOW"; +NSString * const kGTLROracleDatabase_DatabaseConnectionStringProfile_ConsumerGroup_Medium = @"MEDIUM"; +NSString * const kGTLROracleDatabase_DatabaseConnectionStringProfile_ConsumerGroup_Tp = @"TP"; +NSString * const kGTLROracleDatabase_DatabaseConnectionStringProfile_ConsumerGroup_Tpurgent = @"TPURGENT"; + +// GTLROracleDatabase_DatabaseConnectionStringProfile.hostFormat +NSString * const kGTLROracleDatabase_DatabaseConnectionStringProfile_HostFormat_Fqdn = @"FQDN"; +NSString * const kGTLROracleDatabase_DatabaseConnectionStringProfile_HostFormat_HostFormatUnspecified = @"HOST_FORMAT_UNSPECIFIED"; +NSString * const kGTLROracleDatabase_DatabaseConnectionStringProfile_HostFormat_Ip = @"IP"; + +// GTLROracleDatabase_DatabaseConnectionStringProfile.protocol +NSString * const kGTLROracleDatabase_DatabaseConnectionStringProfile_Protocol_ProtocolUnspecified = @"PROTOCOL_UNSPECIFIED"; +NSString * const kGTLROracleDatabase_DatabaseConnectionStringProfile_Protocol_Tcp = @"TCP"; +NSString * const kGTLROracleDatabase_DatabaseConnectionStringProfile_Protocol_Tcps = @"TCPS"; + +// GTLROracleDatabase_DatabaseConnectionStringProfile.sessionMode +NSString * const kGTLROracleDatabase_DatabaseConnectionStringProfile_SessionMode_Direct = @"DIRECT"; +NSString * const kGTLROracleDatabase_DatabaseConnectionStringProfile_SessionMode_Indirect = @"INDIRECT"; +NSString * const kGTLROracleDatabase_DatabaseConnectionStringProfile_SessionMode_SessionModeUnspecified = @"SESSION_MODE_UNSPECIFIED"; + +// GTLROracleDatabase_DatabaseConnectionStringProfile.syntaxFormat +NSString * const kGTLROracleDatabase_DatabaseConnectionStringProfile_SyntaxFormat_Ezconnect = @"EZCONNECT"; +NSString * const kGTLROracleDatabase_DatabaseConnectionStringProfile_SyntaxFormat_Ezconnectplus = @"EZCONNECTPLUS"; +NSString * const kGTLROracleDatabase_DatabaseConnectionStringProfile_SyntaxFormat_Long = @"LONG"; +NSString * const kGTLROracleDatabase_DatabaseConnectionStringProfile_SyntaxFormat_SyntaxFormatUnspecified = @"SYNTAX_FORMAT_UNSPECIFIED"; + +// GTLROracleDatabase_DatabaseConnectionStringProfile.tlsAuthentication +NSString * const kGTLROracleDatabase_DatabaseConnectionStringProfile_TlsAuthentication_Mutual = @"MUTUAL"; +NSString * const kGTLROracleDatabase_DatabaseConnectionStringProfile_TlsAuthentication_Server = @"SERVER"; +NSString * const kGTLROracleDatabase_DatabaseConnectionStringProfile_TlsAuthentication_TlsAuthenticationUnspecified = @"TLS_AUTHENTICATION_UNSPECIFIED"; + +// GTLROracleDatabase_DbNodeProperties.state +NSString * const kGTLROracleDatabase_DbNodeProperties_State_Available = @"AVAILABLE"; +NSString * const kGTLROracleDatabase_DbNodeProperties_State_Failed = @"FAILED"; +NSString * const kGTLROracleDatabase_DbNodeProperties_State_Provisioning = @"PROVISIONING"; +NSString * const kGTLROracleDatabase_DbNodeProperties_State_Starting = @"STARTING"; +NSString * const kGTLROracleDatabase_DbNodeProperties_State_StateUnspecified = @"STATE_UNSPECIFIED"; +NSString * const kGTLROracleDatabase_DbNodeProperties_State_Stopped = @"STOPPED"; +NSString * const kGTLROracleDatabase_DbNodeProperties_State_Stopping = @"STOPPING"; +NSString * const kGTLROracleDatabase_DbNodeProperties_State_Terminated = @"TERMINATED"; +NSString * const kGTLROracleDatabase_DbNodeProperties_State_Terminating = @"TERMINATING"; +NSString * const kGTLROracleDatabase_DbNodeProperties_State_Updating = @"UPDATING"; + +// GTLROracleDatabase_DbServerProperties.state +NSString * const kGTLROracleDatabase_DbServerProperties_State_Available = @"AVAILABLE"; +NSString * const kGTLROracleDatabase_DbServerProperties_State_Creating = @"CREATING"; +NSString * const kGTLROracleDatabase_DbServerProperties_State_Deleted = @"DELETED"; +NSString * const kGTLROracleDatabase_DbServerProperties_State_Deleting = @"DELETING"; +NSString * const kGTLROracleDatabase_DbServerProperties_State_StateUnspecified = @"STATE_UNSPECIFIED"; +NSString * const kGTLROracleDatabase_DbServerProperties_State_Unavailable = @"UNAVAILABLE"; + +// GTLROracleDatabase_Entitlement.state +NSString * const kGTLROracleDatabase_Entitlement_State_AccountNotActive = @"ACCOUNT_NOT_ACTIVE"; +NSString * const kGTLROracleDatabase_Entitlement_State_AccountNotLinked = @"ACCOUNT_NOT_LINKED"; +NSString * const kGTLROracleDatabase_Entitlement_State_Active = @"ACTIVE"; +NSString * const kGTLROracleDatabase_Entitlement_State_StateUnspecified = @"STATE_UNSPECIFIED"; + +// GTLROracleDatabase_GenerateAutonomousDatabaseWalletRequest.type +NSString * const kGTLROracleDatabase_GenerateAutonomousDatabaseWalletRequest_Type_All = @"ALL"; +NSString * const kGTLROracleDatabase_GenerateAutonomousDatabaseWalletRequest_Type_GenerateTypeUnspecified = @"GENERATE_TYPE_UNSPECIFIED"; +NSString * const kGTLROracleDatabase_GenerateAutonomousDatabaseWalletRequest_Type_Single = @"SINGLE"; + +// GTLROracleDatabase_MaintenanceWindow.daysOfWeek +NSString * const kGTLROracleDatabase_MaintenanceWindow_DaysOfWeek_DayOfWeekUnspecified = @"DAY_OF_WEEK_UNSPECIFIED"; +NSString * const kGTLROracleDatabase_MaintenanceWindow_DaysOfWeek_Friday = @"FRIDAY"; +NSString * const kGTLROracleDatabase_MaintenanceWindow_DaysOfWeek_Monday = @"MONDAY"; +NSString * const kGTLROracleDatabase_MaintenanceWindow_DaysOfWeek_Saturday = @"SATURDAY"; +NSString * const kGTLROracleDatabase_MaintenanceWindow_DaysOfWeek_Sunday = @"SUNDAY"; +NSString * const kGTLROracleDatabase_MaintenanceWindow_DaysOfWeek_Thursday = @"THURSDAY"; +NSString * const kGTLROracleDatabase_MaintenanceWindow_DaysOfWeek_Tuesday = @"TUESDAY"; +NSString * const kGTLROracleDatabase_MaintenanceWindow_DaysOfWeek_Wednesday = @"WEDNESDAY"; + +// GTLROracleDatabase_MaintenanceWindow.months +NSString * const kGTLROracleDatabase_MaintenanceWindow_Months_April = @"APRIL"; +NSString * const kGTLROracleDatabase_MaintenanceWindow_Months_August = @"AUGUST"; +NSString * const kGTLROracleDatabase_MaintenanceWindow_Months_December = @"DECEMBER"; +NSString * const kGTLROracleDatabase_MaintenanceWindow_Months_February = @"FEBRUARY"; +NSString * const kGTLROracleDatabase_MaintenanceWindow_Months_January = @"JANUARY"; +NSString * const kGTLROracleDatabase_MaintenanceWindow_Months_July = @"JULY"; +NSString * const kGTLROracleDatabase_MaintenanceWindow_Months_June = @"JUNE"; +NSString * const kGTLROracleDatabase_MaintenanceWindow_Months_March = @"MARCH"; +NSString * const kGTLROracleDatabase_MaintenanceWindow_Months_May = @"MAY"; +NSString * const kGTLROracleDatabase_MaintenanceWindow_Months_MonthUnspecified = @"MONTH_UNSPECIFIED"; +NSString * const kGTLROracleDatabase_MaintenanceWindow_Months_November = @"NOVEMBER"; +NSString * const kGTLROracleDatabase_MaintenanceWindow_Months_October = @"OCTOBER"; +NSString * const kGTLROracleDatabase_MaintenanceWindow_Months_September = @"SEPTEMBER"; + +// GTLROracleDatabase_MaintenanceWindow.patchingMode +NSString * const kGTLROracleDatabase_MaintenanceWindow_PatchingMode_NonRolling = @"NON_ROLLING"; +NSString * const kGTLROracleDatabase_MaintenanceWindow_PatchingMode_PatchingModeUnspecified = @"PATCHING_MODE_UNSPECIFIED"; +NSString * const kGTLROracleDatabase_MaintenanceWindow_PatchingMode_Rolling = @"ROLLING"; + +// GTLROracleDatabase_MaintenanceWindow.preference +NSString * const kGTLROracleDatabase_MaintenanceWindow_Preference_CustomPreference = @"CUSTOM_PREFERENCE"; +NSString * const kGTLROracleDatabase_MaintenanceWindow_Preference_MaintenanceWindowPreferenceUnspecified = @"MAINTENANCE_WINDOW_PREFERENCE_UNSPECIFIED"; +NSString * const kGTLROracleDatabase_MaintenanceWindow_Preference_NoPreference = @"NO_PREFERENCE"; + +// GTLROracleDatabase_ScheduledOperationDetails.dayOfWeek +NSString * const kGTLROracleDatabase_ScheduledOperationDetails_DayOfWeek_DayOfWeekUnspecified = @"DAY_OF_WEEK_UNSPECIFIED"; +NSString * const kGTLROracleDatabase_ScheduledOperationDetails_DayOfWeek_Friday = @"FRIDAY"; +NSString * const kGTLROracleDatabase_ScheduledOperationDetails_DayOfWeek_Monday = @"MONDAY"; +NSString * const kGTLROracleDatabase_ScheduledOperationDetails_DayOfWeek_Saturday = @"SATURDAY"; +NSString * const kGTLROracleDatabase_ScheduledOperationDetails_DayOfWeek_Sunday = @"SUNDAY"; +NSString * const kGTLROracleDatabase_ScheduledOperationDetails_DayOfWeek_Thursday = @"THURSDAY"; +NSString * const kGTLROracleDatabase_ScheduledOperationDetails_DayOfWeek_Tuesday = @"TUESDAY"; +NSString * const kGTLROracleDatabase_ScheduledOperationDetails_DayOfWeek_Wednesday = @"WEDNESDAY"; + +// ---------------------------------------------------------------------------- +// +// GTLROracleDatabase_AllConnectionStrings +// + +@implementation GTLROracleDatabase_AllConnectionStrings +@dynamic high, low, medium; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLROracleDatabase_AutonomousDatabase +// + +@implementation GTLROracleDatabase_AutonomousDatabase +@dynamic adminPassword, cidr, createTime, database, displayName, entitlementId, + labels, name, network, properties; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLROracleDatabase_AutonomousDatabase_Labels +// + +@implementation GTLROracleDatabase_AutonomousDatabase_Labels + ++ (Class)classForAdditionalProperties { + return [NSString class]; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLROracleDatabase_AutonomousDatabaseApex +// + +@implementation GTLROracleDatabase_AutonomousDatabaseApex +@dynamic apexVersion, ordsVersion; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLROracleDatabase_AutonomousDatabaseBackup +// + +@implementation GTLROracleDatabase_AutonomousDatabaseBackup +@dynamic autonomousDatabase, displayName, labels, name, properties; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLROracleDatabase_AutonomousDatabaseBackup_Labels +// + +@implementation GTLROracleDatabase_AutonomousDatabaseBackup_Labels + ++ (Class)classForAdditionalProperties { + return [NSString class]; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLROracleDatabase_AutonomousDatabaseBackupProperties +// + +@implementation GTLROracleDatabase_AutonomousDatabaseBackupProperties +@dynamic availableTillTime, compartmentId, databaseSizeTb, dbVersion, endTime, + isAutomaticBackup, isLongTermBackup, isRestorable, keyStoreId, + keyStoreWallet, kmsKeyId, kmsKeyVersionId, lifecycleDetails, + lifecycleState, ocid, retentionPeriodDays, sizeTb, startTime, type, + vaultId; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLROracleDatabase_AutonomousDatabaseCharacterSet +// + +@implementation GTLROracleDatabase_AutonomousDatabaseCharacterSet +@dynamic characterSet, characterSetType, name; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLROracleDatabase_AutonomousDatabaseConnectionStrings +// + +@implementation GTLROracleDatabase_AutonomousDatabaseConnectionStrings +@dynamic allConnectionStrings, dedicated, high, low, medium, profiles; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"profiles" : [GTLROracleDatabase_DatabaseConnectionStringProfile class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLROracleDatabase_AutonomousDatabaseConnectionUrls +// + +@implementation GTLROracleDatabase_AutonomousDatabaseConnectionUrls +@dynamic apexUri, databaseTransformsUri, graphStudioUri, + machineLearningNotebookUri, machineLearningUserManagementUri, + mongoDbUri, ordsUri, sqlDevWebUri; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLROracleDatabase_AutonomousDatabaseProperties +// + +@implementation GTLROracleDatabase_AutonomousDatabaseProperties +@dynamic actualUsedDataStorageSizeTb, allocatedStorageSizeTb, apexDetails, + arePrimaryAllowlistedIpsUsed, autonomousContainerDatabaseId, + availableUpgradeVersions, backupRetentionPeriodDays, characterSet, + computeCount, connectionStrings, connectionUrls, cpuCoreCount, + customerContacts, databaseManagementState, dataSafeState, + dataStorageSizeGb, dataStorageSizeTb, dbEdition, dbVersion, dbWorkload, + failedDataRecoveryDuration, isAutoScalingEnabled, + isLocalDataGuardEnabled, isStorageAutoScalingEnabled, licenseType, + lifecycleDetails, localAdgAutoFailoverMaxDataLossLimit, + localDisasterRecoveryType, localStandbyDb, maintenanceBeginTime, + maintenanceEndTime, maintenanceScheduleType, + memoryPerOracleComputeUnitGbs, memoryTableGbs, mtlsConnectionRequired, + nCharacterSet, nextLongTermBackupTime, ocid, ociUrl, openMode, + operationsInsightsState, peerDbIds, permissionLevel, privateEndpoint, + privateEndpointIp, privateEndpointLabel, refreshableMode, + refreshableState, role, scheduledOperationDetails, secretId, + sqlWebDeveloperUrl, state, supportedCloneRegions, + totalAutoBackupStorageSizeGbs, usedDataStorageSizeTbs, vaultId; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"availableUpgradeVersions" : [NSString class], + @"customerContacts" : [GTLROracleDatabase_CustomerContact class], + @"peerDbIds" : [NSString class], + @"scheduledOperationDetails" : [GTLROracleDatabase_ScheduledOperationDetails class], + @"supportedCloneRegions" : [NSString class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLROracleDatabase_AutonomousDatabaseStandbySummary +// + +@implementation GTLROracleDatabase_AutonomousDatabaseStandbySummary +@dynamic dataGuardRoleChangedTime, disasterRecoveryRoleChangedTime, + lagTimeDuration, lifecycleDetails, state; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLROracleDatabase_AutonomousDbVersion +// + +@implementation GTLROracleDatabase_AutonomousDbVersion +@dynamic dbWorkload, name, version, workloadUri; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLROracleDatabase_CancelOperationRequest +// + +@implementation GTLROracleDatabase_CancelOperationRequest +@end + + +// ---------------------------------------------------------------------------- +// +// GTLROracleDatabase_CloudAccountDetails +// + +@implementation GTLROracleDatabase_CloudAccountDetails +@dynamic accountCreationUri, cloudAccount, cloudAccountHomeRegion, + linkExistingAccountUri; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLROracleDatabase_CloudExadataInfrastructure +// + +@implementation GTLROracleDatabase_CloudExadataInfrastructure +@dynamic createTime, displayName, entitlementId, gcpOracleZone, labels, name, + properties; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLROracleDatabase_CloudExadataInfrastructure_Labels +// + +@implementation GTLROracleDatabase_CloudExadataInfrastructure_Labels + ++ (Class)classForAdditionalProperties { + return [NSString class]; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLROracleDatabase_CloudExadataInfrastructureProperties +// + +@implementation GTLROracleDatabase_CloudExadataInfrastructureProperties +@dynamic activatedStorageCount, additionalStorageCount, availableStorageSizeGb, + computeCount, cpuCount, customerContacts, dataStorageSizeTb, + dbNodeStorageSizeGb, dbServerVersion, maintenanceWindow, maxCpuCount, + maxDataStorageTb, maxDbNodeStorageSizeGb, maxMemoryGb, memorySizeGb, + monthlyDbServerVersion, monthlyStorageServerVersion, + nextMaintenanceRunId, nextMaintenanceRunTime, + nextSecurityMaintenanceRunTime, ocid, ociUrl, shape, state, + storageCount, storageServerVersion, totalStorageSizeGb; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"customerContacts" : [GTLROracleDatabase_CustomerContact class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLROracleDatabase_CloudVmCluster +// + +@implementation GTLROracleDatabase_CloudVmCluster +@dynamic backupSubnetCidr, cidr, createTime, displayName, exadataInfrastructure, + gcpOracleZone, labels, name, network, properties; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLROracleDatabase_CloudVmCluster_Labels +// + +@implementation GTLROracleDatabase_CloudVmCluster_Labels + ++ (Class)classForAdditionalProperties { + return [NSString class]; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLROracleDatabase_CloudVmClusterProperties +// + +@implementation GTLROracleDatabase_CloudVmClusterProperties +@dynamic clusterName, compartmentId, cpuCoreCount, dataStorageSizeTb, + dbNodeStorageSizeGb, dbServerOcids, diagnosticsDataCollectionOptions, + diskRedundancy, dnsListenerIp, domain, giVersion, hostname, + hostnamePrefix, licenseType, localBackupEnabled, memorySizeGb, + nodeCount, ocid, ociUrl, ocpuCount, scanDns, scanDnsRecordId, + scanIpIds, scanListenerPortTcp, scanListenerPortTcpSsl, shape, + sparseDiskgroupEnabled, sshPublicKeys, state, storageSizeGb, + systemVersion, timeZone; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"dbServerOcids" : [NSString class], + @"scanIpIds" : [NSString class], + @"sshPublicKeys" : [NSString class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLROracleDatabase_CustomerContact +// + +@implementation GTLROracleDatabase_CustomerContact +@dynamic email; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLROracleDatabase_DatabaseConnectionStringProfile +// + +@implementation GTLROracleDatabase_DatabaseConnectionStringProfile +@dynamic consumerGroup, displayName, hostFormat, isRegional, protocol, + sessionMode, syntaxFormat, tlsAuthentication, value; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLROracleDatabase_DataCollectionOptions +// + +@implementation GTLROracleDatabase_DataCollectionOptions +@dynamic diagnosticsEventsEnabled, healthMonitoringEnabled, incidentLogsEnabled; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLROracleDatabase_DbNode +// + +@implementation GTLROracleDatabase_DbNode +@dynamic name, properties; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLROracleDatabase_DbNodeProperties +// + +@implementation GTLROracleDatabase_DbNodeProperties +@dynamic dbNodeStorageSizeGb, dbServerOcid, hostname, memorySizeGb, ocid, + ocpuCount, state, totalCpuCoreCount; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLROracleDatabase_DbServer +// + +@implementation GTLROracleDatabase_DbServer +@dynamic displayName, name, properties; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLROracleDatabase_DbServerProperties +// + +@implementation GTLROracleDatabase_DbServerProperties +@dynamic dbNodeIds, dbNodeStorageSizeGb, maxDbNodeStorageSizeGb, + maxMemorySizeGb, maxOcpuCount, memorySizeGb, ocid, ocpuCount, state, + vmCount; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"dbNodeIds" : [NSString class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLROracleDatabase_DbSystemShape +// + +@implementation GTLROracleDatabase_DbSystemShape +@dynamic availableCoreCountPerNode, availableDataStorageTb, + availableMemoryPerNodeGb, maxNodeCount, maxStorageCount, + minCoreCountPerNode, minDbNodeStoragePerNodeGb, minMemoryPerNodeGb, + minNodeCount, minStorageCount, name, shape; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLROracleDatabase_Empty +// + +@implementation GTLROracleDatabase_Empty +@end + + +// ---------------------------------------------------------------------------- +// +// GTLROracleDatabase_Entitlement +// + +@implementation GTLROracleDatabase_Entitlement +@dynamic cloudAccountDetails, entitlementId, name, state; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLROracleDatabase_GenerateAutonomousDatabaseWalletRequest +// + +@implementation GTLROracleDatabase_GenerateAutonomousDatabaseWalletRequest +@dynamic isRegional, password, type; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLROracleDatabase_GenerateAutonomousDatabaseWalletResponse +// + +@implementation GTLROracleDatabase_GenerateAutonomousDatabaseWalletResponse +@dynamic archiveContent; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLROracleDatabase_GiVersion +// + +@implementation GTLROracleDatabase_GiVersion +@dynamic name, version; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLROracleDatabase_ListAutonomousDatabaseBackupsResponse +// + +@implementation GTLROracleDatabase_ListAutonomousDatabaseBackupsResponse +@dynamic autonomousDatabaseBackups, nextPageToken; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"autonomousDatabaseBackups" : [GTLROracleDatabase_AutonomousDatabaseBackup class] + }; + return map; +} + ++ (NSString *)collectionItemsKey { + return @"autonomousDatabaseBackups"; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLROracleDatabase_ListAutonomousDatabaseCharacterSetsResponse +// + +@implementation GTLROracleDatabase_ListAutonomousDatabaseCharacterSetsResponse +@dynamic autonomousDatabaseCharacterSets, nextPageToken; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"autonomousDatabaseCharacterSets" : [GTLROracleDatabase_AutonomousDatabaseCharacterSet class] + }; + return map; +} + ++ (NSString *)collectionItemsKey { + return @"autonomousDatabaseCharacterSets"; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLROracleDatabase_ListAutonomousDatabasesResponse +// + +@implementation GTLROracleDatabase_ListAutonomousDatabasesResponse +@dynamic autonomousDatabases, nextPageToken; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"autonomousDatabases" : [GTLROracleDatabase_AutonomousDatabase class] + }; + return map; +} + ++ (NSString *)collectionItemsKey { + return @"autonomousDatabases"; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLROracleDatabase_ListAutonomousDbVersionsResponse +// + +@implementation GTLROracleDatabase_ListAutonomousDbVersionsResponse +@dynamic autonomousDbVersions, nextPageToken; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"autonomousDbVersions" : [GTLROracleDatabase_AutonomousDbVersion class] + }; + return map; +} + ++ (NSString *)collectionItemsKey { + return @"autonomousDbVersions"; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLROracleDatabase_ListCloudExadataInfrastructuresResponse +// + +@implementation GTLROracleDatabase_ListCloudExadataInfrastructuresResponse +@dynamic cloudExadataInfrastructures, nextPageToken; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"cloudExadataInfrastructures" : [GTLROracleDatabase_CloudExadataInfrastructure class] + }; + return map; +} + ++ (NSString *)collectionItemsKey { + return @"cloudExadataInfrastructures"; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLROracleDatabase_ListCloudVmClustersResponse +// + +@implementation GTLROracleDatabase_ListCloudVmClustersResponse +@dynamic cloudVmClusters, nextPageToken; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"cloudVmClusters" : [GTLROracleDatabase_CloudVmCluster class] + }; + return map; +} + ++ (NSString *)collectionItemsKey { + return @"cloudVmClusters"; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLROracleDatabase_ListDbNodesResponse +// + +@implementation GTLROracleDatabase_ListDbNodesResponse +@dynamic dbNodes, nextPageToken; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"dbNodes" : [GTLROracleDatabase_DbNode class] + }; + return map; +} + ++ (NSString *)collectionItemsKey { + return @"dbNodes"; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLROracleDatabase_ListDbServersResponse +// + +@implementation GTLROracleDatabase_ListDbServersResponse +@dynamic dbServers, nextPageToken; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"dbServers" : [GTLROracleDatabase_DbServer class] + }; + return map; +} + ++ (NSString *)collectionItemsKey { + return @"dbServers"; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLROracleDatabase_ListDbSystemShapesResponse +// + +@implementation GTLROracleDatabase_ListDbSystemShapesResponse +@dynamic dbSystemShapes, nextPageToken; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"dbSystemShapes" : [GTLROracleDatabase_DbSystemShape class] + }; + return map; +} + ++ (NSString *)collectionItemsKey { + return @"dbSystemShapes"; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLROracleDatabase_ListEntitlementsResponse +// + +@implementation GTLROracleDatabase_ListEntitlementsResponse +@dynamic entitlements, nextPageToken; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"entitlements" : [GTLROracleDatabase_Entitlement class] + }; + return map; +} + ++ (NSString *)collectionItemsKey { + return @"entitlements"; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLROracleDatabase_ListGiVersionsResponse +// + +@implementation GTLROracleDatabase_ListGiVersionsResponse +@dynamic giVersions, nextPageToken; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"giVersions" : [GTLROracleDatabase_GiVersion class] + }; + return map; +} + ++ (NSString *)collectionItemsKey { + return @"giVersions"; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLROracleDatabase_ListLocationsResponse +// + +@implementation GTLROracleDatabase_ListLocationsResponse +@dynamic locations, nextPageToken; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"locations" : [GTLROracleDatabase_Location class] + }; + return map; +} + ++ (NSString *)collectionItemsKey { + return @"locations"; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLROracleDatabase_ListOperationsResponse +// + +@implementation GTLROracleDatabase_ListOperationsResponse +@dynamic nextPageToken, operations; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"operations" : [GTLROracleDatabase_Operation class] + }; + return map; +} + ++ (NSString *)collectionItemsKey { + return @"operations"; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLROracleDatabase_Location +// + +@implementation GTLROracleDatabase_Location +@dynamic displayName, labels, locationId, metadata, name; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLROracleDatabase_Location_Labels +// + +@implementation GTLROracleDatabase_Location_Labels + ++ (Class)classForAdditionalProperties { + return [NSString class]; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLROracleDatabase_Location_Metadata +// + +@implementation GTLROracleDatabase_Location_Metadata + ++ (Class)classForAdditionalProperties { + return [NSObject class]; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLROracleDatabase_LocationMetadata +// + +@implementation GTLROracleDatabase_LocationMetadata +@dynamic gcpOracleZones; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"gcpOracleZones" : [NSString class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLROracleDatabase_MaintenanceWindow +// + +@implementation GTLROracleDatabase_MaintenanceWindow +@dynamic customActionTimeoutMins, daysOfWeek, hoursOfDay, + isCustomActionTimeoutEnabled, leadTimeWeek, months, patchingMode, + preference, weeksOfMonth; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"daysOfWeek" : [NSString class], + @"hoursOfDay" : [NSNumber class], + @"months" : [NSString class], + @"weeksOfMonth" : [NSNumber class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLROracleDatabase_Operation +// + +@implementation GTLROracleDatabase_Operation +@dynamic done, error, metadata, name, response; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLROracleDatabase_Operation_Metadata +// + +@implementation GTLROracleDatabase_Operation_Metadata + ++ (Class)classForAdditionalProperties { + return [NSObject class]; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLROracleDatabase_Operation_Response +// + +@implementation GTLROracleDatabase_Operation_Response + ++ (Class)classForAdditionalProperties { + return [NSObject class]; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLROracleDatabase_OperationMetadata +// + +@implementation GTLROracleDatabase_OperationMetadata +@dynamic apiVersion, createTime, endTime, percentComplete, + requestedCancellation, statusMessage, target, verb; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLROracleDatabase_RestoreAutonomousDatabaseRequest +// + +@implementation GTLROracleDatabase_RestoreAutonomousDatabaseRequest +@dynamic restoreTime; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLROracleDatabase_ScheduledOperationDetails +// + +@implementation GTLROracleDatabase_ScheduledOperationDetails +@dynamic dayOfWeek, startTime, stopTime; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLROracleDatabase_Status +// + +@implementation GTLROracleDatabase_Status +@dynamic code, details, message; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"details" : [GTLROracleDatabase_Status_Details_Item class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLROracleDatabase_Status_Details_Item +// + +@implementation GTLROracleDatabase_Status_Details_Item + ++ (Class)classForAdditionalProperties { + return [NSObject class]; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLROracleDatabase_TimeOfDay +// + +@implementation GTLROracleDatabase_TimeOfDay +@dynamic hours, minutes, nanos, seconds; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLROracleDatabase_TimeZone +// + +@implementation GTLROracleDatabase_TimeZone +@dynamic identifier, version; + ++ (NSDictionary *)propertyToJSONKeyMap { + return @{ @"identifier" : @"id" }; +} + +@end diff --git a/Sources/GeneratedServices/OracleDatabase/GTLROracleDatabaseQuery.m b/Sources/GeneratedServices/OracleDatabase/GTLROracleDatabaseQuery.m new file mode 100644 index 000000000..a84a6d6ca --- /dev/null +++ b/Sources/GeneratedServices/OracleDatabase/GTLROracleDatabaseQuery.m @@ -0,0 +1,598 @@ +// NOTE: This file was generated by the ServiceGenerator. + +// ---------------------------------------------------------------------------- +// API: +// Oracle Database@Google Cloud API (oracledatabase/v1) +// Description: +// The Oracle Database@Google Cloud API provides a set of APIs to manage +// Oracle database services, such as Exadata and Autonomous Databases. +// Documentation: +// https://cloud.google.com/oracle/database/docs + +#import + +@implementation GTLROracleDatabaseQuery + +@dynamic fields; + +@end + +@implementation GTLROracleDatabaseQuery_ProjectsLocationsAutonomousDatabaseBackupsList + +@dynamic filter, pageSize, pageToken, parent; + ++ (instancetype)queryWithParent:(NSString *)parent { + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v1/{+parent}/autonomousDatabaseBackups"; + GTLROracleDatabaseQuery_ProjectsLocationsAutonomousDatabaseBackupsList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.parent = parent; + query.expectedObjectClass = [GTLROracleDatabase_ListAutonomousDatabaseBackupsResponse class]; + query.loggingName = @"oracledatabase.projects.locations.autonomousDatabaseBackups.list"; + return query; +} + +@end + +@implementation GTLROracleDatabaseQuery_ProjectsLocationsAutonomousDatabaseCharacterSetsList + +@dynamic filter, pageSize, pageToken, parent; + ++ (instancetype)queryWithParent:(NSString *)parent { + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v1/{+parent}/autonomousDatabaseCharacterSets"; + GTLROracleDatabaseQuery_ProjectsLocationsAutonomousDatabaseCharacterSetsList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.parent = parent; + query.expectedObjectClass = [GTLROracleDatabase_ListAutonomousDatabaseCharacterSetsResponse class]; + query.loggingName = @"oracledatabase.projects.locations.autonomousDatabaseCharacterSets.list"; + return query; +} + +@end + +@implementation GTLROracleDatabaseQuery_ProjectsLocationsAutonomousDatabasesCreate + +@dynamic autonomousDatabaseId, parent, requestId; + ++ (instancetype)queryWithObject:(GTLROracleDatabase_AutonomousDatabase *)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}/autonomousDatabases"; + GTLROracleDatabaseQuery_ProjectsLocationsAutonomousDatabasesCreate *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.parent = parent; + query.expectedObjectClass = [GTLROracleDatabase_Operation class]; + query.loggingName = @"oracledatabase.projects.locations.autonomousDatabases.create"; + return query; +} + +@end + +@implementation GTLROracleDatabaseQuery_ProjectsLocationsAutonomousDatabasesDelete + +@dynamic name, requestId; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLROracleDatabaseQuery_ProjectsLocationsAutonomousDatabasesDelete *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"DELETE" + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLROracleDatabase_Operation class]; + query.loggingName = @"oracledatabase.projects.locations.autonomousDatabases.delete"; + return query; +} + +@end + +@implementation GTLROracleDatabaseQuery_ProjectsLocationsAutonomousDatabasesGenerateWallet + +@dynamic name; + ++ (instancetype)queryWithObject:(GTLROracleDatabase_GenerateAutonomousDatabaseWalletRequest *)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}:generateWallet"; + GTLROracleDatabaseQuery_ProjectsLocationsAutonomousDatabasesGenerateWallet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.name = name; + query.expectedObjectClass = [GTLROracleDatabase_GenerateAutonomousDatabaseWalletResponse class]; + query.loggingName = @"oracledatabase.projects.locations.autonomousDatabases.generateWallet"; + return query; +} + +@end + +@implementation GTLROracleDatabaseQuery_ProjectsLocationsAutonomousDatabasesGet + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLROracleDatabaseQuery_ProjectsLocationsAutonomousDatabasesGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLROracleDatabase_AutonomousDatabase class]; + query.loggingName = @"oracledatabase.projects.locations.autonomousDatabases.get"; + return query; +} + +@end + +@implementation GTLROracleDatabaseQuery_ProjectsLocationsAutonomousDatabasesList + +@dynamic filter, orderBy, pageSize, pageToken, parent; + ++ (instancetype)queryWithParent:(NSString *)parent { + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v1/{+parent}/autonomousDatabases"; + GTLROracleDatabaseQuery_ProjectsLocationsAutonomousDatabasesList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.parent = parent; + query.expectedObjectClass = [GTLROracleDatabase_ListAutonomousDatabasesResponse class]; + query.loggingName = @"oracledatabase.projects.locations.autonomousDatabases.list"; + return query; +} + +@end + +@implementation GTLROracleDatabaseQuery_ProjectsLocationsAutonomousDatabasesRestore + +@dynamic name; + ++ (instancetype)queryWithObject:(GTLROracleDatabase_RestoreAutonomousDatabaseRequest *)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}:restore"; + GTLROracleDatabaseQuery_ProjectsLocationsAutonomousDatabasesRestore *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.name = name; + query.expectedObjectClass = [GTLROracleDatabase_Operation class]; + query.loggingName = @"oracledatabase.projects.locations.autonomousDatabases.restore"; + return query; +} + +@end + +@implementation GTLROracleDatabaseQuery_ProjectsLocationsAutonomousDbVersionsList + +@dynamic pageSize, pageToken, parent; + ++ (instancetype)queryWithParent:(NSString *)parent { + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v1/{+parent}/autonomousDbVersions"; + GTLROracleDatabaseQuery_ProjectsLocationsAutonomousDbVersionsList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.parent = parent; + query.expectedObjectClass = [GTLROracleDatabase_ListAutonomousDbVersionsResponse class]; + query.loggingName = @"oracledatabase.projects.locations.autonomousDbVersions.list"; + return query; +} + +@end + +@implementation GTLROracleDatabaseQuery_ProjectsLocationsCloudExadataInfrastructuresCreate + +@dynamic cloudExadataInfrastructureId, parent, requestId; + ++ (instancetype)queryWithObject:(GTLROracleDatabase_CloudExadataInfrastructure *)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}/cloudExadataInfrastructures"; + GTLROracleDatabaseQuery_ProjectsLocationsCloudExadataInfrastructuresCreate *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.parent = parent; + query.expectedObjectClass = [GTLROracleDatabase_Operation class]; + query.loggingName = @"oracledatabase.projects.locations.cloudExadataInfrastructures.create"; + return query; +} + +@end + +@implementation GTLROracleDatabaseQuery_ProjectsLocationsCloudExadataInfrastructuresDbServersList + +@dynamic pageSize, pageToken, parent; + ++ (instancetype)queryWithParent:(NSString *)parent { + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v1/{+parent}/dbServers"; + GTLROracleDatabaseQuery_ProjectsLocationsCloudExadataInfrastructuresDbServersList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.parent = parent; + query.expectedObjectClass = [GTLROracleDatabase_ListDbServersResponse class]; + query.loggingName = @"oracledatabase.projects.locations.cloudExadataInfrastructures.dbServers.list"; + return query; +} + +@end + +@implementation GTLROracleDatabaseQuery_ProjectsLocationsCloudExadataInfrastructuresDelete + +@dynamic force, name, requestId; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLROracleDatabaseQuery_ProjectsLocationsCloudExadataInfrastructuresDelete *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"DELETE" + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLROracleDatabase_Operation class]; + query.loggingName = @"oracledatabase.projects.locations.cloudExadataInfrastructures.delete"; + return query; +} + +@end + +@implementation GTLROracleDatabaseQuery_ProjectsLocationsCloudExadataInfrastructuresGet + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLROracleDatabaseQuery_ProjectsLocationsCloudExadataInfrastructuresGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLROracleDatabase_CloudExadataInfrastructure class]; + query.loggingName = @"oracledatabase.projects.locations.cloudExadataInfrastructures.get"; + return query; +} + +@end + +@implementation GTLROracleDatabaseQuery_ProjectsLocationsCloudExadataInfrastructuresList + +@dynamic pageSize, pageToken, parent; + ++ (instancetype)queryWithParent:(NSString *)parent { + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v1/{+parent}/cloudExadataInfrastructures"; + GTLROracleDatabaseQuery_ProjectsLocationsCloudExadataInfrastructuresList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.parent = parent; + query.expectedObjectClass = [GTLROracleDatabase_ListCloudExadataInfrastructuresResponse class]; + query.loggingName = @"oracledatabase.projects.locations.cloudExadataInfrastructures.list"; + return query; +} + +@end + +@implementation GTLROracleDatabaseQuery_ProjectsLocationsCloudVmClustersCreate + +@dynamic cloudVmClusterId, parent, requestId; + ++ (instancetype)queryWithObject:(GTLROracleDatabase_CloudVmCluster *)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}/cloudVmClusters"; + GTLROracleDatabaseQuery_ProjectsLocationsCloudVmClustersCreate *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.parent = parent; + query.expectedObjectClass = [GTLROracleDatabase_Operation class]; + query.loggingName = @"oracledatabase.projects.locations.cloudVmClusters.create"; + return query; +} + +@end + +@implementation GTLROracleDatabaseQuery_ProjectsLocationsCloudVmClustersDbNodesList + +@dynamic pageSize, pageToken, parent; + ++ (instancetype)queryWithParent:(NSString *)parent { + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v1/{+parent}/dbNodes"; + GTLROracleDatabaseQuery_ProjectsLocationsCloudVmClustersDbNodesList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.parent = parent; + query.expectedObjectClass = [GTLROracleDatabase_ListDbNodesResponse class]; + query.loggingName = @"oracledatabase.projects.locations.cloudVmClusters.dbNodes.list"; + return query; +} + +@end + +@implementation GTLROracleDatabaseQuery_ProjectsLocationsCloudVmClustersDelete + +@dynamic force, name, requestId; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLROracleDatabaseQuery_ProjectsLocationsCloudVmClustersDelete *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"DELETE" + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLROracleDatabase_Operation class]; + query.loggingName = @"oracledatabase.projects.locations.cloudVmClusters.delete"; + return query; +} + +@end + +@implementation GTLROracleDatabaseQuery_ProjectsLocationsCloudVmClustersGet + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLROracleDatabaseQuery_ProjectsLocationsCloudVmClustersGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLROracleDatabase_CloudVmCluster class]; + query.loggingName = @"oracledatabase.projects.locations.cloudVmClusters.get"; + return query; +} + +@end + +@implementation GTLROracleDatabaseQuery_ProjectsLocationsCloudVmClustersList + +@dynamic filter, pageSize, pageToken, parent; + ++ (instancetype)queryWithParent:(NSString *)parent { + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v1/{+parent}/cloudVmClusters"; + GTLROracleDatabaseQuery_ProjectsLocationsCloudVmClustersList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.parent = parent; + query.expectedObjectClass = [GTLROracleDatabase_ListCloudVmClustersResponse class]; + query.loggingName = @"oracledatabase.projects.locations.cloudVmClusters.list"; + return query; +} + +@end + +@implementation GTLROracleDatabaseQuery_ProjectsLocationsDbSystemShapesList + +@dynamic pageSize, pageToken, parent; + ++ (instancetype)queryWithParent:(NSString *)parent { + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v1/{+parent}/dbSystemShapes"; + GTLROracleDatabaseQuery_ProjectsLocationsDbSystemShapesList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.parent = parent; + query.expectedObjectClass = [GTLROracleDatabase_ListDbSystemShapesResponse class]; + query.loggingName = @"oracledatabase.projects.locations.dbSystemShapes.list"; + return query; +} + +@end + +@implementation GTLROracleDatabaseQuery_ProjectsLocationsEntitlementsList + +@dynamic pageSize, pageToken, parent; + ++ (instancetype)queryWithParent:(NSString *)parent { + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v1/{+parent}/entitlements"; + GTLROracleDatabaseQuery_ProjectsLocationsEntitlementsList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.parent = parent; + query.expectedObjectClass = [GTLROracleDatabase_ListEntitlementsResponse class]; + query.loggingName = @"oracledatabase.projects.locations.entitlements.list"; + return query; +} + +@end + +@implementation GTLROracleDatabaseQuery_ProjectsLocationsGet + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLROracleDatabaseQuery_ProjectsLocationsGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLROracleDatabase_Location class]; + query.loggingName = @"oracledatabase.projects.locations.get"; + return query; +} + +@end + +@implementation GTLROracleDatabaseQuery_ProjectsLocationsGiVersionsList + +@dynamic pageSize, pageToken, parent; + ++ (instancetype)queryWithParent:(NSString *)parent { + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v1/{+parent}/giVersions"; + GTLROracleDatabaseQuery_ProjectsLocationsGiVersionsList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.parent = parent; + query.expectedObjectClass = [GTLROracleDatabase_ListGiVersionsResponse class]; + query.loggingName = @"oracledatabase.projects.locations.giVersions.list"; + return query; +} + +@end + +@implementation GTLROracleDatabaseQuery_ProjectsLocationsList + +@dynamic filter, name, pageSize, pageToken; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}/locations"; + GTLROracleDatabaseQuery_ProjectsLocationsList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLROracleDatabase_ListLocationsResponse class]; + query.loggingName = @"oracledatabase.projects.locations.list"; + return query; +} + +@end + +@implementation GTLROracleDatabaseQuery_ProjectsLocationsOperationsCancel + +@dynamic name; + ++ (instancetype)queryWithObject:(GTLROracleDatabase_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"; + GTLROracleDatabaseQuery_ProjectsLocationsOperationsCancel *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.name = name; + query.expectedObjectClass = [GTLROracleDatabase_Empty class]; + query.loggingName = @"oracledatabase.projects.locations.operations.cancel"; + return query; +} + +@end + +@implementation GTLROracleDatabaseQuery_ProjectsLocationsOperationsDelete + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLROracleDatabaseQuery_ProjectsLocationsOperationsDelete *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"DELETE" + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLROracleDatabase_Empty class]; + query.loggingName = @"oracledatabase.projects.locations.operations.delete"; + return query; +} + +@end + +@implementation GTLROracleDatabaseQuery_ProjectsLocationsOperationsGet + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLROracleDatabaseQuery_ProjectsLocationsOperationsGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLROracleDatabase_Operation class]; + query.loggingName = @"oracledatabase.projects.locations.operations.get"; + return query; +} + +@end + +@implementation GTLROracleDatabaseQuery_ProjectsLocationsOperationsList + +@dynamic filter, name, pageSize, pageToken; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}/operations"; + GTLROracleDatabaseQuery_ProjectsLocationsOperationsList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLROracleDatabase_ListOperationsResponse class]; + query.loggingName = @"oracledatabase.projects.locations.operations.list"; + return query; +} + +@end diff --git a/Sources/GeneratedServices/OracleDatabase/GTLROracleDatabaseService.m b/Sources/GeneratedServices/OracleDatabase/GTLROracleDatabaseService.m new file mode 100644 index 000000000..adc1c90fe --- /dev/null +++ b/Sources/GeneratedServices/OracleDatabase/GTLROracleDatabaseService.m @@ -0,0 +1,36 @@ +// NOTE: This file was generated by the ServiceGenerator. + +// ---------------------------------------------------------------------------- +// API: +// Oracle Database@Google Cloud API (oracledatabase/v1) +// Description: +// The Oracle Database@Google Cloud API provides a set of APIs to manage +// Oracle database services, such as Exadata and Autonomous Databases. +// Documentation: +// https://cloud.google.com/oracle/database/docs + +#import + +// ---------------------------------------------------------------------------- +// Authorization scope + +NSString * const kGTLRAuthScopeOracleDatabaseCloudPlatform = @"https://www.googleapis.com/auth/cloud-platform"; + +// ---------------------------------------------------------------------------- +// GTLROracleDatabaseService +// + +@implementation GTLROracleDatabaseService + +- (instancetype)init { + self = [super init]; + if (self) { + // From discovery. + self.rootURLString = @"https://oracledatabase.googleapis.com/"; + self.batchPath = @"batch"; + self.prettyPrintQueryParameterNames = @[ @"prettyPrint" ]; + } + return self; +} + +@end diff --git a/Sources/GeneratedServices/OracleDatabase/Public/GoogleAPIClientForREST/GTLROracleDatabase.h b/Sources/GeneratedServices/OracleDatabase/Public/GoogleAPIClientForREST/GTLROracleDatabase.h new file mode 100644 index 000000000..c988612f6 --- /dev/null +++ b/Sources/GeneratedServices/OracleDatabase/Public/GoogleAPIClientForREST/GTLROracleDatabase.h @@ -0,0 +1,14 @@ +// NOTE: This file was generated by the ServiceGenerator. + +// ---------------------------------------------------------------------------- +// API: +// Oracle Database@Google Cloud API (oracledatabase/v1) +// Description: +// The Oracle Database@Google Cloud API provides a set of APIs to manage +// Oracle database services, such as Exadata and Autonomous Databases. +// Documentation: +// https://cloud.google.com/oracle/database/docs + +#import "GTLROracleDatabaseObjects.h" +#import "GTLROracleDatabaseQuery.h" +#import "GTLROracleDatabaseService.h" diff --git a/Sources/GeneratedServices/OracleDatabase/Public/GoogleAPIClientForREST/GTLROracleDatabaseObjects.h b/Sources/GeneratedServices/OracleDatabase/Public/GoogleAPIClientForREST/GTLROracleDatabaseObjects.h new file mode 100644 index 000000000..dac56fefc --- /dev/null +++ b/Sources/GeneratedServices/OracleDatabase/Public/GoogleAPIClientForREST/GTLROracleDatabaseObjects.h @@ -0,0 +1,4523 @@ +// NOTE: This file was generated by the ServiceGenerator. + +// ---------------------------------------------------------------------------- +// API: +// Oracle Database@Google Cloud API (oracledatabase/v1) +// Description: +// The Oracle Database@Google Cloud API provides a set of APIs to manage +// Oracle database services, such as Exadata and Autonomous Databases. +// Documentation: +// https://cloud.google.com/oracle/database/docs + +#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 GTLROracleDatabase_AllConnectionStrings; +@class GTLROracleDatabase_AutonomousDatabase; +@class GTLROracleDatabase_AutonomousDatabase_Labels; +@class GTLROracleDatabase_AutonomousDatabaseApex; +@class GTLROracleDatabase_AutonomousDatabaseBackup; +@class GTLROracleDatabase_AutonomousDatabaseBackup_Labels; +@class GTLROracleDatabase_AutonomousDatabaseBackupProperties; +@class GTLROracleDatabase_AutonomousDatabaseCharacterSet; +@class GTLROracleDatabase_AutonomousDatabaseConnectionStrings; +@class GTLROracleDatabase_AutonomousDatabaseConnectionUrls; +@class GTLROracleDatabase_AutonomousDatabaseProperties; +@class GTLROracleDatabase_AutonomousDatabaseStandbySummary; +@class GTLROracleDatabase_AutonomousDbVersion; +@class GTLROracleDatabase_CloudAccountDetails; +@class GTLROracleDatabase_CloudExadataInfrastructure; +@class GTLROracleDatabase_CloudExadataInfrastructure_Labels; +@class GTLROracleDatabase_CloudExadataInfrastructureProperties; +@class GTLROracleDatabase_CloudVmCluster; +@class GTLROracleDatabase_CloudVmCluster_Labels; +@class GTLROracleDatabase_CloudVmClusterProperties; +@class GTLROracleDatabase_CustomerContact; +@class GTLROracleDatabase_DatabaseConnectionStringProfile; +@class GTLROracleDatabase_DataCollectionOptions; +@class GTLROracleDatabase_DbNode; +@class GTLROracleDatabase_DbNodeProperties; +@class GTLROracleDatabase_DbServer; +@class GTLROracleDatabase_DbServerProperties; +@class GTLROracleDatabase_DbSystemShape; +@class GTLROracleDatabase_Entitlement; +@class GTLROracleDatabase_GiVersion; +@class GTLROracleDatabase_Location; +@class GTLROracleDatabase_Location_Labels; +@class GTLROracleDatabase_Location_Metadata; +@class GTLROracleDatabase_MaintenanceWindow; +@class GTLROracleDatabase_Operation; +@class GTLROracleDatabase_Operation_Metadata; +@class GTLROracleDatabase_Operation_Response; +@class GTLROracleDatabase_ScheduledOperationDetails; +@class GTLROracleDatabase_Status; +@class GTLROracleDatabase_Status_Details_Item; +@class GTLROracleDatabase_TimeOfDay; +@class GTLROracleDatabase_TimeZone; + +// 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. + +// ---------------------------------------------------------------------------- +// GTLROracleDatabase_AutonomousDatabaseBackupProperties.lifecycleState + +/** + * Indicates that the resource is in active state. + * + * Value: "ACTIVE" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_AutonomousDatabaseBackupProperties_LifecycleState_Active; +/** + * Indicates that the resource is in creating state. + * + * Value: "CREATING" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_AutonomousDatabaseBackupProperties_LifecycleState_Creating; +/** + * Indicates that the resource is in deleted state. + * + * Value: "DELETED" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_AutonomousDatabaseBackupProperties_LifecycleState_Deleted; +/** + * Indicates that the resource is in deleting state. + * + * Value: "DELETING" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_AutonomousDatabaseBackupProperties_LifecycleState_Deleting; +/** + * Indicates that the resource is in failed state. + * + * Value: "FAILED" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_AutonomousDatabaseBackupProperties_LifecycleState_Failed; +/** + * Default unspecified value. + * + * Value: "STATE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_AutonomousDatabaseBackupProperties_LifecycleState_StateUnspecified; +/** + * Indicates that the resource is in updating state. + * + * Value: "UPDATING" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_AutonomousDatabaseBackupProperties_LifecycleState_Updating; + +// ---------------------------------------------------------------------------- +// GTLROracleDatabase_AutonomousDatabaseBackupProperties.type + +/** + * Full backups. + * + * Value: "FULL" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_AutonomousDatabaseBackupProperties_Type_Full; +/** + * Incremental backups. + * + * Value: "INCREMENTAL" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_AutonomousDatabaseBackupProperties_Type_Incremental; +/** + * Long term backups. + * + * Value: "LONG_TERM" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_AutonomousDatabaseBackupProperties_Type_LongTerm; +/** + * Default unspecified value. + * + * Value: "TYPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_AutonomousDatabaseBackupProperties_Type_TypeUnspecified; + +// ---------------------------------------------------------------------------- +// GTLROracleDatabase_AutonomousDatabaseCharacterSet.characterSetType + +/** + * Character set type is not specified. + * + * Value: "CHARACTER_SET_TYPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_AutonomousDatabaseCharacterSet_CharacterSetType_CharacterSetTypeUnspecified; +/** + * Character set type is set to database. + * + * Value: "DATABASE" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_AutonomousDatabaseCharacterSet_CharacterSetType_Database; +/** + * Character set type is set to national. + * + * Value: "NATIONAL" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_AutonomousDatabaseCharacterSet_CharacterSetType_National; + +// ---------------------------------------------------------------------------- +// GTLROracleDatabase_AutonomousDatabaseProperties.databaseManagementState + +/** + * Default unspecified value. + * + * Value: "DATABASE_MANAGEMENT_STATE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_AutonomousDatabaseProperties_DatabaseManagementState_DatabaseManagementStateUnspecified; +/** + * Disabling Database Management state + * + * Value: "DISABLING" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_AutonomousDatabaseProperties_DatabaseManagementState_Disabling; +/** + * Enabled Database Management state + * + * Value: "ENABLED" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_AutonomousDatabaseProperties_DatabaseManagementState_Enabled; +/** + * Enabling Database Management state + * + * Value: "ENABLING" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_AutonomousDatabaseProperties_DatabaseManagementState_Enabling; +/** + * Failed disabling Database Management state + * + * Value: "FAILED_DISABLING" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_AutonomousDatabaseProperties_DatabaseManagementState_FailedDisabling; +/** + * Failed enabling Database Management state + * + * Value: "FAILED_ENABLING" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_AutonomousDatabaseProperties_DatabaseManagementState_FailedEnabling; +/** + * Not Enabled Database Management state + * + * Value: "NOT_ENABLED" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_AutonomousDatabaseProperties_DatabaseManagementState_NotEnabled; + +// ---------------------------------------------------------------------------- +// GTLROracleDatabase_AutonomousDatabaseProperties.dataSafeState + +/** + * Default unspecified value. + * + * Value: "DATA_SAFE_STATE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_AutonomousDatabaseProperties_DataSafeState_DataSafeStateUnspecified; +/** + * Deregistering data safe state. + * + * Value: "DEREGISTERING" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_AutonomousDatabaseProperties_DataSafeState_Deregistering; +/** + * Failed data safe state. + * + * Value: "FAILED" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_AutonomousDatabaseProperties_DataSafeState_Failed; +/** + * Not registered data safe state. + * + * Value: "NOT_REGISTERED" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_AutonomousDatabaseProperties_DataSafeState_NotRegistered; +/** + * Registered data safe state. + * + * Value: "REGISTERED" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_AutonomousDatabaseProperties_DataSafeState_Registered; +/** + * Registering data safe state. + * + * Value: "REGISTERING" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_AutonomousDatabaseProperties_DataSafeState_Registering; + +// ---------------------------------------------------------------------------- +// GTLROracleDatabase_AutonomousDatabaseProperties.dbEdition + +/** + * Default unspecified value. + * + * Value: "DATABASE_EDITION_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_AutonomousDatabaseProperties_DbEdition_DatabaseEditionUnspecified; +/** + * Enterprise Database Edition + * + * Value: "ENTERPRISE_EDITION" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_AutonomousDatabaseProperties_DbEdition_EnterpriseEdition; +/** + * Standard Database Edition + * + * Value: "STANDARD_EDITION" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_AutonomousDatabaseProperties_DbEdition_StandardEdition; + +// ---------------------------------------------------------------------------- +// GTLROracleDatabase_AutonomousDatabaseProperties.dbWorkload + +/** + * Autonomous JSON Database. + * + * Value: "AJD" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_AutonomousDatabaseProperties_DbWorkload_Ajd; +/** + * Autonomous Database with the Oracle APEX Application Development workload + * type. + * + * Value: "APEX" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_AutonomousDatabaseProperties_DbWorkload_Apex; +/** + * Default unspecified value. + * + * Value: "DB_WORKLOAD_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_AutonomousDatabaseProperties_DbWorkload_DbWorkloadUnspecified; +/** + * Autonomous Data Warehouse database. + * + * Value: "DW" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_AutonomousDatabaseProperties_DbWorkload_Dw; +/** + * Autonomous Transaction Processing database. + * + * Value: "OLTP" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_AutonomousDatabaseProperties_DbWorkload_Oltp; + +// ---------------------------------------------------------------------------- +// GTLROracleDatabase_AutonomousDatabaseProperties.licenseType + +/** + * Bring your own license + * + * Value: "BRING_YOUR_OWN_LICENSE" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_AutonomousDatabaseProperties_LicenseType_BringYourOwnLicense; +/** + * License included part of offer + * + * Value: "LICENSE_INCLUDED" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_AutonomousDatabaseProperties_LicenseType_LicenseIncluded; +/** + * Unspecified + * + * Value: "LICENSE_TYPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_AutonomousDatabaseProperties_LicenseType_LicenseTypeUnspecified; + +// ---------------------------------------------------------------------------- +// GTLROracleDatabase_AutonomousDatabaseProperties.localDisasterRecoveryType + +/** + * Autonomous Data Guard recovery. + * + * Value: "ADG" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_AutonomousDatabaseProperties_LocalDisasterRecoveryType_Adg; +/** + * Backup based recovery. + * + * Value: "BACKUP_BASED" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_AutonomousDatabaseProperties_LocalDisasterRecoveryType_BackupBased; +/** + * Default unspecified value. + * + * Value: "LOCAL_DISASTER_RECOVERY_TYPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_AutonomousDatabaseProperties_LocalDisasterRecoveryType_LocalDisasterRecoveryTypeUnspecified; + +// ---------------------------------------------------------------------------- +// GTLROracleDatabase_AutonomousDatabaseProperties.maintenanceScheduleType + +/** + * An EARLY maintenance schedule patches the database before the regular + * scheduled maintenance. + * + * Value: "EARLY" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_AutonomousDatabaseProperties_MaintenanceScheduleType_Early; +/** + * Default unspecified value. + * + * Value: "MAINTENANCE_SCHEDULE_TYPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_AutonomousDatabaseProperties_MaintenanceScheduleType_MaintenanceScheduleTypeUnspecified; +/** + * A REGULAR maintenance schedule follows the normal maintenance cycle. + * + * Value: "REGULAR" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_AutonomousDatabaseProperties_MaintenanceScheduleType_Regular; + +// ---------------------------------------------------------------------------- +// GTLROracleDatabase_AutonomousDatabaseProperties.openMode + +/** + * Default unspecified value. + * + * Value: "OPEN_MODE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_AutonomousDatabaseProperties_OpenMode_OpenModeUnspecified; +/** + * Read Only Mode + * + * Value: "READ_ONLY" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_AutonomousDatabaseProperties_OpenMode_ReadOnly; +/** + * Read Write Mode + * + * Value: "READ_WRITE" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_AutonomousDatabaseProperties_OpenMode_ReadWrite; + +// ---------------------------------------------------------------------------- +// GTLROracleDatabase_AutonomousDatabaseProperties.operationsInsightsState + +/** + * Disabling status for operation insights. + * + * Value: "DISABLING" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_AutonomousDatabaseProperties_OperationsInsightsState_Disabling; +/** + * Enabled status for operation insights. + * + * Value: "ENABLED" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_AutonomousDatabaseProperties_OperationsInsightsState_Enabled; +/** + * Enabling status for operation insights. + * + * Value: "ENABLING" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_AutonomousDatabaseProperties_OperationsInsightsState_Enabling; +/** + * Failed disabling status for operation insights. + * + * Value: "FAILED_DISABLING" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_AutonomousDatabaseProperties_OperationsInsightsState_FailedDisabling; +/** + * Failed enabling status for operation insights. + * + * Value: "FAILED_ENABLING" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_AutonomousDatabaseProperties_OperationsInsightsState_FailedEnabling; +/** + * Not Enabled status for operation insights. + * + * Value: "NOT_ENABLED" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_AutonomousDatabaseProperties_OperationsInsightsState_NotEnabled; +/** + * Default unspecified value. + * + * Value: "OPERATIONS_INSIGHTS_STATE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_AutonomousDatabaseProperties_OperationsInsightsState_OperationsInsightsStateUnspecified; + +// ---------------------------------------------------------------------------- +// GTLROracleDatabase_AutonomousDatabaseProperties.permissionLevel + +/** + * Default unspecified value. + * + * Value: "PERMISSION_LEVEL_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_AutonomousDatabaseProperties_PermissionLevel_PermissionLevelUnspecified; +/** + * Restricted mode allows access only by admin users. + * + * Value: "RESTRICTED" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_AutonomousDatabaseProperties_PermissionLevel_Restricted; +/** + * Normal access. + * + * Value: "UNRESTRICTED" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_AutonomousDatabaseProperties_PermissionLevel_Unrestricted; + +// ---------------------------------------------------------------------------- +// GTLROracleDatabase_AutonomousDatabaseProperties.refreshableMode + +/** + * AUTOMATIC indicates that the cloned database is automatically refreshed with + * data from the source Autonomous Database. + * + * Value: "AUTOMATIC" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_AutonomousDatabaseProperties_RefreshableMode_Automatic; +/** + * MANUAL indicates that the cloned database is manually refreshed with data + * from the source Autonomous Database. + * + * Value: "MANUAL" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_AutonomousDatabaseProperties_RefreshableMode_Manual; +/** + * The default unspecified value. + * + * Value: "REFRESHABLE_MODE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_AutonomousDatabaseProperties_RefreshableMode_RefreshableModeUnspecified; + +// ---------------------------------------------------------------------------- +// GTLROracleDatabase_AutonomousDatabaseProperties.refreshableState + +/** + * Not refreshed + * + * Value: "NOT_REFRESHING" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_AutonomousDatabaseProperties_RefreshableState_NotRefreshing; +/** + * Default unspecified value. + * + * Value: "REFRESHABLE_STATE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_AutonomousDatabaseProperties_RefreshableState_RefreshableStateUnspecified; +/** + * Refreshing + * + * Value: "REFRESHING" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_AutonomousDatabaseProperties_RefreshableState_Refreshing; + +// ---------------------------------------------------------------------------- +// GTLROracleDatabase_AutonomousDatabaseProperties.role + +/** + * Backup copy role + * + * Value: "BACKUP_COPY" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_AutonomousDatabaseProperties_Role_BackupCopy; +/** + * Disabled standby role + * + * Value: "DISABLED_STANDBY" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_AutonomousDatabaseProperties_Role_DisabledStandby; +/** + * Primary role + * + * Value: "PRIMARY" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_AutonomousDatabaseProperties_Role_Primary; +/** + * Default unspecified value. + * + * Value: "ROLE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_AutonomousDatabaseProperties_Role_RoleUnspecified; +/** + * Snapshot standby role + * + * Value: "SNAPSHOT_STANDBY" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_AutonomousDatabaseProperties_Role_SnapshotStandby; +/** + * Standby role + * + * Value: "STANDBY" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_AutonomousDatabaseProperties_Role_Standby; + +// ---------------------------------------------------------------------------- +// GTLROracleDatabase_AutonomousDatabaseProperties.state + +/** + * Indicates that the Autonomous Database is in available state. + * + * Value: "AVAILABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_AutonomousDatabaseProperties_State_Available; +/** + * Indicates that the Autonomous Database is available but needs attention + * state. + * + * Value: "AVAILABLE_NEEDS_ATTENTION" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_AutonomousDatabaseProperties_State_AvailableNeedsAttention; +/** + * Indicates that the Autonomous Database backup is in progress. + * + * Value: "BACKUP_IN_PROGRESS" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_AutonomousDatabaseProperties_State_BackupInProgress; +/** + * Indicates that the Autonomous Database is in inaccessible state. + * + * Value: "INACCESSIBLE" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_AutonomousDatabaseProperties_State_Inaccessible; +/** + * Indicates that the Autonomous Database's maintenance is in progress state. + * + * Value: "MAINTENANCE_IN_PROGRESS" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_AutonomousDatabaseProperties_State_MaintenanceInProgress; +/** + * Indicates that the Autonomous Database is in provisioning state. + * + * Value: "PROVISIONING" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_AutonomousDatabaseProperties_State_Provisioning; +/** + * Indicates that the Autonomous Database is in recreating state. + * + * Value: "RECREATING" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_AutonomousDatabaseProperties_State_Recreating; +/** + * Indicates that the Autonomous Database is in restarting state. + * + * Value: "RESTARTING" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_AutonomousDatabaseProperties_State_Restarting; +/** + * Indicates that the Autonomous Database failed to restore. + * + * Value: "RESTORE_FAILED" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_AutonomousDatabaseProperties_State_RestoreFailed; +/** + * Indicates that the Autonomous Database restore is in progress. + * + * Value: "RESTORE_IN_PROGRESS" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_AutonomousDatabaseProperties_State_RestoreInProgress; +/** + * Indicates that the Autonomous Database's role change is in progress state. + * + * Value: "ROLE_CHANGE_IN_PROGRESS" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_AutonomousDatabaseProperties_State_RoleChangeInProgress; +/** + * Indicates that the Autonomous Database scale is in progress. + * + * Value: "SCALE_IN_PROGRESS" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_AutonomousDatabaseProperties_State_ScaleInProgress; +/** + * Indicates that the Autonomous Database is in standby state. + * + * Value: "STANDBY" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_AutonomousDatabaseProperties_State_Standby; +/** + * Indicates that the Autonomous Database is in starting state. + * + * Value: "STARTING" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_AutonomousDatabaseProperties_State_Starting; +/** + * Default unspecified value. + * + * Value: "STATE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_AutonomousDatabaseProperties_State_StateUnspecified; +/** + * Indicates that the Autonomous Database is in stopped state. + * + * Value: "STOPPED" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_AutonomousDatabaseProperties_State_Stopped; +/** + * Indicates that the Autonomous Database is in stopping state. + * + * Value: "STOPPING" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_AutonomousDatabaseProperties_State_Stopping; +/** + * Indicates that the Autonomous Database is in terminated state. + * + * Value: "TERMINATED" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_AutonomousDatabaseProperties_State_Terminated; +/** + * Indicates that the Autonomous Database is in terminating state. + * + * Value: "TERMINATING" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_AutonomousDatabaseProperties_State_Terminating; +/** + * Indicates that the Autonomous Database is in unavailable state. + * + * Value: "UNAVAILABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_AutonomousDatabaseProperties_State_Unavailable; +/** + * Indicates that the Autonomous Database is in updating state. + * + * Value: "UPDATING" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_AutonomousDatabaseProperties_State_Updating; +/** + * Indicates that the Autonomous Database is in upgrading state. + * + * Value: "UPGRADING" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_AutonomousDatabaseProperties_State_Upgrading; + +// ---------------------------------------------------------------------------- +// GTLROracleDatabase_AutonomousDatabaseStandbySummary.state + +/** + * Indicates that the Autonomous Database is in available state. + * + * Value: "AVAILABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_AutonomousDatabaseStandbySummary_State_Available; +/** + * Indicates that the Autonomous Database is available but needs attention + * state. + * + * Value: "AVAILABLE_NEEDS_ATTENTION" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_AutonomousDatabaseStandbySummary_State_AvailableNeedsAttention; +/** + * Indicates that the Autonomous Database backup is in progress. + * + * Value: "BACKUP_IN_PROGRESS" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_AutonomousDatabaseStandbySummary_State_BackupInProgress; +/** + * Indicates that the Autonomous Database is in inaccessible state. + * + * Value: "INACCESSIBLE" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_AutonomousDatabaseStandbySummary_State_Inaccessible; +/** + * Indicates that the Autonomous Database's maintenance is in progress state. + * + * Value: "MAINTENANCE_IN_PROGRESS" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_AutonomousDatabaseStandbySummary_State_MaintenanceInProgress; +/** + * Indicates that the Autonomous Database is in provisioning state. + * + * Value: "PROVISIONING" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_AutonomousDatabaseStandbySummary_State_Provisioning; +/** + * Indicates that the Autonomous Database is in recreating state. + * + * Value: "RECREATING" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_AutonomousDatabaseStandbySummary_State_Recreating; +/** + * Indicates that the Autonomous Database is in restarting state. + * + * Value: "RESTARTING" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_AutonomousDatabaseStandbySummary_State_Restarting; +/** + * Indicates that the Autonomous Database failed to restore. + * + * Value: "RESTORE_FAILED" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_AutonomousDatabaseStandbySummary_State_RestoreFailed; +/** + * Indicates that the Autonomous Database restore is in progress. + * + * Value: "RESTORE_IN_PROGRESS" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_AutonomousDatabaseStandbySummary_State_RestoreInProgress; +/** + * Indicates that the Autonomous Database's role change is in progress state. + * + * Value: "ROLE_CHANGE_IN_PROGRESS" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_AutonomousDatabaseStandbySummary_State_RoleChangeInProgress; +/** + * Indicates that the Autonomous Database scale is in progress. + * + * Value: "SCALE_IN_PROGRESS" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_AutonomousDatabaseStandbySummary_State_ScaleInProgress; +/** + * Indicates that the Autonomous Database is in standby state. + * + * Value: "STANDBY" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_AutonomousDatabaseStandbySummary_State_Standby; +/** + * Indicates that the Autonomous Database is in starting state. + * + * Value: "STARTING" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_AutonomousDatabaseStandbySummary_State_Starting; +/** + * Default unspecified value. + * + * Value: "STATE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_AutonomousDatabaseStandbySummary_State_StateUnspecified; +/** + * Indicates that the Autonomous Database is in stopped state. + * + * Value: "STOPPED" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_AutonomousDatabaseStandbySummary_State_Stopped; +/** + * Indicates that the Autonomous Database is in stopping state. + * + * Value: "STOPPING" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_AutonomousDatabaseStandbySummary_State_Stopping; +/** + * Indicates that the Autonomous Database is in terminated state. + * + * Value: "TERMINATED" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_AutonomousDatabaseStandbySummary_State_Terminated; +/** + * Indicates that the Autonomous Database is in terminating state. + * + * Value: "TERMINATING" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_AutonomousDatabaseStandbySummary_State_Terminating; +/** + * Indicates that the Autonomous Database is in unavailable state. + * + * Value: "UNAVAILABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_AutonomousDatabaseStandbySummary_State_Unavailable; +/** + * Indicates that the Autonomous Database is in updating state. + * + * Value: "UPDATING" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_AutonomousDatabaseStandbySummary_State_Updating; +/** + * Indicates that the Autonomous Database is in upgrading state. + * + * Value: "UPGRADING" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_AutonomousDatabaseStandbySummary_State_Upgrading; + +// ---------------------------------------------------------------------------- +// GTLROracleDatabase_AutonomousDbVersion.dbWorkload + +/** + * Autonomous JSON Database. + * + * Value: "AJD" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_AutonomousDbVersion_DbWorkload_Ajd; +/** + * Autonomous Database with the Oracle APEX Application Development workload + * type. + * + * Value: "APEX" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_AutonomousDbVersion_DbWorkload_Apex; +/** + * Default unspecified value. + * + * Value: "DB_WORKLOAD_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_AutonomousDbVersion_DbWorkload_DbWorkloadUnspecified; +/** + * Autonomous Data Warehouse database. + * + * Value: "DW" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_AutonomousDbVersion_DbWorkload_Dw; +/** + * Autonomous Transaction Processing database. + * + * Value: "OLTP" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_AutonomousDbVersion_DbWorkload_Oltp; + +// ---------------------------------------------------------------------------- +// GTLROracleDatabase_CloudExadataInfrastructureProperties.state + +/** + * The Exadata Infrastructure is available for use. + * + * Value: "AVAILABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_CloudExadataInfrastructureProperties_State_Available; +/** + * The Exadata Infrastructure is in failed state. + * + * Value: "FAILED" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_CloudExadataInfrastructureProperties_State_Failed; +/** + * The Exadata Infrastructure is in maintenance. + * + * Value: "MAINTENANCE_IN_PROGRESS" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_CloudExadataInfrastructureProperties_State_MaintenanceInProgress; +/** + * The Exadata Infrastructure is being provisioned. + * + * Value: "PROVISIONING" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_CloudExadataInfrastructureProperties_State_Provisioning; +/** + * Default unspecified value. + * + * Value: "STATE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_CloudExadataInfrastructureProperties_State_StateUnspecified; +/** + * The Exadata Infrastructure is terminated. + * + * Value: "TERMINATED" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_CloudExadataInfrastructureProperties_State_Terminated; +/** + * The Exadata Infrastructure is being terminated. + * + * Value: "TERMINATING" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_CloudExadataInfrastructureProperties_State_Terminating; +/** + * The Exadata Infrastructure is being updated. + * + * Value: "UPDATING" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_CloudExadataInfrastructureProperties_State_Updating; + +// ---------------------------------------------------------------------------- +// GTLROracleDatabase_CloudVmClusterProperties.diskRedundancy + +/** + * Unspecified. + * + * Value: "DISK_REDUNDANCY_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_CloudVmClusterProperties_DiskRedundancy_DiskRedundancyUnspecified; +/** + * High - 3 way mirror. + * + * Value: "HIGH" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_CloudVmClusterProperties_DiskRedundancy_High; +/** + * Normal - 2 way mirror. + * + * Value: "NORMAL" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_CloudVmClusterProperties_DiskRedundancy_Normal; + +// ---------------------------------------------------------------------------- +// GTLROracleDatabase_CloudVmClusterProperties.licenseType + +/** + * Bring your own license + * + * Value: "BRING_YOUR_OWN_LICENSE" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_CloudVmClusterProperties_LicenseType_BringYourOwnLicense; +/** + * License included part of offer + * + * Value: "LICENSE_INCLUDED" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_CloudVmClusterProperties_LicenseType_LicenseIncluded; +/** + * Unspecified + * + * Value: "LICENSE_TYPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_CloudVmClusterProperties_LicenseType_LicenseTypeUnspecified; + +// ---------------------------------------------------------------------------- +// GTLROracleDatabase_CloudVmClusterProperties.state + +/** + * Indicates that the resource is in available state. + * + * Value: "AVAILABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_CloudVmClusterProperties_State_Available; +/** + * Indicates that the resource is in failed state. + * + * Value: "FAILED" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_CloudVmClusterProperties_State_Failed; +/** + * Indicates that the resource is in maintenance in progress state. + * + * Value: "MAINTENANCE_IN_PROGRESS" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_CloudVmClusterProperties_State_MaintenanceInProgress; +/** + * Indicates that the resource is in provisioning state. + * + * Value: "PROVISIONING" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_CloudVmClusterProperties_State_Provisioning; +/** + * Default unspecified value. + * + * Value: "STATE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_CloudVmClusterProperties_State_StateUnspecified; +/** + * Indicates that the resource is in terminated state. + * + * Value: "TERMINATED" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_CloudVmClusterProperties_State_Terminated; +/** + * Indicates that the resource is in terminating state. + * + * Value: "TERMINATING" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_CloudVmClusterProperties_State_Terminating; +/** + * Indicates that the resource is in updating state. + * + * Value: "UPDATING" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_CloudVmClusterProperties_State_Updating; + +// ---------------------------------------------------------------------------- +// GTLROracleDatabase_DatabaseConnectionStringProfile.consumerGroup + +/** + * Default unspecified value. + * + * Value: "CONSUMER_GROUP_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_DatabaseConnectionStringProfile_ConsumerGroup_ConsumerGroupUnspecified; +/** + * High consumer group. + * + * Value: "HIGH" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_DatabaseConnectionStringProfile_ConsumerGroup_High; +/** + * Low consumer group. + * + * Value: "LOW" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_DatabaseConnectionStringProfile_ConsumerGroup_Low; +/** + * Medium consumer group. + * + * Value: "MEDIUM" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_DatabaseConnectionStringProfile_ConsumerGroup_Medium; +/** + * TP consumer group. + * + * Value: "TP" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_DatabaseConnectionStringProfile_ConsumerGroup_Tp; +/** + * TPURGENT consumer group. + * + * Value: "TPURGENT" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_DatabaseConnectionStringProfile_ConsumerGroup_Tpurgent; + +// ---------------------------------------------------------------------------- +// GTLROracleDatabase_DatabaseConnectionStringProfile.hostFormat + +/** + * FQDN + * + * Value: "FQDN" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_DatabaseConnectionStringProfile_HostFormat_Fqdn; +/** + * Default unspecified value. + * + * Value: "HOST_FORMAT_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_DatabaseConnectionStringProfile_HostFormat_HostFormatUnspecified; +/** + * IP + * + * Value: "IP" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_DatabaseConnectionStringProfile_HostFormat_Ip; + +// ---------------------------------------------------------------------------- +// GTLROracleDatabase_DatabaseConnectionStringProfile.protocol + +/** + * Default unspecified value. + * + * Value: "PROTOCOL_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_DatabaseConnectionStringProfile_Protocol_ProtocolUnspecified; +/** + * Tcp + * + * Value: "TCP" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_DatabaseConnectionStringProfile_Protocol_Tcp; +/** + * Tcps + * + * Value: "TCPS" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_DatabaseConnectionStringProfile_Protocol_Tcps; + +// ---------------------------------------------------------------------------- +// GTLROracleDatabase_DatabaseConnectionStringProfile.sessionMode + +/** + * Direct + * + * Value: "DIRECT" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_DatabaseConnectionStringProfile_SessionMode_Direct; +/** + * Indirect + * + * Value: "INDIRECT" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_DatabaseConnectionStringProfile_SessionMode_Indirect; +/** + * Default unspecified value. + * + * Value: "SESSION_MODE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_DatabaseConnectionStringProfile_SessionMode_SessionModeUnspecified; + +// ---------------------------------------------------------------------------- +// GTLROracleDatabase_DatabaseConnectionStringProfile.syntaxFormat + +/** + * Ezconnect + * + * Value: "EZCONNECT" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_DatabaseConnectionStringProfile_SyntaxFormat_Ezconnect; +/** + * Ezconnectplus + * + * Value: "EZCONNECTPLUS" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_DatabaseConnectionStringProfile_SyntaxFormat_Ezconnectplus; +/** + * Long + * + * Value: "LONG" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_DatabaseConnectionStringProfile_SyntaxFormat_Long; +/** + * Default unspecified value. + * + * Value: "SYNTAX_FORMAT_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_DatabaseConnectionStringProfile_SyntaxFormat_SyntaxFormatUnspecified; + +// ---------------------------------------------------------------------------- +// GTLROracleDatabase_DatabaseConnectionStringProfile.tlsAuthentication + +/** + * Mutual + * + * Value: "MUTUAL" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_DatabaseConnectionStringProfile_TlsAuthentication_Mutual; +/** + * Server + * + * Value: "SERVER" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_DatabaseConnectionStringProfile_TlsAuthentication_Server; +/** + * Default unspecified value. + * + * Value: "TLS_AUTHENTICATION_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_DatabaseConnectionStringProfile_TlsAuthentication_TlsAuthenticationUnspecified; + +// ---------------------------------------------------------------------------- +// GTLROracleDatabase_DbNodeProperties.state + +/** + * Indicates that the resource is in available state. + * + * Value: "AVAILABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_DbNodeProperties_State_Available; +/** + * Indicates that the resource is in failed state. + * + * Value: "FAILED" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_DbNodeProperties_State_Failed; +/** + * Indicates that the resource is in provisioning state. + * + * Value: "PROVISIONING" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_DbNodeProperties_State_Provisioning; +/** + * Indicates that the resource is in starting state. + * + * Value: "STARTING" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_DbNodeProperties_State_Starting; +/** + * Default unspecified value. + * + * Value: "STATE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_DbNodeProperties_State_StateUnspecified; +/** + * Indicates that the resource is in stopped state. + * + * Value: "STOPPED" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_DbNodeProperties_State_Stopped; +/** + * Indicates that the resource is in stopping state. + * + * Value: "STOPPING" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_DbNodeProperties_State_Stopping; +/** + * Indicates that the resource is in terminated state. + * + * Value: "TERMINATED" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_DbNodeProperties_State_Terminated; +/** + * Indicates that the resource is in terminating state. + * + * Value: "TERMINATING" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_DbNodeProperties_State_Terminating; +/** + * Indicates that the resource is in updating state. + * + * Value: "UPDATING" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_DbNodeProperties_State_Updating; + +// ---------------------------------------------------------------------------- +// GTLROracleDatabase_DbServerProperties.state + +/** + * Indicates that the resource is in available state. + * + * Value: "AVAILABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_DbServerProperties_State_Available; +/** + * Indicates that the resource is in creating state. + * + * Value: "CREATING" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_DbServerProperties_State_Creating; +/** + * Indicates that the resource is in deleted state. + * + * Value: "DELETED" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_DbServerProperties_State_Deleted; +/** + * Indicates that the resource is in deleting state. + * + * Value: "DELETING" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_DbServerProperties_State_Deleting; +/** + * Default unspecified value. + * + * Value: "STATE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_DbServerProperties_State_StateUnspecified; +/** + * Indicates that the resource is in unavailable state. + * + * Value: "UNAVAILABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_DbServerProperties_State_Unavailable; + +// ---------------------------------------------------------------------------- +// GTLROracleDatabase_Entitlement.state + +/** + * Account is linked but not active. + * + * Value: "ACCOUNT_NOT_ACTIVE" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_Entitlement_State_AccountNotActive; +/** + * Account not linked. + * + * Value: "ACCOUNT_NOT_LINKED" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_Entitlement_State_AccountNotLinked; +/** + * Entitlement and Account are active. + * + * Value: "ACTIVE" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_Entitlement_State_Active; +/** + * Default unspecified value. + * + * Value: "STATE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_Entitlement_State_StateUnspecified; + +// ---------------------------------------------------------------------------- +// GTLROracleDatabase_GenerateAutonomousDatabaseWalletRequest.type + +/** + * Used to generate wallet for all databases in the region. + * + * Value: "ALL" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_GenerateAutonomousDatabaseWalletRequest_Type_All; +/** + * Default unspecified value. + * + * Value: "GENERATE_TYPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_GenerateAutonomousDatabaseWalletRequest_Type_GenerateTypeUnspecified; +/** + * Used to generate wallet for a single database. + * + * Value: "SINGLE" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_GenerateAutonomousDatabaseWalletRequest_Type_Single; + +// ---------------------------------------------------------------------------- +// GTLROracleDatabase_MaintenanceWindow.daysOfWeek + +/** + * The day of the week is unspecified. + * + * Value: "DAY_OF_WEEK_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_MaintenanceWindow_DaysOfWeek_DayOfWeekUnspecified; +/** + * Friday + * + * Value: "FRIDAY" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_MaintenanceWindow_DaysOfWeek_Friday; +/** + * Monday + * + * Value: "MONDAY" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_MaintenanceWindow_DaysOfWeek_Monday; +/** + * Saturday + * + * Value: "SATURDAY" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_MaintenanceWindow_DaysOfWeek_Saturday; +/** + * Sunday + * + * Value: "SUNDAY" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_MaintenanceWindow_DaysOfWeek_Sunday; +/** + * Thursday + * + * Value: "THURSDAY" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_MaintenanceWindow_DaysOfWeek_Thursday; +/** + * Tuesday + * + * Value: "TUESDAY" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_MaintenanceWindow_DaysOfWeek_Tuesday; +/** + * Wednesday + * + * Value: "WEDNESDAY" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_MaintenanceWindow_DaysOfWeek_Wednesday; + +// ---------------------------------------------------------------------------- +// GTLROracleDatabase_MaintenanceWindow.months + +/** + * The month of April. + * + * Value: "APRIL" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_MaintenanceWindow_Months_April; +/** + * The month of August. + * + * Value: "AUGUST" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_MaintenanceWindow_Months_August; +/** + * The month of December. + * + * Value: "DECEMBER" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_MaintenanceWindow_Months_December; +/** + * The month of February. + * + * Value: "FEBRUARY" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_MaintenanceWindow_Months_February; +/** + * The month of January. + * + * Value: "JANUARY" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_MaintenanceWindow_Months_January; +/** + * The month of July. + * + * Value: "JULY" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_MaintenanceWindow_Months_July; +/** + * The month of June. + * + * Value: "JUNE" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_MaintenanceWindow_Months_June; +/** + * The month of March. + * + * Value: "MARCH" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_MaintenanceWindow_Months_March; +/** + * The month of May. + * + * Value: "MAY" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_MaintenanceWindow_Months_May; +/** + * The unspecified month. + * + * Value: "MONTH_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_MaintenanceWindow_Months_MonthUnspecified; +/** + * The month of November. + * + * Value: "NOVEMBER" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_MaintenanceWindow_Months_November; +/** + * The month of October. + * + * Value: "OCTOBER" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_MaintenanceWindow_Months_October; +/** + * The month of September. + * + * Value: "SEPTEMBER" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_MaintenanceWindow_Months_September; + +// ---------------------------------------------------------------------------- +// GTLROracleDatabase_MaintenanceWindow.patchingMode + +/** + * The non-rolling maintenance method first updates your storage servers at the + * same time, then your database servers at the same time. + * + * Value: "NON_ROLLING" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_MaintenanceWindow_PatchingMode_NonRolling; +/** + * Default unspecified value. + * + * Value: "PATCHING_MODE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_MaintenanceWindow_PatchingMode_PatchingModeUnspecified; +/** + * Updates the Cloud Exadata database server hosts in a rolling fashion. + * + * Value: "ROLLING" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_MaintenanceWindow_PatchingMode_Rolling; + +// ---------------------------------------------------------------------------- +// GTLROracleDatabase_MaintenanceWindow.preference + +/** + * Custom preference. + * + * Value: "CUSTOM_PREFERENCE" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_MaintenanceWindow_Preference_CustomPreference; +/** + * Default unspecified value. + * + * Value: "MAINTENANCE_WINDOW_PREFERENCE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_MaintenanceWindow_Preference_MaintenanceWindowPreferenceUnspecified; +/** + * No preference. + * + * Value: "NO_PREFERENCE" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_MaintenanceWindow_Preference_NoPreference; + +// ---------------------------------------------------------------------------- +// GTLROracleDatabase_ScheduledOperationDetails.dayOfWeek + +/** + * The day of the week is unspecified. + * + * Value: "DAY_OF_WEEK_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_ScheduledOperationDetails_DayOfWeek_DayOfWeekUnspecified; +/** + * Friday + * + * Value: "FRIDAY" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_ScheduledOperationDetails_DayOfWeek_Friday; +/** + * Monday + * + * Value: "MONDAY" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_ScheduledOperationDetails_DayOfWeek_Monday; +/** + * Saturday + * + * Value: "SATURDAY" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_ScheduledOperationDetails_DayOfWeek_Saturday; +/** + * Sunday + * + * Value: "SUNDAY" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_ScheduledOperationDetails_DayOfWeek_Sunday; +/** + * Thursday + * + * Value: "THURSDAY" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_ScheduledOperationDetails_DayOfWeek_Thursday; +/** + * Tuesday + * + * Value: "TUESDAY" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_ScheduledOperationDetails_DayOfWeek_Tuesday; +/** + * Wednesday + * + * Value: "WEDNESDAY" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_ScheduledOperationDetails_DayOfWeek_Wednesday; + +/** + * A list of all connection strings that can be used to connect to the + * Autonomous Database. + */ +@interface GTLROracleDatabase_AllConnectionStrings : GTLRObject + +/** + * Output only. The database service provides the highest level of resources to + * each SQL statement. + */ +@property(nonatomic, copy, nullable) NSString *high; + +/** + * Output only. The database service provides the least level of resources to + * each SQL statement. + */ +@property(nonatomic, copy, nullable) NSString *low; + +/** + * Output only. The database service provides a lower level of resources to + * each SQL statement. + */ +@property(nonatomic, copy, nullable) NSString *medium; + +@end + + +/** + * Details of the Autonomous Database resource. + * https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/AutonomousDatabase/ + */ +@interface GTLROracleDatabase_AutonomousDatabase : GTLRObject + +/** Optional. The password for the default ADMIN user. */ +@property(nonatomic, copy, nullable) NSString *adminPassword; + +/** Required. The subnet CIDR range for the Autonmous Database. */ +@property(nonatomic, copy, nullable) NSString *cidr; + +/** + * Output only. The date and time that the Autonomous Database was created. + */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; + +/** + * Optional. The name of the Autonomous Database. The database name must be + * unique in the project. The name must begin with a letter and can contain a + * maximum of 30 alphanumeric characters. + */ +@property(nonatomic, copy, nullable) NSString *database; + +/** + * Optional. The display name for the Autonomous Database. The name does not + * have to be unique within your project. + */ +@property(nonatomic, copy, nullable) NSString *displayName; + +/** + * Output only. The ID of the subscription entitlement associated with the + * Autonomous Database. + */ +@property(nonatomic, copy, nullable) NSString *entitlementId; + +/** Optional. The labels or tags associated with the Autonomous Database. */ +@property(nonatomic, strong, nullable) GTLROracleDatabase_AutonomousDatabase_Labels *labels; + +/** + * Identifier. The name of the Autonomous Database resource in the following + * format: + * projects/{project}/locations/{region}/autonomousDatabases/{autonomous_database} + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Required. The name of the VPC network used by the Autonomous Database in the + * following format: projects/{project}/global/networks/{network} + */ +@property(nonatomic, copy, nullable) NSString *network; + +/** Optional. The properties of the Autonomous Database. */ +@property(nonatomic, strong, nullable) GTLROracleDatabase_AutonomousDatabaseProperties *properties; + +@end + + +/** + * Optional. The labels or tags associated with the Autonomous Database. + * + * @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 GTLROracleDatabase_AutonomousDatabase_Labels : GTLRObject +@end + + +/** + * Oracle APEX Application Development. + * https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/datatypes/AutonomousDatabaseApex + */ +@interface GTLROracleDatabase_AutonomousDatabaseApex : GTLRObject + +/** Output only. The Oracle APEX Application Development version. */ +@property(nonatomic, copy, nullable) NSString *apexVersion; + +/** Output only. The Oracle REST Data Services (ORDS) version. */ +@property(nonatomic, copy, nullable) NSString *ordsVersion; + +@end + + +/** + * Details of the Autonomous Database Backup resource. + * https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/AutonomousDatabaseBackup/ + */ +@interface GTLROracleDatabase_AutonomousDatabaseBackup : GTLRObject + +/** + * Required. The name of the Autonomous Database resource for which the backup + * is being created. Format: + * projects/{project}/locations/{region}/autonomousDatabases/{autonomous_database} + */ +@property(nonatomic, copy, nullable) NSString *autonomousDatabase; + +/** + * Optional. User friendly name for the Backup. The name does not have to be + * unique. + */ +@property(nonatomic, copy, nullable) NSString *displayName; + +/** Optional. labels or tags associated with the resource. */ +@property(nonatomic, strong, nullable) GTLROracleDatabase_AutonomousDatabaseBackup_Labels *labels; + +/** + * Identifier. The name of the Autonomous Database Backup resource with the + * format: + * projects/{project}/locations/{region}/autonomousDatabaseBackups/{autonomous_database_backup} + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** Optional. Various properties of the backup. */ +@property(nonatomic, strong, nullable) GTLROracleDatabase_AutonomousDatabaseBackupProperties *properties; + +@end + + +/** + * Optional. labels or tags associated with the resource. + * + * @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 GTLROracleDatabase_AutonomousDatabaseBackup_Labels : GTLRObject +@end + + +/** + * Properties of the Autonomous Database Backup resource. + */ +@interface GTLROracleDatabase_AutonomousDatabaseBackupProperties : GTLRObject + +/** Output only. Timestamp until when the backup will be available. */ +@property(nonatomic, strong, nullable) GTLRDateTime *availableTillTime; + +/** Output only. The OCID of the compartment. */ +@property(nonatomic, copy, nullable) NSString *compartmentId; + +/** + * Output only. The quantity of data in the database, in terabytes. + * + * Uses NSNumber of floatValue. + */ +@property(nonatomic, strong, nullable) NSNumber *databaseSizeTb; + +/** Output only. A valid Oracle Database version for Autonomous Database. */ +@property(nonatomic, copy, nullable) NSString *dbVersion; + +/** Output only. The date and time the backup completed. */ +@property(nonatomic, strong, nullable) GTLRDateTime *endTime; + +/** + * Output only. Indicates if the backup is automatic or user initiated. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *isAutomaticBackup; + +/** + * Output only. Indicates if the backup is long term backup. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *isLongTermBackup; + +/** + * Output only. Indicates if the backup can be used to restore the Autonomous + * Database. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *isRestorable; + +/** Optional. The OCID of the key store of Oracle Vault. */ +@property(nonatomic, copy, nullable) NSString *keyStoreId; + +/** Optional. The wallet name for Oracle Key Vault. */ +@property(nonatomic, copy, nullable) NSString *keyStoreWallet; + +/** + * Optional. The OCID of the key container that is used as the master + * encryption key in database transparent data encryption (TDE) operations. + */ +@property(nonatomic, copy, nullable) NSString *kmsKeyId; + +/** + * Optional. The OCID of the key container version that is used in database + * transparent data encryption (TDE) operations KMS Key can have multiple key + * versions. If none is specified, the current key version (latest) of the Key + * Id is used for the operation. Autonomous Database Serverless does not use + * key versions, hence is not applicable for Autonomous Database Serverless + * instances. + */ +@property(nonatomic, copy, nullable) NSString *kmsKeyVersionId; + +/** Output only. Additional information about the current lifecycle state. */ +@property(nonatomic, copy, nullable) NSString *lifecycleDetails; + +/** + * Output only. The lifecycle state of the backup. + * + * Likely values: + * @arg @c kGTLROracleDatabase_AutonomousDatabaseBackupProperties_LifecycleState_Active + * Indicates that the resource is in active state. (Value: "ACTIVE") + * @arg @c kGTLROracleDatabase_AutonomousDatabaseBackupProperties_LifecycleState_Creating + * Indicates that the resource is in creating state. (Value: "CREATING") + * @arg @c kGTLROracleDatabase_AutonomousDatabaseBackupProperties_LifecycleState_Deleted + * Indicates that the resource is in deleted state. (Value: "DELETED") + * @arg @c kGTLROracleDatabase_AutonomousDatabaseBackupProperties_LifecycleState_Deleting + * Indicates that the resource is in deleting state. (Value: "DELETING") + * @arg @c kGTLROracleDatabase_AutonomousDatabaseBackupProperties_LifecycleState_Failed + * Indicates that the resource is in failed state. (Value: "FAILED") + * @arg @c kGTLROracleDatabase_AutonomousDatabaseBackupProperties_LifecycleState_StateUnspecified + * Default unspecified value. (Value: "STATE_UNSPECIFIED") + * @arg @c kGTLROracleDatabase_AutonomousDatabaseBackupProperties_LifecycleState_Updating + * Indicates that the resource is in updating state. (Value: "UPDATING") + */ +@property(nonatomic, copy, nullable) NSString *lifecycleState; + +/** + * Output only. OCID of the Autonomous Database backup. + * https://docs.oracle.com/en-us/iaas/Content/General/Concepts/identifiers.htm#Oracle + */ +@property(nonatomic, copy, nullable) NSString *ocid; + +/** + * Optional. Retention period in days for the backup. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *retentionPeriodDays; + +/** + * Output only. The backup size in terabytes. + * + * Uses NSNumber of floatValue. + */ +@property(nonatomic, strong, nullable) NSNumber *sizeTb; + +/** Output only. The date and time the backup started. */ +@property(nonatomic, strong, nullable) GTLRDateTime *startTime; + +/** + * Output only. The type of the backup. + * + * Likely values: + * @arg @c kGTLROracleDatabase_AutonomousDatabaseBackupProperties_Type_Full + * Full backups. (Value: "FULL") + * @arg @c kGTLROracleDatabase_AutonomousDatabaseBackupProperties_Type_Incremental + * Incremental backups. (Value: "INCREMENTAL") + * @arg @c kGTLROracleDatabase_AutonomousDatabaseBackupProperties_Type_LongTerm + * Long term backups. (Value: "LONG_TERM") + * @arg @c kGTLROracleDatabase_AutonomousDatabaseBackupProperties_Type_TypeUnspecified + * Default unspecified value. (Value: "TYPE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *type; + +/** Optional. The OCID of the vault. */ +@property(nonatomic, copy, nullable) NSString *vaultId; + +@end + + +/** + * Details of the Autonomous Database character set resource. + * https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/AutonomousDatabaseCharacterSets/ + */ +@interface GTLROracleDatabase_AutonomousDatabaseCharacterSet : GTLRObject + +/** + * Output only. The character set name for the Autonomous Database which is the + * ID in the resource name. + */ +@property(nonatomic, copy, nullable) NSString *characterSet; + +/** + * Output only. The character set type for the Autonomous Database. + * + * Likely values: + * @arg @c kGTLROracleDatabase_AutonomousDatabaseCharacterSet_CharacterSetType_CharacterSetTypeUnspecified + * Character set type is not specified. (Value: + * "CHARACTER_SET_TYPE_UNSPECIFIED") + * @arg @c kGTLROracleDatabase_AutonomousDatabaseCharacterSet_CharacterSetType_Database + * Character set type is set to database. (Value: "DATABASE") + * @arg @c kGTLROracleDatabase_AutonomousDatabaseCharacterSet_CharacterSetType_National + * Character set type is set to national. (Value: "NATIONAL") + */ +@property(nonatomic, copy, nullable) NSString *characterSetType; + +/** + * Identifier. The name of the Autonomous Database Character Set resource in + * the following format: + * projects/{project}/locations/{region}/autonomousDatabaseCharacterSets/{autonomous_database_character_set} + */ +@property(nonatomic, copy, nullable) NSString *name; + +@end + + +/** + * The connection string used to connect to the Autonomous Database. + * https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/datatypes/AutonomousDatabaseConnectionStrings + */ +@interface GTLROracleDatabase_AutonomousDatabaseConnectionStrings : GTLRObject + +/** + * Output only. Returns all connection strings that can be used to connect to + * the Autonomous Database. + */ +@property(nonatomic, strong, nullable) GTLROracleDatabase_AllConnectionStrings *allConnectionStrings; + +/** + * Output only. The database service provides the least level of resources to + * each SQL statement, but supports the most number of concurrent SQL + * statements. + */ +@property(nonatomic, copy, nullable) NSString *dedicated; + +/** + * Output only. The database service provides the highest level of resources to + * each SQL statement. + */ +@property(nonatomic, copy, nullable) NSString *high; + +/** + * Output only. The database service provides the least level of resources to + * each SQL statement. + */ +@property(nonatomic, copy, nullable) NSString *low; + +/** + * Output only. The database service provides a lower level of resources to + * each SQL statement. + */ +@property(nonatomic, copy, nullable) NSString *medium; + +/** + * Output only. A list of connection string profiles to allow clients to group, + * filter, and select values based on the structured metadata. + */ +@property(nonatomic, strong, nullable) NSArray *profiles; + +@end + + +/** + * The URLs for accessing Oracle Application Express (APEX) and SQL Developer + * Web with a browser from a Compute instance. + * https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/datatypes/AutonomousDatabaseConnectionUrls + */ +@interface GTLROracleDatabase_AutonomousDatabaseConnectionUrls : GTLRObject + +/** Output only. Oracle Application Express (APEX) URL. */ +@property(nonatomic, copy, nullable) NSString *apexUri; + +/** + * Output only. The URL of the Database Transforms for the Autonomous Database. + */ +@property(nonatomic, copy, nullable) NSString *databaseTransformsUri; + +/** Output only. The URL of the Graph Studio for the Autonomous Database. */ +@property(nonatomic, copy, nullable) NSString *graphStudioUri; + +/** + * Output only. The URL of the Oracle Machine Learning (OML) Notebook for the + * Autonomous Database. + */ +@property(nonatomic, copy, nullable) NSString *machineLearningNotebookUri; + +/** + * Output only. The URL of Machine Learning user management the Autonomous + * Database. + */ +@property(nonatomic, copy, nullable) NSString *machineLearningUserManagementUri; + +/** Output only. The URL of the MongoDB API for the Autonomous Database. */ +@property(nonatomic, copy, nullable) NSString *mongoDbUri; + +/** + * Output only. The Oracle REST Data Services (ORDS) URL of the Web Access for + * the Autonomous Database. + */ +@property(nonatomic, copy, nullable) NSString *ordsUri; + +/** + * Output only. The URL of the Oracle SQL Developer Web for the Autonomous + * Database. + */ +@property(nonatomic, copy, nullable) NSString *sqlDevWebUri; + +@end + + +/** + * The properties of an Autonomous Database. + */ +@interface GTLROracleDatabase_AutonomousDatabaseProperties : GTLRObject + +/** + * Output only. The amount of storage currently being used for user and system + * data, in terabytes. + * + * Uses NSNumber of doubleValue. + */ +@property(nonatomic, strong, nullable) NSNumber *actualUsedDataStorageSizeTb; + +/** + * Output only. The amount of storage currently allocated for the database + * tables and billed for, rounded up in terabytes. + * + * Uses NSNumber of doubleValue. + */ +@property(nonatomic, strong, nullable) NSNumber *allocatedStorageSizeTb; + +/** Output only. The details for the Oracle APEX Application Development. */ +@property(nonatomic, strong, nullable) GTLROracleDatabase_AutonomousDatabaseApex *apexDetails; + +/** + * Output only. This field indicates the status of Data Guard and Access + * control for the Autonomous Database. The field's value is null if Data Guard + * is disabled or Access Control is disabled. The field's value is TRUE if both + * Data Guard and Access Control are enabled, and the Autonomous Database is + * using primary IP access control list (ACL) for standby. The field's value is + * FALSE if both Data Guard and Access Control are enabled, and the Autonomous + * Database is using a different IP access control list (ACL) for standby + * compared to primary. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *arePrimaryAllowlistedIpsUsed; + +/** Output only. The Autonomous Container Database OCID. */ +@property(nonatomic, copy, nullable) NSString *autonomousContainerDatabaseId; + +/** + * Output only. The list of available Oracle Database upgrade versions for an + * Autonomous Database. + */ +@property(nonatomic, strong, nullable) NSArray *availableUpgradeVersions; + +/** + * Optional. The retention period for the Autonomous Database. This field is + * specified in days, can range from 1 day to 60 days, and has a default value + * of 60 days. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *backupRetentionPeriodDays; + +/** + * Optional. The character set for the Autonomous Database. The default is + * AL32UTF8. + */ +@property(nonatomic, copy, nullable) NSString *characterSet; + +/** + * Optional. The number of compute servers for the Autonomous Database. + * + * Uses NSNumber of floatValue. + */ +@property(nonatomic, strong, nullable) NSNumber *computeCount; + +/** + * Output only. The connection strings used to connect to an Autonomous + * Database. + */ +@property(nonatomic, strong, nullable) GTLROracleDatabase_AutonomousDatabaseConnectionStrings *connectionStrings; + +/** Output only. The Oracle Connection URLs for an Autonomous Database. */ +@property(nonatomic, strong, nullable) GTLROracleDatabase_AutonomousDatabaseConnectionUrls *connectionUrls; + +/** + * Optional. The number of CPU cores to be made available to the database. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *cpuCoreCount; + +/** Optional. The list of customer contacts. */ +@property(nonatomic, strong, nullable) NSArray *customerContacts; + +/** + * Output only. The current state of database management for the Autonomous + * Database. + * + * Likely values: + * @arg @c kGTLROracleDatabase_AutonomousDatabaseProperties_DatabaseManagementState_DatabaseManagementStateUnspecified + * Default unspecified value. (Value: + * "DATABASE_MANAGEMENT_STATE_UNSPECIFIED") + * @arg @c kGTLROracleDatabase_AutonomousDatabaseProperties_DatabaseManagementState_Disabling + * Disabling Database Management state (Value: "DISABLING") + * @arg @c kGTLROracleDatabase_AutonomousDatabaseProperties_DatabaseManagementState_Enabled + * Enabled Database Management state (Value: "ENABLED") + * @arg @c kGTLROracleDatabase_AutonomousDatabaseProperties_DatabaseManagementState_Enabling + * Enabling Database Management state (Value: "ENABLING") + * @arg @c kGTLROracleDatabase_AutonomousDatabaseProperties_DatabaseManagementState_FailedDisabling + * Failed disabling Database Management state (Value: "FAILED_DISABLING") + * @arg @c kGTLROracleDatabase_AutonomousDatabaseProperties_DatabaseManagementState_FailedEnabling + * Failed enabling Database Management state (Value: "FAILED_ENABLING") + * @arg @c kGTLROracleDatabase_AutonomousDatabaseProperties_DatabaseManagementState_NotEnabled + * Not Enabled Database Management state (Value: "NOT_ENABLED") + */ +@property(nonatomic, copy, nullable) NSString *databaseManagementState; + +/** + * Output only. The current state of the Data Safe registration for the + * Autonomous Database. + * + * Likely values: + * @arg @c kGTLROracleDatabase_AutonomousDatabaseProperties_DataSafeState_DataSafeStateUnspecified + * Default unspecified value. (Value: "DATA_SAFE_STATE_UNSPECIFIED") + * @arg @c kGTLROracleDatabase_AutonomousDatabaseProperties_DataSafeState_Deregistering + * Deregistering data safe state. (Value: "DEREGISTERING") + * @arg @c kGTLROracleDatabase_AutonomousDatabaseProperties_DataSafeState_Failed + * Failed data safe state. (Value: "FAILED") + * @arg @c kGTLROracleDatabase_AutonomousDatabaseProperties_DataSafeState_NotRegistered + * Not registered data safe state. (Value: "NOT_REGISTERED") + * @arg @c kGTLROracleDatabase_AutonomousDatabaseProperties_DataSafeState_Registered + * Registered data safe state. (Value: "REGISTERED") + * @arg @c kGTLROracleDatabase_AutonomousDatabaseProperties_DataSafeState_Registering + * Registering data safe state. (Value: "REGISTERING") + */ +@property(nonatomic, copy, nullable) NSString *dataSafeState; + +/** + * Optional. The size of the data stored in the database, in gigabytes. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *dataStorageSizeGb; + +/** + * Optional. The size of the data stored in the database, in terabytes. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *dataStorageSizeTb; + +/** + * Optional. The edition of the Autonomous Databases. + * + * Likely values: + * @arg @c kGTLROracleDatabase_AutonomousDatabaseProperties_DbEdition_DatabaseEditionUnspecified + * Default unspecified value. (Value: "DATABASE_EDITION_UNSPECIFIED") + * @arg @c kGTLROracleDatabase_AutonomousDatabaseProperties_DbEdition_EnterpriseEdition + * Enterprise Database Edition (Value: "ENTERPRISE_EDITION") + * @arg @c kGTLROracleDatabase_AutonomousDatabaseProperties_DbEdition_StandardEdition + * Standard Database Edition (Value: "STANDARD_EDITION") + */ +@property(nonatomic, copy, nullable) NSString *dbEdition; + +/** Optional. The Oracle Database version for the Autonomous Database. */ +@property(nonatomic, copy, nullable) NSString *dbVersion; + +/** + * Required. The workload type of the Autonomous Database. + * + * Likely values: + * @arg @c kGTLROracleDatabase_AutonomousDatabaseProperties_DbWorkload_Ajd + * Autonomous JSON Database. (Value: "AJD") + * @arg @c kGTLROracleDatabase_AutonomousDatabaseProperties_DbWorkload_Apex + * Autonomous Database with the Oracle APEX Application Development + * workload type. (Value: "APEX") + * @arg @c kGTLROracleDatabase_AutonomousDatabaseProperties_DbWorkload_DbWorkloadUnspecified + * Default unspecified value. (Value: "DB_WORKLOAD_UNSPECIFIED") + * @arg @c kGTLROracleDatabase_AutonomousDatabaseProperties_DbWorkload_Dw + * Autonomous Data Warehouse database. (Value: "DW") + * @arg @c kGTLROracleDatabase_AutonomousDatabaseProperties_DbWorkload_Oltp + * Autonomous Transaction Processing database. (Value: "OLTP") + */ +@property(nonatomic, copy, nullable) NSString *dbWorkload; + +/** + * Output only. This field indicates the number of seconds of data loss during + * a Data Guard failover. + */ +@property(nonatomic, strong, nullable) GTLRDuration *failedDataRecoveryDuration; + +/** + * Optional. This field indicates if auto scaling is enabled for the Autonomous + * Database CPU core count. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *isAutoScalingEnabled; + +/** + * Output only. This field indicates whether the Autonomous Database has local + * (in-region) Data Guard enabled. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *isLocalDataGuardEnabled; + +/** + * Optional. This field indicates if auto scaling is enabled for the Autonomous + * Database storage. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *isStorageAutoScalingEnabled; + +/** + * Required. The license type used for the Autonomous Database. + * + * Likely values: + * @arg @c kGTLROracleDatabase_AutonomousDatabaseProperties_LicenseType_BringYourOwnLicense + * Bring your own license (Value: "BRING_YOUR_OWN_LICENSE") + * @arg @c kGTLROracleDatabase_AutonomousDatabaseProperties_LicenseType_LicenseIncluded + * License included part of offer (Value: "LICENSE_INCLUDED") + * @arg @c kGTLROracleDatabase_AutonomousDatabaseProperties_LicenseType_LicenseTypeUnspecified + * Unspecified (Value: "LICENSE_TYPE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *licenseType; + +/** + * Output only. The details of the current lifestyle state of the Autonomous + * Database. + */ +@property(nonatomic, copy, nullable) NSString *lifecycleDetails; + +/** + * Output only. This field indicates the maximum data loss limit for an + * Autonomous Database, in seconds. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *localAdgAutoFailoverMaxDataLossLimit; + +/** + * Output only. This field indicates the local disaster recovery (DR) type of + * an Autonomous Database. + * + * Likely values: + * @arg @c kGTLROracleDatabase_AutonomousDatabaseProperties_LocalDisasterRecoveryType_Adg + * Autonomous Data Guard recovery. (Value: "ADG") + * @arg @c kGTLROracleDatabase_AutonomousDatabaseProperties_LocalDisasterRecoveryType_BackupBased + * Backup based recovery. (Value: "BACKUP_BASED") + * @arg @c kGTLROracleDatabase_AutonomousDatabaseProperties_LocalDisasterRecoveryType_LocalDisasterRecoveryTypeUnspecified + * Default unspecified value. (Value: + * "LOCAL_DISASTER_RECOVERY_TYPE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *localDisasterRecoveryType; + +/** Output only. The details of the Autonomous Data Guard standby database. */ +@property(nonatomic, strong, nullable) GTLROracleDatabase_AutonomousDatabaseStandbySummary *localStandbyDb; + +/** Output only. The date and time when maintenance will begin. */ +@property(nonatomic, strong, nullable) GTLRDateTime *maintenanceBeginTime; + +/** Output only. The date and time when maintenance will end. */ +@property(nonatomic, strong, nullable) GTLRDateTime *maintenanceEndTime; + +/** + * Optional. The maintenance schedule of the Autonomous Database. + * + * Likely values: + * @arg @c kGTLROracleDatabase_AutonomousDatabaseProperties_MaintenanceScheduleType_Early + * An EARLY maintenance schedule patches the database before the regular + * scheduled maintenance. (Value: "EARLY") + * @arg @c kGTLROracleDatabase_AutonomousDatabaseProperties_MaintenanceScheduleType_MaintenanceScheduleTypeUnspecified + * Default unspecified value. (Value: + * "MAINTENANCE_SCHEDULE_TYPE_UNSPECIFIED") + * @arg @c kGTLROracleDatabase_AutonomousDatabaseProperties_MaintenanceScheduleType_Regular + * A REGULAR maintenance schedule follows the normal maintenance cycle. + * (Value: "REGULAR") + */ +@property(nonatomic, copy, nullable) NSString *maintenanceScheduleType; + +/** + * Output only. The amount of memory enabled per ECPU, in gigabytes. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *memoryPerOracleComputeUnitGbs; + +/** + * Output only. The memory assigned to in-memory tables in an Autonomous + * Database. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *memoryTableGbs; + +/** + * Optional. This field specifies if the Autonomous Database requires mTLS + * connections. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *mtlsConnectionRequired; + +/** + * Optional. The national character set for the Autonomous Database. The + * default is AL16UTF16. + */ +@property(nonatomic, copy, nullable) NSString *nCharacterSet; + +/** Output only. The long term backup schedule of the Autonomous Database. */ +@property(nonatomic, strong, nullable) GTLRDateTime *nextLongTermBackupTime; + +/** + * Output only. OCID of the Autonomous Database. + * https://docs.oracle.com/en-us/iaas/Content/General/Concepts/identifiers.htm#Oracle + */ +@property(nonatomic, copy, nullable) NSString *ocid; + +/** + * Output only. The Oracle Cloud Infrastructure link for the Autonomous + * Database. + */ +@property(nonatomic, copy, nullable) NSString *ociUrl; + +/** + * Output only. This field indicates the current mode of the Autonomous + * Database. + * + * Likely values: + * @arg @c kGTLROracleDatabase_AutonomousDatabaseProperties_OpenMode_OpenModeUnspecified + * Default unspecified value. (Value: "OPEN_MODE_UNSPECIFIED") + * @arg @c kGTLROracleDatabase_AutonomousDatabaseProperties_OpenMode_ReadOnly + * Read Only Mode (Value: "READ_ONLY") + * @arg @c kGTLROracleDatabase_AutonomousDatabaseProperties_OpenMode_ReadWrite + * Read Write Mode (Value: "READ_WRITE") + */ +@property(nonatomic, copy, nullable) NSString *openMode; + +/** + * Output only. This field indicates the state of Operations Insights for the + * Autonomous Database. + * + * Likely values: + * @arg @c kGTLROracleDatabase_AutonomousDatabaseProperties_OperationsInsightsState_Disabling + * Disabling status for operation insights. (Value: "DISABLING") + * @arg @c kGTLROracleDatabase_AutonomousDatabaseProperties_OperationsInsightsState_Enabled + * Enabled status for operation insights. (Value: "ENABLED") + * @arg @c kGTLROracleDatabase_AutonomousDatabaseProperties_OperationsInsightsState_Enabling + * Enabling status for operation insights. (Value: "ENABLING") + * @arg @c kGTLROracleDatabase_AutonomousDatabaseProperties_OperationsInsightsState_FailedDisabling + * Failed disabling status for operation insights. (Value: + * "FAILED_DISABLING") + * @arg @c kGTLROracleDatabase_AutonomousDatabaseProperties_OperationsInsightsState_FailedEnabling + * Failed enabling status for operation insights. (Value: + * "FAILED_ENABLING") + * @arg @c kGTLROracleDatabase_AutonomousDatabaseProperties_OperationsInsightsState_NotEnabled + * Not Enabled status for operation insights. (Value: "NOT_ENABLED") + * @arg @c kGTLROracleDatabase_AutonomousDatabaseProperties_OperationsInsightsState_OperationsInsightsStateUnspecified + * Default unspecified value. (Value: + * "OPERATIONS_INSIGHTS_STATE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *operationsInsightsState; + +/** + * Output only. The list of OCIDs of standby databases located in Autonomous + * Data Guard remote regions that are associated with the source database. + */ +@property(nonatomic, strong, nullable) NSArray *peerDbIds; + +/** + * Output only. The permission level of the Autonomous Database. + * + * Likely values: + * @arg @c kGTLROracleDatabase_AutonomousDatabaseProperties_PermissionLevel_PermissionLevelUnspecified + * Default unspecified value. (Value: "PERMISSION_LEVEL_UNSPECIFIED") + * @arg @c kGTLROracleDatabase_AutonomousDatabaseProperties_PermissionLevel_Restricted + * Restricted mode allows access only by admin users. (Value: + * "RESTRICTED") + * @arg @c kGTLROracleDatabase_AutonomousDatabaseProperties_PermissionLevel_Unrestricted + * Normal access. (Value: "UNRESTRICTED") + */ +@property(nonatomic, copy, nullable) NSString *permissionLevel; + +/** Output only. The private endpoint for the Autonomous Database. */ +@property(nonatomic, copy, nullable) NSString *privateEndpoint; + +/** Optional. The private endpoint IP address for the Autonomous Database. */ +@property(nonatomic, copy, nullable) NSString *privateEndpointIp; + +/** Optional. The private endpoint label for the Autonomous Database. */ +@property(nonatomic, copy, nullable) NSString *privateEndpointLabel; + +/** + * Output only. The refresh mode of the cloned Autonomous Database. + * + * Likely values: + * @arg @c kGTLROracleDatabase_AutonomousDatabaseProperties_RefreshableMode_Automatic + * AUTOMATIC indicates that the cloned database is automatically + * refreshed with data from the source Autonomous Database. (Value: + * "AUTOMATIC") + * @arg @c kGTLROracleDatabase_AutonomousDatabaseProperties_RefreshableMode_Manual + * MANUAL indicates that the cloned database is manually refreshed with + * data from the source Autonomous Database. (Value: "MANUAL") + * @arg @c kGTLROracleDatabase_AutonomousDatabaseProperties_RefreshableMode_RefreshableModeUnspecified + * The default unspecified value. (Value: "REFRESHABLE_MODE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *refreshableMode; + +/** + * Output only. The refresh State of the clone. + * + * Likely values: + * @arg @c kGTLROracleDatabase_AutonomousDatabaseProperties_RefreshableState_NotRefreshing + * Not refreshed (Value: "NOT_REFRESHING") + * @arg @c kGTLROracleDatabase_AutonomousDatabaseProperties_RefreshableState_RefreshableStateUnspecified + * Default unspecified value. (Value: "REFRESHABLE_STATE_UNSPECIFIED") + * @arg @c kGTLROracleDatabase_AutonomousDatabaseProperties_RefreshableState_Refreshing + * Refreshing (Value: "REFRESHING") + */ +@property(nonatomic, copy, nullable) NSString *refreshableState; + +/** + * Output only. The Data Guard role of the Autonomous Database. + * + * Likely values: + * @arg @c kGTLROracleDatabase_AutonomousDatabaseProperties_Role_BackupCopy + * Backup copy role (Value: "BACKUP_COPY") + * @arg @c kGTLROracleDatabase_AutonomousDatabaseProperties_Role_DisabledStandby + * Disabled standby role (Value: "DISABLED_STANDBY") + * @arg @c kGTLROracleDatabase_AutonomousDatabaseProperties_Role_Primary + * Primary role (Value: "PRIMARY") + * @arg @c kGTLROracleDatabase_AutonomousDatabaseProperties_Role_RoleUnspecified + * Default unspecified value. (Value: "ROLE_UNSPECIFIED") + * @arg @c kGTLROracleDatabase_AutonomousDatabaseProperties_Role_SnapshotStandby + * Snapshot standby role (Value: "SNAPSHOT_STANDBY") + * @arg @c kGTLROracleDatabase_AutonomousDatabaseProperties_Role_Standby + * Standby role (Value: "STANDBY") + */ +@property(nonatomic, copy, nullable) NSString *role; + +/** + * Output only. The list and details of the scheduled operations of the + * Autonomous Database. + */ +@property(nonatomic, strong, nullable) NSArray *scheduledOperationDetails; + +/** Optional. The ID of the Oracle Cloud Infrastructure vault secret. */ +@property(nonatomic, copy, nullable) NSString *secretId; + +/** Output only. The SQL Web Developer URL for the Autonomous Database. */ +@property(nonatomic, copy, nullable) NSString *sqlWebDeveloperUrl; + +/** + * Output only. The current lifecycle state of the Autonomous Database. + * + * Likely values: + * @arg @c kGTLROracleDatabase_AutonomousDatabaseProperties_State_Available + * Indicates that the Autonomous Database is in available state. (Value: + * "AVAILABLE") + * @arg @c kGTLROracleDatabase_AutonomousDatabaseProperties_State_AvailableNeedsAttention + * Indicates that the Autonomous Database is available but needs + * attention state. (Value: "AVAILABLE_NEEDS_ATTENTION") + * @arg @c kGTLROracleDatabase_AutonomousDatabaseProperties_State_BackupInProgress + * Indicates that the Autonomous Database backup is in progress. (Value: + * "BACKUP_IN_PROGRESS") + * @arg @c kGTLROracleDatabase_AutonomousDatabaseProperties_State_Inaccessible + * Indicates that the Autonomous Database is in inaccessible state. + * (Value: "INACCESSIBLE") + * @arg @c kGTLROracleDatabase_AutonomousDatabaseProperties_State_MaintenanceInProgress + * Indicates that the Autonomous Database's maintenance is in progress + * state. (Value: "MAINTENANCE_IN_PROGRESS") + * @arg @c kGTLROracleDatabase_AutonomousDatabaseProperties_State_Provisioning + * Indicates that the Autonomous Database is in provisioning state. + * (Value: "PROVISIONING") + * @arg @c kGTLROracleDatabase_AutonomousDatabaseProperties_State_Recreating + * Indicates that the Autonomous Database is in recreating state. (Value: + * "RECREATING") + * @arg @c kGTLROracleDatabase_AutonomousDatabaseProperties_State_Restarting + * Indicates that the Autonomous Database is in restarting state. (Value: + * "RESTARTING") + * @arg @c kGTLROracleDatabase_AutonomousDatabaseProperties_State_RestoreFailed + * Indicates that the Autonomous Database failed to restore. (Value: + * "RESTORE_FAILED") + * @arg @c kGTLROracleDatabase_AutonomousDatabaseProperties_State_RestoreInProgress + * Indicates that the Autonomous Database restore is in progress. (Value: + * "RESTORE_IN_PROGRESS") + * @arg @c kGTLROracleDatabase_AutonomousDatabaseProperties_State_RoleChangeInProgress + * Indicates that the Autonomous Database's role change is in progress + * state. (Value: "ROLE_CHANGE_IN_PROGRESS") + * @arg @c kGTLROracleDatabase_AutonomousDatabaseProperties_State_ScaleInProgress + * Indicates that the Autonomous Database scale is in progress. (Value: + * "SCALE_IN_PROGRESS") + * @arg @c kGTLROracleDatabase_AutonomousDatabaseProperties_State_Standby + * Indicates that the Autonomous Database is in standby state. (Value: + * "STANDBY") + * @arg @c kGTLROracleDatabase_AutonomousDatabaseProperties_State_Starting + * Indicates that the Autonomous Database is in starting state. (Value: + * "STARTING") + * @arg @c kGTLROracleDatabase_AutonomousDatabaseProperties_State_StateUnspecified + * Default unspecified value. (Value: "STATE_UNSPECIFIED") + * @arg @c kGTLROracleDatabase_AutonomousDatabaseProperties_State_Stopped + * Indicates that the Autonomous Database is in stopped state. (Value: + * "STOPPED") + * @arg @c kGTLROracleDatabase_AutonomousDatabaseProperties_State_Stopping + * Indicates that the Autonomous Database is in stopping state. (Value: + * "STOPPING") + * @arg @c kGTLROracleDatabase_AutonomousDatabaseProperties_State_Terminated + * Indicates that the Autonomous Database is in terminated state. (Value: + * "TERMINATED") + * @arg @c kGTLROracleDatabase_AutonomousDatabaseProperties_State_Terminating + * Indicates that the Autonomous Database is in terminating state. + * (Value: "TERMINATING") + * @arg @c kGTLROracleDatabase_AutonomousDatabaseProperties_State_Unavailable + * Indicates that the Autonomous Database is in unavailable state. + * (Value: "UNAVAILABLE") + * @arg @c kGTLROracleDatabase_AutonomousDatabaseProperties_State_Updating + * Indicates that the Autonomous Database is in updating state. (Value: + * "UPDATING") + * @arg @c kGTLROracleDatabase_AutonomousDatabaseProperties_State_Upgrading + * Indicates that the Autonomous Database is in upgrading state. (Value: + * "UPGRADING") + */ +@property(nonatomic, copy, nullable) NSString *state; + +/** + * Output only. The list of available regions that can be used to create a + * clone for the Autonomous Database. + */ +@property(nonatomic, strong, nullable) NSArray *supportedCloneRegions; + +/** + * Output only. The storage space used by automatic backups of Autonomous + * Database, in gigabytes. + * + * Uses NSNumber of floatValue. + */ +@property(nonatomic, strong, nullable) NSNumber *totalAutoBackupStorageSizeGbs; + +/** + * Output only. The storage space used by Autonomous Database, in gigabytes. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *usedDataStorageSizeTbs; + +/** Optional. The ID of the Oracle Cloud Infrastructure vault. */ +@property(nonatomic, copy, nullable) NSString *vaultId; + +@end + + +/** + * Autonomous Data Guard standby database details. + * https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/datatypes/AutonomousDatabaseStandbySummary + */ +@interface GTLROracleDatabase_AutonomousDatabaseStandbySummary : GTLRObject + +/** + * Output only. The date and time the Autonomous Data Guard role was switched + * for the standby Autonomous Database. + */ +@property(nonatomic, strong, nullable) GTLRDateTime *dataGuardRoleChangedTime; + +/** + * Output only. The date and time the Disaster Recovery role was switched for + * the standby Autonomous Database. + */ +@property(nonatomic, strong, nullable) GTLRDateTime *disasterRecoveryRoleChangedTime; + +/** + * Output only. The amount of time, in seconds, that the data of the standby + * database lags in comparison to the data of the primary database. + */ +@property(nonatomic, strong, nullable) GTLRDuration *lagTimeDuration; + +/** + * Output only. The additional details about the current lifecycle state of the + * Autonomous Database. + */ +@property(nonatomic, copy, nullable) NSString *lifecycleDetails; + +/** + * Output only. The current lifecycle state of the Autonomous Database. + * + * Likely values: + * @arg @c kGTLROracleDatabase_AutonomousDatabaseStandbySummary_State_Available + * Indicates that the Autonomous Database is in available state. (Value: + * "AVAILABLE") + * @arg @c kGTLROracleDatabase_AutonomousDatabaseStandbySummary_State_AvailableNeedsAttention + * Indicates that the Autonomous Database is available but needs + * attention state. (Value: "AVAILABLE_NEEDS_ATTENTION") + * @arg @c kGTLROracleDatabase_AutonomousDatabaseStandbySummary_State_BackupInProgress + * Indicates that the Autonomous Database backup is in progress. (Value: + * "BACKUP_IN_PROGRESS") + * @arg @c kGTLROracleDatabase_AutonomousDatabaseStandbySummary_State_Inaccessible + * Indicates that the Autonomous Database is in inaccessible state. + * (Value: "INACCESSIBLE") + * @arg @c kGTLROracleDatabase_AutonomousDatabaseStandbySummary_State_MaintenanceInProgress + * Indicates that the Autonomous Database's maintenance is in progress + * state. (Value: "MAINTENANCE_IN_PROGRESS") + * @arg @c kGTLROracleDatabase_AutonomousDatabaseStandbySummary_State_Provisioning + * Indicates that the Autonomous Database is in provisioning state. + * (Value: "PROVISIONING") + * @arg @c kGTLROracleDatabase_AutonomousDatabaseStandbySummary_State_Recreating + * Indicates that the Autonomous Database is in recreating state. (Value: + * "RECREATING") + * @arg @c kGTLROracleDatabase_AutonomousDatabaseStandbySummary_State_Restarting + * Indicates that the Autonomous Database is in restarting state. (Value: + * "RESTARTING") + * @arg @c kGTLROracleDatabase_AutonomousDatabaseStandbySummary_State_RestoreFailed + * Indicates that the Autonomous Database failed to restore. (Value: + * "RESTORE_FAILED") + * @arg @c kGTLROracleDatabase_AutonomousDatabaseStandbySummary_State_RestoreInProgress + * Indicates that the Autonomous Database restore is in progress. (Value: + * "RESTORE_IN_PROGRESS") + * @arg @c kGTLROracleDatabase_AutonomousDatabaseStandbySummary_State_RoleChangeInProgress + * Indicates that the Autonomous Database's role change is in progress + * state. (Value: "ROLE_CHANGE_IN_PROGRESS") + * @arg @c kGTLROracleDatabase_AutonomousDatabaseStandbySummary_State_ScaleInProgress + * Indicates that the Autonomous Database scale is in progress. (Value: + * "SCALE_IN_PROGRESS") + * @arg @c kGTLROracleDatabase_AutonomousDatabaseStandbySummary_State_Standby + * Indicates that the Autonomous Database is in standby state. (Value: + * "STANDBY") + * @arg @c kGTLROracleDatabase_AutonomousDatabaseStandbySummary_State_Starting + * Indicates that the Autonomous Database is in starting state. (Value: + * "STARTING") + * @arg @c kGTLROracleDatabase_AutonomousDatabaseStandbySummary_State_StateUnspecified + * Default unspecified value. (Value: "STATE_UNSPECIFIED") + * @arg @c kGTLROracleDatabase_AutonomousDatabaseStandbySummary_State_Stopped + * Indicates that the Autonomous Database is in stopped state. (Value: + * "STOPPED") + * @arg @c kGTLROracleDatabase_AutonomousDatabaseStandbySummary_State_Stopping + * Indicates that the Autonomous Database is in stopping state. (Value: + * "STOPPING") + * @arg @c kGTLROracleDatabase_AutonomousDatabaseStandbySummary_State_Terminated + * Indicates that the Autonomous Database is in terminated state. (Value: + * "TERMINATED") + * @arg @c kGTLROracleDatabase_AutonomousDatabaseStandbySummary_State_Terminating + * Indicates that the Autonomous Database is in terminating state. + * (Value: "TERMINATING") + * @arg @c kGTLROracleDatabase_AutonomousDatabaseStandbySummary_State_Unavailable + * Indicates that the Autonomous Database is in unavailable state. + * (Value: "UNAVAILABLE") + * @arg @c kGTLROracleDatabase_AutonomousDatabaseStandbySummary_State_Updating + * Indicates that the Autonomous Database is in updating state. (Value: + * "UPDATING") + * @arg @c kGTLROracleDatabase_AutonomousDatabaseStandbySummary_State_Upgrading + * Indicates that the Autonomous Database is in upgrading state. (Value: + * "UPGRADING") + */ +@property(nonatomic, copy, nullable) NSString *state; + +@end + + +/** + * Details of the Autonomous Database version. + * https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/AutonomousDbVersionSummary/ + */ +@interface GTLROracleDatabase_AutonomousDbVersion : GTLRObject + +/** + * Output only. The Autonomous Database workload type. + * + * Likely values: + * @arg @c kGTLROracleDatabase_AutonomousDbVersion_DbWorkload_Ajd Autonomous + * JSON Database. (Value: "AJD") + * @arg @c kGTLROracleDatabase_AutonomousDbVersion_DbWorkload_Apex Autonomous + * Database with the Oracle APEX Application Development workload type. + * (Value: "APEX") + * @arg @c kGTLROracleDatabase_AutonomousDbVersion_DbWorkload_DbWorkloadUnspecified + * Default unspecified value. (Value: "DB_WORKLOAD_UNSPECIFIED") + * @arg @c kGTLROracleDatabase_AutonomousDbVersion_DbWorkload_Dw Autonomous + * Data Warehouse database. (Value: "DW") + * @arg @c kGTLROracleDatabase_AutonomousDbVersion_DbWorkload_Oltp Autonomous + * Transaction Processing database. (Value: "OLTP") + */ +@property(nonatomic, copy, nullable) NSString *dbWorkload; + +/** + * Identifier. The name of the Autonomous Database Version resource with the + * format: + * projects/{project}/locations/{region}/autonomousDbVersions/{autonomous_db_version} + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** Output only. An Oracle Database version for Autonomous Database. */ +@property(nonatomic, copy, nullable) NSString *version; + +/** + * Output only. A URL that points to a detailed description of the Autonomous + * Database version. + */ +@property(nonatomic, copy, nullable) NSString *workloadUri; + +@end + + +/** + * The request message for Operations.CancelOperation. + */ +@interface GTLROracleDatabase_CancelOperationRequest : GTLRObject +@end + + +/** + * Details of the OCI Cloud Account. + */ +@interface GTLROracleDatabase_CloudAccountDetails : GTLRObject + +/** Output only. URL to create a new account and link. */ +@property(nonatomic, copy, nullable) NSString *accountCreationUri; + +/** Output only. OCI account name. */ +@property(nonatomic, copy, nullable) NSString *cloudAccount; + +/** Output only. OCI account home region. */ +@property(nonatomic, copy, nullable) NSString *cloudAccountHomeRegion; + +/** Output only. URL to link an existing account. */ +@property(nonatomic, copy, nullable) NSString *linkExistingAccountUri; + +@end + + +/** + * Represents CloudExadataInfrastructure resource. + * https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/CloudExadataInfrastructure/ + */ +@interface GTLROracleDatabase_CloudExadataInfrastructure : GTLRObject + +/** + * Output only. The date and time that the Exadata Infrastructure was created. + */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; + +/** Optional. User friendly name for this resource. */ +@property(nonatomic, copy, nullable) NSString *displayName; + +/** + * Output only. Entitlement ID of the private offer against which this + * infrastructure resource is provisioned. + */ +@property(nonatomic, copy, nullable) NSString *entitlementId; + +/** + * Optional. Google Cloud Platform location where Oracle Exadata is hosted. + */ +@property(nonatomic, copy, nullable) NSString *gcpOracleZone; + +/** Optional. Labels or tags associated with the resource. */ +@property(nonatomic, strong, nullable) GTLROracleDatabase_CloudExadataInfrastructure_Labels *labels; + +/** + * Identifier. The name of the Exadata Infrastructure resource with the format: + * projects/{project}/locations/{region}/cloudExadataInfrastructures/{cloud_exadata_infrastructure} + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** Optional. Various properties of the infra. */ +@property(nonatomic, strong, nullable) GTLROracleDatabase_CloudExadataInfrastructureProperties *properties; + +@end + + +/** + * Optional. Labels or tags associated with the resource. + * + * @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 GTLROracleDatabase_CloudExadataInfrastructure_Labels : GTLRObject +@end + + +/** + * Various properties of Exadata Infrastructure. + */ +@interface GTLROracleDatabase_CloudExadataInfrastructureProperties : GTLRObject + +/** + * Output only. The requested number of additional storage servers activated + * for the Exadata Infrastructure. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *activatedStorageCount; + +/** + * Output only. The requested number of additional storage servers for the + * Exadata Infrastructure. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *additionalStorageCount; + +/** + * Output only. The available storage can be allocated to the Exadata + * Infrastructure resource, in gigabytes (GB). + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *availableStorageSizeGb; + +/** + * Optional. The number of compute servers for the Exadata Infrastructure. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *computeCount; + +/** + * Optional. The number of enabled CPU cores. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *cpuCount; + +/** Optional. The list of customer contacts. */ +@property(nonatomic, strong, nullable) NSArray *customerContacts; + +/** + * Output only. Size, in terabytes, of the DATA disk group. + * + * Uses NSNumber of doubleValue. + */ +@property(nonatomic, strong, nullable) NSNumber *dataStorageSizeTb; + +/** + * Optional. The local node storage allocated in GBs. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *dbNodeStorageSizeGb; + +/** + * Output only. The software version of the database servers (dom0) in the + * Exadata Infrastructure. + */ +@property(nonatomic, copy, nullable) NSString *dbServerVersion; + +/** Optional. Maintenance window for repair. */ +@property(nonatomic, strong, nullable) GTLROracleDatabase_MaintenanceWindow *maintenanceWindow; + +/** + * Output only. The total number of CPU cores available. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *maxCpuCount; + +/** + * Output only. The total available DATA disk group size. + * + * Uses NSNumber of doubleValue. + */ +@property(nonatomic, strong, nullable) NSNumber *maxDataStorageTb; + +/** + * Output only. The total local node storage available in GBs. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *maxDbNodeStorageSizeGb; + +/** + * Output only. The total memory available in GBs. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *maxMemoryGb; + +/** + * Optional. The memory allocated in GBs. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *memorySizeGb; + +/** + * Output only. The monthly software version of the database servers (dom0) in + * the Exadata Infrastructure. Example: 20.1.15 + */ +@property(nonatomic, copy, nullable) NSString *monthlyDbServerVersion; + +/** + * Output only. The monthly software version of the storage servers (cells) in + * the Exadata Infrastructure. Example: 20.1.15 + */ +@property(nonatomic, copy, nullable) NSString *monthlyStorageServerVersion; + +/** Output only. The OCID of the next maintenance run. */ +@property(nonatomic, copy, nullable) NSString *nextMaintenanceRunId; + +/** Output only. The time when the next maintenance run will occur. */ +@property(nonatomic, strong, nullable) GTLRDateTime *nextMaintenanceRunTime; + +/** + * Output only. The time when the next security maintenance run will occur. + */ +@property(nonatomic, strong, nullable) GTLRDateTime *nextSecurityMaintenanceRunTime; + +/** + * Output only. OCID of created infra. + * https://docs.oracle.com/en-us/iaas/Content/General/Concepts/identifiers.htm#Oracle + */ +@property(nonatomic, copy, nullable) NSString *ocid; + +/** Output only. Deep link to the OCI console to view this resource. */ +@property(nonatomic, copy, nullable) NSString *ociUrl; + +/** + * Required. The shape of the Exadata Infrastructure. The shape determines the + * amount of CPU, storage, and memory resources allocated to the instance. + */ +@property(nonatomic, copy, nullable) NSString *shape; + +/** + * Output only. The current lifecycle state of the Exadata Infrastructure. + * + * Likely values: + * @arg @c kGTLROracleDatabase_CloudExadataInfrastructureProperties_State_Available + * The Exadata Infrastructure is available for use. (Value: "AVAILABLE") + * @arg @c kGTLROracleDatabase_CloudExadataInfrastructureProperties_State_Failed + * The Exadata Infrastructure is in failed state. (Value: "FAILED") + * @arg @c kGTLROracleDatabase_CloudExadataInfrastructureProperties_State_MaintenanceInProgress + * The Exadata Infrastructure is in maintenance. (Value: + * "MAINTENANCE_IN_PROGRESS") + * @arg @c kGTLROracleDatabase_CloudExadataInfrastructureProperties_State_Provisioning + * The Exadata Infrastructure is being provisioned. (Value: + * "PROVISIONING") + * @arg @c kGTLROracleDatabase_CloudExadataInfrastructureProperties_State_StateUnspecified + * Default unspecified value. (Value: "STATE_UNSPECIFIED") + * @arg @c kGTLROracleDatabase_CloudExadataInfrastructureProperties_State_Terminated + * The Exadata Infrastructure is terminated. (Value: "TERMINATED") + * @arg @c kGTLROracleDatabase_CloudExadataInfrastructureProperties_State_Terminating + * The Exadata Infrastructure is being terminated. (Value: "TERMINATING") + * @arg @c kGTLROracleDatabase_CloudExadataInfrastructureProperties_State_Updating + * The Exadata Infrastructure is being updated. (Value: "UPDATING") + */ +@property(nonatomic, copy, nullable) NSString *state; + +/** + * Optional. The number of Cloud Exadata storage servers for the Exadata + * Infrastructure. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *storageCount; + +/** + * Output only. The software version of the storage servers (cells) in the + * Exadata Infrastructure. + */ +@property(nonatomic, copy, nullable) NSString *storageServerVersion; + +/** + * Optional. The total storage allocated to the Exadata Infrastructure + * resource, in gigabytes (GB). + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *totalStorageSizeGb; + +@end + + +/** + * Details of the Cloud VM Cluster resource. + * https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/CloudVmCluster/ + */ +@interface GTLROracleDatabase_CloudVmCluster : GTLRObject + +/** Required. CIDR range of the backup subnet. */ +@property(nonatomic, copy, nullable) NSString *backupSubnetCidr; + +/** Required. Network settings. CIDR to use for cluster IP allocation. */ +@property(nonatomic, copy, nullable) NSString *cidr; + +/** Output only. The date and time that the VM cluster was created. */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; + +/** Optional. User friendly name for this resource. */ +@property(nonatomic, copy, nullable) NSString *displayName; + +/** + * Required. The name of the Exadata Infrastructure resource on which VM + * cluster resource is created, in the following format: + * projects/{project}/locations/{region}/cloudExadataInfrastuctures/{cloud_extradata_infrastructure} + */ +@property(nonatomic, copy, nullable) NSString *exadataInfrastructure; + +/** + * Output only. Google Cloud Platform location where Oracle Exadata is hosted. + * It is same as Google Cloud Platform Oracle zone of Exadata infrastructure. + */ +@property(nonatomic, copy, nullable) NSString *gcpOracleZone; + +/** Optional. Labels or tags associated with the VM Cluster. */ +@property(nonatomic, strong, nullable) GTLROracleDatabase_CloudVmCluster_Labels *labels; + +/** + * Identifier. The name of the VM Cluster resource with the format: + * projects/{project}/locations/{region}/cloudVmClusters/{cloud_vm_cluster} + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Required. The name of the VPC network. Format: + * projects/{project}/global/networks/{network} + */ +@property(nonatomic, copy, nullable) NSString *network; + +/** Optional. Various properties of the VM Cluster. */ +@property(nonatomic, strong, nullable) GTLROracleDatabase_CloudVmClusterProperties *properties; + +@end + + +/** + * Optional. Labels or tags associated with the VM Cluster. + * + * @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 GTLROracleDatabase_CloudVmCluster_Labels : GTLRObject +@end + + +/** + * Various properties and settings associated with Exadata VM cluster. + */ +@interface GTLROracleDatabase_CloudVmClusterProperties : GTLRObject + +/** Optional. OCI Cluster name. */ +@property(nonatomic, copy, nullable) NSString *clusterName; + +/** Output only. Compartment ID of cluster. */ +@property(nonatomic, copy, nullable) NSString *compartmentId; + +/** + * Required. Number of enabled CPU cores. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *cpuCoreCount; + +/** + * Optional. The data disk group size to be allocated in TBs. + * + * Uses NSNumber of doubleValue. + */ +@property(nonatomic, strong, nullable) NSNumber *dataStorageSizeTb; + +/** + * Optional. Local storage per VM. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *dbNodeStorageSizeGb; + +/** Optional. OCID of database servers. */ +@property(nonatomic, strong, nullable) NSArray *dbServerOcids; + +/** Optional. Data collection options for diagnostics. */ +@property(nonatomic, strong, nullable) GTLROracleDatabase_DataCollectionOptions *diagnosticsDataCollectionOptions; + +/** + * Optional. The type of redundancy. + * + * Likely values: + * @arg @c kGTLROracleDatabase_CloudVmClusterProperties_DiskRedundancy_DiskRedundancyUnspecified + * Unspecified. (Value: "DISK_REDUNDANCY_UNSPECIFIED") + * @arg @c kGTLROracleDatabase_CloudVmClusterProperties_DiskRedundancy_High + * High - 3 way mirror. (Value: "HIGH") + * @arg @c kGTLROracleDatabase_CloudVmClusterProperties_DiskRedundancy_Normal + * Normal - 2 way mirror. (Value: "NORMAL") + */ +@property(nonatomic, copy, nullable) NSString *diskRedundancy; + +/** Output only. DNS listener IP. */ +@property(nonatomic, copy, nullable) NSString *dnsListenerIp; + +/** + * Output only. Parent DNS domain where SCAN DNS and hosts names are qualified. + * ex: ocispdelegated.ocisp10jvnet.oraclevcn.com + */ +@property(nonatomic, copy, nullable) NSString *domain; + +/** Optional. Grid Infrastructure Version. */ +@property(nonatomic, copy, nullable) NSString *giVersion; + +/** + * Output only. host name without domain. format: "-" with some suffix. ex: + * sp2-yi0xq where "sp2" is the hostname_prefix. + */ +@property(nonatomic, copy, nullable) NSString *hostname; + +/** Optional. Prefix for VM cluster host names. */ +@property(nonatomic, copy, nullable) NSString *hostnamePrefix; + +/** + * Required. License type of VM Cluster. + * + * Likely values: + * @arg @c kGTLROracleDatabase_CloudVmClusterProperties_LicenseType_BringYourOwnLicense + * Bring your own license (Value: "BRING_YOUR_OWN_LICENSE") + * @arg @c kGTLROracleDatabase_CloudVmClusterProperties_LicenseType_LicenseIncluded + * License included part of offer (Value: "LICENSE_INCLUDED") + * @arg @c kGTLROracleDatabase_CloudVmClusterProperties_LicenseType_LicenseTypeUnspecified + * Unspecified (Value: "LICENSE_TYPE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *licenseType; + +/** + * Optional. Use local backup. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *localBackupEnabled; + +/** + * Optional. Memory allocated in GBs. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *memorySizeGb; + +/** + * Optional. Number of database servers. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *nodeCount; + +/** Output only. Oracle Cloud Infrastructure ID of VM Cluster. */ +@property(nonatomic, copy, nullable) NSString *ocid; + +/** Output only. Deep link to the OCI console to view this resource. */ +@property(nonatomic, copy, nullable) NSString *ociUrl; + +/** + * Optional. OCPU count per VM. Minimum is 0.1. + * + * Uses NSNumber of floatValue. + */ +@property(nonatomic, strong, nullable) NSNumber *ocpuCount; + +/** + * Output only. SCAN DNS name. ex: + * sp2-yi0xq-scan.ocispdelegated.ocisp10jvnet.oraclevcn.com + */ +@property(nonatomic, copy, nullable) NSString *scanDns; + +/** Output only. OCID of scan DNS record. */ +@property(nonatomic, copy, nullable) NSString *scanDnsRecordId; + +/** Output only. OCIDs of scan IPs. */ +@property(nonatomic, strong, nullable) NSArray *scanIpIds; + +/** + * Output only. SCAN listener port - TCP + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *scanListenerPortTcp; + +/** + * Output only. SCAN listener port - TLS + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *scanListenerPortTcpSsl; + +/** Output only. Shape of VM Cluster. */ +@property(nonatomic, copy, nullable) NSString *shape; + +/** + * Optional. Use exadata sparse snapshots. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *sparseDiskgroupEnabled; + +/** Optional. SSH public keys to be stored with cluster. */ +@property(nonatomic, strong, nullable) NSArray *sshPublicKeys; + +/** + * Output only. State of the cluster. + * + * Likely values: + * @arg @c kGTLROracleDatabase_CloudVmClusterProperties_State_Available + * Indicates that the resource is in available state. (Value: + * "AVAILABLE") + * @arg @c kGTLROracleDatabase_CloudVmClusterProperties_State_Failed + * Indicates that the resource is in failed state. (Value: "FAILED") + * @arg @c kGTLROracleDatabase_CloudVmClusterProperties_State_MaintenanceInProgress + * Indicates that the resource is in maintenance in progress state. + * (Value: "MAINTENANCE_IN_PROGRESS") + * @arg @c kGTLROracleDatabase_CloudVmClusterProperties_State_Provisioning + * Indicates that the resource is in provisioning state. (Value: + * "PROVISIONING") + * @arg @c kGTLROracleDatabase_CloudVmClusterProperties_State_StateUnspecified + * Default unspecified value. (Value: "STATE_UNSPECIFIED") + * @arg @c kGTLROracleDatabase_CloudVmClusterProperties_State_Terminated + * Indicates that the resource is in terminated state. (Value: + * "TERMINATED") + * @arg @c kGTLROracleDatabase_CloudVmClusterProperties_State_Terminating + * Indicates that the resource is in terminating state. (Value: + * "TERMINATING") + * @arg @c kGTLROracleDatabase_CloudVmClusterProperties_State_Updating + * Indicates that the resource is in updating state. (Value: "UPDATING") + */ +@property(nonatomic, copy, nullable) NSString *state; + +/** + * Output only. The storage allocation for the disk group, in gigabytes (GB). + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *storageSizeGb; + +/** Output only. Operating system version of the image. */ +@property(nonatomic, copy, nullable) NSString *systemVersion; + +/** + * Optional. Time zone of VM Cluster to set. Defaults to UTC if not specified. + */ +@property(nonatomic, strong, nullable) GTLROracleDatabase_TimeZone *timeZone; + +@end + + +/** + * The CustomerContact reference as defined by Oracle. + * https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/datatypes/CustomerContact + */ +@interface GTLROracleDatabase_CustomerContact : GTLRObject + +/** + * Required. The email address used by Oracle to send notifications regarding + * databases and infrastructure. + */ +@property(nonatomic, copy, nullable) NSString *email; + +@end + + +/** + * The connection string profile to allow clients to group. + * https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/datatypes/DatabaseConnectionStringProfile + */ +@interface GTLROracleDatabase_DatabaseConnectionStringProfile : GTLRObject + +/** + * Output only. The current consumer group being used by the connection. + * + * Likely values: + * @arg @c kGTLROracleDatabase_DatabaseConnectionStringProfile_ConsumerGroup_ConsumerGroupUnspecified + * Default unspecified value. (Value: "CONSUMER_GROUP_UNSPECIFIED") + * @arg @c kGTLROracleDatabase_DatabaseConnectionStringProfile_ConsumerGroup_High + * High consumer group. (Value: "HIGH") + * @arg @c kGTLROracleDatabase_DatabaseConnectionStringProfile_ConsumerGroup_Low + * Low consumer group. (Value: "LOW") + * @arg @c kGTLROracleDatabase_DatabaseConnectionStringProfile_ConsumerGroup_Medium + * Medium consumer group. (Value: "MEDIUM") + * @arg @c kGTLROracleDatabase_DatabaseConnectionStringProfile_ConsumerGroup_Tp + * TP consumer group. (Value: "TP") + * @arg @c kGTLROracleDatabase_DatabaseConnectionStringProfile_ConsumerGroup_Tpurgent + * TPURGENT consumer group. (Value: "TPURGENT") + */ +@property(nonatomic, copy, nullable) NSString *consumerGroup; + +/** Output only. The display name for the database connection. */ +@property(nonatomic, copy, nullable) NSString *displayName; + +/** + * Output only. The host name format being currently used in connection string. + * + * Likely values: + * @arg @c kGTLROracleDatabase_DatabaseConnectionStringProfile_HostFormat_Fqdn + * FQDN (Value: "FQDN") + * @arg @c kGTLROracleDatabase_DatabaseConnectionStringProfile_HostFormat_HostFormatUnspecified + * Default unspecified value. (Value: "HOST_FORMAT_UNSPECIFIED") + * @arg @c kGTLROracleDatabase_DatabaseConnectionStringProfile_HostFormat_Ip + * IP (Value: "IP") + */ +@property(nonatomic, copy, nullable) NSString *hostFormat; + +/** + * Output only. This field indicates if the connection string is regional and + * is only applicable for cross-region Data Guard. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *isRegional; + +/** + * Output only. The protocol being used by the connection. + * + * Likely values: + * @arg @c kGTLROracleDatabase_DatabaseConnectionStringProfile_Protocol_ProtocolUnspecified + * Default unspecified value. (Value: "PROTOCOL_UNSPECIFIED") + * @arg @c kGTLROracleDatabase_DatabaseConnectionStringProfile_Protocol_Tcp + * Tcp (Value: "TCP") + * @arg @c kGTLROracleDatabase_DatabaseConnectionStringProfile_Protocol_Tcps + * Tcps (Value: "TCPS") + */ +@property(nonatomic, copy, nullable) NSString *protocol; + +/** + * Output only. The current session mode of the connection. + * + * Likely values: + * @arg @c kGTLROracleDatabase_DatabaseConnectionStringProfile_SessionMode_Direct + * Direct (Value: "DIRECT") + * @arg @c kGTLROracleDatabase_DatabaseConnectionStringProfile_SessionMode_Indirect + * Indirect (Value: "INDIRECT") + * @arg @c kGTLROracleDatabase_DatabaseConnectionStringProfile_SessionMode_SessionModeUnspecified + * Default unspecified value. (Value: "SESSION_MODE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *sessionMode; + +/** + * Output only. The syntax of the connection string. + * + * Likely values: + * @arg @c kGTLROracleDatabase_DatabaseConnectionStringProfile_SyntaxFormat_Ezconnect + * Ezconnect (Value: "EZCONNECT") + * @arg @c kGTLROracleDatabase_DatabaseConnectionStringProfile_SyntaxFormat_Ezconnectplus + * Ezconnectplus (Value: "EZCONNECTPLUS") + * @arg @c kGTLROracleDatabase_DatabaseConnectionStringProfile_SyntaxFormat_Long + * Long (Value: "LONG") + * @arg @c kGTLROracleDatabase_DatabaseConnectionStringProfile_SyntaxFormat_SyntaxFormatUnspecified + * Default unspecified value. (Value: "SYNTAX_FORMAT_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *syntaxFormat; + +/** + * Output only. This field indicates the TLS authentication type of the + * connection. + * + * Likely values: + * @arg @c kGTLROracleDatabase_DatabaseConnectionStringProfile_TlsAuthentication_Mutual + * Mutual (Value: "MUTUAL") + * @arg @c kGTLROracleDatabase_DatabaseConnectionStringProfile_TlsAuthentication_Server + * Server (Value: "SERVER") + * @arg @c kGTLROracleDatabase_DatabaseConnectionStringProfile_TlsAuthentication_TlsAuthenticationUnspecified + * Default unspecified value. (Value: "TLS_AUTHENTICATION_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *tlsAuthentication; + +/** Output only. The value of the connection string. */ +@property(nonatomic, copy, nullable) NSString *value; + +@end + + +/** + * Data collection options for diagnostics. + */ +@interface GTLROracleDatabase_DataCollectionOptions : GTLRObject + +/** + * Optional. Indicates whether diagnostic collection is enabled for the VM + * cluster + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *diagnosticsEventsEnabled; + +/** + * Optional. Indicates whether health monitoring is enabled for the VM cluster + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *healthMonitoringEnabled; + +/** + * Optional. Indicates whether incident logs and trace collection are enabled + * for the VM cluster + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *incidentLogsEnabled; + +@end + + +/** + * Details of the database node resource. + * https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/DbNode/ + */ +@interface GTLROracleDatabase_DbNode : GTLRObject + +/** + * Identifier. The name of the database node resource in the following format: + * projects/{project}/locations/{location}/cloudVmClusters/{cloud_vm_cluster}/dbNodes/{db_node} + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** Optional. Various properties of the database node. */ +@property(nonatomic, strong, nullable) GTLROracleDatabase_DbNodeProperties *properties; + +@end + + +/** + * Various properties and settings associated with Db node. + */ +@interface GTLROracleDatabase_DbNodeProperties : GTLRObject + +/** + * Optional. Local storage per database node. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *dbNodeStorageSizeGb; + +/** Optional. Database server OCID. */ +@property(nonatomic, copy, nullable) NSString *dbServerOcid; + +/** Optional. DNS */ +@property(nonatomic, copy, nullable) NSString *hostname; + +/** + * Memory allocated in GBs. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *memorySizeGb; + +/** Output only. OCID of database node. */ +@property(nonatomic, copy, nullable) NSString *ocid; + +/** + * Optional. OCPU count per database node. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *ocpuCount; + +/** + * Output only. State of the database node. + * + * Likely values: + * @arg @c kGTLROracleDatabase_DbNodeProperties_State_Available Indicates + * that the resource is in available state. (Value: "AVAILABLE") + * @arg @c kGTLROracleDatabase_DbNodeProperties_State_Failed Indicates that + * the resource is in failed state. (Value: "FAILED") + * @arg @c kGTLROracleDatabase_DbNodeProperties_State_Provisioning Indicates + * that the resource is in provisioning state. (Value: "PROVISIONING") + * @arg @c kGTLROracleDatabase_DbNodeProperties_State_Starting Indicates that + * the resource is in starting state. (Value: "STARTING") + * @arg @c kGTLROracleDatabase_DbNodeProperties_State_StateUnspecified + * Default unspecified value. (Value: "STATE_UNSPECIFIED") + * @arg @c kGTLROracleDatabase_DbNodeProperties_State_Stopped Indicates that + * the resource is in stopped state. (Value: "STOPPED") + * @arg @c kGTLROracleDatabase_DbNodeProperties_State_Stopping Indicates that + * the resource is in stopping state. (Value: "STOPPING") + * @arg @c kGTLROracleDatabase_DbNodeProperties_State_Terminated Indicates + * that the resource is in terminated state. (Value: "TERMINATED") + * @arg @c kGTLROracleDatabase_DbNodeProperties_State_Terminating Indicates + * that the resource is in terminating state. (Value: "TERMINATING") + * @arg @c kGTLROracleDatabase_DbNodeProperties_State_Updating Indicates that + * the resource is in updating state. (Value: "UPDATING") + */ +@property(nonatomic, copy, nullable) NSString *state; + +/** + * Total CPU core count of the database node. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *totalCpuCoreCount; + +@end + + +/** + * Details of the database server resource. + * https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/DbServer/ + */ +@interface GTLROracleDatabase_DbServer : GTLRObject + +/** Optional. User friendly name for this resource. */ +@property(nonatomic, copy, nullable) NSString *displayName; + +/** + * Identifier. The name of the database server resource with the format: + * projects/{project}/locations/{location}/cloudExadataInfrastructures/{cloud_exadata_infrastructure}/dbServers/{db_server} + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** Optional. Various properties of the database server. */ +@property(nonatomic, strong, nullable) GTLROracleDatabase_DbServerProperties *properties; + +@end + + +/** + * Various properties and settings associated with Exadata database server. + */ +@interface GTLROracleDatabase_DbServerProperties : GTLRObject + +/** + * Output only. OCID of database nodes associated with the database server. + */ +@property(nonatomic, strong, nullable) NSArray *dbNodeIds; + +/** + * Optional. Local storage per VM. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *dbNodeStorageSizeGb; + +/** + * Optional. Maximum local storage per VM. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *maxDbNodeStorageSizeGb; + +/** + * Optional. Maximum memory allocated in GBs. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *maxMemorySizeGb; + +/** + * Optional. Maximum OCPU count per database. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *maxOcpuCount; + +/** + * Optional. Memory allocated in GBs. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *memorySizeGb; + +/** Output only. OCID of database server. */ +@property(nonatomic, copy, nullable) NSString *ocid; + +/** + * Optional. OCPU count per database. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *ocpuCount; + +/** + * Output only. State of the database server. + * + * Likely values: + * @arg @c kGTLROracleDatabase_DbServerProperties_State_Available Indicates + * that the resource is in available state. (Value: "AVAILABLE") + * @arg @c kGTLROracleDatabase_DbServerProperties_State_Creating Indicates + * that the resource is in creating state. (Value: "CREATING") + * @arg @c kGTLROracleDatabase_DbServerProperties_State_Deleted Indicates + * that the resource is in deleted state. (Value: "DELETED") + * @arg @c kGTLROracleDatabase_DbServerProperties_State_Deleting Indicates + * that the resource is in deleting state. (Value: "DELETING") + * @arg @c kGTLROracleDatabase_DbServerProperties_State_StateUnspecified + * Default unspecified value. (Value: "STATE_UNSPECIFIED") + * @arg @c kGTLROracleDatabase_DbServerProperties_State_Unavailable Indicates + * that the resource is in unavailable state. (Value: "UNAVAILABLE") + */ +@property(nonatomic, copy, nullable) NSString *state; + +/** + * Optional. Vm count per database. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *vmCount; + +@end + + +/** + * Details of the Database System Shapes resource. + * https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/DbSystemShapeSummary/ + */ +@interface GTLROracleDatabase_DbSystemShape : GTLRObject + +/** + * Optional. Number of cores per node. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *availableCoreCountPerNode; + +/** + * Optional. Storage per storage server in terabytes. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *availableDataStorageTb; + +/** + * Optional. Memory per database server node in gigabytes. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *availableMemoryPerNodeGb; + +/** + * Optional. Maximum number of database servers. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *maxNodeCount; + +/** + * Optional. Maximum number of storage servers. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *maxStorageCount; + +/** + * Optional. Minimum core count per node. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *minCoreCountPerNode; + +/** + * Optional. Minimum node storage per database server in gigabytes. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *minDbNodeStoragePerNodeGb; + +/** + * Optional. Minimum memory per node in gigabytes. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *minMemoryPerNodeGb; + +/** + * Optional. Minimum number of database servers. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *minNodeCount; + +/** + * Optional. Minimum number of storage servers. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *minStorageCount; + +/** + * Identifier. The name of the Database System Shape resource with the format: + * projects/{project}/locations/{region}/dbSystemShapes/{db_system_shape} + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** Optional. shape */ +@property(nonatomic, copy, nullable) NSString *shape; + +@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 GTLROracleDatabase_Empty : GTLRObject +@end + + +/** + * Details of the Entitlement resource. + */ +@interface GTLROracleDatabase_Entitlement : GTLRObject + +/** Details of the OCI Cloud Account. */ +@property(nonatomic, strong, nullable) GTLROracleDatabase_CloudAccountDetails *cloudAccountDetails; + +/** Output only. Google Cloud Marketplace order ID (aka entitlement ID) */ +@property(nonatomic, copy, nullable) NSString *entitlementId; + +/** + * Identifier. The name of the Entitlement resource with the format: + * projects/{project}/locations/{region}/entitlements/{entitlement} + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Output only. Entitlement State. + * + * Likely values: + * @arg @c kGTLROracleDatabase_Entitlement_State_AccountNotActive Account is + * linked but not active. (Value: "ACCOUNT_NOT_ACTIVE") + * @arg @c kGTLROracleDatabase_Entitlement_State_AccountNotLinked Account not + * linked. (Value: "ACCOUNT_NOT_LINKED") + * @arg @c kGTLROracleDatabase_Entitlement_State_Active Entitlement and + * Account are active. (Value: "ACTIVE") + * @arg @c kGTLROracleDatabase_Entitlement_State_StateUnspecified Default + * unspecified value. (Value: "STATE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *state; + +@end + + +/** + * The request for `AutonomousDatabase.GenerateWallet`. + */ +@interface GTLROracleDatabase_GenerateAutonomousDatabaseWalletRequest : GTLRObject + +/** + * Optional. True when requesting regional connection strings in PDB connect + * info, applicable to cross-region Data Guard only. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *isRegional; + +/** + * Required. The password used to encrypt the keys inside the wallet. The + * password must be a minimum of 8 characters. + */ +@property(nonatomic, copy, nullable) NSString *password; + +/** + * Optional. The type of wallet generation for the Autonomous Database. The + * default value is SINGLE. + * + * Likely values: + * @arg @c kGTLROracleDatabase_GenerateAutonomousDatabaseWalletRequest_Type_All + * Used to generate wallet for all databases in the region. (Value: + * "ALL") + * @arg @c kGTLROracleDatabase_GenerateAutonomousDatabaseWalletRequest_Type_GenerateTypeUnspecified + * Default unspecified value. (Value: "GENERATE_TYPE_UNSPECIFIED") + * @arg @c kGTLROracleDatabase_GenerateAutonomousDatabaseWalletRequest_Type_Single + * Used to generate wallet for a single database. (Value: "SINGLE") + */ +@property(nonatomic, copy, nullable) NSString *type; + +@end + + +/** + * The response for `AutonomousDatabase.GenerateWallet`. + */ +@interface GTLROracleDatabase_GenerateAutonomousDatabaseWalletResponse : GTLRObject + +/** + * Output only. The base64 encoded wallet files. + * + * Contains encoded binary data; GTLRBase64 can encode/decode (probably + * web-safe format). + */ +@property(nonatomic, copy, nullable) NSString *archiveContent; + +@end + + +/** + * Details of the Oracle Grid Infrastructure (GI) version resource. + * https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/GiVersionSummary/ + */ +@interface GTLROracleDatabase_GiVersion : GTLRObject + +/** + * Identifier. The name of the Oracle Grid Infrastructure (GI) version resource + * with the format: + * projects/{project}/locations/{region}/giVersions/{gi_versions} + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** Optional. version */ +@property(nonatomic, copy, nullable) NSString *version; + +@end + + +/** + * The response for `AutonomousDatabaseBackup.List`. + * + * @note This class supports NSFastEnumeration and indexed subscripting over + * its "autonomousDatabaseBackups" property. If returned as the result of + * a query, it should support automatic pagination (when @c + * shouldFetchNextPages is enabled). + */ +@interface GTLROracleDatabase_ListAutonomousDatabaseBackupsResponse : GTLRCollectionObject + +/** + * The list of Autonomous Database Backups. + * + * @note This property is used to support NSFastEnumeration and indexed + * subscripting on this class. + */ +@property(nonatomic, strong, nullable) NSArray *autonomousDatabaseBackups; + +/** A token identifying a page of results the server should return. */ +@property(nonatomic, copy, nullable) NSString *nextPageToken; + +@end + + +/** + * The response for `AutonomousDatabaseCharacterSet.List`. + * + * @note This class supports NSFastEnumeration and indexed subscripting over + * its "autonomousDatabaseCharacterSets" property. If returned as the + * result of a query, it should support automatic pagination (when @c + * shouldFetchNextPages is enabled). + */ +@interface GTLROracleDatabase_ListAutonomousDatabaseCharacterSetsResponse : GTLRCollectionObject + +/** + * The list of Autonomous Database Character Sets. + * + * @note This property is used to support NSFastEnumeration and indexed + * subscripting on this class. + */ +@property(nonatomic, strong, nullable) NSArray *autonomousDatabaseCharacterSets; + +/** A token identifying a page of results the server should return. */ +@property(nonatomic, copy, nullable) NSString *nextPageToken; + +@end + + +/** + * The response for `AutonomousDatabase.List`. + * + * @note This class supports NSFastEnumeration and indexed subscripting over + * its "autonomousDatabases" property. If returned as the result of a + * query, it should support automatic pagination (when @c + * shouldFetchNextPages is enabled). + */ +@interface GTLROracleDatabase_ListAutonomousDatabasesResponse : GTLRCollectionObject + +/** + * The list of Autonomous Databases. + * + * @note This property is used to support NSFastEnumeration and indexed + * subscripting on this class. + */ +@property(nonatomic, strong, nullable) NSArray *autonomousDatabases; + +/** A token identifying a page of results the server should return. */ +@property(nonatomic, copy, nullable) NSString *nextPageToken; + +@end + + +/** + * The response for `AutonomousDbVersion.List`. + * + * @note This class supports NSFastEnumeration and indexed subscripting over + * its "autonomousDbVersions" property. If returned as the result of a + * query, it should support automatic pagination (when @c + * shouldFetchNextPages is enabled). + */ +@interface GTLROracleDatabase_ListAutonomousDbVersionsResponse : GTLRCollectionObject + +/** + * The list of Autonomous Database versions. + * + * @note This property is used to support NSFastEnumeration and indexed + * subscripting on this class. + */ +@property(nonatomic, strong, nullable) NSArray *autonomousDbVersions; + +/** A token identifying a page of results the server should return. */ +@property(nonatomic, copy, nullable) NSString *nextPageToken; + +@end + + +/** + * The response for `CloudExadataInfrastructures.list`. + * + * @note This class supports NSFastEnumeration and indexed subscripting over + * its "cloudExadataInfrastructures" property. If returned as the result + * of a query, it should support automatic pagination (when @c + * shouldFetchNextPages is enabled). + */ +@interface GTLROracleDatabase_ListCloudExadataInfrastructuresResponse : GTLRCollectionObject + +/** + * The list of Exadata Infrastructures. + * + * @note This property is used to support NSFastEnumeration and indexed + * subscripting on this class. + */ +@property(nonatomic, strong, nullable) NSArray *cloudExadataInfrastructures; + +/** A token for fetching next page of response. */ +@property(nonatomic, copy, nullable) NSString *nextPageToken; + +@end + + +/** + * The response for `CloudVmCluster.List`. + * + * @note This class supports NSFastEnumeration and indexed subscripting over + * its "cloudVmClusters" property. If returned as the result of a query, + * it should support automatic pagination (when @c shouldFetchNextPages + * is enabled). + */ +@interface GTLROracleDatabase_ListCloudVmClustersResponse : GTLRCollectionObject + +/** + * The list of VM Clusters. + * + * @note This property is used to support NSFastEnumeration and indexed + * subscripting on this class. + */ +@property(nonatomic, strong, nullable) NSArray *cloudVmClusters; + +/** A token to fetch the next page of results. */ +@property(nonatomic, copy, nullable) NSString *nextPageToken; + +@end + + +/** + * The response for `DbNode.List`. + * + * @note This class supports NSFastEnumeration and indexed subscripting over + * its "dbNodes" property. If returned as the result of a query, it + * should support automatic pagination (when @c shouldFetchNextPages is + * enabled). + */ +@interface GTLROracleDatabase_ListDbNodesResponse : GTLRCollectionObject + +/** + * The list of DB Nodes + * + * @note This property is used to support NSFastEnumeration and indexed + * subscripting on this class. + */ +@property(nonatomic, strong, nullable) NSArray *dbNodes; + +/** A token identifying a page of results the node should return. */ +@property(nonatomic, copy, nullable) NSString *nextPageToken; + +@end + + +/** + * The response for `DbServer.List`. + * + * @note This class supports NSFastEnumeration and indexed subscripting over + * its "dbServers" property. If returned as the result of a query, it + * should support automatic pagination (when @c shouldFetchNextPages is + * enabled). + */ +@interface GTLROracleDatabase_ListDbServersResponse : GTLRCollectionObject + +/** + * The list of database servers. + * + * @note This property is used to support NSFastEnumeration and indexed + * subscripting on this class. + */ +@property(nonatomic, strong, nullable) NSArray *dbServers; + +/** A token identifying a page of results the server should return. */ +@property(nonatomic, copy, nullable) NSString *nextPageToken; + +@end + + +/** + * The response for `DbSystemShape.List`. + * + * @note This class supports NSFastEnumeration and indexed subscripting over + * its "dbSystemShapes" property. If returned as the result of a query, + * it should support automatic pagination (when @c shouldFetchNextPages + * is enabled). + */ +@interface GTLROracleDatabase_ListDbSystemShapesResponse : GTLRCollectionObject + +/** + * The list of Database System shapes. + * + * @note This property is used to support NSFastEnumeration and indexed + * subscripting on this class. + */ +@property(nonatomic, strong, nullable) NSArray *dbSystemShapes; + +/** A token identifying a page of results the server should return. */ +@property(nonatomic, copy, nullable) NSString *nextPageToken; + +@end + + +/** + * The response for `Entitlement.List`. + * + * @note This class supports NSFastEnumeration and indexed subscripting over + * its "entitlements" property. If returned as the result of a query, it + * should support automatic pagination (when @c shouldFetchNextPages is + * enabled). + */ +@interface GTLROracleDatabase_ListEntitlementsResponse : GTLRCollectionObject + +/** + * The list of Entitlements + * + * @note This property is used to support NSFastEnumeration and indexed + * subscripting on this class. + */ +@property(nonatomic, strong, nullable) NSArray *entitlements; + +/** A token identifying a page of results the server should return. */ +@property(nonatomic, copy, nullable) NSString *nextPageToken; + +@end + + +/** + * The response for `GiVersion.List`. + * + * @note This class supports NSFastEnumeration and indexed subscripting over + * its "giVersions" property. If returned as the result of a query, it + * should support automatic pagination (when @c shouldFetchNextPages is + * enabled). + */ +@interface GTLROracleDatabase_ListGiVersionsResponse : GTLRCollectionObject + +/** + * The list of Oracle Grid Infrastructure (GI) versions. + * + * @note This property is used to support NSFastEnumeration and indexed + * subscripting on this class. + */ +@property(nonatomic, strong, nullable) NSArray *giVersions; + +/** 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 GTLROracleDatabase_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 GTLROracleDatabase_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 + + +/** + * A resource that represents a Google Cloud location. + */ +@interface GTLROracleDatabase_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) GTLROracleDatabase_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) GTLROracleDatabase_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 GTLROracleDatabase_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 GTLROracleDatabase_Location_Metadata : GTLRObject +@end + + +/** + * Metadata for a given Location. + */ +@interface GTLROracleDatabase_LocationMetadata : GTLRObject + +/** Output only. Google Cloud Platform Oracle zones in a location. */ +@property(nonatomic, strong, nullable) NSArray *gcpOracleZones; + +@end + + +/** + * Maintenance window as defined by Oracle. + * https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/datatypes/MaintenanceWindow + */ +@interface GTLROracleDatabase_MaintenanceWindow : GTLRObject + +/** + * Optional. Determines the amount of time the system will wait before the + * start of each database server patching operation. Custom action timeout is + * in minutes and valid value is between 15 to 120 (inclusive). + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *customActionTimeoutMins; + +/** Optional. Days during the week when maintenance should be performed. */ +@property(nonatomic, strong, nullable) NSArray *daysOfWeek; + +/** + * Optional. The window of hours during the day when maintenance should be + * performed. The window is a 4 hour slot. Valid values are: 0 - represents + * time slot 0:00 - 3:59 UTC 4 - represents time slot 4:00 - 7:59 UTC 8 - + * represents time slot 8:00 - 11:59 UTC 12 - represents time slot 12:00 - + * 15:59 UTC 16 - represents time slot 16:00 - 19:59 UTC 20 - represents time + * slot 20:00 - 23:59 UTC + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSArray *hoursOfDay; + +/** + * Optional. If true, enables the configuration of a custom action timeout + * (waiting period) between database server patching operations. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *isCustomActionTimeoutEnabled; + +/** + * Optional. Lead time window allows user to set a lead time to prepare for a + * down time. The lead time is in weeks and valid value is between 1 to 4. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *leadTimeWeek; + +/** Optional. Months during the year when maintenance should be performed. */ +@property(nonatomic, strong, nullable) NSArray *months; + +/** + * Optional. Cloud CloudExadataInfrastructure node patching method, either + * "ROLLING" or "NONROLLING". Default value is ROLLING. + * + * Likely values: + * @arg @c kGTLROracleDatabase_MaintenanceWindow_PatchingMode_NonRolling The + * non-rolling maintenance method first updates your storage servers at + * the same time, then your database servers at the same time. (Value: + * "NON_ROLLING") + * @arg @c kGTLROracleDatabase_MaintenanceWindow_PatchingMode_PatchingModeUnspecified + * Default unspecified value. (Value: "PATCHING_MODE_UNSPECIFIED") + * @arg @c kGTLROracleDatabase_MaintenanceWindow_PatchingMode_Rolling Updates + * the Cloud Exadata database server hosts in a rolling fashion. (Value: + * "ROLLING") + */ +@property(nonatomic, copy, nullable) NSString *patchingMode; + +/** + * Optional. The maintenance window scheduling preference. + * + * Likely values: + * @arg @c kGTLROracleDatabase_MaintenanceWindow_Preference_CustomPreference + * Custom preference. (Value: "CUSTOM_PREFERENCE") + * @arg @c kGTLROracleDatabase_MaintenanceWindow_Preference_MaintenanceWindowPreferenceUnspecified + * Default unspecified value. (Value: + * "MAINTENANCE_WINDOW_PREFERENCE_UNSPECIFIED") + * @arg @c kGTLROracleDatabase_MaintenanceWindow_Preference_NoPreference No + * preference. (Value: "NO_PREFERENCE") + */ +@property(nonatomic, copy, nullable) NSString *preference; + +/** + * Optional. Weeks during the month when maintenance should be performed. Weeks + * start on the 1st, 8th, 15th, and 22nd days of the month, and have a duration + * of 7 days. Weeks start and end based on calendar dates, not days of the + * week. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSArray *weeksOfMonth; + +@end + + +/** + * This resource represents a long-running operation that is the result of a + * network API call. + */ +@interface GTLROracleDatabase_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) GTLROracleDatabase_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) GTLROracleDatabase_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) GTLROracleDatabase_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 GTLROracleDatabase_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 GTLROracleDatabase_Operation_Response : GTLRObject +@end + + +/** + * Represents the metadata of the long-running operation. + */ +@interface GTLROracleDatabase_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. An estimated percentage of the operation that has been + * completed at a given moment of time, between 0 and 100. + * + * Uses NSNumber of doubleValue. + */ +@property(nonatomic, strong, nullable) NSNumber *percentComplete; + +/** + * Output only. Identifies whether the user has requested cancellation of the + * operation. Operations that have been cancelled successfully 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. The status of the operation. */ +@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 + + +/** + * The request for `AutonomousDatabase.Restore`. + */ +@interface GTLROracleDatabase_RestoreAutonomousDatabaseRequest : GTLRObject + +/** Required. The time and date to restore the database to. */ +@property(nonatomic, strong, nullable) GTLRDateTime *restoreTime; + +@end + + +/** + * Details of scheduled operation. + * https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/datatypes/ScheduledOperationDetails + */ +@interface GTLROracleDatabase_ScheduledOperationDetails : GTLRObject + +/** + * Output only. Day of week. + * + * Likely values: + * @arg @c kGTLROracleDatabase_ScheduledOperationDetails_DayOfWeek_DayOfWeekUnspecified + * The day of the week is unspecified. (Value: "DAY_OF_WEEK_UNSPECIFIED") + * @arg @c kGTLROracleDatabase_ScheduledOperationDetails_DayOfWeek_Friday + * Friday (Value: "FRIDAY") + * @arg @c kGTLROracleDatabase_ScheduledOperationDetails_DayOfWeek_Monday + * Monday (Value: "MONDAY") + * @arg @c kGTLROracleDatabase_ScheduledOperationDetails_DayOfWeek_Saturday + * Saturday (Value: "SATURDAY") + * @arg @c kGTLROracleDatabase_ScheduledOperationDetails_DayOfWeek_Sunday + * Sunday (Value: "SUNDAY") + * @arg @c kGTLROracleDatabase_ScheduledOperationDetails_DayOfWeek_Thursday + * Thursday (Value: "THURSDAY") + * @arg @c kGTLROracleDatabase_ScheduledOperationDetails_DayOfWeek_Tuesday + * Tuesday (Value: "TUESDAY") + * @arg @c kGTLROracleDatabase_ScheduledOperationDetails_DayOfWeek_Wednesday + * Wednesday (Value: "WEDNESDAY") + */ +@property(nonatomic, copy, nullable) NSString *dayOfWeek; + +/** Output only. Auto start time. */ +@property(nonatomic, strong, nullable) GTLROracleDatabase_TimeOfDay *startTime; + +/** Output only. Auto stop time. */ +@property(nonatomic, strong, nullable) GTLROracleDatabase_TimeOfDay *stopTime; + +@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 GTLROracleDatabase_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 + + +/** + * GTLROracleDatabase_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 GTLROracleDatabase_Status_Details_Item : GTLRObject +@end + + +/** + * Represents a time of day. The date and time zone are either not significant + * or are specified elsewhere. An API may choose to allow leap seconds. Related + * types are google.type.Date and `google.protobuf.Timestamp`. + */ +@interface GTLROracleDatabase_TimeOfDay : GTLRObject + +/** + * Hours of day in 24 hour format. Should be from 0 to 23. An API may choose to + * allow the value "24:00:00" for scenarios like business closing time. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *hours; + +/** + * Minutes of hour of day. Must be from 0 to 59. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *minutes; + +/** + * Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *nanos; + +/** + * Seconds of minutes of the time. Must normally be from 0 to 59. An API may + * allow the value 60 if it allows leap-seconds. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *seconds; + +@end + + +/** + * Represents a time zone from the [IANA Time Zone + * Database](https://www.iana.org/time-zones). + */ +@interface GTLROracleDatabase_TimeZone : GTLRObject + +/** + * IANA Time Zone Database time zone, e.g. "America/New_York". + * + * identifier property maps to 'id' in JSON (to avoid Objective C's 'id'). + */ +@property(nonatomic, copy, nullable) NSString *identifier; + +/** Optional. IANA Time Zone Database version number, e.g. "2019a". */ +@property(nonatomic, copy, nullable) NSString *version; + +@end + +NS_ASSUME_NONNULL_END + +#pragma clang diagnostic pop diff --git a/Sources/GeneratedServices/OracleDatabase/Public/GoogleAPIClientForREST/GTLROracleDatabaseQuery.h b/Sources/GeneratedServices/OracleDatabase/Public/GoogleAPIClientForREST/GTLROracleDatabaseQuery.h new file mode 100644 index 000000000..4f7b0d962 --- /dev/null +++ b/Sources/GeneratedServices/OracleDatabase/Public/GoogleAPIClientForREST/GTLROracleDatabaseQuery.h @@ -0,0 +1,1254 @@ +// NOTE: This file was generated by the ServiceGenerator. + +// ---------------------------------------------------------------------------- +// API: +// Oracle Database@Google Cloud API (oracledatabase/v1) +// Description: +// The Oracle Database@Google Cloud API provides a set of APIs to manage +// Oracle database services, such as Exadata and Autonomous Databases. +// Documentation: +// https://cloud.google.com/oracle/database/docs + +#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 "GTLROracleDatabaseObjects.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 Oracle Database query classes. + */ +@interface GTLROracleDatabaseQuery : GTLRQuery + +/** Selector specifying which fields to include in a partial response. */ +@property(nonatomic, copy, nullable) NSString *fields; + +@end + +/** + * Lists the long-term and automatic backups of an Autonomous Database. + * + * Method: oracledatabase.projects.locations.autonomousDatabaseBackups.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeOracleDatabaseCloudPlatform + */ +@interface GTLROracleDatabaseQuery_ProjectsLocationsAutonomousDatabaseBackupsList : GTLROracleDatabaseQuery + +/** + * Optional. An expression for filtering the results of the request. Only the + * **autonomous_database_id** field is supported in the following format: + * `autonomous_database_id="{autonomous_database_id}"`. The accepted values + * must be a valid Autonomous Database ID, limited to the naming restrictions + * of the ID: ^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$). The ID must start with a + * letter, end with a letter or a number, and be a maximum of 63 characters. + */ +@property(nonatomic, copy, nullable) NSString *filter; + +/** + * Optional. The maximum number of items to return. If unspecified, at most 50 + * Autonomous DB Backups will be returned. The maximum value is 1000; values + * above 1000 will be coerced to 1000. + */ +@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 parent value for ListAutonomousDatabaseBackups in the + * following format: projects/{project}/locations/{location}. + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLROracleDatabase_ListAutonomousDatabaseBackupsResponse. + * + * Lists the long-term and automatic backups of an Autonomous Database. + * + * @param parent Required. The parent value for ListAutonomousDatabaseBackups + * in the following format: projects/{project}/locations/{location}. + * + * @return GTLROracleDatabaseQuery_ProjectsLocationsAutonomousDatabaseBackupsList + * + * @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 Autonomous Database Character Sets in a given project and location. + * + * Method: oracledatabase.projects.locations.autonomousDatabaseCharacterSets.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeOracleDatabaseCloudPlatform + */ +@interface GTLROracleDatabaseQuery_ProjectsLocationsAutonomousDatabaseCharacterSetsList : GTLROracleDatabaseQuery + +/** + * Optional. An expression for filtering the results of the request. Only the + * **character_set_type** field is supported in the following format: + * `character_set_type="{characterSetType}"`. Accepted values include + * `DATABASE` and `NATIONAL`. + */ +@property(nonatomic, copy, nullable) NSString *filter; + +/** + * Optional. The maximum number of items to return. If unspecified, at most 50 + * Autonomous DB Character Sets will be returned. The maximum value is 1000; + * values above 1000 will be coerced to 1000. + */ +@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 parent value for the Autonomous Database in the following + * format: projects/{project}/locations/{location}. + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLROracleDatabase_ListAutonomousDatabaseCharacterSetsResponse. + * + * Lists Autonomous Database Character Sets in a given project and location. + * + * @param parent Required. The parent value for the Autonomous Database in the + * following format: projects/{project}/locations/{location}. + * + * @return GTLROracleDatabaseQuery_ProjectsLocationsAutonomousDatabaseCharacterSetsList + * + * @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 + +/** + * Creates a new Autonomous Database in a given project and location. + * + * Method: oracledatabase.projects.locations.autonomousDatabases.create + * + * Authorization scope(s): + * @c kGTLRAuthScopeOracleDatabaseCloudPlatform + */ +@interface GTLROracleDatabaseQuery_ProjectsLocationsAutonomousDatabasesCreate : GTLROracleDatabaseQuery + +/** + * Required. The ID of the Autonomous Database to create. This value is + * restricted to (^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$) and must be a maximum of + * 63 characters in length. The value must start with a letter and end with a + * letter or a number. + */ +@property(nonatomic, copy, nullable) NSString *autonomousDatabaseId; + +/** + * Required. The name of the parent in the following format: + * projects/{project}/locations/{location}. + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Optional. An optional ID to identify the request. This value is used to + * identify duplicate requests. If you make a request with the same request ID + * and the original request is still in progress or completed, the server + * ignores 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 GTLROracleDatabase_Operation. + * + * Creates a new Autonomous Database in a given project and location. + * + * @param object The @c GTLROracleDatabase_AutonomousDatabase to include in the + * query. + * @param parent Required. The name of the parent in the following format: + * projects/{project}/locations/{location}. + * + * @return GTLROracleDatabaseQuery_ProjectsLocationsAutonomousDatabasesCreate + */ ++ (instancetype)queryWithObject:(GTLROracleDatabase_AutonomousDatabase *)object + parent:(NSString *)parent; + +@end + +/** + * Deletes a single Autonomous Database. + * + * Method: oracledatabase.projects.locations.autonomousDatabases.delete + * + * Authorization scope(s): + * @c kGTLRAuthScopeOracleDatabaseCloudPlatform + */ +@interface GTLROracleDatabaseQuery_ProjectsLocationsAutonomousDatabasesDelete : GTLROracleDatabaseQuery + +/** + * Required. The name of the resource in the following format: + * projects/{project}/locations/{location}/autonomousDatabases/{autonomous_database}. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Optional. An optional ID to identify the request. This value is used to + * identify duplicate requests. If you make a request with the same request ID + * and the original request is still in progress or completed, the server + * ignores 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 GTLROracleDatabase_Operation. + * + * Deletes a single Autonomous Database. + * + * @param name Required. The name of the resource in the following format: + * projects/{project}/locations/{location}/autonomousDatabases/{autonomous_database}. + * + * @return GTLROracleDatabaseQuery_ProjectsLocationsAutonomousDatabasesDelete + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Generates a wallet for an Autonomous Database. + * + * Method: oracledatabase.projects.locations.autonomousDatabases.generateWallet + * + * Authorization scope(s): + * @c kGTLRAuthScopeOracleDatabaseCloudPlatform + */ +@interface GTLROracleDatabaseQuery_ProjectsLocationsAutonomousDatabasesGenerateWallet : GTLROracleDatabaseQuery + +/** + * Required. The name of the Autonomous Database in the following format: + * projects/{project}/locations/{location}/autonomousDatabases/{autonomous_database}. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLROracleDatabase_GenerateAutonomousDatabaseWalletResponse. + * + * Generates a wallet for an Autonomous Database. + * + * @param object The @c + * GTLROracleDatabase_GenerateAutonomousDatabaseWalletRequest to include in + * the query. + * @param name Required. The name of the Autonomous Database in the following + * format: + * projects/{project}/locations/{location}/autonomousDatabases/{autonomous_database}. + * + * @return GTLROracleDatabaseQuery_ProjectsLocationsAutonomousDatabasesGenerateWallet + */ ++ (instancetype)queryWithObject:(GTLROracleDatabase_GenerateAutonomousDatabaseWalletRequest *)object + name:(NSString *)name; + +@end + +/** + * Gets the details of a single Autonomous Database. + * + * Method: oracledatabase.projects.locations.autonomousDatabases.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeOracleDatabaseCloudPlatform + */ +@interface GTLROracleDatabaseQuery_ProjectsLocationsAutonomousDatabasesGet : GTLROracleDatabaseQuery + +/** + * Required. The name of the Autonomous Database in the following format: + * projects/{project}/locations/{location}/autonomousDatabases/{autonomous_database}. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLROracleDatabase_AutonomousDatabase. + * + * Gets the details of a single Autonomous Database. + * + * @param name Required. The name of the Autonomous Database in the following + * format: + * projects/{project}/locations/{location}/autonomousDatabases/{autonomous_database}. + * + * @return GTLROracleDatabaseQuery_ProjectsLocationsAutonomousDatabasesGet + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Lists the Autonomous Databases in a given project and location. + * + * Method: oracledatabase.projects.locations.autonomousDatabases.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeOracleDatabaseCloudPlatform + */ +@interface GTLROracleDatabaseQuery_ProjectsLocationsAutonomousDatabasesList : GTLROracleDatabaseQuery + +/** Optional. An expression for filtering the results of the request. */ +@property(nonatomic, copy, nullable) NSString *filter; + +/** Optional. An expression for ordering the results of the request. */ +@property(nonatomic, copy, nullable) NSString *orderBy; + +/** + * Optional. The maximum number of items to return. If unspecified, at most 50 + * Autonomous Database will be returned. The maximum value is 1000; values + * above 1000 will be coerced to 1000. + */ +@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 parent value for the Autonomous Database in the following + * format: projects/{project}/locations/{location}. + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLROracleDatabase_ListAutonomousDatabasesResponse. + * + * Lists the Autonomous Databases in a given project and location. + * + * @param parent Required. The parent value for the Autonomous Database in the + * following format: projects/{project}/locations/{location}. + * + * @return GTLROracleDatabaseQuery_ProjectsLocationsAutonomousDatabasesList + * + * @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 + +/** + * Restores a single Autonomous Database. + * + * Method: oracledatabase.projects.locations.autonomousDatabases.restore + * + * Authorization scope(s): + * @c kGTLRAuthScopeOracleDatabaseCloudPlatform + */ +@interface GTLROracleDatabaseQuery_ProjectsLocationsAutonomousDatabasesRestore : GTLROracleDatabaseQuery + +/** + * Required. The name of the Autonomous Database in the following format: + * projects/{project}/locations/{location}/autonomousDatabases/{autonomous_database}. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLROracleDatabase_Operation. + * + * Restores a single Autonomous Database. + * + * @param object The @c GTLROracleDatabase_RestoreAutonomousDatabaseRequest to + * include in the query. + * @param name Required. The name of the Autonomous Database in the following + * format: + * projects/{project}/locations/{location}/autonomousDatabases/{autonomous_database}. + * + * @return GTLROracleDatabaseQuery_ProjectsLocationsAutonomousDatabasesRestore + */ ++ (instancetype)queryWithObject:(GTLROracleDatabase_RestoreAutonomousDatabaseRequest *)object + name:(NSString *)name; + +@end + +/** + * Lists all the available Autonomous Database versions for a project and + * location. + * + * Method: oracledatabase.projects.locations.autonomousDbVersions.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeOracleDatabaseCloudPlatform + */ +@interface GTLROracleDatabaseQuery_ProjectsLocationsAutonomousDbVersionsList : GTLROracleDatabaseQuery + +/** + * Optional. The maximum number of items to return. If unspecified, at most 50 + * Autonomous DB Versions will be returned. The maximum value is 1000; values + * above 1000 will be coerced to 1000. + */ +@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 parent value for the Autonomous Database in the following + * format: projects/{project}/locations/{location}. + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLROracleDatabase_ListAutonomousDbVersionsResponse. + * + * Lists all the available Autonomous Database versions for a project and + * location. + * + * @param parent Required. The parent value for the Autonomous Database in the + * following format: projects/{project}/locations/{location}. + * + * @return GTLROracleDatabaseQuery_ProjectsLocationsAutonomousDbVersionsList + * + * @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 + +/** + * Creates a new Exadata Infrastructure in a given project and location. + * + * Method: oracledatabase.projects.locations.cloudExadataInfrastructures.create + * + * Authorization scope(s): + * @c kGTLRAuthScopeOracleDatabaseCloudPlatform + */ +@interface GTLROracleDatabaseQuery_ProjectsLocationsCloudExadataInfrastructuresCreate : GTLROracleDatabaseQuery + +/** + * Required. The ID of the Exadata Infrastructure to create. This value is + * restricted to (^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$) and must be a maximum of + * 63 characters in length. The value must start with a letter and end with a + * letter or a number. + */ +@property(nonatomic, copy, nullable) NSString *cloudExadataInfrastructureId; + +/** + * Required. The parent value for CloudExadataInfrastructure in the following + * format: projects/{project}/locations/{location}. + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Optional. An optional ID to identify the request. This value is used to + * identify duplicate requests. If you make a request with the same request ID + * and the original request is still in progress or completed, the server + * ignores 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 GTLROracleDatabase_Operation. + * + * Creates a new Exadata Infrastructure in a given project and location. + * + * @param object The @c GTLROracleDatabase_CloudExadataInfrastructure to + * include in the query. + * @param parent Required. The parent value for CloudExadataInfrastructure in + * the following format: projects/{project}/locations/{location}. + * + * @return GTLROracleDatabaseQuery_ProjectsLocationsCloudExadataInfrastructuresCreate + */ ++ (instancetype)queryWithObject:(GTLROracleDatabase_CloudExadataInfrastructure *)object + parent:(NSString *)parent; + +@end + +/** + * Lists the database servers of an Exadata Infrastructure instance. + * + * Method: oracledatabase.projects.locations.cloudExadataInfrastructures.dbServers.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeOracleDatabaseCloudPlatform + */ +@interface GTLROracleDatabaseQuery_ProjectsLocationsCloudExadataInfrastructuresDbServersList : GTLROracleDatabaseQuery + +/** + * Optional. The maximum number of items to return. If unspecified, a maximum + * of 50 db servers will be returned. The maximum value is 1000; values above + * 1000 will be reset to 1000. + */ +@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 parent value for database server in the following format: + * projects/{project}/locations/{location}/cloudExadataInfrastructures/{cloudExadataInfrastructure}. + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLROracleDatabase_ListDbServersResponse. + * + * Lists the database servers of an Exadata Infrastructure instance. + * + * @param parent Required. The parent value for database server in the + * following format: + * projects/{project}/locations/{location}/cloudExadataInfrastructures/{cloudExadataInfrastructure}. + * + * @return GTLROracleDatabaseQuery_ProjectsLocationsCloudExadataInfrastructuresDbServersList + * + * @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 + +/** + * Deletes a single Exadata Infrastructure. + * + * Method: oracledatabase.projects.locations.cloudExadataInfrastructures.delete + * + * Authorization scope(s): + * @c kGTLRAuthScopeOracleDatabaseCloudPlatform + */ +@interface GTLROracleDatabaseQuery_ProjectsLocationsCloudExadataInfrastructuresDelete : GTLROracleDatabaseQuery + +/** + * Optional. If set to true, all VM clusters for this Exadata Infrastructure + * will be deleted. An Exadata Infrastructure can only be deleted once all its + * VM clusters have been deleted. + */ +@property(nonatomic, assign) BOOL force; + +/** + * Required. The name of the Cloud Exadata Infrastructure in the following + * format: + * projects/{project}/locations/{location}/cloudExadataInfrastructures/{cloud_exadata_infrastructure}. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Optional. An optional ID to identify the request. This value is used to + * identify duplicate requests. If you make a request with the same request ID + * and the original request is still in progress or completed, the server + * ignores 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 GTLROracleDatabase_Operation. + * + * Deletes a single Exadata Infrastructure. + * + * @param name Required. The name of the Cloud Exadata Infrastructure in the + * following format: + * projects/{project}/locations/{location}/cloudExadataInfrastructures/{cloud_exadata_infrastructure}. + * + * @return GTLROracleDatabaseQuery_ProjectsLocationsCloudExadataInfrastructuresDelete + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Gets details of a single Exadata Infrastructure. + * + * Method: oracledatabase.projects.locations.cloudExadataInfrastructures.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeOracleDatabaseCloudPlatform + */ +@interface GTLROracleDatabaseQuery_ProjectsLocationsCloudExadataInfrastructuresGet : GTLROracleDatabaseQuery + +/** + * Required. The name of the Cloud Exadata Infrastructure in the following + * format: + * projects/{project}/locations/{location}/cloudExadataInfrastructures/{cloud_exadata_infrastructure}. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLROracleDatabase_CloudExadataInfrastructure. + * + * Gets details of a single Exadata Infrastructure. + * + * @param name Required. The name of the Cloud Exadata Infrastructure in the + * following format: + * projects/{project}/locations/{location}/cloudExadataInfrastructures/{cloud_exadata_infrastructure}. + * + * @return GTLROracleDatabaseQuery_ProjectsLocationsCloudExadataInfrastructuresGet + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Lists Exadata Infrastructures in a given project and location. + * + * Method: oracledatabase.projects.locations.cloudExadataInfrastructures.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeOracleDatabaseCloudPlatform + */ +@interface GTLROracleDatabaseQuery_ProjectsLocationsCloudExadataInfrastructuresList : GTLROracleDatabaseQuery + +/** + * Optional. The maximum number of items to return. If unspecified, at most 50 + * Exadata infrastructures will be returned. The maximum value is 1000; values + * above 1000 will be coerced to 1000. + */ +@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 parent value for CloudExadataInfrastructure in the following + * format: projects/{project}/locations/{location}. + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLROracleDatabase_ListCloudExadataInfrastructuresResponse. + * + * Lists Exadata Infrastructures in a given project and location. + * + * @param parent Required. The parent value for CloudExadataInfrastructure in + * the following format: projects/{project}/locations/{location}. + * + * @return GTLROracleDatabaseQuery_ProjectsLocationsCloudExadataInfrastructuresList + * + * @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 + +/** + * Creates a new VM Cluster in a given project and location. + * + * Method: oracledatabase.projects.locations.cloudVmClusters.create + * + * Authorization scope(s): + * @c kGTLRAuthScopeOracleDatabaseCloudPlatform + */ +@interface GTLROracleDatabaseQuery_ProjectsLocationsCloudVmClustersCreate : GTLROracleDatabaseQuery + +/** + * Required. The ID of the VM Cluster to create. This value is restricted to + * (^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$) and must be a maximum of 63 characters + * in length. The value must start with a letter and end with a letter or a + * number. + */ +@property(nonatomic, copy, nullable) NSString *cloudVmClusterId; + +/** + * Required. The name of the parent in the following format: + * projects/{project}/locations/{location}. + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Optional. An optional ID to identify the request. This value is used to + * identify duplicate requests. If you make a request with the same request ID + * and the original request is still in progress or completed, the server + * ignores 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 GTLROracleDatabase_Operation. + * + * Creates a new VM Cluster in a given project and location. + * + * @param object The @c GTLROracleDatabase_CloudVmCluster to include in the + * query. + * @param parent Required. The name of the parent in the following format: + * projects/{project}/locations/{location}. + * + * @return GTLROracleDatabaseQuery_ProjectsLocationsCloudVmClustersCreate + */ ++ (instancetype)queryWithObject:(GTLROracleDatabase_CloudVmCluster *)object + parent:(NSString *)parent; + +@end + +/** + * Lists the database nodes of a VM Cluster. + * + * Method: oracledatabase.projects.locations.cloudVmClusters.dbNodes.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeOracleDatabaseCloudPlatform + */ +@interface GTLROracleDatabaseQuery_ProjectsLocationsCloudVmClustersDbNodesList : GTLROracleDatabaseQuery + +/** + * Optional. The maximum number of items to return. If unspecified, at most 50 + * db nodes will be returned. The maximum value is 1000; values above 1000 will + * be coerced to 1000. + */ +@property(nonatomic, assign) NSInteger pageSize; + +/** Optional. A token identifying a page of results the node should return. */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** + * Required. The parent value for database node in the following format: + * projects/{project}/locations/{location}/cloudVmClusters/{cloudVmCluster}. + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLROracleDatabase_ListDbNodesResponse. + * + * Lists the database nodes of a VM Cluster. + * + * @param parent Required. The parent value for database node in the following + * format: + * projects/{project}/locations/{location}/cloudVmClusters/{cloudVmCluster}. + * + * @return GTLROracleDatabaseQuery_ProjectsLocationsCloudVmClustersDbNodesList + * + * @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 + +/** + * Deletes a single VM Cluster. + * + * Method: oracledatabase.projects.locations.cloudVmClusters.delete + * + * Authorization scope(s): + * @c kGTLRAuthScopeOracleDatabaseCloudPlatform + */ +@interface GTLROracleDatabaseQuery_ProjectsLocationsCloudVmClustersDelete : GTLROracleDatabaseQuery + +/** + * Optional. If set to true, all child resources for the VM Cluster will be + * deleted. A VM Cluster can only be deleted once all its child resources have + * been deleted. + */ +@property(nonatomic, assign) BOOL force; + +/** + * Required. The name of the Cloud VM Cluster in the following format: + * projects/{project}/locations/{location}/cloudVmClusters/{cloud_vm_cluster}. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Optional. An optional ID to identify the request. This value is used to + * identify duplicate requests. If you make a request with the same request ID + * and the original request is still in progress or completed, the server + * ignores 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 GTLROracleDatabase_Operation. + * + * Deletes a single VM Cluster. + * + * @param name Required. The name of the Cloud VM Cluster in the following + * format: + * projects/{project}/locations/{location}/cloudVmClusters/{cloud_vm_cluster}. + * + * @return GTLROracleDatabaseQuery_ProjectsLocationsCloudVmClustersDelete + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Gets details of a single VM Cluster. + * + * Method: oracledatabase.projects.locations.cloudVmClusters.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeOracleDatabaseCloudPlatform + */ +@interface GTLROracleDatabaseQuery_ProjectsLocationsCloudVmClustersGet : GTLROracleDatabaseQuery + +/** + * Required. The name of the Cloud VM Cluster in the following format: + * projects/{project}/locations/{location}/cloudVmClusters/{cloud_vm_cluster}. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLROracleDatabase_CloudVmCluster. + * + * Gets details of a single VM Cluster. + * + * @param name Required. The name of the Cloud VM Cluster in the following + * format: + * projects/{project}/locations/{location}/cloudVmClusters/{cloud_vm_cluster}. + * + * @return GTLROracleDatabaseQuery_ProjectsLocationsCloudVmClustersGet + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Lists the VM Clusters in a given project and location. + * + * Method: oracledatabase.projects.locations.cloudVmClusters.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeOracleDatabaseCloudPlatform + */ +@interface GTLROracleDatabaseQuery_ProjectsLocationsCloudVmClustersList : GTLROracleDatabaseQuery + +/** Optional. An expression for filtering the results of the request. */ +@property(nonatomic, copy, nullable) NSString *filter; + +/** + * Optional. The number of VM clusters to return. If unspecified, at most 50 VM + * clusters will be returned. The maximum value is 1,000. + */ +@property(nonatomic, assign) NSInteger pageSize; + +/** Optional. A token identifying the page of results the server returns. */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** + * Required. The name of the parent in the following format: + * projects/{project}/locations/{location}. + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLROracleDatabase_ListCloudVmClustersResponse. + * + * Lists the VM Clusters in a given project and location. + * + * @param parent Required. The name of the parent in the following format: + * projects/{project}/locations/{location}. + * + * @return GTLROracleDatabaseQuery_ProjectsLocationsCloudVmClustersList + * + * @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 the database system shapes available for the project and location. + * + * Method: oracledatabase.projects.locations.dbSystemShapes.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeOracleDatabaseCloudPlatform + */ +@interface GTLROracleDatabaseQuery_ProjectsLocationsDbSystemShapesList : GTLROracleDatabaseQuery + +/** + * Optional. The maximum number of items to return. If unspecified, at most 50 + * database system shapes will be returned. The maximum value is 1000; values + * above 1000 will be coerced to 1000. + */ +@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 parent value for Database System Shapes in the following + * format: projects/{project}/locations/{location}. + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLROracleDatabase_ListDbSystemShapesResponse. + * + * Lists the database system shapes available for the project and location. + * + * @param parent Required. The parent value for Database System Shapes in the + * following format: projects/{project}/locations/{location}. + * + * @return GTLROracleDatabaseQuery_ProjectsLocationsDbSystemShapesList + * + * @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 the entitlements in a given project. + * + * Method: oracledatabase.projects.locations.entitlements.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeOracleDatabaseCloudPlatform + */ +@interface GTLROracleDatabaseQuery_ProjectsLocationsEntitlementsList : GTLROracleDatabaseQuery + +/** + * Optional. The maximum number of items to return. If unspecified, a maximum + * of 50 entitlements will be returned. The maximum value is 1000. + */ +@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 parent value for the entitlement in the following format: + * projects/{project}/locations/{location}. + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLROracleDatabase_ListEntitlementsResponse. + * + * Lists the entitlements in a given project. + * + * @param parent Required. The parent value for the entitlement in the + * following format: projects/{project}/locations/{location}. + * + * @return GTLROracleDatabaseQuery_ProjectsLocationsEntitlementsList + * + * @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 information about a location. + * + * Method: oracledatabase.projects.locations.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeOracleDatabaseCloudPlatform + */ +@interface GTLROracleDatabaseQuery_ProjectsLocationsGet : GTLROracleDatabaseQuery + +/** Resource name for the location. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLROracleDatabase_Location. + * + * Gets information about a location. + * + * @param name Resource name for the location. + * + * @return GTLROracleDatabaseQuery_ProjectsLocationsGet + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Lists all the valid Oracle Grid Infrastructure (GI) versions for the given + * project and location. + * + * Method: oracledatabase.projects.locations.giVersions.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeOracleDatabaseCloudPlatform + */ +@interface GTLROracleDatabaseQuery_ProjectsLocationsGiVersionsList : GTLROracleDatabaseQuery + +/** + * Optional. The maximum number of items to return. If unspecified, a maximum + * of 50 Oracle Grid Infrastructure (GI) versions will be returned. The maximum + * value is 1000; values above 1000 will be reset to 1000. + */ +@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 parent value for Grid Infrastructure Version in the following + * format: Format: projects/{project}/locations/{location}. + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLROracleDatabase_ListGiVersionsResponse. + * + * Lists all the valid Oracle Grid Infrastructure (GI) versions for the given + * project and location. + * + * @param parent Required. The parent value for Grid Infrastructure Version in + * the following format: Format: projects/{project}/locations/{location}. + * + * @return GTLROracleDatabaseQuery_ProjectsLocationsGiVersionsList + * + * @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 information about the supported locations for this service. + * + * Method: oracledatabase.projects.locations.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeOracleDatabaseCloudPlatform + */ +@interface GTLROracleDatabaseQuery_ProjectsLocationsList : GTLROracleDatabaseQuery + +/** + * 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 GTLROracleDatabase_ListLocationsResponse. + * + * Lists information about the supported locations for this service. + * + * @param name The resource that owns the locations collection, if applicable. + * + * @return GTLROracleDatabaseQuery_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: oracledatabase.projects.locations.operations.cancel + * + * Authorization scope(s): + * @c kGTLRAuthScopeOracleDatabaseCloudPlatform + */ +@interface GTLROracleDatabaseQuery_ProjectsLocationsOperationsCancel : GTLROracleDatabaseQuery + +/** The name of the operation resource to be cancelled. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLROracleDatabase_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 GTLROracleDatabase_CancelOperationRequest to include in + * the query. + * @param name The name of the operation resource to be cancelled. + * + * @return GTLROracleDatabaseQuery_ProjectsLocationsOperationsCancel + */ ++ (instancetype)queryWithObject:(GTLROracleDatabase_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: oracledatabase.projects.locations.operations.delete + * + * Authorization scope(s): + * @c kGTLRAuthScopeOracleDatabaseCloudPlatform + */ +@interface GTLROracleDatabaseQuery_ProjectsLocationsOperationsDelete : GTLROracleDatabaseQuery + +/** The name of the operation resource to be deleted. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLROracleDatabase_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 GTLROracleDatabaseQuery_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: oracledatabase.projects.locations.operations.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeOracleDatabaseCloudPlatform + */ +@interface GTLROracleDatabaseQuery_ProjectsLocationsOperationsGet : GTLROracleDatabaseQuery + +/** The name of the operation resource. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLROracleDatabase_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 GTLROracleDatabaseQuery_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: oracledatabase.projects.locations.operations.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeOracleDatabaseCloudPlatform + */ +@interface GTLROracleDatabaseQuery_ProjectsLocationsOperationsList : GTLROracleDatabaseQuery + +/** 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 GTLROracleDatabase_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 GTLROracleDatabaseQuery_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 + +NS_ASSUME_NONNULL_END + +#pragma clang diagnostic pop diff --git a/Sources/GeneratedServices/OracleDatabase/Public/GoogleAPIClientForREST/GTLROracleDatabaseService.h b/Sources/GeneratedServices/OracleDatabase/Public/GoogleAPIClientForREST/GTLROracleDatabaseService.h new file mode 100644 index 000000000..650b88da3 --- /dev/null +++ b/Sources/GeneratedServices/OracleDatabase/Public/GoogleAPIClientForREST/GTLROracleDatabaseService.h @@ -0,0 +1,75 @@ +// NOTE: This file was generated by the ServiceGenerator. + +// ---------------------------------------------------------------------------- +// API: +// Oracle Database@Google Cloud API (oracledatabase/v1) +// Description: +// The Oracle Database@Google Cloud API provides a set of APIs to manage +// Oracle database services, such as Exadata and Autonomous Databases. +// Documentation: +// https://cloud.google.com/oracle/database/docs + +#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 kGTLRAuthScopeOracleDatabaseCloudPlatform; + +// ---------------------------------------------------------------------------- +// GTLROracleDatabaseService +// + +/** + * Service for executing Oracle Database\@Google Cloud API queries. + * + * The Oracle Database\@Google Cloud API provides a set of APIs to manage + * Oracle database services, such as Exadata and Autonomous Databases. + */ +@interface GTLROracleDatabaseService : GTLRService + +// No new methods + +// Clients should create a standard query with any of the class methods in +// GTLROracleDatabaseQuery.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/PaymentsResellerSubscription/Public/GoogleAPIClientForREST/GTLRPaymentsResellerSubscriptionObjects.h b/Sources/GeneratedServices/PaymentsResellerSubscription/Public/GoogleAPIClientForREST/GTLRPaymentsResellerSubscriptionObjects.h index fd9e7e7aa..5bdb4cd1c 100644 --- a/Sources/GeneratedServices/PaymentsResellerSubscription/Public/GoogleAPIClientForREST/GTLRPaymentsResellerSubscriptionObjects.h +++ b/Sources/GeneratedServices/PaymentsResellerSubscription/Public/GoogleAPIClientForREST/GTLRPaymentsResellerSubscriptionObjects.h @@ -103,7 +103,7 @@ FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_GoogleCloud */ FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1CancelSubscriptionRequest_CancellationReason_CancellationReasonSystemError; /** - * Reason is unspecified. + * Reason is unspecified. Should not be used. * * Value: "CANCELLATION_REASON_UNSPECIFIED" */ @@ -394,7 +394,7 @@ FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_GoogleCloud */ FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionCancellationDetails_Reason_CancellationReasonSystemError; /** - * Reason is unspecified. + * Reason is unspecified. Should not be used. * * Value: "CANCELLATION_REASON_UNSPECIFIED" */ @@ -656,7 +656,8 @@ FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_ProductBund * to an unrecoverable system error. (Value: * "CANCELLATION_REASON_SYSTEM_ERROR") * @arg @c kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1CancelSubscriptionRequest_CancellationReason_CancellationReasonUnspecified - * Reason is unspecified. (Value: "CANCELLATION_REASON_UNSPECIFIED") + * Reason is unspecified. Should not be used. (Value: + * "CANCELLATION_REASON_UNSPECIFIED") * @arg @c kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1CancelSubscriptionRequest_CancellationReason_CancellationReasonUpgradeDowngrade * Used for notification only, do not use in Cancel API. Cancellation due * to upgrade or downgrade. (Value: @@ -1479,7 +1480,8 @@ FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_ProductBund * to an unrecoverable system error. (Value: * "CANCELLATION_REASON_SYSTEM_ERROR") * @arg @c kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionCancellationDetails_Reason_CancellationReasonUnspecified - * Reason is unspecified. (Value: "CANCELLATION_REASON_UNSPECIFIED") + * Reason is unspecified. Should not be used. (Value: + * "CANCELLATION_REASON_UNSPECIFIED") * @arg @c kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionCancellationDetails_Reason_CancellationReasonUpgradeDowngrade * Used for notification only, do not use in Cancel API. Cancellation due * to upgrade or downgrade. (Value: diff --git a/Sources/GeneratedServices/Pubsub/Public/GoogleAPIClientForREST/GTLRPubsubObjects.h b/Sources/GeneratedServices/Pubsub/Public/GoogleAPIClientForREST/GTLRPubsubObjects.h index 1c21a503b..12813510c 100644 --- a/Sources/GeneratedServices/Pubsub/Public/GoogleAPIClientForREST/GTLRPubsubObjects.h +++ b/Sources/GeneratedServices/Pubsub/Public/GoogleAPIClientForREST/GTLRPubsubObjects.h @@ -1879,7 +1879,7 @@ FOUNDATION_EXTERN NSString * const kGTLRPubsub_ValidateMessageRequest_Encoding_J * backlog, from the moment a message is published. If `retain_acked_messages` * is true, then this also configures the retention of acknowledged messages, * and thus configures how far back in time a `Seek` can be done. Defaults to 7 - * days. Cannot be more than 7 days or less than 10 minutes. + * days. Cannot be more than 31 days or less than 10 minutes. */ @property(nonatomic, strong, nullable) GTLRDuration *messageRetentionDuration; diff --git a/Sources/GeneratedServices/RecaptchaEnterprise/GTLRRecaptchaEnterpriseObjects.m b/Sources/GeneratedServices/RecaptchaEnterprise/GTLRRecaptchaEnterpriseObjects.m index 92868922d..aaf8df020 100644 --- a/Sources/GeneratedServices/RecaptchaEnterprise/GTLRRecaptchaEnterpriseObjects.m +++ b/Sources/GeneratedServices/RecaptchaEnterprise/GTLRRecaptchaEnterpriseObjects.m @@ -129,6 +129,7 @@ NSString * const kGTLRRecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1WafSettings_WafFeature_WafFeatureUnspecified = @"WAF_FEATURE_UNSPECIFIED"; // GTLRRecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1WafSettings.wafService +NSString * const kGTLRRecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1WafSettings_WafService_Akamai = @"AKAMAI"; NSString * const kGTLRRecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1WafSettings_WafService_Ca = @"CA"; NSString * const kGTLRRecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1WafSettings_WafService_Cloudflare = @"CLOUDFLARE"; NSString * const kGTLRRecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1WafSettings_WafService_Fastly = @"FASTLY"; diff --git a/Sources/GeneratedServices/RecaptchaEnterprise/Public/GoogleAPIClientForREST/GTLRRecaptchaEnterpriseObjects.h b/Sources/GeneratedServices/RecaptchaEnterprise/Public/GoogleAPIClientForREST/GTLRRecaptchaEnterpriseObjects.h index ae2a94c79..71235b3e9 100644 --- a/Sources/GeneratedServices/RecaptchaEnterprise/Public/GoogleAPIClientForREST/GTLRRecaptchaEnterpriseObjects.h +++ b/Sources/GeneratedServices/RecaptchaEnterprise/Public/GoogleAPIClientForREST/GTLRRecaptchaEnterpriseObjects.h @@ -745,6 +745,12 @@ FOUNDATION_EXTERN NSString * const kGTLRRecaptchaEnterprise_GoogleCloudRecaptcha // ---------------------------------------------------------------------------- // GTLRRecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1WafSettings.wafService +/** + * Akamai + * + * Value: "AKAMAI" + */ +FOUNDATION_EXTERN NSString * const kGTLRRecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1WafSettings_WafService_Akamai; /** * Cloud Armor * @@ -966,8 +972,8 @@ FOUNDATION_EXTERN NSString * const kGTLRRecaptchaEnterprise_GoogleCloudRecaptcha @property(nonatomic, copy, nullable) NSString *accountId; /** - * Optional. The annotation that will be assigned to the Event. This field can - * be left empty to provide reasons that apply to an event without concluding + * Optional. The annotation that is assigned to the Event. This field can be + * left empty to provide reasons that apply to an event without concluding * whether the event is legitimate or fraudulent. * * Likely values: @@ -1235,8 +1241,8 @@ FOUNDATION_EXTERN NSString * const kGTLRRecaptchaEnterprise_GoogleCloudRecaptcha /** * Optional. Flag for enabling firewall policy config assessment. If this flag - * is enabled, the firewall policy will be evaluated and a suggested firewall - * action will be returned in the response. + * is enabled, the firewall policy is evaluated and a suggested firewall action + * is returned in the response. * * Uses NSNumber of boolValue. */ @@ -1352,32 +1358,29 @@ FOUNDATION_EXTERN NSString * const kGTLRRecaptchaEnterprise_GoogleCloudRecaptcha @property(nonatomic, strong, nullable) GTLRRecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1FirewallActionAllowAction *allow; /** - * This action will deny access to a given page. The user will get an HTTP - * error code. + * This action denies access to a given page. The user gets an HTTP error code. */ @property(nonatomic, strong, nullable) GTLRRecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1FirewallActionBlockAction *block; /** - * This action will inject reCAPTCHA JavaScript code into the HTML page - * returned by the site backend. + * This action injects reCAPTCHA JavaScript code into the HTML page returned by + * the site backend. */ @property(nonatomic, strong, nullable) GTLRRecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1FirewallActionIncludeRecaptchaScriptAction *includeRecaptchaScript; /** - * This action will redirect the request to a ReCaptcha interstitial to attach - * a token. + * This action redirects the request to a reCAPTCHA interstitial to attach a + * token. */ @property(nonatomic, strong, nullable) GTLRRecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1FirewallActionRedirectAction *redirect; /** - * This action will set a custom header but allow the request to continue to - * the customer backend. + * This action sets a custom header but allow the request to continue to the + * customer backend. */ @property(nonatomic, strong, nullable) GTLRRecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1FirewallActionSetHeaderAction *setHeader; -/** - * This action will transparently serve a different page to an offending user. - */ +/** This action transparently serves a different page to an offending user. */ @property(nonatomic, strong, nullable) GTLRRecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1FirewallActionSubstituteAction *substitute; @end @@ -1411,7 +1414,7 @@ FOUNDATION_EXTERN NSString * const kGTLRRecaptchaEnterprise_GoogleCloudRecaptcha /** * A redirect action returns a 307 (temporary redirect) response, pointing the - * user to a ReCaptcha interstitial page to attach a token. + * user to a reCAPTCHA interstitial page to attach a token. */ @interface GTLRRecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1FirewallActionRedirectAction : GTLRObject @end @@ -1506,15 +1509,15 @@ FOUNDATION_EXTERN NSString * const kGTLRRecaptchaEnterprise_GoogleCloudRecaptcha @interface GTLRRecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1FirewallPolicyAssessment : GTLRObject /** - * Output only. If the processing of a policy config fails, an error will be - * populated and the firewall_policy will be left empty. + * Output only. If the processing of a policy config fails, an error is + * populated and the firewall_policy is left empty. */ @property(nonatomic, strong, nullable) GTLRRecaptchaEnterprise_GoogleRpcStatus *error; /** * Output only. The policy that matched the request. If more than one policy * may match, this is the first match. If no policy matches the incoming - * request, the policy field will be left empty. + * request, the policy field is left empty. */ @property(nonatomic, strong, nullable) GTLRRecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1FirewallPolicy *firewallPolicy; @@ -1675,10 +1678,10 @@ FOUNDATION_EXTERN NSString * const kGTLRRecaptchaEnterprise_GoogleCloudRecaptcha /** * Optional. Apple Developer account details for the app that is protected by - * the reCAPTCHA Key. reCAPTCHA Enterprise leverages platform-specific checks - * like Apple App Attest and Apple DeviceCheck to protect your app from abuse. - * Providing these fields allows reCAPTCHA Enterprise to get a better - * assessment of the integrity of your app. + * the reCAPTCHA Key. reCAPTCHA leverages platform-specific checks like Apple + * App Attest and Apple DeviceCheck to protect your app from abuse. Providing + * these fields allows reCAPTCHA to get a better assessment of the integrity of + * your app. */ @property(nonatomic, strong, nullable) GTLRRecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1AppleDeveloperId *appleDeveloperId; @@ -1914,9 +1917,8 @@ FOUNDATION_EXTERN NSString * const kGTLRRecaptchaEnterprise_GoogleCloudRecaptcha @interface GTLRRecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1Metrics : GTLRObject /** - * Metrics will be continuous and in order by dates, and in the granularity of - * day. Only challenge-based keys (CHECKBOX, INVISIBLE), will have - * challenge-based data. + * Metrics are continuous and in order by dates, and in the granularity of day. + * Only challenge-based keys (CHECKBOX, INVISIBLE) have challenge-based data. */ @property(nonatomic, strong, nullable) NSArray *challengeMetrics; @@ -1927,8 +1929,8 @@ FOUNDATION_EXTERN NSString * const kGTLRRecaptchaEnterprise_GoogleCloudRecaptcha @property(nonatomic, copy, nullable) NSString *name; /** - * Metrics will be continuous and in order by dates, and in the granularity of - * day. All Key types should have score-based data. + * Metrics are continuous and in order by dates, and in the granularity of day. + * All Key types should have score-based data. */ @property(nonatomic, strong, nullable) NSArray *scoreMetrics; @@ -2305,7 +2307,7 @@ FOUNDATION_EXTERN NSString * const kGTLRRecaptchaEnterprise_GoogleCloudRecaptcha /** * Optional. For challenge-based keys only (CHECKBOX, INVISIBLE), all challenge - * requests for this site will return nocaptcha if NOCAPTCHA, or an unsolvable + * requests for this site return nocaptcha if NOCAPTCHA, or an unsolvable * challenge if CHALLENGE. * * Likely values: @@ -2323,8 +2325,8 @@ FOUNDATION_EXTERN NSString * const kGTLRRecaptchaEnterprise_GoogleCloudRecaptcha @property(nonatomic, copy, nullable) NSString *testingChallenge; /** - * Optional. All assessments for this Key will return this score. Must be - * between 0 (likely not legitimate) and 1 (likely legitimate) inclusive. + * Optional. All assessments for this Key return this score. Must be between 0 + * (likely not legitimate) and 1 (likely legitimate) inclusive. * * Uses NSNumber of floatValue. */ @@ -2834,6 +2836,8 @@ FOUNDATION_EXTERN NSString * const kGTLRRecaptchaEnterprise_GoogleCloudRecaptcha * Required. The WAF service that uses this key. * * Likely values: + * @arg @c kGTLRRecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1WafSettings_WafService_Akamai + * Akamai (Value: "AKAMAI") * @arg @c kGTLRRecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1WafSettings_WafService_Ca * Cloud Armor (Value: "CA") * @arg @c kGTLRRecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1WafSettings_WafService_Cloudflare @@ -2854,7 +2858,7 @@ FOUNDATION_EXTERN NSString * const kGTLRRecaptchaEnterprise_GoogleCloudRecaptcha @interface GTLRRecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1WebKeySettings : GTLRObject /** - * Optional. If set to true, it means allowed_domains will not be enforced. + * Optional. If set to true, it means allowed_domains are not enforced. * * Uses NSNumber of boolValue. */ @@ -2879,7 +2883,7 @@ FOUNDATION_EXTERN NSString * const kGTLRRecaptchaEnterprise_GoogleCloudRecaptcha /** * Optional. Settings for the frequency and difficulty at which this key * triggers captcha challenges. This should only be specified for - * IntegrationTypes CHECKBOX and INVISIBLE. + * IntegrationTypes CHECKBOX and INVISIBLE and SCORE_AND_CHALLENGE. * * Likely values: * @arg @c kGTLRRecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1WebKeySettings_ChallengeSecurityPreference_Balance diff --git a/Sources/GeneratedServices/RecaptchaEnterprise/Public/GoogleAPIClientForREST/GTLRRecaptchaEnterpriseQuery.h b/Sources/GeneratedServices/RecaptchaEnterprise/Public/GoogleAPIClientForREST/GTLRRecaptchaEnterpriseQuery.h index a6945da7e..ba29fa3a3 100644 --- a/Sources/GeneratedServices/RecaptchaEnterprise/Public/GoogleAPIClientForREST/GTLRRecaptchaEnterpriseQuery.h +++ b/Sources/GeneratedServices/RecaptchaEnterprise/Public/GoogleAPIClientForREST/GTLRRecaptchaEnterpriseQuery.h @@ -82,8 +82,8 @@ NS_ASSUME_NONNULL_BEGIN @interface GTLRRecaptchaEnterpriseQuery_ProjectsAssessmentsCreate : GTLRRecaptchaEnterpriseQuery /** - * Required. The name of the project in which the assessment will be created, - * in the format `projects/{project}`. + * Required. The name of the project in which the assessment is created, in the + * format `projects/{project}`. */ @property(nonatomic, copy, nullable) NSString *parent; @@ -96,8 +96,8 @@ NS_ASSUME_NONNULL_BEGIN * @param object The @c * GTLRRecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1Assessment to * include in the query. - * @param parent Required. The name of the project in which the assessment will - * be created, in the format `projects/{project}`. + * @param parent Required. The name of the project in which the assessment is + * created, in the format `projects/{project}`. * * @return GTLRRecaptchaEnterpriseQuery_ProjectsAssessmentsCreate */ @@ -119,7 +119,7 @@ NS_ASSUME_NONNULL_BEGIN @interface GTLRRecaptchaEnterpriseQuery_ProjectsFirewallpoliciesCreate : GTLRRecaptchaEnterpriseQuery /** - * Required. The name of the project this policy will apply to, in the format + * Required. The name of the project this policy applies to, in the format * `projects/{project}`. */ @property(nonatomic, copy, nullable) NSString *parent; @@ -135,8 +135,8 @@ NS_ASSUME_NONNULL_BEGIN * @param object The @c * GTLRRecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1FirewallPolicy to * include in the query. - * @param parent Required. The name of the project this policy will apply to, - * in the format `projects/{project}`. + * @param parent Required. The name of the project this policy applies to, in + * the format `projects/{project}`. * * @return GTLRRecaptchaEnterpriseQuery_ProjectsFirewallpoliciesCreate */ @@ -271,7 +271,7 @@ NS_ASSUME_NONNULL_BEGIN /** * Optional. The mask to control which fields of the policy get updated. If the - * mask is not present, all fields will be updated. + * mask is not present, all fields are updated. * * String format is a comma-separated list of fields. */ @@ -334,8 +334,7 @@ NS_ASSUME_NONNULL_BEGIN /** * Adds an IP override to a key. The following restrictions hold: * The maximum * number of IP overrides per key is 100. * For any conflict (such as IP - * already exists or IP part of an existing IP range), an error will be - * returned. + * already exists or IP part of an existing IP range), an error is returned. * * Method: recaptchaenterprise.projects.keys.addIpOverride * @@ -356,8 +355,7 @@ NS_ASSUME_NONNULL_BEGIN * * Adds an IP override to a key. The following restrictions hold: * The maximum * number of IP overrides per key is 100. * For any conflict (such as IP - * already exists or IP part of an existing IP range), an error will be - * returned. + * already exists or IP part of an existing IP range), an error is returned. * * @param object The @c * GTLRRecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1AddIpOverrideRequest @@ -383,8 +381,8 @@ NS_ASSUME_NONNULL_BEGIN @interface GTLRRecaptchaEnterpriseQuery_ProjectsKeysCreate : GTLRRecaptchaEnterpriseQuery /** - * Required. The name of the project in which the key will be created, in the - * format `projects/{project}`. + * Required. The name of the project in which the key is created, in the format + * `projects/{project}`. */ @property(nonatomic, copy, nullable) NSString *parent; @@ -396,8 +394,8 @@ NS_ASSUME_NONNULL_BEGIN * @param object The @c * GTLRRecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1Key to include in * the query. - * @param parent Required. The name of the project in which the key will be - * created, in the format `projects/{project}`. + * @param parent Required. The name of the project in which the key is created, + * in the format `projects/{project}`. * * @return GTLRRecaptchaEnterpriseQuery_ProjectsKeysCreate */ @@ -522,8 +520,8 @@ NS_ASSUME_NONNULL_BEGIN @property(nonatomic, copy, nullable) NSString *pageToken; /** - * Required. The name of the project that contains the keys that will be - * listed, in the format `projects/{project}`. + * Required. The name of the project that contains the keys that is listed, in + * the format `projects/{project}`. */ @property(nonatomic, copy, nullable) NSString *parent; @@ -534,7 +532,7 @@ NS_ASSUME_NONNULL_BEGIN * Returns the list of all keys that belong to a project. * * @param parent Required. The name of the project that contains the keys that - * will be listed, in the format `projects/{project}`. + * is listed, in the format `projects/{project}`. * * @return GTLRRecaptchaEnterpriseQuery_ProjectsKeysList * @@ -655,7 +653,7 @@ NS_ASSUME_NONNULL_BEGIN /** * Optional. The mask to control which fields of the key get updated. If the - * mask is not present, all fields will be updated. + * mask is not present, all fields are updated. * * String format is a comma-separated list of fields. */ @@ -681,9 +679,9 @@ NS_ASSUME_NONNULL_BEGIN /** * Removes an IP override from a key. The following restrictions hold: * If the - * IP isn't found in an existing IP override, a `NOT_FOUND` error will be - * returned. * If the IP is found in an existing IP override, but the override - * type does not match, a `NOT_FOUND` error will be returned. + * IP isn't found in an existing IP override, a `NOT_FOUND` error is returned. + * * If the IP is found in an existing IP override, but the override type does + * not match, a `NOT_FOUND` error is returned. * * Method: recaptchaenterprise.projects.keys.removeIpOverride * @@ -703,9 +701,9 @@ NS_ASSUME_NONNULL_BEGIN * GTLRRecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1RemoveIpOverrideResponse. * * Removes an IP override from a key. The following restrictions hold: * If the - * IP isn't found in an existing IP override, a `NOT_FOUND` error will be - * returned. * If the IP is found in an existing IP override, but the override - * type does not match, a `NOT_FOUND` error will be returned. + * IP isn't found in an existing IP override, a `NOT_FOUND` error is returned. + * * If the IP is found in an existing IP override, but the override type does + * not match, a `NOT_FOUND` error is returned. * * @param object The @c * GTLRRecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1RemoveIpOverrideRequest diff --git a/Sources/GeneratedServices/SQLAdmin/GTLRSQLAdminObjects.m b/Sources/GeneratedServices/SQLAdmin/GTLRSQLAdminObjects.m index fafc07796..a237a9684 100644 --- a/Sources/GeneratedServices/SQLAdmin/GTLRSQLAdminObjects.m +++ b/Sources/GeneratedServices/SQLAdmin/GTLRSQLAdminObjects.m @@ -452,6 +452,7 @@ NSString * const kGTLRSQLAdmin_SqlExternalSyncSettingError_Type_UnsupportedStorageEngine = @"UNSUPPORTED_STORAGE_ENGINE"; NSString * const kGTLRSQLAdmin_SqlExternalSyncSettingError_Type_UnsupportedSystemObjects = @"UNSUPPORTED_SYSTEM_OBJECTS"; 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"; // GTLRSQLAdmin_SqlInstancesStartExternalSyncRequest.migrationType @@ -1392,6 +1393,31 @@ + (BOOL)isKindValidForClassRegistry { @end +// ---------------------------------------------------------------------------- +// +// GTLRSQLAdmin_InstancesListServerCertificatesResponse +// + +@implementation GTLRSQLAdmin_InstancesListServerCertificatesResponse +@dynamic activeVersion, caCerts, kind, serverCerts; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"caCerts" : [GTLRSQLAdmin_SslCert class], + @"serverCerts" : [GTLRSQLAdmin_SslCert class] + }; + return map; +} + ++ (BOOL)isKindValidForClassRegistry { + // This class has a "kind" property that doesn't appear to be usable to + // determine what type of object was encoded in the JSON. + return NO; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRSQLAdmin_InstancesReencryptRequest @@ -1422,6 +1448,16 @@ @implementation GTLRSQLAdmin_InstancesRotateServerCaRequest @end +// ---------------------------------------------------------------------------- +// +// GTLRSQLAdmin_InstancesRotateServerCertificateRequest +// + +@implementation GTLRSQLAdmin_InstancesRotateServerCertificateRequest +@dynamic rotateServerCertificateContext; +@end + + // ---------------------------------------------------------------------------- // // GTLRSQLAdmin_InstancesTruncateLogRequest @@ -1770,6 +1806,23 @@ + (BOOL)isKindValidForClassRegistry { @end +// ---------------------------------------------------------------------------- +// +// GTLRSQLAdmin_RotateServerCertificateContext +// + +@implementation GTLRSQLAdmin_RotateServerCertificateContext +@dynamic kind, nextVersion; + ++ (BOOL)isKindValidForClassRegistry { + // This class has a "kind" property that doesn't appear to be usable to + // determine what type of object was encoded in the JSON. + return NO; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRSQLAdmin_Settings diff --git a/Sources/GeneratedServices/SQLAdmin/GTLRSQLAdminQuery.m b/Sources/GeneratedServices/SQLAdmin/GTLRSQLAdminQuery.m index a425d40dc..20ef9cfb3 100644 --- a/Sources/GeneratedServices/SQLAdmin/GTLRSQLAdminQuery.m +++ b/Sources/GeneratedServices/SQLAdmin/GTLRSQLAdminQuery.m @@ -423,6 +423,29 @@ + (instancetype)queryWithProject:(NSString *)project @end +@implementation GTLRSQLAdminQuery_InstancesAddServerCertificate + +@dynamic instance, project; + ++ (instancetype)queryWithProject:(NSString *)project + instance:(NSString *)instance { + NSArray *pathParams = @[ + @"instance", @"project" + ]; + NSString *pathURITemplate = @"v1/projects/{project}/instances/{instance}/addServerCertificate"; + GTLRSQLAdminQuery_InstancesAddServerCertificate *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.project = project; + query.instance = instance; + query.expectedObjectClass = [GTLRSQLAdmin_Operation class]; + query.loggingName = @"sql.instances.addServerCertificate"; + return query; +} + +@end + @implementation GTLRSQLAdminQuery_InstancesClone @dynamic instance, project; @@ -724,6 +747,29 @@ + (instancetype)queryWithProject:(NSString *)project @end +@implementation GTLRSQLAdminQuery_InstancesListServerCertificates + +@dynamic instance, project; + ++ (instancetype)queryWithProject:(NSString *)project + instance:(NSString *)instance { + NSArray *pathParams = @[ + @"instance", @"project" + ]; + NSString *pathURITemplate = @"v1/projects/{project}/instances/{instance}/listServerCertificates"; + GTLRSQLAdminQuery_InstancesListServerCertificates *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.project = project; + query.instance = instance; + query.expectedObjectClass = [GTLRSQLAdmin_InstancesListServerCertificatesResponse class]; + query.loggingName = @"sql.instances.ListServerCertificates"; + return query; +} + +@end + @implementation GTLRSQLAdminQuery_InstancesPatch @dynamic instance, project; @@ -940,6 +986,37 @@ + (instancetype)queryWithObject:(GTLRSQLAdmin_InstancesRotateServerCaRequest *)o @end +@implementation GTLRSQLAdminQuery_InstancesRotateServerCertificate + +@dynamic instance, project; + ++ (instancetype)queryWithObject:(GTLRSQLAdmin_InstancesRotateServerCertificateRequest *)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}/rotateServerCertificate"; + GTLRSQLAdminQuery_InstancesRotateServerCertificate *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.project = project; + query.instance = instance; + query.expectedObjectClass = [GTLRSQLAdmin_Operation class]; + query.loggingName = @"sql.instances.RotateServerCertificate"; + return query; +} + +@end + @implementation GTLRSQLAdminQuery_InstancesStartReplica @dynamic instance, project; diff --git a/Sources/GeneratedServices/SQLAdmin/Public/GoogleAPIClientForREST/GTLRSQLAdminObjects.h b/Sources/GeneratedServices/SQLAdmin/Public/GoogleAPIClientForREST/GTLRSQLAdminObjects.h index 9d7152d51..dec3abea2 100644 --- a/Sources/GeneratedServices/SQLAdmin/Public/GoogleAPIClientForREST/GTLRSQLAdminObjects.h +++ b/Sources/GeneratedServices/SQLAdmin/Public/GoogleAPIClientForREST/GTLRSQLAdminObjects.h @@ -73,6 +73,7 @@ @class GTLRSQLAdmin_Reschedule; @class GTLRSQLAdmin_RestoreBackupContext; @class GTLRSQLAdmin_RotateServerCaContext; +@class GTLRSQLAdmin_RotateServerCertificateContext; @class GTLRSQLAdmin_Settings; @class GTLRSQLAdmin_Settings_UserLabels; @class GTLRSQLAdmin_SqlActiveDirectoryConfig; @@ -1683,7 +1684,7 @@ FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_Operation_OperationType_Clone; * * Value: "CLUSTER_MAINTENANCE" */ -FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_Operation_OperationType_ClusterMaintenance; +FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_Operation_OperationType_ClusterMaintenance GTLR_DEPRECATED; /** * Creates a new Cloud SQL instance. * @@ -1855,7 +1856,7 @@ FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_Operation_OperationType_Restore * * Value: "SELF_SERVICE_MAINTENANCE" */ -FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_Operation_OperationType_SelfServiceMaintenance; +FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_Operation_OperationType_SelfServiceMaintenance GTLR_DEPRECATED; /** Value: "SNAPSHOT" */ FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_Operation_OperationType_Snapshot GTLR_DEPRECATED; /** @@ -2468,11 +2469,20 @@ FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_SqlExternalSyncSettingError_Typ FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_SqlExternalSyncSettingError_Type_UnsupportedSystemObjects; /** * The table definition is not support due to missing primary key or replica - * identity, applicable for postgres. + * identity, applicable for postgres. Note that this is a warning and won't + * block the migration. * * Value: "UNSUPPORTED_TABLE_DEFINITION" */ FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_SqlExternalSyncSettingError_Type_UnsupportedTableDefinition; +/** + * The source database has tables with the FULL or NOTHING replica identity. + * Before starting your migration, either remove the identity or change it to + * DEFAULT. Note that this is an error and will block the migration. + * + * Value: "UNSUPPORTED_TABLES_WITH_REPLICA_IDENTITY" + */ +FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_SqlExternalSyncSettingError_Type_UnsupportedTablesWithReplicaIdentity; /** * The source database has users that aren't created in the replica. First, * create all users, which are in the pg_user_mappings table of the source @@ -5093,6 +5103,29 @@ FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_User_Type_CloudIamUser; @end +/** + * Instances ListServerCertificates response. + */ +@interface GTLRSQLAdmin_InstancesListServerCertificatesResponse : GTLRObject + +/** The `sha1_fingerprint` of the active certificate from `server_certs`. */ +@property(nonatomic, copy, nullable) NSString *activeVersion; + +/** List of server CA certificates for the instance. */ +@property(nonatomic, strong, nullable) NSArray *caCerts; + +/** This is always `sql#instancesListServerCertificates`. */ +@property(nonatomic, copy, nullable) NSString *kind; + +/** + * List of server certificates for the instance, signed by the corresponding CA + * from the `ca_certs` list. + */ +@property(nonatomic, strong, nullable) NSArray *serverCerts; + +@end + + /** * Database Instance reencrypt request. */ @@ -5126,6 +5159,19 @@ FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_User_Type_CloudIamUser; @end +/** + * Rotate server certificate request. + */ +@interface GTLRSQLAdmin_InstancesRotateServerCertificateRequest : GTLRObject + +/** + * Optional. Contains details about the rotate server certificate operation. + */ +@property(nonatomic, strong, nullable) GTLRSQLAdmin_RotateServerCertificateContext *rotateServerCertificateContext; + +@end + + /** * Instance truncate log request. */ @@ -6096,6 +6142,23 @@ FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_User_Type_CloudIamUser; @end +/** + * Instance rotate server certificate context. + */ +@interface GTLRSQLAdmin_RotateServerCertificateContext : GTLRObject + +/** Optional. This is always `sql#rotateServerCertificateContext`. */ +@property(nonatomic, copy, nullable) NSString *kind; + +/** + * The fingerprint of the next version to be rotated to. If left unspecified, + * will be rotated to the most recently added server certificate version. + */ +@property(nonatomic, copy, nullable) NSString *nextVersion; + +@end + + /** * Database instance settings. */ @@ -6588,8 +6651,13 @@ FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_User_Type_CloudIamUser; * migration. (Value: "UNSUPPORTED_SYSTEM_OBJECTS") * @arg @c kGTLRSQLAdmin_SqlExternalSyncSettingError_Type_UnsupportedTableDefinition * The table definition is not support due to missing primary key or - * replica identity, applicable for postgres. (Value: - * "UNSUPPORTED_TABLE_DEFINITION") + * replica identity, applicable for postgres. Note that this is a warning + * and won't block the migration. (Value: "UNSUPPORTED_TABLE_DEFINITION") + * @arg @c kGTLRSQLAdmin_SqlExternalSyncSettingError_Type_UnsupportedTablesWithReplicaIdentity + * The source database has tables with the FULL or NOTHING replica + * identity. Before starting your migration, either remove the identity + * or change it to DEFAULT. Note that this is an error and will block the + * migration. (Value: "UNSUPPORTED_TABLES_WITH_REPLICA_IDENTITY") * @arg @c kGTLRSQLAdmin_SqlExternalSyncSettingError_Type_UsersNotCreatedInReplica * The source database has users that aren't created in the replica. * First, create all users, which are in the pg_user_mappings table of diff --git a/Sources/GeneratedServices/SQLAdmin/Public/GoogleAPIClientForREST/GTLRSQLAdminQuery.h b/Sources/GeneratedServices/SQLAdmin/Public/GoogleAPIClientForREST/GTLRSQLAdminQuery.h index 8733e53c7..aa8c1caf3 100644 --- a/Sources/GeneratedServices/SQLAdmin/Public/GoogleAPIClientForREST/GTLRSQLAdminQuery.h +++ b/Sources/GeneratedServices/SQLAdmin/Public/GoogleAPIClientForREST/GTLRSQLAdminQuery.h @@ -633,6 +633,50 @@ NS_ASSUME_NONNULL_BEGIN @end +/** + * Add a new trusted server certificate version for the specified instance + * using Certificate Authority Service (CAS) server CA. Required to prepare for + * a certificate rotation. If a server certificate version was previously added + * but never used in a certificate rotation, this operation replaces that + * version. There cannot be more than one certificate version waiting to be + * rotated in. For instances not using CAS server CA, please use AddServerCa + * instead. + * + * Method: sql.instances.addServerCertificate + * + * Authorization scope(s): + * @c kGTLRAuthScopeSQLAdminCloudPlatform + * @c kGTLRAuthScopeSQLAdminSqlserviceAdmin + */ +@interface GTLRSQLAdminQuery_InstancesAddServerCertificate : GTLRSQLAdminQuery + +/** Cloud SQL instance ID. This does not include the project ID. */ +@property(nonatomic, copy, nullable) NSString *instance; + +/** Project ID of the project that contains the instance. */ +@property(nonatomic, copy, nullable) NSString *project; + +/** + * Fetches a @c GTLRSQLAdmin_Operation. + * + * Add a new trusted server certificate version for the specified instance + * using Certificate Authority Service (CAS) server CA. Required to prepare for + * a certificate rotation. If a server certificate version was previously added + * but never used in a certificate rotation, this operation replaces that + * version. There cannot be more than one certificate version waiting to be + * rotated in. For instances not using CAS server CA, please use AddServerCa + * instead. + * + * @param project Project ID of the project that contains the instance. + * @param instance Cloud SQL instance ID. This does not include the project ID. + * + * @return GTLRSQLAdminQuery_InstancesAddServerCertificate + */ ++ (instancetype)queryWithProject:(NSString *)project + instance:(NSString *)instance; + +@end + /** * Creates a Cloud SQL instance as a clone of the source instance. Using this * operation might cause your instance to restart. @@ -1061,6 +1105,48 @@ NS_ASSUME_NONNULL_BEGIN @end +/** + * Lists all versions of server certificates and certificate authorities (CAs) + * for the specified instance. There can be up to three sets of certs listed: + * the certificate that is currently in use, a future that has been added but + * not yet used to sign a certificate, and a certificate that has been rotated + * out. + * + * Method: sql.instances.ListServerCertificates + * + * Authorization scope(s): + * @c kGTLRAuthScopeSQLAdminCloudPlatform + * @c kGTLRAuthScopeSQLAdminSqlserviceAdmin + */ +@interface GTLRSQLAdminQuery_InstancesListServerCertificates : GTLRSQLAdminQuery + +/** Required. Cloud SQL 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_InstancesListServerCertificatesResponse. + * + * Lists all versions of server certificates and certificate authorities (CAs) + * for the specified instance. There can be up to three sets of certs listed: + * the certificate that is currently in use, a future that has been added but + * not yet used to sign a certificate, and a certificate that has been rotated + * out. + * + * @param project Required. Project ID of the project that contains the + * instance. + * @param instance Required. Cloud SQL instance ID. This does not include the + * project ID. + * + * @return GTLRSQLAdminQuery_InstancesListServerCertificates + */ ++ (instancetype)queryWithProject:(NSString *)project + instance:(NSString *)instance; + +@end + /** * Partially updates settings of a Cloud SQL instance by merging the request * with the current configuration. This method supports patch semantics. @@ -1361,6 +1447,47 @@ NS_ASSUME_NONNULL_BEGIN @end +/** + * Rotates the server certificate version to one previously added with the + * addServerCertificate method. For instances not using Certificate Authority + * Service (CAS) server CA, please use RotateServerCa instead. + * + * Method: sql.instances.RotateServerCertificate + * + * Authorization scope(s): + * @c kGTLRAuthScopeSQLAdminCloudPlatform + * @c kGTLRAuthScopeSQLAdminSqlserviceAdmin + */ +@interface GTLRSQLAdminQuery_InstancesRotateServerCertificate : GTLRSQLAdminQuery + +/** Required. Cloud SQL 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_Operation. + * + * Rotates the server certificate version to one previously added with the + * addServerCertificate method. For instances not using Certificate Authority + * Service (CAS) server CA, please use RotateServerCa instead. + * + * @param object The @c GTLRSQLAdmin_InstancesRotateServerCertificateRequest to + * include in the query. + * @param project Required. Project ID of the project that contains the + * instance. + * @param instance Required. Cloud SQL instance ID. This does not include the + * project ID. + * + * @return GTLRSQLAdminQuery_InstancesRotateServerCertificate + */ ++ (instancetype)queryWithObject:(GTLRSQLAdmin_InstancesRotateServerCertificateRequest *)object + project:(NSString *)project + instance:(NSString *)instance; + +@end + /** * Starts the replication in the read replica instance. * diff --git a/Sources/GeneratedServices/SecurityCommandCenter/GTLRSecurityCommandCenterObjects.m b/Sources/GeneratedServices/SecurityCommandCenter/GTLRSecurityCommandCenterObjects.m index 74cf6db26..f20429451 100644 --- a/Sources/GeneratedServices/SecurityCommandCenter/GTLRSecurityCommandCenterObjects.m +++ b/Sources/GeneratedServices/SecurityCommandCenter/GTLRSecurityCommandCenterObjects.m @@ -1245,7 +1245,7 @@ @implementation GTLRSecurityCommandCenter_AzureSubscription // @implementation GTLRSecurityCommandCenter_AzureTenant -@dynamic identifier; +@dynamic displayName, identifier; + (NSDictionary *)propertyToJSONKeyMap { return @{ @"identifier" : @"id" }; @@ -2452,7 +2452,7 @@ @implementation GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2AzureSubscr // @implementation GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2AzureTenant -@dynamic identifier; +@dynamic displayName, identifier; + (NSDictionary *)propertyToJSONKeyMap { return @{ @"identifier" : @"id" }; diff --git a/Sources/GeneratedServices/SecurityCommandCenter/Public/GoogleAPIClientForREST/GTLRSecurityCommandCenterObjects.h b/Sources/GeneratedServices/SecurityCommandCenter/Public/GoogleAPIClientForREST/GTLRSecurityCommandCenterObjects.h index 954d6e912..4224b9041 100644 --- a/Sources/GeneratedServices/SecurityCommandCenter/Public/GoogleAPIClientForREST/GTLRSecurityCommandCenterObjects.h +++ b/Sources/GeneratedServices/SecurityCommandCenter/Public/GoogleAPIClientForREST/GTLRSecurityCommandCenterObjects.h @@ -5592,6 +5592,9 @@ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_VulnerabilitySnaps */ @interface GTLRSecurityCommandCenter_AzureTenant : GTLRObject +/** The display name of the Azure tenant. */ +@property(nonatomic, copy, nullable) NSString *displayName; + /** * The ID of the Microsoft Entra tenant, for example, * "a11aaa11-aa11-1aa1-11aa-1aaa11a". @@ -9039,6 +9042,9 @@ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_VulnerabilitySnaps */ @interface GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2AzureTenant : GTLRObject +/** The display name of the Azure tenant. */ +@property(nonatomic, copy, nullable) NSString *displayName; + /** * The ID of the Microsoft Entra tenant, for example, * "a11aaa11-aa11-1aa1-11aa-1aaa11a". diff --git a/Sources/GeneratedServices/ServerlessVPCAccess/Public/GoogleAPIClientForREST/GTLRServerlessVPCAccessObjects.h b/Sources/GeneratedServices/ServerlessVPCAccess/Public/GoogleAPIClientForREST/GTLRServerlessVPCAccessObjects.h index d6a8780f5..54d81d0f4 100644 --- a/Sources/GeneratedServices/ServerlessVPCAccess/Public/GoogleAPIClientForREST/GTLRServerlessVPCAccessObjects.h +++ b/Sources/GeneratedServices/ServerlessVPCAccess/Public/GoogleAPIClientForREST/GTLRServerlessVPCAccessObjects.h @@ -84,8 +84,8 @@ FOUNDATION_EXTERN NSString * const kGTLRServerlessVPCAccess_Connector_State_Upda @property(nonatomic, strong, nullable) NSArray *connectedProjects; /** - * The range of internal addresses that follows RFC 4632 notation. Example: - * `10.132.0.0/28`. + * Optional. The range of internal addresses that follows RFC 4632 notation. + * Example: `10.132.0.0/28`. */ @property(nonatomic, copy, nullable) NSString *ipCidrRange; @@ -109,7 +109,7 @@ FOUNDATION_EXTERN NSString * const kGTLRServerlessVPCAccess_Connector_State_Upda * * Uses NSNumber of intValue. */ -@property(nonatomic, strong, nullable) NSNumber *maxThroughput; +@property(nonatomic, strong, nullable) NSNumber *maxThroughput GTLR_DEPRECATED; /** * Minimum value of instances in autoscaling group underlying the connector. @@ -128,14 +128,14 @@ FOUNDATION_EXTERN NSString * const kGTLRServerlessVPCAccess_Connector_State_Upda * * Uses NSNumber of intValue. */ -@property(nonatomic, strong, nullable) NSNumber *minThroughput; +@property(nonatomic, strong, nullable) NSNumber *minThroughput GTLR_DEPRECATED; /** * The resource name in the format `projects/ * /locations/ * /connectors/ *`. */ @property(nonatomic, copy, nullable) NSString *name; -/** Name of a VPC network. */ +/** Optional. Name of a VPC network. */ @property(nonatomic, copy, nullable) NSString *network; /** @@ -157,7 +157,7 @@ FOUNDATION_EXTERN NSString * const kGTLRServerlessVPCAccess_Connector_State_Upda */ @property(nonatomic, copy, nullable) NSString *state; -/** The subnet in which to house the VPC Access Connector. */ +/** Optional. The subnet in which to house the VPC Access Connector. */ @property(nonatomic, strong, nullable) GTLRServerlessVPCAccess_Subnet *subnet; @end @@ -505,16 +505,16 @@ FOUNDATION_EXTERN NSString * const kGTLRServerlessVPCAccess_Connector_State_Upda @interface GTLRServerlessVPCAccess_Subnet : GTLRObject /** - * Subnet name (relative, not fully qualified). E.g. if the full subnet - * selfLink is + * Optional. Subnet name (relative, not fully qualified). E.g. if the full + * subnet selfLink is * https://compute.googleapis.com/compute/v1/projects/{project}/regions/{region}/subnetworks/{subnetName} * the correct input for this field would be {subnetName} */ @property(nonatomic, copy, nullable) NSString *name; /** - * Project in which the subnet exists. If not set, this project is assumed to - * be the project for which the connector create request was issued. + * Optional. Project in which the subnet exists. If not set, this project is + * assumed to be the project for which the connector create request was issued. */ @property(nonatomic, copy, nullable) NSString *projectId; diff --git a/Sources/GeneratedServices/ServiceConsumerManagement/GTLRServiceConsumerManagementObjects.m b/Sources/GeneratedServices/ServiceConsumerManagement/GTLRServiceConsumerManagementObjects.m index df3a3c76d..7a936681b 100644 --- a/Sources/GeneratedServices/ServiceConsumerManagement/GTLRServiceConsumerManagementObjects.m +++ b/Sources/GeneratedServices/ServiceConsumerManagement/GTLRServiceConsumerManagementObjects.m @@ -115,6 +115,12 @@ NSString * const kGTLRServiceConsumerManagement_MetricDescriptorMetadata_LaunchStage_Prelaunch = @"PRELAUNCH"; NSString * const kGTLRServiceConsumerManagement_MetricDescriptorMetadata_LaunchStage_Unimplemented = @"UNIMPLEMENTED"; +// GTLRServiceConsumerManagement_MetricDescriptorMetadata.timeSeriesResourceHierarchyLevel +NSString * const kGTLRServiceConsumerManagement_MetricDescriptorMetadata_TimeSeriesResourceHierarchyLevel_Folder = @"FOLDER"; +NSString * const kGTLRServiceConsumerManagement_MetricDescriptorMetadata_TimeSeriesResourceHierarchyLevel_Organization = @"ORGANIZATION"; +NSString * const kGTLRServiceConsumerManagement_MetricDescriptorMetadata_TimeSeriesResourceHierarchyLevel_Project = @"PROJECT"; +NSString * const kGTLRServiceConsumerManagement_MetricDescriptorMetadata_TimeSeriesResourceHierarchyLevel_TimeSeriesResourceHierarchyLevelUnspecified = @"TIME_SERIES_RESOURCE_HIERARCHY_LEVEL_UNSPECIFIED"; + // GTLRServiceConsumerManagement_MonitoredResourceDescriptor.launchStage NSString * const kGTLRServiceConsumerManagement_MonitoredResourceDescriptor_LaunchStage_Alpha = @"ALPHA"; NSString * const kGTLRServiceConsumerManagement_MonitoredResourceDescriptor_LaunchStage_Beta = @"BETA"; @@ -391,7 +397,7 @@ @implementation GTLRServiceConsumerManagement_ClientLibrarySettings // @implementation GTLRServiceConsumerManagement_CommonLanguageSettings -@dynamic destinations, referenceDocsUri; +@dynamic destinations, referenceDocsUri, selectiveGapicGeneration; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -687,6 +693,16 @@ @implementation GTLRServiceConsumerManagement_EnumValue @end +// ---------------------------------------------------------------------------- +// +// GTLRServiceConsumerManagement_ExperimentalFeatures +// + +@implementation GTLRServiceConsumerManagement_ExperimentalFeatures +@dynamic restAsyncIoEnabled; +@end + + // ---------------------------------------------------------------------------- // // GTLRServiceConsumerManagement_Field @@ -1020,7 +1036,16 @@ @implementation GTLRServiceConsumerManagement_MetricDescriptor // @implementation GTLRServiceConsumerManagement_MetricDescriptorMetadata -@dynamic ingestDelay, launchStage, samplePeriod; +@dynamic ingestDelay, launchStage, samplePeriod, + timeSeriesResourceHierarchyLevel; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"timeSeriesResourceHierarchyLevel" : [NSString class] + }; + return map; +} + @end @@ -1274,7 +1299,7 @@ @implementation GTLRServiceConsumerManagement_Publishing // @implementation GTLRServiceConsumerManagement_PythonSettings -@dynamic common; +@dynamic common, experimentalFeatures; @end @@ -1369,6 +1394,24 @@ + (NSString *)collectionItemsKey { @end +// ---------------------------------------------------------------------------- +// +// GTLRServiceConsumerManagement_SelectiveGapicGeneration +// + +@implementation GTLRServiceConsumerManagement_SelectiveGapicGeneration +@dynamic methods; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"methods" : [NSString class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRServiceConsumerManagement_Service diff --git a/Sources/GeneratedServices/ServiceConsumerManagement/Public/GoogleAPIClientForREST/GTLRServiceConsumerManagementObjects.h b/Sources/GeneratedServices/ServiceConsumerManagement/Public/GoogleAPIClientForREST/GTLRServiceConsumerManagementObjects.h index f3ac9d9b3..2afd86d5a 100644 --- a/Sources/GeneratedServices/ServiceConsumerManagement/Public/GoogleAPIClientForREST/GTLRServiceConsumerManagementObjects.h +++ b/Sources/GeneratedServices/ServiceConsumerManagement/Public/GoogleAPIClientForREST/GTLRServiceConsumerManagementObjects.h @@ -42,6 +42,7 @@ @class GTLRServiceConsumerManagement_Endpoint; @class GTLRServiceConsumerManagement_Enum; @class GTLRServiceConsumerManagement_EnumValue; +@class GTLRServiceConsumerManagement_ExperimentalFeatures; @class GTLRServiceConsumerManagement_Field; @class GTLRServiceConsumerManagement_FieldPolicy; @class GTLRServiceConsumerManagement_GoSettings; @@ -82,6 +83,7 @@ @class GTLRServiceConsumerManagement_QuotaLimit; @class GTLRServiceConsumerManagement_QuotaLimit_Values; @class GTLRServiceConsumerManagement_RubySettings; +@class GTLRServiceConsumerManagement_SelectiveGapicGeneration; @class GTLRServiceConsumerManagement_ServiceAccountConfig; @class GTLRServiceConsumerManagement_SourceContext; @class GTLRServiceConsumerManagement_SourceInfo; @@ -706,6 +708,34 @@ FOUNDATION_EXTERN NSString * const kGTLRServiceConsumerManagement_MetricDescript */ FOUNDATION_EXTERN NSString * const kGTLRServiceConsumerManagement_MetricDescriptorMetadata_LaunchStage_Unimplemented; +// ---------------------------------------------------------------------------- +// GTLRServiceConsumerManagement_MetricDescriptorMetadata.timeSeriesResourceHierarchyLevel + +/** + * Scopes a metric to a folder. + * + * Value: "FOLDER" + */ +FOUNDATION_EXTERN NSString * const kGTLRServiceConsumerManagement_MetricDescriptorMetadata_TimeSeriesResourceHierarchyLevel_Folder; +/** + * Scopes a metric to an organization. + * + * Value: "ORGANIZATION" + */ +FOUNDATION_EXTERN NSString * const kGTLRServiceConsumerManagement_MetricDescriptorMetadata_TimeSeriesResourceHierarchyLevel_Organization; +/** + * Scopes a metric to a project. + * + * Value: "PROJECT" + */ +FOUNDATION_EXTERN NSString * const kGTLRServiceConsumerManagement_MetricDescriptorMetadata_TimeSeriesResourceHierarchyLevel_Project; +/** + * Do not use this default value. + * + * Value: "TIME_SERIES_RESOURCE_HIERARCHY_LEVEL_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRServiceConsumerManagement_MetricDescriptorMetadata_TimeSeriesResourceHierarchyLevel_TimeSeriesResourceHierarchyLevelUnspecified; + // ---------------------------------------------------------------------------- // GTLRServiceConsumerManagement_MonitoredResourceDescriptor.launchStage @@ -1545,6 +1575,9 @@ FOUNDATION_EXTERN NSString * const kGTLRServiceConsumerManagement_V1GenerateDefa */ @property(nonatomic, copy, nullable) NSString *referenceDocsUri GTLR_DEPRECATED; +/** Configuration for which RPCs should be generated in the GAPIC client. */ +@property(nonatomic, strong, nullable) GTLRServiceConsumerManagement_SelectiveGapicGeneration *selectiveGapicGeneration; + @end @@ -2043,6 +2076,26 @@ FOUNDATION_EXTERN NSString * const kGTLRServiceConsumerManagement_V1GenerateDefa @end +/** + * Experimental features to be included during client library generation. These + * fields will be deprecated once the feature graduates and is enabled by + * default. + */ +@interface GTLRServiceConsumerManagement_ExperimentalFeatures : GTLRObject + +/** + * Enables generation of asynchronous REST clients if `rest` transport is + * enabled. By default, asynchronous REST clients will not be generated. This + * feature will be enabled by default 1 month after launching the feature in + * preview packages. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *restAsyncIoEnabled; + +@end + + /** * A single field of a message type. */ @@ -3088,6 +3141,9 @@ FOUNDATION_EXTERN NSString * const kGTLRServiceConsumerManagement_V1GenerateDefa */ @property(nonatomic, strong, nullable) GTLRDuration *samplePeriod; +/** The scope of the timeseries data of the metric. */ +@property(nonatomic, strong, nullable) NSArray *timeSeriesResourceHierarchyLevel; + @end @@ -3674,6 +3730,9 @@ FOUNDATION_EXTERN NSString * const kGTLRServiceConsumerManagement_V1GenerateDefa /** Some settings. */ @property(nonatomic, strong, nullable) GTLRServiceConsumerManagement_CommonLanguageSettings *common; +/** Experimental features to be included during client library generation. */ +@property(nonatomic, strong, nullable) GTLRServiceConsumerManagement_ExperimentalFeatures *experimentalFeatures; + @end @@ -3874,6 +3933,21 @@ FOUNDATION_EXTERN NSString * const kGTLRServiceConsumerManagement_V1GenerateDefa @end +/** + * This message is used to configure the generation of a subset of the RPCs in + * a service for client libraries. + */ +@interface GTLRServiceConsumerManagement_SelectiveGapicGeneration : GTLRObject + +/** + * An allowlist of the fully qualified names of RPCs that should be included on + * public client surfaces. + */ +@property(nonatomic, strong, nullable) NSArray *methods; + +@end + + /** * `Service` is the root object of Google API service configuration (service * config). It describes the basic information about a logical service, such as @@ -4769,7 +4843,11 @@ FOUNDATION_EXTERN NSString * const kGTLRServiceConsumerManagement_V1GenerateDefa */ @interface GTLRServiceConsumerManagement_V1DefaultIdentity : GTLRObject -/** The email address of the default identity. */ +/** + * The email address of the default identity. Calling GenerateDefaultIdentity + * with a deleted or purged default identity should expect + * does_not_exist\@invalid-project.iam.gserviceaccount.com placeholder email. + */ @property(nonatomic, copy, nullable) NSString *email; /** diff --git a/Sources/GeneratedServices/ServiceNetworking/GTLRServiceNetworkingObjects.m b/Sources/GeneratedServices/ServiceNetworking/GTLRServiceNetworkingObjects.m index a5bcc844e..96c3563bd 100644 --- a/Sources/GeneratedServices/ServiceNetworking/GTLRServiceNetworkingObjects.m +++ b/Sources/GeneratedServices/ServiceNetworking/GTLRServiceNetworkingObjects.m @@ -498,7 +498,7 @@ @implementation GTLRServiceNetworking_CloudSQLConfig // @implementation GTLRServiceNetworking_CommonLanguageSettings -@dynamic destinations, referenceDocsUri; +@dynamic destinations, referenceDocsUri, selectiveGapicGeneration; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -1842,6 +1842,24 @@ @implementation GTLRServiceNetworking_SecondaryIpRangeSpec @end +// ---------------------------------------------------------------------------- +// +// GTLRServiceNetworking_SelectiveGapicGeneration +// + +@implementation GTLRServiceNetworking_SelectiveGapicGeneration +@dynamic methods; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"methods" : [NSString class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRServiceNetworking_Service diff --git a/Sources/GeneratedServices/ServiceNetworking/Public/GoogleAPIClientForREST/GTLRServiceNetworkingObjects.h b/Sources/GeneratedServices/ServiceNetworking/Public/GoogleAPIClientForREST/GTLRServiceNetworkingObjects.h index bb8ecec95..80f3199c4 100644 --- a/Sources/GeneratedServices/ServiceNetworking/Public/GoogleAPIClientForREST/GTLRServiceNetworkingObjects.h +++ b/Sources/GeneratedServices/ServiceNetworking/Public/GoogleAPIClientForREST/GTLRServiceNetworkingObjects.h @@ -95,6 +95,7 @@ @class GTLRServiceNetworking_RubySettings; @class GTLRServiceNetworking_SecondaryIpRange; @class GTLRServiceNetworking_SecondaryIpRangeSpec; +@class GTLRServiceNetworking_SelectiveGapicGeneration; @class GTLRServiceNetworking_SourceContext; @class GTLRServiceNetworking_SourceInfo; @class GTLRServiceNetworking_SourceInfo_SourceFiles_Item; @@ -1840,6 +1841,9 @@ FOUNDATION_EXTERN NSString * const kGTLRServiceNetworking_ValidateConsumerConfig */ @property(nonatomic, copy, nullable) NSString *referenceDocsUri GTLR_DEPRECATED; +/** Configuration for which RPCs should be generated in the GAPIC client. */ +@property(nonatomic, strong, nullable) GTLRServiceNetworking_SelectiveGapicGeneration *selectiveGapicGeneration; + @end @@ -4857,6 +4861,21 @@ FOUNDATION_EXTERN NSString * const kGTLRServiceNetworking_ValidateConsumerConfig @end +/** + * This message is used to configure the generation of a subset of the RPCs in + * a service for client libraries. + */ +@interface GTLRServiceNetworking_SelectiveGapicGeneration : GTLRObject + +/** + * An allowlist of the fully qualified names of RPCs that should be included on + * public client surfaces. + */ +@property(nonatomic, strong, nullable) NSArray *methods; + +@end + + /** * `Service` is the root object of Google API service configuration (service * config). It describes the basic information about a logical service, such as diff --git a/Sources/GeneratedServices/ServiceUsage/GTLRServiceUsageObjects.m b/Sources/GeneratedServices/ServiceUsage/GTLRServiceUsageObjects.m index fe8cfa3ef..afd99bd06 100644 --- a/Sources/GeneratedServices/ServiceUsage/GTLRServiceUsageObjects.m +++ b/Sources/GeneratedServices/ServiceUsage/GTLRServiceUsageObjects.m @@ -150,6 +150,12 @@ NSString * const kGTLRServiceUsage_MetricDescriptorMetadata_LaunchStage_Prelaunch = @"PRELAUNCH"; NSString * const kGTLRServiceUsage_MetricDescriptorMetadata_LaunchStage_Unimplemented = @"UNIMPLEMENTED"; +// GTLRServiceUsage_MetricDescriptorMetadata.timeSeriesResourceHierarchyLevel +NSString * const kGTLRServiceUsage_MetricDescriptorMetadata_TimeSeriesResourceHierarchyLevel_Folder = @"FOLDER"; +NSString * const kGTLRServiceUsage_MetricDescriptorMetadata_TimeSeriesResourceHierarchyLevel_Organization = @"ORGANIZATION"; +NSString * const kGTLRServiceUsage_MetricDescriptorMetadata_TimeSeriesResourceHierarchyLevel_Project = @"PROJECT"; +NSString * const kGTLRServiceUsage_MetricDescriptorMetadata_TimeSeriesResourceHierarchyLevel_TimeSeriesResourceHierarchyLevelUnspecified = @"TIME_SERIES_RESOURCE_HIERARCHY_LEVEL_UNSPECIFIED"; + // GTLRServiceUsage_MonitoredResourceDescriptor.launchStage NSString * const kGTLRServiceUsage_MonitoredResourceDescriptor_LaunchStage_Alpha = @"ALPHA"; NSString * const kGTLRServiceUsage_MonitoredResourceDescriptor_LaunchStage_Beta = @"BETA"; @@ -569,7 +575,7 @@ @implementation GTLRServiceUsage_ClientLibrarySettings // @implementation GTLRServiceUsage_CommonLanguageSettings -@dynamic destinations, referenceDocsUri; +@dynamic destinations, referenceDocsUri, selectiveGapicGeneration; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -968,6 +974,16 @@ @implementation GTLRServiceUsage_EnumValue @end +// ---------------------------------------------------------------------------- +// +// GTLRServiceUsage_ExperimentalFeatures +// + +@implementation GTLRServiceUsage_ExperimentalFeatures +@dynamic restAsyncIoEnabled; +@end + + // ---------------------------------------------------------------------------- // // GTLRServiceUsage_Field @@ -1576,7 +1592,16 @@ @implementation GTLRServiceUsage_MetricDescriptor // @implementation GTLRServiceUsage_MetricDescriptorMetadata -@dynamic ingestDelay, launchStage, samplePeriod; +@dynamic ingestDelay, launchStage, samplePeriod, + timeSeriesResourceHierarchyLevel; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"timeSeriesResourceHierarchyLevel" : [NSString class] + }; + return map; +} + @end @@ -1830,7 +1855,7 @@ @implementation GTLRServiceUsage_Publishing // @implementation GTLRServiceUsage_PythonSettings -@dynamic common; +@dynamic common, experimentalFeatures; @end @@ -1944,6 +1969,24 @@ @implementation GTLRServiceUsage_RubySettings @end +// ---------------------------------------------------------------------------- +// +// GTLRServiceUsage_SelectiveGapicGeneration +// + +@implementation GTLRServiceUsage_SelectiveGapicGeneration +@dynamic methods; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"methods" : [NSString class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRServiceUsage_ServiceIdentity diff --git a/Sources/GeneratedServices/ServiceUsage/Public/GoogleAPIClientForREST/GTLRServiceUsageObjects.h b/Sources/GeneratedServices/ServiceUsage/Public/GoogleAPIClientForREST/GTLRServiceUsageObjects.h index efaf0c414..faea087fc 100644 --- a/Sources/GeneratedServices/ServiceUsage/Public/GoogleAPIClientForREST/GTLRServiceUsageObjects.h +++ b/Sources/GeneratedServices/ServiceUsage/Public/GoogleAPIClientForREST/GTLRServiceUsageObjects.h @@ -50,6 +50,7 @@ @class GTLRServiceUsage_Endpoint; @class GTLRServiceUsage_Enum; @class GTLRServiceUsage_EnumValue; +@class GTLRServiceUsage_ExperimentalFeatures; @class GTLRServiceUsage_Field; @class GTLRServiceUsage_FieldPolicy; @class GTLRServiceUsage_GoogleApiServiceusageV1beta1ServiceIdentity; @@ -97,6 +98,7 @@ @class GTLRServiceUsage_QuotaOverride; @class GTLRServiceUsage_QuotaOverride_Dimensions; @class GTLRServiceUsage_RubySettings; +@class GTLRServiceUsage_SelectiveGapicGeneration; @class GTLRServiceUsage_ServiceIdentity; @class GTLRServiceUsage_SourceContext; @class GTLRServiceUsage_SourceInfo; @@ -864,6 +866,34 @@ FOUNDATION_EXTERN NSString * const kGTLRServiceUsage_MetricDescriptorMetadata_La */ FOUNDATION_EXTERN NSString * const kGTLRServiceUsage_MetricDescriptorMetadata_LaunchStage_Unimplemented; +// ---------------------------------------------------------------------------- +// GTLRServiceUsage_MetricDescriptorMetadata.timeSeriesResourceHierarchyLevel + +/** + * Scopes a metric to a folder. + * + * Value: "FOLDER" + */ +FOUNDATION_EXTERN NSString * const kGTLRServiceUsage_MetricDescriptorMetadata_TimeSeriesResourceHierarchyLevel_Folder; +/** + * Scopes a metric to an organization. + * + * Value: "ORGANIZATION" + */ +FOUNDATION_EXTERN NSString * const kGTLRServiceUsage_MetricDescriptorMetadata_TimeSeriesResourceHierarchyLevel_Organization; +/** + * Scopes a metric to a project. + * + * Value: "PROJECT" + */ +FOUNDATION_EXTERN NSString * const kGTLRServiceUsage_MetricDescriptorMetadata_TimeSeriesResourceHierarchyLevel_Project; +/** + * Do not use this default value. + * + * Value: "TIME_SERIES_RESOURCE_HIERARCHY_LEVEL_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRServiceUsage_MetricDescriptorMetadata_TimeSeriesResourceHierarchyLevel_TimeSeriesResourceHierarchyLevelUnspecified; + // ---------------------------------------------------------------------------- // GTLRServiceUsage_MonitoredResourceDescriptor.launchStage @@ -1791,6 +1821,9 @@ FOUNDATION_EXTERN NSString * const kGTLRServiceUsage_Type_Syntax_SyntaxProto3; */ @property(nonatomic, copy, nullable) NSString *referenceDocsUri GTLR_DEPRECATED; +/** Configuration for which RPCs should be generated in the GAPIC client. */ +@property(nonatomic, strong, nullable) GTLRServiceUsage_SelectiveGapicGeneration *selectiveGapicGeneration; + @end @@ -2462,6 +2495,26 @@ FOUNDATION_EXTERN NSString * const kGTLRServiceUsage_Type_Syntax_SyntaxProto3; @end +/** + * Experimental features to be included during client library generation. These + * fields will be deprecated once the feature graduates and is enabled by + * default. + */ +@interface GTLRServiceUsage_ExperimentalFeatures : GTLRObject + +/** + * Enables generation of asynchronous REST clients if `rest` transport is + * enabled. By default, asynchronous REST clients will not be generated. This + * feature will be enabled by default 1 month after launching the feature in + * preview packages. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *restAsyncIoEnabled; + +@end + + /** * A single field of a message type. */ @@ -4032,6 +4085,9 @@ FOUNDATION_EXTERN NSString * const kGTLRServiceUsage_Type_Syntax_SyntaxProto3; */ @property(nonatomic, strong, nullable) GTLRDuration *samplePeriod; +/** The scope of the timeseries data of the metric. */ +@property(nonatomic, strong, nullable) NSArray *timeSeriesResourceHierarchyLevel; + @end @@ -4610,6 +4666,9 @@ FOUNDATION_EXTERN NSString * const kGTLRServiceUsage_Type_Syntax_SyntaxProto3; /** Some settings. */ @property(nonatomic, strong, nullable) GTLRServiceUsage_CommonLanguageSettings *common; +/** Experimental features to be included during client library generation. */ +@property(nonatomic, strong, nullable) GTLRServiceUsage_ExperimentalFeatures *experimentalFeatures; + @end @@ -4890,6 +4949,21 @@ FOUNDATION_EXTERN NSString * const kGTLRServiceUsage_Type_Syntax_SyntaxProto3; @end +/** + * This message is used to configure the generation of a subset of the RPCs in + * a service for client libraries. + */ +@interface GTLRServiceUsage_SelectiveGapicGeneration : GTLRObject + +/** + * An allowlist of the fully qualified names of RPCs that should be included on + * public client surfaces. + */ +@property(nonatomic, strong, nullable) NSArray *methods; + +@end + + /** * Service identity for a service. This is the identity that service producer * should use to access consumer resources. diff --git a/Sources/GeneratedServices/Sheets/Public/GoogleAPIClientForREST/GTLRSheetsObjects.h b/Sources/GeneratedServices/Sheets/Public/GoogleAPIClientForREST/GTLRSheetsObjects.h index f5c189756..c79470b76 100644 --- a/Sources/GeneratedServices/Sheets/Public/GoogleAPIClientForREST/GTLRSheetsObjects.h +++ b/Sources/GeneratedServices/Sheets/Public/GoogleAPIClientForREST/GTLRSheetsObjects.h @@ -10843,7 +10843,8 @@ GTLR_DEPRECATED /** * Whether to allow external URL access for image and import functions. Read * only when true. When false, you can set to true. This value will be bypassed - * and always return true if the admin has enabled the allowlisting feature. + * and always return true if the admin has enabled the [allowlisting + * feature](https://support.google.com/a?p=url_allowlist). * * Uses NSNumber of boolValue. */ diff --git a/Sources/GeneratedServices/Spanner/GTLRSpannerObjects.m b/Sources/GeneratedServices/Spanner/GTLRSpannerObjects.m index 6ca412562..f18d19cfa 100644 --- a/Sources/GeneratedServices/Spanner/GTLRSpannerObjects.m +++ b/Sources/GeneratedServices/Spanner/GTLRSpannerObjects.m @@ -1669,6 +1669,16 @@ @implementation GTLRSpanner_MoveInstanceRequest @end +// ---------------------------------------------------------------------------- +// +// GTLRSpanner_MultiplexedSessionPrecommitToken +// + +@implementation GTLRSpanner_MultiplexedSessionPrecommitToken +@dynamic precommitToken, seqNum; +@end + + // ---------------------------------------------------------------------------- // // GTLRSpanner_Mutation @@ -2457,7 +2467,7 @@ @implementation GTLRSpanner_TestIamPermissionsResponse // @implementation GTLRSpanner_Transaction -@dynamic identifier, readTimestamp; +@dynamic identifier, precommitToken, readTimestamp; + (NSDictionary *)propertyToJSONKeyMap { return @{ @"identifier" : @"id" }; diff --git a/Sources/GeneratedServices/Spanner/Public/GoogleAPIClientForREST/GTLRSpannerObjects.h b/Sources/GeneratedServices/Spanner/Public/GoogleAPIClientForREST/GTLRSpannerObjects.h index ae183a1b1..50e28e489 100644 --- a/Sources/GeneratedServices/Spanner/Public/GoogleAPIClientForREST/GTLRSpannerObjects.h +++ b/Sources/GeneratedServices/Spanner/Public/GoogleAPIClientForREST/GTLRSpannerObjects.h @@ -72,6 +72,7 @@ @class GTLRSpanner_Metric_IndexedKeyRangeInfos; @class GTLRSpanner_MetricMatrix; @class GTLRSpanner_MetricMatrixRow; +@class GTLRSpanner_MultiplexedSessionPrecommitToken; @class GTLRSpanner_Mutation; @class GTLRSpanner_MutationGroup; @class GTLRSpanner_Operation; @@ -4654,6 +4655,34 @@ FOUNDATION_EXTERN NSString * const kGTLRSpanner_VisualizationData_KeyUnit_KeyUni @end +/** + * When a read-write transaction is executed on a multiplexed session, this + * precommit token is sent back to the client as a part of the [Transaction] + * message in the BeginTransaction response and also as a part of the + * [ResultSet] and [PartialResultSet] responses. + */ +@interface GTLRSpanner_MultiplexedSessionPrecommitToken : GTLRObject + +/** + * Opaque precommit token. + * + * Contains encoded binary data; GTLRBase64 can encode/decode (probably + * web-safe format). + */ +@property(nonatomic, copy, nullable) NSString *precommitToken; + +/** + * An incrementing seq number is generated on every precommit token that is + * returned. Clients should remember the precommit token with the highest + * sequence number from the current transaction attempt. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *seqNum; + +@end + + /** * A modification to one or more Cloud Spanner rows. Mutations can be applied * to a Cloud Spanner database by sending them in a Commit call. @@ -6515,6 +6544,15 @@ FOUNDATION_EXTERN NSString * const kGTLRSpanner_VisualizationData_KeyUnit_KeyUni */ @property(nonatomic, copy, nullable) NSString *identifier; +/** + * A precommit token will be included in the response of a BeginTransaction + * request if the read-write transaction is on a multiplexed session and a + * mutation_key was specified in the BeginTransaction. The precommit token with + * the highest sequence number from this transaction attempt should be passed + * to the Commit request for this transaction. + */ +@property(nonatomic, strong, nullable) GTLRSpanner_MultiplexedSessionPrecommitToken *precommitToken; + /** * For snapshot read-only transactions, the read timestamp chosen for the * transaction. Not returned by default: see diff --git a/Sources/GeneratedServices/Storage/GTLRStorageObjects.m b/Sources/GeneratedServices/Storage/GTLRStorageObjects.m index 93b046b14..63b248f2c 100644 --- a/Sources/GeneratedServices/Storage/GTLRStorageObjects.m +++ b/Sources/GeneratedServices/Storage/GTLRStorageObjects.m @@ -889,7 +889,7 @@ @implementation GTLRStorage_Object contentEncoding, contentLanguage, contentType, crc32c, customerEncryption, customTime, ETag, eventBasedHold, generation, hardDeleteTime, identifier, kind, kmsKeyName, md5Hash, mediaLink, - metadata, metageneration, name, owner, retention, + metadata, metageneration, name, owner, restoreToken, retention, retentionExpirationTime, selfLink, size, softDeleteTime, storageClass, temporaryHold, timeCreated, timeDeleted, timeStorageClassUpdated, updated; diff --git a/Sources/GeneratedServices/Storage/GTLRStorageQuery.m b/Sources/GeneratedServices/Storage/GTLRStorageQuery.m index 55d882d54..79cc14b48 100644 --- a/Sources/GeneratedServices/Storage/GTLRStorageQuery.m +++ b/Sources/GeneratedServices/Storage/GTLRStorageQuery.m @@ -1504,7 +1504,7 @@ @implementation GTLRStorageQuery_ObjectsGet @dynamic bucket, generation, ifGenerationMatch, ifGenerationNotMatch, ifMetagenerationMatch, ifMetagenerationNotMatch, object, projection, - softDeleted, userProject; + restoreToken, softDeleted, userProject; + (instancetype)queryWithBucket:(NSString *)bucket object:(NSString *)object_param { @@ -1648,7 +1648,7 @@ @implementation GTLRStorageQuery_ObjectsRestore @dynamic bucket, copySourceAcl, generation, ifGenerationMatch, ifGenerationNotMatch, ifMetagenerationMatch, ifMetagenerationNotMatch, - object, projection, userProject; + object, projection, restoreToken, userProject; + (instancetype)queryWithBucket:(NSString *)bucket object:(NSString *)object_param diff --git a/Sources/GeneratedServices/Storage/Public/GoogleAPIClientForREST/GTLRStorageObjects.h b/Sources/GeneratedServices/Storage/Public/GoogleAPIClientForREST/GTLRStorageObjects.h index a9119f115..6b9166f0a 100644 --- a/Sources/GeneratedServices/Storage/Public/GoogleAPIClientForREST/GTLRStorageObjects.h +++ b/Sources/GeneratedServices/Storage/Public/GoogleAPIClientForREST/GTLRStorageObjects.h @@ -2015,6 +2015,13 @@ NS_ASSUME_NONNULL_BEGIN */ @property(nonatomic, strong, nullable) GTLRStorage_Object_Owner *owner; +/** + * Restore token used to differentiate deleted objects with the same name and + * generation. This field is only returned for deleted objects in hierarchical + * namespace buckets. + */ +@property(nonatomic, copy, nullable) NSString *restoreToken; + /** A collection of object level retention parameters. */ @property(nonatomic, strong, nullable) GTLRStorage_Object_Retention *retention; diff --git a/Sources/GeneratedServices/Storage/Public/GoogleAPIClientForREST/GTLRStorageQuery.h b/Sources/GeneratedServices/Storage/Public/GoogleAPIClientForREST/GTLRStorageQuery.h index 4417f2f61..7de0909da 100644 --- a/Sources/GeneratedServices/Storage/Public/GoogleAPIClientForREST/GTLRStorageQuery.h +++ b/Sources/GeneratedServices/Storage/Public/GoogleAPIClientForREST/GTLRStorageQuery.h @@ -3202,6 +3202,15 @@ FOUNDATION_EXTERN NSString * const kGTLRStorageProjectionNoAcl; */ @property(nonatomic, copy, nullable) NSString *projection; +/** + * Restore token used to differentiate soft-deleted objects with the same name + * and generation. Only applicable for hierarchical namespace buckets and if + * softDeleted is set to true. This parameter is optional, and is only required + * in the rare case when there are multiple soft-deleted objects with the same + * name and generation. + */ +@property(nonatomic, copy, nullable) NSString *restoreToken; + /** * If true, only soft-deleted object versions will be listed. The default is * false. For more information, see [Soft @@ -3732,6 +3741,14 @@ FOUNDATION_EXTERN NSString * const kGTLRStorageProjectionNoAcl; */ @property(nonatomic, copy, nullable) NSString *projection; +/** + * Restore token used to differentiate sof-deleted objects with the same name + * and generation. Only applicable for hierarchical namespace buckets. This + * parameter is optional, and is only required in the rare case when there are + * multiple soft-deleted objects with the same name and generation. + */ +@property(nonatomic, copy, nullable) NSString *restoreToken; + /** * The project to be billed for this request. Required for Requester Pays * buckets. diff --git a/Sources/GeneratedServices/Testing/GTLRTestingObjects.m b/Sources/GeneratedServices/Testing/GTLRTestingObjects.m index 380c4d73f..a57fe9776 100644 --- a/Sources/GeneratedServices/Testing/GTLRTestingObjects.m +++ b/Sources/GeneratedServices/Testing/GTLRTestingObjects.m @@ -278,9 +278,10 @@ @implementation GTLRTesting_AndroidMatrix // @implementation GTLRTesting_AndroidModel -@dynamic brand, codename, form, formFactor, identifier, lowFpsVideoRecording, - manufacturer, name, perVersionInfo, screenDensity, screenX, screenY, - supportedAbis, supportedVersionIds, tags, thumbnailUrl; +@dynamic brand, codename, form, formFactor, identifier, labInfo, + lowFpsVideoRecording, manufacturer, name, perVersionInfo, + screenDensity, screenX, screenY, supportedAbis, supportedVersionIds, + tags, thumbnailUrl; + (NSDictionary *)propertyToJSONKeyMap { return @{ @"identifier" : @"id" }; @@ -850,6 +851,16 @@ @implementation GTLRTesting_IosXcTest @end +// ---------------------------------------------------------------------------- +// +// GTLRTesting_LabInfo +// + +@implementation GTLRTesting_LabInfo +@dynamic name; +@end + + // ---------------------------------------------------------------------------- // // GTLRTesting_LauncherActivityIntent diff --git a/Sources/GeneratedServices/Testing/Public/GoogleAPIClientForREST/GTLRTestingObjects.h b/Sources/GeneratedServices/Testing/Public/GoogleAPIClientForREST/GTLRTestingObjects.h index b58ef7700..469e5f3f4 100644 --- a/Sources/GeneratedServices/Testing/Public/GoogleAPIClientForREST/GTLRTestingObjects.h +++ b/Sources/GeneratedServices/Testing/Public/GoogleAPIClientForREST/GTLRTestingObjects.h @@ -57,6 +57,7 @@ @class GTLRTesting_IosTestSetup; @class GTLRTesting_IosVersion; @class GTLRTesting_IosXcTest; +@class GTLRTesting_LabInfo; @class GTLRTesting_LauncherActivityIntent; @class GTLRTesting_Locale; @class GTLRTesting_ManualSharding; @@ -1291,6 +1292,9 @@ FOUNDATION_EXTERN NSString * const kGTLRTesting_TestMatrix_State_Validating; */ @property(nonatomic, copy, nullable) NSString *identifier; +/** Output only. Lab info of this device. */ +@property(nonatomic, strong, nullable) GTLRTesting_LabInfo *labInfo; + /** * True if and only if tests with this model are recorded by stitching together * screenshots. See use_low_spec_video_recording in device config. @@ -2411,6 +2415,20 @@ FOUNDATION_EXTERN NSString * const kGTLRTesting_TestMatrix_State_Validating; @end +/** + * Lab specific information for a device. + */ +@interface GTLRTesting_LabInfo : GTLRObject + +/** + * Lab name where the device is hosted. If empty, the device is hosted in a + * Google owned lab. + */ +@property(nonatomic, copy, nullable) NSString *name; + +@end + + /** * Specifies an intent that starts the main launcher activity. */ diff --git a/Sources/GeneratedServices/Translate/Public/GoogleAPIClientForREST/GTLRTranslateQuery.h b/Sources/GeneratedServices/Translate/Public/GoogleAPIClientForREST/GTLRTranslateQuery.h index 058576de1..a67a1f93a 100644 --- a/Sources/GeneratedServices/Translate/Public/GoogleAPIClientForREST/GTLRTranslateQuery.h +++ b/Sources/GeneratedServices/Translate/Public/GoogleAPIClientForREST/GTLRTranslateQuery.h @@ -1067,6 +1067,7 @@ NS_ASSUME_NONNULL_BEGIN * * Authorization scope(s): * @c kGTLRAuthScopeTranslateCloudPlatform + * @c kGTLRAuthScopeTranslateCloudTranslation */ @interface GTLRTranslateQuery_ProjectsLocationsGlossariesCreate : GTLRTranslateQuery diff --git a/Sources/GeneratedServices/VMMigrationService/Public/GoogleAPIClientForREST/GTLRVMMigrationServiceQuery.h b/Sources/GeneratedServices/VMMigrationService/Public/GoogleAPIClientForREST/GTLRVMMigrationServiceQuery.h index b8a065281..aafb030bc 100644 --- a/Sources/GeneratedServices/VMMigrationService/Public/GoogleAPIClientForREST/GTLRVMMigrationServiceQuery.h +++ b/Sources/GeneratedServices/VMMigrationService/Public/GoogleAPIClientForREST/GTLRVMMigrationServiceQuery.h @@ -565,13 +565,12 @@ FOUNDATION_EXTERN NSString * const kGTLRVMMigrationServiceViewUtilizationReportV */ @interface GTLRVMMigrationServiceQuery_ProjectsLocationsImageImportsImageImportJobsList : GTLRVMMigrationServiceQuery -/** Optional. The filter request (according to https://google.aip.dev/160). */ +/** Optional. The filter request (according to AIP-160). */ @property(nonatomic, copy, nullable) NSString *filter; /** - * Optional. The order by fields for the result (according to - * https://google.aip.dev/132#ordering). Currently ordering is only possible by - * "name" field. + * Optional. The order by fields for the result (according to AIP-132). + * Currently ordering is only possible by "name" field. */ @property(nonatomic, copy, nullable) NSString *orderBy; @@ -620,13 +619,12 @@ FOUNDATION_EXTERN NSString * const kGTLRVMMigrationServiceViewUtilizationReportV */ @interface GTLRVMMigrationServiceQuery_ProjectsLocationsImageImportsList : GTLRVMMigrationServiceQuery -/** Optional. The filter request (according to https://google.aip.dev/160). */ +/** Optional. The filter request (according to AIP-160). */ @property(nonatomic, copy, nullable) NSString *filter; /** - * Optional. The order by fields for the result (according to - * https://google.aip.dev/132#ordering). Currently ordering is only possible by - * "name" field. + * Optional. The order by fields for the result (according to AIP-132). + * Currently ordering is only possible by "name" field. */ @property(nonatomic, copy, nullable) NSString *orderBy; diff --git a/Sources/GeneratedServices/Walletobjects/Public/GoogleAPIClientForREST/GTLRWalletobjectsObjects.h b/Sources/GeneratedServices/Walletobjects/Public/GoogleAPIClientForREST/GTLRWalletobjectsObjects.h index fb799e711..9f44a7516 100644 --- a/Sources/GeneratedServices/Walletobjects/Public/GoogleAPIClientForREST/GTLRWalletobjectsObjects.h +++ b/Sources/GeneratedServices/Walletobjects/Public/GoogleAPIClientForREST/GTLRWalletobjectsObjects.h @@ -3519,7 +3519,7 @@ FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_TransitObject_TripType_Tri /** * Note: This field is currently not supported to trigger geo notifications. */ -@property(nonatomic, strong, nullable) NSArray *locations; +@property(nonatomic, strong, nullable) NSArray *locations GTLR_DEPRECATED; /** * The logo image of the ticket. This image is displayed in the card detail @@ -3862,7 +3862,7 @@ FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_TransitObject_TripType_Tri /** * Note: This field is currently not supported to trigger geo notifications. */ -@property(nonatomic, strong, nullable) NSArray *locations; +@property(nonatomic, strong, nullable) NSArray *locations GTLR_DEPRECATED; /** * An array of messages displayed in the app. All users of this object will @@ -4402,7 +4402,7 @@ FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_TransitObject_TripType_Tri /** * Note: This field is currently not supported to trigger geo notifications. */ -@property(nonatomic, strong, nullable) NSArray *locations; +@property(nonatomic, strong, nullable) NSArray *locations GTLR_DEPRECATED; /** * An array of messages displayed in the app. All users of this object will @@ -4715,7 +4715,7 @@ FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_TransitObject_TripType_Tri /** * Note: This field is currently not supported to trigger geo notifications. */ -@property(nonatomic, strong, nullable) NSArray *locations; +@property(nonatomic, strong, nullable) NSArray *locations GTLR_DEPRECATED; /** * An array of messages displayed in the app. All users of this object will @@ -5408,7 +5408,7 @@ FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_TransitObject_TripType_Tri /** * Note: This field is currently not supported to trigger geo notifications. */ -@property(nonatomic, strong, nullable) NSArray *locations; +@property(nonatomic, strong, nullable) NSArray *locations GTLR_DEPRECATED; /** * Merchant name, such as "Adam's Apparel". The app may display an ellipsis @@ -5701,7 +5701,7 @@ FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_TransitObject_TripType_Tri /** * Note: This field is currently not supported to trigger geo notifications. */ -@property(nonatomic, strong, nullable) NSArray *locations; +@property(nonatomic, strong, nullable) NSArray *locations GTLR_DEPRECATED; /** * An array of messages displayed in the app. All users of this object will @@ -6361,7 +6361,7 @@ FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_TransitObject_TripType_Tri /** * Note: This field is currently not supported to trigger geo notifications. */ -@property(nonatomic, strong, nullable) NSArray *locations; +@property(nonatomic, strong, nullable) NSArray *locations GTLR_DEPRECATED; /** * An array of messages displayed in the app. All users of this object will @@ -6673,7 +6673,7 @@ FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_TransitObject_TripType_Tri /** * Note: This field is currently not supported to trigger geo notifications. */ -@property(nonatomic, strong, nullable) NSArray *locations; +@property(nonatomic, strong, nullable) NSArray *locations GTLR_DEPRECATED; /** The loyalty reward points label, balance, and type. */ @property(nonatomic, strong, nullable) GTLRWalletobjects_LoyaltyPoints *loyaltyPoints; @@ -7521,7 +7521,7 @@ FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_TransitObject_TripType_Tri /** * Note: This field is currently not supported to trigger geo notifications. */ -@property(nonatomic, strong, nullable) NSArray *locations; +@property(nonatomic, strong, nullable) NSArray *locations GTLR_DEPRECATED; /** * An array of messages displayed in the app. All users of this object will @@ -9024,7 +9024,7 @@ FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_TransitObject_TripType_Tri /** * Note: This field is currently not supported to trigger geo notifications. */ -@property(nonatomic, strong, nullable) NSArray *locations; +@property(nonatomic, strong, nullable) NSArray *locations GTLR_DEPRECATED; /** * Required. The logo image of the ticket. This image is displayed in the card @@ -9357,7 +9357,7 @@ FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_TransitObject_TripType_Tri /** * Note: This field is currently not supported to trigger geo notifications. */ -@property(nonatomic, strong, nullable) NSArray *locations; +@property(nonatomic, strong, nullable) NSArray *locations GTLR_DEPRECATED; /** * An array of messages displayed in the app. All users of this object will diff --git a/Sources/GeneratedServices/WorkflowExecutions/GTLRWorkflowExecutionsObjects.m b/Sources/GeneratedServices/WorkflowExecutions/GTLRWorkflowExecutionsObjects.m index 1d755053f..4cccdde27 100644 --- a/Sources/GeneratedServices/WorkflowExecutions/GTLRWorkflowExecutionsObjects.m +++ b/Sources/GeneratedServices/WorkflowExecutions/GTLRWorkflowExecutionsObjects.m @@ -38,6 +38,7 @@ NSString * const kGTLRWorkflowExecutions_StateError_Type_TypeUnspecified = @"TYPE_UNSPECIFIED"; // GTLRWorkflowExecutions_StepEntry.state +NSString * const kGTLRWorkflowExecutions_StepEntry_State_StateCancelled = @"STATE_CANCELLED"; NSString * const kGTLRWorkflowExecutions_StepEntry_State_StateFailed = @"STATE_FAILED"; NSString * const kGTLRWorkflowExecutions_StepEntry_State_StateInProgress = @"STATE_IN_PROGRESS"; NSString * const kGTLRWorkflowExecutions_StepEntry_State_StateSucceeded = @"STATE_SUCCEEDED"; diff --git a/Sources/GeneratedServices/WorkflowExecutions/Public/GoogleAPIClientForREST/GTLRWorkflowExecutionsObjects.h b/Sources/GeneratedServices/WorkflowExecutions/Public/GoogleAPIClientForREST/GTLRWorkflowExecutionsObjects.h index b26d67afd..3a3971510 100644 --- a/Sources/GeneratedServices/WorkflowExecutions/Public/GoogleAPIClientForREST/GTLRWorkflowExecutionsObjects.h +++ b/Sources/GeneratedServices/WorkflowExecutions/Public/GoogleAPIClientForREST/GTLRWorkflowExecutionsObjects.h @@ -159,6 +159,12 @@ FOUNDATION_EXTERN NSString * const kGTLRWorkflowExecutions_StateError_Type_TypeU // ---------------------------------------------------------------------------- // GTLRWorkflowExecutions_StepEntry.state +/** + * The step entry is cancelled. + * + * Value: "STATE_CANCELLED" + */ +FOUNDATION_EXTERN NSString * const kGTLRWorkflowExecutions_StepEntry_State_StateCancelled; /** * The step entry failed with an error. * @@ -530,7 +536,10 @@ FOUNDATION_EXTERN NSString * const kGTLRWorkflowExecutions_StepEntryMetadata_Pro */ @property(nonatomic, copy, nullable) NSString *result; -/** Output only. Marks the beginning of execution. */ +/** + * Output only. Marks the beginning of execution. Note that this will be the + * same as `createTime` for executions that start immediately. + */ @property(nonatomic, strong, nullable) GTLRDateTime *startTime; /** @@ -961,6 +970,8 @@ FOUNDATION_EXTERN NSString * const kGTLRWorkflowExecutions_StepEntryMetadata_Pro * Output only. The state of the step entry. * * Likely values: + * @arg @c kGTLRWorkflowExecutions_StepEntry_State_StateCancelled The step + * entry is cancelled. (Value: "STATE_CANCELLED") * @arg @c kGTLRWorkflowExecutions_StepEntry_State_StateFailed The step entry * failed with an error. (Value: "STATE_FAILED") * @arg @c kGTLRWorkflowExecutions_StepEntry_State_StateInProgress The step diff --git a/Sources/GeneratedServices/WorkflowExecutions/Public/GoogleAPIClientForREST/GTLRWorkflowExecutionsQuery.h b/Sources/GeneratedServices/WorkflowExecutions/Public/GoogleAPIClientForREST/GTLRWorkflowExecutionsQuery.h index 6dc84fa82..15f496bb1 100644 --- a/Sources/GeneratedServices/WorkflowExecutions/Public/GoogleAPIClientForREST/GTLRWorkflowExecutionsQuery.h +++ b/Sources/GeneratedServices/WorkflowExecutions/Public/GoogleAPIClientForREST/GTLRWorkflowExecutionsQuery.h @@ -335,9 +335,10 @@ FOUNDATION_EXTERN NSString * const kGTLRWorkflowExecutionsViewFull; * Optional. Filters applied to the `[Executions.ListExecutions]` results. The * following fields are supported for filtering: `executionId`, `state`, * `createTime`, `startTime`, `endTime`, `duration`, `workflowRevisionId`, - * `stepName`, and `label`. For details, see AIP-160. For more information, see - * Filter executions. For example, if you are using the Google APIs Explorer: - * `state="SUCCEEDED"` or `startTime>"2023-08-01" AND state="FAILED"` + * `stepName`, `label`, and `disableConcurrencyQuotaOverflowBuffering`. For + * details, see AIP-160. For more information, see Filter executions. For + * example, if you are using the Google APIs Explorer: `state="SUCCEEDED"` or + * `startTime>"2023-08-01" AND state="FAILED"` */ @property(nonatomic, copy, nullable) NSString *filter; diff --git a/Sources/GeneratedServices/YouTube/GTLRYouTubeObjects.m b/Sources/GeneratedServices/YouTube/GTLRYouTubeObjects.m index 951fdd744..0c0be5407 100644 --- a/Sources/GeneratedServices/YouTube/GTLRYouTubeObjects.m +++ b/Sources/GeneratedServices/YouTube/GTLRYouTubeObjects.m @@ -3657,9 +3657,10 @@ @implementation GTLRYouTube_TokenPagination @implementation GTLRYouTube_Video @dynamic ageGating, contentDetails, ETag, fileDetails, identifier, kind, - liveStreamingDetails, localizations, monetizationDetails, player, - processingDetails, projectDetails, recordingDetails, snippet, - statistics, status, suggestions, topicDetails; + liveStreamingDetails, localizations, monetizationDetails, + paidProductPlacementDetails, player, processingDetails, projectDetails, + recordingDetails, snippet, statistics, status, suggestions, + topicDetails; + (NSDictionary *)propertyToJSONKeyMap { NSDictionary *map = @{ @@ -3985,6 +3986,16 @@ @implementation GTLRYouTube_VideoMonetizationDetails @end +// ---------------------------------------------------------------------------- +// +// GTLRYouTube_VideoPaidProductPlacementDetails +// + +@implementation GTLRYouTube_VideoPaidProductPlacementDetails +@dynamic hasPaidProductPlacement; +@end + + // ---------------------------------------------------------------------------- // // GTLRYouTube_VideoPlayer diff --git a/Sources/GeneratedServices/YouTube/Public/GoogleAPIClientForREST/GTLRYouTubeObjects.h b/Sources/GeneratedServices/YouTube/Public/GoogleAPIClientForREST/GTLRYouTubeObjects.h index dea79993c..c4246dcb2 100644 --- a/Sources/GeneratedServices/YouTube/Public/GoogleAPIClientForREST/GTLRYouTubeObjects.h +++ b/Sources/GeneratedServices/YouTube/Public/GoogleAPIClientForREST/GTLRYouTubeObjects.h @@ -169,6 +169,7 @@ @class GTLRYouTube_VideoLiveStreamingDetails; @class GTLRYouTube_VideoLocalization; @class GTLRYouTube_VideoMonetizationDetails; +@class GTLRYouTube_VideoPaidProductPlacementDetails; @class GTLRYouTube_VideoPlayer; @class GTLRYouTube_VideoProcessingDetails; @class GTLRYouTube_VideoProcessingDetailsProcessingProgress; @@ -11924,6 +11925,8 @@ GTLR_DEPRECATED */ @property(nonatomic, strong, nullable) GTLRYouTube_VideoMonetizationDetails *monetizationDetails; +@property(nonatomic, strong, nullable) GTLRYouTube_VideoPaidProductPlacementDetails *paidProductPlacementDetails; + /** * The player object contains information that you would use to play the video * in an embedded player. @@ -12754,6 +12757,24 @@ GTLR_DEPRECATED @end +/** + * Details about paid content, such as paid product placement, sponsorships or + * endorsement, contained in a YouTube video and a method to inform viewers of + * paid promotion. This data can only be retrieved by the video owner. + */ +@interface GTLRYouTube_VideoPaidProductPlacementDetails : GTLRObject + +/** + * This boolean represents whether the video contains Paid Product Placement, + * Studio equivalent: https://screenshot.googleplex.com/4Me79DE6AfT2ktp.png + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *hasPaidProductPlacement; + +@end + + /** * Player to be used for a video playback. */ @@ -13084,7 +13105,7 @@ GTLR_DEPRECATED /** * Basic details about a video category, such as its localized title. Next Id: - * 18 + * 19 */ @interface GTLRYouTube_VideoStatus : GTLRObject